@eqproject/eqp-dynamic-module 2.3.34 → 2.3.35
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/esm2020/lib/components/private/field-templates/numeric-field-template/numeric-field-template.component.mjs +2 -2
- package/esm2020/lib/components/private/form-statistics/filter-templates/numeric-filter-template/numeric-filter-template.component.mjs +2 -2
- package/esm2020/lib/eqp-dynamic-module.module.mjs +20 -7
- package/fesm2015/eqproject-eqp-dynamic-module.mjs +20 -8
- package/fesm2015/eqproject-eqp-dynamic-module.mjs.map +1 -1
- package/fesm2020/eqproject-eqp-dynamic-module.mjs +20 -8
- package/fesm2020/eqproject-eqp-dynamic-module.mjs.map +1 -1
- package/lib/eqp-dynamic-module.module.d.ts +15 -0
- package/package.json +1 -1
|
@@ -1970,7 +1970,7 @@ class NumericFieldTemplateComponent {
|
|
|
1970
1970
|
onRecordValueChange() {
|
|
1971
1971
|
if (!this.field.Formula) {
|
|
1972
1972
|
if (this.isDirty) {
|
|
1973
|
-
this.record[this.field.Name] = this.record[this.field.Name] == 0 ? 0 : (this.record[this.field.Name] / Math.pow(10,
|
|
1973
|
+
// this.record[this.field.Name] = this.record[this.field.Name] == 0 ? 0 : (this.record[this.field.Name] / Math.pow(10,this.eqpNumericOptions.precision)).toFixed(this.eqpNumericOptions.precision);
|
|
1974
1974
|
this.isDirty = false;
|
|
1975
1975
|
}
|
|
1976
1976
|
this.recordChange.emit(this.record);
|
|
@@ -4313,7 +4313,7 @@ class NumericFilterTemplateComponent {
|
|
|
4313
4313
|
if (mode == "active") {
|
|
4314
4314
|
output = {
|
|
4315
4315
|
key: this.field.Name,
|
|
4316
|
-
value:
|
|
4316
|
+
value: this.record[this.field.Name],
|
|
4317
4317
|
logicoperator: this.selectedLogicOperator,
|
|
4318
4318
|
fieldtype: this.field.FieldType
|
|
4319
4319
|
};
|
|
@@ -8372,6 +8372,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
8372
8372
|
args: ['listInnerFormRecords']
|
|
8373
8373
|
}] } });
|
|
8374
8374
|
|
|
8375
|
+
const customNumericMaskConfig = {
|
|
8376
|
+
align: "right",
|
|
8377
|
+
allowNegative: true,
|
|
8378
|
+
allowZero: true,
|
|
8379
|
+
decimal: "",
|
|
8380
|
+
precision: 0,
|
|
8381
|
+
prefix: "",
|
|
8382
|
+
suffix: "",
|
|
8383
|
+
thousands: "",
|
|
8384
|
+
nullable: true,
|
|
8385
|
+
min: null,
|
|
8386
|
+
max: null,
|
|
8387
|
+
inputMode: EqpNumericInputMode.FINANCIAL,
|
|
8388
|
+
};
|
|
8375
8389
|
class EqpDynamicModuleModule {
|
|
8376
8390
|
}
|
|
8377
8391
|
EqpDynamicModuleModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EqpDynamicModuleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
@@ -8417,9 +8431,7 @@ EqpDynamicModuleModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0",
|
|
|
8417
8431
|
EqpAttachmentsModule,
|
|
8418
8432
|
EqpSelectModule,
|
|
8419
8433
|
EqpDatetimepickerModule,
|
|
8420
|
-
EqpFiltersModule,
|
|
8421
|
-
EqpNumericModule,
|
|
8422
|
-
CanvasJSAngularStockChartsModule], exports: [EqpDynamicModuleComponent,
|
|
8434
|
+
EqpFiltersModule, i5$2.EqpNumericModule, CanvasJSAngularStockChartsModule], exports: [EqpDynamicModuleComponent,
|
|
8423
8435
|
EqpDynamicModuleConfiguratorComponent,
|
|
8424
8436
|
CanvasJSChart,
|
|
8425
8437
|
CanvasJSStockChart] });
|
|
@@ -8432,7 +8444,7 @@ EqpDynamicModuleModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0",
|
|
|
8432
8444
|
EqpSelectModule,
|
|
8433
8445
|
EqpDatetimepickerModule,
|
|
8434
8446
|
EqpFiltersModule,
|
|
8435
|
-
EqpNumericModule,
|
|
8447
|
+
EqpNumericModule.forRoot(customNumericMaskConfig),
|
|
8436
8448
|
CanvasJSAngularStockChartsModule] });
|
|
8437
8449
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EqpDynamicModuleModule, decorators: [{
|
|
8438
8450
|
type: NgModule,
|
|
@@ -8484,7 +8496,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
8484
8496
|
EqpSelectModule,
|
|
8485
8497
|
EqpDatetimepickerModule,
|
|
8486
8498
|
EqpFiltersModule,
|
|
8487
|
-
EqpNumericModule,
|
|
8499
|
+
EqpNumericModule.forRoot(customNumericMaskConfig),
|
|
8488
8500
|
CanvasJSAngularStockChartsModule
|
|
8489
8501
|
],
|
|
8490
8502
|
exports: [
|
|
@@ -8537,5 +8549,5 @@ class TextareaField extends BaseField {
|
|
|
8537
8549
|
* Generated bundle index. Do not edit.
|
|
8538
8550
|
*/
|
|
8539
8551
|
|
|
8540
|
-
export { ActionOnRecord, AddFormFieldComponent, AddFormRecordComponent, AnswerStyle, ArrayValidators, AttachmentField, AttachmentFieldTemplateComponent, AvailableFileExtensions, AvailableImageExtensions, BaseField, BaseObj, BoolPresentantioEnum, BooleanField, BooleanFieldTemplateComponent, ButtonImage, ColSpanSizesEnum, Context, ContextUser, Coords, DateField, DateFieldTemplateComponent, DateTimeTypeEnum, DynRecord, DynamicModuleCompileConfig, DynamicModuleConfig, DynamicModuleConfiguratorConfig, DynamicModuleConfiguratorSpecificConfig, DynamicModuleFieldComponent, DynamicModuleFilterResultViewModeEnum, DynamicModuleGeneralConfig, DynamicModuleListConfig, DynamicModuleListFormRecordActionsDefault, DynamicModuleRepairConfig, DynamicModuleViewModeEnum, EndPointConfiguration, EndPointData, EndPointDataParams, Entity, EqpDynamicModuleComponent, EqpDynamicModuleConfiguratorComponent, EqpDynamicModuleDialogService, EqpDynamicModuleModule, FieldTypeEnum, Form, FormFieldGroup, FormScalarTypeEnum, FormTypeEnum, GraphField, ImageField, ImageFieldTemplateComponent, ListFormRecordComponent, ListPresentationEnum, ListValueField, ListValueFieldTemplateComponent, LookupField, NumericField, NumericFieldTemplateComponent, ParamTypeEnum, Record, RecordButton, RepairFormFieldsComponent, RequestMethodEnum, SpinnerService, TelRegex, TextField, TextFieldTemplateComponent, TextMaskEnum, TextareaField, TextareaFieldTemplateComponent, UrlRegex, UtilityHelperService };
|
|
8552
|
+
export { ActionOnRecord, AddFormFieldComponent, AddFormRecordComponent, AnswerStyle, ArrayValidators, AttachmentField, AttachmentFieldTemplateComponent, AvailableFileExtensions, AvailableImageExtensions, BaseField, BaseObj, BoolPresentantioEnum, BooleanField, BooleanFieldTemplateComponent, ButtonImage, ColSpanSizesEnum, Context, ContextUser, Coords, DateField, DateFieldTemplateComponent, DateTimeTypeEnum, DynRecord, DynamicModuleCompileConfig, DynamicModuleConfig, DynamicModuleConfiguratorConfig, DynamicModuleConfiguratorSpecificConfig, DynamicModuleFieldComponent, DynamicModuleFilterResultViewModeEnum, DynamicModuleGeneralConfig, DynamicModuleListConfig, DynamicModuleListFormRecordActionsDefault, DynamicModuleRepairConfig, DynamicModuleViewModeEnum, EndPointConfiguration, EndPointData, EndPointDataParams, Entity, EqpDynamicModuleComponent, EqpDynamicModuleConfiguratorComponent, EqpDynamicModuleDialogService, EqpDynamicModuleModule, FieldTypeEnum, Form, FormFieldGroup, FormScalarTypeEnum, FormTypeEnum, GraphField, ImageField, ImageFieldTemplateComponent, ListFormRecordComponent, ListPresentationEnum, ListValueField, ListValueFieldTemplateComponent, LookupField, NumericField, NumericFieldTemplateComponent, ParamTypeEnum, Record, RecordButton, RepairFormFieldsComponent, RequestMethodEnum, SpinnerService, TelRegex, TextField, TextFieldTemplateComponent, TextMaskEnum, TextareaField, TextareaFieldTemplateComponent, UrlRegex, UtilityHelperService, customNumericMaskConfig };
|
|
8541
8553
|
//# sourceMappingURL=eqproject-eqp-dynamic-module.mjs.map
|