@tft/crispr-forms 14.0.1 → 15.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/esm2022/public-api.mjs +4 -0
- package/{esm2020 → esm2022}/src/index.mjs +1 -1
- package/esm2022/src/lib/crispr-forms.module.mjs +55 -0
- package/esm2022/src/lib/display-field.directive.mjs +52 -0
- package/esm2022/src/lib/field-component-map.const.mjs +28 -0
- package/esm2022/src/lib/field.directive.mjs +69 -0
- package/esm2022/src/lib/form/form.component.mjs +62 -0
- package/esm2022/src/lib/form-group-list/form-group-list.component.mjs +97 -0
- package/{esm2020 → esm2022}/src/lib/form-group-list/index.mjs +1 -1
- package/{esm2020 → esm2022}/src/lib/pipes/crispr-pipes.module.mjs +24 -24
- package/esm2022/src/lib/pipes/initial-control-value.pipe.mjs +20 -0
- package/{esm2020 → esm2022}/src/lib/public_api.mjs +2 -2
- package/{esm2020 → esm2022}/src/lib/sub-group/index.mjs +2 -2
- package/esm2022/src/lib/sub-group/sub-group.component.mjs +20 -0
- package/esm2022/src/lib/sub-group/sub-group.module.mjs +42 -0
- package/esm2022/src/lib/ui/autocomplete-chiplist-field/autocomplete-chiplist-field.component.mjs +138 -0
- package/esm2022/src/lib/ui/autocomplete-chiplist-field/index.mjs +2 -0
- package/esm2022/src/lib/ui/autocomplete-chiplist-field/public-api.mjs +2 -0
- package/esm2022/src/lib/ui/autocomplete-field/autocomplete-field.component.mjs +95 -0
- package/esm2022/src/lib/ui/autocomplete-field/index.mjs +2 -0
- package/esm2022/src/lib/ui/autocomplete-field/public-api.mjs +2 -0
- package/esm2022/src/lib/ui/button/button.component.mjs +52 -0
- package/esm2022/src/lib/ui/button/index.mjs +2 -0
- package/esm2022/src/lib/ui/button/public-api.mjs +2 -0
- package/esm2022/src/lib/ui/checkbox-field/checkbox-field.component.mjs +42 -0
- package/esm2022/src/lib/ui/checkbox-field/index.mjs +2 -0
- package/esm2022/src/lib/ui/checkbox-field/public-api.mjs +2 -0
- package/esm2022/src/lib/ui/datepicker-field/datepicker-field.component.mjs +66 -0
- package/esm2022/src/lib/ui/datepicker-field/index.mjs +2 -0
- package/esm2022/src/lib/ui/datepicker-field/public-api.mjs +2 -0
- package/esm2022/src/lib/ui/divider/divider.component.mjs +25 -0
- package/esm2022/src/lib/ui/divider/index.mjs +2 -0
- package/esm2022/src/lib/ui/divider/public-api.mjs +2 -0
- package/esm2022/src/lib/ui/field-container/field-container.component.mjs +59 -0
- package/esm2022/src/lib/ui/field-container/index.mjs +2 -0
- package/esm2022/src/lib/ui/field-container/public-api.mjs +2 -0
- package/esm2022/src/lib/ui/file-dropzone/file-dropzone.directive.mjs +40 -0
- package/esm2022/src/lib/ui/file-dropzone/index.mjs +2 -0
- package/esm2022/src/lib/ui/file-dropzone/public-api.mjs +2 -0
- package/esm2022/src/lib/ui/file-upload-field/file-upload-field.component.mjs +107 -0
- package/esm2022/src/lib/ui/file-upload-field/index.mjs +2 -0
- package/esm2022/src/lib/ui/file-upload-field/public-api.mjs +2 -0
- package/esm2022/src/lib/ui/heading/heading.component.mjs +27 -0
- package/esm2022/src/lib/ui/heading/index.mjs +2 -0
- package/esm2022/src/lib/ui/heading/public-api.mjs +2 -0
- package/esm2022/src/lib/ui/image-upload-field/image-upload-field.component.mjs +184 -0
- package/esm2022/src/lib/ui/image-upload-field/index.mjs +2 -0
- package/esm2022/src/lib/ui/image-upload-field/public-api.mjs +2 -0
- package/esm2022/src/lib/ui/index.mjs +2 -0
- package/esm2022/src/lib/ui/info/index.mjs +2 -0
- package/esm2022/src/lib/ui/info/info.component.mjs +23 -0
- package/esm2022/src/lib/ui/info/public-api.mjs +2 -0
- package/esm2022/src/lib/ui/input-field/index.mjs +2 -0
- package/esm2022/src/lib/ui/input-field/input-field.component.mjs +43 -0
- package/esm2022/src/lib/ui/input-field/public-api.mjs +2 -0
- package/esm2022/src/lib/ui/option/index.mjs +2 -0
- package/esm2022/src/lib/ui/option/option.component.mjs +16 -0
- package/esm2022/src/lib/ui/option/public-api.mjs +2 -0
- package/esm2022/src/lib/ui/public-api.mjs +7 -0
- package/esm2022/src/lib/ui/radio-field/index.mjs +2 -0
- package/esm2022/src/lib/ui/radio-field/public-api.mjs +2 -0
- package/esm2022/src/lib/ui/radio-field/radio-field.component.mjs +39 -0
- package/esm2022/src/lib/ui/select-field/index.mjs +2 -0
- package/esm2022/src/lib/ui/select-field/public-api.mjs +2 -0
- package/esm2022/src/lib/ui/select-field/select-field.component.mjs +73 -0
- package/esm2022/src/lib/ui/selected-file/index.mjs +2 -0
- package/esm2022/src/lib/ui/selected-file/public-api.mjs +2 -0
- package/esm2022/src/lib/ui/selected-file/selected-file.component.mjs +26 -0
- package/esm2022/src/lib/ui/slider-field/index.mjs +2 -0
- package/esm2022/src/lib/ui/slider-field/public-api.mjs +2 -0
- package/esm2022/src/lib/ui/slider-field/slider-field.component.mjs +46 -0
- package/esm2022/src/lib/ui/textarea-field/index.mjs +2 -0
- package/esm2022/src/lib/ui/textarea-field/public-api.mjs +2 -0
- package/esm2022/src/lib/ui/textarea-field/textarea-field.component.mjs +42 -0
- package/esm2022/src/lib/ui/unit-conversion-field/index.mjs +2 -0
- package/esm2022/src/lib/ui/unit-conversion-field/public-api.mjs +2 -0
- package/esm2022/src/lib/ui/unit-conversion-field/unit-conversion-field.component.mjs +86 -0
- package/esm2022/src/lib/utils/abstracts/autocomplete-field.abstract.mjs +30 -0
- package/esm2022/src/lib/utils/abstracts/crispr-control.mixin.mjs +27 -0
- package/esm2022/src/lib/utils/abstracts/crispr-display-field.abstract.mjs +14 -0
- package/esm2022/src/lib/utils/abstracts/crispr-field.abstract.mjs +19 -0
- package/esm2022/src/lib/utils/abstracts/index.mjs +5 -0
- package/esm2022/src/lib/utils/functions/buildFormGroupFromConfig.mjs +28 -0
- package/esm2022/src/lib/utils/functions/callOptionsIfFunction.mjs +4 -0
- package/esm2022/src/lib/utils/functions/createControlForType.mjs +19 -0
- package/esm2022/src/lib/utils/functions/filterOptionsByLabel.mjs +11 -0
- package/esm2022/src/lib/utils/functions/image-compression.helpers.mjs +50 -0
- package/esm2022/src/lib/utils/functions/index.mjs +8 -0
- package/esm2022/src/lib/utils/functions/isControlConfig.mjs +7 -0
- package/esm2022/src/lib/utils/functions/observablifyOptions.mjs +29 -0
- package/esm2022/src/lib/utils/index.mjs +2 -0
- package/esm2022/src/lib/utils/models/autocomplete-chiplist-field.config.mjs +2 -0
- package/esm2022/src/lib/utils/models/autocomplete-field.config.mjs +2 -0
- package/esm2022/src/lib/utils/models/button.config.mjs +2 -0
- package/esm2022/src/lib/utils/models/checkbox-field.config.mjs +2 -0
- package/esm2022/src/lib/utils/models/crispr-field.config.mjs +23 -0
- package/esm2022/src/lib/utils/models/datepicker-field.config.mjs +2 -0
- package/esm2022/src/lib/utils/models/divider.config.mjs +2 -0
- package/esm2022/src/lib/utils/models/file-upload-field.config.mjs +2 -0
- package/esm2022/src/lib/utils/models/form-group-list.config.mjs +2 -0
- package/esm2022/src/lib/utils/models/heading.config.mjs +3 -0
- package/esm2022/src/lib/utils/models/image-upload-field.config.mjs +2 -0
- package/esm2022/src/lib/utils/models/index.mjs +18 -0
- package/esm2022/src/lib/utils/models/input-field.config.mjs +2 -0
- package/esm2022/src/lib/utils/models/radio-field.config.mjs +2 -0
- package/esm2022/src/lib/utils/models/select-field.config.mjs +2 -0
- package/esm2022/src/lib/utils/models/slider-field.config.mjs +2 -0
- package/esm2022/src/lib/utils/models/textarea-field.config.mjs +2 -0
- package/esm2022/src/lib/utils/models/unit-conversion-field.config.mjs +2 -0
- package/esm2022/src/lib/utils/operators/form.operators.mjs +24 -0
- package/esm2022/src/lib/utils/operators/index.mjs +2 -0
- package/esm2022/src/lib/utils/public-api.mjs +5 -0
- package/esm2022/src/lib/utils/tft-crispr-forms-src-lib-utils.mjs +5 -0
- package/{esm2020 → esm2022}/tft-crispr-forms.mjs +4 -4
- package/fesm2022/tft-crispr-forms-index-2dAn0905.mjs +19 -0
- package/fesm2022/tft-crispr-forms-index-2dAn0905.mjs.map +1 -0
- package/fesm2022/tft-crispr-forms-index-76UuF0AI.mjs +36 -0
- package/fesm2022/tft-crispr-forms-index-76UuF0AI.mjs.map +1 -0
- package/{fesm2020/tft-crispr-forms-ui-image-upload-field.mjs → fesm2022/tft-crispr-forms-index-BXwiulEX.mjs} +169 -169
- package/fesm2022/tft-crispr-forms-index-BXwiulEX.mjs.map +1 -0
- package/fesm2022/tft-crispr-forms-index-BfR4XbYi.mjs +110 -0
- package/fesm2022/tft-crispr-forms-index-BfR4XbYi.mjs.map +1 -0
- package/fesm2022/tft-crispr-forms-index-C5X0mk3N.mjs +49 -0
- package/fesm2022/tft-crispr-forms-index-C5X0mk3N.mjs.map +1 -0
- package/fesm2022/tft-crispr-forms-index-CFUop3Cq.mjs +80 -0
- package/fesm2022/tft-crispr-forms-index-CFUop3Cq.mjs.map +1 -0
- package/fesm2022/tft-crispr-forms-index-CFdMVgM0.mjs +91 -0
- package/fesm2022/tft-crispr-forms-index-CFdMVgM0.mjs.map +1 -0
- package/fesm2022/tft-crispr-forms-index-CZdi06Jj.mjs +49 -0
- package/fesm2022/tft-crispr-forms-index-CZdi06Jj.mjs.map +1 -0
- package/fesm2022/tft-crispr-forms-index-C_I9vjqf.mjs +57 -0
- package/fesm2022/tft-crispr-forms-index-C_I9vjqf.mjs.map +1 -0
- package/fesm2022/tft-crispr-forms-index-DE8VOdBd.mjs +102 -0
- package/fesm2022/tft-crispr-forms-index-DE8VOdBd.mjs.map +1 -0
- package/fesm2022/tft-crispr-forms-index-OLo2t0tl.mjs +48 -0
- package/fesm2022/tft-crispr-forms-index-OLo2t0tl.mjs.map +1 -0
- package/fesm2022/tft-crispr-forms-index-OT7kkOgd.mjs +50 -0
- package/fesm2022/tft-crispr-forms-index-OT7kkOgd.mjs.map +1 -0
- package/fesm2022/tft-crispr-forms-index-Ukk3WgS2.mjs +54 -0
- package/fesm2022/tft-crispr-forms-index-Ukk3WgS2.mjs.map +1 -0
- package/fesm2022/tft-crispr-forms-index-rRi6OMY6.mjs +142 -0
- package/fesm2022/tft-crispr-forms-index-rRi6OMY6.mjs.map +1 -0
- package/fesm2022/tft-crispr-forms-index-xAaInTLg.mjs +73 -0
- package/fesm2022/tft-crispr-forms-index-xAaInTLg.mjs.map +1 -0
- package/{fesm2020/tft-crispr-forms-utils.mjs → fesm2022/tft-crispr-forms-src-lib-utils.mjs} +244 -235
- package/fesm2022/tft-crispr-forms-src-lib-utils.mjs.map +1 -0
- package/fesm2022/tft-crispr-forms.mjs +848 -0
- package/fesm2022/tft-crispr-forms.mjs.map +1 -0
- package/index.d.ts +5 -5
- package/package.json +13 -192
- package/public-api.d.ts +3 -3
- package/src/index.d.ts +1 -1
- package/src/lib/crispr-forms.module.d.ts +16 -15
- package/src/lib/display-field.directive.d.ts +23 -0
- package/src/lib/field-component-map.const.d.ts +42 -42
- package/src/lib/field.directive.d.ts +24 -24
- package/src/lib/form/form.component.d.ts +19 -19
- package/src/lib/form-group-list/form-group-list.component.d.ts +40 -36
- package/src/lib/form-group-list/index.d.ts +1 -1
- package/src/lib/pipes/crispr-pipes.module.d.ts +8 -8
- package/src/lib/pipes/initial-control-value.pipe.d.ts +10 -10
- package/src/lib/public_api.d.ts +2 -2
- package/src/lib/sub-group/index.d.ts +2 -2
- package/src/lib/sub-group/sub-group.component.d.ts +24 -22
- package/src/lib/sub-group/sub-group.module.d.ts +12 -12
- package/{ui → src/lib/ui}/autocomplete-chiplist-field/autocomplete-chiplist-field.component.d.ts +36 -33
- package/src/lib/ui/autocomplete-chiplist-field/index.d.ts +1 -0
- package/{ui → src/lib/ui}/autocomplete-chiplist-field/public-api.d.ts +1 -1
- package/{ui → src/lib/ui}/autocomplete-field/autocomplete-field.component.d.ts +25 -25
- package/src/lib/ui/autocomplete-field/index.d.ts +1 -0
- package/{ui → src/lib/ui}/autocomplete-field/public-api.d.ts +1 -1
- package/{ui → src/lib/ui}/button/button.component.d.ts +15 -15
- package/src/lib/ui/button/index.d.ts +1 -0
- package/{ui → src/lib/ui}/button/public-api.d.ts +1 -1
- package/src/lib/ui/checkbox-field/checkbox-field.component.d.ts +23 -0
- package/src/lib/ui/checkbox-field/index.d.ts +1 -0
- package/{ui → src/lib/ui}/checkbox-field/public-api.d.ts +1 -1
- package/{ui → src/lib/ui}/datepicker-field/datepicker-field.component.d.ts +32 -30
- package/src/lib/ui/datepicker-field/index.d.ts +1 -0
- package/{ui → src/lib/ui}/datepicker-field/public-api.d.ts +1 -1
- package/{ui → src/lib/ui}/divider/divider.component.d.ts +9 -9
- package/src/lib/ui/divider/index.d.ts +1 -0
- package/{ui → src/lib/ui}/divider/public-api.d.ts +1 -1
- package/{ui → src/lib/ui}/field-container/field-container.component.d.ts +24 -24
- package/src/lib/ui/field-container/index.d.ts +1 -0
- package/{ui → src/lib/ui}/field-container/public-api.d.ts +1 -1
- package/{ui → src/lib/ui}/file-dropzone/file-dropzone.directive.d.ts +10 -10
- package/src/lib/ui/file-dropzone/index.d.ts +1 -0
- package/{ui → src/lib/ui}/file-dropzone/public-api.d.ts +1 -1
- package/{ui → src/lib/ui}/file-upload-field/file-upload-field.component.d.ts +39 -37
- package/src/lib/ui/file-upload-field/index.d.ts +1 -0
- package/{ui → src/lib/ui}/file-upload-field/public-api.d.ts +1 -1
- package/{ui → src/lib/ui}/heading/heading.component.d.ts +8 -8
- package/src/lib/ui/heading/index.d.ts +1 -0
- package/{ui → src/lib/ui}/heading/public-api.d.ts +1 -1
- package/{ui → src/lib/ui}/image-upload-field/image-upload-field.component.d.ts +50 -48
- package/src/lib/ui/image-upload-field/index.d.ts +1 -0
- package/{ui → src/lib/ui}/image-upload-field/public-api.d.ts +1 -1
- package/src/lib/ui/index.d.ts +1 -0
- package/src/lib/ui/info/index.d.ts +1 -0
- package/{ui → src/lib/ui}/info/info.component.d.ts +7 -7
- package/{ui → src/lib/ui}/info/public-api.d.ts +1 -1
- package/src/lib/ui/input-field/index.d.ts +1 -0
- package/src/lib/ui/input-field/input-field.component.d.ts +24 -0
- package/{ui → src/lib/ui}/input-field/public-api.d.ts +1 -1
- package/src/lib/ui/option/index.d.ts +1 -0
- package/{ui → src/lib/ui}/option/option.component.d.ts +7 -7
- package/{ui → src/lib/ui}/option/public-api.d.ts +1 -1
- package/src/lib/ui/public-api.d.ts +6 -0
- package/src/lib/ui/radio-field/index.d.ts +1 -0
- package/{ui → src/lib/ui}/radio-field/public-api.d.ts +1 -1
- package/src/lib/ui/radio-field/radio-field.component.d.ts +25 -0
- package/src/lib/ui/select-field/index.d.ts +1 -0
- package/{ui → src/lib/ui}/select-field/public-api.d.ts +1 -1
- package/{ui → src/lib/ui}/select-field/select-field.component.d.ts +34 -32
- package/src/lib/ui/selected-file/index.d.ts +1 -0
- package/{ui → src/lib/ui}/selected-file/public-api.d.ts +1 -1
- package/{ui → src/lib/ui}/selected-file/selected-file.component.d.ts +10 -10
- package/src/lib/ui/slider-field/index.d.ts +1 -0
- package/{ui → src/lib/ui}/slider-field/public-api.d.ts +1 -1
- package/src/lib/ui/slider-field/slider-field.component.d.ts +24 -0
- package/src/lib/ui/textarea-field/index.d.ts +1 -0
- package/{ui → src/lib/ui}/textarea-field/public-api.d.ts +1 -1
- package/src/lib/ui/textarea-field/textarea-field.component.d.ts +23 -0
- package/src/lib/ui/unit-conversion-field/index.d.ts +1 -0
- package/{ui → src/lib/ui}/unit-conversion-field/public-api.d.ts +1 -1
- package/{ui → src/lib/ui}/unit-conversion-field/unit-conversion-field.component.d.ts +38 -36
- package/{utils → src/lib/utils}/abstracts/autocomplete-field.abstract.d.ts +28 -28
- package/{utils → src/lib/utils}/abstracts/crispr-control.mixin.d.ts +16 -16
- package/src/lib/utils/abstracts/crispr-display-field.abstract.d.ts +22 -0
- package/{utils → src/lib/utils}/abstracts/crispr-field.abstract.d.ts +11 -11
- package/{utils → src/lib/utils}/abstracts/index.d.ts +4 -3
- package/{utils → src/lib/utils}/functions/buildFormGroupFromConfig.d.ts +9 -9
- package/{utils → src/lib/utils}/functions/callOptionsIfFunction.d.ts +3 -3
- package/{utils → src/lib/utils}/functions/createControlForType.d.ts +9 -9
- package/{utils → src/lib/utils}/functions/filterOptionsByLabel.d.ts +7 -7
- package/{utils → src/lib/utils}/functions/image-compression.helpers.d.ts +5 -5
- package/{utils → src/lib/utils}/functions/index.d.ts +7 -7
- package/{utils → src/lib/utils}/functions/isControlConfig.d.ts +5 -5
- package/{utils → src/lib/utils}/functions/observablifyOptions.d.ts +12 -12
- package/{ui → src/lib/utils}/index.d.ts +5 -5
- package/{utils → src/lib/utils}/models/autocomplete-chiplist-field.config.d.ts +20 -20
- package/{utils → src/lib/utils}/models/autocomplete-field.config.d.ts +14 -14
- package/{utils → src/lib/utils}/models/button.config.d.ts +17 -17
- package/{utils → src/lib/utils}/models/checkbox-field.config.d.ts +6 -6
- package/{utils → src/lib/utils}/models/crispr-field.config.d.ts +97 -94
- package/{utils → src/lib/utils}/models/datepicker-field.config.d.ts +20 -20
- package/{utils → src/lib/utils}/models/divider.config.d.ts +5 -5
- package/{utils → src/lib/utils}/models/file-upload-field.config.d.ts +33 -33
- package/{utils → src/lib/utils}/models/form-group-list.config.d.ts +18 -17
- package/{utils → src/lib/utils}/models/heading.config.d.ts +6 -6
- package/{utils → src/lib/utils}/models/image-upload-field.config.d.ts +54 -54
- package/{utils → src/lib/utils}/models/index.d.ts +17 -17
- package/{utils → src/lib/utils}/models/input-field.config.d.ts +16 -16
- package/{utils → src/lib/utils}/models/radio-field.config.d.ts +6 -6
- package/{utils → src/lib/utils}/models/select-field.config.d.ts +21 -21
- package/{utils → src/lib/utils}/models/slider-field.config.d.ts +11 -13
- package/{utils → src/lib/utils}/models/textarea-field.config.d.ts +5 -5
- package/{utils → src/lib/utils}/models/unit-conversion-field.config.d.ts +30 -30
- package/{utils → src/lib/utils}/operators/form.operators.d.ts +1 -1
- package/{utils → src/lib/utils}/operators/index.d.ts +1 -1
- package/{utils → src/lib/utils}/public-api.d.ts +4 -4
- package/tft-crispr-forms-15.0.0.tgz +0 -0
- package/esm2020/public-api.mjs +0 -5
- package/esm2020/src/lib/crispr-forms.module.mjs +0 -57
- package/esm2020/src/lib/field-component-map.const.mjs +0 -27
- package/esm2020/src/lib/field.directive.mjs +0 -69
- package/esm2020/src/lib/form/form.component.mjs +0 -63
- package/esm2020/src/lib/form-group-list/form-group-list.component.mjs +0 -93
- package/esm2020/src/lib/pipes/initial-control-value.pipe.mjs +0 -21
- package/esm2020/src/lib/sub-group/sub-group.component.mjs +0 -21
- package/esm2020/src/lib/sub-group/sub-group.module.mjs +0 -42
- package/esm2020/ui/autocomplete-chiplist-field/autocomplete-chiplist-field.component.mjs +0 -130
- package/esm2020/ui/autocomplete-chiplist-field/public-api.mjs +0 -2
- package/esm2020/ui/autocomplete-chiplist-field/tft-crispr-forms-ui-autocomplete-chiplist-field.mjs +0 -5
- package/esm2020/ui/autocomplete-field/autocomplete-field.component.mjs +0 -93
- package/esm2020/ui/autocomplete-field/public-api.mjs +0 -2
- package/esm2020/ui/autocomplete-field/tft-crispr-forms-ui-autocomplete-field.mjs +0 -5
- package/esm2020/ui/button/button.component.mjs +0 -49
- package/esm2020/ui/button/public-api.mjs +0 -2
- package/esm2020/ui/button/tft-crispr-forms-ui-button.mjs +0 -5
- package/esm2020/ui/checkbox-field/checkbox-field.component.mjs +0 -42
- package/esm2020/ui/checkbox-field/public-api.mjs +0 -2
- package/esm2020/ui/checkbox-field/tft-crispr-forms-ui-checkbox-field.mjs +0 -5
- package/esm2020/ui/datepicker-field/datepicker-field.component.mjs +0 -63
- package/esm2020/ui/datepicker-field/public-api.mjs +0 -2
- package/esm2020/ui/datepicker-field/tft-crispr-forms-ui-datepicker-field.mjs +0 -5
- package/esm2020/ui/divider/divider.component.mjs +0 -28
- package/esm2020/ui/divider/public-api.mjs +0 -2
- package/esm2020/ui/divider/tft-crispr-forms-ui-divider.mjs +0 -5
- package/esm2020/ui/field-container/field-container.component.mjs +0 -58
- package/esm2020/ui/field-container/public-api.mjs +0 -2
- package/esm2020/ui/field-container/tft-crispr-forms-ui-field-container.mjs +0 -5
- package/esm2020/ui/file-dropzone/file-dropzone.directive.mjs +0 -40
- package/esm2020/ui/file-dropzone/public-api.mjs +0 -2
- package/esm2020/ui/file-dropzone/tft-crispr-forms-ui-file-dropzone.mjs +0 -5
- package/esm2020/ui/file-upload-field/file-upload-field.component.mjs +0 -108
- package/esm2020/ui/file-upload-field/public-api.mjs +0 -2
- package/esm2020/ui/file-upload-field/tft-crispr-forms-ui-file-upload-field.mjs +0 -5
- package/esm2020/ui/heading/heading.component.mjs +0 -31
- package/esm2020/ui/heading/public-api.mjs +0 -2
- package/esm2020/ui/heading/tft-crispr-forms-ui-heading.mjs +0 -5
- package/esm2020/ui/image-upload-field/image-upload-field.component.mjs +0 -179
- package/esm2020/ui/image-upload-field/public-api.mjs +0 -2
- package/esm2020/ui/image-upload-field/tft-crispr-forms-ui-image-upload-field.mjs +0 -5
- package/esm2020/ui/info/info.component.mjs +0 -23
- package/esm2020/ui/info/public-api.mjs +0 -2
- package/esm2020/ui/info/tft-crispr-forms-ui-info.mjs +0 -5
- package/esm2020/ui/input-field/input-field.component.mjs +0 -41
- package/esm2020/ui/input-field/public-api.mjs +0 -2
- package/esm2020/ui/input-field/tft-crispr-forms-ui-input-field.mjs +0 -5
- package/esm2020/ui/option/option.component.mjs +0 -19
- package/esm2020/ui/option/public-api.mjs +0 -2
- package/esm2020/ui/option/tft-crispr-forms-ui-option.mjs +0 -5
- package/esm2020/ui/public-api.mjs +0 -7
- package/esm2020/ui/radio-field/public-api.mjs +0 -2
- package/esm2020/ui/radio-field/radio-field.component.mjs +0 -39
- package/esm2020/ui/radio-field/tft-crispr-forms-ui-radio-field.mjs +0 -5
- package/esm2020/ui/select-field/public-api.mjs +0 -2
- package/esm2020/ui/select-field/select-field.component.mjs +0 -73
- package/esm2020/ui/select-field/tft-crispr-forms-ui-select-field.mjs +0 -5
- package/esm2020/ui/selected-file/public-api.mjs +0 -2
- package/esm2020/ui/selected-file/selected-file.component.mjs +0 -26
- package/esm2020/ui/selected-file/tft-crispr-forms-ui-selected-file.mjs +0 -5
- package/esm2020/ui/slider-field/public-api.mjs +0 -2
- package/esm2020/ui/slider-field/slider-field.component.mjs +0 -44
- package/esm2020/ui/slider-field/tft-crispr-forms-ui-slider-field.mjs +0 -5
- package/esm2020/ui/textarea-field/public-api.mjs +0 -2
- package/esm2020/ui/textarea-field/textarea-field.component.mjs +0 -42
- package/esm2020/ui/textarea-field/tft-crispr-forms-ui-textarea-field.mjs +0 -5
- package/esm2020/ui/tft-crispr-forms-ui.mjs +0 -5
- package/esm2020/ui/unit-conversion-field/public-api.mjs +0 -2
- package/esm2020/ui/unit-conversion-field/tft-crispr-forms-ui-unit-conversion-field.mjs +0 -5
- package/esm2020/ui/unit-conversion-field/unit-conversion-field.component.mjs +0 -84
- package/esm2020/utils/abstracts/autocomplete-field.abstract.mjs +0 -30
- package/esm2020/utils/abstracts/crispr-control.mixin.mjs +0 -27
- package/esm2020/utils/abstracts/crispr-field.abstract.mjs +0 -20
- package/esm2020/utils/abstracts/index.mjs +0 -4
- package/esm2020/utils/functions/buildFormGroupFromConfig.mjs +0 -28
- package/esm2020/utils/functions/callOptionsIfFunction.mjs +0 -4
- package/esm2020/utils/functions/createControlForType.mjs +0 -19
- package/esm2020/utils/functions/filterOptionsByLabel.mjs +0 -11
- package/esm2020/utils/functions/image-compression.helpers.mjs +0 -50
- package/esm2020/utils/functions/index.mjs +0 -8
- package/esm2020/utils/functions/isControlConfig.mjs +0 -7
- package/esm2020/utils/functions/observablifyOptions.mjs +0 -29
- package/esm2020/utils/models/autocomplete-chiplist-field.config.mjs +0 -2
- package/esm2020/utils/models/autocomplete-field.config.mjs +0 -2
- package/esm2020/utils/models/button.config.mjs +0 -2
- package/esm2020/utils/models/checkbox-field.config.mjs +0 -2
- package/esm2020/utils/models/crispr-field.config.mjs +0 -23
- package/esm2020/utils/models/datepicker-field.config.mjs +0 -2
- package/esm2020/utils/models/divider.config.mjs +0 -2
- package/esm2020/utils/models/file-upload-field.config.mjs +0 -2
- package/esm2020/utils/models/form-group-list.config.mjs +0 -2
- package/esm2020/utils/models/heading.config.mjs +0 -3
- package/esm2020/utils/models/image-upload-field.config.mjs +0 -2
- package/esm2020/utils/models/index.mjs +0 -18
- package/esm2020/utils/models/input-field.config.mjs +0 -2
- package/esm2020/utils/models/radio-field.config.mjs +0 -2
- package/esm2020/utils/models/select-field.config.mjs +0 -2
- package/esm2020/utils/models/slider-field.config.mjs +0 -2
- package/esm2020/utils/models/textarea-field.config.mjs +0 -2
- package/esm2020/utils/models/unit-conversion-field.config.mjs +0 -2
- package/esm2020/utils/operators/form.operators.mjs +0 -24
- package/esm2020/utils/operators/index.mjs +0 -2
- package/esm2020/utils/public-api.mjs +0 -5
- package/esm2020/utils/tft-crispr-forms-utils.mjs +0 -5
- package/fesm2015/tft-crispr-forms-ui-autocomplete-chiplist-field.mjs +0 -138
- package/fesm2015/tft-crispr-forms-ui-autocomplete-chiplist-field.mjs.map +0 -1
- package/fesm2015/tft-crispr-forms-ui-autocomplete-field.mjs +0 -101
- package/fesm2015/tft-crispr-forms-ui-autocomplete-field.mjs.map +0 -1
- package/fesm2015/tft-crispr-forms-ui-button.mjs +0 -55
- package/fesm2015/tft-crispr-forms-ui-button.mjs.map +0 -1
- package/fesm2015/tft-crispr-forms-ui-checkbox-field.mjs +0 -49
- package/fesm2015/tft-crispr-forms-ui-checkbox-field.mjs.map +0 -1
- package/fesm2015/tft-crispr-forms-ui-datepicker-field.mjs +0 -71
- package/fesm2015/tft-crispr-forms-ui-datepicker-field.mjs.map +0 -1
- package/fesm2015/tft-crispr-forms-ui-divider.mjs +0 -34
- package/fesm2015/tft-crispr-forms-ui-divider.mjs.map +0 -1
- package/fesm2015/tft-crispr-forms-ui-field-container.mjs +0 -64
- package/fesm2015/tft-crispr-forms-ui-field-container.mjs.map +0 -1
- package/fesm2015/tft-crispr-forms-ui-file-dropzone.mjs +0 -47
- package/fesm2015/tft-crispr-forms-ui-file-dropzone.mjs.map +0 -1
- package/fesm2015/tft-crispr-forms-ui-file-upload-field.mjs +0 -117
- package/fesm2015/tft-crispr-forms-ui-file-upload-field.mjs.map +0 -1
- package/fesm2015/tft-crispr-forms-ui-heading.mjs +0 -37
- package/fesm2015/tft-crispr-forms-ui-heading.mjs.map +0 -1
- package/fesm2015/tft-crispr-forms-ui-image-upload-field.mjs +0 -182
- package/fesm2015/tft-crispr-forms-ui-image-upload-field.mjs.map +0 -1
- package/fesm2015/tft-crispr-forms-ui-info.mjs +0 -30
- package/fesm2015/tft-crispr-forms-ui-info.mjs.map +0 -1
- package/fesm2015/tft-crispr-forms-ui-input-field.mjs +0 -48
- package/fesm2015/tft-crispr-forms-ui-input-field.mjs.map +0 -1
- package/fesm2015/tft-crispr-forms-ui-option.mjs +0 -26
- package/fesm2015/tft-crispr-forms-ui-option.mjs.map +0 -1
- package/fesm2015/tft-crispr-forms-ui-radio-field.mjs +0 -46
- package/fesm2015/tft-crispr-forms-ui-radio-field.mjs.map +0 -1
- package/fesm2015/tft-crispr-forms-ui-select-field.mjs +0 -81
- package/fesm2015/tft-crispr-forms-ui-select-field.mjs.map +0 -1
- package/fesm2015/tft-crispr-forms-ui-selected-file.mjs +0 -33
- package/fesm2015/tft-crispr-forms-ui-selected-file.mjs.map +0 -1
- package/fesm2015/tft-crispr-forms-ui-slider-field.mjs +0 -51
- package/fesm2015/tft-crispr-forms-ui-slider-field.mjs.map +0 -1
- package/fesm2015/tft-crispr-forms-ui-textarea-field.mjs +0 -49
- package/fesm2015/tft-crispr-forms-ui-textarea-field.mjs.map +0 -1
- package/fesm2015/tft-crispr-forms-ui-unit-conversion-field.mjs +0 -93
- package/fesm2015/tft-crispr-forms-ui-unit-conversion-field.mjs.map +0 -1
- package/fesm2015/tft-crispr-forms-ui.mjs +0 -12
- package/fesm2015/tft-crispr-forms-ui.mjs.map +0 -1
- package/fesm2015/tft-crispr-forms-utils.mjs +0 -270
- package/fesm2015/tft-crispr-forms-utils.mjs.map +0 -1
- package/fesm2015/tft-crispr-forms.mjs +0 -379
- package/fesm2015/tft-crispr-forms.mjs.map +0 -1
- package/fesm2020/tft-crispr-forms-ui-autocomplete-chiplist-field.mjs +0 -137
- package/fesm2020/tft-crispr-forms-ui-autocomplete-chiplist-field.mjs.map +0 -1
- package/fesm2020/tft-crispr-forms-ui-autocomplete-field.mjs +0 -100
- package/fesm2020/tft-crispr-forms-ui-autocomplete-field.mjs.map +0 -1
- package/fesm2020/tft-crispr-forms-ui-button.mjs +0 -55
- package/fesm2020/tft-crispr-forms-ui-button.mjs.map +0 -1
- package/fesm2020/tft-crispr-forms-ui-checkbox-field.mjs +0 -49
- package/fesm2020/tft-crispr-forms-ui-checkbox-field.mjs.map +0 -1
- package/fesm2020/tft-crispr-forms-ui-datepicker-field.mjs +0 -70
- package/fesm2020/tft-crispr-forms-ui-datepicker-field.mjs.map +0 -1
- package/fesm2020/tft-crispr-forms-ui-divider.mjs +0 -34
- package/fesm2020/tft-crispr-forms-ui-divider.mjs.map +0 -1
- package/fesm2020/tft-crispr-forms-ui-field-container.mjs +0 -65
- package/fesm2020/tft-crispr-forms-ui-field-container.mjs.map +0 -1
- package/fesm2020/tft-crispr-forms-ui-file-dropzone.mjs +0 -47
- package/fesm2020/tft-crispr-forms-ui-file-dropzone.mjs.map +0 -1
- package/fesm2020/tft-crispr-forms-ui-file-upload-field.mjs +0 -115
- package/fesm2020/tft-crispr-forms-ui-file-upload-field.mjs.map +0 -1
- package/fesm2020/tft-crispr-forms-ui-heading.mjs +0 -37
- package/fesm2020/tft-crispr-forms-ui-heading.mjs.map +0 -1
- package/fesm2020/tft-crispr-forms-ui-image-upload-field.mjs.map +0 -1
- package/fesm2020/tft-crispr-forms-ui-info.mjs +0 -30
- package/fesm2020/tft-crispr-forms-ui-info.mjs.map +0 -1
- package/fesm2020/tft-crispr-forms-ui-input-field.mjs +0 -48
- package/fesm2020/tft-crispr-forms-ui-input-field.mjs.map +0 -1
- package/fesm2020/tft-crispr-forms-ui-option.mjs +0 -26
- package/fesm2020/tft-crispr-forms-ui-option.mjs.map +0 -1
- package/fesm2020/tft-crispr-forms-ui-radio-field.mjs +0 -46
- package/fesm2020/tft-crispr-forms-ui-radio-field.mjs.map +0 -1
- package/fesm2020/tft-crispr-forms-ui-select-field.mjs +0 -80
- package/fesm2020/tft-crispr-forms-ui-select-field.mjs.map +0 -1
- package/fesm2020/tft-crispr-forms-ui-selected-file.mjs +0 -33
- package/fesm2020/tft-crispr-forms-ui-selected-file.mjs.map +0 -1
- package/fesm2020/tft-crispr-forms-ui-slider-field.mjs +0 -51
- package/fesm2020/tft-crispr-forms-ui-slider-field.mjs.map +0 -1
- package/fesm2020/tft-crispr-forms-ui-textarea-field.mjs +0 -49
- package/fesm2020/tft-crispr-forms-ui-textarea-field.mjs.map +0 -1
- package/fesm2020/tft-crispr-forms-ui-unit-conversion-field.mjs +0 -91
- package/fesm2020/tft-crispr-forms-ui-unit-conversion-field.mjs.map +0 -1
- package/fesm2020/tft-crispr-forms-ui.mjs +0 -12
- package/fesm2020/tft-crispr-forms-ui.mjs.map +0 -1
- package/fesm2020/tft-crispr-forms-utils.mjs.map +0 -1
- package/fesm2020/tft-crispr-forms.mjs +0 -377
- package/fesm2020/tft-crispr-forms.mjs.map +0 -1
- package/tft-crispr-forms-14.0.1.tgz +0 -0
- package/ui/README.md +0 -3
- package/ui/autocomplete-chiplist-field/index.d.ts +0 -5
- package/ui/autocomplete-field/index.d.ts +0 -5
- package/ui/button/index.d.ts +0 -5
- package/ui/checkbox-field/checkbox-field.component.d.ts +0 -21
- package/ui/checkbox-field/index.d.ts +0 -5
- package/ui/datepicker-field/index.d.ts +0 -5
- package/ui/divider/index.d.ts +0 -5
- package/ui/field-container/index.d.ts +0 -5
- package/ui/file-dropzone/index.d.ts +0 -5
- package/ui/file-upload-field/index.d.ts +0 -5
- package/ui/heading/index.d.ts +0 -5
- package/ui/image-upload-field/index.d.ts +0 -5
- package/ui/info/index.d.ts +0 -5
- package/ui/input-field/index.d.ts +0 -5
- package/ui/input-field/input-field.component.d.ts +0 -22
- package/ui/option/index.d.ts +0 -5
- package/ui/public-api.d.ts +0 -5
- package/ui/radio-field/index.d.ts +0 -5
- package/ui/radio-field/radio-field.component.d.ts +0 -23
- package/ui/select-field/index.d.ts +0 -5
- package/ui/selected-file/index.d.ts +0 -5
- package/ui/slider-field/index.d.ts +0 -5
- package/ui/slider-field/slider-field.component.d.ts +0 -25
- package/ui/textarea-field/index.d.ts +0 -5
- package/ui/textarea-field/textarea-field.component.d.ts +0 -21
- package/ui/unit-conversion-field/index.d.ts +0 -5
- package/utils/index.d.ts +0 -5
- /package/{utils → src/lib/utils}/README.md +0 -0
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { ViewContainerRef, Renderer2, OnInit, ChangeDetectorRef } from '@angular/core';
|
|
2
|
-
import { FormGroup } from '@angular/forms';
|
|
3
|
-
import { CrisprFieldComponentType } from './field-component-map.const';
|
|
4
|
-
import { AnyFieldConfig, ControlValue } from '
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class CrisprFieldDirective implements OnInit {
|
|
7
|
-
private container;
|
|
8
|
-
private renderer;
|
|
9
|
-
private cdr;
|
|
10
|
-
config: AnyFieldConfig;
|
|
11
|
-
group: FormGroup;
|
|
12
|
-
/**
|
|
13
|
-
* value setter updates the control's value as well
|
|
14
|
-
*/
|
|
15
|
-
_value: ControlValue | any[];
|
|
16
|
-
set value(value: ControlValue | any[]);
|
|
17
|
-
get value(): ControlValue | any[];
|
|
18
|
-
component: CrisprFieldComponentType;
|
|
19
|
-
constructor(container: ViewContainerRef, renderer: Renderer2, cdr: ChangeDetectorRef);
|
|
20
|
-
ngOnInit(): Promise<void>;
|
|
21
|
-
updateComponentValue(value: ControlValue | any[]): void;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CrisprFieldDirective, never>;
|
|
23
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CrisprFieldDirective, "[crisprField]", never, { "config": "config"; "group": "group"; "value": "value"; }, {}, never, never, true>;
|
|
24
|
-
}
|
|
1
|
+
import { ViewContainerRef, Renderer2, OnInit, ChangeDetectorRef } from '@angular/core';
|
|
2
|
+
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import { CrisprFieldComponentType } from './field-component-map.const';
|
|
4
|
+
import { AnyFieldConfig, ControlValue } from './utils';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class CrisprFieldDirective implements OnInit {
|
|
7
|
+
private container;
|
|
8
|
+
private renderer;
|
|
9
|
+
private cdr;
|
|
10
|
+
config: AnyFieldConfig;
|
|
11
|
+
group: FormGroup;
|
|
12
|
+
/**
|
|
13
|
+
* value setter updates the control's value as well
|
|
14
|
+
*/
|
|
15
|
+
_value: ControlValue | any[];
|
|
16
|
+
set value(value: ControlValue | any[]);
|
|
17
|
+
get value(): ControlValue | any[];
|
|
18
|
+
component: CrisprFieldComponentType;
|
|
19
|
+
constructor(container: ViewContainerRef, renderer: Renderer2, cdr: ChangeDetectorRef);
|
|
20
|
+
ngOnInit(): Promise<void>;
|
|
21
|
+
updateComponentValue(value: ControlValue | any[]): void;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CrisprFieldDirective, never>;
|
|
23
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CrisprFieldDirective, "[crisprField]", never, { "config": { "alias": "config"; "required": false; }; "group": { "alias": "group"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, never, true, never>;
|
|
24
|
+
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { EventEmitter, ElementRef, OnInit } from '@angular/core';
|
|
2
|
-
import { FormGroup } from '@angular/forms';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
import { ControlGroupValue, FormConfig } from '
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class CrisprFormComponent implements OnInit {
|
|
7
|
-
config: FormConfig;
|
|
8
|
-
form: FormGroup;
|
|
9
|
-
value: ControlGroupValue;
|
|
10
|
-
submitted: EventEmitter<FormGroup<any>>;
|
|
11
|
-
valueChanges: Observable<any>;
|
|
12
|
-
statusChanges: Observable<string>;
|
|
13
|
-
submitTrigger: ElementRef<HTMLButtonElement>;
|
|
14
|
-
ngOnInit(): void;
|
|
15
|
-
handleSubmit(): void;
|
|
16
|
-
triggerSubmit(): void;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CrisprFormComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CrisprFormComponent, "crispr-form", never, { "config": "config"; "form": "form"; "value": "value"; }, { "submitted": "submitted"; "valueChanges": "valueChanges"; "statusChanges": "statusChanges"; }, never, never, true>;
|
|
19
|
-
}
|
|
1
|
+
import { EventEmitter, ElementRef, OnInit } from '@angular/core';
|
|
2
|
+
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { ControlGroupValue, FormConfig } from '../utils';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class CrisprFormComponent implements OnInit {
|
|
7
|
+
config: FormConfig;
|
|
8
|
+
form: FormGroup;
|
|
9
|
+
value: ControlGroupValue;
|
|
10
|
+
submitted: EventEmitter<FormGroup<any>>;
|
|
11
|
+
valueChanges: Observable<any>;
|
|
12
|
+
statusChanges: Observable<string>;
|
|
13
|
+
submitTrigger: ElementRef<HTMLButtonElement>;
|
|
14
|
+
ngOnInit(): void;
|
|
15
|
+
handleSubmit(): void;
|
|
16
|
+
triggerSubmit(): void;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CrisprFormComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CrisprFormComponent, "crispr-form", never, { "config": { "alias": "config"; "required": false; }; "form": { "alias": "form"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "submitted": "submitted"; "valueChanges": "valueChanges"; "statusChanges": "statusChanges"; }, never, never, true, never>;
|
|
19
|
+
}
|
|
@@ -1,36 +1,40 @@
|
|
|
1
|
-
import { OnInit, ChangeDetectorRef } from '@angular/core';
|
|
2
|
-
import { FormGroup, FormArray } from '@angular/forms';
|
|
3
|
-
import { FormGroupListConfig } from '
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
declare const FormGroupListMixin:
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
*
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
1
|
+
import { OnInit, ChangeDetectorRef } from '@angular/core';
|
|
2
|
+
import { FormGroup, FormArray } from '@angular/forms';
|
|
3
|
+
import { FormGroupListConfig } from '../utils';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
declare const FormGroupListMixin: {
|
|
6
|
+
new (): {
|
|
7
|
+
config: FormGroupListConfig;
|
|
8
|
+
group: FormGroup<any>;
|
|
9
|
+
control: import("@angular/forms").AbstractControl<any, any>;
|
|
10
|
+
_value: any;
|
|
11
|
+
value: any;
|
|
12
|
+
ngOnInit(): void;
|
|
13
|
+
setControlValue(value: any): void;
|
|
14
|
+
defaultConfig?: Partial<FormGroupListConfig>;
|
|
15
|
+
applyDefaultConfig(): void;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
export declare class FormGroupListComponent extends FormGroupListMixin implements OnInit {
|
|
19
|
+
private cdr;
|
|
20
|
+
defaultConfig: Partial<FormGroupListConfig>;
|
|
21
|
+
group: FormGroup;
|
|
22
|
+
control: FormArray;
|
|
23
|
+
/**
|
|
24
|
+
* By setting this to true when adding/removing items from array,
|
|
25
|
+
* we can block original values from overwriting form values
|
|
26
|
+
* */
|
|
27
|
+
blockValue: boolean;
|
|
28
|
+
selectedIndex: number;
|
|
29
|
+
constructor(cdr: ChangeDetectorRef);
|
|
30
|
+
ngOnInit(): void;
|
|
31
|
+
setControlValue(values: any[]): void;
|
|
32
|
+
clickDelete(index: number): void;
|
|
33
|
+
clickAdd(): void;
|
|
34
|
+
addGroup(value?: any): void;
|
|
35
|
+
deleteGroup(index: number): void;
|
|
36
|
+
clickEditItem(index: number): void;
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormGroupListComponent, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormGroupListComponent, "crispr-form-group-list", never, {}, {}, never, never, true, never>;
|
|
39
|
+
}
|
|
40
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './form-group-list.component';
|
|
1
|
+
export * from './form-group-list.component';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./initial-control-value.pipe";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
export declare class CrisprPipesModule {
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CrisprPipesModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CrisprPipesModule, [typeof i1.InitialControlValuePipe], [typeof i2.CommonModule], [typeof i1.InitialControlValuePipe]>;
|
|
7
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<CrisprPipesModule>;
|
|
8
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./initial-control-value.pipe";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
export declare class CrisprPipesModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CrisprPipesModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CrisprPipesModule, [typeof i1.InitialControlValuePipe], [typeof i2.CommonModule], [typeof i1.InitialControlValuePipe]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CrisprPipesModule>;
|
|
8
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { ControlValue, AnyFieldConfig } from '
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class InitialControlValuePipe implements PipeTransform {
|
|
5
|
-
transform(initialFormValue: {
|
|
6
|
-
[key: string]: ControlValue | any;
|
|
7
|
-
}, fieldConfig: AnyFieldConfig): unknown;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InitialControlValuePipe, never>;
|
|
9
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<InitialControlValuePipe, "initialControlValue", false>;
|
|
10
|
-
}
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { ControlValue, AnyFieldConfig } from '../utils';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class InitialControlValuePipe implements PipeTransform {
|
|
5
|
+
transform(initialFormValue: {
|
|
6
|
+
[key: string]: ControlValue | any;
|
|
7
|
+
}, fieldConfig: AnyFieldConfig): unknown;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InitialControlValuePipe, never>;
|
|
9
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<InitialControlValuePipe, "initialControlValue", false>;
|
|
10
|
+
}
|
package/src/lib/public_api.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './crispr-forms.module';
|
|
2
|
-
export * from './form/form.component';
|
|
1
|
+
export * from './crispr-forms.module';
|
|
2
|
+
export * from './form/form.component';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './sub-group.component';
|
|
2
|
-
export * from './sub-group.module';
|
|
1
|
+
export * from './sub-group.component';
|
|
2
|
+
export * from './sub-group.module';
|
|
@@ -1,22 +1,24 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { FormGroup } from '@angular/forms';
|
|
3
|
-
import { SubGroupConfig } from '
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
declare const FormGroupMixin:
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import { SubGroupConfig } from '../utils';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
declare const FormGroupMixin: {
|
|
6
|
+
new (): {
|
|
7
|
+
config: SubGroupConfig;
|
|
8
|
+
group: FormGroup<any>;
|
|
9
|
+
control: import("@angular/forms").AbstractControl<any, any>;
|
|
10
|
+
_value: any;
|
|
11
|
+
value: any;
|
|
12
|
+
ngOnInit(): void;
|
|
13
|
+
setControlValue(value: any): void;
|
|
14
|
+
defaultConfig?: Partial<SubGroupConfig>;
|
|
15
|
+
applyDefaultConfig(): void;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
export declare class SubGroupComponent extends FormGroupMixin implements OnInit {
|
|
19
|
+
group: FormGroup;
|
|
20
|
+
ngOnInit(): void;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SubGroupComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SubGroupComponent, "crispr-sub-group", never, {}, {}, never, never, false, never>;
|
|
23
|
+
}
|
|
24
|
+
export {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./sub-group.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "../field.directive";
|
|
5
|
-
import * as i4 from "
|
|
6
|
-
import * as i5 from "../pipes/crispr-pipes.module";
|
|
7
|
-
import * as i6 from "@tft/form-validation-handler";
|
|
8
|
-
export declare class SubGroupModule {
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SubGroupModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SubGroupModule, [typeof i1.SubGroupComponent], [typeof i2.CommonModule, typeof i3.CrisprFieldDirective, typeof i4.FieldContainerComponent, typeof i5.CrisprPipesModule, typeof i6.FormValidationHandlerModule], [typeof i1.SubGroupComponent]>;
|
|
11
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<SubGroupModule>;
|
|
12
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./sub-group.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../field.directive";
|
|
5
|
+
import * as i4 from "../ui/field-container/field-container.component";
|
|
6
|
+
import * as i5 from "../pipes/crispr-pipes.module";
|
|
7
|
+
import * as i6 from "@tft/form-validation-handler";
|
|
8
|
+
export declare class SubGroupModule {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SubGroupModule, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SubGroupModule, [typeof i1.SubGroupComponent], [typeof i2.CommonModule, typeof i3.CrisprFieldDirective, typeof i4.FieldContainerComponent, typeof i5.CrisprPipesModule, typeof i6.FormValidationHandlerModule], [typeof i1.SubGroupComponent]>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SubGroupModule>;
|
|
12
|
+
}
|
package/{ui → src/lib/ui}/autocomplete-chiplist-field/autocomplete-chiplist-field.component.d.ts
RENAMED
|
@@ -1,33 +1,36 @@
|
|
|
1
|
-
import { OnInit, ElementRef } from '@angular/core';
|
|
2
|
-
import { MatAutocompleteSelectedEvent, MatAutocompleteTrigger } from '@angular/material/autocomplete';
|
|
3
|
-
import { Observable, BehaviorSubject } from 'rxjs';
|
|
4
|
-
import { MatChipInputEvent } from '@angular/material/chips';
|
|
5
|
-
import { AutocompleteChiplistFieldConfig, AbstractAutocompleteComponent, SelectOption } from '
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class AutocompleteChiplistFieldComponent extends AbstractAutocompleteComponent<AutocompleteChiplistFieldConfig> implements OnInit {
|
|
8
|
-
defaultConfig: Partial<AutocompleteChiplistFieldConfig>;
|
|
9
|
-
chips$: BehaviorSubject<SelectOption[]>;
|
|
10
|
-
remainingOptions$: Observable<SelectOption[]>;
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
1
|
+
import { OnInit, ElementRef } from '@angular/core';
|
|
2
|
+
import { MatAutocompleteSelectedEvent, MatAutocompleteTrigger } from '@angular/material/autocomplete';
|
|
3
|
+
import { Observable, BehaviorSubject } from 'rxjs';
|
|
4
|
+
import { MatChipInputEvent } from '@angular/material/chips';
|
|
5
|
+
import { AutocompleteChiplistFieldConfig, AbstractAutocompleteComponent, SelectOption } from '../../utils';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class AutocompleteChiplistFieldComponent extends AbstractAutocompleteComponent<AutocompleteChiplistFieldConfig> implements OnInit {
|
|
8
|
+
defaultConfig: Partial<AutocompleteChiplistFieldConfig>;
|
|
9
|
+
chips$: BehaviorSubject<SelectOption[]>;
|
|
10
|
+
remainingOptions$: Observable<SelectOption[]>;
|
|
11
|
+
selectedChip: SelectOption;
|
|
12
|
+
controlValue$: Observable<SelectOption[]>;
|
|
13
|
+
chipInput: MatAutocompleteTrigger;
|
|
14
|
+
chipInputRef: ElementRef<HTMLInputElement>;
|
|
15
|
+
ngOnInit(): void;
|
|
16
|
+
setControlValue(value: SelectOption[]): void;
|
|
17
|
+
handleSelect(event: MatAutocompleteSelectedEvent): void;
|
|
18
|
+
/**
|
|
19
|
+
* To follow ARIA standards we want to select the active option on blur.
|
|
20
|
+
* matChipInputAddOnBlur should do this but it causes buggy behaviour
|
|
21
|
+
* @param event blur event that triggers the handle blur
|
|
22
|
+
*/
|
|
23
|
+
handleTab(_event: FocusEvent): void;
|
|
24
|
+
/**
|
|
25
|
+
* Handles selection via key tokens passed through separatorKeyCodes property
|
|
26
|
+
* NOTE: If TAB is used focus does not move on to next component
|
|
27
|
+
* @param event
|
|
28
|
+
*/
|
|
29
|
+
handleTokenEnd(event: MatChipInputEvent): void;
|
|
30
|
+
mapToLabel(option: SelectOption): string;
|
|
31
|
+
removeChip(removedChip: SelectOption): void;
|
|
32
|
+
highlightChip(chip: SelectOption): void;
|
|
33
|
+
blurField(): void;
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteChiplistFieldComponent, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AutocompleteChiplistFieldComponent, "crispr-autocomplete-chiplist-field", never, {}, {}, never, never, true, never>;
|
|
36
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './public-api';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './autocomplete-chiplist-field.component';
|
|
1
|
+
export * from './autocomplete-chiplist-field.component';
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { OnInit, ElementRef, OnDestroy } from '@angular/core';
|
|
2
|
-
import { MatAutocompleteTrigger, MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
|
|
3
|
-
import { Subscription } from 'rxjs';
|
|
4
|
-
import { SelectOption, AbstractAutocompleteComponent, AutocompleteFieldConfig } from '
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class AutocompleteFieldComponent extends AbstractAutocompleteComponent<AutocompleteFieldConfig> implements OnInit, OnDestroy {
|
|
7
|
-
defaultConfig: Partial<AutocompleteFieldConfig>;
|
|
8
|
-
autoInput: MatAutocompleteTrigger;
|
|
9
|
-
autoInputRef: ElementRef<HTMLInputElement>;
|
|
10
|
-
clearFieldSubscription: Subscription;
|
|
11
|
-
ngOnInit(): void;
|
|
12
|
-
ngOnDestroy(): void;
|
|
13
|
-
setControlValue(value: SelectOption): void;
|
|
14
|
-
/**
|
|
15
|
-
* The material autocomplete defaults to displaying the options value instead of its label.
|
|
16
|
-
* We only have the value from the selected option to work with, so we have to pass the options
|
|
17
|
-
* through a function called in the template and return the function that the material displayWith
|
|
18
|
-
* input is expecting.
|
|
19
|
-
* @param options the array of options to search for option with corresponding value
|
|
20
|
-
*/
|
|
21
|
-
displayLabel(options: SelectOption[]): (value: unknown) => string;
|
|
22
|
-
handleSelect(event: MatAutocompleteSelectedEvent): void;
|
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteFieldComponent, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AutocompleteFieldComponent, "crispr-autocomplete-field", never, {}, {}, never, never, true>;
|
|
25
|
-
}
|
|
1
|
+
import { OnInit, ElementRef, OnDestroy } from '@angular/core';
|
|
2
|
+
import { MatAutocompleteTrigger, MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
|
|
3
|
+
import { Subscription } from 'rxjs';
|
|
4
|
+
import { SelectOption, AbstractAutocompleteComponent, AutocompleteFieldConfig } from '../../utils';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class AutocompleteFieldComponent extends AbstractAutocompleteComponent<AutocompleteFieldConfig> implements OnInit, OnDestroy {
|
|
7
|
+
defaultConfig: Partial<AutocompleteFieldConfig>;
|
|
8
|
+
autoInput: MatAutocompleteTrigger;
|
|
9
|
+
autoInputRef: ElementRef<HTMLInputElement>;
|
|
10
|
+
clearFieldSubscription: Subscription;
|
|
11
|
+
ngOnInit(): void;
|
|
12
|
+
ngOnDestroy(): void;
|
|
13
|
+
setControlValue(value: SelectOption): void;
|
|
14
|
+
/**
|
|
15
|
+
* The material autocomplete defaults to displaying the options value instead of its label.
|
|
16
|
+
* We only have the value from the selected option to work with, so we have to pass the options
|
|
17
|
+
* through a function called in the template and return the function that the material displayWith
|
|
18
|
+
* input is expecting.
|
|
19
|
+
* @param options the array of options to search for option with corresponding value
|
|
20
|
+
*/
|
|
21
|
+
displayLabel(options: SelectOption[]): (value: unknown) => string;
|
|
22
|
+
handleSelect(event: MatAutocompleteSelectedEvent): void;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteFieldComponent, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AutocompleteFieldComponent, "crispr-autocomplete-field", never, {}, {}, never, never, true, never>;
|
|
25
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './public-api';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './autocomplete-field.component';
|
|
1
|
+
export * from './autocomplete-field.component';
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { FormGroup } from '@angular/forms';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
import { CrisprFieldComponent, ButtonConfig } from '
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class ButtonComponent extends CrisprFieldComponent<ButtonConfig> implements OnInit {
|
|
7
|
-
group: FormGroup;
|
|
8
|
-
defaultConfig: Partial<ButtonConfig>;
|
|
9
|
-
formValid$: Observable<boolean>;
|
|
10
|
-
get matButtonClass(): string;
|
|
11
|
-
ngOnInit(): void;
|
|
12
|
-
handleClick(group: FormGroup, event: MouseEvent): void;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "crispr-button", never, {}, {}, never, never, true>;
|
|
15
|
-
}
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { CrisprFieldComponent, ButtonConfig } from '../../utils';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class ButtonComponent extends CrisprFieldComponent<ButtonConfig> implements OnInit {
|
|
7
|
+
group: FormGroup;
|
|
8
|
+
defaultConfig: Partial<ButtonConfig>;
|
|
9
|
+
formValid$: Observable<boolean>;
|
|
10
|
+
get matButtonClass(): string;
|
|
11
|
+
ngOnInit(): void;
|
|
12
|
+
handleClick(group: FormGroup, event: MouseEvent): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "crispr-button", never, {}, {}, never, never, true, never>;
|
|
15
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './public-api';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './button.component';
|
|
1
|
+
export * from './button.component';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { CheckboxFieldConfig } from '../../utils';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
declare const CheckboxFieldMixin: {
|
|
5
|
+
new (): {
|
|
6
|
+
config: CheckboxFieldConfig;
|
|
7
|
+
group: import("@angular/forms").FormGroup<any>;
|
|
8
|
+
control: import("@angular/forms").AbstractControl<any, any>;
|
|
9
|
+
_value: any;
|
|
10
|
+
value: any;
|
|
11
|
+
ngOnInit(): void;
|
|
12
|
+
setControlValue(value: any): void;
|
|
13
|
+
defaultConfig?: Partial<CheckboxFieldConfig>;
|
|
14
|
+
applyDefaultConfig(): void;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
export declare class CheckboxFieldComponent extends CheckboxFieldMixin implements OnInit {
|
|
18
|
+
defaultConfig: Partial<CheckboxFieldConfig>;
|
|
19
|
+
ngOnInit(): void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxFieldComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxFieldComponent, "crispr-checkbox-field", never, {}, {}, never, never, true, never>;
|
|
22
|
+
}
|
|
23
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './public-api';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './checkbox-field.component';
|
|
1
|
+
export * from './checkbox-field.component';
|
|
@@ -1,30 +1,32 @@
|
|
|
1
|
-
import { OnInit, AfterContentInit } from '@angular/core';
|
|
2
|
-
import { MatCalendarCellClassFunction } from '@angular/material/datepicker';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
import { Portal } from '@angular/cdk/portal';
|
|
5
|
-
import { DatepickerFieldConfig } from '
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
declare const DatepickerFieldMixin:
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
1
|
+
import { OnInit, AfterContentInit } from '@angular/core';
|
|
2
|
+
import { MatCalendarCellClassFunction } from '@angular/material/datepicker';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { Portal } from '@angular/cdk/portal';
|
|
5
|
+
import { DatepickerFieldConfig } from '../../utils';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
declare const DatepickerFieldMixin: {
|
|
8
|
+
new (): {
|
|
9
|
+
config: DatepickerFieldConfig;
|
|
10
|
+
group: import("@angular/forms").FormGroup<any>;
|
|
11
|
+
control: import("@angular/forms").AbstractControl<any, any>;
|
|
12
|
+
_value: any;
|
|
13
|
+
value: any;
|
|
14
|
+
ngOnInit(): void;
|
|
15
|
+
setControlValue(value: any): void;
|
|
16
|
+
defaultConfig?: Partial<DatepickerFieldConfig>;
|
|
17
|
+
applyDefaultConfig(): void;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
export declare class DatepickerFieldComponent extends DatepickerFieldMixin implements OnInit, AfterContentInit {
|
|
21
|
+
defaultConfig: Partial<DatepickerFieldConfig>;
|
|
22
|
+
dateClass: MatCalendarCellClassFunction<Date>;
|
|
23
|
+
dateClass$: Observable<MatCalendarCellClassFunction<Date>>;
|
|
24
|
+
startAt$: Observable<Date>;
|
|
25
|
+
/** A portal containing the footer component type for this calendar. */
|
|
26
|
+
calendarFooterPortal: Portal<any>;
|
|
27
|
+
ngOnInit(): void;
|
|
28
|
+
ngAfterContentInit(): void;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DatepickerFieldComponent, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DatepickerFieldComponent, "crispr-datepicker-field", never, {}, {}, never, never, true, never>;
|
|
31
|
+
}
|
|
32
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './public-api';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './datepicker-field.component';
|
|
1
|
+
export * from './datepicker-field.component';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { CrisprFieldComponent, DividerConfig } from '
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class DividerComponent extends CrisprFieldComponent<DividerConfig> implements OnInit {
|
|
5
|
-
defaultConfig: {};
|
|
6
|
-
ngOnInit(): void;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DividerComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DividerComponent, "crispr-divider", never, {}, {}, never, never, true>;
|
|
9
|
-
}
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { CrisprFieldComponent, DividerConfig } from '../../utils';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class DividerComponent extends CrisprFieldComponent<DividerConfig> implements OnInit {
|
|
5
|
+
defaultConfig: {};
|
|
6
|
+
ngOnInit(): void;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DividerComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DividerComponent, "crispr-divider", never, {}, {}, never, never, true, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './public-api';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './divider.component';
|
|
1
|
+
export * from './divider.component';
|