@seniorsistemas/angular-components 17.13.0 → 17.14.0
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 +345 -177
- 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/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/index.d.ts +1 -0
- package/components/dynamic-form/configurations/field-type.d.ts +1 -0
- package/components/dynamic-form/configurations/fields/checkbox-field.d.ts +9 -0
- package/components/dynamic-form/configurations/fields/index.d.ts +1 -0
- package/components/dynamic-form/configurations/fields/lookup-field.d.ts +1 -0
- 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/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/index.js +2 -1
- package/esm2015/components/dynamic-form/components/fields/lookup/lookup-field.component.js +2 -2
- package/esm2015/components/dynamic-form/configurations/field-type.js +2 -1
- package/esm2015/components/dynamic-form/configurations/fields/checkbox-field.js +8 -0
- package/esm2015/components/dynamic-form/configurations/fields/index.js +2 -1
- package/esm2015/components/dynamic-form/configurations/fields/lookup-field.js +1 -1
- package/esm2015/components/dynamic-form/configurations/form-field.js +4 -2
- package/esm2015/components/dynamic-form/dynamic-form.js +4 -1
- package/esm2015/components/dynamic-form/dynamic-form.module.js +3 -1
- package/esm2015/components/index.js +2 -1
- package/esm2015/seniorsistemas-angular-components.js +66 -64
- 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/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/index.js +2 -1
- package/esm5/components/dynamic-form/components/fields/lookup/lookup-field.component.js +2 -2
- package/esm5/components/dynamic-form/configurations/field-type.js +2 -1
- package/esm5/components/dynamic-form/configurations/fields/checkbox-field.js +13 -0
- package/esm5/components/dynamic-form/configurations/fields/index.js +2 -1
- package/esm5/components/dynamic-form/configurations/fields/lookup-field.js +1 -1
- package/esm5/components/dynamic-form/configurations/form-field.js +4 -2
- package/esm5/components/dynamic-form/dynamic-form.js +4 -1
- package/esm5/components/dynamic-form/dynamic-form.module.js +3 -1
- package/esm5/components/index.js +2 -1
- package/esm5/seniorsistemas-angular-components.js +66 -64
- package/fesm2015/seniorsistemas-angular-components.js +251 -104
- package/fesm2015/seniorsistemas-angular-components.js.map +1 -1
- package/fesm5/seniorsistemas-angular-components.js +281 -117
- package/fesm5/seniorsistemas-angular-components.js.map +1 -1
- package/package.json +1 -1
- package/seniorsistemas-angular-components.d.ts +65 -63
- package/seniorsistemas-angular-components.metadata.json +1 -1
|
@@ -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";
|
|
@@ -5436,6 +5554,7 @@
|
|
|
5436
5554
|
FieldType["Binary"] = "Binary";
|
|
5437
5555
|
FieldType["Blob"] = "Blob";
|
|
5438
5556
|
FieldType["Boolean"] = "Boolean";
|
|
5557
|
+
FieldType["Checkbox"] = "Checkbox";
|
|
5439
5558
|
FieldType["Chips"] = "Chips";
|
|
5440
5559
|
FieldType["CountryPhonePicker"] = "CountryPhonePicker";
|
|
5441
5560
|
FieldType["Custom"] = "Custom";
|
|
@@ -6056,6 +6175,16 @@
|
|
|
6056
6175
|
return SliderField;
|
|
6057
6176
|
}(Field));
|
|
6058
6177
|
|
|
6178
|
+
var CheckboxField = /** @class */ (function (_super) {
|
|
6179
|
+
__extends(CheckboxField, _super);
|
|
6180
|
+
function CheckboxField(config) {
|
|
6181
|
+
var _this = _super.call(this, config) || this;
|
|
6182
|
+
_this.data = config.data;
|
|
6183
|
+
return _this;
|
|
6184
|
+
}
|
|
6185
|
+
return CheckboxField;
|
|
6186
|
+
}(Field));
|
|
6187
|
+
|
|
6059
6188
|
var CountryPhonePickerField = /** @class */ (function (_super) {
|
|
6060
6189
|
__extends(CountryPhonePickerField, _super);
|
|
6061
6190
|
function CountryPhonePickerField(config) {
|
|
@@ -6140,6 +6269,8 @@
|
|
|
6140
6269
|
return new LookupField(config);
|
|
6141
6270
|
case exports.FieldType.Radio:
|
|
6142
6271
|
return new RadioButtonField(config);
|
|
6272
|
+
case exports.FieldType.Checkbox:
|
|
6273
|
+
return new CheckboxField(config);
|
|
6143
6274
|
case exports.FieldType.Chips:
|
|
6144
6275
|
return new ChipsField(config);
|
|
6145
6276
|
case exports.FieldType.CountryPhonePicker:
|
|
@@ -10578,7 +10709,7 @@
|
|
|
10578
10709
|
], LookupFieldComponent.prototype, "formControl", void 0);
|
|
10579
10710
|
LookupFieldComponent = __decorate([
|
|
10580
10711
|
core.Component({
|
|
10581
|
-
template: "<s-field-label [field]=\"field\"></s-field-label>\n\n<div [sTooltip]=\"field.tooltip\" tooltipPosition=\"top\" [showDelay]=\"500\">\n <s-lookup\n [id]=\"field.id || field.name\"\n [multiple]=\"field.multiple\"\n [formControl]=\"formControl\"\n [lookupSuggestions]=\"field.lookupSuggestions\"\n [dataKey]=\"field.dataKey\"\n [placeholder]=\"field.placeholder\"\n [showSearch]=\"field.showSearch\"\n [searchFields]=\"field.searchFields\"\n [searchGridFields]=\"field.searchGridFields\"\n [searchGridData]=\"field.gridData\"\n (onLookupRequest)=\"field.onLookupRequest($event)\"\n (onSearchRequest)=\"field.onSearchRequest($event)\"\n [lookupDisplayField]=\"field.lookupDisplayField\"\n [searchTotalRecords]=\"field.searchTotalRecords\"\n [searchTotalRecordsLabel]=\"field.searchTotalRecordsLabel\"\n [searchTitle]=\"field.searchTitle\"\n [selectLabel]=\"field.selectLabel\"\n [searchEmptyTitle]=\"field.searchEmptyTitle\"\n [filterLabel]=\"field.filterLabel\"\n [filterTitle]=\"field.filterTitle\"\n [clearLabel]=\"field.clearLabel\"\n [cancelLabel]=\"field.cancelLabel\"\n [emptyFieldLabel]=\"field.emptyFieldLabel\"\n (onSelect)=\"field.onSelect($event)\"\n (onUnselect)=\"field.onUnselect($event)\"\n (onClear)=\"field.onClear ? field.onClear($event) : null\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n [lookupAppendTo]=\"field.appendTo\"\n [lookupEmptyMessage]=\"field.emptyMessage\"\n [recordLabel]=\"field.recordLabel\"\n [recordsLabel]=\"field.recordsLabel\"\n [defaultFilter]=\"field.defaultFilter\"\n [autocompleteForceSelection]=\"field.autocompleteForceSelection\"\n [showAddOption]=\"field.showAddOption\"\n [showEditOption]=\"field.showEditOption\"\n [showRemoveOption]=\"field.showRemoveOption\"\n (onAdd)=\"field.onAdd()\"\n (onEdit)=\"field.onEdit($event)\"\n (onRemove)=\"field.onRemove($event)\"\n >\n </s-lookup>\n</div>\n"
|
|
10712
|
+
template: "<s-field-label [field]=\"field\"></s-field-label>\n\n<div [sTooltip]=\"field.tooltip\" tooltipPosition=\"top\" [showDelay]=\"500\">\n <s-lookup\n [id]=\"field.id || field.name\"\n [multiple]=\"field.multiple\"\n [formControl]=\"formControl\"\n [lookupSuggestions]=\"field.lookupSuggestions\"\n [dataKey]=\"field.dataKey\"\n [placeholder]=\"field.placeholder\"\n [showSearch]=\"field.showSearch\"\n [searchFields]=\"field.searchFields\"\n [searchGridFields]=\"field.searchGridFields\"\n [searchGridData]=\"field.gridData\"\n (onLookupRequest)=\"field.onLookupRequest($event)\"\n (onSearchRequest)=\"field.onSearchRequest($event)\"\n [lookupDisplayField]=\"field.lookupDisplayField\"\n [searchTotalRecords]=\"field.searchTotalRecords\"\n [searchTotalRecordsLabel]=\"field.searchTotalRecordsLabel\"\n [searchTitle]=\"field.searchTitle\"\n [selectLabel]=\"field.selectLabel\"\n [searchEmptyTitle]=\"field.searchEmptyTitle\"\n [filterLabel]=\"field.filterLabel\"\n [filterTitle]=\"field.filterTitle\"\n [clearLabel]=\"field.clearLabel\"\n [cancelLabel]=\"field.cancelLabel\"\n [emptyFieldLabel]=\"field.emptyFieldLabel\"\n (onSelect)=\"field.onSelect($event)\"\n (onUnselect)=\"field.onUnselect($event)\"\n (onClear)=\"field.onClear ? field.onClear($event) : null\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n [lookupAppendTo]=\"field.appendTo\"\n [lookupEmptyMessage]=\"field.emptyMessage\"\n [recordLabel]=\"field.recordLabel\"\n [recordsLabel]=\"field.recordsLabel\"\n [defaultFilter]=\"field.defaultFilter\"\n [autocompleteForceSelection]=\"field.autocompleteForceSelection\"\n [showAddOption]=\"field.showAddOption\"\n [showEditOption]=\"field.showEditOption\"\n [showRemoveOption]=\"field.showRemoveOption\"\n [sortableColumnsDisabled]=\"field.sortableColumnsDisabled\"\n (onAdd)=\"field.onAdd()\"\n (onEdit)=\"field.onEdit($event)\"\n (onRemove)=\"field.onRemove($event)\"\n >\n </s-lookup>\n</div>\n"
|
|
10582
10713
|
})
|
|
10583
10714
|
], LookupFieldComponent);
|
|
10584
10715
|
return LookupFieldComponent;
|
|
@@ -11282,6 +11413,136 @@
|
|
|
11282
11413
|
return TextFieldComponent;
|
|
11283
11414
|
}(BaseFieldComponent));
|
|
11284
11415
|
|
|
11416
|
+
var CheckboxFieldComponent = /** @class */ (function () {
|
|
11417
|
+
function CheckboxFieldComponent() {
|
|
11418
|
+
}
|
|
11419
|
+
__decorate([
|
|
11420
|
+
core.Input()
|
|
11421
|
+
], CheckboxFieldComponent.prototype, "field", void 0);
|
|
11422
|
+
__decorate([
|
|
11423
|
+
core.Input()
|
|
11424
|
+
], CheckboxFieldComponent.prototype, "formControl", void 0);
|
|
11425
|
+
CheckboxFieldComponent = __decorate([
|
|
11426
|
+
core.Component({
|
|
11427
|
+
template: "<s-checkbox [data]=\"field.data\"></s-checkbox>"
|
|
11428
|
+
})
|
|
11429
|
+
], CheckboxFieldComponent);
|
|
11430
|
+
return CheckboxFieldComponent;
|
|
11431
|
+
}());
|
|
11432
|
+
|
|
11433
|
+
var NumberFieldComponent = /** @class */ (function (_super) {
|
|
11434
|
+
__extends(NumberFieldComponent, _super);
|
|
11435
|
+
function NumberFieldComponent(localeService, elementRef, changeDetectorRef) {
|
|
11436
|
+
var _this = _super.call(this) || this;
|
|
11437
|
+
_this.localeService = localeService;
|
|
11438
|
+
_this.elementRef = elementRef;
|
|
11439
|
+
_this.changeDetectorRef = changeDetectorRef;
|
|
11440
|
+
_this.onInput = new core.EventEmitter();
|
|
11441
|
+
_this.onFocus = new core.EventEmitter();
|
|
11442
|
+
_this.onComplete = new core.EventEmitter();
|
|
11443
|
+
_this.ngUnsubscribe = new rxjs.Subject();
|
|
11444
|
+
return _this;
|
|
11445
|
+
}
|
|
11446
|
+
NumberFieldComponent.prototype.ngOnInit = function () {
|
|
11447
|
+
var _this = this;
|
|
11448
|
+
this.onLocaleService();
|
|
11449
|
+
this.onFocus.pipe(operators.takeUntil(this.ngUnsubscribe)).subscribe(function (event) {
|
|
11450
|
+
if (_this.field.onFocus)
|
|
11451
|
+
_this.field.onFocus(event);
|
|
11452
|
+
});
|
|
11453
|
+
this.onInput.pipe(operators.takeUntil(this.ngUnsubscribe)).subscribe(function (event) {
|
|
11454
|
+
if (_this.field.onInput)
|
|
11455
|
+
_this.field.onInput(event);
|
|
11456
|
+
});
|
|
11457
|
+
this.onComplete.pipe(operators.takeUntil(this.ngUnsubscribe)).subscribe(function (event) {
|
|
11458
|
+
if (_this.field.onComplete)
|
|
11459
|
+
_this.field.onComplete(event);
|
|
11460
|
+
});
|
|
11461
|
+
};
|
|
11462
|
+
NumberFieldComponent.prototype.ngAfterViewInit = function () {
|
|
11463
|
+
this.setInputRef();
|
|
11464
|
+
this.changeDetectorRef.detectChanges();
|
|
11465
|
+
};
|
|
11466
|
+
NumberFieldComponent.prototype.ngOnDestroy = function () {
|
|
11467
|
+
this.ngUnsubscribe.next();
|
|
11468
|
+
this.ngUnsubscribe.complete();
|
|
11469
|
+
};
|
|
11470
|
+
Object.defineProperty(NumberFieldComponent.prototype, "numberAlignmentOption", {
|
|
11471
|
+
get: function () {
|
|
11472
|
+
return exports.NumberAlignmentOption;
|
|
11473
|
+
},
|
|
11474
|
+
enumerable: true,
|
|
11475
|
+
configurable: true
|
|
11476
|
+
});
|
|
11477
|
+
Object.defineProperty(NumberFieldComponent.prototype, "fieldType", {
|
|
11478
|
+
get: function () {
|
|
11479
|
+
return exports.FieldType;
|
|
11480
|
+
},
|
|
11481
|
+
enumerable: true,
|
|
11482
|
+
configurable: true
|
|
11483
|
+
});
|
|
11484
|
+
NumberFieldComponent.prototype.onLocaleService = function () {
|
|
11485
|
+
var _this = this;
|
|
11486
|
+
this.localeService
|
|
11487
|
+
.getLocale()
|
|
11488
|
+
.pipe(operators.first())
|
|
11489
|
+
.subscribe({
|
|
11490
|
+
next: function () {
|
|
11491
|
+
var _a, _b, _c;
|
|
11492
|
+
if (!((_a = _this.field.numberLocaleOptions) === null || _a === void 0 ? void 0 : _a.decimalSeparator)) {
|
|
11493
|
+
_this.field.numberLocaleOptions = __assign(__assign({}, _this.field.numberLocaleOptions), { decimalSeparator: _this.localeService.getDecimalSeparator() });
|
|
11494
|
+
}
|
|
11495
|
+
if (!((_b = _this.field.numberLocaleOptions) === null || _b === void 0 ? void 0 : _b.thousandsSeparator)) {
|
|
11496
|
+
_this.field.numberLocaleOptions = __assign(__assign({}, _this.field.numberLocaleOptions), { thousandsSeparator: _this.localeService.getGroupingSeparator() });
|
|
11497
|
+
}
|
|
11498
|
+
if (!((_c = _this.field.numberLocaleOptions) === null || _c === void 0 ? void 0 : _c.currencySymbol)) {
|
|
11499
|
+
_this.field.numberLocaleOptions = __assign(__assign({}, _this.field.numberLocaleOptions), { currencySymbol: "R$" });
|
|
11500
|
+
}
|
|
11501
|
+
},
|
|
11502
|
+
error: function () {
|
|
11503
|
+
var _a;
|
|
11504
|
+
return (_this.field.numberLocaleOptions = (_a = _this.field.numberLocaleOptions) !== null && _a !== void 0 ? _a : {
|
|
11505
|
+
thousandsSeparator: ".",
|
|
11506
|
+
decimalSeparator: ",",
|
|
11507
|
+
currencySymbol: "R$",
|
|
11508
|
+
});
|
|
11509
|
+
},
|
|
11510
|
+
});
|
|
11511
|
+
};
|
|
11512
|
+
NumberFieldComponent.prototype.setInputRef = function () {
|
|
11513
|
+
var input = this.elementRef.nativeElement.querySelector("input");
|
|
11514
|
+
this.inputRef = input;
|
|
11515
|
+
};
|
|
11516
|
+
NumberFieldComponent.ctorParameters = function () { return [
|
|
11517
|
+
{ type: LocaleService },
|
|
11518
|
+
{ type: core.ElementRef },
|
|
11519
|
+
{ type: core.ChangeDetectorRef }
|
|
11520
|
+
]; };
|
|
11521
|
+
__decorate([
|
|
11522
|
+
core.Input()
|
|
11523
|
+
], NumberFieldComponent.prototype, "field", void 0);
|
|
11524
|
+
__decorate([
|
|
11525
|
+
core.Input()
|
|
11526
|
+
], NumberFieldComponent.prototype, "formControl", void 0);
|
|
11527
|
+
__decorate([
|
|
11528
|
+
core.Output()
|
|
11529
|
+
], NumberFieldComponent.prototype, "onInput", void 0);
|
|
11530
|
+
__decorate([
|
|
11531
|
+
core.Output()
|
|
11532
|
+
], NumberFieldComponent.prototype, "onFocus", void 0);
|
|
11533
|
+
__decorate([
|
|
11534
|
+
core.Output()
|
|
11535
|
+
], NumberFieldComponent.prototype, "onComplete", void 0);
|
|
11536
|
+
NumberFieldComponent = __decorate([
|
|
11537
|
+
core.Component({
|
|
11538
|
+
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",
|
|
11539
|
+
encapsulation: core.ViewEncapsulation.None,
|
|
11540
|
+
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}"]
|
|
11541
|
+
})
|
|
11542
|
+
], NumberFieldComponent);
|
|
11543
|
+
return NumberFieldComponent;
|
|
11544
|
+
}(BaseFieldComponent));
|
|
11545
|
+
|
|
11285
11546
|
var ProfilePictureFieldComponent = /** @class */ (function () {
|
|
11286
11547
|
function ProfilePictureFieldComponent() {
|
|
11287
11548
|
}
|
|
@@ -11388,6 +11649,8 @@
|
|
|
11388
11649
|
return TextFieldComponent;
|
|
11389
11650
|
case exports.FieldType.Boolean:
|
|
11390
11651
|
return this.field.representedBy === "switch" ? BooleanSwitchFieldComponent : BooleanFieldComponent;
|
|
11652
|
+
case exports.FieldType.Checkbox:
|
|
11653
|
+
return CheckboxFieldComponent;
|
|
11391
11654
|
case exports.FieldType.Chips:
|
|
11392
11655
|
return ChipsFieldComponent;
|
|
11393
11656
|
case exports.FieldType.CountryPhonePicker:
|
|
@@ -11657,119 +11920,6 @@
|
|
|
11657
11920
|
return TextFieldModule;
|
|
11658
11921
|
}());
|
|
11659
11922
|
|
|
11660
|
-
var NumberFieldComponent = /** @class */ (function (_super) {
|
|
11661
|
-
__extends(NumberFieldComponent, _super);
|
|
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;
|
|
11672
|
-
}
|
|
11673
|
-
NumberFieldComponent.prototype.ngOnInit = function () {
|
|
11674
|
-
var _this = this;
|
|
11675
|
-
this.onLocaleService();
|
|
11676
|
-
this.onFocus.pipe(operators.takeUntil(this.ngUnsubscribe)).subscribe(function (event) {
|
|
11677
|
-
if (_this.field.onFocus)
|
|
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}"]
|
|
11768
|
-
})
|
|
11769
|
-
], NumberFieldComponent);
|
|
11770
|
-
return NumberFieldComponent;
|
|
11771
|
-
}(BaseFieldComponent));
|
|
11772
|
-
|
|
11773
11923
|
var NumberFieldModule = /** @class */ (function () {
|
|
11774
11924
|
function NumberFieldModule() {
|
|
11775
11925
|
}
|
|
@@ -12605,6 +12755,19 @@
|
|
|
12605
12755
|
return ProfilePictureModule;
|
|
12606
12756
|
}());
|
|
12607
12757
|
|
|
12758
|
+
var CheckboxFieldModule = /** @class */ (function () {
|
|
12759
|
+
function CheckboxFieldModule() {
|
|
12760
|
+
}
|
|
12761
|
+
CheckboxFieldModule = __decorate([
|
|
12762
|
+
core.NgModule({
|
|
12763
|
+
imports: [common.CommonModule, forms.FormsModule, forms.ReactiveFormsModule, CheckboxModule],
|
|
12764
|
+
declarations: [CheckboxFieldComponent],
|
|
12765
|
+
exports: [CheckboxFieldComponent],
|
|
12766
|
+
})
|
|
12767
|
+
], CheckboxFieldModule);
|
|
12768
|
+
return CheckboxFieldModule;
|
|
12769
|
+
}());
|
|
12770
|
+
|
|
12608
12771
|
var EditorFieldModule = /** @class */ (function () {
|
|
12609
12772
|
function EditorFieldModule() {
|
|
12610
12773
|
}
|
|
@@ -12672,6 +12835,7 @@
|
|
|
12672
12835
|
NumberFieldModule,
|
|
12673
12836
|
CurrencyFieldModule,
|
|
12674
12837
|
BignumberFieldModule,
|
|
12838
|
+
CheckboxFieldModule,
|
|
12675
12839
|
ProfilePictureModule,
|
|
12676
12840
|
EditorFieldModule,
|
|
12677
12841
|
FieldLabelModule
|
|
@@ -19768,6 +19932,8 @@
|
|
|
19768
19932
|
exports.CalendarMaskModule = CalendarMaskModule;
|
|
19769
19933
|
exports.CardComponent = CardComponent;
|
|
19770
19934
|
exports.CardModule = CardModule;
|
|
19935
|
+
exports.CheckboxComponent = CheckboxComponent;
|
|
19936
|
+
exports.CheckboxModule = CheckboxModule;
|
|
19771
19937
|
exports.ChipsField = ChipsField;
|
|
19772
19938
|
exports.CodeEditorModule = CodeEditorModule;
|
|
19773
19939
|
exports.CollapseLinkComponent = CollapseLinkComponent;
|
|
@@ -19943,72 +20109,74 @@
|
|
|
19943
20109
|
exports.ɵbo = BignumberFieldModule;
|
|
19944
20110
|
exports.ɵbp = BignumberInputModule;
|
|
19945
20111
|
exports.ɵbq = BignumberFieldComponent;
|
|
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 =
|
|
20112
|
+
exports.ɵbr = CheckboxFieldModule;
|
|
20113
|
+
exports.ɵbs = CheckboxFieldComponent;
|
|
20114
|
+
exports.ɵbt = ProfilePictureModule;
|
|
20115
|
+
exports.ɵbu = ThumbnailService;
|
|
20116
|
+
exports.ɵbv = StructureModule;
|
|
20117
|
+
exports.ɵbw = HeaderComponent;
|
|
20118
|
+
exports.ɵbx = FooterComponent;
|
|
20119
|
+
exports.ɵby = ProfilePictureFieldComponent;
|
|
20120
|
+
exports.ɵbz = EditorFieldModule;
|
|
19955
20121
|
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.ɵcv =
|
|
19977
|
-
exports.ɵcw =
|
|
19978
|
-
exports.ɵcx =
|
|
19979
|
-
exports.ɵcy =
|
|
19980
|
-
exports.ɵcz =
|
|
20122
|
+
exports.ɵca = EditorFieldComponent;
|
|
20123
|
+
exports.ɵcb = AutocompleteFieldComponent;
|
|
20124
|
+
exports.ɵcc = BooleanFieldComponent;
|
|
20125
|
+
exports.ɵcd = BooleanSwitchFieldComponent;
|
|
20126
|
+
exports.ɵce = CalendarFieldComponent;
|
|
20127
|
+
exports.ɵcf = ChipsFieldComponent;
|
|
20128
|
+
exports.ɵcg = CountryPhonePickerFieldComponent;
|
|
20129
|
+
exports.ɵch = DynamicFieldComponent;
|
|
20130
|
+
exports.ɵci = DynamicFormDirective;
|
|
20131
|
+
exports.ɵcj = FieldsetComponent;
|
|
20132
|
+
exports.ɵck = FileUploadComponent$1;
|
|
20133
|
+
exports.ɵcl = LookupFieldComponent;
|
|
20134
|
+
exports.ɵcm = RadioButtonComponent;
|
|
20135
|
+
exports.ɵcn = RowComponent;
|
|
20136
|
+
exports.ɵco = SectionComponent;
|
|
20137
|
+
exports.ɵcp = SelectFieldComponent;
|
|
20138
|
+
exports.ɵcq = SliderFieldComponent;
|
|
20139
|
+
exports.ɵcr = TextAreaFieldComponent;
|
|
20140
|
+
exports.ɵcs = TextAreaIAFieldComponent;
|
|
20141
|
+
exports.ɵct = IAssistService;
|
|
20142
|
+
exports.ɵcv = DecimalField;
|
|
20143
|
+
exports.ɵcw = SideTableComponent;
|
|
20144
|
+
exports.ɵcx = InfiniteScrollModule;
|
|
20145
|
+
exports.ɵcy = InfiniteScrollDirective;
|
|
20146
|
+
exports.ɵcz = IAInsightSidebarComponent;
|
|
19981
20147
|
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 =
|
|
20148
|
+
exports.ɵda = IAInsightCardComponent;
|
|
20149
|
+
exports.ɵdb = IAInsightCardLoaderComponent;
|
|
20150
|
+
exports.ɵdc = InlineEditItemComponent;
|
|
20151
|
+
exports.ɵdd = LocaleService;
|
|
20152
|
+
exports.ɵde = InlineEditCalendarComponent;
|
|
20153
|
+
exports.ɵdf = InlineEditLookupComponent;
|
|
20154
|
+
exports.ɵdg = InlineEditNumberComponent;
|
|
20155
|
+
exports.ɵdh = InlineEditTextComponent;
|
|
20156
|
+
exports.ɵdi = InlineEditTextAreaComponent;
|
|
20157
|
+
exports.ɵdj = InlineEditTextAreaIAComponent;
|
|
20158
|
+
exports.ɵdk = KanbanEventService;
|
|
20159
|
+
exports.ɵdl = KanbanItemComponent;
|
|
20160
|
+
exports.ɵdm = KanbanColumnComponent;
|
|
20161
|
+
exports.ɵdn = KanbanItemDraggingComponent;
|
|
20162
|
+
exports.ɵdo = NumberLocaleOptions;
|
|
20163
|
+
exports.ɵdp = BorderButtonModule;
|
|
20164
|
+
exports.ɵdq = BorderButtonComponent;
|
|
20165
|
+
exports.ɵdr = ProgressBarDeterminateComponent;
|
|
20166
|
+
exports.ɵds = ProgressBarIndeterminateComponent;
|
|
20167
|
+
exports.ɵdt = SelectButtonItemComponent;
|
|
20168
|
+
exports.ɵdu = SlidePanelService;
|
|
20169
|
+
exports.ɵdv = TimelineItemModule;
|
|
20170
|
+
exports.ɵdw = TimelineIconItemComponent;
|
|
20171
|
+
exports.ɵdx = HorizontalTimelineModule;
|
|
20172
|
+
exports.ɵdy = HorizontalTimelineComponent;
|
|
20173
|
+
exports.ɵdz = VerticalTimelineModule;
|
|
20008
20174
|
exports.ɵe = TieredMenuGlobalService;
|
|
20009
|
-
exports.ɵea =
|
|
20010
|
-
exports.ɵeb =
|
|
20011
|
-
exports.ɵec =
|
|
20175
|
+
exports.ɵea = VerticalTimelineComponent;
|
|
20176
|
+
exports.ɵeb = RangeLineComponent;
|
|
20177
|
+
exports.ɵec = CollapseOptionComponent;
|
|
20178
|
+
exports.ɵed = CollapsedItemsComponent;
|
|
20179
|
+
exports.ɵee = VerticalItemsComponent;
|
|
20012
20180
|
exports.ɵf = TieredMenuComponent;
|
|
20013
20181
|
exports.ɵg = TieredMenuNestedComponent;
|
|
20014
20182
|
exports.ɵh = TieredMenuItemComponent;
|