master-control 0.2.13 → 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,17 +0,0 @@
|
|
|
1
|
-
import { CommonModule } from '@angular/common';
|
|
2
|
-
import { Component, input } from '@angular/core';
|
|
3
|
-
import { FormsModule } from '@angular/forms';
|
|
4
|
-
|
|
5
|
-
@Component({
|
|
6
|
-
selector: 'lib-download-document',
|
|
7
|
-
standalone: true,
|
|
8
|
-
imports: [
|
|
9
|
-
CommonModule,
|
|
10
|
-
FormsModule
|
|
11
|
-
],
|
|
12
|
-
templateUrl: './download-document.component.html',
|
|
13
|
-
styleUrl: './download-document.component.css'
|
|
14
|
-
})
|
|
15
|
-
export class DownloadDocumentComponent {
|
|
16
|
-
field : any = input.required<any>();
|
|
17
|
-
}
|
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
.field-lable{
|
|
3
|
-
font-size: 10px !important;
|
|
4
|
-
font-weight: 700 !important;
|
|
5
|
-
color: #444 !important;
|
|
6
|
-
margin-bottom: 0px !important;
|
|
7
|
-
}
|
|
8
|
-
.email-left-side{
|
|
9
|
-
width: 40% !important;
|
|
10
|
-
display: inline-block !important;
|
|
11
|
-
}
|
|
12
|
-
.email-right-side{
|
|
13
|
-
width: 50% !important;
|
|
14
|
-
display: inline-block !important;
|
|
15
|
-
}
|
|
16
|
-
.email-between{
|
|
17
|
-
padding: 0 8px;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.error-message{
|
|
21
|
-
color: red;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
/* focus css for mat-form-field */
|
|
25
|
-
::ng-deep .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused
|
|
26
|
-
.mat-mdc-notch-piece {
|
|
27
|
-
border-color: var(--custom-border-color-focus, #ffbb00) !important;
|
|
28
|
-
border-width: var(--custom-border-width-focus, 1.5px) !important;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
::ng-deep .mat-mdc-form-field {
|
|
32
|
-
background-color: var(--custom-bg-color, #ffffff) !important;
|
|
33
|
-
border-radius: var(--custom-border-radius , 7px) !important;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
/* hover css for mat-form-field */
|
|
37
|
-
|
|
38
|
-
::ng-deep .mdc-text-field--outlined:not(.mdc-text-field--disabled):not(
|
|
39
|
-
.mdc-text-field--focused
|
|
40
|
-
):hover
|
|
41
|
-
.mdc-notched-outline
|
|
42
|
-
.mdc-notched-outline__leading {
|
|
43
|
-
border-color: var(--custom-border-color-hover, #ffbb00) !important;
|
|
44
|
-
border-width: var(--custom-border-width-hover, 1.5px) !important;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
::ng-deep .mdc-text-field--outlined:not(.mdc-text-field--disabled):not(
|
|
48
|
-
.mdc-text-field--focused
|
|
49
|
-
):hover
|
|
50
|
-
.mdc-notched-outline
|
|
51
|
-
.mdc-notched-outline__notch {
|
|
52
|
-
border-color: var(--custom-border-color-hover, #ffbb00) !important;
|
|
53
|
-
border-width: var(--custom-border-width-hover, 1.5px) !important;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
::ng-deep .mdc-text-field--outlined:not(.mdc-text-field--disabled):not(
|
|
57
|
-
.mdc-text-field--focused
|
|
58
|
-
):hover
|
|
59
|
-
.mdc-notched-outline
|
|
60
|
-
.mdc-notched-outline__trailing {
|
|
61
|
-
border-color: var(--custom-border-color-hover, #ffbb00) !important;
|
|
62
|
-
border-width: var(--custom-border-width-hover, 1.5px) !important;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
/* regular css for mat-form-field */
|
|
66
|
-
::ng-deep .mdc-text-field--outlined .mat-mdc-notch-piece {
|
|
67
|
-
border-color: var(--custom-border-color, #dddddd) !important;
|
|
68
|
-
border-width: var(--custom-border-width, 1.5px) !important;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
/* field css for mat-form-input-field */
|
|
72
|
-
::ng-deep .mdc-text-field--outlined:not(.mdc-text-field--disabled)
|
|
73
|
-
.mdc-text-field__input {
|
|
74
|
-
caret-color: var(--custom-caret-color, #ffbb00) !important;
|
|
75
|
-
/* font-size: var(--custom-font-size, 16px) !important; */
|
|
76
|
-
font-size: 12px !important;
|
|
77
|
-
font-weight: var(--custom-font-weight, 400) !important;
|
|
78
|
-
font-family: var(--custom-font-family, 'Mulish') !important;
|
|
79
|
-
color: var(--custom-font-color, #444444) !important;
|
|
80
|
-
}
|
|
81
|
-
/* Error state for mat-form-field */
|
|
82
|
-
::ng-deep .mat-form-field-invalid
|
|
83
|
-
.mdc-text-field--outlined .mat-mdc-notch-piece {
|
|
84
|
-
border-color: var(--custom-border-color-error, red) !important;
|
|
85
|
-
border-width: var(--custom-border-width-error, 1.5px) !important;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
::ng-deep .mat-mdc-form-field.mat-form-field-disabled{
|
|
89
|
-
background: var(--custom-bg-color-disabled, #ECECEC) !important;
|
|
90
|
-
}
|
|
91
|
-
::ng-deep .mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input {
|
|
92
|
-
color : var(--custom-font-color-disabled, #999999) !important;
|
|
93
|
-
}
|
|
94
|
-
::ng-deep .mdc-label {
|
|
95
|
-
color: var(--custom-font-color, #444) !important;
|
|
96
|
-
font-size: var(--custom-font-size, 16px) !important;
|
|
97
|
-
font-weight: var(--custom-font-weight, 400) !important;
|
|
98
|
-
font-family: var(--custom-font-family, 'Mulish') !important;
|
|
99
|
-
}
|
|
100
|
-
::placeholder {
|
|
101
|
-
color: #8f8f8f !important;
|
|
102
|
-
font-size: 12px !important;
|
|
103
|
-
}
|
|
104
|
-
::ng-deep .mat-mdc-form-field-hint-wrapper{
|
|
105
|
-
padding: 0px !important;
|
|
106
|
-
}
|
|
107
|
-
::ng-deep .mat-mdc-form-field-error-wrapper{
|
|
108
|
-
padding: 0px !important;
|
|
109
|
-
}
|
|
110
|
-
::ng-deep .mat-mdc-form-field-error{
|
|
111
|
-
color: #EE0000 !important;
|
|
112
|
-
font-size: 12px;
|
|
113
|
-
font-weight: 500;
|
|
114
|
-
font-family: "Mulish" !important;
|
|
115
|
-
letter-spacing: 0;
|
|
116
|
-
}
|
|
117
|
-
::ng-deep .mdc-text-field--outlined {
|
|
118
|
-
--mdc-outlined-text-field-container-shape: var(--custom-border-radius , 7px) !important;
|
|
119
|
-
}
|
|
120
|
-
::ng-deep .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece {
|
|
121
|
-
border-color: var(--custom-border-color-error, red) !important;
|
|
122
|
-
border-width: var(--custom-border-width-error, 1.5px) !important;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
::ng-deep .mat-mdc-form-field-subscript-wrapper {
|
|
126
|
-
display: none !important;
|
|
127
|
-
}
|
|
128
|
-
* {
|
|
129
|
-
font-family: "mulish" !important;
|
|
130
|
-
}
|
|
@@ -1,73 +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" [ngStyle]="{
|
|
3
|
-
'--custom-border-color': field()?.controlStyle?.borderColor ,
|
|
4
|
-
'--custom-border-width': field()?.controlStyle?.borderWidth ,
|
|
5
|
-
'--custom-bg-color': field()?.controlStyle?.background ,
|
|
6
|
-
'--custom-border-color-focus': field()?.controlStyle?.focusBorderColor ,
|
|
7
|
-
'--custom-border-width-focus': field()?.controlStyle?.focusBorderWidth ,
|
|
8
|
-
'--custom-bg-color-focus': field()?.controlStyle?.focusBackground ,
|
|
9
|
-
'--custom-border-color-hover': field()?.controlStyle?.hoverBorderColor ,
|
|
10
|
-
'--custom-border-width-hover': field()?.controlStyle?.hoverBorderWidth ,
|
|
11
|
-
'--custom-border-color-error': field()?.controlStyle?.errorBorderColor ,
|
|
12
|
-
'--custom-border-width-error': field()?.controlStyle?.errorBorderWidth ,
|
|
13
|
-
'--custom-font-size': field()?.controlStyle?.fontSize ,
|
|
14
|
-
'--custom-font-weight': field()?.controlStyle?.fontWeight ,
|
|
15
|
-
'--custom-font-family': field()?.controlStyle?.fontFamily ,
|
|
16
|
-
'--custom-font-color': field()?.controlStyle?.color ,
|
|
17
|
-
'--custom-caret-color': field()?.controlStyle?.caretColor ,
|
|
18
|
-
'--custom-font-color-disabled' : field()?.controlStyle?.disableColor ,
|
|
19
|
-
'--custom-bg-color-disabled' : field()?.controlStyle?.disableBackground ,
|
|
20
|
-
}">
|
|
21
|
-
@if(reactiveFormControlobject()) {
|
|
22
|
-
<input
|
|
23
|
-
matInput
|
|
24
|
-
autocomplete="none"
|
|
25
|
-
class="email-left-side"
|
|
26
|
-
[name]="field()?.fieldName + '_1'"
|
|
27
|
-
[id]="field()?.fieldName + '_1'"
|
|
28
|
-
[type]="field()?.controlType"
|
|
29
|
-
[placeholder]="field()?.placeHolder"
|
|
30
|
-
[required]="field()?.validators?.isRequired"
|
|
31
|
-
[disabled]="field()?.isDisable"
|
|
32
|
-
[pattern]="field()?.validators?.pattern"
|
|
33
|
-
(blur)="onInputBlur()"
|
|
34
|
-
[value]="inputValue"
|
|
35
|
-
[formControl]="reactiveFormControlobject()"
|
|
36
|
-
/>
|
|
37
|
-
}@else {
|
|
38
|
-
<input
|
|
39
|
-
matInput
|
|
40
|
-
autocomplete="none"
|
|
41
|
-
class="email-left-side"
|
|
42
|
-
[name]="field()?.fieldName + '_1'"
|
|
43
|
-
[id]="field()?.fieldName + '_1'"
|
|
44
|
-
[type]="field()?.controlType"
|
|
45
|
-
[placeholder]="field()?.placeHolder"
|
|
46
|
-
[required]="field()?.validators?.isRequired"
|
|
47
|
-
[disabled]="field()?.isDisable"
|
|
48
|
-
[pattern]="field()?.validators?.pattern"
|
|
49
|
-
(blur)="onInputBlur()"
|
|
50
|
-
[value]="inputValue"
|
|
51
|
-
/>
|
|
52
|
-
}
|
|
53
|
-
<span class="email-between">@</span>
|
|
54
|
-
<input
|
|
55
|
-
matInput
|
|
56
|
-
autocomplete="none"
|
|
57
|
-
[name]="field()?.fieldName + '_2'"
|
|
58
|
-
[id]="field()?.fieldName + '_2'"
|
|
59
|
-
placeholder="domain.com"
|
|
60
|
-
class="email-right-side"
|
|
61
|
-
[required]="field()?.validators?.isRequired"
|
|
62
|
-
[disabled]="field()?.isDisable"
|
|
63
|
-
/>
|
|
64
|
-
<mat-error *ngIf="false">
|
|
65
|
-
{{ field()?.validators?.isRequiredMessage }}
|
|
66
|
-
</mat-error>
|
|
67
|
-
</mat-form-field>
|
|
68
|
-
<div class="error-message" *ngIf="false">
|
|
69
|
-
{{ field()?.validators?.isRequiredMessage }}.
|
|
70
|
-
</div>
|
|
71
|
-
<div class="error-message" *ngIf="false">
|
|
72
|
-
{{ field()?.validators?.patternMessage }}.
|
|
73
|
-
</div>
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { CommonModule } from '@angular/common';
|
|
2
|
-
import { Component, input } from '@angular/core';
|
|
3
|
-
import { FormsModule, 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-email-with-domain',
|
|
9
|
-
standalone: true,
|
|
10
|
-
imports: [CommonModule, MatInputModule, MatFormFieldModule, FormsModule, ReactiveFormsModule],
|
|
11
|
-
templateUrl: './email-with-domain.component.html',
|
|
12
|
-
styleUrl: './email-with-domain.component.css',
|
|
13
|
-
providers: [
|
|
14
|
-
{
|
|
15
|
-
provide: NG_VALUE_ACCESSOR,
|
|
16
|
-
useExisting: EmailWithDomainComponent,
|
|
17
|
-
multi: true
|
|
18
|
-
}
|
|
19
|
-
]
|
|
20
|
-
})
|
|
21
|
-
export class EmailWithDomainComponent {
|
|
22
|
-
pincode: any = '';
|
|
23
|
-
emailUser:any='';
|
|
24
|
-
emailDomain:any='';
|
|
25
|
-
|
|
26
|
-
field: any = input.required<any>();
|
|
27
|
-
reactiveFormControlobject : any = input<any>();
|
|
28
|
-
inputValue: any = null;
|
|
29
|
-
_onChange: any = (inputValue:any) => {};
|
|
30
|
-
_unTouched: any = () => {};
|
|
31
|
-
|
|
32
|
-
writeValue(obj: any): void{
|
|
33
|
-
this.inputValue=obj;
|
|
34
|
-
};
|
|
35
|
-
registerOnChange(fn: any): void{
|
|
36
|
-
this._onChange = fn;
|
|
37
|
-
};
|
|
38
|
-
registerOnTouched(fn: any): void{
|
|
39
|
-
this._unTouched = fn;
|
|
40
|
-
};
|
|
41
|
-
setDisabledState?(isDisabled: boolean): void{};
|
|
42
|
-
|
|
43
|
-
onInputChange(event: any): void {
|
|
44
|
-
this.inputValue = event.target.value;
|
|
45
|
-
this._onChange(this.inputValue);
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
onInputBlur(): void {
|
|
49
|
-
this._unTouched();
|
|
50
|
-
}
|
|
51
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
* {
|
|
2
|
-
font-family: "mulish" !important;
|
|
3
|
-
}
|
|
4
|
-
.error-snackbar-card{
|
|
5
|
-
max-height: 58px;
|
|
6
|
-
max-width: 400px;
|
|
7
|
-
border-radius: 8px;
|
|
8
|
-
background: var(--Colours-Error-100, #FDE5E5);
|
|
9
|
-
border: 1px solid var(--Colours-Error-200, #FCCCCC);
|
|
10
|
-
box-shadow: 0px 2px 15px 2px #E3E6EC99;
|
|
11
|
-
padding: 10px 16px 10px 16px;
|
|
12
|
-
}
|
|
13
|
-
.cross{
|
|
14
|
-
width: 9.86px;
|
|
15
|
-
height: 9.86px;
|
|
16
|
-
cursor: pointer;
|
|
17
|
-
}
|
|
18
|
-
.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface {
|
|
19
|
-
background-color: #444 !important;
|
|
20
|
-
color: #f5f5f5 !important;
|
|
21
|
-
}
|
|
22
|
-
.toaster-label{
|
|
23
|
-
font-size: 14px;
|
|
24
|
-
font-weight: 700;
|
|
25
|
-
color: #444;
|
|
26
|
-
}
|
|
27
|
-
.toaster-img{
|
|
28
|
-
height: 24px;
|
|
29
|
-
width: 24px;
|
|
30
|
-
}
|
|
31
|
-
.toaster-msg{
|
|
32
|
-
font-weight: 400;
|
|
33
|
-
font-size: 12px;
|
|
34
|
-
color: #444;
|
|
35
|
-
line-height: 0px;
|
|
36
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
<div [ngClass]="errorObj.toasterCSS">
|
|
2
|
-
<div class="d-flex justify-content-between">
|
|
3
|
-
<div class="d-flex gap-3">
|
|
4
|
-
<span>
|
|
5
|
-
<img
|
|
6
|
-
[src]="errorObj.imageURL"
|
|
7
|
-
alt=""
|
|
8
|
-
class="mt-1"
|
|
9
|
-
[ngClass]="errorObj.imageCSS"
|
|
10
|
-
/>
|
|
11
|
-
</span>
|
|
12
|
-
<span class="mb-2">
|
|
13
|
-
<p class="mb-2" [ngClass]="errorObj.labelCSS">{{errorObj.labelText}}</p>
|
|
14
|
-
<p class="m-0" [ngClass]="errorObj.messageCSS">{{errorObj.messageText}}</p>
|
|
15
|
-
</span>
|
|
16
|
-
</div>
|
|
17
|
-
<div >
|
|
18
|
-
<img class="cross" [ngClass]="errorObj.closeIconCSS" [src]="errorObj.closeIconImageURL" alt="">
|
|
19
|
-
</div>
|
|
20
|
-
</div>
|
|
21
|
-
</div>
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Component, input } from '@angular/core';
|
|
2
|
-
import { MasterControlService } from '../master-control.service';
|
|
3
|
-
import { CommonModule } from '@angular/common';
|
|
4
|
-
|
|
5
|
-
@Component({
|
|
6
|
-
selector: 'lib-error-snackbar',
|
|
7
|
-
standalone: true,
|
|
8
|
-
imports: [CommonModule],
|
|
9
|
-
templateUrl: './error-snackbar.component.html',
|
|
10
|
-
styleUrl: './error-snackbar.component.css'
|
|
11
|
-
})
|
|
12
|
-
export class ErrorSnackbarComponent {
|
|
13
|
-
field : any = input.required<any>();
|
|
14
|
-
errorObj:any;
|
|
15
|
-
|
|
16
|
-
constructor(public masterService : MasterControlService) {
|
|
17
|
-
this.errorObj = this.masterService.snackbars.find((item: any) => item.type === 'Error');
|
|
18
|
-
}
|
|
19
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
* {
|
|
2
|
-
font-family: "mulish" !important;
|
|
3
|
-
}
|
|
4
|
-
.bold-label{
|
|
5
|
-
color: var(--master-bold-label-font-color, #000000) !important;
|
|
6
|
-
font-size: var(--master-bold-label-font-size, 12px) !important;
|
|
7
|
-
font-weight: var(--master-bold-label-font-weight, 600) !important;
|
|
8
|
-
}
|
|
9
|
-
.bold-label{
|
|
10
|
-
color: #000000;
|
|
11
|
-
font-size: 12px;
|
|
12
|
-
font-weight: 600;
|
|
13
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
<div>
|
|
2
|
-
<span class="bold-label" [ngStyle]="{
|
|
3
|
-
'--master-bold-label-font-color': field()?.controlStyle?.color,
|
|
4
|
-
'--master-bold-label-font-size': field()?.controlStyle?.fontSize,
|
|
5
|
-
'--master-bold-label-font-weight': field()?.controlStyle?.fontWeight
|
|
6
|
-
}">{{field()?.label}}</span>
|
|
7
|
-
</div>
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { CommonModule } from '@angular/common';
|
|
2
|
-
import { Component, input } from '@angular/core';
|
|
3
|
-
|
|
4
|
-
@Component({
|
|
5
|
-
selector: 'lib-grey-label',
|
|
6
|
-
standalone: true,
|
|
7
|
-
imports: [CommonModule],
|
|
8
|
-
templateUrl: './grey-label.component.html',
|
|
9
|
-
styleUrl: './grey-label.component.css'
|
|
10
|
-
})
|
|
11
|
-
export class GreyLabelComponent {
|
|
12
|
-
field : any = input.required<any>();
|
|
13
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
* {
|
|
2
|
-
font-family: "mulish" !important;
|
|
3
|
-
}
|
|
4
|
-
.heading{
|
|
5
|
-
font-weight: 800;
|
|
6
|
-
font-size: 24px;
|
|
7
|
-
color: #000000;
|
|
8
|
-
}
|
|
9
|
-
.heading{
|
|
10
|
-
color: var(--heading-font-color, #000000) !important;
|
|
11
|
-
font-size: var(--heading-font-size, 24px) !important;
|
|
12
|
-
font-weight: var(--heading-font-weight, 800) !important;
|
|
13
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Component, input } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
@Component({
|
|
6
|
-
selector: 'lib-header',
|
|
7
|
-
standalone: true,
|
|
8
|
-
imports: [CommonModule],
|
|
9
|
-
templateUrl: './header.component.html',
|
|
10
|
-
styleUrl: './header.component.css'
|
|
11
|
-
})
|
|
12
|
-
export class HeaderComponent {
|
|
13
|
-
field : any = input.required<any>();
|
|
14
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
* {
|
|
2
|
-
font-family: "mulish" !important;
|
|
3
|
-
}
|
|
4
|
-
.master-hr-line{
|
|
5
|
-
border: 1px dashed #DADADA;
|
|
6
|
-
opacity: initial;
|
|
7
|
-
border-image: repeating-linear-gradient(to right, #DADADA 0 6px, transparent 0px 12px) 1 stretch;
|
|
8
|
-
}
|
|
9
|
-
.master-hr-line{
|
|
10
|
-
border-width: var(--hr-line-border-width , 1px) !important;
|
|
11
|
-
border-style: var(--hr-line-border-style , dashed) !important;
|
|
12
|
-
border-color: var(--hr-line-border-color , #DADADA) !important;
|
|
13
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
<div class="col-lg-12">
|
|
2
|
-
<hr class="master-hr-line" [ngStyle]="{
|
|
3
|
-
'--hr-line-border-width': field()?.controlStyle?.borderWidth,
|
|
4
|
-
'--hr-line-border-color': field()?.controlStyle?.borderColor,
|
|
5
|
-
'--hr-line-border-style': field()?.controlStyle?.borderStyle
|
|
6
|
-
}"/>
|
|
7
|
-
</div>
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { CommonModule } from '@angular/common';
|
|
2
|
-
import { Component, input } from '@angular/core';
|
|
3
|
-
|
|
4
|
-
@Component({
|
|
5
|
-
selector: 'lib-hr-line',
|
|
6
|
-
standalone: true,
|
|
7
|
-
imports: [CommonModule],
|
|
8
|
-
templateUrl: './hr-line.component.html',
|
|
9
|
-
styleUrl: './hr-line.component.css'
|
|
10
|
-
})
|
|
11
|
-
export class HrLineComponent {
|
|
12
|
-
field: any = input.required<any>();
|
|
13
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
* {
|
|
2
|
-
font-family: "mulish" !important;
|
|
3
|
-
}
|
|
4
|
-
.hyperlink{
|
|
5
|
-
font-weight: 700;
|
|
6
|
-
font-size: 12px;
|
|
7
|
-
color: #ffbb00;
|
|
8
|
-
}
|
|
9
|
-
.hyperlink{
|
|
10
|
-
font-size: var(--hyperlink-font-size, 12px) !important;
|
|
11
|
-
font-weight: var(--hyperlink-font-weight, 700) !important;
|
|
12
|
-
}
|
|
13
|
-
.hyperlink a{
|
|
14
|
-
color: #ffbb00 !important;
|
|
15
|
-
}
|
|
16
|
-
.hyperlink a{
|
|
17
|
-
color: var(--hyperlink-font-color, #ffbb00) !important;
|
|
18
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
<u *ngIf="field() && field()?.isVisible" class="hyperlink" [ngStyle]="{
|
|
2
|
-
'--hyperlink-font-color': field()?.controlStyle?.color,
|
|
3
|
-
'--hyperlink-font-size': field()?.controlStyle?.fontSize,
|
|
4
|
-
'--hyperlink-font-weight': field()?.controlStyle?.fontWeight
|
|
5
|
-
}">
|
|
6
|
-
<a href="Hyper_link" *ngIf="field()?.label && field()?.isShowLabel">{{field()?.label}}</a></u
|
|
7
|
-
>
|
|
8
|
-
<img *ngIf="field()?.imageUrl" [src]="field()?.imageUrl" alt="">
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { CommonModule } from '@angular/common';
|
|
2
|
-
import { Component, input } from '@angular/core';
|
|
3
|
-
|
|
4
|
-
@Component({
|
|
5
|
-
selector: 'lib-hyperlink',
|
|
6
|
-
standalone: true,
|
|
7
|
-
imports: [CommonModule],
|
|
8
|
-
templateUrl: './hyperlink.component.html',
|
|
9
|
-
styleUrl: './hyperlink.component.css'
|
|
10
|
-
})
|
|
11
|
-
export class HyperlinkComponent {
|
|
12
|
-
field: any = input.required<any>();
|
|
13
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
* {
|
|
2
|
-
font-family: "mulish" !important;
|
|
3
|
-
}
|
|
4
|
-
.icon-button{
|
|
5
|
-
border-width: 1px;
|
|
6
|
-
border-color: #444;
|
|
7
|
-
border-style: solid;
|
|
8
|
-
background: #fff;
|
|
9
|
-
border-radius: 8px;
|
|
10
|
-
width: 48px;
|
|
11
|
-
height: 48px;
|
|
12
|
-
}
|
|
13
|
-
.icon-button{
|
|
14
|
-
border-width: var(--icon-button-border-width , 1px);
|
|
15
|
-
border-color: var(--icon-button-border-color , #444);
|
|
16
|
-
border-style: var(--icon-button-border-style , solid);
|
|
17
|
-
background: var(--icon-button-background ,#fff);
|
|
18
|
-
border-radius: var(--icon-button-border-radius , 8px);
|
|
19
|
-
width: var(--icon-button-width , 48px);
|
|
20
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
<Button
|
|
2
|
-
class="icon-button"
|
|
3
|
-
*ngIf="field() && field()?.isVisible"
|
|
4
|
-
[ngStyle]="
|
|
5
|
-
{
|
|
6
|
-
'--icon-button-border-width': field()?.controlStyle?.borderWidth ,
|
|
7
|
-
'--icon-button-border-style': field()?.controlStyle?.borderStyle ,
|
|
8
|
-
'--icon-button-border-color': field()?.controlStyle?.borderColor ,
|
|
9
|
-
'--icon-button-width': field()?.controlStyle?.width ,
|
|
10
|
-
'--icon-button-background': field()?.controlStyle?.background ,
|
|
11
|
-
'--icon-button-border-radius': field()?.controlStyle?.borderRadius ,
|
|
12
|
-
}"
|
|
13
|
-
>
|
|
14
|
-
<span>
|
|
15
|
-
<img src="https://cdn.godigit.com/retail-life/Download_Icon.svg">
|
|
16
|
-
</span>
|
|
17
|
-
</Button>
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { CommonModule } from '@angular/common';
|
|
2
|
-
import { Component, input } from '@angular/core';
|
|
3
|
-
|
|
4
|
-
@Component({
|
|
5
|
-
selector: 'lib-icon-button',
|
|
6
|
-
standalone: true,
|
|
7
|
-
imports: [CommonModule],
|
|
8
|
-
templateUrl: './icon-button.component.html',
|
|
9
|
-
styleUrl: './icon-button.component.css',
|
|
10
|
-
})
|
|
11
|
-
export class IconButtonComponent {
|
|
12
|
-
field: any = input.required<any>();
|
|
13
|
-
}
|
|
File without changes
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
<div *ngIf="field().imageUrl">
|
|
2
|
-
<iframe [id]="field().fieldName" width="100%" height="500px" style="border: none "></iframe>
|
|
3
|
-
<!-- <object [data]="field().imageUrl" width="600" height="400">
|
|
4
|
-
<embed [src]="field().imageUrl" width="600" height="400"/>
|
|
5
|
-
Error: Embedded data could not be displayed.
|
|
6
|
-
</object> -->
|
|
7
|
-
</div>
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { CommonModule } from '@angular/common';
|
|
2
|
-
import { Component, input, OnInit } from '@angular/core';
|
|
3
|
-
import { DomSanitizer, SafeResourceUrl } from '@angular/platform-browser';
|
|
4
|
-
|
|
5
|
-
@Component({
|
|
6
|
-
selector: 'lib-iframe',
|
|
7
|
-
standalone: true,
|
|
8
|
-
imports: [CommonModule],
|
|
9
|
-
templateUrl: './iframe.component.html',
|
|
10
|
-
styleUrl: './iframe.component.css'
|
|
11
|
-
})
|
|
12
|
-
export class IframeComponent implements OnInit {
|
|
13
|
-
field: any = input.required<any>();
|
|
14
|
-
safeUrl: SafeResourceUrl | null = null;
|
|
15
|
-
|
|
16
|
-
constructor(private sanitizer: DomSanitizer) {}
|
|
17
|
-
|
|
18
|
-
ngOnInit() {
|
|
19
|
-
if (this.field() && this.field().imageUrl) {
|
|
20
|
-
this.safeUrl = this.sanitizer.bypassSecurityTrustResourceUrl(this.field().imageUrl);
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
getIframeUrl() {
|
|
25
|
-
let iframeUrl : any = null;
|
|
26
|
-
if (this.field() && this.field().imageUrl) {
|
|
27
|
-
iframeUrl = this.sanitizer.bypassSecurityTrustResourceUrl(this.field().imageUrl);
|
|
28
|
-
}
|
|
29
|
-
return iframeUrl;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { CommonModule } from '@angular/common';
|
|
2
|
-
import { Component, input } from '@angular/core';
|
|
3
|
-
|
|
4
|
-
@Component({
|
|
5
|
-
selector: 'lib-image',
|
|
6
|
-
standalone: true,
|
|
7
|
-
imports: [CommonModule],
|
|
8
|
-
templateUrl: './image.component.html',
|
|
9
|
-
styleUrl: './image.component.css'
|
|
10
|
-
})
|
|
11
|
-
export class ImageComponent {
|
|
12
|
-
field: any = input.required<any>();
|
|
13
|
-
}
|