@seniorsistemas/angular-components 18.1.0-feature-sds-276-ea560ae6 → 18.1.0-feature-sds-276-a9df7947
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/bignumber-input/lib/bignumber-input/bignumber-input.directive.d.ts +1 -1
- package/custom-fields/lib/custom-fields/custom-fields.component.d.ts +9 -8
- package/custom-fields/lib/custom-fields/custom-fields.service.d.ts +4 -3
- package/custom-fields/lib/custom-fields/models/custom-field-type.d.ts +33 -0
- package/custom-fields/lib/custom-fields/models/index.d.ts +1 -0
- package/custom-fields/public-api.d.ts +2 -1
- package/dynamic-form/{lib/dynamic-form → dynamic-form}/components/field-label/field-label.component.d.ts +3 -3
- package/dynamic-form/dynamic-form/components/grid/row/row.component.d.ts +22 -0
- package/dynamic-form/{lib/dynamic-form → dynamic-form}/components/lookup/lookup.component.d.ts +19 -34
- package/dynamic-form/dynamic-form/components/structure/base-structure-component.d.ts +10 -0
- package/dynamic-form/dynamic-form/components/structure/fieldset/fieldset.component.d.ts +12 -0
- package/dynamic-form/dynamic-form/components/structure/section/section.component.d.ts +14 -0
- package/dynamic-form/dynamic-form/configurations/registry.d.ts +8 -0
- package/dynamic-form/dynamic-form/configurations/structure/fieldset.d.ts +11 -0
- package/dynamic-form/dynamic-form/configurations/structure/row.d.ts +21 -0
- package/dynamic-form/{lib/dynamic-form → dynamic-form}/configurations/structure/section.d.ts +9 -8
- package/dynamic-form/dynamic-form/configurations/structure/structure.d.ts +11 -0
- package/dynamic-form/dynamic-form/dynamic-form.component.d.ts +19 -0
- package/dynamic-form/dynamic-form/dynamic-form.d.ts +39 -0
- package/dynamic-form/{lib/dynamic-form → dynamic-form}/dynamic-form.directive.d.ts +6 -12
- package/dynamic-form/dynamic-form/dynamic-form.module.d.ts +79 -0
- package/dynamic-form/dynamic-form/form-field/configurations/field-size.d.ts +13 -0
- package/dynamic-form/dynamic-form/form-field/configurations/fields/autocomplete-field.d.ts +21 -0
- package/dynamic-form/dynamic-form/form-field/configurations/fields/bignumber-field.d.ts +28 -0
- package/dynamic-form/dynamic-form/form-field/configurations/fields/blob-field.d.ts +28 -0
- package/dynamic-form/dynamic-form/form-field/configurations/fields/boolean-field.d.ts +21 -0
- package/dynamic-form/dynamic-form/form-field/configurations/fields/boolean-switch-field.d.ts +12 -0
- package/dynamic-form/dynamic-form/form-field/configurations/fields/button-field.d.ts +16 -0
- package/dynamic-form/dynamic-form/form-field/configurations/fields/calendar-field.d.ts +33 -0
- package/dynamic-form/dynamic-form/form-field/configurations/fields/checkbox-field.d.ts +11 -0
- package/dynamic-form/dynamic-form/form-field/configurations/fields/chips-field.d.ts +18 -0
- package/dynamic-form/{lib/dynamic-form → dynamic-form}/form-field/configurations/fields/country-phone-picker-field.d.ts +6 -7
- package/dynamic-form/dynamic-form/form-field/configurations/fields/currency-field.d.ts +15 -0
- package/dynamic-form/dynamic-form/form-field/configurations/fields/field.d.ts +43 -0
- package/dynamic-form/dynamic-form/form-field/configurations/fields/lookup-field.d.ts +56 -0
- package/dynamic-form/{lib/dynamic-form → dynamic-form}/form-field/configurations/fields/number-field.d.ts +9 -22
- package/dynamic-form/{lib/dynamic-form → dynamic-form}/form-field/configurations/fields/password-field.d.ts +8 -20
- package/dynamic-form/dynamic-form/form-field/configurations/fields/profile-picture.d.ts +24 -0
- package/dynamic-form/{lib/dynamic-form → dynamic-form}/form-field/configurations/fields/radio-button-field.d.ts +7 -9
- package/dynamic-form/dynamic-form/form-field/configurations/fields/select-field.d.ts +33 -0
- package/dynamic-form/dynamic-form/form-field/configurations/fields/slider-field.d.ts +24 -0
- package/dynamic-form/dynamic-form/form-field/configurations/fields/star-rating-field.d.ts +16 -0
- package/dynamic-form/dynamic-form/form-field/configurations/fields/text-area-field.d.ts +18 -0
- package/dynamic-form/dynamic-form/form-field/configurations/fields/text-area-ia-field.d.ts +19 -0
- package/dynamic-form/dynamic-form/form-field/configurations/fields/text-field.d.ts +31 -0
- package/dynamic-form/{lib/dynamic-form → dynamic-form}/form-field/fields/autocomplete/autocomplete-field.component.d.ts +9 -6
- package/dynamic-form/dynamic-form/form-field/fields/base-field-component.d.ts +7 -0
- package/dynamic-form/{lib/dynamic-form → dynamic-form}/form-field/fields/bignumber/bignumber-field.component.d.ts +8 -8
- package/dynamic-form/{lib/dynamic-form → dynamic-form}/form-field/fields/boolean/boolean-radio-field/boolean-field.component.d.ts +4 -4
- package/dynamic-form/dynamic-form/form-field/fields/boolean/boolean-switch-field/boolean-switch-field.component.d.ts +10 -0
- package/dynamic-form/dynamic-form/form-field/fields/button-field/button-field.component.d.ts +11 -0
- package/dynamic-form/{lib/dynamic-form → dynamic-form}/form-field/fields/calendar/calendar-field.component.d.ts +10 -10
- package/dynamic-form/dynamic-form/form-field/fields/checkbox/checkbox-field.component.d.ts +10 -0
- package/dynamic-form/{lib/dynamic-form → dynamic-form}/form-field/fields/chips/chips-field.component.d.ts +5 -5
- package/dynamic-form/{lib/dynamic-form → dynamic-form}/form-field/fields/country-phone-picker/country-phone-picker-field.component.d.ts +4 -4
- package/dynamic-form/{lib/dynamic-form → dynamic-form}/form-field/fields/currency/currency-field.component.d.ts +10 -6
- package/dynamic-form/{lib/dynamic-form → dynamic-form}/form-field/fields/file-upload/file-upload-field.component.d.ts +7 -6
- package/dynamic-form/dynamic-form/form-field/fields/lookup/lookup-field.component.d.ts +18 -0
- package/dynamic-form/{lib/dynamic-form → dynamic-form}/form-field/fields/number/number-field.component.d.ts +8 -9
- package/dynamic-form/{lib/dynamic-form → dynamic-form}/form-field/fields/password/password-field.component.d.ts +8 -6
- package/dynamic-form/dynamic-form/form-field/fields/profile-picture/profile-picture-field.component.d.ts +10 -0
- package/dynamic-form/{lib/dynamic-form → dynamic-form}/form-field/fields/radio-button/radio-button-field.component.d.ts +5 -5
- package/dynamic-form/dynamic-form/form-field/fields/select/select-field.component.d.ts +12 -0
- package/dynamic-form/dynamic-form/form-field/fields/slider/slider-field.component.d.ts +23 -0
- package/dynamic-form/dynamic-form/form-field/fields/star-rating/star-rating-field.component.d.ts +11 -0
- package/dynamic-form/{lib/dynamic-form → dynamic-form}/form-field/fields/text/text-field.component.d.ts +8 -8
- package/dynamic-form/dynamic-form/form-field/fields/text-area/text-area-field.component.d.ts +18 -0
- package/dynamic-form/dynamic-form/form-field/fields/text-area-ia/text-area-ia-field.component.d.ts +15 -0
- package/dynamic-form/dynamic-form/services/form-field-utils.service.d.ts +15 -0
- package/dynamic-form/public-api.d.ts +35 -43
- package/dynamic-form/src/optional-fields/editor/editor-field/editor-field.component.d.ts +10 -0
- package/dynamic-form/src/optional-fields/editor/editor-field.d.ts +15 -0
- package/dynamic-form/src/optional-fields/editor/index.d.ts +5 -0
- package/dynamic-form/src/optional-fields/editor/public-api.d.ts +1 -0
- package/esm2022/autocomplete/lib/autocomplete/autocomplete.component.mjs +3 -3
- package/esm2022/bignumber-input/lib/bignumber-input/bignumber-input.directive.mjs +8 -6
- package/esm2022/custom-fields/lib/custom-fields/custom-fields.component.mjs +68 -69
- package/esm2022/custom-fields/lib/custom-fields/custom-fields.service.mjs +5 -5
- package/esm2022/custom-fields/lib/custom-fields/models/custom-field-type.mjs +26 -1
- package/esm2022/custom-fields/lib/custom-fields/models/index.mjs +2 -0
- package/esm2022/custom-fields/public-api.mjs +3 -2
- package/esm2022/dynamic-form/dynamic-form/components/field-label/field-label.component.mjs +21 -0
- package/esm2022/dynamic-form/dynamic-form/components/grid/row/row.component.mjs +39 -0
- package/esm2022/dynamic-form/dynamic-form/components/lookup/lookup.component.mjs +661 -0
- package/esm2022/dynamic-form/dynamic-form/components/lookup/types/default-filter.mjs +2 -0
- package/esm2022/dynamic-form/dynamic-form/components/lookup/types/label-options.mjs +2 -0
- package/esm2022/dynamic-form/dynamic-form/components/structure/base-structure-component.mjs +2 -0
- package/esm2022/dynamic-form/dynamic-form/components/structure/fieldset/fieldset.component.mjs +17 -0
- package/esm2022/dynamic-form/dynamic-form/components/structure/section/section.component.mjs +23 -0
- package/esm2022/dynamic-form/dynamic-form/configurations/registry.mjs +12 -0
- package/esm2022/dynamic-form/dynamic-form/configurations/structure/fieldset.mjs +2 -0
- package/esm2022/dynamic-form/dynamic-form/configurations/structure/row.mjs +2 -0
- package/esm2022/dynamic-form/dynamic-form/configurations/structure/section.mjs +2 -0
- package/esm2022/dynamic-form/dynamic-form/configurations/structure/structure.mjs +2 -0
- package/esm2022/dynamic-form/dynamic-form/dynamic-form.component.mjs +37 -0
- package/esm2022/dynamic-form/dynamic-form/dynamic-form.directive.mjs +74 -0
- package/esm2022/dynamic-form/dynamic-form/dynamic-form.mjs +81 -0
- package/esm2022/dynamic-form/dynamic-form/dynamic-form.module.mjs +283 -0
- package/esm2022/dynamic-form/dynamic-form/form-field/addon-config.mjs +2 -0
- package/esm2022/dynamic-form/dynamic-form/form-field/configurations/field-size.mjs +19 -0
- package/esm2022/dynamic-form/dynamic-form/form-field/configurations/fields/autocomplete-field.mjs +2 -0
- package/esm2022/dynamic-form/dynamic-form/form-field/configurations/fields/bignumber-field.mjs +2 -0
- package/esm2022/dynamic-form/dynamic-form/form-field/configurations/fields/blob-field.mjs +2 -0
- package/esm2022/dynamic-form/dynamic-form/form-field/configurations/fields/boolean-field.mjs +2 -0
- package/esm2022/dynamic-form/dynamic-form/form-field/configurations/fields/boolean-switch-field.mjs +2 -0
- package/esm2022/dynamic-form/dynamic-form/form-field/configurations/fields/button-field.mjs +2 -0
- package/esm2022/dynamic-form/dynamic-form/form-field/configurations/fields/calendar-field.mjs +2 -0
- package/esm2022/dynamic-form/dynamic-form/form-field/configurations/fields/checkbox-field.mjs +2 -0
- package/esm2022/dynamic-form/dynamic-form/form-field/configurations/fields/chips-field.mjs +2 -0
- package/esm2022/dynamic-form/dynamic-form/form-field/configurations/fields/country-phone-picker-field.mjs +2 -0
- package/esm2022/dynamic-form/dynamic-form/form-field/configurations/fields/currency-field.mjs +2 -0
- package/esm2022/dynamic-form/dynamic-form/form-field/configurations/fields/field.mjs +2 -0
- package/esm2022/dynamic-form/dynamic-form/form-field/configurations/fields/lookup-field.mjs +2 -0
- package/esm2022/dynamic-form/dynamic-form/form-field/configurations/fields/number-field.mjs +2 -0
- package/esm2022/dynamic-form/dynamic-form/form-field/configurations/fields/password-field.mjs +2 -0
- package/esm2022/dynamic-form/dynamic-form/form-field/configurations/fields/profile-picture.mjs +2 -0
- package/esm2022/dynamic-form/dynamic-form/form-field/configurations/fields/radio-button-field.mjs +9 -0
- package/esm2022/dynamic-form/dynamic-form/form-field/configurations/fields/select-field.mjs +2 -0
- package/esm2022/dynamic-form/dynamic-form/form-field/configurations/fields/slider-field.mjs +2 -0
- package/esm2022/dynamic-form/dynamic-form/form-field/configurations/fields/star-rating-field.mjs +2 -0
- package/esm2022/dynamic-form/dynamic-form/form-field/configurations/fields/text-area-field.mjs +2 -0
- package/esm2022/dynamic-form/dynamic-form/form-field/configurations/fields/text-area-ia-field.mjs +2 -0
- package/esm2022/dynamic-form/dynamic-form/form-field/configurations/fields/text-field.mjs +2 -0
- package/esm2022/dynamic-form/dynamic-form/form-field/fields/autocomplete/autocomplete-field.component.mjs +41 -0
- package/esm2022/dynamic-form/dynamic-form/form-field/fields/base-field-component.mjs +2 -0
- package/esm2022/dynamic-form/dynamic-form/form-field/fields/bignumber/bignumber-field.component.mjs +119 -0
- package/esm2022/dynamic-form/dynamic-form/form-field/fields/boolean/boolean-radio-field/boolean-field.component.mjs +21 -0
- package/esm2022/dynamic-form/dynamic-form/form-field/fields/boolean/boolean-switch-field/boolean-switch-field.component.mjs +17 -0
- package/esm2022/dynamic-form/dynamic-form/form-field/fields/button-field/button-field.component.mjs +28 -0
- package/esm2022/dynamic-form/dynamic-form/form-field/fields/calendar/calendar-field.component.mjs +123 -0
- package/esm2022/dynamic-form/dynamic-form/form-field/fields/checkbox/checkbox-field.component.mjs +15 -0
- package/esm2022/dynamic-form/dynamic-form/form-field/fields/chips/chips-field.component.mjs +53 -0
- package/esm2022/dynamic-form/dynamic-form/form-field/fields/country-phone-picker/country-phone-picker-field.component.mjs +23 -0
- package/esm2022/dynamic-form/dynamic-form/form-field/fields/currency/currency-field.component.mjs +99 -0
- package/esm2022/dynamic-form/dynamic-form/form-field/fields/file-upload/file-upload-field.component.mjs +47 -0
- package/esm2022/dynamic-form/dynamic-form/form-field/fields/lookup/lookup-field.component.mjs +40 -0
- package/esm2022/dynamic-form/dynamic-form/form-field/fields/number/number-field.component.mjs +114 -0
- package/esm2022/dynamic-form/dynamic-form/form-field/fields/password/password-field.component.mjs +73 -0
- package/esm2022/dynamic-form/dynamic-form/form-field/fields/profile-picture/profile-picture-field.component.mjs +16 -0
- package/esm2022/dynamic-form/dynamic-form/form-field/fields/radio-button/radio-button-field.component.mjs +49 -0
- package/esm2022/dynamic-form/dynamic-form/form-field/fields/select/select-field.component.mjs +19 -0
- package/esm2022/dynamic-form/dynamic-form/form-field/fields/slider/slider-field.component.mjs +113 -0
- package/esm2022/dynamic-form/dynamic-form/form-field/fields/star-rating/star-rating-field.component.mjs +21 -0
- package/esm2022/dynamic-form/dynamic-form/form-field/fields/text/text-field.component.mjs +79 -0
- package/esm2022/dynamic-form/dynamic-form/form-field/fields/text-area/text-area-field.component.mjs +34 -0
- package/esm2022/dynamic-form/dynamic-form/form-field/fields/text-area-ia/text-area-ia-field.component.mjs +27 -0
- package/esm2022/dynamic-form/dynamic-form/services/form-field-utils.service.mjs +39 -0
- package/esm2022/dynamic-form/public-api.mjs +61 -44
- package/esm2022/dynamic-form/seniorsistemas-angular-components-dynamic-form.mjs +1 -1
- package/esm2022/dynamic-form/src/optional-fields/editor/editor-field/editor-field.component.mjs +18 -0
- package/esm2022/dynamic-form/src/optional-fields/editor/editor-field.mjs +2 -0
- package/esm2022/dynamic-form/src/optional-fields/editor/public-api.mjs +4 -0
- package/esm2022/dynamic-form/src/optional-fields/editor/seniorsistemas-angular-components-dynamic-form-src-optional-fields-editor.mjs +5 -0
- package/esm2022/file-upload/lib/file-upload/file-upload.component.mjs +5 -5
- package/esm2022/inline-edit/lib/inline-edit/components/fields/inline-edit-text-area-ia/inline-edit-text-area-ia.component.mjs +1 -1
- package/esm2022/select/lib/select/select.component.mjs +3 -3
- package/esm2022/table/lib/table/table-column/models/dynamic-editable-grid.interface.mjs +1 -1
- package/esm2022/text-area-ia/lib/text-area-ia/text-area-ia.component.mjs +6 -6
- package/esm2022/tiered-menu/lib/tiered-menu/components/tiered-menu/tiered-menu.component.mjs +3 -3
- package/fesm2022/seniorsistemas-angular-components-autocomplete.mjs +2 -2
- package/fesm2022/seniorsistemas-angular-components-autocomplete.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-bignumber-input.mjs +7 -5
- package/fesm2022/seniorsistemas-angular-components-bignumber-input.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-custom-fields.mjs +95 -71
- package/fesm2022/seniorsistemas-angular-components-custom-fields.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-dynamic-form-src-optional-fields-editor.mjs +25 -0
- package/fesm2022/seniorsistemas-angular-components-dynamic-form-src-optional-fields-editor.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-dynamic-form.mjs +871 -2437
- package/fesm2022/seniorsistemas-angular-components-dynamic-form.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-file-upload.mjs +4 -4
- package/fesm2022/seniorsistemas-angular-components-file-upload.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-inline-edit.mjs +1 -1
- package/fesm2022/seniorsistemas-angular-components-inline-edit.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-select.mjs +2 -2
- package/fesm2022/seniorsistemas-angular-components-select.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-text-area-ia.mjs +5 -5
- package/fesm2022/seniorsistemas-angular-components-text-area-ia.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-tiered-menu.mjs +2 -2
- package/fesm2022/seniorsistemas-angular-components-tiered-menu.mjs.map +1 -1
- package/file-upload/lib/file-upload/file-upload.component.d.ts +2 -2
- package/package.json +12 -18
- package/table/lib/table/table-column/models/dynamic-editable-grid.interface.d.ts +2 -2
- package/text-area-ia/lib/text-area-ia/text-area-ia.component.d.ts +2 -1
- package/dynamic-form/lib/dynamic-form/components/grid/row/row.component.d.ts +0 -15
- package/dynamic-form/lib/dynamic-form/components/structure/base-structure-component.d.ts +0 -8
- package/dynamic-form/lib/dynamic-form/components/structure/fieldset/fieldset.component.d.ts +0 -12
- package/dynamic-form/lib/dynamic-form/components/structure/section/section.component.d.ts +0 -14
- package/dynamic-form/lib/dynamic-form/configurations/dynamic-config.d.ts +0 -3
- package/dynamic-form/lib/dynamic-form/configurations/dynamic-type.d.ts +0 -24
- package/dynamic-form/lib/dynamic-form/configurations/grid/grid.d.ts +0 -14
- package/dynamic-form/lib/dynamic-form/configurations/grid/row.d.ts +0 -8
- package/dynamic-form/lib/dynamic-form/configurations/grid-type.d.ts +0 -3
- package/dynamic-form/lib/dynamic-form/configurations/structure/fieldset.d.ts +0 -10
- package/dynamic-form/lib/dynamic-form/configurations/structure/structure.d.ts +0 -14
- package/dynamic-form/lib/dynamic-form/configurations/structure-type.d.ts +0 -4
- package/dynamic-form/lib/dynamic-form/dynamic-form.component.d.ts +0 -19
- package/dynamic-form/lib/dynamic-form/dynamic-form.d.ts +0 -57
- package/dynamic-form/lib/dynamic-form/dynamic-form.module.d.ts +0 -83
- package/dynamic-form/lib/dynamic-form/form-field/configurations/field-size.d.ts +0 -7
- package/dynamic-form/lib/dynamic-form/form-field/configurations/field-type.d.ts +0 -32
- package/dynamic-form/lib/dynamic-form/form-field/configurations/fields/autocomplete-field.d.ts +0 -30
- package/dynamic-form/lib/dynamic-form/form-field/configurations/fields/bignumber-field.d.ts +0 -38
- package/dynamic-form/lib/dynamic-form/form-field/configurations/fields/blob-field.d.ts +0 -43
- package/dynamic-form/lib/dynamic-form/form-field/configurations/fields/boolean-field.d.ts +0 -29
- package/dynamic-form/lib/dynamic-form/form-field/configurations/fields/boolean-switch-field.d.ts +0 -11
- package/dynamic-form/lib/dynamic-form/form-field/configurations/fields/button-field.d.ts +0 -34
- package/dynamic-form/lib/dynamic-form/form-field/configurations/fields/calendar-field.d.ts +0 -45
- package/dynamic-form/lib/dynamic-form/form-field/configurations/fields/checkbox-field.d.ts +0 -9
- package/dynamic-form/lib/dynamic-form/form-field/configurations/fields/chips-field.d.ts +0 -24
- package/dynamic-form/lib/dynamic-form/form-field/configurations/fields/currency-field.d.ts +0 -9
- package/dynamic-form/lib/dynamic-form/form-field/configurations/fields/decimal-field.d.ts +0 -14
- package/dynamic-form/lib/dynamic-form/form-field/configurations/fields/editor-field.d.ts +0 -18
- package/dynamic-form/lib/dynamic-form/form-field/configurations/fields/field.d.ts +0 -96
- package/dynamic-form/lib/dynamic-form/form-field/configurations/fields/lookup-field.d.ts +0 -97
- package/dynamic-form/lib/dynamic-form/form-field/configurations/fields/profile-picture.d.ts +0 -35
- package/dynamic-form/lib/dynamic-form/form-field/configurations/fields/select-field.d.ts +0 -41
- package/dynamic-form/lib/dynamic-form/form-field/configurations/fields/slider-field.d.ts +0 -32
- package/dynamic-form/lib/dynamic-form/form-field/configurations/fields/star-rating-field.d.ts +0 -17
- package/dynamic-form/lib/dynamic-form/form-field/configurations/fields/text-area-field.d.ts +0 -24
- package/dynamic-form/lib/dynamic-form/form-field/configurations/fields/text-area-ia-field.d.ts +0 -26
- package/dynamic-form/lib/dynamic-form/form-field/configurations/fields/text-field.d.ts +0 -41
- package/dynamic-form/lib/dynamic-form/form-field/fields/base-field-component.d.ts +0 -32
- package/dynamic-form/lib/dynamic-form/form-field/fields/boolean/boolean-switch-field/boolean-switch-field.component.d.ts +0 -10
- package/dynamic-form/lib/dynamic-form/form-field/fields/button-field/button-field.component.d.ts +0 -10
- package/dynamic-form/lib/dynamic-form/form-field/fields/checkbox/checkbox-field.component.d.ts +0 -10
- package/dynamic-form/lib/dynamic-form/form-field/fields/editor/editor-field.component.d.ts +0 -10
- package/dynamic-form/lib/dynamic-form/form-field/fields/lookup/lookup-field.component.d.ts +0 -9
- package/dynamic-form/lib/dynamic-form/form-field/fields/profile-picture/profile-picture-field.component.d.ts +0 -9
- package/dynamic-form/lib/dynamic-form/form-field/fields/select/select-field.component.d.ts +0 -10
- package/dynamic-form/lib/dynamic-form/form-field/fields/slider/slider-field.component.d.ts +0 -25
- package/dynamic-form/lib/dynamic-form/form-field/fields/star-rating/star-rating-field.component.d.ts +0 -10
- package/dynamic-form/lib/dynamic-form/form-field/fields/text-area/text-area-field.component.d.ts +0 -14
- package/dynamic-form/lib/dynamic-form/form-field/fields/text-area-ia/text-area-ia-field.component.d.ts +0 -9
- package/dynamic-form/lib/dynamic-form/form-field/form-field.d.ts +0 -192
- package/dynamic-form/lib/dynamic-form/services/dynamic-form-cache.d.ts +0 -12
- package/esm2022/dynamic-form/lib/dynamic-form/components/field-label/field-label.component.mjs +0 -20
- package/esm2022/dynamic-form/lib/dynamic-form/components/grid/row/row.component.mjs +0 -41
- package/esm2022/dynamic-form/lib/dynamic-form/components/lookup/lookup.component.mjs +0 -642
- package/esm2022/dynamic-form/lib/dynamic-form/components/lookup/types/default-filter.mjs +0 -2
- package/esm2022/dynamic-form/lib/dynamic-form/components/lookup/types/label-options.mjs +0 -2
- package/esm2022/dynamic-form/lib/dynamic-form/components/structure/base-structure-component.mjs +0 -2
- package/esm2022/dynamic-form/lib/dynamic-form/components/structure/fieldset/fieldset.component.mjs +0 -27
- package/esm2022/dynamic-form/lib/dynamic-form/components/structure/section/section.component.mjs +0 -33
- package/esm2022/dynamic-form/lib/dynamic-form/configurations/dynamic-config.mjs +0 -71
- package/esm2022/dynamic-form/lib/dynamic-form/configurations/dynamic-type.mjs +0 -26
- package/esm2022/dynamic-form/lib/dynamic-form/configurations/grid/grid.mjs +0 -14
- package/esm2022/dynamic-form/lib/dynamic-form/configurations/grid/row.mjs +0 -10
- package/esm2022/dynamic-form/lib/dynamic-form/configurations/grid-type.mjs +0 -5
- package/esm2022/dynamic-form/lib/dynamic-form/configurations/structure/fieldset.mjs +0 -10
- package/esm2022/dynamic-form/lib/dynamic-form/configurations/structure/section.mjs +0 -31
- package/esm2022/dynamic-form/lib/dynamic-form/configurations/structure/structure.mjs +0 -9
- package/esm2022/dynamic-form/lib/dynamic-form/configurations/structure-type.mjs +0 -6
- package/esm2022/dynamic-form/lib/dynamic-form/dynamic-form.component.mjs +0 -41
- package/esm2022/dynamic-form/lib/dynamic-form/dynamic-form.directive.mjs +0 -107
- package/esm2022/dynamic-form/lib/dynamic-form/dynamic-form.mjs +0 -189
- package/esm2022/dynamic-form/lib/dynamic-form/dynamic-form.module.mjs +0 -293
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/addon-config.mjs +0 -2
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/configurations/field-size.mjs +0 -13
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/configurations/field-type.mjs +0 -34
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/configurations/fields/autocomplete-field.mjs +0 -24
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/configurations/fields/bignumber-field.mjs +0 -37
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/configurations/fields/blob-field.mjs +0 -31
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/configurations/fields/boolean-field.mjs +0 -30
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/configurations/fields/boolean-switch-field.mjs +0 -15
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/configurations/fields/button-field.mjs +0 -47
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/configurations/fields/calendar-field.mjs +0 -56
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/configurations/fields/checkbox-field.mjs +0 -9
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/configurations/fields/chips-field.mjs +0 -25
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/configurations/fields/country-phone-picker-field.mjs +0 -15
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/configurations/fields/currency-field.mjs +0 -14
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/configurations/fields/decimal-field.mjs +0 -16
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/configurations/fields/editor-field.mjs +0 -15
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/configurations/fields/field.mjs +0 -64
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/configurations/fields/lookup-field.mjs +0 -66
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/configurations/fields/number-field.mjs +0 -38
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/configurations/fields/password-field.mjs +0 -33
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/configurations/fields/profile-picture.mjs +0 -35
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/configurations/fields/radio-button-field.mjs +0 -27
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/configurations/fields/select-field.mjs +0 -43
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/configurations/fields/slider-field.mjs +0 -30
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/configurations/fields/star-rating-field.mjs +0 -17
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/configurations/fields/text-area-field.mjs +0 -30
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/configurations/fields/text-area-ia-field.mjs +0 -32
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/configurations/fields/text-field.mjs +0 -38
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/fields/autocomplete/autocomplete-field.component.mjs +0 -37
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/fields/base-field-component.mjs +0 -22
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/fields/bignumber/bignumber-field.component.mjs +0 -124
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/fields/boolean/boolean-radio-field/boolean-field.component.mjs +0 -27
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/fields/boolean/boolean-switch-field/boolean-switch-field.component.mjs +0 -23
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/fields/button-field/button-field.component.mjs +0 -31
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/fields/calendar/calendar-field.component.mjs +0 -118
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/fields/checkbox/checkbox-field.component.mjs +0 -21
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/fields/chips/chips-field.component.mjs +0 -59
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/fields/country-phone-picker/country-phone-picker-field.component.mjs +0 -29
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/fields/currency/currency-field.component.mjs +0 -100
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/fields/editor/editor-field.component.mjs +0 -23
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/fields/file-upload/file-upload-field.component.mjs +0 -56
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/fields/lookup/lookup-field.component.mjs +0 -23
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/fields/number/number-field.component.mjs +0 -121
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/fields/password/password-field.component.mjs +0 -75
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/fields/profile-picture/profile-picture-field.component.mjs +0 -22
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/fields/radio-button/radio-button-field.component.mjs +0 -52
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/fields/select/select-field.component.mjs +0 -24
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/fields/slider/slider-field.component.mjs +0 -103
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/fields/star-rating/star-rating-field.component.mjs +0 -25
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/fields/text/text-field.component.mjs +0 -88
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/fields/text-area/text-area-field.component.mjs +0 -29
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/fields/text-area-ia/text-area-ia-field.component.mjs +0 -22
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/form-field.mjs +0 -243
- package/esm2022/dynamic-form/lib/dynamic-form/services/dynamic-form-cache.mjs +0 -150
- package/esm2022/form-dynamic/components/form-dynamic/form-dynamic.component.mjs +0 -53
- package/esm2022/form-dynamic/core/registry.mjs +0 -10
- package/esm2022/form-dynamic/fields-basic/boolean-field/boolean-field.component.mjs +0 -15
- package/esm2022/form-dynamic/fields-basic/string-field/string-field.component.mjs +0 -15
- package/esm2022/form-dynamic/optional-fields/editor/editor-field/editor-field.component.mjs +0 -30
- package/esm2022/form-dynamic/optional-fields/editor/editor-types.mjs +0 -2
- package/esm2022/form-dynamic/optional-fields/editor/public-api.mjs +0 -6
- package/esm2022/form-dynamic/optional-fields/editor/seniorsistemas-angular-components-form-dynamic-optional-fields-editor.mjs +0 -5
- package/esm2022/form-dynamic/public-api.mjs +0 -10
- package/esm2022/form-dynamic/schemas/field-dynamic.mjs +0 -2
- package/esm2022/form-dynamic/schemas/form-dynamic-schema.mjs +0 -2
- package/esm2022/form-dynamic/seniorsistemas-angular-components-form-dynamic.mjs +0 -5
- package/fesm2022/seniorsistemas-angular-components-form-dynamic-optional-fields-editor.mjs +0 -40
- package/fesm2022/seniorsistemas-angular-components-form-dynamic-optional-fields-editor.mjs.map +0 -1
- package/fesm2022/seniorsistemas-angular-components-form-dynamic.mjs +0 -94
- package/fesm2022/seniorsistemas-angular-components-form-dynamic.mjs.map +0 -1
- package/form-dynamic/components/form-dynamic/form-dynamic.component.d.ts +0 -15
- package/form-dynamic/core/registry.d.ts +0 -7
- package/form-dynamic/fields-basic/boolean-field/boolean-field.component.d.ts +0 -9
- package/form-dynamic/fields-basic/string-field/string-field.component.d.ts +0 -9
- package/form-dynamic/index.d.ts +0 -5
- package/form-dynamic/optional-fields/editor/editor-field/editor-field.component.d.ts +0 -15
- package/form-dynamic/optional-fields/editor/editor-types.d.ts +0 -8
- package/form-dynamic/optional-fields/editor/index.d.ts +0 -5
- package/form-dynamic/optional-fields/editor/public-api.d.ts +0 -8
- package/form-dynamic/public-api.d.ts +0 -4
- package/form-dynamic/schemas/field-dynamic.d.ts +0 -20
- package/form-dynamic/schemas/form-dynamic-schema.d.ts +0 -4
- /package/dynamic-form/{lib/dynamic-form → dynamic-form}/components/lookup/types/default-filter.d.ts +0 -0
- /package/dynamic-form/{lib/dynamic-form → dynamic-form}/components/lookup/types/label-options.d.ts +0 -0
- /package/dynamic-form/{lib/dynamic-form → dynamic-form}/form-field/addon-config.d.ts +0 -0
|
@@ -18,7 +18,7 @@ export declare class BignumberInputDirective extends CurrencyMaskDirective imple
|
|
|
18
18
|
scale: number;
|
|
19
19
|
decimalSeparator?: string;
|
|
20
20
|
thousandsSeparator?: string;
|
|
21
|
-
alignTo:
|
|
21
|
+
alignTo: 'left' | 'right';
|
|
22
22
|
allowNegative: boolean;
|
|
23
23
|
placeholder?: string;
|
|
24
24
|
maxLength?: number;
|
|
@@ -3,9 +3,10 @@ import { ControlContainer, ControlValueAccessor, FormControl, FormGroup, Validat
|
|
|
3
3
|
import { DomSanitizer } from '@angular/platform-browser';
|
|
4
4
|
import { TranslateService } from '@ngx-translate/core';
|
|
5
5
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
6
|
-
import { DynamicType,
|
|
6
|
+
import { DynamicStructure, DynamicType, StructureType } from '@seniorsistemas/angular-components/dynamic-form';
|
|
7
7
|
import { LocaleService } from '@seniorsistemas/angular-components/locale';
|
|
8
8
|
import { CustomFieldsService } from './custom-fields.service';
|
|
9
|
+
import { CustomFieldsResponse } from './models';
|
|
9
10
|
import * as i0 from "@angular/core";
|
|
10
11
|
export declare class CustomFieldsComponent implements OnInit, OnDestroy, ControlValueAccessor, Validator, OnChanges, AfterViewInit {
|
|
11
12
|
private readonly customFieldsService;
|
|
@@ -17,7 +18,7 @@ export declare class CustomFieldsComponent implements OnInit, OnDestroy, Control
|
|
|
17
18
|
service: string;
|
|
18
19
|
entity: string;
|
|
19
20
|
invalidErrorLabel: string;
|
|
20
|
-
entityObject
|
|
21
|
+
entityObject?: CustomFieldsResponse;
|
|
21
22
|
customFieldsEndpoint: string;
|
|
22
23
|
fileLocationEndpoint: string;
|
|
23
24
|
requestAccessEndpoint: string;
|
|
@@ -26,9 +27,10 @@ export declare class CustomFieldsComponent implements OnInit, OnDestroy, Control
|
|
|
26
27
|
showFileUploadDate: boolean;
|
|
27
28
|
ready$: BehaviorSubject<boolean> | null;
|
|
28
29
|
disableFields: boolean | undefined;
|
|
29
|
-
protected rowType:
|
|
30
|
-
fields:
|
|
30
|
+
protected rowType: StructureType;
|
|
31
|
+
fields: DynamicType[];
|
|
31
32
|
formGroup: FormGroup;
|
|
33
|
+
protected dynamicStructure: DynamicStructure[];
|
|
32
34
|
private ready;
|
|
33
35
|
private onChange;
|
|
34
36
|
private onTouched;
|
|
@@ -49,7 +51,7 @@ export declare class CustomFieldsComponent implements OnInit, OnDestroy, Control
|
|
|
49
51
|
registerOnTouched(fn: Function): void;
|
|
50
52
|
writeValue(value: any): void;
|
|
51
53
|
setDisabledState(isDisabled: boolean): void;
|
|
52
|
-
getCustomFields(): Observable<
|
|
54
|
+
getCustomFields(): Observable<CustomFieldsResponse>;
|
|
53
55
|
validate(): any;
|
|
54
56
|
cleanFields(): void;
|
|
55
57
|
private enableOrDisableFields;
|
|
@@ -63,9 +65,8 @@ export declare class CustomFieldsComponent implements OnInit, OnDestroy, Control
|
|
|
63
65
|
*/
|
|
64
66
|
private createFilesIfSetFormValuesAfterInit;
|
|
65
67
|
private parseFieldsValues;
|
|
66
|
-
private
|
|
67
|
-
private
|
|
68
|
-
private getEnumParameters;
|
|
68
|
+
private getDynamicType;
|
|
69
|
+
private getSelectParameters;
|
|
69
70
|
private getBooleanParameters;
|
|
70
71
|
private getBlobParameters;
|
|
71
72
|
/**
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { HttpClient } from
|
|
2
|
-
import { Observable } from
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { CustomFieldsResponse } from './models';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class CustomFieldsService {
|
|
5
6
|
private http;
|
|
6
7
|
constructor(http: HttpClient);
|
|
7
|
-
getCustomFields(domain: string, service: string, entity: string, endpoint: string): Observable<
|
|
8
|
+
getCustomFields(domain: string, service: string, entity: string, endpoint: string): Observable<CustomFieldsResponse>;
|
|
8
9
|
getFileLocationUrl(dto: {
|
|
9
10
|
domain: string;
|
|
10
11
|
service: string;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { FieldType } from '@seniorsistemas/angular-components/dynamic-form';
|
|
1
2
|
export declare enum CustomFieldType {
|
|
2
3
|
String = "String",
|
|
3
4
|
Boolean = "Boolean",
|
|
@@ -13,3 +14,35 @@ export declare enum CustomFieldType {
|
|
|
13
14
|
Any = "Any",
|
|
14
15
|
Enum = "Enum"
|
|
15
16
|
}
|
|
17
|
+
export type CustomFieldsTypeAPI = 'Enumeration' | keyof typeof CustomFieldType;
|
|
18
|
+
export declare const apiTypesToDynamicFormType: (type: CustomFieldsTypeAPI) => FieldType;
|
|
19
|
+
export interface FieldFromAPI {
|
|
20
|
+
id: string;
|
|
21
|
+
type: CustomFieldsTypeAPI;
|
|
22
|
+
customizable: boolean;
|
|
23
|
+
customization: FieldCustomization;
|
|
24
|
+
}
|
|
25
|
+
export interface FieldCustomization {
|
|
26
|
+
active: boolean;
|
|
27
|
+
label: string;
|
|
28
|
+
tooltip: string;
|
|
29
|
+
mask?: string;
|
|
30
|
+
validationRegex?: string;
|
|
31
|
+
customEnumeration?: CustomEnumeration;
|
|
32
|
+
infoSign?: string;
|
|
33
|
+
mandatory?: boolean;
|
|
34
|
+
}
|
|
35
|
+
export interface CustomEnumeration {
|
|
36
|
+
multiple?: boolean;
|
|
37
|
+
values: EnumValue[];
|
|
38
|
+
}
|
|
39
|
+
export interface EnumValue {
|
|
40
|
+
key: string;
|
|
41
|
+
value: string;
|
|
42
|
+
}
|
|
43
|
+
export interface CustomFieldsResponse {
|
|
44
|
+
entity_: {
|
|
45
|
+
active: boolean;
|
|
46
|
+
fields: FieldFromAPI[];
|
|
47
|
+
};
|
|
48
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { apiTypesToDynamicFormType, CustomFieldType, type CustomFieldsResponse, type FieldFromAPI, type CustomFieldsTypeAPI, } from './custom-field-type';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
export * from './lib/custom-fields/custom-fields.module';
|
|
2
1
|
export * from './lib/custom-fields/custom-fields.component';
|
|
2
|
+
export * from './lib/custom-fields/custom-fields.module';
|
|
3
3
|
export * from './lib/custom-fields/custom-fields.service';
|
|
4
|
+
export * from './lib/custom-fields/models/index';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FieldConfig } from '../../form-field/configurations/fields/field';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class FieldLabelComponent {
|
|
4
|
-
field:
|
|
4
|
+
field: FieldConfig;
|
|
5
5
|
fieldContainerRef: HTMLElement | null | undefined;
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<FieldLabelComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FieldLabelComponent, "s-field-label", never, { "field": { "alias": "field"; "required": true; }; "fieldContainerRef": { "alias": "fieldContainerRef"; "required": false; }; }, {}, never, never,
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FieldLabelComponent, "s-field-label", never, { "field": { "alias": "field"; "required": true; }; "fieldContainerRef": { "alias": "fieldContainerRef"; "required": false; }; }, {}, never, never, true, never>;
|
|
8
8
|
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { FormGroup } from '@angular/forms';
|
|
2
|
+
import { ExpandedDynamicStructure, ExpandedDynamicType, RowConfig, RowType } from '../../../configurations/structure/row';
|
|
3
|
+
import { FieldSizeConfig } from '../../../form-field/configurations/field-size';
|
|
4
|
+
import { DynamicType } from '../../../form-field/configurations/fields/field';
|
|
5
|
+
import { FormFieldUtilsService } from '../../../services/form-field-utils.service';
|
|
6
|
+
import { BaseStructureComponentConfig } from '../../structure/base-structure-component';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class RowComponent implements BaseStructureComponentConfig {
|
|
9
|
+
id: import("@angular/core").InputSignal<string | undefined>;
|
|
10
|
+
config: import("@angular/core").InputSignal<RowConfig>;
|
|
11
|
+
group: import("@angular/core").InputSignal<FormGroup<any>>;
|
|
12
|
+
errorMessages: import("@angular/core").InputSignal<any>;
|
|
13
|
+
protected readonly formUtils: FormFieldUtilsService;
|
|
14
|
+
protected getErrorMessages(errorMessages: any): any;
|
|
15
|
+
protected isFunction(value: any): boolean;
|
|
16
|
+
protected fieldIsExpandedDynamicType(field: ExpandedDynamicType | ExpandedDynamicStructure | DynamicType): field is ExpandedDynamicType;
|
|
17
|
+
protected fieldGridClass(field: RowType & {
|
|
18
|
+
size?: FieldSizeConfig;
|
|
19
|
+
}): string[];
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RowComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RowComponent, "s-row", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "config": { "alias": "config"; "required": true; "isSignal": true; }; "group": { "alias": "group"; "required": true; "isSignal": true; }; "errorMessages": { "alias": "errorMessages"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
22
|
+
}
|
package/dynamic-form/{lib/dynamic-form → dynamic-form}/components/lookup/lookup.component.d.ts
RENAMED
|
@@ -8,9 +8,14 @@ import { AutoComplete, AutoCompleteCompleteEvent } from 'primeng/autocomplete';
|
|
|
8
8
|
import { Table } from 'primeng/table';
|
|
9
9
|
import { DefaultFilter } from './types/default-filter';
|
|
10
10
|
import { LabelOptions } from './types/label-options';
|
|
11
|
-
import { BadgeComponent } from '@seniorsistemas/angular-components/badge';
|
|
12
11
|
import { LoadingStateIndicators } from '@seniorsistemas/angular-components/loading-state';
|
|
13
|
-
import {
|
|
12
|
+
import { CurrencyFieldConfig } from '../../form-field/configurations/fields/currency-field';
|
|
13
|
+
import { DynamicType } from '../../form-field/configurations/fields/field';
|
|
14
|
+
import { SelectFieldConfig } from '../../form-field/configurations/fields/select-field';
|
|
15
|
+
import { BignumberFieldConfig } from '../../form-field/configurations/fields/bignumber-field';
|
|
16
|
+
import { NumberFieldConfig } from '../../form-field/configurations/fields/number-field';
|
|
17
|
+
import { TextFieldConfig } from '../../form-field/configurations/fields/text-field';
|
|
18
|
+
import { DynamicStructure } from '../../configurations/structure/structure';
|
|
14
19
|
import * as i0 from "@angular/core";
|
|
15
20
|
export declare class LookupComponent implements ControlValueAccessor, OnChanges, OnInit, OnDestroy {
|
|
16
21
|
private readonly hotkeysService;
|
|
@@ -35,8 +40,8 @@ export declare class LookupComponent implements ControlValueAccessor, OnChanges,
|
|
|
35
40
|
searchEmptyDescription?: string;
|
|
36
41
|
searchGridData: any[];
|
|
37
42
|
searchTotalRecords: number;
|
|
38
|
-
searchFields:
|
|
39
|
-
searchGridFields:
|
|
43
|
+
searchFields: DynamicType[];
|
|
44
|
+
searchGridFields: DynamicType[];
|
|
40
45
|
multiSortMeta: SortMeta[];
|
|
41
46
|
placeholder?: string;
|
|
42
47
|
sortableColumnsDisabled: string[];
|
|
@@ -69,6 +74,7 @@ export declare class LookupComponent implements ControlValueAccessor, OnChanges,
|
|
|
69
74
|
selected: any[];
|
|
70
75
|
formGroupDialog: FormGroup<any>;
|
|
71
76
|
transitionOptions: string;
|
|
77
|
+
protected searchFieldsDynamicStructure: DynamicStructure[];
|
|
72
78
|
private onChange?;
|
|
73
79
|
private onTouched?;
|
|
74
80
|
private originalFormValues;
|
|
@@ -100,32 +106,10 @@ export declare class LookupComponent implements ControlValueAccessor, OnChanges,
|
|
|
100
106
|
writeValue(value: any): void;
|
|
101
107
|
setDisabledState(disabled: boolean): void;
|
|
102
108
|
getFieldValue(obj: any, path: string): any;
|
|
103
|
-
getBadgeFromValue(value: unknown,
|
|
104
|
-
|
|
105
|
-
value: unknown;
|
|
106
|
-
badge?: {
|
|
107
|
-
type?: BadgeComponent['type'];
|
|
108
|
-
color?: BadgeComponent['color'];
|
|
109
|
-
iconClass?: BadgeComponent['iconClass'];
|
|
110
|
-
iconPosition?: BadgeComponent['iconPosition'];
|
|
111
|
-
};
|
|
112
|
-
}[]): {
|
|
113
|
-
type?: BadgeComponent["type"];
|
|
114
|
-
color?: BadgeComponent["color"];
|
|
115
|
-
iconClass?: BadgeComponent["iconClass"];
|
|
116
|
-
iconPosition?: BadgeComponent["iconPosition"];
|
|
117
|
-
} | undefined;
|
|
118
|
-
getLabelForValue(value: unknown, options: {
|
|
119
|
-
label: string;
|
|
120
|
-
value: unknown;
|
|
121
|
-
badge?: {
|
|
122
|
-
type?: BadgeComponent['type'];
|
|
123
|
-
color?: BadgeComponent['color'];
|
|
124
|
-
iconClass?: BadgeComponent['iconClass'];
|
|
125
|
-
iconPosition?: BadgeComponent['iconPosition'];
|
|
126
|
-
};
|
|
127
|
-
}[]): string;
|
|
109
|
+
getBadgeFromValue(value: unknown, field: SelectFieldConfig): Partial<Pick<import("dist/badge/public-api").BadgeComponent, "type" | "iconClass" | "color" | "iconPosition">> | undefined;
|
|
110
|
+
getLabelForValue(value: unknown, field: SelectFieldConfig): string;
|
|
128
111
|
isBooleanValue(obj: any, path: string): boolean;
|
|
112
|
+
getFieldWidth(col: any): any;
|
|
129
113
|
getBooleanLabel(obj: any, path: string, optionsLabel: BooleanOptionsLabel | undefined): string | undefined;
|
|
130
114
|
isNumber(obj: any, path: string): boolean;
|
|
131
115
|
setHotkeys(): void;
|
|
@@ -139,11 +123,12 @@ export declare class LookupComponent implements ControlValueAccessor, OnChanges,
|
|
|
139
123
|
getColWidth(label: string): string;
|
|
140
124
|
getScale(scale: any): number;
|
|
141
125
|
private isFunction;
|
|
142
|
-
getIntegerMaskConfig(col:
|
|
143
|
-
getDoubleMaskConfig(col:
|
|
144
|
-
getMoneyMaskConfig(col:
|
|
145
|
-
getNumberMaskConfig(col:
|
|
146
|
-
parseValueMaskValue(col:
|
|
126
|
+
getIntegerMaskConfig(col: BignumberFieldConfig | NumberFieldConfig): MaskConfig;
|
|
127
|
+
getDoubleMaskConfig(col: NumberFieldConfig | BignumberFieldConfig): MaskConfig;
|
|
128
|
+
getMoneyMaskConfig(col: CurrencyFieldConfig): MaskConfig;
|
|
129
|
+
getNumberMaskConfig(col: NumberFieldConfig | BignumberFieldConfig): MaskConfig;
|
|
130
|
+
parseValueMaskValue(col: DynamicType, rowData: any): any;
|
|
131
|
+
fieldHasMask(field: DynamicType): field is NumberFieldConfig | BignumberFieldConfig | TextFieldConfig;
|
|
147
132
|
onTableRowDoubleClick(rowData: any): void;
|
|
148
133
|
private _setFocusFilter;
|
|
149
134
|
private _subscribeEvents;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Signal } from '@angular/core';
|
|
2
|
+
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import { FieldsetConfig } from '../../configurations/structure/fieldset';
|
|
4
|
+
import { RowConfig } from '../../configurations/structure/row';
|
|
5
|
+
import { SectionConfig } from '../../configurations/structure/section';
|
|
6
|
+
export interface BaseStructureComponentConfig {
|
|
7
|
+
config: Signal<FieldsetConfig | SectionConfig | RowConfig>;
|
|
8
|
+
group: Signal<FormGroup>;
|
|
9
|
+
errorMessages: Signal<any>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FormGroup } from '@angular/forms';
|
|
2
|
+
import { FieldsetConfig } from '../../../configurations/structure/fieldset';
|
|
3
|
+
import { BaseStructureComponentConfig } from '../base-structure-component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class FieldsetComponent implements BaseStructureComponentConfig {
|
|
6
|
+
id: import("@angular/core").InputSignal<string | undefined>;
|
|
7
|
+
config: import("@angular/core").InputSignal<FieldsetConfig>;
|
|
8
|
+
group: import("@angular/core").InputSignal<FormGroup<any>>;
|
|
9
|
+
errorMessages: import("@angular/core").InputSignal<any>;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FieldsetComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FieldsetComponent, "ng-component", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "config": { "alias": "config"; "required": true; "isSignal": true; }; "group": { "alias": "group"; "required": true; "isSignal": true; }; "errorMessages": { "alias": "errorMessages"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { FormGroup } from '@angular/forms';
|
|
2
|
+
import { SectionConfig } from '../../../configurations/structure/section';
|
|
3
|
+
import { BaseStructureComponentConfig } from '../base-structure-component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class SectionComponent implements BaseStructureComponentConfig {
|
|
6
|
+
id: import("@angular/core").InputSignal<string | undefined>;
|
|
7
|
+
config: import("@angular/core").InputSignal<SectionConfig>;
|
|
8
|
+
group: import("@angular/core").InputSignal<FormGroup<any>>;
|
|
9
|
+
errorMessages: import("@angular/core").InputSignal<any>;
|
|
10
|
+
get flexContainer(): boolean | undefined;
|
|
11
|
+
get configs(): (import("@seniorsistemas/angular-components/dynamic-form").DynamicType | import("@seniorsistemas/angular-components/dynamic-form").DynamicStructure)[];
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SectionComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SectionComponent, "s-section", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "config": { "alias": "config"; "required": true; "isSignal": true; }; "group": { "alias": "group"; "required": true; "isSignal": true; }; "errorMessages": { "alias": "errorMessages"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Type } from '@angular/core';
|
|
2
|
+
import { FieldType } from '../form-field/configurations/fields/field';
|
|
3
|
+
import { StructureType } from './structure/structure';
|
|
4
|
+
export declare class FormDynamicRegistry {
|
|
5
|
+
private static fields;
|
|
6
|
+
static registerField(component: Type<any>, ...types: (FieldType | StructureType)[]): void;
|
|
7
|
+
static resolveField(type: FieldType | StructureType): Type<any> | undefined;
|
|
8
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { StructureConfig } from './structure';
|
|
2
|
+
export interface FieldsetConfig extends StructureConfig {
|
|
3
|
+
type: 'fieldset';
|
|
4
|
+
beforeToggle?: (event: any) => void;
|
|
5
|
+
afterToggle?: (event: any) => void;
|
|
6
|
+
}
|
|
7
|
+
declare module '../structure/structure' {
|
|
8
|
+
interface StructureTypeMap {
|
|
9
|
+
fieldset: FieldsetConfig;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
type booleanFn = () => boolean;
|
|
2
|
+
import { FieldSizeConfig } from '../../form-field/configurations/field-size';
|
|
3
|
+
import { CompleteFieldConfig, DynamicType } from '../../form-field/configurations/fields/field';
|
|
4
|
+
import { DynamicStructure } from '../structure/structure';
|
|
5
|
+
export interface RowAdditionalFields extends Pick<CompleteFieldConfig, 'visible' | 'errorMessages' | 'footer' | 'bottomTemplate'> {
|
|
6
|
+
size?: FieldSizeConfig;
|
|
7
|
+
}
|
|
8
|
+
export type ExpandedDynamicType = DynamicType & RowAdditionalFields;
|
|
9
|
+
export type ExpandedDynamicStructure = DynamicStructure & RowAdditionalFields;
|
|
10
|
+
export type RowType = ExpandedDynamicType | ExpandedDynamicStructure | DynamicType;
|
|
11
|
+
export interface RowConfig {
|
|
12
|
+
type: 'row';
|
|
13
|
+
fields: RowType[];
|
|
14
|
+
visible?: booleanFn | boolean;
|
|
15
|
+
}
|
|
16
|
+
declare module '../structure/structure' {
|
|
17
|
+
interface StructureTypeMap {
|
|
18
|
+
row: RowConfig;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
export {};
|
package/dynamic-form/{lib/dynamic-form → dynamic-form}/configurations/structure/section.d.ts
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { StructureConfig } from './structure';
|
|
2
|
+
export interface SectionConfig extends StructureConfig {
|
|
3
|
+
type: 'section';
|
|
4
4
|
/**
|
|
5
5
|
* Define if the structure is a flex container.
|
|
6
6
|
*/
|
|
7
|
-
isFlex?: boolean
|
|
7
|
+
isFlex?: boolean;
|
|
8
8
|
/**
|
|
9
9
|
* Define the justify-content property.
|
|
10
10
|
*/
|
|
@@ -13,8 +13,9 @@ export declare class Section extends Structure {
|
|
|
13
13
|
* Define the align-items property.
|
|
14
14
|
*/
|
|
15
15
|
alignItems?: 'stretch' | 'flex-start' | 'flex-end' | 'center' | 'baseline' | 'initial' | 'inherit';
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
16
|
+
}
|
|
17
|
+
declare module '../structure/structure' {
|
|
18
|
+
interface StructureTypeMap {
|
|
19
|
+
section: SectionConfig;
|
|
20
|
+
}
|
|
20
21
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { DynamicType } from '../../form-field/configurations/fields/field';
|
|
2
|
+
export interface StructureConfig {
|
|
3
|
+
type: StructureType;
|
|
4
|
+
configs: (DynamicType | DynamicStructure)[];
|
|
5
|
+
header?: string;
|
|
6
|
+
}
|
|
7
|
+
export interface StructureTypeMap {
|
|
8
|
+
}
|
|
9
|
+
export type StructureType = keyof StructureTypeMap;
|
|
10
|
+
export type DynamicStructure = StructureTypeMap[keyof StructureTypeMap];
|
|
11
|
+
export declare const STRUCTURE_TYPES_LIST: StructureType[];
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { FormGroup } from '@angular/forms';
|
|
2
|
+
import { DynamicStructure } from './configurations/structure/structure';
|
|
3
|
+
import { DynamicType } from './form-field/configurations/fields/field';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class DynamicFormComponent {
|
|
6
|
+
id: import("@angular/core").InputSignal<string | undefined>;
|
|
7
|
+
configs: import("@angular/core").InputSignal<DynamicStructure[]>;
|
|
8
|
+
/**
|
|
9
|
+
* @deprecated Use `configs` input instead. Este campo será removido em versões futuras.
|
|
10
|
+
*/
|
|
11
|
+
fields: import("@angular/core").InputSignal<DynamicType[] | undefined>;
|
|
12
|
+
private dynamicTypeToStructure;
|
|
13
|
+
conf: import("@angular/core").Signal<DynamicStructure[] | undefined>;
|
|
14
|
+
form: import("@angular/core").InputSignal<FormGroup<any>>;
|
|
15
|
+
errorMessages: import("@angular/core").InputSignal<any>;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicFormComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicFormComponent, "s-dynamic-form", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "configs": { "alias": "configs"; "required": false; "isSignal": true; }; "fields": { "alias": "fields"; "required": false; "isSignal": true; }; "form": { "alias": "form"; "required": true; "isSignal": true; }; "errorMessages": { "alias": "errorMessages"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
18
|
+
}
|
|
19
|
+
export declare const dynamicTypeToDynamicStructure: (dynamicTypes: DynamicType[]) => DynamicStructure[];
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { ComponentRef, ViewContainerRef } from '@angular/core';
|
|
2
|
+
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import { DynamicType } from './form-field/configurations/fields/field';
|
|
4
|
+
import { BaseStructureComponentConfig } from './components/structure/base-structure-component';
|
|
5
|
+
import { DynamicStructure as FieldDynamicStructure } from './configurations/structure/structure';
|
|
6
|
+
import { BaseFieldComponentConfig } from './form-field/fields/base-field-component';
|
|
7
|
+
export declare abstract class DynamicForm {
|
|
8
|
+
group: FormGroup;
|
|
9
|
+
errorMessages: any;
|
|
10
|
+
abstract createComponent(viewContainerRef: ViewContainerRef): any;
|
|
11
|
+
abstract updateVariables(component: ComponentRef<any>): void;
|
|
12
|
+
abstract getComponent(): any;
|
|
13
|
+
constructor({ group, errorMessages }: {
|
|
14
|
+
group: FormGroup;
|
|
15
|
+
errorMessages: any;
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
export declare class DynamicField extends DynamicForm {
|
|
19
|
+
field: DynamicType;
|
|
20
|
+
constructor({ group, field, errorMessages }: {
|
|
21
|
+
group: FormGroup;
|
|
22
|
+
field: DynamicType;
|
|
23
|
+
errorMessages: any;
|
|
24
|
+
});
|
|
25
|
+
createComponent(viewContainerRef: ViewContainerRef): ComponentRef<BaseFieldComponentConfig>;
|
|
26
|
+
updateVariables(component: ComponentRef<any>): void;
|
|
27
|
+
getComponent(): import("@angular/core").Type<any>;
|
|
28
|
+
}
|
|
29
|
+
export declare class DynamicStructure extends DynamicForm {
|
|
30
|
+
config: FieldDynamicStructure;
|
|
31
|
+
constructor({ group, config, errorMessages, }: {
|
|
32
|
+
group: FormGroup;
|
|
33
|
+
config: FieldDynamicStructure;
|
|
34
|
+
errorMessages: any;
|
|
35
|
+
});
|
|
36
|
+
createComponent(viewContainerRef: ViewContainerRef): ComponentRef<BaseStructureComponentConfig>;
|
|
37
|
+
updateVariables(component: ComponentRef<any>): void;
|
|
38
|
+
getComponent(): import("@angular/core").Type<any>;
|
|
39
|
+
}
|
|
@@ -1,33 +1,27 @@
|
|
|
1
1
|
import { ComponentRef, OnChanges, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { FormGroup } from '@angular/forms';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { Grid } from './configurations/grid/grid';
|
|
6
|
-
import { Structure } from './configurations/structure/structure';
|
|
7
|
-
import { DynamicFormCacheService } from './services/dynamic-form-cache';
|
|
3
|
+
import { DynamicStructure as FieldDynamicStructure } from './configurations/structure/structure';
|
|
4
|
+
import { DynamicType } from './form-field/configurations/fields/field';
|
|
8
5
|
import * as i0 from "@angular/core";
|
|
9
6
|
export declare class DynamicFormDirective implements OnInit, OnChanges, OnDestroy {
|
|
10
7
|
private id?;
|
|
11
|
-
private config
|
|
12
|
-
private group
|
|
8
|
+
private config;
|
|
9
|
+
private group;
|
|
13
10
|
private errorMessages?;
|
|
14
11
|
private directiveConfig?;
|
|
15
12
|
set sDynamicForm(context: {
|
|
16
13
|
id?: string;
|
|
17
|
-
config
|
|
18
|
-
|
|
19
|
-
group?: FormGroup;
|
|
14
|
+
config: FieldDynamicStructure | DynamicType;
|
|
15
|
+
group: FormGroup;
|
|
20
16
|
errorMessages?: any;
|
|
21
17
|
});
|
|
22
18
|
component: ComponentRef<any> | null;
|
|
23
19
|
private readonly viewContainerRef;
|
|
24
|
-
dynamicFormCacheService: DynamicFormCacheService;
|
|
25
20
|
ngOnInit(): void;
|
|
26
21
|
ngOnChanges(): void;
|
|
27
22
|
ngOnDestroy(): void;
|
|
28
23
|
private isField;
|
|
29
24
|
private isStructure;
|
|
30
|
-
private isGrid;
|
|
31
25
|
private get getType();
|
|
32
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicFormDirective, never>;
|
|
33
27
|
static ɵdir: i0.ɵɵDirectiveDeclaration<DynamicFormDirective, "[sDynamicForm]", never, { "sDynamicForm": { "alias": "sDynamicForm"; "required": false; }; }, {}, never, never, false, never>;
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./form-field/fields/file-upload/file-upload-field.component";
|
|
3
|
+
import * as i2 from "./form-field/fields/autocomplete/autocomplete-field.component";
|
|
4
|
+
import * as i3 from "./form-field/fields/boolean/boolean-radio-field/boolean-field.component";
|
|
5
|
+
import * as i4 from "./form-field/fields/boolean/boolean-switch-field/boolean-switch-field.component";
|
|
6
|
+
import * as i5 from "./form-field/fields/calendar/calendar-field.component";
|
|
7
|
+
import * as i6 from "./form-field/fields/chips/chips-field.component";
|
|
8
|
+
import * as i7 from "./form-field/fields/country-phone-picker/country-phone-picker-field.component";
|
|
9
|
+
import * as i8 from "./dynamic-form.component";
|
|
10
|
+
import * as i9 from "./dynamic-form.directive";
|
|
11
|
+
import * as i10 from "./components/structure/fieldset/fieldset.component";
|
|
12
|
+
import * as i11 from "./components/lookup/lookup.component";
|
|
13
|
+
import * as i12 from "./form-field/fields/lookup/lookup-field.component";
|
|
14
|
+
import * as i13 from "./form-field/fields/radio-button/radio-button-field.component";
|
|
15
|
+
import * as i14 from "./components/grid/row/row.component";
|
|
16
|
+
import * as i15 from "./components/structure/section/section.component";
|
|
17
|
+
import * as i16 from "./form-field/fields/select/select-field.component";
|
|
18
|
+
import * as i17 from "./form-field/fields/slider/slider-field.component";
|
|
19
|
+
import * as i18 from "./form-field/fields/text-area/text-area-field.component";
|
|
20
|
+
import * as i19 from "./form-field/fields/text-area-ia/text-area-ia-field.component";
|
|
21
|
+
import * as i20 from "./form-field/fields/button-field/button-field.component";
|
|
22
|
+
import * as i21 from "./form-field/fields/text/text-field.component";
|
|
23
|
+
import * as i22 from "./form-field/fields/bignumber/bignumber-field.component";
|
|
24
|
+
import * as i23 from "./form-field/fields/profile-picture/profile-picture-field.component";
|
|
25
|
+
import * as i24 from "./form-field/fields/password/password-field.component";
|
|
26
|
+
import * as i25 from "./form-field/fields/number/number-field.component";
|
|
27
|
+
import * as i26 from "./form-field/fields/currency/currency-field.component";
|
|
28
|
+
import * as i27 from "./form-field/fields/checkbox/checkbox-field.component";
|
|
29
|
+
import * as i28 from "./form-field/fields/star-rating/star-rating-field.component";
|
|
30
|
+
import * as i29 from "primeng/autocomplete";
|
|
31
|
+
import * as i30 from "@seniorsistemas/angular-components/badge";
|
|
32
|
+
import * as i31 from "@seniorsistemas/angular-components/bignumber-input";
|
|
33
|
+
import * as i32 from "@seniorsistemas/angular-components/button";
|
|
34
|
+
import * as i33 from "@seniorsistemas/angular-components/calendar-mask";
|
|
35
|
+
import * as i34 from "@seniorsistemas/angular-components/chips";
|
|
36
|
+
import * as i35 from "@angular/common";
|
|
37
|
+
import * as i36 from "@seniorsistemas/angular-components/control-errors";
|
|
38
|
+
import * as i37 from "@seniorsistemas/angular-components/country-phone-picker";
|
|
39
|
+
import * as i38 from "@seniorsistemas/angular-components/dialog";
|
|
40
|
+
import * as i39 from "@seniorsistemas/angular-components/empty-state";
|
|
41
|
+
import * as i40 from "@angular/forms";
|
|
42
|
+
import * as i41 from "angular2-hotkeys";
|
|
43
|
+
import * as i42 from "primeng/inputmask";
|
|
44
|
+
import * as i43 from "primeng/inputtext";
|
|
45
|
+
import * as i44 from "primeng/keyfilter";
|
|
46
|
+
import * as i45 from "@seniorsistemas/angular-components/loading-state";
|
|
47
|
+
import * as i46 from "@seniorsistemas/angular-components/locale";
|
|
48
|
+
import * as i47 from "@seniorsistemas/angular-components/localized-number-input";
|
|
49
|
+
import * as i48 from "primeng/panel";
|
|
50
|
+
import * as i49 from "primeng/button";
|
|
51
|
+
import * as i50 from "primeng/table";
|
|
52
|
+
import * as i51 from "@seniorsistemas/angular-components/tooltip";
|
|
53
|
+
import * as i52 from "@seniorsistemas/angular-components/fieldset";
|
|
54
|
+
import * as i53 from "@seniorsistemas/angular-components/table-header";
|
|
55
|
+
import * as i54 from "@seniorsistemas/angular-components/file-upload";
|
|
56
|
+
import * as i55 from "@seniorsistemas/angular-components/info-sign";
|
|
57
|
+
import * as i56 from "@seniorsistemas/angular-components/mask";
|
|
58
|
+
import * as i57 from "@seniorsistemas/angular-components/mouse-events";
|
|
59
|
+
import * as i58 from "@seniorsistemas/angular-components/switch";
|
|
60
|
+
import * as i59 from "@seniorsistemas/angular-components/password-strength";
|
|
61
|
+
import * as i60 from "@seniorsistemas/angular-components/slider";
|
|
62
|
+
import * as i61 from "primeng/datepicker";
|
|
63
|
+
import * as i62 from "@ngx-translate/core";
|
|
64
|
+
import * as i63 from "primeng/multiselect";
|
|
65
|
+
import * as i64 from "@seniorsistemas/angular-components/profile-picture-picker";
|
|
66
|
+
import * as i65 from "@seniorsistemas/angular-components/number-input";
|
|
67
|
+
import * as i66 from "@seniorsistemas/angular-components/checkbox-list";
|
|
68
|
+
import * as i67 from "@seniorsistemas/angular-components/text-area-ia";
|
|
69
|
+
import * as i68 from "@seniorsistemas/angular-components/text-area";
|
|
70
|
+
import * as i69 from "@seniorsistemas/angular-components/star-rating";
|
|
71
|
+
import * as i70 from "@seniorsistemas/angular-components/select";
|
|
72
|
+
import * as i71 from "@seniorsistemas/angular-components/template";
|
|
73
|
+
import * as i72 from "@seniorsistemas/angular-components/radio-button";
|
|
74
|
+
import * as i73 from "./components/field-label/field-label.component";
|
|
75
|
+
export declare class DynamicFormModule {
|
|
76
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicFormModule, never>;
|
|
77
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DynamicFormModule, [typeof i1.FileUploadFieldComponent, typeof i2.AutocompleteFieldComponent, typeof i3.BooleanFieldComponent, typeof i4.BooleanSwitchFieldComponent, typeof i5.CalendarFieldComponent, typeof i6.ChipsFieldComponent, typeof i7.CountryPhonePickerFieldComponent, typeof i8.DynamicFormComponent, typeof i9.DynamicFormDirective, typeof i10.FieldsetComponent, typeof i11.LookupComponent, typeof i12.LookupFieldComponent, typeof i13.RadioButtonFieldComponent, typeof i14.RowComponent, typeof i15.SectionComponent, typeof i16.SelectFieldComponent, typeof i17.SliderFieldComponent, typeof i18.TextAreaFieldComponent, typeof i19.TextAreaIAFieldComponent, typeof i20.ButtonFieldComponent, typeof i21.TextFieldComponent, typeof i22.BignumberFieldComponent, typeof i23.ProfilePictureFieldComponent, typeof i24.PasswordFieldComponent, typeof i25.NumberFieldComponent, typeof i26.CurrencyFieldComponent, typeof i27.CheckboxFieldComponent, typeof i28.StarRatingFieldComponent], [typeof i29.AutoCompleteModule, typeof i30.BadgeModule, typeof i31.BignumberInputModule, typeof i32.ButtonModule, typeof i33.CalendarMaskModule, typeof i34.ChipsModule, typeof i35.CommonModule, typeof i36.ControlErrorsModule, typeof i37.CountryPhonePickerModule, typeof i38.DialogComponent, typeof i39.EmptyStateModule, typeof i40.FormsModule, typeof i41.HotkeyModule, typeof i42.InputMaskModule, typeof i43.InputTextModule, typeof i44.KeyFilterModule, typeof i45.LoadingStateModule, typeof i46.LocaleModule, typeof i47.LocalizedNumberInputModule, typeof i48.PanelModule, typeof i49.ButtonModule, typeof i50.TableModule, typeof i40.ReactiveFormsModule, typeof i51.TooltipModule, typeof i52.FieldsetModule, typeof i53.TableHeaderCheckboxModule, typeof i54.FileUploadModule, typeof i55.InfoSignModule, typeof i56.MaskFormatterModule, typeof i41.HotkeyModule, typeof i57.MouseEventsModule, typeof i58.SwitchModule, typeof i59.PasswordStrengthModule, typeof i60.SliderModule, typeof i61.DatePickerModule, typeof i62.TranslateModule, typeof i63.MultiSelectModule, typeof i64.ProfilePicturePickerModule, typeof i65.NumberInputModule, typeof i66.CheckboxListModule, typeof i67.TextAreaIAModule, typeof i68.TextAreaModule, typeof i69.StarRatingComponent, typeof i70.SelectComponent, typeof i71.TemplateModule, typeof i72.RadioButtonComponent, typeof i73.FieldLabelComponent], [typeof i8.DynamicFormComponent, typeof i9.DynamicFormDirective, typeof i11.LookupComponent]>;
|
|
78
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DynamicFormModule>;
|
|
79
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { FieldConfig } from './field';
|
|
3
|
+
export interface AutocompleteFieldConfig extends FieldConfig {
|
|
4
|
+
type: 'autocomplete';
|
|
5
|
+
dataKey?: string;
|
|
6
|
+
displayField?: string;
|
|
7
|
+
multiple?: boolean;
|
|
8
|
+
appendTo?: string;
|
|
9
|
+
emptyMessage?: string;
|
|
10
|
+
suggestionsObservable?: Observable<any>;
|
|
11
|
+
onSelect?: (event: any) => void;
|
|
12
|
+
onUnselect?: (event: any) => void;
|
|
13
|
+
onClear?: (event: any) => void;
|
|
14
|
+
onSearch?: (value: string) => void;
|
|
15
|
+
onBlur?: (event: FocusEvent) => void;
|
|
16
|
+
}
|
|
17
|
+
declare module './field' {
|
|
18
|
+
interface FieldTypeMap {
|
|
19
|
+
autocomplete: AutocompleteFieldConfig;
|
|
20
|
+
}
|
|
21
|
+
}
|