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,79 +0,0 @@
|
|
|
1
|
-
<label
|
|
2
|
-
class="field-lable"
|
|
3
|
-
*ngIf="field() && field()?.isVisible && field().isShowLabel"
|
|
4
|
-
>{{ field()?.label
|
|
5
|
-
}}<span style="color: red" *ngIf="field() && field()?.validators?.isRequired"
|
|
6
|
-
>*</span
|
|
7
|
-
></label
|
|
8
|
-
>
|
|
9
|
-
<mat-form-field
|
|
10
|
-
class="w-100 hyphen-input"
|
|
11
|
-
appearance="outline"
|
|
12
|
-
[ngStyle]="{
|
|
13
|
-
'--custom-border-color': field()?.controlStyle?.borderColor ,
|
|
14
|
-
'--custom-border-width': field()?.controlStyle?.borderWidth ,
|
|
15
|
-
'--custom-border-radius': field()?.controlStyle?.borderRadius ,
|
|
16
|
-
'--custom-bg-color': field()?.controlStyle?.background ,
|
|
17
|
-
'--custom-border-color-focus': field()?.controlStyle?.focusBorderColor ,
|
|
18
|
-
'--custom-border-width-focus': field()?.controlStyle?.focusBorderWidth ,
|
|
19
|
-
'--custom-bg-color-focus': field()?.controlStyle?.focusBackground ,
|
|
20
|
-
'--custom-border-color-hover': field()?.controlStyle?.hoverBorderColor ,
|
|
21
|
-
'--custom-border-width-hover': field()?.controlStyle?.hoverBorderWidth ,
|
|
22
|
-
'--custom-border-color-error': field()?.controlStyle?.errorBorderColor ,
|
|
23
|
-
'--custom-border-width-error': field()?.controlStyle?.errorBorderWidth ,
|
|
24
|
-
'--custom-font-size': field()?.controlStyle?.fontSize ,
|
|
25
|
-
'--custom-font-weight': field()?.controlStyle?.fontWeight ,
|
|
26
|
-
'--custom-font-family': field()?.controlStyle?.fontFamily ,
|
|
27
|
-
'--custom-font-color': field()?.controlStyle?.color ,
|
|
28
|
-
'--custom-caret-color': field()?.controlStyle?.caretColor ,
|
|
29
|
-
'--custom-font-color-disabled' : field()?.controlStyle?.disableColor ,
|
|
30
|
-
'--custom-bg-color-disabled' : field()?.controlStyle?.disableBackground ,
|
|
31
|
-
}"
|
|
32
|
-
>
|
|
33
|
-
@if(reactiveFormControlobject()) {
|
|
34
|
-
<input
|
|
35
|
-
matInput
|
|
36
|
-
autocomplete="none"
|
|
37
|
-
[type]="field()?.controlType"
|
|
38
|
-
[name]="field()?.fieldName"
|
|
39
|
-
[id]="field()?.fieldName"
|
|
40
|
-
[minLength]="field()?.validators?.minLength"
|
|
41
|
-
[disabled]="field()?.isDisable"
|
|
42
|
-
[required]="field()?.validators?.isRequired"
|
|
43
|
-
[pattern]="field()?.validators?.pattern"
|
|
44
|
-
(input)="onInputChange($event)"
|
|
45
|
-
(blur)="onInputBlur()"
|
|
46
|
-
[value]="inputValue"
|
|
47
|
-
[placeholder]="getUnderscorePlaceholder()"
|
|
48
|
-
(keyup)="changeFormat($event)"
|
|
49
|
-
[formControl]="reactiveFormControlobject()"
|
|
50
|
-
/>
|
|
51
|
-
}@else {
|
|
52
|
-
<input
|
|
53
|
-
matInput
|
|
54
|
-
autocomplete="none"
|
|
55
|
-
[type]="field()?.controlType"
|
|
56
|
-
[name]="field()?.fieldName"
|
|
57
|
-
[id]="field()?.fieldName"
|
|
58
|
-
[minLength]="field()?.validators?.minLength"
|
|
59
|
-
[disabled]="field()?.isDisable"
|
|
60
|
-
[required]="field()?.validators?.isRequired"
|
|
61
|
-
[pattern]="field()?.validators?.pattern"
|
|
62
|
-
(input)="onInputChange($event)"
|
|
63
|
-
(blur)="onInputBlur()"
|
|
64
|
-
[value]="inputValue"
|
|
65
|
-
[placeholder]="getUnderscorePlaceholder()"
|
|
66
|
-
(keyup)="changeFormat($event)"
|
|
67
|
-
/>
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
<mat-error *ngIf="false">
|
|
71
|
-
{{ field()?.validators?.isRequiredMessage }}
|
|
72
|
-
</mat-error>
|
|
73
|
-
</mat-form-field>
|
|
74
|
-
<div class="error-message" *ngIf="false">
|
|
75
|
-
{{ field()?.validators?.isRequiredMessage }}.
|
|
76
|
-
</div>
|
|
77
|
-
<div class="error-message" *ngIf="false">
|
|
78
|
-
{{ field()?.validators?.patternMessage }}.
|
|
79
|
-
</div>
|
|
@@ -1,62 +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-textbox-with-underscore',
|
|
9
|
-
standalone: true,
|
|
10
|
-
imports: [CommonModule, MatInputModule, MatFormFieldModule, ReactiveFormsModule],
|
|
11
|
-
templateUrl: './textbox-with-underscore.component.html',
|
|
12
|
-
styleUrl: './textbox-with-underscore.component.css',
|
|
13
|
-
providers: [
|
|
14
|
-
{
|
|
15
|
-
provide: NG_VALUE_ACCESSOR,
|
|
16
|
-
useExisting: TextboxWithUnderscoreComponent,
|
|
17
|
-
multi: true
|
|
18
|
-
}
|
|
19
|
-
]
|
|
20
|
-
})
|
|
21
|
-
export class TextboxWithUnderscoreComponent {
|
|
22
|
-
field: any = input.required<any>();
|
|
23
|
-
inputValue: any = null;
|
|
24
|
-
reactiveFormControlobject : any = input<any>();
|
|
25
|
-
_onChange: any = (inputValue:any) => {};
|
|
26
|
-
_unTouched: any = () => {};
|
|
27
|
-
|
|
28
|
-
writeValue(obj: any): void{
|
|
29
|
-
this.inputValue=obj;
|
|
30
|
-
};
|
|
31
|
-
registerOnChange(fn: any): void{
|
|
32
|
-
this._onChange = fn;
|
|
33
|
-
};
|
|
34
|
-
registerOnTouched(fn: any): void{
|
|
35
|
-
this._unTouched = fn;
|
|
36
|
-
};
|
|
37
|
-
setDisabledState?(isDisabled: boolean): void{};
|
|
38
|
-
|
|
39
|
-
onInputChange(event: any): void {
|
|
40
|
-
this.inputValue = event.target.value;
|
|
41
|
-
this._onChange(this.inputValue);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
onInputBlur(): void {
|
|
45
|
-
this._unTouched();
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
changeFormat(event: any) {
|
|
49
|
-
let digits = event.target.value.replace(/[^0-9]/g, '').slice(0, this.field().validators.maxLength);
|
|
50
|
-
let padded = digits.padEnd(this.field().validators.maxLength, '_');
|
|
51
|
-
event.target.value = padded;
|
|
52
|
-
|
|
53
|
-
setTimeout(() => {
|
|
54
|
-
let pos = digits.length;
|
|
55
|
-
if (pos > this.field().validators.maxLength) pos = this.field().validators.maxLength;
|
|
56
|
-
event.target.setSelectionRange(pos, pos);
|
|
57
|
-
});
|
|
58
|
-
}
|
|
59
|
-
getUnderscorePlaceholder() {
|
|
60
|
-
return '_'.repeat(this.field().validators.maxLength);
|
|
61
|
-
}
|
|
62
|
-
}
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
* {
|
|
2
|
-
font-family: "mulish" !important;
|
|
3
|
-
}
|
|
4
|
-
::ng-deep .toggle-background {
|
|
5
|
-
background-color: var(--custom-toggle-bg-color , #f5f5f5) !important;
|
|
6
|
-
padding: 2px 8px;
|
|
7
|
-
/* border-radius: 8px;
|
|
8
|
-
border-color: transparent !important; */
|
|
9
|
-
width: var(--custom-toggle-width , 100%) !important;;
|
|
10
|
-
box-shadow: none;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
::ng-deep .toggle-background {
|
|
14
|
-
border-color: var(--custom-toggle-border-color , transparent) !important;
|
|
15
|
-
border-radius: var(--custom-toggle-border-radius , 4px) !important;
|
|
16
|
-
border-width: var(--custom-toggle-border-width , 1px) !important;
|
|
17
|
-
}
|
|
18
|
-
::ng-deep .toggle_switch {
|
|
19
|
-
display: flex;
|
|
20
|
-
align-items: center;
|
|
21
|
-
gap: 10px;
|
|
22
|
-
font-size: 17px;
|
|
23
|
-
font-weight: 400;
|
|
24
|
-
font-family: "Mulish";
|
|
25
|
-
color: #444444;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
::ng-deep .switch {
|
|
29
|
-
position: relative;
|
|
30
|
-
display: inline-block;
|
|
31
|
-
width: 34px;
|
|
32
|
-
height: 18px;
|
|
33
|
-
}
|
|
34
|
-
::ng-deep .switch input {
|
|
35
|
-
opacity: 0;
|
|
36
|
-
width: 0;
|
|
37
|
-
height: 0;
|
|
38
|
-
}
|
|
39
|
-
::ng-deep .slider {
|
|
40
|
-
position: absolute;
|
|
41
|
-
cursor: pointer;
|
|
42
|
-
top: 0;
|
|
43
|
-
left: 0;
|
|
44
|
-
right: 0;
|
|
45
|
-
bottom: 0;
|
|
46
|
-
background-color: #dddddd;
|
|
47
|
-
-webkit-transition: 0.4s;
|
|
48
|
-
transition: 0.4s;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
::ng-deep .slider:before {
|
|
52
|
-
position: absolute;
|
|
53
|
-
content: "";
|
|
54
|
-
height: 11px;
|
|
55
|
-
width: 11px;
|
|
56
|
-
left: 4px;
|
|
57
|
-
bottom: 4px;
|
|
58
|
-
background-color: #ffffff;
|
|
59
|
-
-webkit-transition: 0.4s;
|
|
60
|
-
transition: 0.4s;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
::ng-deep .slider.round {
|
|
64
|
-
border-radius: 34px;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
::ng-deep input:checked + .slider {
|
|
68
|
-
background-color: #ffbb00;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
::ng-deep input:checked + .slider:before {
|
|
72
|
-
-webkit-transform: translateX(16px);
|
|
73
|
-
-ms-transform: translateX(16px);
|
|
74
|
-
transform: translateX(16px);
|
|
75
|
-
}
|
|
76
|
-
::ng-deep .slider.round:before {
|
|
77
|
-
border-radius: 50%;
|
|
78
|
-
}
|
|
79
|
-
::ng-deep .remove-border {
|
|
80
|
-
border: none !important;
|
|
81
|
-
outline: none !important;
|
|
82
|
-
box-shadow: none !important;
|
|
83
|
-
}
|
|
84
|
-
::ng-deep .remove-border:focus-visible {
|
|
85
|
-
border: none !important;
|
|
86
|
-
outline: none !important;
|
|
87
|
-
box-shadow: none !important;
|
|
88
|
-
}
|
|
89
|
-
::ng-deep .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background, .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background {
|
|
90
|
-
border-color: #ffbb00 !important;
|
|
91
|
-
background-color: #ffbb00 !important;
|
|
92
|
-
border-radius: 4px !important;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
::ng-deep .mdc-checkbox__checkmark {
|
|
96
|
-
color: #ffffff !important;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
::ng-deep .mdc-checkbox__background {
|
|
100
|
-
border: 1px solid #dadada !important;
|
|
101
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
<div class="" *ngIf="field() && field()?.isVisible && field().isShowLabel" [ngStyle]="{
|
|
2
|
-
'--custom-toggle-bg-color': field()?.controlStyle?.background,
|
|
3
|
-
'--custom-toggle-border-color': field()?.controlStyle?.borderColor ,
|
|
4
|
-
'--custom-toggle-border-width': field()?.controlStyle?.borderWidth ,
|
|
5
|
-
'--custom-toggle-border-radius': field()?.controlStyle?.borderRadius,
|
|
6
|
-
'--custom-toggle-width': field()?.controlStyle?.width,
|
|
7
|
-
}"
|
|
8
|
-
[ngClass]="field()?.cssClass ? 'card toggle-background mt-2' + field()?.cssClass : 'card toggle-background mt-2'"
|
|
9
|
-
>
|
|
10
|
-
<div class="toggle_switch mt-2">
|
|
11
|
-
<div *ngIf="field().configData?.leftLabel" [ngStyle]="{
|
|
12
|
-
'--custom-toggle-font-size': field()?.controlStyle?.fontSize ,
|
|
13
|
-
'--custom-toggle-font-weight': field()?.controlStyle?.fontWeight ,
|
|
14
|
-
'--custom-toggle-font-family': field()?.controlStyle?.fontFamily ,
|
|
15
|
-
'--custom-toggle-font-color': field()?.controlStyle?.color ,
|
|
16
|
-
}" class="toggle-text">
|
|
17
|
-
<p>{{field().configData?.leftLabel}}</p>
|
|
18
|
-
</div>
|
|
19
|
-
<div class="mb-1">
|
|
20
|
-
<label class="switch">
|
|
21
|
-
<input
|
|
22
|
-
type="checkbox"
|
|
23
|
-
[name]="field()?.fieldName"
|
|
24
|
-
[id]="field()?.fieldName"
|
|
25
|
-
[disabled]="field()?.isDisable"
|
|
26
|
-
/>
|
|
27
|
-
<span class="slider round"></span>
|
|
28
|
-
</label>
|
|
29
|
-
</div>
|
|
30
|
-
<div [ngStyle]="{
|
|
31
|
-
'--custom-toggle-font-size': field()?.controlStyle?.fontSize ,
|
|
32
|
-
'--custom-toggle-font-weight': field()?.controlStyle?.fontWeight ,
|
|
33
|
-
'--custom-toggle-font-family': field()?.controlStyle?.fontFamily ,
|
|
34
|
-
'--custom-toggle-font-color': field()?.controlStyle?.color ,
|
|
35
|
-
}" class="toggle-text">
|
|
36
|
-
<p>{{field()?.label}}</p>
|
|
37
|
-
</div>
|
|
38
|
-
</div>
|
|
39
|
-
</div>
|
|
@@ -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
|
-
import { ReactiveFormsModule } from '@angular/forms';
|
|
5
|
-
|
|
6
|
-
@Component({
|
|
7
|
-
selector: 'lib-toggle',
|
|
8
|
-
standalone: true,
|
|
9
|
-
imports: [CommonModule, ReactiveFormsModule],
|
|
10
|
-
templateUrl: './toggle.component.html',
|
|
11
|
-
styleUrl: './toggle.component.css'
|
|
12
|
-
})
|
|
13
|
-
export class ToggleComponent {
|
|
14
|
-
constructor(public masterService : MasterControlService){}
|
|
15
|
-
field : any = input.required<any>();
|
|
16
|
-
}
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
:host ::ng-deep
|
|
2
|
-
.mat-button-toggle-group-appearance-standard
|
|
3
|
-
.mat-button-toggle-appearance-standard
|
|
4
|
-
+ .mat-button-toggle-appearance-standard {
|
|
5
|
-
border: none;
|
|
6
|
-
}
|
|
7
|
-
:host ::ng-deep .mat-button-toggle-standalone,
|
|
8
|
-
.mat-button-toggle-group {
|
|
9
|
-
border-radius: 50px;
|
|
10
|
-
}
|
|
11
|
-
:host ::ng-deep
|
|
12
|
-
.mat-button-toggle-appearance-standard
|
|
13
|
-
.mat-button-toggle-label-content {
|
|
14
|
-
height: 32px !important;
|
|
15
|
-
transform: translate(0px, -5px);
|
|
16
|
-
font-size: 12px;
|
|
17
|
-
font-weight: 400;
|
|
18
|
-
color: #444;
|
|
19
|
-
letter-spacing: 1px;
|
|
20
|
-
}
|
|
21
|
-
:host ::ng-deep .mat-button-toggle-checked .mat-button-toggle-button {
|
|
22
|
-
background: #fff !important;
|
|
23
|
-
border-radius: 50px !important;
|
|
24
|
-
box-shadow: 0px 0px 15px 0px #00000014 !important;
|
|
25
|
-
height: 32px;
|
|
26
|
-
padding: 0px 24px;
|
|
27
|
-
border: 1px solid #ffbb00;
|
|
28
|
-
}
|
|
29
|
-
:host ::ng-deep .mat-button-toggle-button {
|
|
30
|
-
padding: 0px 24px;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
:host ::ng-deep .mat-button-toggle-checked .mat-button-toggle-label-content {
|
|
34
|
-
font-weight: 600 !important;
|
|
35
|
-
letter-spacing: 1px;
|
|
36
|
-
}
|
|
37
|
-
:host ::ng-deep .mat-button-toggle .mat-pseudo-checkbox {
|
|
38
|
-
display: none;
|
|
39
|
-
}
|
|
40
|
-
:host ::ng-deep .mat-button-toggle-standalone.mat-button-toggle-appearance-standard,
|
|
41
|
-
.mat-button-toggle-group-appearance-standard {
|
|
42
|
-
border: 1px solid #ddd !important;
|
|
43
|
-
background: #f5f5f5 !important;
|
|
44
|
-
height: 33px;
|
|
45
|
-
}
|
|
46
|
-
:host ::ng-deep
|
|
47
|
-
.mat-button-toggle-group-appearance-standard
|
|
48
|
-
.mat-button-toggle-appearance-standard
|
|
49
|
-
+ .mat-button-toggle-appearance-standard {
|
|
50
|
-
border: none !important;
|
|
51
|
-
}
|
|
52
|
-
:host ::ng-deep .mat-button-toggle-appearance-standard.mat-button-toggle-checked {
|
|
53
|
-
background: #f5f5f5 !important;
|
|
54
|
-
border-radius: 50px;
|
|
55
|
-
}
|
|
56
|
-
.toggle-img {
|
|
57
|
-
width: 12px;
|
|
58
|
-
}
|
|
59
|
-
:host ::ng-deep .mat-button-toggle-standalone,
|
|
60
|
-
.mat-button-toggle-group {
|
|
61
|
-
overflow: unset !important;
|
|
62
|
-
}
|
|
63
|
-
.second-box {
|
|
64
|
-
position: relative;
|
|
65
|
-
top: -4px;
|
|
66
|
-
}
|
|
67
|
-
.top-green-card {
|
|
68
|
-
font-size: 10px;
|
|
69
|
-
font-weight: 800;
|
|
70
|
-
color: #fff;
|
|
71
|
-
background: #169f7d;
|
|
72
|
-
border-top-left-radius: 999px;
|
|
73
|
-
border-top-right-radius: 999px;
|
|
74
|
-
position: absolute;
|
|
75
|
-
right: 3em;
|
|
76
|
-
padding: 2px 16px 2px 12px;
|
|
77
|
-
transform: translate(5px, -19px);
|
|
78
|
-
z-index: 99999;
|
|
79
|
-
height: 18px;
|
|
80
|
-
}
|
|
81
|
-
.green-card-img {
|
|
82
|
-
width: 14.86px;
|
|
83
|
-
margin-bottom: 6px;
|
|
84
|
-
}
|
|
85
|
-
:host ::ng-deep .mat-button-toggle-button{
|
|
86
|
-
width: var(--toggle-button-width , 100%) !important;
|
|
87
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
<div style="position: relative" [ngClass]="field()?.cssClass">
|
|
2
|
-
<mat-button-toggle-group
|
|
3
|
-
[ngStyle]="{
|
|
4
|
-
'--toggle-button-width': field()?.controlStyle?.width ,
|
|
5
|
-
}"
|
|
6
|
-
name="fontStyle"
|
|
7
|
-
class="custom-mat-toggle"
|
|
8
|
-
aria-label="Font Style"
|
|
9
|
-
*ngIf="field() && field()?.isVisible && field()?.configData.options"
|
|
10
|
-
>
|
|
11
|
-
@for (data of field()?.configData.options; track $index) {
|
|
12
|
-
<mat-button-toggle [value]="data.value"
|
|
13
|
-
>{{ data.label }}
|
|
14
|
-
<img
|
|
15
|
-
*ngIf="data.imgUrl"
|
|
16
|
-
[src]="data.imgUrl"
|
|
17
|
-
alt=""
|
|
18
|
-
class="toggle-img mx-1"
|
|
19
|
-
/>
|
|
20
|
-
</mat-button-toggle>
|
|
21
|
-
<div class="top-green-card" *ngIf="data.toggleTopText">
|
|
22
|
-
<span class="second-box">
|
|
23
|
-
<img
|
|
24
|
-
class="green-card-img"
|
|
25
|
-
*ngIf="data.topImage"
|
|
26
|
-
[src]="data.topImage"
|
|
27
|
-
alt=""
|
|
28
|
-
/>
|
|
29
|
-
<span>{{ data.toggleTopText }}</span>
|
|
30
|
-
</span>
|
|
31
|
-
</div>
|
|
32
|
-
}
|
|
33
|
-
</mat-button-toggle-group>
|
|
34
|
-
</div>
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { CommonModule } from '@angular/common';
|
|
2
|
-
import { Component, input } from '@angular/core';
|
|
3
|
-
import { MatButtonToggleModule } from '@angular/material/button-toggle';
|
|
4
|
-
|
|
5
|
-
@Component({
|
|
6
|
-
selector: 'lib-toggle-button',
|
|
7
|
-
standalone: true,
|
|
8
|
-
imports: [MatButtonToggleModule, CommonModule],
|
|
9
|
-
templateUrl: './toggle-button.component.html',
|
|
10
|
-
styleUrl: './toggle-button.component.css'
|
|
11
|
-
})
|
|
12
|
-
export class ToggleButtonComponent {
|
|
13
|
-
field : any = input.required<any>();
|
|
14
|
-
}
|
|
@@ -1,147 +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
|
-
|
|
8
|
-
.mobile-field .mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{
|
|
9
|
-
transform: var(--mat-mdc-form-field-label-transform, translateY(-50%) translateX(calc(1 * (61.625px + var(--mat-mdc-form-field-label-offset-x, 0px))))) !important;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.error-message{
|
|
13
|
-
color: red;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.hyphen-input{
|
|
17
|
-
letter-spacing: 5px !important;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.prefix_alternate_mobile {
|
|
21
|
-
font-size: 12px;
|
|
22
|
-
font-weight: 400;
|
|
23
|
-
color: #8F8F8F;
|
|
24
|
-
padding: 10px 6px 10px 0px;
|
|
25
|
-
border-right: 1px solid #dddddd;
|
|
26
|
-
height: 20px;
|
|
27
|
-
width: auto;
|
|
28
|
-
display: flex;
|
|
29
|
-
justify-content: center;
|
|
30
|
-
align-items: center;
|
|
31
|
-
position: relative;
|
|
32
|
-
cursor: pointer;
|
|
33
|
-
transform: translate(-6px, 0px);
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.countryCode {
|
|
37
|
-
gap: 4px;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
/* focus css for mat-form-field */
|
|
41
|
-
::ng-deep .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused
|
|
42
|
-
.mat-mdc-notch-piece {
|
|
43
|
-
border-color: var(--custom-border-color-focus, #ffbb00) !important;
|
|
44
|
-
border-width: var(--custom-border-width-focus, 1.5px) !important;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
::ng-deep .mat-mdc-form-field {
|
|
48
|
-
background-color: var(--custom-bg-color, #ffffff) !important;
|
|
49
|
-
border-radius: var(--custom-border-radius , 7px) !important;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
/* hover css for mat-form-field */
|
|
53
|
-
|
|
54
|
-
::ng-deep .mdc-text-field--outlined:not(.mdc-text-field--disabled):not(
|
|
55
|
-
.mdc-text-field--focused
|
|
56
|
-
):hover
|
|
57
|
-
.mdc-notched-outline
|
|
58
|
-
.mdc-notched-outline__leading {
|
|
59
|
-
border-color: var(--custom-border-color-hover, #ffbb00) !important;
|
|
60
|
-
border-width: var(--custom-border-width-hover, 1.5px) !important;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
::ng-deep .mdc-text-field--outlined:not(.mdc-text-field--disabled):not(
|
|
64
|
-
.mdc-text-field--focused
|
|
65
|
-
):hover
|
|
66
|
-
.mdc-notched-outline
|
|
67
|
-
.mdc-notched-outline__notch {
|
|
68
|
-
border-color: var(--custom-border-color-hover, #ffbb00) !important;
|
|
69
|
-
border-width: var(--custom-border-width-hover, 1.5px) !important;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
::ng-deep .mdc-text-field--outlined:not(.mdc-text-field--disabled):not(
|
|
73
|
-
.mdc-text-field--focused
|
|
74
|
-
):hover
|
|
75
|
-
.mdc-notched-outline
|
|
76
|
-
.mdc-notched-outline__trailing {
|
|
77
|
-
border-color: var(--custom-border-color-hover, #ffbb00) !important;
|
|
78
|
-
border-width: var(--custom-border-width-hover, 1.5px) !important;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
/* regular css for mat-form-field */
|
|
82
|
-
::ng-deep .mdc-text-field--outlined .mat-mdc-notch-piece {
|
|
83
|
-
border-color: var(--custom-border-color, #dddddd) !important;
|
|
84
|
-
border-width: var(--custom-border-width, 1.5px) !important;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
/* field css for mat-form-input-field */
|
|
88
|
-
::ng-deep .mdc-text-field--outlined:not(.mdc-text-field--disabled)
|
|
89
|
-
.mdc-text-field__input {
|
|
90
|
-
caret-color: var(--custom-caret-color, #ffbb00) !important;
|
|
91
|
-
/* font-size: var(--custom-font-size, 16px) !important; */
|
|
92
|
-
font-size: 12px !important;
|
|
93
|
-
font-weight: var(--custom-font-weight, 400) !important;
|
|
94
|
-
font-family: var(--custom-font-family, 'Mulish') !important;
|
|
95
|
-
color: var(--custom-font-color, #444444) !important;
|
|
96
|
-
}
|
|
97
|
-
/* Error state for mat-form-field */
|
|
98
|
-
::ng-deep .mat-form-field-invalid
|
|
99
|
-
.mdc-text-field--outlined .mat-mdc-notch-piece {
|
|
100
|
-
border-color: var(--custom-border-color-error, red) !important;
|
|
101
|
-
border-width: var(--custom-border-width-error, 1.5px) !important;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
::ng-deep .mat-mdc-form-field.mat-form-field-disabled{
|
|
105
|
-
background: var(--custom-bg-color-disabled, #ECECEC) !important;
|
|
106
|
-
}
|
|
107
|
-
::ng-deep .mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input {
|
|
108
|
-
color : var(--custom-font-color-disabled, #999999) !important;
|
|
109
|
-
}
|
|
110
|
-
::ng-deep .mdc-label {
|
|
111
|
-
color: var(--custom-font-color, #444) !important;
|
|
112
|
-
font-size: var(--custom-font-size, 16px) !important;
|
|
113
|
-
font-weight: var(--custom-font-weight, 400) !important;
|
|
114
|
-
font-family: var(--custom-font-family, 'Mulish') !important;
|
|
115
|
-
}
|
|
116
|
-
::placeholder {
|
|
117
|
-
color: #8f8f8f !important;
|
|
118
|
-
font-size: 12px !important;
|
|
119
|
-
}
|
|
120
|
-
::ng-deep .mat-mdc-form-field-hint-wrapper{
|
|
121
|
-
padding: 0px !important;
|
|
122
|
-
}
|
|
123
|
-
::ng-deep .mat-mdc-form-field-error-wrapper{
|
|
124
|
-
padding: 0px !important;
|
|
125
|
-
}
|
|
126
|
-
::ng-deep .mat-mdc-form-field-error{
|
|
127
|
-
color: #EE0000 !important;
|
|
128
|
-
font-size: 12px;
|
|
129
|
-
font-weight: 500;
|
|
130
|
-
font-family: "Mulish" !important;
|
|
131
|
-
letter-spacing: 0;
|
|
132
|
-
}
|
|
133
|
-
::ng-deep .mdc-text-field--outlined {
|
|
134
|
-
--mdc-outlined-text-field-container-shape: var(--custom-border-radius , 7px) !important;
|
|
135
|
-
}
|
|
136
|
-
::ng-deep .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece {
|
|
137
|
-
border-color: var(--custom-border-color-error, red) !important;
|
|
138
|
-
border-width: var(--custom-border-width-error, 1.5px) !important;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
::ng-deep .mat-mdc-form-field-subscript-wrapper {
|
|
142
|
-
display: none !important;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
* {
|
|
146
|
-
font-family: "mulish" !important;
|
|
147
|
-
}
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
<label
|
|
2
|
-
class="field-lable"
|
|
3
|
-
*ngIf="field() && field()?.isVisible && field().isShowLabel"
|
|
4
|
-
>{{ field()?.label
|
|
5
|
-
}}<span style="color: red" *ngIf="field() && field()?.validators?.isRequired"
|
|
6
|
-
>*</span
|
|
7
|
-
></label
|
|
8
|
-
>
|
|
9
|
-
<mat-form-field
|
|
10
|
-
class="w-100 mobile-field hyphen-input"
|
|
11
|
-
appearance="outline"
|
|
12
|
-
*ngIf="field() && field()?.isVisible"
|
|
13
|
-
[ngStyle]="{
|
|
14
|
-
'--custom-border-color': field()?.controlStyle?.borderColor ,
|
|
15
|
-
'--custom-border-width': field()?.controlStyle?.borderWidth ,
|
|
16
|
-
'--custom-border-radius': field()?.controlStyle?.borderRadius ,
|
|
17
|
-
'--custom-bg-color': field()?.controlStyle?.background ,
|
|
18
|
-
'--custom-border-color-focus': field()?.controlStyle?.focusBorderColor ,
|
|
19
|
-
'--custom-border-width-focus': field()?.controlStyle?.focusBorderWidth ,
|
|
20
|
-
'--custom-bg-color-focus': field()?.controlStyle?.focusBackground ,
|
|
21
|
-
'--custom-border-color-hover': field()?.controlStyle?.hoverBorderColor ,
|
|
22
|
-
'--custom-border-width-hover': field()?.controlStyle?.hoverBorderWidth ,
|
|
23
|
-
'--custom-border-color-error': field()?.controlStyle?.errorBorderColor ,
|
|
24
|
-
'--custom-border-width-error': field()?.controlStyle?.errorBorderWidth ,
|
|
25
|
-
'--custom-font-size': field()?.controlStyle?.fontSize ,
|
|
26
|
-
'--custom-font-weight': field()?.controlStyle?.fontWeight ,
|
|
27
|
-
'--custom-font-family': field()?.controlStyle?.fontFamily ,
|
|
28
|
-
'--custom-font-color': field()?.controlStyle?.color ,
|
|
29
|
-
'--custom-caret-color': field()?.controlStyle?.caretColor ,
|
|
30
|
-
'--custom-font-color-disabled' : field()?.controlStyle?.disableColor ,
|
|
31
|
-
'--custom-bg-color-disabled' : field()?.controlStyle?.disableBackground ,
|
|
32
|
-
}"
|
|
33
|
-
>
|
|
34
|
-
<div matTextPrefix class="prefix_alternate_mobile primary">
|
|
35
|
-
<div class="d-flex countryCode">
|
|
36
|
-
<span class="country_code_input"> {{ CountryCode }} </span>
|
|
37
|
-
<span
|
|
38
|
-
><img src="https://cdn.godigit.com/retail-life/down-arrow.svg" alt=""
|
|
39
|
-
/></span>
|
|
40
|
-
</div>
|
|
41
|
-
</div>
|
|
42
|
-
@if(reactiveFormControlobject()) {
|
|
43
|
-
<input
|
|
44
|
-
matInput
|
|
45
|
-
autocomplete="none"
|
|
46
|
-
[type]="field()?.controlType"
|
|
47
|
-
[minLength]="field()?.validators?.minLength"
|
|
48
|
-
[disabled]="field()?.isDisable"
|
|
49
|
-
[required]="field()?.validators?.isRequired"
|
|
50
|
-
[pattern]="field()?.validators?.pattern"
|
|
51
|
-
(input)="onInputChange($event)"
|
|
52
|
-
(blur)="onInputBlur()"
|
|
53
|
-
[value]="inputValue"
|
|
54
|
-
[placeholder]="getUnderscorePlaceholder()"
|
|
55
|
-
(keyup)="changeFormat($event)"
|
|
56
|
-
[formControl]="reactiveFormControlobject()"
|
|
57
|
-
/>
|
|
58
|
-
}@else {
|
|
59
|
-
<input
|
|
60
|
-
matInput
|
|
61
|
-
autocomplete="none"
|
|
62
|
-
[type]="field()?.controlType"
|
|
63
|
-
[minLength]="field()?.validators?.minLength"
|
|
64
|
-
[disabled]="field()?.isDisable"
|
|
65
|
-
[required]="field()?.validators?.isRequired"
|
|
66
|
-
[pattern]="field()?.validators?.pattern"
|
|
67
|
-
(input)="onInputChange($event)"
|
|
68
|
-
(blur)="onInputBlur()"
|
|
69
|
-
[value]="inputValue"
|
|
70
|
-
[placeholder]="getUnderscorePlaceholder()"
|
|
71
|
-
(keyup)="changeFormat($event)"
|
|
72
|
-
/>
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
<span matSuffix class="p-3">
|
|
76
|
-
<img src="https://cdn.godigit.com/retail-life/edit-icon.svg" alt="" />
|
|
77
|
-
</span>
|
|
78
|
-
<mat-error *ngIf="false">
|
|
79
|
-
{{ field()?.validators?.isRequiredMessage }}
|
|
80
|
-
</mat-error>
|
|
81
|
-
</mat-form-field>
|
|
82
|
-
<div class="error-message" *ngIf="false">
|
|
83
|
-
{{ field()?.validators?.isRequiredMessage }}.
|
|
84
|
-
</div>
|
|
85
|
-
<div class="error-message" *ngIf="false">
|
|
86
|
-
{{ field()?.validators?.patternMessage }}.
|
|
87
|
-
</div>
|