@eqproject/eqp-dynamic-module 2.8.8 → 3.0.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/{esm2020 → esm2022}/eqproject-eqp-dynamic-module.mjs +4 -4
- package/esm2022/lib/components/exported/eqp-dynamic-module/eqp-dynamic-module.component.mjs +531 -0
- package/esm2022/lib/components/exported/eqp-dynamic-module-configurator/eqp-dynamic-module-configurator.component.mjs +1245 -0
- package/esm2022/lib/components/private/add-form-field/add-form-field.component.mjs +1263 -0
- package/esm2022/lib/components/private/add-formula-field/add-formula-field.component.mjs +200 -0
- package/esm2022/lib/components/private/dbgetter/dbgetter.component.mjs +233 -0
- package/esm2022/lib/components/private/dynamic-module-field-fix/dynamic-module-field.component.mjs +280 -0
- package/esm2022/lib/components/private/field-templates/attachment-field-template/attachment-field-template.component.mjs +143 -0
- package/esm2022/lib/components/private/field-templates/boolean-field-template/boolean-field-template.component.mjs +75 -0
- package/esm2022/lib/components/private/field-templates/date-field-template/date-field-template.component.mjs +106 -0
- package/esm2022/lib/components/private/field-templates/image-field-selector-template/image-field-selector-template.component.mjs +107 -0
- package/esm2022/lib/components/private/field-templates/image-field-template/image-field-template.component.mjs +265 -0
- package/esm2022/lib/components/private/field-templates/image-with-markers-field-template/image-with-markers-field-template.component.mjs +261 -0
- package/esm2022/lib/components/private/field-templates/label-field-template/label-field-template.component.mjs +82 -0
- package/esm2022/lib/components/private/field-templates/list-value-field-template/list-value-field-template.component.mjs +176 -0
- package/esm2022/lib/components/private/field-templates/numeric-field-template/numeric-field-template.component.mjs +129 -0
- package/esm2022/lib/components/private/field-templates/text-field-template/text-field-template.component.mjs +103 -0
- package/esm2022/lib/components/private/field-templates/textarea-field-template/textarea-field-template.component.mjs +78 -0
- package/esm2022/lib/components/private/form-records/add-form-record/add-form-record.component.mjs +837 -0
- package/esm2022/lib/components/private/form-records/list-form-record/list-form-record.component.mjs +408 -0
- package/esm2022/lib/components/private/form-records/list-view-form-record/list-view-form-record.component.mjs +651 -0
- package/esm2022/lib/components/private/form-records/list-view-form-record/single-record/single-record.component.mjs +82 -0
- package/esm2022/lib/components/private/form-records/repair-form-fields/repair-form-fields.component.mjs +59 -0
- package/esm2022/lib/components/private/form-records/view-form-record/view-form-record.component.mjs +131 -0
- package/esm2022/lib/components/private/form-statistics/dynamic-module-filter-fix/dynamic-module-filter-fix.component.mjs +89 -0
- package/esm2022/lib/components/private/form-statistics/filter-form-statistic/filter-form-statistic.component.mjs +460 -0
- package/esm2022/lib/components/private/form-statistics/filter-templates/attachment-filter-template/attachment-filter-template.component.mjs +58 -0
- package/esm2022/lib/components/private/form-statistics/filter-templates/boolean-filter-template/boolean-filter-template.component.mjs +110 -0
- package/esm2022/lib/components/private/form-statistics/filter-templates/date-filter-template/date-filter-template.component.mjs +108 -0
- package/esm2022/lib/components/private/form-statistics/filter-templates/image-filter-template/image-filter-template.component.mjs +58 -0
- package/esm2022/lib/components/private/form-statistics/filter-templates/image-selector-filter-template/image-selector-filter-template.component.mjs +135 -0
- package/esm2022/lib/components/private/form-statistics/filter-templates/list-form-record-filter-template/list-form-record-filter-template.component.mjs +58 -0
- package/esm2022/lib/components/private/form-statistics/filter-templates/list-value-filter-template/list-value-filter-template.component.mjs +141 -0
- package/esm2022/lib/components/private/form-statistics/filter-templates/numeric-filter-template/numeric-filter-template.component.mjs +126 -0
- package/esm2022/lib/components/private/form-statistics/filter-templates/text-filter-template/text-filter-template.component.mjs +111 -0
- package/esm2022/lib/components/private/form-statistics/filter-templates/textarea-filter-template/textarea-filter-template.component.mjs +111 -0
- package/esm2022/lib/components/private/graphs/graph/graph.component.mjs +186 -0
- package/esm2022/lib/components/private/graphs/graphs.component.mjs +175 -0
- package/esm2022/lib/components/private/spinner/spinner.component.mjs +21 -0
- package/{esm2020 → esm2022}/lib/components/private/tmw-image-drawer/i18n.mjs +62 -62
- package/esm2022/lib/components/private/tmw-image-drawer/tmw-image-drawer.component.mjs +413 -0
- package/esm2022/lib/components/private/tmw-image-marker/tmw-image-marker.component.mjs +348 -0
- package/esm2022/lib/components/private/trigger-creator/dynamic-module-trigger-fix/dynamic-module-trigger-fix.component.mjs +81 -0
- package/esm2022/lib/components/private/trigger-creator/trigger-creator.component.mjs +199 -0
- package/esm2022/lib/components/private/trigger-creator/trigger-templates/boolean-trigger-template/boolean-trigger-template.component.mjs +91 -0
- package/esm2022/lib/components/private/trigger-creator/trigger-templates/date-trigger-template/date-trigger-template.component.mjs +88 -0
- package/esm2022/lib/components/private/trigger-creator/trigger-templates/list-form-record-trigger-template/list-form-record-trigger-template.component.mjs +61 -0
- package/esm2022/lib/components/private/trigger-creator/trigger-templates/list-value-trigger-template/list-value-trigger-template.component.mjs +69 -0
- package/esm2022/lib/components/private/trigger-creator/trigger-templates/numeric-trigger-template/numeric-trigger-template.component.mjs +107 -0
- package/esm2022/lib/components/private/trigger-creator/trigger-templates/text-trigger-template/text-trigger-template.component.mjs +92 -0
- package/esm2022/lib/components/private/trigger-creator/trigger-templates/textarea-trigger-template/textarea-trigger-template.component.mjs +92 -0
- package/esm2022/lib/directives/dynamic-loader/dynamic-loader.directive.mjs +63 -0
- package/esm2022/lib/directives/speech-to-text/speech-to-text.directive.mjs +192 -0
- package/esm2022/lib/eqp-dynamic-module.module.mjs +253 -0
- package/{esm2020 → esm2022}/lib/interfaces/iBaseFieldComponent.interface.mjs +1 -1
- package/{esm2020 → esm2022}/lib/interfaces/iRootObject.interface.mjs +1 -1
- package/esm2022/lib/models/baseField.model.mjs +133 -0
- package/esm2022/lib/models/baseObj.model.mjs +10 -0
- package/{esm2020 → esm2022}/lib/models/context.model.mjs +10 -8
- package/esm2022/lib/models/dynAttachment.mjs +52 -0
- package/esm2022/lib/models/dynamicModuleCompileConfig.model.mjs +45 -0
- package/esm2022/lib/models/dynamicModuleConfig.model.mjs +13 -0
- package/esm2022/lib/models/dynamicModuleConfiguratorConfig.model.mjs +11 -0
- package/esm2022/lib/models/dynamicModuleConfiguratorSpecificConfig.model.mjs +16 -0
- package/{esm2020 → esm2022}/lib/models/dynamicModuleFilterResultViewModeEnum.model.mjs +6 -6
- package/esm2022/lib/models/dynamicModuleGeneralConfig.model.mjs +36 -0
- package/esm2022/lib/models/dynamicModuleListConfig.model.mjs +48 -0
- package/esm2022/lib/models/dynamicModuleListFormRecordActionsDefault.mjs +35 -0
- package/{esm2020 → esm2022}/lib/models/dynamicModuleRepairConfig.model.mjs +10 -10
- package/{esm2020 → esm2022}/lib/models/dynamicModuleViewModeEnum.mjs +11 -11
- package/esm2022/lib/models/endPointConfiguration.model.mjs +211 -0
- package/{esm2020 → esm2022}/lib/models/entity.model.mjs +10 -7
- package/esm2022/lib/models/fields/attachmentField.model.mjs +28 -0
- package/esm2022/lib/models/fields/booleanField.model.mjs +15 -0
- package/esm2022/lib/models/fields/dateField.model.mjs +15 -0
- package/esm2022/lib/models/fields/imageField.model.mjs +14 -0
- package/esm2022/lib/models/fields/imageSelectorField.model.mjs +10 -0
- package/esm2022/lib/models/fields/imageWithMarkersField.model.mjs +7 -0
- package/{esm2020 → esm2022}/lib/models/fields/labelField.model.mjs +5 -4
- package/esm2022/lib/models/fields/listValueField.model.mjs +24 -0
- package/esm2022/lib/models/fields/lookupField.model.mjs +11 -0
- package/esm2022/lib/models/fields/numericField.model.mjs +13 -0
- package/esm2022/lib/models/fields/textField.model.mjs +18 -0
- package/esm2022/lib/models/fields/textareaField.model.mjs +9 -0
- package/esm2022/lib/models/form.model.mjs +63 -0
- package/esm2022/lib/models/getter.model.mjs +6 -0
- package/esm2022/lib/models/graph.model.mjs +19 -0
- package/{esm2020 → esm2022}/lib/models/logicOperator.model.mjs +55 -55
- package/esm2022/lib/models/record.model.mjs +39 -0
- package/esm2022/lib/models/statistic.model.mjs +12 -0
- package/esm2022/lib/models/trigger.model.mjs +63 -0
- package/esm2022/lib/modules/formula.model.mjs +266 -0
- package/{esm2020 → esm2022}/lib/modules/material.module.mjs +231 -231
- package/{esm2020 → esm2022}/lib/services/custom-form-validators.service.mjs +18 -18
- package/esm2022/lib/services/db-date.service.mjs +178 -0
- package/esm2022/lib/services/eqp-dynamic-module-dialog.service.mjs +114 -0
- package/esm2022/lib/services/global.service.mjs +43 -0
- package/esm2022/lib/services/spinner.service.mjs +41 -0
- package/esm2022/lib/services/utilityHelper.services.mjs +601 -0
- package/{esm2020 → esm2022}/public-api.mjs +56 -56
- package/fesm2022/eqproject-eqp-dynamic-module.mjs +13506 -0
- package/fesm2022/eqproject-eqp-dynamic-module.mjs.map +1 -0
- package/index.d.ts +5 -5
- package/lib/components/exported/eqp-dynamic-module/eqp-dynamic-module.component.d.ts +162 -162
- package/lib/components/exported/eqp-dynamic-module-configurator/eqp-dynamic-module-configurator.component.d.ts +308 -308
- package/lib/components/private/add-form-field/add-form-field.component.d.ts +263 -263
- package/lib/components/private/add-formula-field/add-formula-field.component.d.ts +45 -45
- package/lib/components/private/dbgetter/dbgetter.component.d.ts +51 -51
- package/lib/components/private/dynamic-module-field-fix/dynamic-module-field.component.d.ts +84 -84
- package/lib/components/private/field-templates/attachment-field-template/attachment-field-template.component.d.ts +57 -57
- package/lib/components/private/field-templates/boolean-field-template/boolean-field-template.component.d.ts +27 -27
- package/lib/components/private/field-templates/date-field-template/date-field-template.component.d.ts +36 -36
- package/lib/components/private/field-templates/image-field-selector-template/image-field-selector-template.component.d.ts +33 -33
- package/lib/components/private/field-templates/image-field-template/image-field-template.component.d.ts +80 -80
- package/lib/components/private/field-templates/image-with-markers-field-template/image-with-markers-field-template.component.d.ts +78 -78
- package/lib/components/private/field-templates/label-field-template/label-field-template.component.d.ts +33 -33
- package/lib/components/private/field-templates/list-value-field-template/list-value-field-template.component.d.ts +59 -59
- package/lib/components/private/field-templates/numeric-field-template/numeric-field-template.component.d.ts +40 -40
- package/lib/components/private/field-templates/text-field-template/text-field-template.component.d.ts +35 -35
- package/lib/components/private/field-templates/textarea-field-template/textarea-field-template.component.d.ts +31 -31
- package/lib/components/private/form-records/add-form-record/add-form-record.component.d.ts +104 -104
- package/lib/components/private/form-records/list-form-record/list-form-record.component.d.ts +83 -83
- package/lib/components/private/form-records/list-view-form-record/list-view-form-record.component.d.ts +151 -151
- package/lib/components/private/form-records/list-view-form-record/single-record/single-record.component.d.ts +39 -39
- package/lib/components/private/form-records/repair-form-fields/repair-form-fields.component.d.ts +20 -20
- package/lib/components/private/form-records/view-form-record/view-form-record.component.d.ts +36 -36
- package/lib/components/private/form-statistics/dynamic-module-filter-fix/dynamic-module-filter-fix.component.d.ts +42 -42
- package/lib/components/private/form-statistics/filter-form-statistic/filter-form-statistic.component.d.ts +109 -109
- package/lib/components/private/form-statistics/filter-templates/attachment-filter-template/attachment-filter-template.component.d.ts +21 -21
- package/lib/components/private/form-statistics/filter-templates/boolean-filter-template/boolean-filter-template.component.d.ts +37 -37
- package/lib/components/private/form-statistics/filter-templates/date-filter-template/date-filter-template.component.d.ts +37 -37
- package/lib/components/private/form-statistics/filter-templates/image-filter-template/image-filter-template.component.d.ts +21 -21
- package/lib/components/private/form-statistics/filter-templates/image-selector-filter-template/image-selector-filter-template.component.d.ts +47 -47
- package/lib/components/private/form-statistics/filter-templates/list-form-record-filter-template/list-form-record-filter-template.component.d.ts +21 -21
- package/lib/components/private/form-statistics/filter-templates/list-value-filter-template/list-value-filter-template.component.d.ts +47 -47
- package/lib/components/private/form-statistics/filter-templates/numeric-filter-template/numeric-filter-template.component.d.ts +40 -40
- package/lib/components/private/form-statistics/filter-templates/text-filter-template/text-filter-template.component.d.ts +38 -38
- package/lib/components/private/form-statistics/filter-templates/textarea-filter-template/textarea-filter-template.component.d.ts +38 -38
- package/lib/components/private/graphs/graph/graph.component.d.ts +25 -25
- package/lib/components/private/graphs/graphs.component.d.ts +47 -47
- package/lib/components/private/spinner/spinner.component.d.ts +12 -12
- package/lib/components/private/tmw-image-drawer/i18n.d.ts +27 -27
- package/lib/components/private/tmw-image-drawer/tmw-image-drawer.component.d.ts +70 -70
- package/lib/components/private/tmw-image-marker/tmw-image-marker.component.d.ts +62 -62
- package/lib/components/private/trigger-creator/dynamic-module-trigger-fix/dynamic-module-trigger-fix.component.d.ts +42 -42
- package/lib/components/private/trigger-creator/trigger-creator.component.d.ts +42 -42
- package/lib/components/private/trigger-creator/trigger-templates/boolean-trigger-template/boolean-trigger-template.component.d.ts +34 -34
- package/lib/components/private/trigger-creator/trigger-templates/date-trigger-template/date-trigger-template.component.d.ts +34 -34
- package/lib/components/private/trigger-creator/trigger-templates/list-form-record-trigger-template/list-form-record-trigger-template.component.d.ts +24 -24
- package/lib/components/private/trigger-creator/trigger-templates/list-value-trigger-template/list-value-trigger-template.component.d.ts +34 -34
- package/lib/components/private/trigger-creator/trigger-templates/numeric-trigger-template/numeric-trigger-template.component.d.ts +37 -37
- package/lib/components/private/trigger-creator/trigger-templates/text-trigger-template/text-trigger-template.component.d.ts +36 -36
- package/lib/components/private/trigger-creator/trigger-templates/textarea-trigger-template/textarea-trigger-template.component.d.ts +36 -36
- package/lib/directives/dynamic-loader/dynamic-loader.directive.d.ts +26 -26
- package/lib/directives/speech-to-text/speech-to-text.directive.d.ts +31 -31
- package/lib/eqp-dynamic-module.module.d.ts +85 -85
- package/lib/interfaces/iBaseFieldComponent.interface.d.ts +8 -8
- package/lib/interfaces/iRootObject.interface.d.ts +11 -11
- package/lib/models/baseField.model.d.ts +126 -126
- package/lib/models/baseObj.model.d.ts +9 -9
- package/lib/models/context.model.d.ts +9 -9
- package/lib/models/dynAttachment.d.ts +49 -49
- package/lib/models/dynamicModuleCompileConfig.model.d.ts +35 -35
- package/lib/models/dynamicModuleConfig.model.d.ts +11 -11
- package/lib/models/dynamicModuleConfiguratorConfig.model.d.ts +7 -7
- package/lib/models/dynamicModuleConfiguratorSpecificConfig.model.d.ts +11 -11
- package/lib/models/dynamicModuleFilterResultViewModeEnum.model.d.ts +5 -5
- package/lib/models/dynamicModuleGeneralConfig.model.d.ts +29 -29
- package/lib/models/dynamicModuleListConfig.model.d.ts +39 -39
- package/lib/models/dynamicModuleListFormRecordActionsDefault.d.ts +9 -9
- package/lib/models/dynamicModuleRepairConfig.model.d.ts +4 -4
- package/lib/models/dynamicModuleViewModeEnum.d.ts +10 -10
- package/lib/models/endPointConfiguration.model.d.ts +46 -46
- package/lib/models/entity.model.d.ts +11 -11
- package/lib/models/fields/attachmentField.model.d.ts +17 -17
- package/lib/models/fields/booleanField.model.d.ts +11 -11
- package/lib/models/fields/dateField.model.d.ts +13 -13
- package/lib/models/fields/imageField.model.d.ts +13 -13
- package/lib/models/fields/imageSelectorField.model.d.ts +12 -12
- package/lib/models/fields/imageWithMarkersField.model.d.ts +7 -7
- package/lib/models/fields/labelField.model.d.ts +4 -4
- package/lib/models/fields/listValueField.model.d.ts +24 -24
- package/lib/models/fields/lookupField.model.d.ts +10 -10
- package/lib/models/fields/numericField.model.d.ts +12 -12
- package/lib/models/fields/textField.model.d.ts +16 -16
- package/lib/models/fields/textareaField.model.d.ts +8 -8
- package/lib/models/form.model.d.ts +61 -61
- package/lib/models/getter.model.d.ts +5 -5
- package/lib/models/graph.model.d.ts +18 -18
- package/lib/models/logicOperator.model.d.ts +48 -48
- package/lib/models/record.model.d.ts +41 -41
- package/lib/models/statistic.model.d.ts +13 -13
- package/lib/models/trigger.model.d.ts +51 -51
- package/lib/modules/formula.model.d.ts +32 -32
- package/lib/modules/material.module.d.ts +37 -37
- package/lib/services/custom-form-validators.service.d.ts +5 -5
- package/lib/services/db-date.service.d.ts +24 -24
- package/lib/services/eqp-dynamic-module-dialog.service.d.ts +44 -44
- package/lib/services/global.service.d.ts +16 -16
- package/lib/services/spinner.service.d.ts +18 -18
- package/lib/services/utilityHelper.services.d.ts +101 -101
- package/package.json +20 -25
- package/public-api.d.ts +53 -53
- package/esm2020/lib/components/exported/eqp-dynamic-module/eqp-dynamic-module.component.mjs +0 -516
- package/esm2020/lib/components/exported/eqp-dynamic-module-configurator/eqp-dynamic-module-configurator.component.mjs +0 -1196
- package/esm2020/lib/components/private/add-form-field/add-form-field.component.mjs +0 -1202
- package/esm2020/lib/components/private/add-formula-field/add-formula-field.component.mjs +0 -196
- package/esm2020/lib/components/private/dbgetter/dbgetter.component.mjs +0 -226
- package/esm2020/lib/components/private/dynamic-module-field-fix/dynamic-module-field.component.mjs +0 -263
- package/esm2020/lib/components/private/field-templates/attachment-field-template/attachment-field-template.component.mjs +0 -138
- package/esm2020/lib/components/private/field-templates/boolean-field-template/boolean-field-template.component.mjs +0 -71
- package/esm2020/lib/components/private/field-templates/date-field-template/date-field-template.component.mjs +0 -104
- package/esm2020/lib/components/private/field-templates/image-field-selector-template/image-field-selector-template.component.mjs +0 -100
- package/esm2020/lib/components/private/field-templates/image-field-template/image-field-template.component.mjs +0 -256
- package/esm2020/lib/components/private/field-templates/image-with-markers-field-template/image-with-markers-field-template.component.mjs +0 -252
- package/esm2020/lib/components/private/field-templates/label-field-template/label-field-template.component.mjs +0 -74
- package/esm2020/lib/components/private/field-templates/list-value-field-template/list-value-field-template.component.mjs +0 -172
- package/esm2020/lib/components/private/field-templates/numeric-field-template/numeric-field-template.component.mjs +0 -124
- package/esm2020/lib/components/private/field-templates/text-field-template/text-field-template.component.mjs +0 -95
- package/esm2020/lib/components/private/field-templates/textarea-field-template/textarea-field-template.component.mjs +0 -71
- package/esm2020/lib/components/private/form-records/add-form-record/add-form-record.component.mjs +0 -828
- package/esm2020/lib/components/private/form-records/list-form-record/list-form-record.component.mjs +0 -400
- package/esm2020/lib/components/private/form-records/list-view-form-record/list-view-form-record.component.mjs +0 -628
- package/esm2020/lib/components/private/form-records/list-view-form-record/single-record/single-record.component.mjs +0 -75
- package/esm2020/lib/components/private/form-records/repair-form-fields/repair-form-fields.component.mjs +0 -54
- package/esm2020/lib/components/private/form-records/view-form-record/view-form-record.component.mjs +0 -125
- package/esm2020/lib/components/private/form-statistics/dynamic-module-filter-fix/dynamic-module-filter-fix.component.mjs +0 -76
- package/esm2020/lib/components/private/form-statistics/filter-form-statistic/filter-form-statistic.component.mjs +0 -453
- package/esm2020/lib/components/private/form-statistics/filter-templates/attachment-filter-template/attachment-filter-template.component.mjs +0 -57
- package/esm2020/lib/components/private/form-statistics/filter-templates/boolean-filter-template/boolean-filter-template.component.mjs +0 -104
- package/esm2020/lib/components/private/form-statistics/filter-templates/date-filter-template/date-filter-template.component.mjs +0 -105
- package/esm2020/lib/components/private/form-statistics/filter-templates/image-filter-template/image-filter-template.component.mjs +0 -57
- package/esm2020/lib/components/private/form-statistics/filter-templates/image-selector-filter-template/image-selector-filter-template.component.mjs +0 -128
- package/esm2020/lib/components/private/form-statistics/filter-templates/list-form-record-filter-template/list-form-record-filter-template.component.mjs +0 -57
- package/esm2020/lib/components/private/form-statistics/filter-templates/list-value-filter-template/list-value-filter-template.component.mjs +0 -135
- package/esm2020/lib/components/private/form-statistics/filter-templates/numeric-filter-template/numeric-filter-template.component.mjs +0 -120
- package/esm2020/lib/components/private/form-statistics/filter-templates/text-filter-template/text-filter-template.component.mjs +0 -102
- package/esm2020/lib/components/private/form-statistics/filter-templates/textarea-filter-template/textarea-filter-template.component.mjs +0 -102
- package/esm2020/lib/components/private/graphs/graph/graph.component.mjs +0 -180
- package/esm2020/lib/components/private/graphs/graphs.component.mjs +0 -164
- package/esm2020/lib/components/private/spinner/spinner.component.mjs +0 -19
- package/esm2020/lib/components/private/tmw-image-drawer/tmw-image-drawer.component.mjs +0 -403
- package/esm2020/lib/components/private/tmw-image-marker/tmw-image-marker.component.mjs +0 -336
- package/esm2020/lib/components/private/trigger-creator/dynamic-module-trigger-fix/dynamic-module-trigger-fix.component.mjs +0 -69
- package/esm2020/lib/components/private/trigger-creator/trigger-creator.component.mjs +0 -191
- package/esm2020/lib/components/private/trigger-creator/trigger-templates/boolean-trigger-template/boolean-trigger-template.component.mjs +0 -86
- package/esm2020/lib/components/private/trigger-creator/trigger-templates/date-trigger-template/date-trigger-template.component.mjs +0 -86
- package/esm2020/lib/components/private/trigger-creator/trigger-templates/list-form-record-trigger-template/list-form-record-trigger-template.component.mjs +0 -60
- package/esm2020/lib/components/private/trigger-creator/trigger-templates/list-value-trigger-template/list-value-trigger-template.component.mjs +0 -66
- package/esm2020/lib/components/private/trigger-creator/trigger-templates/numeric-trigger-template/numeric-trigger-template.component.mjs +0 -102
- package/esm2020/lib/components/private/trigger-creator/trigger-templates/text-trigger-template/text-trigger-template.component.mjs +0 -84
- package/esm2020/lib/components/private/trigger-creator/trigger-templates/textarea-trigger-template/textarea-trigger-template.component.mjs +0 -84
- package/esm2020/lib/directives/dynamic-loader/dynamic-loader.directive.mjs +0 -59
- package/esm2020/lib/directives/speech-to-text/speech-to-text.directive.mjs +0 -186
- package/esm2020/lib/eqp-dynamic-module.module.mjs +0 -253
- package/esm2020/lib/models/baseField.model.mjs +0 -101
- package/esm2020/lib/models/baseObj.model.mjs +0 -9
- package/esm2020/lib/models/dynAttachment.mjs +0 -21
- package/esm2020/lib/models/dynamicModuleCompileConfig.model.mjs +0 -13
- package/esm2020/lib/models/dynamicModuleConfig.model.mjs +0 -9
- package/esm2020/lib/models/dynamicModuleConfiguratorConfig.model.mjs +0 -9
- package/esm2020/lib/models/dynamicModuleConfiguratorSpecificConfig.model.mjs +0 -15
- package/esm2020/lib/models/dynamicModuleGeneralConfig.model.mjs +0 -36
- package/esm2020/lib/models/dynamicModuleListConfig.model.mjs +0 -30
- package/esm2020/lib/models/dynamicModuleListFormRecordActionsDefault.mjs +0 -11
- package/esm2020/lib/models/endPointConfiguration.model.mjs +0 -205
- package/esm2020/lib/models/fields/attachmentField.model.mjs +0 -22
- package/esm2020/lib/models/fields/booleanField.model.mjs +0 -12
- package/esm2020/lib/models/fields/dateField.model.mjs +0 -15
- package/esm2020/lib/models/fields/imageField.model.mjs +0 -15
- package/esm2020/lib/models/fields/imageSelectorField.model.mjs +0 -8
- package/esm2020/lib/models/fields/imageWithMarkersField.model.mjs +0 -8
- package/esm2020/lib/models/fields/listValueField.model.mjs +0 -11
- package/esm2020/lib/models/fields/lookupField.model.mjs +0 -5
- package/esm2020/lib/models/fields/numericField.model.mjs +0 -5
- package/esm2020/lib/models/fields/textField.model.mjs +0 -14
- package/esm2020/lib/models/fields/textareaField.model.mjs +0 -4
- package/esm2020/lib/models/form.model.mjs +0 -24
- package/esm2020/lib/models/getter.model.mjs +0 -3
- package/esm2020/lib/models/graph.model.mjs +0 -15
- package/esm2020/lib/models/record.model.mjs +0 -10
- package/esm2020/lib/models/statistic.model.mjs +0 -8
- package/esm2020/lib/models/trigger.model.mjs +0 -41
- package/esm2020/lib/modules/formula.model.mjs +0 -265
- package/esm2020/lib/services/db-date.service.mjs +0 -178
- package/esm2020/lib/services/eqp-dynamic-module-dialog.service.mjs +0 -114
- package/esm2020/lib/services/global.service.mjs +0 -41
- package/esm2020/lib/services/spinner.service.mjs +0 -43
- package/esm2020/lib/services/utilityHelper.services.mjs +0 -598
- package/fesm2015/eqproject-eqp-dynamic-module.mjs +0 -12782
- package/fesm2015/eqproject-eqp-dynamic-module.mjs.map +0 -1
- package/fesm2020/eqproject-eqp-dynamic-module.mjs +0 -12751
- package/fesm2020/eqproject-eqp-dynamic-module.mjs.map +0 -1
|
@@ -1,151 +1,151 @@
|
|
|
1
|
-
import { OnInit, EventEmitter, OnChanges, SimpleChanges, ChangeDetectorRef, TemplateRef } from "@angular/core";
|
|
2
|
-
import { ConfigColumn, EqpTableComponent } from "@eqproject/eqp-table";
|
|
3
|
-
import { Form } from "../../../../models/form.model";
|
|
4
|
-
import { DynRecord, Record, RecordButton } from "../../../../models/record.model";
|
|
5
|
-
import { UtilityHelperService } from "../../../../services/utilityHelper.services";
|
|
6
|
-
import { DynamicModuleListFormRecordActionsDefault } from "../../../../models/dynamicModuleListFormRecordActionsDefault";
|
|
7
|
-
import { DynamicModuleListConfig } from "../../../../models/dynamicModuleListConfig.model";
|
|
8
|
-
import { DynamicModuleCompileConfig } from "./../../../..//models/dynamicModuleCompileConfig.model";
|
|
9
|
-
import { EndPointConfiguration } from "./../../../../models/endPointConfiguration.model";
|
|
10
|
-
import { MatDialog, MatDialogRef } from "@angular/material/dialog";
|
|
11
|
-
import { Router } from "@angular/router";
|
|
12
|
-
import { DynamicLoaderDirectiveData, eventOut } from "../../../../directives/dynamic-loader/dynamic-loader.directive";
|
|
13
|
-
import { FireTrigger } from '../../../../models/trigger.model';
|
|
14
|
-
import { dbDateService } from "../../../../services/db-date.service";
|
|
15
|
-
import { DatePipe } from "@angular/common";
|
|
16
|
-
import * as i0 from "@angular/core";
|
|
17
|
-
type Panel = {
|
|
18
|
-
record: Record;
|
|
19
|
-
isOpen: boolean;
|
|
20
|
-
pageState: string;
|
|
21
|
-
highlighted: boolean;
|
|
22
|
-
};
|
|
23
|
-
export declare class ListViewFormRecordComponent implements OnInit, OnChanges {
|
|
24
|
-
private utilityHelperService;
|
|
25
|
-
private changeDetector;
|
|
26
|
-
private dialog;
|
|
27
|
-
private router;
|
|
28
|
-
private dbDateService;
|
|
29
|
-
private datePipe;
|
|
30
|
-
configurations: DynamicModuleListConfig;
|
|
31
|
-
compileConfigurations: DynamicModuleCompileConfig;
|
|
32
|
-
outCompileConfigurations: DynamicModuleCompileConfig;
|
|
33
|
-
endPointConfiguration: EndPointConfiguration;
|
|
34
|
-
userID: string;
|
|
35
|
-
formID: string;
|
|
36
|
-
orgaID: string;
|
|
37
|
-
form: Form;
|
|
38
|
-
defaultListViewFunction: Function;
|
|
39
|
-
externalButtons: Array<RecordButton>;
|
|
40
|
-
onlyView: boolean;
|
|
41
|
-
records: Array<DynRecord>;
|
|
42
|
-
highlightFilter: any;
|
|
43
|
-
QueryEditorComponent: DynamicLoaderDirectiveData;
|
|
44
|
-
defaultListActions: DynamicModuleListFormRecordActionsDefault;
|
|
45
|
-
showTitle: boolean;
|
|
46
|
-
test: boolean;
|
|
47
|
-
selectedRecord: Record;
|
|
48
|
-
loader: boolean;
|
|
49
|
-
loadedform: boolean;
|
|
50
|
-
panelOpenState: boolean[];
|
|
51
|
-
selectedIndex: number | null;
|
|
52
|
-
visualizzaContenuto: boolean;
|
|
53
|
-
modificaContenuto: boolean;
|
|
54
|
-
tableRecords: EqpTableComponent;
|
|
55
|
-
columns: ConfigColumn[];
|
|
56
|
-
panels: Array<Panel>;
|
|
57
|
-
buttons: Array<RecordButton>;
|
|
58
|
-
popupLoader: boolean;
|
|
59
|
-
openAddDialog: TemplateRef<any>;
|
|
60
|
-
openAddDialogRef: MatDialogRef<TemplateRef<any>>;
|
|
61
|
-
openGraphDialog: TemplateRef<any>;
|
|
62
|
-
openGraphDialogRef: MatDialogRef<TemplateRef<any>>;
|
|
63
|
-
todoList: any;
|
|
64
|
-
isFullOpened: boolean;
|
|
65
|
-
onAddViewEditRecord: EventEmitter<{
|
|
66
|
-
record: Record;
|
|
67
|
-
onlyView: boolean;
|
|
68
|
-
}>;
|
|
69
|
-
onDeleteRecord: EventEmitter<Record>;
|
|
70
|
-
saveRecordEvent: EventEmitter<Record>;
|
|
71
|
-
afterSaveRecordEvent: EventEmitter<Record>;
|
|
72
|
-
dragStarted: EventEmitter<any>;
|
|
73
|
-
dragReleased: EventEmitter<void>;
|
|
74
|
-
out: EventEmitter<eventOut>;
|
|
75
|
-
fireTrigger: EventEmitter<FireTrigger>;
|
|
76
|
-
constructor(utilityHelperService: UtilityHelperService, changeDetector: ChangeDetectorRef, dialog: MatDialog, router: Router, dbDateService: dbDateService, datePipe: DatePipe);
|
|
77
|
-
ngOnInit(): void;
|
|
78
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
79
|
-
onOpening(indice: number): void;
|
|
80
|
-
configureListviewButtons(): void;
|
|
81
|
-
getFormByID(id?: string): void;
|
|
82
|
-
/**
|
|
83
|
-
* Metodo per configurare le colonne della eqp-table.
|
|
84
|
-
*/
|
|
85
|
-
private configureColumns;
|
|
86
|
-
/**
|
|
87
|
-
* Metodo per recuperare tutti i record salvati per una particolare Form.
|
|
88
|
-
* La chiamata viene effettuata solo se è stato configurato l'endPoint da usare.
|
|
89
|
-
* La risposta della chiamata deve essere un array di oggetti di tipo "DynRecord"
|
|
90
|
-
* a partire dai quali vengono ricreati i Record usati nel client.
|
|
91
|
-
*/
|
|
92
|
-
getRecordsByFormID(): Promise<void>;
|
|
93
|
-
private generateAnswersArray;
|
|
94
|
-
togglePanel(panel: any, record: Record): void;
|
|
95
|
-
/**
|
|
96
|
-
* Metodo che scatena l'evento di Output per mostrare o modificare il record
|
|
97
|
-
* selezionato sulla eqp-table.
|
|
98
|
-
* @param record Record da visualizzare o modificare selezionato sulla eqp-table.
|
|
99
|
-
* @param onlyView Se TRUE viene mostrato il componente add-form-record in sola lettura.
|
|
100
|
-
*/
|
|
101
|
-
viewOrEditRecord(record: Record, onlyView: boolean, i: any): void;
|
|
102
|
-
viewRecord(panel: Panel, onlyView: boolean, i: any, ev: Event): void;
|
|
103
|
-
EditRecord(panel: Panel, onlyView: boolean, i: any, ev: Event): void;
|
|
104
|
-
externalCallback(ev: Event, callback: Function, record: any): void;
|
|
105
|
-
/**
|
|
106
|
-
* Metodo per duplicare un record della form.
|
|
107
|
-
* @param record Record da duplicare.
|
|
108
|
-
*/
|
|
109
|
-
duplicateRecord(panel: Panel, onlyView: boolean, i: any, ev: Event): void;
|
|
110
|
-
/**
|
|
111
|
-
* Metodo per eliminare un record dalla lista.
|
|
112
|
-
* @param record Record da eliminare selezionato sulla eqp-table.
|
|
113
|
-
*/
|
|
114
|
-
deleteRecord(record: Record, ev: Event): void;
|
|
115
|
-
/**
|
|
116
|
-
* Metodo per ricaricare i dati della eqp-table.
|
|
117
|
-
*/
|
|
118
|
-
private reloadTables;
|
|
119
|
-
/**
|
|
120
|
-
* Metodo per salvare i dati inseriti dall'utente una volta conclusa la compilazione della form.
|
|
121
|
-
*/
|
|
122
|
-
saveOrExitForm(record: Record): void;
|
|
123
|
-
onAfterSaveRecord(event: any): void;
|
|
124
|
-
/**
|
|
125
|
-
* Metodo invocato quando si vuole aggiungere, visualizzare o modificare un record.
|
|
126
|
-
* Se l'evento è null vuol dire che stiamo aggiungendo un nuovo record altrimenti siamo in modifica
|
|
127
|
-
* o visualizzazione. In questi ultimi due casi, se è stato configurato un endpoint per il recupero
|
|
128
|
-
* del record completo allora viene effettuata una chiamata al server, altrimenti viene usato l'oggetto selezionato.
|
|
129
|
-
* @param event Oggetto con due proprietà:
|
|
130
|
-
* "record" = oggetto da modificare/visualizzare,
|
|
131
|
-
* "onlyView" = booleano (se TRUE siamo in visualizzazione altrimenti in modifica)
|
|
132
|
-
*/
|
|
133
|
-
onAddViewEditRecord2(event: {
|
|
134
|
-
record: Record;
|
|
135
|
-
onlyView: boolean;
|
|
136
|
-
}): void;
|
|
137
|
-
openAll(): void;
|
|
138
|
-
openAddPopup(): void;
|
|
139
|
-
openGraphs(): void;
|
|
140
|
-
closeGraphs(): void;
|
|
141
|
-
onAddSaveRecord(record: Record): void;
|
|
142
|
-
onAddAfterSaveRecord(record: Record): void;
|
|
143
|
-
printAdditionalInfo(record: Record): string;
|
|
144
|
-
onDragStarted(el: any): void;
|
|
145
|
-
onDragReleased(): void;
|
|
146
|
-
onExternalComponentOut(ev: eventOut): void;
|
|
147
|
-
onFireTrigger(ev: FireTrigger): void;
|
|
148
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ListViewFormRecordComponent, never>;
|
|
149
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ListViewFormRecordComponent, "list-view-form-record", never, { "configurations": "configurations"; "compileConfigurations": "compileConfigurations"; "endPointConfiguration": "endPointConfiguration"; "userID": "userID"; "formID": "formID"; "orgaID": "orgaID"; "form": "form"; "defaultListViewFunction": "defaultListViewFunction"; "externalButtons": "externalButtons"; "onlyView": "onlyView"; "records": "records"; "highlightFilter": "highlightFilter"; "QueryEditorComponent": "QueryEditorComponent"; }, { "onAddViewEditRecord": "onAddViewEditRecord"; "onDeleteRecord": "onDeleteRecord"; "saveRecordEvent": "saveRecordEvent"; "afterSaveRecordEvent": "afterSaveRecordEvent"; "dragStarted": "dragStarted"; "dragReleased": "dragReleased"; "out": "out"; "fireTrigger": "fireTrigger"; }, never, never, false, never>;
|
|
150
|
-
}
|
|
151
|
-
export {};
|
|
1
|
+
import { OnInit, EventEmitter, OnChanges, SimpleChanges, ChangeDetectorRef, TemplateRef } from "@angular/core";
|
|
2
|
+
import { ConfigColumn, EqpTableComponent } from "@eqproject/eqp-table";
|
|
3
|
+
import { Form } from "../../../../models/form.model";
|
|
4
|
+
import { DynRecord, Record, RecordButton } from "../../../../models/record.model";
|
|
5
|
+
import { UtilityHelperService } from "../../../../services/utilityHelper.services";
|
|
6
|
+
import { DynamicModuleListFormRecordActionsDefault } from "../../../../models/dynamicModuleListFormRecordActionsDefault";
|
|
7
|
+
import { DynamicModuleListConfig } from "../../../../models/dynamicModuleListConfig.model";
|
|
8
|
+
import { DynamicModuleCompileConfig } from "./../../../..//models/dynamicModuleCompileConfig.model";
|
|
9
|
+
import { EndPointConfiguration } from "./../../../../models/endPointConfiguration.model";
|
|
10
|
+
import { MatDialog, MatDialogRef } from "@angular/material/dialog";
|
|
11
|
+
import { Router } from "@angular/router";
|
|
12
|
+
import { DynamicLoaderDirectiveData, eventOut } from "../../../../directives/dynamic-loader/dynamic-loader.directive";
|
|
13
|
+
import { FireTrigger } from '../../../../models/trigger.model';
|
|
14
|
+
import { dbDateService } from "../../../../services/db-date.service";
|
|
15
|
+
import { DatePipe } from "@angular/common";
|
|
16
|
+
import * as i0 from "@angular/core";
|
|
17
|
+
type Panel = {
|
|
18
|
+
record: Record;
|
|
19
|
+
isOpen: boolean;
|
|
20
|
+
pageState: string;
|
|
21
|
+
highlighted: boolean;
|
|
22
|
+
};
|
|
23
|
+
export declare class ListViewFormRecordComponent implements OnInit, OnChanges {
|
|
24
|
+
private utilityHelperService;
|
|
25
|
+
private changeDetector;
|
|
26
|
+
private dialog;
|
|
27
|
+
private router;
|
|
28
|
+
private dbDateService;
|
|
29
|
+
private datePipe;
|
|
30
|
+
configurations: DynamicModuleListConfig;
|
|
31
|
+
compileConfigurations: DynamicModuleCompileConfig;
|
|
32
|
+
outCompileConfigurations: DynamicModuleCompileConfig;
|
|
33
|
+
endPointConfiguration: EndPointConfiguration;
|
|
34
|
+
userID: string;
|
|
35
|
+
formID: string;
|
|
36
|
+
orgaID: string;
|
|
37
|
+
form: Form;
|
|
38
|
+
defaultListViewFunction: Function;
|
|
39
|
+
externalButtons: Array<RecordButton>;
|
|
40
|
+
onlyView: boolean;
|
|
41
|
+
records: Array<DynRecord>;
|
|
42
|
+
highlightFilter: any;
|
|
43
|
+
QueryEditorComponent: DynamicLoaderDirectiveData;
|
|
44
|
+
defaultListActions: DynamicModuleListFormRecordActionsDefault;
|
|
45
|
+
showTitle: boolean;
|
|
46
|
+
test: boolean;
|
|
47
|
+
selectedRecord: Record;
|
|
48
|
+
loader: boolean;
|
|
49
|
+
loadedform: boolean;
|
|
50
|
+
panelOpenState: boolean[];
|
|
51
|
+
selectedIndex: number | null;
|
|
52
|
+
visualizzaContenuto: boolean;
|
|
53
|
+
modificaContenuto: boolean;
|
|
54
|
+
tableRecords: EqpTableComponent;
|
|
55
|
+
columns: ConfigColumn[];
|
|
56
|
+
panels: Array<Panel>;
|
|
57
|
+
buttons: Array<RecordButton>;
|
|
58
|
+
popupLoader: boolean;
|
|
59
|
+
openAddDialog: TemplateRef<any>;
|
|
60
|
+
openAddDialogRef: MatDialogRef<TemplateRef<any>>;
|
|
61
|
+
openGraphDialog: TemplateRef<any>;
|
|
62
|
+
openGraphDialogRef: MatDialogRef<TemplateRef<any>>;
|
|
63
|
+
todoList: any;
|
|
64
|
+
isFullOpened: boolean;
|
|
65
|
+
onAddViewEditRecord: EventEmitter<{
|
|
66
|
+
record: Record;
|
|
67
|
+
onlyView: boolean;
|
|
68
|
+
}>;
|
|
69
|
+
onDeleteRecord: EventEmitter<Record>;
|
|
70
|
+
saveRecordEvent: EventEmitter<Record>;
|
|
71
|
+
afterSaveRecordEvent: EventEmitter<Record>;
|
|
72
|
+
dragStarted: EventEmitter<any>;
|
|
73
|
+
dragReleased: EventEmitter<void>;
|
|
74
|
+
out: EventEmitter<eventOut>;
|
|
75
|
+
fireTrigger: EventEmitter<FireTrigger>;
|
|
76
|
+
constructor(utilityHelperService: UtilityHelperService, changeDetector: ChangeDetectorRef, dialog: MatDialog, router: Router, dbDateService: dbDateService, datePipe: DatePipe);
|
|
77
|
+
ngOnInit(): void;
|
|
78
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
79
|
+
onOpening(indice: number): void;
|
|
80
|
+
configureListviewButtons(): void;
|
|
81
|
+
getFormByID(id?: string): void;
|
|
82
|
+
/**
|
|
83
|
+
* Metodo per configurare le colonne della eqp-table.
|
|
84
|
+
*/
|
|
85
|
+
private configureColumns;
|
|
86
|
+
/**
|
|
87
|
+
* Metodo per recuperare tutti i record salvati per una particolare Form.
|
|
88
|
+
* La chiamata viene effettuata solo se è stato configurato l'endPoint da usare.
|
|
89
|
+
* La risposta della chiamata deve essere un array di oggetti di tipo "DynRecord"
|
|
90
|
+
* a partire dai quali vengono ricreati i Record usati nel client.
|
|
91
|
+
*/
|
|
92
|
+
getRecordsByFormID(): Promise<void>;
|
|
93
|
+
private generateAnswersArray;
|
|
94
|
+
togglePanel(panel: any, record: Record): void;
|
|
95
|
+
/**
|
|
96
|
+
* Metodo che scatena l'evento di Output per mostrare o modificare il record
|
|
97
|
+
* selezionato sulla eqp-table.
|
|
98
|
+
* @param record Record da visualizzare o modificare selezionato sulla eqp-table.
|
|
99
|
+
* @param onlyView Se TRUE viene mostrato il componente add-form-record in sola lettura.
|
|
100
|
+
*/
|
|
101
|
+
viewOrEditRecord(record: Record, onlyView: boolean, i: any): void;
|
|
102
|
+
viewRecord(panel: Panel, onlyView: boolean, i: any, ev: Event): void;
|
|
103
|
+
EditRecord(panel: Panel, onlyView: boolean, i: any, ev: Event): void;
|
|
104
|
+
externalCallback(ev: Event, callback: Function, record: any): void;
|
|
105
|
+
/**
|
|
106
|
+
* Metodo per duplicare un record della form.
|
|
107
|
+
* @param record Record da duplicare.
|
|
108
|
+
*/
|
|
109
|
+
duplicateRecord(panel: Panel, onlyView: boolean, i: any, ev: Event): void;
|
|
110
|
+
/**
|
|
111
|
+
* Metodo per eliminare un record dalla lista.
|
|
112
|
+
* @param record Record da eliminare selezionato sulla eqp-table.
|
|
113
|
+
*/
|
|
114
|
+
deleteRecord(record: Record, ev: Event): void;
|
|
115
|
+
/**
|
|
116
|
+
* Metodo per ricaricare i dati della eqp-table.
|
|
117
|
+
*/
|
|
118
|
+
private reloadTables;
|
|
119
|
+
/**
|
|
120
|
+
* Metodo per salvare i dati inseriti dall'utente una volta conclusa la compilazione della form.
|
|
121
|
+
*/
|
|
122
|
+
saveOrExitForm(record: Record): void;
|
|
123
|
+
onAfterSaveRecord(event: any): void;
|
|
124
|
+
/**
|
|
125
|
+
* Metodo invocato quando si vuole aggiungere, visualizzare o modificare un record.
|
|
126
|
+
* Se l'evento è null vuol dire che stiamo aggiungendo un nuovo record altrimenti siamo in modifica
|
|
127
|
+
* o visualizzazione. In questi ultimi due casi, se è stato configurato un endpoint per il recupero
|
|
128
|
+
* del record completo allora viene effettuata una chiamata al server, altrimenti viene usato l'oggetto selezionato.
|
|
129
|
+
* @param event Oggetto con due proprietà:
|
|
130
|
+
* "record" = oggetto da modificare/visualizzare,
|
|
131
|
+
* "onlyView" = booleano (se TRUE siamo in visualizzazione altrimenti in modifica)
|
|
132
|
+
*/
|
|
133
|
+
onAddViewEditRecord2(event: {
|
|
134
|
+
record: Record;
|
|
135
|
+
onlyView: boolean;
|
|
136
|
+
}): void;
|
|
137
|
+
openAll(): void;
|
|
138
|
+
openAddPopup(): void;
|
|
139
|
+
openGraphs(): void;
|
|
140
|
+
closeGraphs(): void;
|
|
141
|
+
onAddSaveRecord(record: Record): void;
|
|
142
|
+
onAddAfterSaveRecord(record: Record): void;
|
|
143
|
+
printAdditionalInfo(record: Record): string;
|
|
144
|
+
onDragStarted(el: any): void;
|
|
145
|
+
onDragReleased(): void;
|
|
146
|
+
onExternalComponentOut(ev: eventOut): void;
|
|
147
|
+
onFireTrigger(ev: FireTrigger): void;
|
|
148
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ListViewFormRecordComponent, never>;
|
|
149
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ListViewFormRecordComponent, "list-view-form-record", never, { "configurations": { "alias": "configurations"; "required": false; }; "compileConfigurations": { "alias": "compileConfigurations"; "required": false; }; "endPointConfiguration": { "alias": "endPointConfiguration"; "required": false; }; "userID": { "alias": "userID"; "required": false; }; "formID": { "alias": "formID"; "required": false; }; "orgaID": { "alias": "orgaID"; "required": false; }; "form": { "alias": "form"; "required": false; }; "defaultListViewFunction": { "alias": "defaultListViewFunction"; "required": false; }; "externalButtons": { "alias": "externalButtons"; "required": false; }; "onlyView": { "alias": "onlyView"; "required": false; }; "records": { "alias": "records"; "required": false; }; "highlightFilter": { "alias": "highlightFilter"; "required": false; }; "QueryEditorComponent": { "alias": "QueryEditorComponent"; "required": false; }; }, { "onAddViewEditRecord": "onAddViewEditRecord"; "onDeleteRecord": "onDeleteRecord"; "saveRecordEvent": "saveRecordEvent"; "afterSaveRecordEvent": "afterSaveRecordEvent"; "dragStarted": "dragStarted"; "dragReleased": "dragReleased"; "out": "out"; "fireTrigger": "fireTrigger"; }, never, never, false, never>;
|
|
150
|
+
}
|
|
151
|
+
export {};
|
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { DynamicModuleCompileConfig } from '../../../../../models/dynamicModuleCompileConfig.model';
|
|
3
|
-
import { EndPointConfiguration } from '../../../../../models/endPointConfiguration.model';
|
|
4
|
-
import { Form } from '../../../../../models/form.model';
|
|
5
|
-
import { Record } from "../../../../../models/record.model";
|
|
6
|
-
import { UtilityHelperService } from '../../../../../services/utilityHelper.services';
|
|
7
|
-
import { DynamicLoaderDirectiveData, eventOut } from '../../../../../directives/dynamic-loader/dynamic-loader.directive';
|
|
8
|
-
import { FireTrigger } from '../../../../../models/trigger.model';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
type PageState = null | 'visualizzaContenuto' | 'modificaContenuto';
|
|
11
|
-
export declare class SingleRecordComponent implements OnInit {
|
|
12
|
-
private utilityHelperService;
|
|
13
|
-
endPointConfiguration: EndPointConfiguration;
|
|
14
|
-
record: any;
|
|
15
|
-
pageState: PageState;
|
|
16
|
-
userID: string;
|
|
17
|
-
form: Form;
|
|
18
|
-
showBackButton: boolean;
|
|
19
|
-
outCompileConfigurations: DynamicModuleCompileConfig;
|
|
20
|
-
onlyView: boolean;
|
|
21
|
-
QueryEditorComponent: DynamicLoaderDirectiveData;
|
|
22
|
-
saveRecordEvent: EventEmitter<Record>;
|
|
23
|
-
afterSaveRecordEvent: EventEmitter<Record>;
|
|
24
|
-
out: EventEmitter<eventOut>;
|
|
25
|
-
fireTrigger: EventEmitter<FireTrigger>;
|
|
26
|
-
loaded: boolean;
|
|
27
|
-
constructor(utilityHelperService: UtilityHelperService);
|
|
28
|
-
ngOnInit(): void;
|
|
29
|
-
/**
|
|
30
|
-
* Metodo per salvare i dati inseriti dall'utente una volta conclusa la compilazione della form.
|
|
31
|
-
*/
|
|
32
|
-
saveOrExitForm(record: Record): void;
|
|
33
|
-
onAfterSaveRecord(event: any): void;
|
|
34
|
-
onExternalComponentOut(ev: eventOut): void;
|
|
35
|
-
onFireTrigger(ev: FireTrigger): void;
|
|
36
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SingleRecordComponent, never>;
|
|
37
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SingleRecordComponent, "lib-single-record", never, { "endPointConfiguration": "endPointConfiguration"; "record": "record"; "pageState": "pageState"; "userID": "userID"; "form": "form"; "showBackButton": "showBackButton"; "outCompileConfigurations": "outCompileConfigurations"; "onlyView": "onlyView"; "QueryEditorComponent": "QueryEditorComponent"; }, { "saveRecordEvent": "saveRecordEvent"; "afterSaveRecordEvent": "afterSaveRecordEvent"; "out": "out"; "fireTrigger": "fireTrigger"; }, never, never, false, never>;
|
|
38
|
-
}
|
|
39
|
-
export {};
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { DynamicModuleCompileConfig } from '../../../../../models/dynamicModuleCompileConfig.model';
|
|
3
|
+
import { EndPointConfiguration } from '../../../../../models/endPointConfiguration.model';
|
|
4
|
+
import { Form } from '../../../../../models/form.model';
|
|
5
|
+
import { Record } from "../../../../../models/record.model";
|
|
6
|
+
import { UtilityHelperService } from '../../../../../services/utilityHelper.services';
|
|
7
|
+
import { DynamicLoaderDirectiveData, eventOut } from '../../../../../directives/dynamic-loader/dynamic-loader.directive';
|
|
8
|
+
import { FireTrigger } from '../../../../../models/trigger.model';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
type PageState = null | 'visualizzaContenuto' | 'modificaContenuto';
|
|
11
|
+
export declare class SingleRecordComponent implements OnInit {
|
|
12
|
+
private utilityHelperService;
|
|
13
|
+
endPointConfiguration: EndPointConfiguration;
|
|
14
|
+
record: any;
|
|
15
|
+
pageState: PageState;
|
|
16
|
+
userID: string;
|
|
17
|
+
form: Form;
|
|
18
|
+
showBackButton: boolean;
|
|
19
|
+
outCompileConfigurations: DynamicModuleCompileConfig;
|
|
20
|
+
onlyView: boolean;
|
|
21
|
+
QueryEditorComponent: DynamicLoaderDirectiveData;
|
|
22
|
+
saveRecordEvent: EventEmitter<Record>;
|
|
23
|
+
afterSaveRecordEvent: EventEmitter<Record>;
|
|
24
|
+
out: EventEmitter<eventOut>;
|
|
25
|
+
fireTrigger: EventEmitter<FireTrigger>;
|
|
26
|
+
loaded: boolean;
|
|
27
|
+
constructor(utilityHelperService: UtilityHelperService);
|
|
28
|
+
ngOnInit(): void;
|
|
29
|
+
/**
|
|
30
|
+
* Metodo per salvare i dati inseriti dall'utente una volta conclusa la compilazione della form.
|
|
31
|
+
*/
|
|
32
|
+
saveOrExitForm(record: Record): void;
|
|
33
|
+
onAfterSaveRecord(event: any): void;
|
|
34
|
+
onExternalComponentOut(ev: eventOut): void;
|
|
35
|
+
onFireTrigger(ev: FireTrigger): void;
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SingleRecordComponent, never>;
|
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SingleRecordComponent, "lib-single-record", never, { "endPointConfiguration": { "alias": "endPointConfiguration"; "required": false; }; "record": { "alias": "record"; "required": false; }; "pageState": { "alias": "pageState"; "required": false; }; "userID": { "alias": "userID"; "required": false; }; "form": { "alias": "form"; "required": false; }; "showBackButton": { "alias": "showBackButton"; "required": false; }; "outCompileConfigurations": { "alias": "outCompileConfigurations"; "required": false; }; "onlyView": { "alias": "onlyView"; "required": false; }; "QueryEditorComponent": { "alias": "QueryEditorComponent"; "required": false; }; }, { "saveRecordEvent": "saveRecordEvent"; "afterSaveRecordEvent": "afterSaveRecordEvent"; "out": "out"; "fireTrigger": "fireTrigger"; }, never, never, false, never>;
|
|
38
|
+
}
|
|
39
|
+
export {};
|
package/lib/components/private/form-records/repair-form-fields/repair-form-fields.component.d.ts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { OnInit, EventEmitter, ElementRef } from '@angular/core';
|
|
2
|
-
import { DynamicModuleRepairConfig } from '../../../../models/dynamicModuleRepairConfig.model';
|
|
3
|
-
import { EndPointConfiguration } from '../../../../models/endPointConfiguration.model';
|
|
4
|
-
import { UtilityHelperService } from '../../../../services/utilityHelper.services';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class RepairFormFieldsComponent implements OnInit {
|
|
7
|
-
private utilityHelperService;
|
|
8
|
-
configurations: DynamicModuleRepairConfig;
|
|
9
|
-
formID: string;
|
|
10
|
-
endPointConfiguration: EndPointConfiguration;
|
|
11
|
-
onSaveJson: EventEmitter<string>;
|
|
12
|
-
formulaTextArea: ElementRef<HTMLTextAreaElement>;
|
|
13
|
-
constructor(utilityHelperService: UtilityHelperService);
|
|
14
|
-
ngOnInit(): void;
|
|
15
|
-
printTheJSONInPrettyFormat(): void;
|
|
16
|
-
getFormByID(id?: string): void;
|
|
17
|
-
saveJson(): void;
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RepairFormFieldsComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RepairFormFieldsComponent, "repair-form-fields", never, { "configurations": "configurations"; "formID": "formID"; "endPointConfiguration": "endPointConfiguration"; }, { "onSaveJson": "onSaveJson"; }, never, never, false, never>;
|
|
20
|
-
}
|
|
1
|
+
import { OnInit, EventEmitter, ElementRef } from '@angular/core';
|
|
2
|
+
import { DynamicModuleRepairConfig } from '../../../../models/dynamicModuleRepairConfig.model';
|
|
3
|
+
import { EndPointConfiguration } from '../../../../models/endPointConfiguration.model';
|
|
4
|
+
import { UtilityHelperService } from '../../../../services/utilityHelper.services';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class RepairFormFieldsComponent implements OnInit {
|
|
7
|
+
private utilityHelperService;
|
|
8
|
+
configurations: DynamicModuleRepairConfig;
|
|
9
|
+
formID: string;
|
|
10
|
+
endPointConfiguration: EndPointConfiguration;
|
|
11
|
+
onSaveJson: EventEmitter<string>;
|
|
12
|
+
formulaTextArea: ElementRef<HTMLTextAreaElement>;
|
|
13
|
+
constructor(utilityHelperService: UtilityHelperService);
|
|
14
|
+
ngOnInit(): void;
|
|
15
|
+
printTheJSONInPrettyFormat(): void;
|
|
16
|
+
getFormByID(id?: string): void;
|
|
17
|
+
saveJson(): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RepairFormFieldsComponent, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RepairFormFieldsComponent, "repair-form-fields", never, { "configurations": { "alias": "configurations"; "required": false; }; "formID": { "alias": "formID"; "required": false; }; "endPointConfiguration": { "alias": "endPointConfiguration"; "required": false; }; }, { "onSaveJson": "onSaveJson"; }, never, never, false, never>;
|
|
20
|
+
}
|
package/lib/components/private/form-records/view-form-record/view-form-record.component.d.ts
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import { EventEmitter, OnInit, QueryList } from "@angular/core";
|
|
2
|
-
import { FieldTypeEnum } from "../../../../models/baseField.model";
|
|
3
|
-
import { Form } from "../../../../models/form.model";
|
|
4
|
-
import { DynRecord } from "../../../../models/record.model";
|
|
5
|
-
import { UtilityHelperService } from "../../../../services/utilityHelper.services";
|
|
6
|
-
import { DynamicModuleFieldFixComponent } from "../../dynamic-module-field-fix/dynamic-module-field.component";
|
|
7
|
-
import { EndPointConfiguration } from "./../../../../models/endPointConfiguration.model";
|
|
8
|
-
import { DomSanitizer, SafeHtml } from "@angular/platform-browser";
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
export declare class ViewFormRecordComponent implements OnInit {
|
|
11
|
-
utilityService: UtilityHelperService;
|
|
12
|
-
domSanitizer: DomSanitizer;
|
|
13
|
-
endPointConfiguration: EndPointConfiguration;
|
|
14
|
-
record: string | DynRecord;
|
|
15
|
-
showBackButton: boolean;
|
|
16
|
-
outputString: SafeHtml;
|
|
17
|
-
form: Form;
|
|
18
|
-
loader: boolean;
|
|
19
|
-
FieldTypeEnum: typeof FieldTypeEnum;
|
|
20
|
-
goBackEvent: EventEmitter<null>;
|
|
21
|
-
fieldTemplate: QueryList<DynamicModuleFieldFixComponent>;
|
|
22
|
-
constructor(utilityService: UtilityHelperService, domSanitizer: DomSanitizer);
|
|
23
|
-
ngOnInit(): void;
|
|
24
|
-
/**
|
|
25
|
-
* Metodo per salvare i dati inseriti dall'utente una volta conclusa la compilazione della form.
|
|
26
|
-
*/
|
|
27
|
-
goBack(): void;
|
|
28
|
-
getRecordByID(): void;
|
|
29
|
-
getFormByIDandVersion(): void;
|
|
30
|
-
/**
|
|
31
|
-
* Metodo per creare il FormGroup che rappresenta la form.
|
|
32
|
-
*/
|
|
33
|
-
private createOutput;
|
|
34
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ViewFormRecordComponent, never>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ViewFormRecordComponent, "view-form-record", never, { "endPointConfiguration": "endPointConfiguration"; "record": "record"; "showBackButton": "showBackButton"; }, { "goBackEvent": "goBackEvent"; }, never, never, false, never>;
|
|
36
|
-
}
|
|
1
|
+
import { EventEmitter, OnInit, QueryList } from "@angular/core";
|
|
2
|
+
import { FieldTypeEnum } from "../../../../models/baseField.model";
|
|
3
|
+
import { Form } from "../../../../models/form.model";
|
|
4
|
+
import { DynRecord } from "../../../../models/record.model";
|
|
5
|
+
import { UtilityHelperService } from "../../../../services/utilityHelper.services";
|
|
6
|
+
import { DynamicModuleFieldFixComponent } from "../../dynamic-module-field-fix/dynamic-module-field.component";
|
|
7
|
+
import { EndPointConfiguration } from "./../../../../models/endPointConfiguration.model";
|
|
8
|
+
import { DomSanitizer, SafeHtml } from "@angular/platform-browser";
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class ViewFormRecordComponent implements OnInit {
|
|
11
|
+
utilityService: UtilityHelperService;
|
|
12
|
+
domSanitizer: DomSanitizer;
|
|
13
|
+
endPointConfiguration: EndPointConfiguration;
|
|
14
|
+
record: string | DynRecord;
|
|
15
|
+
showBackButton: boolean;
|
|
16
|
+
outputString: SafeHtml;
|
|
17
|
+
form: Form;
|
|
18
|
+
loader: boolean;
|
|
19
|
+
FieldTypeEnum: typeof FieldTypeEnum;
|
|
20
|
+
goBackEvent: EventEmitter<null>;
|
|
21
|
+
fieldTemplate: QueryList<DynamicModuleFieldFixComponent>;
|
|
22
|
+
constructor(utilityService: UtilityHelperService, domSanitizer: DomSanitizer);
|
|
23
|
+
ngOnInit(): void;
|
|
24
|
+
/**
|
|
25
|
+
* Metodo per salvare i dati inseriti dall'utente una volta conclusa la compilazione della form.
|
|
26
|
+
*/
|
|
27
|
+
goBack(): void;
|
|
28
|
+
getRecordByID(): void;
|
|
29
|
+
getFormByIDandVersion(): void;
|
|
30
|
+
/**
|
|
31
|
+
* Metodo per creare il FormGroup che rappresenta la form.
|
|
32
|
+
*/
|
|
33
|
+
private createOutput;
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ViewFormRecordComponent, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ViewFormRecordComponent, "view-form-record", never, { "endPointConfiguration": { "alias": "endPointConfiguration"; "required": false; }; "record": { "alias": "record"; "required": false; }; "showBackButton": { "alias": "showBackButton"; "required": false; }; }, { "goBackEvent": "goBackEvent"; }, never, never, false, never>;
|
|
36
|
+
}
|
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
import { EventEmitter, QueryList, TemplateRef } from '@angular/core';
|
|
2
|
-
import { MatDialog, MatDialogRef } from '@angular/material/dialog';
|
|
3
|
-
import { BaseField, FieldTypeEnum } from '../../../../models/baseField.model';
|
|
4
|
-
import { DynamicModuleListConfig } from '../../../../models/dynamicModuleListConfig.model';
|
|
5
|
-
import { Form } from '../../../../models/form.model';
|
|
6
|
-
import { Record } from '../../../../models/record.model';
|
|
7
|
-
import { ListFormRecordComponent } from '../../form-records/list-form-record/list-form-record.component';
|
|
8
|
-
import { DynamicModuleFieldFixComponent } from '../../dynamic-module-field-fix/dynamic-module-field.component';
|
|
9
|
-
import { Statistic } from '../../../../models/statistic.model';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
export declare class DynamicModuleFilterFixComponent {
|
|
12
|
-
private dialog;
|
|
13
|
-
field: BaseField;
|
|
14
|
-
form: Form;
|
|
15
|
-
record: Record;
|
|
16
|
-
filterChange: EventEmitter<Statistic>;
|
|
17
|
-
configList: DynamicModuleListConfig;
|
|
18
|
-
FieldTypeEnum: typeof FieldTypeEnum;
|
|
19
|
-
selectedInnerForm: Form;
|
|
20
|
-
selectedInnerFormRecord: Record;
|
|
21
|
-
indexInnerFormRecord: number;
|
|
22
|
-
onlyViewInnerFormRecord: boolean;
|
|
23
|
-
dialogInnerFormRecordRef: MatDialogRef<TemplateRef<any>>;
|
|
24
|
-
dialogInnerFormRecord: TemplateRef<any>;
|
|
25
|
-
fieldTemplate: QueryList<DynamicModuleFieldFixComponent>;
|
|
26
|
-
listInnerFormRecords: QueryList<ListFormRecordComponent>;
|
|
27
|
-
constructor(dialog: MatDialog);
|
|
28
|
-
ngOnInit(): void;
|
|
29
|
-
/**
|
|
30
|
-
* Metodo invocato al cambio del valore di ogni proprietà dell'oggetto record.
|
|
31
|
-
* Serve ad aggiornare il valore di tutti i campi che hanno una formula.
|
|
32
|
-
*/
|
|
33
|
-
onFilterChange(ev: any): void;
|
|
34
|
-
/**
|
|
35
|
-
* Metodo per recuperare una InnerForm a partire dal Field che la rappresenta.
|
|
36
|
-
* @param field Campo a partire dal quale si vuole recuperare la InnerForm.
|
|
37
|
-
* @returns Restituisce un oggetto di tipo Form.
|
|
38
|
-
*/
|
|
39
|
-
getInnerFormFromField(field: BaseField): Form;
|
|
40
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicModuleFilterFixComponent, never>;
|
|
41
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicModuleFilterFixComponent, "dynamic-module-filter-fix", never, { "field": "field"; "form": "form"; "record": "record"; }, { "filterChange": "filterChange"; }, never, never, false, never>;
|
|
42
|
-
}
|
|
1
|
+
import { EventEmitter, QueryList, TemplateRef } from '@angular/core';
|
|
2
|
+
import { MatDialog, MatDialogRef } from '@angular/material/dialog';
|
|
3
|
+
import { BaseField, FieldTypeEnum } from '../../../../models/baseField.model';
|
|
4
|
+
import { DynamicModuleListConfig } from '../../../../models/dynamicModuleListConfig.model';
|
|
5
|
+
import { Form } from '../../../../models/form.model';
|
|
6
|
+
import { Record } from '../../../../models/record.model';
|
|
7
|
+
import { ListFormRecordComponent } from '../../form-records/list-form-record/list-form-record.component';
|
|
8
|
+
import { DynamicModuleFieldFixComponent } from '../../dynamic-module-field-fix/dynamic-module-field.component';
|
|
9
|
+
import { Statistic } from '../../../../models/statistic.model';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
export declare class DynamicModuleFilterFixComponent {
|
|
12
|
+
private dialog;
|
|
13
|
+
field: BaseField;
|
|
14
|
+
form: Form;
|
|
15
|
+
record: Record;
|
|
16
|
+
filterChange: EventEmitter<Statistic>;
|
|
17
|
+
configList: DynamicModuleListConfig;
|
|
18
|
+
FieldTypeEnum: typeof FieldTypeEnum;
|
|
19
|
+
selectedInnerForm: Form;
|
|
20
|
+
selectedInnerFormRecord: Record;
|
|
21
|
+
indexInnerFormRecord: number;
|
|
22
|
+
onlyViewInnerFormRecord: boolean;
|
|
23
|
+
dialogInnerFormRecordRef: MatDialogRef<TemplateRef<any>>;
|
|
24
|
+
dialogInnerFormRecord: TemplateRef<any>;
|
|
25
|
+
fieldTemplate: QueryList<DynamicModuleFieldFixComponent>;
|
|
26
|
+
listInnerFormRecords: QueryList<ListFormRecordComponent>;
|
|
27
|
+
constructor(dialog: MatDialog);
|
|
28
|
+
ngOnInit(): void;
|
|
29
|
+
/**
|
|
30
|
+
* Metodo invocato al cambio del valore di ogni proprietà dell'oggetto record.
|
|
31
|
+
* Serve ad aggiornare il valore di tutti i campi che hanno una formula.
|
|
32
|
+
*/
|
|
33
|
+
onFilterChange(ev: any): void;
|
|
34
|
+
/**
|
|
35
|
+
* Metodo per recuperare una InnerForm a partire dal Field che la rappresenta.
|
|
36
|
+
* @param field Campo a partire dal quale si vuole recuperare la InnerForm.
|
|
37
|
+
* @returns Restituisce un oggetto di tipo Form.
|
|
38
|
+
*/
|
|
39
|
+
getInnerFormFromField(field: BaseField): Form;
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicModuleFilterFixComponent, never>;
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicModuleFilterFixComponent, "dynamic-module-filter-fix", never, { "field": { "alias": "field"; "required": false; }; "form": { "alias": "form"; "required": false; }; "record": { "alias": "record"; "required": false; }; }, { "filterChange": "filterChange"; }, never, never, false, never>;
|
|
42
|
+
}
|