master-control 0.2.14 → 0.2.15
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/lib/add-document/add-document.component.mjs +18 -0
- package/esm2022/lib/addition-button/addition-button.component.mjs +14 -0
- package/esm2022/lib/age-date/age-date.component.mjs +132 -0
- package/esm2022/lib/amount-textbox/amount-textbox.component.mjs +63 -0
- package/esm2022/lib/annuity-rate-logo/annuity-rate-logo.component.mjs +15 -0
- package/esm2022/lib/autocomplete/autocomplete.component.mjs +90 -0
- package/esm2022/lib/benefit-card/benefit-card.component.mjs +14 -0
- package/esm2022/lib/button/button.component.mjs +19 -0
- package/esm2022/lib/card/card.component.mjs +14 -0
- package/esm2022/lib/checkbox/checkbox.component.mjs +79 -0
- package/esm2022/lib/discount/discount.component.mjs +14 -0
- package/esm2022/lib/discount-v2/discount-v2.component.mjs +16 -0
- package/esm2022/lib/dob/dob.component.mjs +118 -0
- package/esm2022/lib/download-document/download-document.component.mjs +18 -0
- package/esm2022/lib/email-with-domain/email-with-domain.component.mjs +60 -0
- package/esm2022/lib/error-snackbar/error-snackbar.component.mjs +21 -0
- package/esm2022/lib/grey-label/grey-label.component.mjs +14 -0
- package/esm2022/lib/header/header.component.mjs +14 -0
- package/esm2022/lib/hr-line/hr-line.component.mjs +14 -0
- package/esm2022/lib/hyperlink/hyperlink.component.mjs +14 -0
- package/esm2022/lib/icon-button/icon-button.component.mjs +14 -0
- package/esm2022/lib/iframe/iframe.component.mjs +32 -0
- package/esm2022/lib/image/image.component.mjs +14 -0
- package/esm2022/lib/image-upload/image-upload.component.mjs +18 -0
- package/esm2022/lib/in-built-benefit/in-built-benefit.component.mjs +20 -0
- package/esm2022/lib/info/info.component.mjs +19 -0
- package/esm2022/lib/info-textbox/info-textbox.component.mjs +62 -0
- package/esm2022/lib/label/label.component.mjs +14 -0
- package/esm2022/lib/label-value-card/label-value-card.component.mjs +15 -0
- package/esm2022/lib/loader/loader.component.mjs +14 -0
- package/esm2022/lib/master-control.component.mjs +142 -0
- package/esm2022/lib/master-control.service.mjs +212 -0
- package/esm2022/lib/medial-questions/medial-questions.component.mjs +40283 -0
- package/esm2022/lib/mob-number/mob-number.component.mjs +65 -0
- package/esm2022/lib/multiple-select/multiple-select.component.mjs +119 -0
- package/esm2022/lib/neutral-snackbar/neutral-snackbar.component.mjs +21 -0
- package/esm2022/lib/other-benefits/other-benefits.component.mjs +14 -0
- package/esm2022/lib/otp-mob-number/otp-mob-number.component.mjs +63 -0
- package/esm2022/lib/otp-textbox/otp-textbox.component.mjs +68 -0
- package/esm2022/lib/page-nudge/page-nudge.component.mjs +14 -0
- package/esm2022/lib/pay-get-card/pay-get-card.component.mjs +29 -0
- package/esm2022/lib/radio/radio.component.mjs +58 -0
- package/esm2022/lib/search-multi-select/search-multi-select.component.mjs +127 -0
- package/esm2022/lib/select/select.component.mjs +99 -0
- package/esm2022/lib/select-textbox/select-textbox.component.mjs +83 -0
- package/esm2022/lib/stepper/stepper.component.mjs +25 -0
- package/esm2022/lib/sub-header/sub-header.component.mjs +14 -0
- package/esm2022/lib/subscript-textbox/subscript-textbox.component.mjs +62 -0
- package/esm2022/lib/success-snackbar/success-snackbar.component.mjs +21 -0
- package/esm2022/lib/suffix-textbox/suffix-textbox.component.mjs +65 -0
- package/esm2022/lib/tab/tab.component.mjs +32 -0
- package/esm2022/lib/table/table.component.mjs +82 -0
- package/esm2022/lib/tag-mob-number/tag-mob-number.component.mjs +66 -0
- package/esm2022/lib/textarea/textarea.component.mjs +20 -0
- package/esm2022/lib/textbox/textbox.component.mjs +67 -0
- package/esm2022/lib/textbox-with-image/textbox-with-image.component.mjs +57 -0
- package/esm2022/lib/textbox-with-text/textbox-with-text.component.mjs +58 -0
- package/esm2022/lib/textbox-with-underscore/textbox-with-underscore.component.mjs +71 -0
- package/esm2022/lib/toggle/toggle.component.mjs +20 -0
- package/esm2022/lib/toggle-button/toggle-button.component.mjs +16 -0
- package/esm2022/lib/underscore-mob-number/underscore-mob-number.component.mjs +74 -0
- package/esm2022/lib/upload/upload.component.mjs +24 -0
- package/esm2022/lib/warning-snackbar/warning-snackbar.component.mjs +21 -0
- package/esm2022/master-control.mjs +5 -0
- package/esm2022/public-api.mjs +60 -0
- package/fesm2022/master-control.mjs +42689 -0
- package/fesm2022/master-control.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/add-document/add-document.component.d.ts +6 -0
- package/lib/addition-button/addition-button.component.d.ts +6 -0
- package/lib/age-date/age-date.component.d.ts +20 -0
- package/lib/amount-textbox/amount-textbox.component.d.ts +17 -0
- package/lib/annuity-rate-logo/annuity-rate-logo.component.d.ts +7 -0
- package/lib/autocomplete/autocomplete.component.d.ts +25 -0
- package/lib/benefit-card/benefit-card.component.d.ts +6 -0
- package/lib/button/button.component.d.ts +9 -0
- package/lib/card/card.component.d.ts +6 -0
- package/lib/checkbox/checkbox.component.d.ts +20 -0
- package/lib/discount/discount.component.d.ts +6 -0
- package/lib/discount-v2/discount-v2.component.d.ts +6 -0
- package/lib/dob/dob.component.d.ts +32 -0
- package/lib/download-document/download-document.component.d.ts +6 -0
- package/lib/email-with-domain/email-with-domain.component.d.ts +19 -0
- package/lib/error-snackbar/error-snackbar.component.d.ts +10 -0
- package/lib/grey-label/grey-label.component.d.ts +6 -0
- package/lib/header/header.component.d.ts +6 -0
- package/lib/hr-line/hr-line.component.d.ts +6 -0
- package/lib/hyperlink/hyperlink.component.d.ts +6 -0
- package/lib/icon-button/icon-button.component.d.ts +6 -0
- package/lib/iframe/iframe.component.d.ts +13 -0
- package/lib/image/image.component.d.ts +6 -0
- package/lib/image-upload/image-upload.component.d.ts +6 -0
- package/lib/in-built-benefit/in-built-benefit.component.d.ts +8 -0
- package/lib/info/info.component.d.ts +9 -0
- package/lib/info-textbox/info-textbox.component.d.ts +16 -0
- package/lib/label/label.component.d.ts +6 -0
- package/lib/label-value-card/label-value-card.component.d.ts +7 -0
- package/lib/loader/loader.component.d.ts +6 -0
- package/lib/master-control.component.d.ts +9 -0
- package/lib/master-control.service.d.ts +11 -0
- package/lib/medial-questions/medial-questions.component.d.ts +63 -0
- package/lib/mob-number/mob-number.component.d.ts +21 -0
- package/lib/multiple-select/multiple-select.component.d.ts +27 -0
- package/lib/neutral-snackbar/neutral-snackbar.component.d.ts +10 -0
- package/lib/other-benefits/other-benefits.component.d.ts +6 -0
- package/lib/otp-mob-number/otp-mob-number.component.d.ts +17 -0
- package/lib/otp-textbox/otp-textbox.component.d.ts +17 -0
- package/lib/page-nudge/page-nudge.component.d.ts +6 -0
- package/lib/pay-get-card/pay-get-card.component.d.ts +11 -0
- package/lib/radio/radio.component.d.ts +18 -0
- package/lib/search-multi-select/search-multi-select.component.d.ts +27 -0
- package/lib/select/select.component.d.ts +22 -0
- package/lib/select-textbox/select-textbox.component.d.ts +17 -0
- package/lib/stepper/stepper.component.d.ts +11 -0
- package/lib/sub-header/sub-header.component.d.ts +6 -0
- package/lib/subscript-textbox/subscript-textbox.component.d.ts +16 -0
- package/lib/success-snackbar/success-snackbar.component.d.ts +10 -0
- package/lib/suffix-textbox/suffix-textbox.component.d.ts +16 -0
- package/lib/tab/tab.component.d.ts +14 -0
- package/lib/table/table.component.d.ts +23 -0
- package/lib/tag-mob-number/tag-mob-number.component.d.ts +17 -0
- package/lib/textarea/textarea.component.d.ts +9 -0
- package/lib/textbox/textbox.component.d.ts +20 -0
- package/lib/textbox-with-image/textbox-with-image.component.d.ts +16 -0
- package/lib/textbox-with-text/textbox-with-text.component.d.ts +16 -0
- package/lib/textbox-with-underscore/textbox-with-underscore.component.d.ts +18 -0
- package/lib/toggle/toggle.component.d.ts +9 -0
- package/lib/toggle-button/toggle-button.component.d.ts +6 -0
- package/lib/underscore-mob-number/underscore-mob-number.component.d.ts +19 -0
- package/lib/upload/upload.component.d.ts +9 -0
- package/lib/warning-snackbar/warning-snackbar.component.d.ts +10 -0
- package/master-control-0.2.15.tgz +0 -0
- package/package.json +25 -12
- package/{src/public-api.ts → public-api.d.ts} +56 -60
- package/ng-package.json +0 -7
- package/src/lib/add-document/add-document.component.css +0 -50
- package/src/lib/add-document/add-document.component.html +0 -31
- package/src/lib/add-document/add-document.component.ts +0 -17
- package/src/lib/addition-button/addition-button.component.css +0 -16
- package/src/lib/addition-button/addition-button.component.html +0 -20
- package/src/lib/addition-button/addition-button.component.ts +0 -13
- package/src/lib/age-date/age-date.component.css +0 -126
- package/src/lib/age-date/age-date.component.html +0 -82
- package/src/lib/age-date/age-date.component.ts +0 -104
- package/src/lib/amount-textbox/amount-textbox.component.css +0 -131
- package/src/lib/amount-textbox/amount-textbox.component.html +0 -69
- package/src/lib/amount-textbox/amount-textbox.component.ts +0 -53
- package/src/lib/annuity-rate-logo/annuity-rate-logo.component.css +0 -9
- package/src/lib/annuity-rate-logo/annuity-rate-logo.component.html +0 -6
- package/src/lib/annuity-rate-logo/annuity-rate-logo.component.ts +0 -13
- package/src/lib/autocomplete/autocomplete.component.css +0 -240
- package/src/lib/autocomplete/autocomplete.component.html +0 -61
- package/src/lib/autocomplete/autocomplete.component.ts +0 -85
- package/src/lib/benefit-card/benefit-card.component.css +0 -46
- package/src/lib/benefit-card/benefit-card.component.html +0 -25
- package/src/lib/benefit-card/benefit-card.component.ts +0 -13
- package/src/lib/button/button.component.css +0 -24
- package/src/lib/button/button.component.html +0 -22
- package/src/lib/button/button.component.ts +0 -16
- package/src/lib/card/card.component.css +0 -37
- package/src/lib/card/card.component.html +0 -24
- package/src/lib/card/card.component.ts +0 -13
- package/src/lib/checkbox/checkbox.component.css +0 -65
- package/src/lib/checkbox/checkbox.component.html +0 -23
- package/src/lib/checkbox/checkbox.component.ts +0 -70
- package/src/lib/discount/discount.component.css +0 -45
- package/src/lib/discount/discount.component.html +0 -51
- package/src/lib/discount/discount.component.ts +0 -14
- package/src/lib/discount-v2/discount-v2.component.css +0 -34
- package/src/lib/discount-v2/discount-v2.component.html +0 -20
- package/src/lib/discount-v2/discount-v2.component.ts +0 -14
- package/src/lib/dob/dob.component.css +0 -117
- package/src/lib/dob/dob.component.html +0 -88
- package/src/lib/dob/dob.component.ts +0 -107
- package/src/lib/download-document/download-document.component.css +0 -53
- package/src/lib/download-document/download-document.component.html +0 -38
- package/src/lib/download-document/download-document.component.ts +0 -17
- package/src/lib/email-with-domain/email-with-domain.component.css +0 -130
- package/src/lib/email-with-domain/email-with-domain.component.html +0 -73
- package/src/lib/email-with-domain/email-with-domain.component.ts +0 -51
- package/src/lib/error-snackbar/error-snackbar.component.css +0 -36
- package/src/lib/error-snackbar/error-snackbar.component.html +0 -21
- package/src/lib/error-snackbar/error-snackbar.component.ts +0 -19
- package/src/lib/grey-label/grey-label.component.css +0 -13
- package/src/lib/grey-label/grey-label.component.html +0 -7
- package/src/lib/grey-label/grey-label.component.ts +0 -13
- package/src/lib/header/header.component.css +0 -13
- package/src/lib/header/header.component.html +0 -9
- package/src/lib/header/header.component.ts +0 -14
- package/src/lib/hr-line/hr-line.component.css +0 -13
- package/src/lib/hr-line/hr-line.component.html +0 -7
- package/src/lib/hr-line/hr-line.component.ts +0 -13
- package/src/lib/hyperlink/hyperlink.component.css +0 -18
- package/src/lib/hyperlink/hyperlink.component.html +0 -8
- package/src/lib/hyperlink/hyperlink.component.ts +0 -13
- package/src/lib/icon-button/icon-button.component.css +0 -20
- package/src/lib/icon-button/icon-button.component.html +0 -17
- package/src/lib/icon-button/icon-button.component.ts +0 -13
- package/src/lib/iframe/iframe.component.css +0 -0
- package/src/lib/iframe/iframe.component.html +0 -7
- package/src/lib/iframe/iframe.component.ts +0 -32
- package/src/lib/image/image.component.css +0 -7
- package/src/lib/image/image.component.html +0 -3
- package/src/lib/image/image.component.ts +0 -13
- package/src/lib/image-upload/image-upload.component.css +0 -67
- package/src/lib/image-upload/image-upload.component.html +0 -61
- package/src/lib/image-upload/image-upload.component.ts +0 -17
- package/src/lib/in-built-benefit/in-built-benefit.component.css +0 -58
- package/src/lib/in-built-benefit/in-built-benefit.component.html +0 -30
- package/src/lib/in-built-benefit/in-built-benefit.component.ts +0 -16
- package/src/lib/info/info.component.css +0 -25
- package/src/lib/info/info.component.html +0 -21
- package/src/lib/info/info.component.ts +0 -15
- package/src/lib/info-textbox/info-textbox.component.css +0 -121
- package/src/lib/info-textbox/info-textbox.component.html +0 -83
- package/src/lib/info-textbox/info-textbox.component.ts +0 -52
- package/src/lib/label/label.component.css +0 -13
- package/src/lib/label/label.component.html +0 -7
- package/src/lib/label/label.component.ts +0 -14
- package/src/lib/label-value-card/label-value-card.component.css +0 -34
- package/src/lib/label-value-card/label-value-card.component.html +0 -12
- package/src/lib/label-value-card/label-value-card.component.ts +0 -15
- package/src/lib/loader/loader.component.css +0 -127
- package/src/lib/loader/loader.component.html +0 -37
- package/src/lib/loader/loader.component.spec.ts +0 -23
- package/src/lib/loader/loader.component.ts +0 -13
- package/src/lib/master-control.component.css +0 -0
- package/src/lib/master-control.component.html +0 -216
- package/src/lib/master-control.component.spec.ts +0 -23
- package/src/lib/master-control.component.ts +0 -143
- package/src/lib/master-control.service.spec.ts +0 -16
- package/src/lib/master-control.service.ts +0 -214
- package/src/lib/medial-questions/medial-questions.component.css +0 -52
- package/src/lib/medial-questions/medial-questions.component.html +0 -250
- package/src/lib/medial-questions/medial-questions.component.ts +0 -40371
- package/src/lib/medial-questions/questions.json +0 -39682
- package/src/lib/mob-number/mob-number.component.css +0 -141
- package/src/lib/mob-number/mob-number.component.html +0 -82
- package/src/lib/mob-number/mob-number.component.ts +0 -53
- package/src/lib/multiple-select/multiple-select.component.css +0 -331
- package/src/lib/multiple-select/multiple-select.component.html +0 -100
- package/src/lib/multiple-select/multiple-select.component.ts +0 -115
- package/src/lib/neutral-snackbar/neutral-snackbar.component.css +0 -31
- package/src/lib/neutral-snackbar/neutral-snackbar.component.html +0 -21
- package/src/lib/neutral-snackbar/neutral-snackbar.component.ts +0 -19
- package/src/lib/other-benefits/other-benefits.component.css +0 -78
- package/src/lib/other-benefits/other-benefits.component.html +0 -21
- package/src/lib/other-benefits/other-benefits.component.ts +0 -13
- package/src/lib/otp-mob-number/otp-mob-number.component.css +0 -171
- package/src/lib/otp-mob-number/otp-mob-number.component.html +0 -101
- package/src/lib/otp-mob-number/otp-mob-number.component.ts +0 -54
- package/src/lib/otp-textbox/otp-textbox.component.css +0 -168
- package/src/lib/otp-textbox/otp-textbox.component.html +0 -84
- package/src/lib/otp-textbox/otp-textbox.component.ts +0 -57
- package/src/lib/page-nudge/page-nudge.component.css +0 -35
- package/src/lib/page-nudge/page-nudge.component.html +0 -13
- package/src/lib/page-nudge/page-nudge.component.ts +0 -13
- package/src/lib/pay-get-card/pay-get-card.component.css +0 -36
- package/src/lib/pay-get-card/pay-get-card.component.html +0 -20
- package/src/lib/pay-get-card/pay-get-card.component.ts +0 -18
- package/src/lib/radio/radio.component.css +0 -57
- package/src/lib/radio/radio.component.html +0 -37
- package/src/lib/radio/radio.component.ts +0 -55
- package/src/lib/search-multi-select/search-multi-select.component.css +0 -325
- package/src/lib/search-multi-select/search-multi-select.component.html +0 -125
- package/src/lib/search-multi-select/search-multi-select.component.ts +0 -164
- package/src/lib/select/select.component.css +0 -246
- package/src/lib/select/select.component.html +0 -72
- package/src/lib/select/select.component.ts +0 -95
- package/src/lib/select-textbox/select-textbox.component.css +0 -262
- package/src/lib/select-textbox/select-textbox.component.html +0 -77
- package/src/lib/select-textbox/select-textbox.component.ts +0 -72
- package/src/lib/stepper/stepper.component.css +0 -25
- package/src/lib/stepper/stepper.component.html +0 -16
- package/src/lib/stepper/stepper.component.ts +0 -20
- package/src/lib/sub-header/sub-header.component.css +0 -13
- package/src/lib/sub-header/sub-header.component.html +0 -9
- package/src/lib/sub-header/sub-header.component.ts +0 -13
- package/src/lib/subscript-textbox/subscript-textbox.component.css +0 -139
- package/src/lib/subscript-textbox/subscript-textbox.component.html +0 -85
- package/src/lib/subscript-textbox/subscript-textbox.component.ts +0 -53
- package/src/lib/success-snackbar/success-snackbar.component.css +0 -32
- package/src/lib/success-snackbar/success-snackbar.component.html +0 -21
- package/src/lib/success-snackbar/success-snackbar.component.ts +0 -19
- package/src/lib/suffix-textbox/suffix-textbox.component.css +0 -157
- package/src/lib/suffix-textbox/suffix-textbox.component.html +0 -84
- package/src/lib/suffix-textbox/suffix-textbox.component.ts +0 -54
- package/src/lib/tab/tab.component.css +0 -19
- package/src/lib/tab/tab.component.html +0 -17
- package/src/lib/tab/tab.component.ts +0 -27
- package/src/lib/table/table.component.css +0 -121
- package/src/lib/table/table.component.html +0 -41
- package/src/lib/table/table.component.spec.ts +0 -23
- package/src/lib/table/table.component.ts +0 -84
- package/src/lib/tag-mob-number/tag-mob-number.component.css +0 -167
- package/src/lib/tag-mob-number/tag-mob-number.component.html +0 -95
- package/src/lib/tag-mob-number/tag-mob-number.component.ts +0 -55
- package/src/lib/textarea/textarea.component.css +0 -34
- package/src/lib/textarea/textarea.component.html +0 -23
- package/src/lib/textarea/textarea.component.ts +0 -16
- package/src/lib/textbox/textbox.component.css +0 -118
- package/src/lib/textbox/textbox.component.html +0 -80
- package/src/lib/textbox/textbox.component.ts +0 -55
- package/src/lib/textbox-with-image/textbox-with-image.component.css +0 -118
- package/src/lib/textbox-with-image/textbox-with-image.component.html +0 -82
- package/src/lib/textbox-with-image/textbox-with-image.component.ts +0 -47
- package/src/lib/textbox-with-text/textbox-with-text.component.css +0 -124
- package/src/lib/textbox-with-text/textbox-with-text.component.html +0 -84
- package/src/lib/textbox-with-text/textbox-with-text.component.ts +0 -53
- package/src/lib/textbox-with-underscore/textbox-with-underscore.component.css +0 -121
- package/src/lib/textbox-with-underscore/textbox-with-underscore.component.html +0 -79
- package/src/lib/textbox-with-underscore/textbox-with-underscore.component.ts +0 -62
- package/src/lib/toggle/toggle.component.css +0 -101
- package/src/lib/toggle/toggle.component.html +0 -39
- package/src/lib/toggle/toggle.component.ts +0 -16
- package/src/lib/toggle-button/toggle-button.component.css +0 -87
- package/src/lib/toggle-button/toggle-button.component.html +0 -34
- package/src/lib/toggle-button/toggle-button.component.ts +0 -14
- package/src/lib/underscore-mob-number/underscore-mob-number.component.css +0 -147
- package/src/lib/underscore-mob-number/underscore-mob-number.component.html +0 -87
- package/src/lib/underscore-mob-number/underscore-mob-number.component.ts +0 -65
- package/src/lib/upload/upload.component.css +0 -81
- package/src/lib/upload/upload.component.html +0 -62
- package/src/lib/upload/upload.component.ts +0 -20
- package/src/lib/warning-snackbar/warning-snackbar.component.css +0 -29
- package/src/lib/warning-snackbar/warning-snackbar.component.html +0 -21
- package/src/lib/warning-snackbar/warning-snackbar.component.ts +0 -19
- package/tsconfig.lib.json +0 -15
- package/tsconfig.lib.prod.json +0 -11
- package/tsconfig.spec.json +0 -15
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
* {
|
|
2
|
-
font-family: "mulish" !important;
|
|
3
|
-
}
|
|
4
|
-
.field-lable{
|
|
5
|
-
font-size: 10px !important;
|
|
6
|
-
font-weight: 700 !important;
|
|
7
|
-
color: #444 !important;
|
|
8
|
-
margin-bottom: 0px !important;
|
|
9
|
-
}
|
|
10
|
-
.upload-label{
|
|
11
|
-
opacity: 0;
|
|
12
|
-
}
|
|
13
|
-
.upload-btn {
|
|
14
|
-
width: 100% !important;
|
|
15
|
-
height: 48px !important;
|
|
16
|
-
padding: 10px;
|
|
17
|
-
border-radius: 8px;
|
|
18
|
-
}
|
|
19
|
-
.upload-btn {
|
|
20
|
-
width: var(--upload-width , 100%) !important;
|
|
21
|
-
border-radius: var(--upload-border-radius , 8px) !important;
|
|
22
|
-
}
|
|
23
|
-
.lightbackground {
|
|
24
|
-
border-color: #999;
|
|
25
|
-
border-width: 1px;
|
|
26
|
-
border-style: dashed;
|
|
27
|
-
background: #ffffff;
|
|
28
|
-
color: #444;
|
|
29
|
-
font-size: 14px;
|
|
30
|
-
font-weight: 700;
|
|
31
|
-
}
|
|
32
|
-
.lightbackground {
|
|
33
|
-
border-color: var(--upload-border-color , #999) !important;
|
|
34
|
-
border-width: var(--upload-border-width , 1px) !important;
|
|
35
|
-
border-style: var(--upload-border-style , dashed) !important;
|
|
36
|
-
background: var(--upload-background-color , #ffffff) !important;
|
|
37
|
-
}
|
|
38
|
-
.successBackground {
|
|
39
|
-
border-color: var(--upload-focus-border-color , #ddd) !important;
|
|
40
|
-
background: var(--upload-focus-background-color , #fafafa) !important;
|
|
41
|
-
color: var(--upload-focus-font-color , #444) !important;
|
|
42
|
-
}
|
|
43
|
-
.upload-icon {
|
|
44
|
-
display: flex;
|
|
45
|
-
justify-content: center;
|
|
46
|
-
gap: 7px;
|
|
47
|
-
}
|
|
48
|
-
.upload-text{
|
|
49
|
-
color: #444 !important;
|
|
50
|
-
font-weight: 700 !important;
|
|
51
|
-
font-size: 14px !important;
|
|
52
|
-
}
|
|
53
|
-
.upload-text{
|
|
54
|
-
color: var(--upload-font-color , #444) !important;
|
|
55
|
-
font-size: var( --upload-font-size , 14px) !important;
|
|
56
|
-
font-weight: var(--upload-font-weight , 700) !important;
|
|
57
|
-
}
|
|
58
|
-
.right-icon {
|
|
59
|
-
display: flex;
|
|
60
|
-
gap: 10px;
|
|
61
|
-
margin-left: 0.5em;
|
|
62
|
-
}
|
|
63
|
-
.left-icon {
|
|
64
|
-
display: flex;
|
|
65
|
-
gap: 15px;
|
|
66
|
-
margin-right: 1em;
|
|
67
|
-
}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
<label class="field-lable upload-label" *ngIf="field() && field()?.isVisible && field()?.isShowLabel">{{field()?.label}}</label>
|
|
3
|
-
<input
|
|
4
|
-
hidden
|
|
5
|
-
[type]="field()?.controlType"
|
|
6
|
-
#fileInput
|
|
7
|
-
(click)="(fileInput.value)"
|
|
8
|
-
[required]="field()?.validators?.isRequired"
|
|
9
|
-
/>
|
|
10
|
-
<button
|
|
11
|
-
type="button"
|
|
12
|
-
class="upload-btn"
|
|
13
|
-
(click)="fileInput.click()"
|
|
14
|
-
[ngClass]="field()?.label ? 'lightbackground' : 'successBackground'"
|
|
15
|
-
*ngIf="field() && field()?.isVisible"
|
|
16
|
-
[ngStyle]="{
|
|
17
|
-
'--upload-width': field()?.controlStyle?.width ,
|
|
18
|
-
'--upload-border-radius': field()?.controlStyle?.borderRadius ,
|
|
19
|
-
'--upload-border-color': field()?.controlStyle?.borderColor ,
|
|
20
|
-
'--upload-border-width': field()?.controlStyle?.borderWidth ,
|
|
21
|
-
'--upload-border-style': field()?.controlStyle?.borderStyle ,
|
|
22
|
-
'--upload-background-color': field()?.controlStyle?.background ,
|
|
23
|
-
'--upload-focus-border-color': field()?.controlStyle?.focusBorderColor ,
|
|
24
|
-
'--upload-focus-background-color': field()?.controlStyle?.focusBackground ,
|
|
25
|
-
}"
|
|
26
|
-
>
|
|
27
|
-
<ng-container *ngIf="field()?.label; else policyHolderPanFileNotEmpty">
|
|
28
|
-
<span class="upload-icon">
|
|
29
|
-
<span
|
|
30
|
-
><img
|
|
31
|
-
src="https://cdn.godigit.com/retail-life/Upload_Icon.svg"
|
|
32
|
-
alt=""
|
|
33
|
-
class="mb-1"
|
|
34
|
-
/></span>
|
|
35
|
-
<span class="upload-text" [ngStyle]="{
|
|
36
|
-
'--upload-font-color': field()?.controlStyle?.color ,
|
|
37
|
-
'--upload-font-size': field()?.controlStyle?.fontSize ,
|
|
38
|
-
'--upload-font-weight': field()?.controlStyle?.fontWeight,
|
|
39
|
-
'--upload-focus-font-color': field()?.controlStyle?.focusColor ,
|
|
40
|
-
}">{{ field()?.label }}</span>
|
|
41
|
-
</span>
|
|
42
|
-
</ng-container>
|
|
43
|
-
<ng-template #policyHolderPanFileNotEmpty>
|
|
44
|
-
<span class="mt-2 right-icon">
|
|
45
|
-
<span
|
|
46
|
-
><img src="https://cdn.godigit.com/retail-life/Tickmark.svg" alt=""
|
|
47
|
-
/></span>
|
|
48
|
-
<span title="uploaded file">uploaded file</span>
|
|
49
|
-
</span>
|
|
50
|
-
<div class="mt-2 left-icon">
|
|
51
|
-
<span
|
|
52
|
-
><img
|
|
53
|
-
src="https://cdn.godigit.com/retail-life/visibility-oui.svg"
|
|
54
|
-
alt=""
|
|
55
|
-
/></span>
|
|
56
|
-
<span
|
|
57
|
-
><img src="https://cdn.godigit.com/retail-life/delete-oui.svg" alt=""
|
|
58
|
-
/></span>
|
|
59
|
-
</div>
|
|
60
|
-
</ng-template>
|
|
61
|
-
</button>
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { CommonModule } from '@angular/common';
|
|
2
|
-
import { Component, input } from '@angular/core';
|
|
3
|
-
import { FormsModule } from '@angular/forms';
|
|
4
|
-
|
|
5
|
-
@Component({
|
|
6
|
-
selector: 'lib-image-upload',
|
|
7
|
-
standalone: true,
|
|
8
|
-
imports: [
|
|
9
|
-
CommonModule,
|
|
10
|
-
FormsModule
|
|
11
|
-
],
|
|
12
|
-
templateUrl: './image-upload.component.html',
|
|
13
|
-
styleUrl: './image-upload.component.css'
|
|
14
|
-
})
|
|
15
|
-
export class ImageUploadComponent {
|
|
16
|
-
field : any = input.required<any>();
|
|
17
|
-
}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
.in-built-card {
|
|
2
|
-
max-width: var(--inbuilt-card-width, 757px) !important;
|
|
3
|
-
min-height: 114px;
|
|
4
|
-
border-radius: var(--inbuilt-card-border-radius, 12px) !important;
|
|
5
|
-
border: 1px solid #0bb68b;
|
|
6
|
-
border-color: var(--inbuilt-card-border-color, #0bb68b) !important;
|
|
7
|
-
border-width: var(--inbuilt-card-border-width, 1px) !important;
|
|
8
|
-
background: var(--inbuilt-card-bg-color, #e6f7f3) !important;
|
|
9
|
-
padding: 12px 16px 12px 16px;
|
|
10
|
-
position: relative;
|
|
11
|
-
}
|
|
12
|
-
.premium-header {
|
|
13
|
-
font-size: 14px;
|
|
14
|
-
font-weight: 700;
|
|
15
|
-
letter-spacing: 0px;
|
|
16
|
-
line-height: 18px;
|
|
17
|
-
color: #444;
|
|
18
|
-
}
|
|
19
|
-
.benefit-text {
|
|
20
|
-
font-size: 12px;
|
|
21
|
-
color: #696969;
|
|
22
|
-
font-weight: 700;
|
|
23
|
-
letter-spacing: 0%;
|
|
24
|
-
line-height: 16px;
|
|
25
|
-
}
|
|
26
|
-
.premium {
|
|
27
|
-
font-size: 12px;
|
|
28
|
-
padding: 4px 16px 4px 16px;
|
|
29
|
-
border-radius: 4px;
|
|
30
|
-
height: 24px;
|
|
31
|
-
width: 113px;
|
|
32
|
-
background: #ffffff;
|
|
33
|
-
color: #444;
|
|
34
|
-
}
|
|
35
|
-
.normal-text {
|
|
36
|
-
font-weight: 400;
|
|
37
|
-
}
|
|
38
|
-
.bold-text {
|
|
39
|
-
font-weight: 700;
|
|
40
|
-
}
|
|
41
|
-
.top-benefit-card {
|
|
42
|
-
border-radius: 25px;
|
|
43
|
-
background: #fff;
|
|
44
|
-
border: 1px solid #ececec;
|
|
45
|
-
height: 26px;
|
|
46
|
-
width: 114px;
|
|
47
|
-
padding: 0px 6px 5px 12px;
|
|
48
|
-
font-size: 12px;
|
|
49
|
-
font-weight: 400;
|
|
50
|
-
color: #444444;
|
|
51
|
-
letter-spacing: 0%;
|
|
52
|
-
position: absolute;
|
|
53
|
-
transform: translate(-6em, -2.2em);
|
|
54
|
-
}
|
|
55
|
-
.top-box {
|
|
56
|
-
position: absolute;
|
|
57
|
-
text-align: center;
|
|
58
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
<div class="d-flex in-built-card"
|
|
2
|
-
[ngStyle]="{
|
|
3
|
-
'--inbuilt-card-border-color': field()?.controlStyle?.borderColor ,
|
|
4
|
-
'--inbuilt-card-border-width': field()?.controlStyle?.borderWidth ,
|
|
5
|
-
'--inbuilt-card-border-radius': field()?.controlStyle?.borderRadius ,
|
|
6
|
-
'--inbuilt-card-bg-color': field()?.controlStyle?.background ,
|
|
7
|
-
'--inbuilt-card-width': field()?.controlStyle?.width ,
|
|
8
|
-
}"
|
|
9
|
-
>
|
|
10
|
-
<p class="w-100 top-box">
|
|
11
|
-
<span class="top-benefit-card">In-built Benefit</span>
|
|
12
|
-
</p>
|
|
13
|
-
<div>
|
|
14
|
-
<span class="premium-header">Return of Premium</span> <br />
|
|
15
|
-
<span class="benefit-text normal-text"
|
|
16
|
-
>Customer can get their premiums back on
|
|
17
|
-
<b class="bold-text"
|
|
18
|
-
>diagnosis of Critical Illness (CI) or Total and Permanent Disability
|
|
19
|
-
(TPD) before the age of 80.</b
|
|
20
|
-
></span
|
|
21
|
-
>
|
|
22
|
-
<br />
|
|
23
|
-
<span class="premium"
|
|
24
|
-
><b>{{ premiumAmount }}</b> ({{ premiumAmountShort }})</span
|
|
25
|
-
>
|
|
26
|
-
</div>
|
|
27
|
-
<div class="m-auto">
|
|
28
|
-
<img *ngIf="field()?.imageUrl" [src]="field().imageUrl" alt="" />
|
|
29
|
-
</div>
|
|
30
|
-
</div>
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { CommonModule } from '@angular/common';
|
|
2
|
-
import { Component, Input, input } from '@angular/core';
|
|
3
|
-
|
|
4
|
-
@Component({
|
|
5
|
-
selector: 'lib-in-built-benefit',
|
|
6
|
-
standalone: true,
|
|
7
|
-
imports: [CommonModule],
|
|
8
|
-
templateUrl: './in-built-benefit.component.html',
|
|
9
|
-
styleUrl: './in-built-benefit.component.css',
|
|
10
|
-
})
|
|
11
|
-
export class InBuiltBenefitComponent {
|
|
12
|
-
field: any = input.required<any>();
|
|
13
|
-
|
|
14
|
-
@Input() premiumAmount: any = '₹1,00,000';
|
|
15
|
-
@Input() premiumAmountShort: any = '1L';
|
|
16
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
* {
|
|
2
|
-
font-family: "mulish" !important;
|
|
3
|
-
}
|
|
4
|
-
.info-background {
|
|
5
|
-
background: var(--custom-info-bg-color , #FFFBE5) !important;
|
|
6
|
-
border-radius: var(--custom-info-border-radius, 8px);
|
|
7
|
-
line-height: 20.08px;
|
|
8
|
-
padding: 12px 16px 12px 16px;
|
|
9
|
-
border-width: 1px solid var(--custom-info-border-width, 1px);
|
|
10
|
-
border-color: 1px solid var(--custom-info-border-color, #FFBB0033);
|
|
11
|
-
border-style: 1px solid var(--custom-info-border-style, solid);
|
|
12
|
-
color: var(--custom-info-font-color, #444);
|
|
13
|
-
font-weight: var(--custom-info-font-weight, 600);
|
|
14
|
-
font-size: var(--custom-info-font-size, 12px) ;
|
|
15
|
-
}
|
|
16
|
-
.info-nudge-image{
|
|
17
|
-
height: 25px;
|
|
18
|
-
margin-right: 5px;
|
|
19
|
-
}
|
|
20
|
-
.info-nudge-text{
|
|
21
|
-
font-size: var(--custom-info-font-size, 16px);
|
|
22
|
-
font-family: var(--custom-info-font-family, 'Mulish');
|
|
23
|
-
font-weight: var(--custom-info-font-weight, 600);
|
|
24
|
-
color: var(--custom-info-font-color, #444);
|
|
25
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
<div class="info-background" *ngIf="field() && field()?.isVisible" [ngStyle]="{
|
|
2
|
-
'--custom-info-bg-color': field()?.controlStyle?.background ,
|
|
3
|
-
'--custom-info-border-radius': field()?.controlStyle?.borderRadius,
|
|
4
|
-
'--custom-info-border-width': field()?.controlStyle?.borderWidth,
|
|
5
|
-
'--custom-info-border-color': field()?.controlStyle?.borderColor,
|
|
6
|
-
'--custom-info-border-style': field()?.controlStyle?.borderStyle,
|
|
7
|
-
}">
|
|
8
|
-
<span>
|
|
9
|
-
<img
|
|
10
|
-
class="info-nudge-image mb-1"
|
|
11
|
-
[src]="field()?.controlStyle?.nudgeDisplayImage"
|
|
12
|
-
alt=""
|
|
13
|
-
/>
|
|
14
|
-
<span class="info-nudge-text" [ngStyle]="{
|
|
15
|
-
'--custom-info-font-size': field()?.controlStyle?.fontSize ,
|
|
16
|
-
'--custom-info-font-weight': field()?.controlStyle?.fontWeight ,
|
|
17
|
-
'--custom-info-font-family': field()?.controlStyle?.fontFamily ,
|
|
18
|
-
'--custom-info-font-color': field()?.controlStyle?.color ,
|
|
19
|
-
}">{{ field()?.label }}</span>
|
|
20
|
-
</span>
|
|
21
|
-
</div>
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { CommonModule } from '@angular/common';
|
|
2
|
-
import { Component, input } from '@angular/core';
|
|
3
|
-
import { MasterControlService } from '../master-control.service';
|
|
4
|
-
|
|
5
|
-
@Component({
|
|
6
|
-
selector: 'lib-info',
|
|
7
|
-
standalone: true,
|
|
8
|
-
imports: [CommonModule],
|
|
9
|
-
templateUrl: './info.component.html',
|
|
10
|
-
styleUrl: './info.component.css'
|
|
11
|
-
})
|
|
12
|
-
export class InfoComponent {
|
|
13
|
-
constructor(public masterService : MasterControlService){}
|
|
14
|
-
field: any = input.required<any>();
|
|
15
|
-
}
|
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
.field-lable{
|
|
2
|
-
font-size: 10px !important;
|
|
3
|
-
font-weight: 700 !important;
|
|
4
|
-
color: #444 !important;
|
|
5
|
-
margin-bottom: 0px !important;
|
|
6
|
-
}
|
|
7
|
-
.info-label{
|
|
8
|
-
display: flex;
|
|
9
|
-
justify-content: space-between;
|
|
10
|
-
}
|
|
11
|
-
.error-message{
|
|
12
|
-
color: red;
|
|
13
|
-
}
|
|
14
|
-
* {
|
|
15
|
-
font-family: "mulish" !important;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
/* focus css for mat-form-field */
|
|
19
|
-
::ng-deep .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused
|
|
20
|
-
.mat-mdc-notch-piece {
|
|
21
|
-
border-color: var(--custom-border-color-focus, #ffbb00) !important;
|
|
22
|
-
border-width: var(--custom-border-width-focus, 1.5px) !important;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
::ng-deep .mat-mdc-form-field {
|
|
26
|
-
background-color: var(--custom-bg-color, #ffffff) !important;
|
|
27
|
-
border-radius: var(--custom-border-radius , 7px) !important;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
/* hover css for mat-form-field */
|
|
31
|
-
|
|
32
|
-
::ng-deep .mdc-text-field--outlined:not(.mdc-text-field--disabled):not(
|
|
33
|
-
.mdc-text-field--focused
|
|
34
|
-
):hover
|
|
35
|
-
.mdc-notched-outline
|
|
36
|
-
.mdc-notched-outline__leading {
|
|
37
|
-
border-color: var(--custom-border-color-hover, #ffbb00) !important;
|
|
38
|
-
border-width: var(--custom-border-width-hover, 1.5px) !important;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
::ng-deep .mdc-text-field--outlined:not(.mdc-text-field--disabled):not(
|
|
42
|
-
.mdc-text-field--focused
|
|
43
|
-
):hover
|
|
44
|
-
.mdc-notched-outline
|
|
45
|
-
.mdc-notched-outline__notch {
|
|
46
|
-
border-color: var(--custom-border-color-hover, #ffbb00) !important;
|
|
47
|
-
border-width: var(--custom-border-width-hover, 1.5px) !important;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
::ng-deep .mdc-text-field--outlined:not(.mdc-text-field--disabled):not(
|
|
51
|
-
.mdc-text-field--focused
|
|
52
|
-
):hover
|
|
53
|
-
.mdc-notched-outline
|
|
54
|
-
.mdc-notched-outline__trailing {
|
|
55
|
-
border-color: var(--custom-border-color-hover, #ffbb00) !important;
|
|
56
|
-
border-width: var(--custom-border-width-hover, 1.5px) !important;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
/* regular css for mat-form-field */
|
|
60
|
-
::ng-deep .mdc-text-field--outlined .mat-mdc-notch-piece {
|
|
61
|
-
border-color: var(--custom-border-color, #dddddd) !important;
|
|
62
|
-
border-width: var(--custom-border-width, 1.5px) !important;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
/* field css for mat-form-input-field */
|
|
66
|
-
::ng-deep .mdc-text-field--outlined:not(.mdc-text-field--disabled)
|
|
67
|
-
.mdc-text-field__input {
|
|
68
|
-
caret-color: var(--custom-caret-color, #ffbb00) !important;
|
|
69
|
-
/* font-size: var(--custom-font-size, 16px) !important; */
|
|
70
|
-
font-size: 12px !important;
|
|
71
|
-
font-weight: var(--custom-font-weight, 400) !important;
|
|
72
|
-
font-family: var(--custom-font-family, 'Mulish') !important;
|
|
73
|
-
color: var(--custom-font-color, #444444) !important;
|
|
74
|
-
}
|
|
75
|
-
/* Error state for mat-form-field */
|
|
76
|
-
::ng-deep .mat-form-field-invalid
|
|
77
|
-
.mdc-text-field--outlined .mat-mdc-notch-piece {
|
|
78
|
-
border-color: var(--custom-border-color-error, red) !important;
|
|
79
|
-
border-width: var(--custom-border-width-error, 1.5px) !important;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
::ng-deep .mat-mdc-form-field.mat-form-field-disabled{
|
|
83
|
-
background: var(--custom-bg-color-disabled, #ECECEC) !important;
|
|
84
|
-
}
|
|
85
|
-
::ng-deep .mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input {
|
|
86
|
-
color : var(--custom-font-color-disabled, #999999) !important;
|
|
87
|
-
}
|
|
88
|
-
::ng-deep .mdc-label {
|
|
89
|
-
color: var(--custom-font-color, #444) !important;
|
|
90
|
-
font-size: var(--custom-font-size, 16px) !important;
|
|
91
|
-
font-weight: var(--custom-font-weight, 400) !important;
|
|
92
|
-
font-family: var(--custom-font-family, 'Mulish') !important;
|
|
93
|
-
}
|
|
94
|
-
::placeholder {
|
|
95
|
-
color: #8f8f8f !important;
|
|
96
|
-
font-size: 12px !important;
|
|
97
|
-
}
|
|
98
|
-
::ng-deep .mat-mdc-form-field-hint-wrapper{
|
|
99
|
-
padding: 0px !important;
|
|
100
|
-
}
|
|
101
|
-
::ng-deep .mat-mdc-form-field-error-wrapper{
|
|
102
|
-
padding: 0px !important;
|
|
103
|
-
}
|
|
104
|
-
::ng-deep .mat-mdc-form-field-error{
|
|
105
|
-
color: #EE0000 !important;
|
|
106
|
-
font-size: 12px;
|
|
107
|
-
font-weight: 500;
|
|
108
|
-
font-family: "Mulish" !important;
|
|
109
|
-
letter-spacing: 0;
|
|
110
|
-
}
|
|
111
|
-
::ng-deep .mdc-text-field--outlined {
|
|
112
|
-
--mdc-outlined-text-field-container-shape: var(--custom-border-radius , 7px) !important;
|
|
113
|
-
}
|
|
114
|
-
::ng-deep .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece {
|
|
115
|
-
border-color: var(--custom-border-color-error, red) !important;
|
|
116
|
-
border-width: var(--custom-border-width-error, 1.5px) !important;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
::ng-deep .mat-mdc-form-field-subscript-wrapper {
|
|
120
|
-
display: none !important;
|
|
121
|
-
}
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
<label class="field-lable info-label" *ngIf="field() && field()?.isVisible && field().isShowLabel"
|
|
2
|
-
>{{ field()?.label
|
|
3
|
-
}}
|
|
4
|
-
<!-- <span style="color: red" *ngIf="field() && field()?.validators?.isRequired"
|
|
5
|
-
>*</span
|
|
6
|
-
> -->
|
|
7
|
-
<span style="justify-content: end;">
|
|
8
|
-
<img class="mx-1" src="https://cdn.godigit.com/retail-life/question-mark.svg" alt="">
|
|
9
|
-
<u>Where to find this? ></u></span>
|
|
10
|
-
</label
|
|
11
|
-
>
|
|
12
|
-
<mat-form-field
|
|
13
|
-
class="w-100"
|
|
14
|
-
appearance="outline"
|
|
15
|
-
*ngIf="field() && field()?.isVisible"
|
|
16
|
-
[ngStyle]="{
|
|
17
|
-
'--custom-border-color': field()?.controlStyle?.borderColor ,
|
|
18
|
-
'--custom-border-width': field()?.controlStyle?.borderWidth ,
|
|
19
|
-
'--custom-border-radius': field()?.controlStyle?.borderRadius ,
|
|
20
|
-
'--custom-bg-color': field()?.controlStyle?.background ,
|
|
21
|
-
'--custom-border-color-focus': field()?.controlStyle?.focusBorderColor ,
|
|
22
|
-
'--custom-border-width-focus': field()?.controlStyle?.focusBorderWidth ,
|
|
23
|
-
'--custom-bg-color-focus': field()?.controlStyle?.focusBackground ,
|
|
24
|
-
'--custom-border-color-hover': field()?.controlStyle?.hoverBorderColor ,
|
|
25
|
-
'--custom-border-width-hover': field()?.controlStyle?.hoverBorderWidth ,
|
|
26
|
-
'--custom-border-color-error': field()?.controlStyle?.errorBorderColor ,
|
|
27
|
-
'--custom-border-width-error': field()?.controlStyle?.errorBorderWidth ,
|
|
28
|
-
'--custom-font-size': field()?.controlStyle?.fontSize ,
|
|
29
|
-
'--custom-font-weight': field()?.controlStyle?.fontWeight ,
|
|
30
|
-
'--custom-font-family': field()?.controlStyle?.fontFamily ,
|
|
31
|
-
'--custom-font-color': field()?.controlStyle?.color ,
|
|
32
|
-
'--custom-caret-color': field()?.controlStyle?.caretColor ,
|
|
33
|
-
'--custom-font-color-disabled' : field()?.controlStyle?.disableColor ,
|
|
34
|
-
'--custom-bg-color-disabled' : field()?.controlStyle?.disableBackground ,
|
|
35
|
-
}"
|
|
36
|
-
>
|
|
37
|
-
@if(reactiveFormControlobject()) {
|
|
38
|
-
<input
|
|
39
|
-
matInput
|
|
40
|
-
autocomplete="none"
|
|
41
|
-
[type]="field()?.controlType"
|
|
42
|
-
[name]="field()?.fieldName"
|
|
43
|
-
[id]="field()?.fieldName"
|
|
44
|
-
[placeholder]="field()?.placeHolder"
|
|
45
|
-
[maxLength]="field()?.validators?.maxLength"
|
|
46
|
-
[minLength]="field()?.validators?.minLength"
|
|
47
|
-
[disabled]="field()?.isDisable"
|
|
48
|
-
[required]="field()?.validators?.isRequired"
|
|
49
|
-
[pattern]="field()?.validators?.pattern"
|
|
50
|
-
(input)="onInputChange($event)"
|
|
51
|
-
(blur)="onInputBlur()"
|
|
52
|
-
[value]="inputValue"
|
|
53
|
-
[formControl]="reactiveFormControlobject()"
|
|
54
|
-
/>
|
|
55
|
-
}@else {
|
|
56
|
-
<input
|
|
57
|
-
matInput
|
|
58
|
-
autocomplete="none"
|
|
59
|
-
[type]="field()?.controlType"
|
|
60
|
-
[name]="field()?.fieldName"
|
|
61
|
-
[id]="field()?.fieldName"
|
|
62
|
-
[placeholder]="field()?.placeHolder"
|
|
63
|
-
[maxLength]="field()?.validators?.maxLength"
|
|
64
|
-
[minLength]="field()?.validators?.minLength"
|
|
65
|
-
[disabled]="field()?.isDisable"
|
|
66
|
-
[required]="field()?.validators?.isRequired"
|
|
67
|
-
[pattern]="field()?.validators?.pattern"
|
|
68
|
-
(input)="onInputChange($event)"
|
|
69
|
-
(blur)="onInputBlur()"
|
|
70
|
-
[value]="inputValue"
|
|
71
|
-
/>
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
<mat-error *ngIf="false">
|
|
75
|
-
{{ field()?.validators?.isRequiredMessage }}
|
|
76
|
-
</mat-error>
|
|
77
|
-
</mat-form-field>
|
|
78
|
-
<div class="error-message" *ngIf="false">
|
|
79
|
-
{{ field()?.validators?.isRequiredMessage }}.
|
|
80
|
-
</div>
|
|
81
|
-
<div class="error-message" *ngIf="false">
|
|
82
|
-
{{ field()?.validators?.patternMessage }}.
|
|
83
|
-
</div>
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { CommonModule } from '@angular/common';
|
|
2
|
-
import { Component, input } from '@angular/core';
|
|
3
|
-
import { NG_VALUE_ACCESSOR, ReactiveFormsModule } from '@angular/forms';
|
|
4
|
-
import { MatFormFieldModule } from '@angular/material/form-field';
|
|
5
|
-
import { MatInputModule } from '@angular/material/input';
|
|
6
|
-
|
|
7
|
-
@Component({
|
|
8
|
-
selector: 'lib-info-textbox',
|
|
9
|
-
standalone: true,
|
|
10
|
-
imports: [
|
|
11
|
-
MatFormFieldModule,
|
|
12
|
-
CommonModule,
|
|
13
|
-
MatInputModule,
|
|
14
|
-
ReactiveFormsModule
|
|
15
|
-
],
|
|
16
|
-
templateUrl: './info-textbox.component.html',
|
|
17
|
-
styleUrl: './info-textbox.component.css',
|
|
18
|
-
providers: [
|
|
19
|
-
{
|
|
20
|
-
provide: NG_VALUE_ACCESSOR,
|
|
21
|
-
useExisting: InfoTextboxComponent,
|
|
22
|
-
multi: true
|
|
23
|
-
}
|
|
24
|
-
]
|
|
25
|
-
})
|
|
26
|
-
export class InfoTextboxComponent {
|
|
27
|
-
field: any = input.required<any>();
|
|
28
|
-
inputValue: any = null;
|
|
29
|
-
reactiveFormControlobject : any = input<any>();
|
|
30
|
-
_onChange: any = (inputValue:any) => {};
|
|
31
|
-
_unTouched: any = () => {};
|
|
32
|
-
|
|
33
|
-
writeValue(obj: any): void{
|
|
34
|
-
this.inputValue=obj;
|
|
35
|
-
};
|
|
36
|
-
registerOnChange(fn: any): void{
|
|
37
|
-
this._onChange = fn;
|
|
38
|
-
};
|
|
39
|
-
registerOnTouched(fn: any): void{
|
|
40
|
-
this._unTouched = fn;
|
|
41
|
-
};
|
|
42
|
-
setDisabledState?(isDisabled: boolean): void{};
|
|
43
|
-
|
|
44
|
-
onInputChange(event: any): void {
|
|
45
|
-
this.inputValue = event.target.value;
|
|
46
|
-
this._onChange(this.inputValue);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
onInputBlur(): void {
|
|
50
|
-
this._unTouched();
|
|
51
|
-
}
|
|
52
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
* {
|
|
2
|
-
font-family: "mulish" !important;
|
|
3
|
-
}
|
|
4
|
-
.master-label{
|
|
5
|
-
font-weight: 400;
|
|
6
|
-
font-size: 14px;
|
|
7
|
-
color: #000000;
|
|
8
|
-
}
|
|
9
|
-
.master-label{
|
|
10
|
-
color: var(--master-heading-font-color, #000000) !important;
|
|
11
|
-
font-size: var(--master-heading-font-size, 14px) !important;
|
|
12
|
-
font-weight: var(--master-heading-font-weight, 400) !important;
|
|
13
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
<div>
|
|
2
|
-
<span class="master-label" [ngStyle]="{
|
|
3
|
-
'--master-heading-font-color': field()?.controlStyle?.color,
|
|
4
|
-
'--master-heading-font-size': field()?.controlStyle?.fontSize,
|
|
5
|
-
'--master-heading-font-weight': field()?.controlStyle?.fontWeight
|
|
6
|
-
}">{{field()?.label}}</span>
|
|
7
|
-
</div>
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { CommonModule } from '@angular/common';
|
|
2
|
-
import { Component, input } from '@angular/core';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
@Component({
|
|
6
|
-
selector: 'lib-label',
|
|
7
|
-
standalone: true,
|
|
8
|
-
imports: [CommonModule],
|
|
9
|
-
templateUrl: './label.component.html',
|
|
10
|
-
styleUrl: './label.component.css'
|
|
11
|
-
})
|
|
12
|
-
export class LabelComponent {
|
|
13
|
-
field : any = input.required<any>();
|
|
14
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
* {
|
|
2
|
-
font-family: "mulish" !important;
|
|
3
|
-
}
|
|
4
|
-
.master-labelValue{
|
|
5
|
-
font-weight: 400;
|
|
6
|
-
font-size: 14px;
|
|
7
|
-
color: #000000;
|
|
8
|
-
}
|
|
9
|
-
.master-labelValue{
|
|
10
|
-
color: var(--master-heading-font-color, #000000) !important;
|
|
11
|
-
font-size: var(--master-heading-font-size, 14px) !important;
|
|
12
|
-
font-weight: var(--master-heading-font-weight, 400) !important;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.labelValueCard{
|
|
16
|
-
display: flex;
|
|
17
|
-
flex-direction: column;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.labelHead{
|
|
21
|
-
font-size: 14px;
|
|
22
|
-
font-weight: 400;
|
|
23
|
-
color: #444444;
|
|
24
|
-
line-height: 20px;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.labelValue{
|
|
28
|
-
font-size: 16px;
|
|
29
|
-
font-weight: 700;
|
|
30
|
-
color: #444444;
|
|
31
|
-
line-height: 20px;
|
|
32
|
-
position: relative;
|
|
33
|
-
top: 8px;
|
|
34
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
<div class="labelValueCard">
|
|
2
|
-
<div class="labelHead">
|
|
3
|
-
<span class="master-labelValue" [ngStyle]="{
|
|
4
|
-
'--master-heading-font-color': field()?.controlStyle?.color,
|
|
5
|
-
'--master-heading-font-size': field()?.controlStyle?.fontSize,
|
|
6
|
-
'--master-heading-font-weight': field()?.controlStyle?.fontWeight
|
|
7
|
-
}">{{field()?.label}}</span>
|
|
8
|
-
</div>
|
|
9
|
-
<div class="labelValue">
|
|
10
|
-
<span>{{field()?.placeHolder}}</span>
|
|
11
|
-
</div>
|
|
12
|
-
</div>
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { CommonModule } from '@angular/common';
|
|
2
|
-
import { Component, input } from '@angular/core';
|
|
3
|
-
|
|
4
|
-
@Component({
|
|
5
|
-
selector: 'lib-label-value-card',
|
|
6
|
-
standalone: true,
|
|
7
|
-
imports: [CommonModule],
|
|
8
|
-
templateUrl: './label-value-card.component.html',
|
|
9
|
-
styleUrl: './label-value-card.component.css'
|
|
10
|
-
})
|
|
11
|
-
export class LabelValueCardComponent {
|
|
12
|
-
field : any = input.required<any>();
|
|
13
|
-
|
|
14
|
-
ngOnInit(){}
|
|
15
|
-
}
|