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,240 +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
|
-
.error-message{
|
|
8
|
-
color: red;
|
|
9
|
-
}
|
|
10
|
-
/* focus css for mat-form-field */
|
|
11
|
-
::ng-deep .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused
|
|
12
|
-
.mat-mdc-notch-piece {
|
|
13
|
-
border-color: var(--custom-border-color-focus, #ffbb00) !important;
|
|
14
|
-
border-width: var(--custom-border-width-focus, 1.5px) !important;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
::ng-deep .mat-mdc-form-field {
|
|
18
|
-
background-color: var(--custom-bg-color, #ffffff) !important;
|
|
19
|
-
border-radius: var(--custom-border-radius , 7px) !important;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
/* hover css for mat-form-field */
|
|
23
|
-
|
|
24
|
-
::ng-deep .mdc-text-field--outlined:not(.mdc-text-field--disabled):not(
|
|
25
|
-
.mdc-text-field--focused
|
|
26
|
-
):hover
|
|
27
|
-
.mdc-notched-outline
|
|
28
|
-
.mdc-notched-outline__leading {
|
|
29
|
-
border-color: var(--custom-border-color-hover, #ffbb00) !important;
|
|
30
|
-
border-width: var(--custom-border-width-hover, 1.5px) !important;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
::ng-deep .mdc-text-field--outlined:not(.mdc-text-field--disabled):not(
|
|
34
|
-
.mdc-text-field--focused
|
|
35
|
-
):hover
|
|
36
|
-
.mdc-notched-outline
|
|
37
|
-
.mdc-notched-outline__notch {
|
|
38
|
-
border-color: var(--custom-border-color-hover, #ffbb00) !important;
|
|
39
|
-
border-width: var(--custom-border-width-hover, 1.5px) !important;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
::ng-deep .mdc-text-field--outlined:not(.mdc-text-field--disabled):not(
|
|
43
|
-
.mdc-text-field--focused
|
|
44
|
-
):hover
|
|
45
|
-
.mdc-notched-outline
|
|
46
|
-
.mdc-notched-outline__trailing {
|
|
47
|
-
border-color: var(--custom-border-color-hover, #ffbb00) !important;
|
|
48
|
-
border-width: var(--custom-border-width-hover, 1.5px) !important;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
/* regular css for mat-form-field */
|
|
52
|
-
::ng-deep .mdc-text-field--outlined .mat-mdc-notch-piece {
|
|
53
|
-
border-color: var(--custom-border-color, #dddddd) !important;
|
|
54
|
-
border-width: var(--custom-border-width, 1.5px) !important;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
/* field css for mat-form-input-field */
|
|
58
|
-
::ng-deep .mdc-text-field--outlined:not(.mdc-text-field--disabled)
|
|
59
|
-
.mdc-text-field__input {
|
|
60
|
-
caret-color: var(--custom-caret-color, #ffbb00) !important;
|
|
61
|
-
/* font-size: var(--custom-font-size, 16px) !important; */
|
|
62
|
-
font-size: 12px !important;
|
|
63
|
-
font-weight: var(--custom-font-weight, 400) !important;
|
|
64
|
-
font-family: var(--custom-font-family, 'Mulish') !important;
|
|
65
|
-
color: var(--custom-font-color, #444444) !important;
|
|
66
|
-
}
|
|
67
|
-
/* Error state for mat-form-field */
|
|
68
|
-
::ng-deep .mat-form-field-invalid
|
|
69
|
-
.mdc-text-field--outlined .mat-mdc-notch-piece {
|
|
70
|
-
border-color: var(--custom-border-color-error, red) !important;
|
|
71
|
-
border-width: var(--custom-border-width-error, 1.5px) !important;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
::ng-deep .mat-mdc-form-field.mat-form-field-disabled{
|
|
75
|
-
background: var(--custom-bg-color-disabled, #ECECEC) !important;
|
|
76
|
-
}
|
|
77
|
-
::ng-deep .mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input {
|
|
78
|
-
color : var(--custom-font-color-disabled, #999999) !important;
|
|
79
|
-
}
|
|
80
|
-
::ng-deep .mdc-label {
|
|
81
|
-
color: var(--custom-font-color, #444) !important;
|
|
82
|
-
font-size: var(--custom-font-size, 16px) !important;
|
|
83
|
-
font-weight: var(--custom-font-weight, 400) !important;
|
|
84
|
-
font-family: var(--custom-font-family, 'Mulish') !important;
|
|
85
|
-
}
|
|
86
|
-
::placeholder {
|
|
87
|
-
color: #8f8f8f !important;
|
|
88
|
-
font-size: 12px !important;
|
|
89
|
-
}
|
|
90
|
-
::ng-deep .mat-mdc-form-field-hint-wrapper{
|
|
91
|
-
padding: 0px !important;
|
|
92
|
-
}
|
|
93
|
-
::ng-deep .mat-mdc-form-field-error-wrapper{
|
|
94
|
-
padding: 0px !important;
|
|
95
|
-
}
|
|
96
|
-
::ng-deep .mat-mdc-form-field-error{
|
|
97
|
-
color: #EE0000 !important;
|
|
98
|
-
font-size: 12px;
|
|
99
|
-
font-weight: 500;
|
|
100
|
-
font-family: "Mulish" !important;
|
|
101
|
-
letter-spacing: 0;
|
|
102
|
-
}
|
|
103
|
-
::ng-deep .mdc-text-field--outlined {
|
|
104
|
-
--mdc-outlined-text-field-container-shape: var(--custom-border-radius , 7px) !important;
|
|
105
|
-
}
|
|
106
|
-
::ng-deep .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece {
|
|
107
|
-
border-color: var(--custom-border-color-error, red) !important;
|
|
108
|
-
border-width: var(--custom-border-width-error, 1.5px) !important;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
::ng-deep .mat-mdc-form-field-subscript-wrapper {
|
|
112
|
-
display: none !important;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
::ng-deep .mat-mdc-form-field.mat-focused.mat-primary .mat-select-arrow {
|
|
116
|
-
color: #fb0;
|
|
117
|
-
}
|
|
118
|
-
::ng-deep .mat-mdc-select-arrow {
|
|
119
|
-
border-style: solid !important;
|
|
120
|
-
border-width: 0 2px 2px 0 !important;
|
|
121
|
-
border-right: 2px solid !important;
|
|
122
|
-
content: "" !important;
|
|
123
|
-
display: inline-block !important;
|
|
124
|
-
padding: 3px !important;
|
|
125
|
-
transform: rotate(45deg) !important;
|
|
126
|
-
vertical-align: middle !important;
|
|
127
|
-
width: unset !important;
|
|
128
|
-
height: unset !important;
|
|
129
|
-
color: #444 !important;
|
|
130
|
-
}
|
|
131
|
-
::ng-deep .mat-mdc-form-field.mat-focused.mat-primary .mat-mdc-select-arrow {
|
|
132
|
-
color: #fb0;
|
|
133
|
-
}
|
|
134
|
-
::ng-deep .mat-mdc-select-arrow svg {
|
|
135
|
-
display: none !important;
|
|
136
|
-
}
|
|
137
|
-
::ng-deep .cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel {
|
|
138
|
-
background: #fff !important;
|
|
139
|
-
}
|
|
140
|
-
::ng-deep div.mat-mdc-select-panel{
|
|
141
|
-
background: #fff !important;
|
|
142
|
-
}
|
|
143
|
-
::ng-deep .mat-mdc-option.mdc-list-item {
|
|
144
|
-
background: #fff !important;
|
|
145
|
-
color: #444 !important;
|
|
146
|
-
font-weight: 400;
|
|
147
|
-
}
|
|
148
|
-
::ng-deep .mat-mdc-form-field.mat-focused .mat-mdc-select-arrow {
|
|
149
|
-
color: #ffbb00 !important;
|
|
150
|
-
}
|
|
151
|
-
::ng-deep .mat-mdc-option:focus.mdc-list-item{
|
|
152
|
-
background: #fffaeb !important;
|
|
153
|
-
border-left: 4px solid #fb0;
|
|
154
|
-
font-weight: 600;
|
|
155
|
-
color: #444 !important;
|
|
156
|
-
border-radius: 3px;
|
|
157
|
-
}
|
|
158
|
-
::ng-deep .mat-mdc-option.mat-mdc-option-active.mdc-list-item {
|
|
159
|
-
background: #fffaeb !important;
|
|
160
|
-
border-left: 4px solid #fb0;
|
|
161
|
-
font-weight: 600;
|
|
162
|
-
color: #444 !important;
|
|
163
|
-
border-radius: 3px;
|
|
164
|
-
}
|
|
165
|
-
::ng-deep .mat-mdc-option.mdc-list-item {
|
|
166
|
-
background: var(--custom-select-option-background-color, #fff) !important;
|
|
167
|
-
color: var(--custom-select-option-font-color, #444) !important;
|
|
168
|
-
font-weight: var(--custom-select-option-font-weight, 400) !important;
|
|
169
|
-
}
|
|
170
|
-
::ng-deep .mat-mdc-option:focus.mdc-list-item {
|
|
171
|
-
background: var(--custom-select-option-background-color-focus, #fffaeb) !important;
|
|
172
|
-
color: var(--custom-select-option-font-color-focus, #444) !important;
|
|
173
|
-
font-weight: var(--custom-select-option-font-weight-focus, 600) !important;
|
|
174
|
-
border-left: var(--custom-select-option-border-left-focus, 4px solid #fb0) !important;
|
|
175
|
-
border-radius: var(--custom-select-option-border-radius-focus, 3px) !important;
|
|
176
|
-
}
|
|
177
|
-
::ng-deep .mat-mdc-option.mat-mdc-option-active.mdc-list-item {
|
|
178
|
-
background: var(--custom-select-option-background-color-focus, #fffaeb) !important;
|
|
179
|
-
color: var(--custom-select-option-font-color-focus, #444) !important;
|
|
180
|
-
font-weight: var(--custom-select-option-font-weight-focus, 600) !important;
|
|
181
|
-
border-left: var(--custom-select-option-border-left-focus, 4px solid #fb0) !important;
|
|
182
|
-
border-radius: var(--custom-select-option-border-radius-focus, 3px) !important;
|
|
183
|
-
}
|
|
184
|
-
::ng-deep .mat-mdc-option .mdc-list-item__primary-text {
|
|
185
|
-
font-size: var(--custom-font-size, 12px) !important;
|
|
186
|
-
}
|
|
187
|
-
::ng-deep .cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel {
|
|
188
|
-
padding: 0px !important;
|
|
189
|
-
background: #fafafa !important;
|
|
190
|
-
}
|
|
191
|
-
::ng-deep .mat-mdc-form-field.mat-focused.mat-primary .mat-select-arrow {
|
|
192
|
-
color: #fb0;
|
|
193
|
-
}
|
|
194
|
-
::ng-deep .mat-mdc-option .mdc-list-item__primary-text {
|
|
195
|
-
font-size: 12px !important;
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
::ng-deep .mat-mdc-form-field.mat-focused.mat-primary .mat-select-arrow {
|
|
199
|
-
color: #fb0;
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
::ng-deep .mat-mdc-select-panel-above div.mat-mdc-select-panel{
|
|
203
|
-
padding: 0px !important;
|
|
204
|
-
}
|
|
205
|
-
::ng-deep .mat-mdc-select-panel-above div.mat-mdc-select-panel{
|
|
206
|
-
padding: 0px !important
|
|
207
|
-
}
|
|
208
|
-
::ng-deep .mat-mdc-optgroup-label{
|
|
209
|
-
background: #f5f5f5;
|
|
210
|
-
color: #444;
|
|
211
|
-
font-weight: 800;
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
::ng-deep .mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{
|
|
215
|
-
padding: 0px !important;
|
|
216
|
-
background: #fff !important;
|
|
217
|
-
}
|
|
218
|
-
::ng-deep .mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){
|
|
219
|
-
background: #fffaeb !important;
|
|
220
|
-
border-left: 4px solid #fb0;
|
|
221
|
-
font-weight: 600 !important;
|
|
222
|
-
color: #444 !important;
|
|
223
|
-
border-radius: 3px;
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
::ng-deep .mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text {
|
|
227
|
-
color: unset !important;
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
::ng-deep .mat-mdc-option .mat-pseudo-checkbox-minimal {
|
|
231
|
-
display: none !important;
|
|
232
|
-
}
|
|
233
|
-
::ng-deep .mat-mdc-form-field .mat-mdc-select-placeholder {
|
|
234
|
-
color: #8f8f8f !important;
|
|
235
|
-
font-size: 12px !important;
|
|
236
|
-
vertical-align: sub;
|
|
237
|
-
}
|
|
238
|
-
* {
|
|
239
|
-
font-family: "mulish" !important;
|
|
240
|
-
}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
<label *ngIf="field() && field()?.isVisible && field().isShowLabel" class="field-lable">{{field()?.label}}<span style="color: red;" *ngIf="field() && field()?.validators?.isRequired">*</span></label>
|
|
2
|
-
<mat-form-field class="w-100" appearance="outline" *ngIf="field() && field()?.isVisible" [ngStyle]="{
|
|
3
|
-
'--custom-border-color': field()?.controlStyle?.borderColor ,
|
|
4
|
-
'--custom-border-width': field()?.controlStyle?.borderWidth ,
|
|
5
|
-
'--custom-border-radius': field()?.controlStyle?.borderRadius ,
|
|
6
|
-
'--custom-bg-color': field()?.controlStyle?.background ,
|
|
7
|
-
'--custom-border-color-focus': field()?.controlStyle?.focusBorderColor ,
|
|
8
|
-
'--custom-border-width-focus': field()?.controlStyle?.focusBorderWidth ,
|
|
9
|
-
'--custom-bg-color-focus': field()?.controlStyle?.focusBackground ,
|
|
10
|
-
'--custom-border-color-hover': field()?.controlStyle?.hoverBorderColor ,
|
|
11
|
-
'--custom-border-width-hover': field()?.controlStyle?.hoverBorderWidth ,
|
|
12
|
-
'--custom-border-color-error': field()?.controlStyle?.errorBorderColor ,
|
|
13
|
-
'--custom-border-width-error': field()?.controlStyle?.errorBorderWidth ,
|
|
14
|
-
'--custom-font-color-disabled' : field()?.controlStyle?.disableColor ,
|
|
15
|
-
'--custom-bg-color-disabled' : field()?.controlStyle?.disableBackground ,
|
|
16
|
-
}">
|
|
17
|
-
@if(reactiveFormControlobject()) {
|
|
18
|
-
<input
|
|
19
|
-
matInput
|
|
20
|
-
type="text"
|
|
21
|
-
[name]="field()?.fieldName"
|
|
22
|
-
[id]="field()?.fieldName"
|
|
23
|
-
[matAutocomplete]="auto"
|
|
24
|
-
(ngModelChange)="filterOptions()"
|
|
25
|
-
(focus)="filterOptions()"
|
|
26
|
-
[disabled]="field()?.isDisable"
|
|
27
|
-
[required]="field()?.validators?.isRequired"
|
|
28
|
-
[placeholder]="field()?.placeHolder"
|
|
29
|
-
[value]="inputValue"
|
|
30
|
-
[formControl]="reactiveFormControlobject()"
|
|
31
|
-
/>
|
|
32
|
-
}@else {
|
|
33
|
-
<input
|
|
34
|
-
matInput
|
|
35
|
-
type="text"
|
|
36
|
-
[name]="field()?.fieldName"
|
|
37
|
-
[id]="field()?.fieldName"
|
|
38
|
-
[matAutocomplete]="auto"
|
|
39
|
-
(ngModelChange)="filterOptions()"
|
|
40
|
-
(focus)="filterOptions()"
|
|
41
|
-
[disabled]="field()?.isDisable"
|
|
42
|
-
[required]="field()?.validators?.isRequired"
|
|
43
|
-
[placeholder]="field()?.placeHolder"
|
|
44
|
-
[value]="inputValue"
|
|
45
|
-
/>
|
|
46
|
-
}
|
|
47
|
-
<mat-autocomplete autoActiveFirstOption #auto="matAutocomplete" [displayWith]="displayFn">
|
|
48
|
-
<mat-option *ngFor="let option of filteredOptions" [value]="option.label">
|
|
49
|
-
{{ option.label }}
|
|
50
|
-
</mat-option>
|
|
51
|
-
</mat-autocomplete>
|
|
52
|
-
<mat-error>
|
|
53
|
-
{{ field().validators.requiredMessage }}
|
|
54
|
-
</mat-error>
|
|
55
|
-
</mat-form-field>
|
|
56
|
-
<div class="error-message" *ngIf="false">
|
|
57
|
-
{{ field()?.validators?.isRequiredMessage }}.
|
|
58
|
-
</div>
|
|
59
|
-
<div class="error-message" *ngIf="false">
|
|
60
|
-
{{ field()?.validators?.patternMessage }}.
|
|
61
|
-
</div>
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
import { Component, input } from '@angular/core';
|
|
2
|
-
import { MatFormFieldModule } from '@angular/material/form-field';
|
|
3
|
-
import { CommonModule } from '@angular/common';
|
|
4
|
-
import { MatInputModule } from '@angular/material/input';
|
|
5
|
-
import { MatAutocompleteModule } from '@angular/material/autocomplete';
|
|
6
|
-
import { MatOptionModule } from '@angular/material/core';
|
|
7
|
-
import { MasterControlService } from '../master-control.service';
|
|
8
|
-
import { FormsModule, NG_VALUE_ACCESSOR, ReactiveFormsModule } from '@angular/forms';
|
|
9
|
-
import { MatSelectChange } from '@angular/material/select';
|
|
10
|
-
@Component({
|
|
11
|
-
selector: 'lib-autocomplete',
|
|
12
|
-
standalone: true,
|
|
13
|
-
imports: [
|
|
14
|
-
MatFormFieldModule,
|
|
15
|
-
CommonModule,
|
|
16
|
-
MatInputModule,
|
|
17
|
-
MatAutocompleteModule,
|
|
18
|
-
MatOptionModule,
|
|
19
|
-
FormsModule,
|
|
20
|
-
ReactiveFormsModule
|
|
21
|
-
],
|
|
22
|
-
templateUrl: './autocomplete.component.html',
|
|
23
|
-
styleUrl: './autocomplete.component.css',
|
|
24
|
-
providers: [
|
|
25
|
-
{
|
|
26
|
-
provide: NG_VALUE_ACCESSOR,
|
|
27
|
-
useExisting: AutocompleteComponent,
|
|
28
|
-
multi: true
|
|
29
|
-
}
|
|
30
|
-
]
|
|
31
|
-
})
|
|
32
|
-
export class AutocompleteComponent {
|
|
33
|
-
constructor(public masterService : MasterControlService) {}
|
|
34
|
-
field: any = input.required<any>();
|
|
35
|
-
selectedOption: any = null;
|
|
36
|
-
filteredOptions:any=[];
|
|
37
|
-
inputValue: any = null;
|
|
38
|
-
reactiveFormControlobject : any = input<any>();
|
|
39
|
-
ngOnInit() {
|
|
40
|
-
this.filteredOptions = this.field().options;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
onChange: any = () => {};
|
|
44
|
-
onTouched: any = () => {};
|
|
45
|
-
|
|
46
|
-
writeValue(value: any): void {
|
|
47
|
-
this.inputValue = value;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
registerOnChange(fn: any): void {
|
|
51
|
-
this.onChange = fn;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
registerOnTouched(fn: any): void {
|
|
55
|
-
this.onTouched = fn;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
onValueChange(newValue: any): void {
|
|
59
|
-
this.inputValue = newValue;
|
|
60
|
-
this.onChange(newValue);
|
|
61
|
-
this.onTouched();
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
selectionChanged(event: MatSelectChange) {
|
|
65
|
-
this.inputValue = event.value;
|
|
66
|
-
this.onChange(event.value);
|
|
67
|
-
this.onTouched();
|
|
68
|
-
}
|
|
69
|
-
setDisabledState?(isDisabled: boolean): void{};
|
|
70
|
-
|
|
71
|
-
filterOptions() {
|
|
72
|
-
if (!this.selectedOption) {
|
|
73
|
-
this.filteredOptions = this.field().options;
|
|
74
|
-
return;
|
|
75
|
-
}
|
|
76
|
-
const filterValue = this.selectedOption.toLowerCase();
|
|
77
|
-
this.filteredOptions = this.field().options.filter((option:any) =>
|
|
78
|
-
option.label.toLowerCase().includes(filterValue)
|
|
79
|
-
);
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
displayFn(option: any) {
|
|
83
|
-
return option ? option : '';
|
|
84
|
-
}
|
|
85
|
-
}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
.benefit-card{
|
|
2
|
-
max-width: 380px;
|
|
3
|
-
max-height: 92px;
|
|
4
|
-
border: 1px solid #dadada;
|
|
5
|
-
padding: 16px;
|
|
6
|
-
border-radius: 8px;
|
|
7
|
-
}
|
|
8
|
-
.benefit-card{
|
|
9
|
-
max-width: var(--benefit-card-width, 380px) !important;
|
|
10
|
-
border-radius: var(--benefit-border-radius, 8px) !important;
|
|
11
|
-
border-color: var(--benefit-border-color, #dadada) !important;
|
|
12
|
-
border-width: var(--benefit-border-width, 1px) !important;
|
|
13
|
-
}
|
|
14
|
-
.b1-bold{
|
|
15
|
-
font-size: 16px;
|
|
16
|
-
font-weight: 700;
|
|
17
|
-
color: #444;
|
|
18
|
-
}
|
|
19
|
-
.add-card-button{
|
|
20
|
-
width: 72px;
|
|
21
|
-
max-height: 24px;
|
|
22
|
-
border-radius: 32px;
|
|
23
|
-
border: 1px solid #ffbb00;
|
|
24
|
-
padding: 0px 6px 6px 6px;
|
|
25
|
-
font-weight: 700;
|
|
26
|
-
font-size: 12px;
|
|
27
|
-
background: #ffbb00;
|
|
28
|
-
}
|
|
29
|
-
.remove-card-button{
|
|
30
|
-
width: 84px;
|
|
31
|
-
max-height: 24px;
|
|
32
|
-
padding: 0px 6px 6px 6px;
|
|
33
|
-
border-radius: 24px;
|
|
34
|
-
border: 0.8px solid #444;
|
|
35
|
-
background: #fff;
|
|
36
|
-
font-weight: 700;
|
|
37
|
-
font-size: 12px;
|
|
38
|
-
}
|
|
39
|
-
.b3-regular{
|
|
40
|
-
font-weight: 400;
|
|
41
|
-
font-size: 12px;
|
|
42
|
-
color: #444;
|
|
43
|
-
}
|
|
44
|
-
* {
|
|
45
|
-
font-family: "mulish" !important;
|
|
46
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
<div
|
|
2
|
-
class="benefit-card"
|
|
3
|
-
*ngIf="field() && field()?.isVisible"
|
|
4
|
-
[ngStyle]="
|
|
5
|
-
{
|
|
6
|
-
'--benefit-border-width': field()?.controlStyle?.borderWidth,
|
|
7
|
-
'--benefit-card-width': field()?.controlStyle?.width ,
|
|
8
|
-
'--benefit-border-radius': field()?.controlStyle?.borderRadius ,
|
|
9
|
-
'--benefit-border-color': field()?.controlStyle?.borderColor ,
|
|
10
|
-
}"
|
|
11
|
-
>
|
|
12
|
-
<div class="d-flex justify-content-between">
|
|
13
|
-
<span class="b1-bold" *ngIf="field()?.isShowLabel">{{ field()?.label }}</span>
|
|
14
|
-
<button class="add-card-button">+ Add</button>
|
|
15
|
-
<button class="remove-card-button" *ngIf="false">x Remove</button>
|
|
16
|
-
</div>
|
|
17
|
-
<div class="mt-2">
|
|
18
|
-
<img
|
|
19
|
-
src="https://cdn.godigit.com/retail-life/tabler_wheelchair.png"
|
|
20
|
-
alt=""
|
|
21
|
-
/>
|
|
22
|
-
<span class="b3-regular mx-2">Policy Continuance Benefit on Death</span>
|
|
23
|
-
<img src="https://cdn.godigit.com/retail-life/info-button-lib.svg" alt="" />
|
|
24
|
-
</div>
|
|
25
|
-
</div>
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { CommonModule } from '@angular/common';
|
|
2
|
-
import { Component, input } from '@angular/core';
|
|
3
|
-
|
|
4
|
-
@Component({
|
|
5
|
-
selector: 'lib-benefit-card',
|
|
6
|
-
standalone: true,
|
|
7
|
-
imports: [CommonModule],
|
|
8
|
-
templateUrl: './benefit-card.component.html',
|
|
9
|
-
styleUrl: './benefit-card.component.css',
|
|
10
|
-
})
|
|
11
|
-
export class BenefitCardComponent {
|
|
12
|
-
field: any = input.required<any>();
|
|
13
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
.button{
|
|
2
|
-
height: var(--button-height, 48px) !important;
|
|
3
|
-
min-width: var(--button-width, 164px) !important;
|
|
4
|
-
background: var(--button-background, #ffbb00) !important;
|
|
5
|
-
border-width: var(--button-border-width, 0px) !important;
|
|
6
|
-
border-color: var(--button-border-color, #fb0) !important;
|
|
7
|
-
border-style: var(--button-border-style, solid) !important;
|
|
8
|
-
border-radius: var(--button-border-radius, 8px) !important;
|
|
9
|
-
font-size: var(--button-font-size, 16px) !important;
|
|
10
|
-
font-weight: var(--button-font-weight, 800) !important;
|
|
11
|
-
color: var(--button-text-color, #444) !important;;
|
|
12
|
-
max-width: fit-content;
|
|
13
|
-
}
|
|
14
|
-
.button-text{
|
|
15
|
-
display: flex;
|
|
16
|
-
justify-content: center;
|
|
17
|
-
gap: 4px;
|
|
18
|
-
}
|
|
19
|
-
.button-text img{
|
|
20
|
-
margin-top: 3px;
|
|
21
|
-
}
|
|
22
|
-
*{
|
|
23
|
-
font-family: 'Mulish' !important;
|
|
24
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
<Button
|
|
2
|
-
class="button"
|
|
3
|
-
*ngIf="field() && field()?.isVisible"
|
|
4
|
-
[ngStyle]="
|
|
5
|
-
{
|
|
6
|
-
'--button-border-width': field()?.controlStyle?.borderWidth ,
|
|
7
|
-
'--button-border-color': field()?.controlStyle?.borderColor ,
|
|
8
|
-
'--button-border-style': field()?.controlStyle?.borderStyle ,
|
|
9
|
-
'--button-width': field()?.controlStyle?.width ,
|
|
10
|
-
'--button-font-size': field()?.controlStyle?.fontSize ,
|
|
11
|
-
'--button-font-weight': field()?.controlStyle?.fontWeight ,
|
|
12
|
-
'--button-background': field()?.controlStyle?.background ,
|
|
13
|
-
'--button-border-radius': field()?.controlStyle?.borderRadius ,
|
|
14
|
-
'--button-text-color': field()?.controlStyle?.color ,
|
|
15
|
-
'--button-margin': field()?.controlStyle?.margin ,
|
|
16
|
-
}"
|
|
17
|
-
>
|
|
18
|
-
<span class="button-text">
|
|
19
|
-
<img *ngIf="field()?.imageUrl" [src]='field().imageUrl'>
|
|
20
|
-
<span>{{field()?.label}}</span>
|
|
21
|
-
</span>
|
|
22
|
-
</Button>
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { CommonModule } from '@angular/common';
|
|
2
|
-
import { Component, input } from '@angular/core';
|
|
3
|
-
import { MasterControlService } from '../master-control.service';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
@Component({
|
|
7
|
-
selector: 'lib-button',
|
|
8
|
-
standalone: true,
|
|
9
|
-
imports: [CommonModule],
|
|
10
|
-
templateUrl: './button.component.html',
|
|
11
|
-
styleUrl: './button.component.css'
|
|
12
|
-
})
|
|
13
|
-
export class ButtonComponent {
|
|
14
|
-
constructor(public masterService : MasterControlService){}
|
|
15
|
-
field: any = input.required<any>();
|
|
16
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
* {
|
|
2
|
-
font-family: "mulish" !important;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
.endorsement-card{
|
|
6
|
-
max-height: 94px;
|
|
7
|
-
border-color: var(--card-border-color , #dadada);
|
|
8
|
-
border-width: var(--card-border-width , 1px) ;
|
|
9
|
-
border-style: var(--card-border-style , solid) ;
|
|
10
|
-
border-radius: var(--card-border-radius , 8px);
|
|
11
|
-
padding: 12px;
|
|
12
|
-
max-width: 220px;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.card-label{
|
|
16
|
-
font-size: var(--card-font-size , 14px);
|
|
17
|
-
font-weight: var(--card-font-weight , 600);
|
|
18
|
-
color: var(--card-font-color , #444);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.hr-line{
|
|
22
|
-
border-top: 1px dashed #DADADA !important;
|
|
23
|
-
opacity: initial;
|
|
24
|
-
border-image: repeating-linear-gradient(to right, #DADADA 0 6px, transparent 0px 10px) 1 stretch;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.card-label{
|
|
28
|
-
font-size: 14px;
|
|
29
|
-
font-weight: 600;
|
|
30
|
-
color: #444;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.below-card-text{
|
|
34
|
-
font-size: 12px;
|
|
35
|
-
color: #696969;
|
|
36
|
-
font-weight: 600;
|
|
37
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
<div class="d-flex gap-5" *ngIf="field() && field()?.isVisible">
|
|
2
|
-
<div class="endorsement-card" [ngStyle]="{
|
|
3
|
-
'--card-border-color': field()?.controlStyle?.borderColor ,
|
|
4
|
-
'--card-border-width': field()?.controlStyle?.borderWidth ,
|
|
5
|
-
'--card-border-style': field()?.controlStyle?.borderStyle ,
|
|
6
|
-
'--card-border-radius': field()?.controlStyle?.borderRadius
|
|
7
|
-
}">
|
|
8
|
-
<p class="m-0 card-label" [ngStyle]="{
|
|
9
|
-
'--card-font-size': field()?.controlStyle?.fontSize ,
|
|
10
|
-
'--card-font-weight': field()?.controlStyle?.fontWeight ,
|
|
11
|
-
'--card-font-color': field()?.controlStyle?.color ,
|
|
12
|
-
}">Label</p>
|
|
13
|
-
<hr class="m-0 hr-line mt-1" />
|
|
14
|
-
<div class="d-flex gap-2 mt-1">
|
|
15
|
-
<span>
|
|
16
|
-
<img src="https://cdn.godigit.com/retail-life/Endorsement-add-ons.svg" alt="" />
|
|
17
|
-
</span>
|
|
18
|
-
<span>
|
|
19
|
-
<p class="m-0 card-label">Glow Plus Pure Term</p>
|
|
20
|
-
<span class="below-card-text">L1234694934</span>
|
|
21
|
-
</span>
|
|
22
|
-
</div>
|
|
23
|
-
</div>
|
|
24
|
-
</div>
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { CommonModule } from '@angular/common';
|
|
2
|
-
import { Component, input } from '@angular/core';
|
|
3
|
-
|
|
4
|
-
@Component({
|
|
5
|
-
selector: 'lib-card',
|
|
6
|
-
standalone: true,
|
|
7
|
-
imports: [CommonModule],
|
|
8
|
-
templateUrl: './card.component.html',
|
|
9
|
-
styleUrl: './card.component.css'
|
|
10
|
-
})
|
|
11
|
-
export class CardComponent {
|
|
12
|
-
field: any = input.required<any>();
|
|
13
|
-
}
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
* {
|
|
2
|
-
font-family: "mulish" !important;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
.error-message{
|
|
6
|
-
color: red;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
::ng-deep .mdc-checkbox__background {
|
|
10
|
-
border-radius: var(--checkbox-border-radius, 4px) !important;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
::ng-deep .mdc-checkbox__native-control:disabled:checked~.mdc-checkbox__background{
|
|
14
|
-
background-color: var(--checkbox-bg-color , #ffffff) !important;
|
|
15
|
-
border-color: rgba(0, 0, 0, 0);
|
|
16
|
-
}
|
|
17
|
-
::ng-deep .mdc-checkbox__native-control:disabled:indeterminate~.mdc-checkbox__background {
|
|
18
|
-
background-color: var(--checkbox-bg-color , #ffffff) !important;
|
|
19
|
-
border-color: rgba(0, 0, 0, 0);
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
::ng-deep .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background{
|
|
23
|
-
border-color: var(--checkbox-border-color-focus, #ffbb00) !important;
|
|
24
|
-
background-color: var(--checkbox-bg-color-focus, #ffbb00) !important;
|
|
25
|
-
border-radius: var(--checkbox-border-radius, 4px) !important;
|
|
26
|
-
}
|
|
27
|
-
::ng-deep .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background {
|
|
28
|
-
border-color: var(--checkbox-border-color-focus, #ffbb00) !important;
|
|
29
|
-
background-color: var(--checkbox-bg-color-focus, #ffbb00) !important;
|
|
30
|
-
border-radius: var(--checkbox-border-radius, 4px) !important;
|
|
31
|
-
}
|
|
32
|
-
::ng-deep .mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{
|
|
33
|
-
color: #fff !important;
|
|
34
|
-
}
|
|
35
|
-
::ng-deep .mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked{
|
|
36
|
-
background-color: var(--checkbox-bg-color-focus, #ffbb00) !important;
|
|
37
|
-
border-radius: var(--checkbox-border-radius, 4px) !important;;
|
|
38
|
-
}
|
|
39
|
-
::ng-deep .mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate {
|
|
40
|
-
background-color: var(--checkbox-bg-color-focus, #ffbb00) !important;
|
|
41
|
-
border-radius: var(--checkbox-border-radius, 4px) !important;;
|
|
42
|
-
}
|
|
43
|
-
::ng-deep .mat-pseudo-checkbox {
|
|
44
|
-
border: 1px solid #DADADA;
|
|
45
|
-
}
|
|
46
|
-
::ng-deep .checkbox{
|
|
47
|
-
padding: 4px 8px 3px 0px;
|
|
48
|
-
background: #f5f5f5;
|
|
49
|
-
border-radius: 4px;
|
|
50
|
-
margin-right: 8px;
|
|
51
|
-
}
|
|
52
|
-
::ng-deep .mat-mdc-checkbox label{
|
|
53
|
-
font-size: var(--checkbox-font-size , 16px) !important;
|
|
54
|
-
font-weight: var(--checkbox-font-weight , 700) !important;
|
|
55
|
-
color: var(--checkbox-font-color , #444) !important;
|
|
56
|
-
padding: 0px !important;
|
|
57
|
-
margin-bottom: 2px;
|
|
58
|
-
font-family: 'Mulish' !important;
|
|
59
|
-
}
|
|
60
|
-
::ng-deep .mat-mdc-checkbox .mdc-checkbox__ripple{
|
|
61
|
-
display: none;
|
|
62
|
-
}
|
|
63
|
-
::ng-deep .mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark {
|
|
64
|
-
color: #fff !important;
|
|
65
|
-
}
|