master-control 0.2.5 → 0.2.7
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/ng-package.json +7 -0
- package/package.json +12 -25
- package/src/lib/add-document/add-document.component.css +50 -0
- package/src/lib/add-document/add-document.component.html +31 -0
- package/src/lib/add-document/add-document.component.ts +17 -0
- package/src/lib/addition-button/addition-button.component.css +16 -0
- package/src/lib/addition-button/addition-button.component.html +20 -0
- package/src/lib/addition-button/addition-button.component.ts +13 -0
- package/src/lib/age-date/age-date.component.css +126 -0
- package/src/lib/age-date/age-date.component.html +82 -0
- package/src/lib/age-date/age-date.component.ts +104 -0
- package/src/lib/amount-textbox/amount-textbox.component.css +131 -0
- package/src/lib/amount-textbox/amount-textbox.component.html +69 -0
- package/src/lib/amount-textbox/amount-textbox.component.ts +53 -0
- package/src/lib/annuity-rate-logo/annuity-rate-logo.component.css +9 -0
- package/src/lib/annuity-rate-logo/annuity-rate-logo.component.html +6 -0
- package/src/lib/annuity-rate-logo/annuity-rate-logo.component.ts +13 -0
- package/src/lib/autocomplete/autocomplete.component.css +240 -0
- package/src/lib/autocomplete/autocomplete.component.html +61 -0
- package/src/lib/autocomplete/autocomplete.component.ts +85 -0
- package/src/lib/benefit-card/benefit-card.component.css +46 -0
- package/src/lib/benefit-card/benefit-card.component.html +25 -0
- package/src/lib/benefit-card/benefit-card.component.ts +13 -0
- package/src/lib/button/button.component.css +24 -0
- package/src/lib/button/button.component.html +22 -0
- package/src/lib/button/button.component.ts +16 -0
- package/src/lib/card/card.component.css +37 -0
- package/src/lib/card/card.component.html +24 -0
- package/src/lib/card/card.component.ts +13 -0
- package/src/lib/checkbox/checkbox.component.css +65 -0
- package/src/lib/checkbox/checkbox.component.html +23 -0
- package/src/lib/checkbox/checkbox.component.ts +70 -0
- package/src/lib/discount/discount.component.css +45 -0
- package/src/lib/discount/discount.component.html +51 -0
- package/src/lib/discount/discount.component.ts +14 -0
- package/src/lib/discount-v2/discount-v2.component.css +34 -0
- package/src/lib/discount-v2/discount-v2.component.html +20 -0
- package/src/lib/discount-v2/discount-v2.component.ts +14 -0
- package/src/lib/dob/dob.component.css +117 -0
- package/src/lib/dob/dob.component.html +88 -0
- package/src/lib/dob/dob.component.ts +107 -0
- package/src/lib/download-document/download-document.component.css +53 -0
- package/src/lib/download-document/download-document.component.html +38 -0
- package/src/lib/download-document/download-document.component.ts +17 -0
- package/src/lib/email-with-domain/email-with-domain.component.css +130 -0
- package/src/lib/email-with-domain/email-with-domain.component.html +73 -0
- package/src/lib/email-with-domain/email-with-domain.component.ts +51 -0
- package/src/lib/error-snackbar/error-snackbar.component.css +36 -0
- package/src/lib/error-snackbar/error-snackbar.component.html +21 -0
- package/src/lib/error-snackbar/error-snackbar.component.ts +19 -0
- package/src/lib/grey-label/grey-label.component.css +13 -0
- package/src/lib/grey-label/grey-label.component.html +7 -0
- package/src/lib/grey-label/grey-label.component.ts +13 -0
- package/src/lib/header/header.component.css +13 -0
- package/src/lib/header/header.component.html +9 -0
- package/src/lib/header/header.component.ts +14 -0
- package/src/lib/hr-line/hr-line.component.css +13 -0
- package/src/lib/hr-line/hr-line.component.html +7 -0
- package/src/lib/hr-line/hr-line.component.ts +13 -0
- package/src/lib/hyperlink/hyperlink.component.css +18 -0
- package/src/lib/hyperlink/hyperlink.component.html +8 -0
- package/src/lib/hyperlink/hyperlink.component.ts +13 -0
- package/src/lib/icon-button/icon-button.component.css +20 -0
- package/src/lib/icon-button/icon-button.component.html +17 -0
- package/src/lib/icon-button/icon-button.component.ts +13 -0
- package/src/lib/iframe/iframe.component.css +0 -0
- package/src/lib/iframe/iframe.component.html +7 -0
- package/src/lib/iframe/iframe.component.ts +32 -0
- package/src/lib/image/image.component.css +7 -0
- package/src/lib/image/image.component.html +3 -0
- package/src/lib/image/image.component.ts +13 -0
- package/src/lib/image-upload/image-upload.component.css +67 -0
- package/src/lib/image-upload/image-upload.component.html +61 -0
- package/src/lib/image-upload/image-upload.component.ts +17 -0
- package/src/lib/in-built-benefit/in-built-benefit.component.css +58 -0
- package/src/lib/in-built-benefit/in-built-benefit.component.html +30 -0
- package/src/lib/in-built-benefit/in-built-benefit.component.ts +16 -0
- package/src/lib/info/info.component.css +25 -0
- package/src/lib/info/info.component.html +21 -0
- package/src/lib/info/info.component.ts +15 -0
- package/src/lib/info-textbox/info-textbox.component.css +121 -0
- package/src/lib/info-textbox/info-textbox.component.html +83 -0
- package/src/lib/info-textbox/info-textbox.component.ts +52 -0
- package/src/lib/label/label.component.css +13 -0
- package/src/lib/label/label.component.html +7 -0
- package/src/lib/label/label.component.ts +14 -0
- package/src/lib/label-value-card/label-value-card.component.css +34 -0
- package/src/lib/label-value-card/label-value-card.component.html +12 -0
- package/src/lib/label-value-card/label-value-card.component.ts +15 -0
- package/src/lib/loader/loader.component.css +127 -0
- package/src/lib/loader/loader.component.html +37 -0
- package/src/lib/loader/loader.component.spec.ts +23 -0
- package/src/lib/loader/loader.component.ts +13 -0
- package/src/lib/master-control.component.css +0 -0
- package/src/lib/master-control.component.html +216 -0
- package/src/lib/master-control.component.spec.ts +23 -0
- package/src/lib/master-control.component.ts +143 -0
- package/src/lib/master-control.service.spec.ts +16 -0
- package/src/lib/master-control.service.ts +214 -0
- package/src/lib/medial-questions/medial-questions.component.css +52 -0
- package/src/lib/medial-questions/medial-questions.component.html +250 -0
- package/src/lib/medial-questions/medial-questions.component.ts +689 -0
- package/src/lib/medial-questions/questions.json +39682 -0
- package/src/lib/mob-number/mob-number.component.css +141 -0
- package/src/lib/mob-number/mob-number.component.html +82 -0
- package/src/lib/mob-number/mob-number.component.ts +53 -0
- package/src/lib/multiple-select/multiple-select.component.css +331 -0
- package/src/lib/multiple-select/multiple-select.component.html +100 -0
- package/src/lib/multiple-select/multiple-select.component.ts +115 -0
- package/src/lib/neutral-snackbar/neutral-snackbar.component.css +31 -0
- package/src/lib/neutral-snackbar/neutral-snackbar.component.html +21 -0
- package/src/lib/neutral-snackbar/neutral-snackbar.component.ts +19 -0
- package/src/lib/other-benefits/other-benefits.component.css +78 -0
- package/src/lib/other-benefits/other-benefits.component.html +21 -0
- package/src/lib/other-benefits/other-benefits.component.ts +13 -0
- package/src/lib/otp-mob-number/otp-mob-number.component.css +171 -0
- package/src/lib/otp-mob-number/otp-mob-number.component.html +101 -0
- package/src/lib/otp-mob-number/otp-mob-number.component.ts +54 -0
- package/src/lib/otp-textbox/otp-textbox.component.css +168 -0
- package/src/lib/otp-textbox/otp-textbox.component.html +84 -0
- package/src/lib/otp-textbox/otp-textbox.component.ts +57 -0
- package/src/lib/page-nudge/page-nudge.component.css +35 -0
- package/src/lib/page-nudge/page-nudge.component.html +13 -0
- package/src/lib/page-nudge/page-nudge.component.ts +13 -0
- package/src/lib/pay-get-card/pay-get-card.component.css +36 -0
- package/src/lib/pay-get-card/pay-get-card.component.html +20 -0
- package/src/lib/pay-get-card/pay-get-card.component.ts +18 -0
- package/src/lib/radio/radio.component.css +57 -0
- package/src/lib/radio/radio.component.html +37 -0
- package/src/lib/radio/radio.component.ts +55 -0
- package/src/lib/search-multi-select/search-multi-select.component.css +325 -0
- package/src/lib/search-multi-select/search-multi-select.component.html +125 -0
- package/src/lib/search-multi-select/search-multi-select.component.ts +164 -0
- package/src/lib/select/select.component.css +246 -0
- package/src/lib/select/select.component.html +72 -0
- package/src/lib/select/select.component.ts +95 -0
- package/src/lib/select-textbox/select-textbox.component.css +262 -0
- package/src/lib/select-textbox/select-textbox.component.html +77 -0
- package/src/lib/select-textbox/select-textbox.component.ts +72 -0
- package/src/lib/stepper/stepper.component.css +25 -0
- package/src/lib/stepper/stepper.component.html +16 -0
- package/src/lib/stepper/stepper.component.ts +20 -0
- package/src/lib/sub-header/sub-header.component.css +13 -0
- package/src/lib/sub-header/sub-header.component.html +9 -0
- package/src/lib/sub-header/sub-header.component.ts +13 -0
- package/src/lib/subscript-textbox/subscript-textbox.component.css +139 -0
- package/src/lib/subscript-textbox/subscript-textbox.component.html +85 -0
- package/src/lib/subscript-textbox/subscript-textbox.component.ts +53 -0
- package/src/lib/success-snackbar/success-snackbar.component.css +32 -0
- package/src/lib/success-snackbar/success-snackbar.component.html +21 -0
- package/src/lib/success-snackbar/success-snackbar.component.ts +19 -0
- package/src/lib/suffix-textbox/suffix-textbox.component.css +157 -0
- package/src/lib/suffix-textbox/suffix-textbox.component.html +84 -0
- package/src/lib/suffix-textbox/suffix-textbox.component.ts +54 -0
- package/src/lib/tab/tab.component.css +19 -0
- package/src/lib/tab/tab.component.html +17 -0
- package/src/lib/tab/tab.component.ts +27 -0
- package/src/lib/table/table.component.css +121 -0
- package/src/lib/table/table.component.html +41 -0
- package/src/lib/table/table.component.spec.ts +23 -0
- package/src/lib/table/table.component.ts +84 -0
- package/src/lib/tag-mob-number/tag-mob-number.component.css +167 -0
- package/src/lib/tag-mob-number/tag-mob-number.component.html +95 -0
- package/src/lib/tag-mob-number/tag-mob-number.component.ts +55 -0
- package/src/lib/textarea/textarea.component.css +34 -0
- package/src/lib/textarea/textarea.component.html +23 -0
- package/src/lib/textarea/textarea.component.ts +16 -0
- package/src/lib/textbox/textbox.component.css +118 -0
- package/src/lib/textbox/textbox.component.html +80 -0
- package/src/lib/textbox/textbox.component.ts +55 -0
- package/src/lib/textbox-with-image/textbox-with-image.component.css +118 -0
- package/src/lib/textbox-with-image/textbox-with-image.component.html +82 -0
- package/src/lib/textbox-with-image/textbox-with-image.component.ts +47 -0
- package/src/lib/textbox-with-text/textbox-with-text.component.css +124 -0
- package/src/lib/textbox-with-text/textbox-with-text.component.html +84 -0
- package/src/lib/textbox-with-text/textbox-with-text.component.ts +53 -0
- package/src/lib/textbox-with-underscore/textbox-with-underscore.component.css +121 -0
- package/src/lib/textbox-with-underscore/textbox-with-underscore.component.html +79 -0
- package/src/lib/textbox-with-underscore/textbox-with-underscore.component.ts +62 -0
- package/src/lib/toggle/toggle.component.css +101 -0
- package/src/lib/toggle/toggle.component.html +39 -0
- package/src/lib/toggle/toggle.component.ts +16 -0
- package/src/lib/toggle-button/toggle-button.component.css +87 -0
- package/src/lib/toggle-button/toggle-button.component.html +34 -0
- package/src/lib/toggle-button/toggle-button.component.ts +14 -0
- package/src/lib/underscore-mob-number/underscore-mob-number.component.css +147 -0
- package/src/lib/underscore-mob-number/underscore-mob-number.component.html +87 -0
- package/src/lib/underscore-mob-number/underscore-mob-number.component.ts +65 -0
- package/src/lib/upload/upload.component.css +81 -0
- package/src/lib/upload/upload.component.html +62 -0
- package/src/lib/upload/upload.component.ts +20 -0
- package/src/lib/warning-snackbar/warning-snackbar.component.css +29 -0
- package/src/lib/warning-snackbar/warning-snackbar.component.html +21 -0
- package/src/lib/warning-snackbar/warning-snackbar.component.ts +19 -0
- package/{public-api.d.ts → src/public-api.ts} +60 -55
- package/tsconfig.lib.json +15 -0
- package/tsconfig.lib.prod.json +11 -0
- package/tsconfig.spec.json +15 -0
- package/esm2022/lib/add-document/add-document.component.mjs +0 -18
- package/esm2022/lib/addition-button/addition-button.component.mjs +0 -14
- package/esm2022/lib/age-date/age-date.component.mjs +0 -132
- package/esm2022/lib/amount-textbox/amount-textbox.component.mjs +0 -63
- package/esm2022/lib/annuity-rate-logo/annuity-rate-logo.component.mjs +0 -15
- package/esm2022/lib/autocomplete/autocomplete.component.mjs +0 -90
- package/esm2022/lib/benefit-card/benefit-card.component.mjs +0 -14
- package/esm2022/lib/button/button.component.mjs +0 -19
- package/esm2022/lib/card/card.component.mjs +0 -14
- package/esm2022/lib/checkbox/checkbox.component.mjs +0 -79
- package/esm2022/lib/discount/discount.component.mjs +0 -14
- package/esm2022/lib/discount-v2/discount-v2.component.mjs +0 -16
- package/esm2022/lib/dob/dob.component.mjs +0 -118
- package/esm2022/lib/download-document/download-document.component.mjs +0 -18
- package/esm2022/lib/email-with-domain/email-with-domain.component.mjs +0 -60
- package/esm2022/lib/error-snackbar/error-snackbar.component.mjs +0 -21
- package/esm2022/lib/grey-label/grey-label.component.mjs +0 -14
- package/esm2022/lib/header/header.component.mjs +0 -14
- package/esm2022/lib/hr-line/hr-line.component.mjs +0 -14
- package/esm2022/lib/hyperlink/hyperlink.component.mjs +0 -14
- package/esm2022/lib/icon-button/icon-button.component.mjs +0 -14
- package/esm2022/lib/iframe/iframe.component.mjs +0 -32
- package/esm2022/lib/image/image.component.mjs +0 -14
- package/esm2022/lib/image-upload/image-upload.component.mjs +0 -18
- package/esm2022/lib/in-built-benefit/in-built-benefit.component.mjs +0 -20
- package/esm2022/lib/info/info.component.mjs +0 -19
- package/esm2022/lib/info-textbox/info-textbox.component.mjs +0 -62
- package/esm2022/lib/label/label.component.mjs +0 -14
- package/esm2022/lib/label-value-card/label-value-card.component.mjs +0 -15
- package/esm2022/lib/loader/loader.component.mjs +0 -14
- package/esm2022/lib/master-control.component.mjs +0 -138
- package/esm2022/lib/master-control.service.mjs +0 -193
- package/esm2022/lib/mob-number/mob-number.component.mjs +0 -65
- package/esm2022/lib/multiple-select/multiple-select.component.mjs +0 -118
- package/esm2022/lib/neutral-snackbar/neutral-snackbar.component.mjs +0 -21
- package/esm2022/lib/other-benefits/other-benefits.component.mjs +0 -14
- package/esm2022/lib/otp-mob-number/otp-mob-number.component.mjs +0 -63
- package/esm2022/lib/otp-textbox/otp-textbox.component.mjs +0 -68
- package/esm2022/lib/pay-get-card/pay-get-card.component.mjs +0 -29
- package/esm2022/lib/radio/radio.component.mjs +0 -58
- package/esm2022/lib/search-multi-select/search-multi-select.component.mjs +0 -127
- package/esm2022/lib/select/select.component.mjs +0 -99
- package/esm2022/lib/select-textbox/select-textbox.component.mjs +0 -83
- package/esm2022/lib/stepper/stepper.component.mjs +0 -16
- package/esm2022/lib/sub-header/sub-header.component.mjs +0 -14
- package/esm2022/lib/subscript-textbox/subscript-textbox.component.mjs +0 -62
- package/esm2022/lib/success-snackbar/success-snackbar.component.mjs +0 -21
- package/esm2022/lib/suffix-textbox/suffix-textbox.component.mjs +0 -65
- package/esm2022/lib/tab/tab.component.mjs +0 -32
- package/esm2022/lib/table/table.component.mjs +0 -82
- package/esm2022/lib/tag-mob-number/tag-mob-number.component.mjs +0 -66
- package/esm2022/lib/textarea/textarea.component.mjs +0 -20
- package/esm2022/lib/textbox/textbox.component.mjs +0 -67
- package/esm2022/lib/textbox-with-image/textbox-with-image.component.mjs +0 -57
- package/esm2022/lib/textbox-with-text/textbox-with-text.component.mjs +0 -58
- package/esm2022/lib/textbox-with-underscore/textbox-with-underscore.component.mjs +0 -71
- package/esm2022/lib/toggle/toggle.component.mjs +0 -20
- package/esm2022/lib/toggle-button/toggle-button.component.mjs +0 -16
- package/esm2022/lib/underscore-mob-number/underscore-mob-number.component.mjs +0 -74
- package/esm2022/lib/upload/upload.component.mjs +0 -24
- package/esm2022/lib/warning-snackbar/warning-snackbar.component.mjs +0 -21
- package/esm2022/master-control.mjs +0 -5
- package/esm2022/public-api.mjs +0 -59
- package/fesm2022/master-control.mjs +0 -2380
- package/fesm2022/master-control.mjs.map +0 -1
- package/index.d.ts +0 -5
- package/lib/add-document/add-document.component.d.ts +0 -6
- package/lib/addition-button/addition-button.component.d.ts +0 -6
- package/lib/age-date/age-date.component.d.ts +0 -20
- package/lib/amount-textbox/amount-textbox.component.d.ts +0 -17
- package/lib/annuity-rate-logo/annuity-rate-logo.component.d.ts +0 -7
- package/lib/autocomplete/autocomplete.component.d.ts +0 -25
- package/lib/benefit-card/benefit-card.component.d.ts +0 -6
- package/lib/button/button.component.d.ts +0 -9
- package/lib/card/card.component.d.ts +0 -6
- package/lib/checkbox/checkbox.component.d.ts +0 -20
- package/lib/discount/discount.component.d.ts +0 -6
- package/lib/discount-v2/discount-v2.component.d.ts +0 -6
- package/lib/dob/dob.component.d.ts +0 -32
- package/lib/download-document/download-document.component.d.ts +0 -6
- package/lib/email-with-domain/email-with-domain.component.d.ts +0 -19
- package/lib/error-snackbar/error-snackbar.component.d.ts +0 -10
- package/lib/grey-label/grey-label.component.d.ts +0 -6
- package/lib/header/header.component.d.ts +0 -6
- package/lib/hr-line/hr-line.component.d.ts +0 -6
- package/lib/hyperlink/hyperlink.component.d.ts +0 -6
- package/lib/icon-button/icon-button.component.d.ts +0 -6
- package/lib/iframe/iframe.component.d.ts +0 -13
- package/lib/image/image.component.d.ts +0 -6
- package/lib/image-upload/image-upload.component.d.ts +0 -6
- package/lib/in-built-benefit/in-built-benefit.component.d.ts +0 -8
- package/lib/info/info.component.d.ts +0 -9
- package/lib/info-textbox/info-textbox.component.d.ts +0 -16
- package/lib/label/label.component.d.ts +0 -6
- package/lib/label-value-card/label-value-card.component.d.ts +0 -7
- package/lib/loader/loader.component.d.ts +0 -6
- package/lib/master-control.component.d.ts +0 -9
- package/lib/master-control.service.d.ts +0 -11
- package/lib/mob-number/mob-number.component.d.ts +0 -21
- package/lib/multiple-select/multiple-select.component.d.ts +0 -26
- package/lib/neutral-snackbar/neutral-snackbar.component.d.ts +0 -10
- package/lib/other-benefits/other-benefits.component.d.ts +0 -6
- package/lib/otp-mob-number/otp-mob-number.component.d.ts +0 -17
- package/lib/otp-textbox/otp-textbox.component.d.ts +0 -17
- package/lib/pay-get-card/pay-get-card.component.d.ts +0 -11
- package/lib/radio/radio.component.d.ts +0 -18
- package/lib/search-multi-select/search-multi-select.component.d.ts +0 -27
- package/lib/select/select.component.d.ts +0 -22
- package/lib/select-textbox/select-textbox.component.d.ts +0 -17
- package/lib/stepper/stepper.component.d.ts +0 -6
- package/lib/sub-header/sub-header.component.d.ts +0 -6
- package/lib/subscript-textbox/subscript-textbox.component.d.ts +0 -16
- package/lib/success-snackbar/success-snackbar.component.d.ts +0 -10
- package/lib/suffix-textbox/suffix-textbox.component.d.ts +0 -16
- package/lib/tab/tab.component.d.ts +0 -14
- package/lib/table/table.component.d.ts +0 -23
- package/lib/tag-mob-number/tag-mob-number.component.d.ts +0 -17
- package/lib/textarea/textarea.component.d.ts +0 -9
- package/lib/textbox/textbox.component.d.ts +0 -20
- package/lib/textbox-with-image/textbox-with-image.component.d.ts +0 -16
- package/lib/textbox-with-text/textbox-with-text.component.d.ts +0 -16
- package/lib/textbox-with-underscore/textbox-with-underscore.component.d.ts +0 -18
- package/lib/toggle/toggle.component.d.ts +0 -9
- package/lib/toggle-button/toggle-button.component.d.ts +0 -6
- package/lib/underscore-mob-number/underscore-mob-number.component.d.ts +0 -19
- package/lib/upload/upload.component.d.ts +0 -9
- package/lib/warning-snackbar/warning-snackbar.component.d.ts +0 -10
- package/master-control-0.2.5.tgz +0 -0
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { CommonModule } from '@angular/common';
|
|
2
|
+
import { Component, input } from '@angular/core';
|
|
3
|
+
import { NG_VALUE_ACCESSOR, ReactiveFormsModule } from '@angular/forms';
|
|
4
|
+
import { MatOptionModule } from '@angular/material/core';
|
|
5
|
+
import { MatFormFieldModule } from '@angular/material/form-field';
|
|
6
|
+
import { MatInputModule } from '@angular/material/input';
|
|
7
|
+
import { MatSelectModule } from '@angular/material/select';
|
|
8
|
+
|
|
9
|
+
@Component({
|
|
10
|
+
selector: 'lib-underscore-mob-number',
|
|
11
|
+
standalone: true,
|
|
12
|
+
imports: [CommonModule, MatInputModule, MatFormFieldModule, MatSelectModule, MatOptionModule, ReactiveFormsModule],
|
|
13
|
+
templateUrl: './underscore-mob-number.component.html',
|
|
14
|
+
styleUrl: './underscore-mob-number.component.css',
|
|
15
|
+
providers: [
|
|
16
|
+
{
|
|
17
|
+
provide: NG_VALUE_ACCESSOR,
|
|
18
|
+
useExisting: UnderscoreMobNumberComponent,
|
|
19
|
+
multi: true
|
|
20
|
+
}
|
|
21
|
+
]
|
|
22
|
+
})
|
|
23
|
+
export class UnderscoreMobNumberComponent {
|
|
24
|
+
CountryCode: any = '+91';
|
|
25
|
+
field : any = input.required<any>();
|
|
26
|
+
inputValue: any = null;
|
|
27
|
+
reactiveFormControlobject : any = input<any>();
|
|
28
|
+
_onChange: any = (inputValue:any) => {};
|
|
29
|
+
_unTouched: any = () => {};
|
|
30
|
+
|
|
31
|
+
writeValue(obj: any): void{
|
|
32
|
+
this.inputValue=obj;
|
|
33
|
+
};
|
|
34
|
+
registerOnChange(fn: any): void{
|
|
35
|
+
this._onChange = fn;
|
|
36
|
+
};
|
|
37
|
+
registerOnTouched(fn: any): void{
|
|
38
|
+
this._unTouched = fn;
|
|
39
|
+
};
|
|
40
|
+
setDisabledState?(isDisabled: boolean): void{};
|
|
41
|
+
|
|
42
|
+
onInputChange(event: any): void {
|
|
43
|
+
this.inputValue = event.target.value;
|
|
44
|
+
this._onChange(this.inputValue);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
onInputBlur(): void {
|
|
48
|
+
this._unTouched();
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
changeFormat(event: any) {
|
|
52
|
+
let digits = event.target.value.replace(/[^0-9]/g, '').slice(0, this.field().validators.maxLength);
|
|
53
|
+
let padded = digits.padEnd(this.field().validators.maxLength, '_');
|
|
54
|
+
event.target.value = padded;
|
|
55
|
+
|
|
56
|
+
setTimeout(() => {
|
|
57
|
+
let pos = digits.length;
|
|
58
|
+
if (pos > this.field().validators.maxLength) pos = this.field().validators.maxLength;
|
|
59
|
+
event.target.setSelectionRange(pos, pos);
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
getUnderscorePlaceholder() {
|
|
63
|
+
return '_'.repeat(this.field().validators.maxLength);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
* {
|
|
2
|
+
font-family: "mulish" !important;
|
|
3
|
+
}
|
|
4
|
+
.field-lable{
|
|
5
|
+
font-size: 10px !important;
|
|
6
|
+
font-weight: 700 !important;
|
|
7
|
+
color: #444 !important;
|
|
8
|
+
margin-bottom: 0px !important;
|
|
9
|
+
}
|
|
10
|
+
.upload-label{
|
|
11
|
+
opacity: 0;
|
|
12
|
+
}
|
|
13
|
+
.upload-btn {
|
|
14
|
+
width: 100% !important;
|
|
15
|
+
height: 48px !important;
|
|
16
|
+
padding: 10px;
|
|
17
|
+
border-radius: 8px;
|
|
18
|
+
}
|
|
19
|
+
.upload-btn {
|
|
20
|
+
width: var(--upload-width , 100%) !important;
|
|
21
|
+
border-radius: var(--upload-border-radius , 8px) !important;
|
|
22
|
+
}
|
|
23
|
+
.lightbackground {
|
|
24
|
+
border-color: #999;
|
|
25
|
+
border-width: 1px;
|
|
26
|
+
border-style: dashed;
|
|
27
|
+
background: #ffffff;
|
|
28
|
+
color: #444;
|
|
29
|
+
font-size: 14px;
|
|
30
|
+
font-weight: 700;
|
|
31
|
+
}
|
|
32
|
+
.lightbackground {
|
|
33
|
+
border-color: var(--upload-border-color , #999) !important;
|
|
34
|
+
border-width: var(--upload-border-width , 1px) !important;
|
|
35
|
+
border-style: var(--upload-border-style , dashed) !important;
|
|
36
|
+
background: var(--upload-background-color , #ffffff) !important;
|
|
37
|
+
}
|
|
38
|
+
.successBackground {
|
|
39
|
+
border-color: var(--upload-focus-border-color , #ddd) !important;
|
|
40
|
+
background: var(--upload-focus-background-color , #fafafa) !important;
|
|
41
|
+
color: var(--upload-focus-font-color , #444) !important;
|
|
42
|
+
}
|
|
43
|
+
.successBackground {
|
|
44
|
+
border: 1px dashed #ddd;
|
|
45
|
+
background: #fafafa;
|
|
46
|
+
color: #444;
|
|
47
|
+
display: flex;
|
|
48
|
+
justify-content: space-between;
|
|
49
|
+
}
|
|
50
|
+
.upload-icon {
|
|
51
|
+
display: flex;
|
|
52
|
+
justify-content: center;
|
|
53
|
+
gap: 7px;
|
|
54
|
+
}
|
|
55
|
+
.upload-text{
|
|
56
|
+
color: #444 !important;
|
|
57
|
+
font-weight: 700 !important;
|
|
58
|
+
font-size: 14px !important;
|
|
59
|
+
}
|
|
60
|
+
.upload-text{
|
|
61
|
+
color: var(--upload-font-color , #444) !important;
|
|
62
|
+
font-size: var( --upload-font-size , 14px) !important;
|
|
63
|
+
font-weight: var(--upload-font-weight , 700) !important;
|
|
64
|
+
}
|
|
65
|
+
.right-icon {
|
|
66
|
+
display: flex;
|
|
67
|
+
gap: 10px;
|
|
68
|
+
margin-left: 0.5em;
|
|
69
|
+
}
|
|
70
|
+
.left-icon {
|
|
71
|
+
display: flex;
|
|
72
|
+
gap: 15px;
|
|
73
|
+
margin-right: 1em;
|
|
74
|
+
}
|
|
75
|
+
.upload-info {
|
|
76
|
+
font-size: 10px;
|
|
77
|
+
font-weight: 500;
|
|
78
|
+
font-family: "Mulish" !important;
|
|
79
|
+
letter-spacing: 0px;
|
|
80
|
+
color: #444;
|
|
81
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
<label class="field-lable upload-label" *ngIf="field() && field()?.isVisible">{{field()?.label}}</label>
|
|
2
|
+
<input
|
|
3
|
+
hidden
|
|
4
|
+
[type]="field()?.controlType"
|
|
5
|
+
[name]="field()?.fieldName"
|
|
6
|
+
[id]="field()?.fieldName"
|
|
7
|
+
#fileInput
|
|
8
|
+
(click)="(fileInput.value)"
|
|
9
|
+
[required]="field()?.validators?.isRequired"
|
|
10
|
+
/>
|
|
11
|
+
<button
|
|
12
|
+
type="button"
|
|
13
|
+
class="upload-btn"
|
|
14
|
+
(click)="fileInput.click()"
|
|
15
|
+
[ngClass]="field()?.label ? 'lightbackground' : 'successBackground'"
|
|
16
|
+
*ngIf="field() && field()?.isVisible"
|
|
17
|
+
[ngStyle]="{
|
|
18
|
+
'--upload-width': field()?.controlStyle?.width ,
|
|
19
|
+
'--upload-border-radius': field()?.controlStyle?.borderRadius ,
|
|
20
|
+
'--upload-border-color': field()?.controlStyle?.borderColor ,
|
|
21
|
+
'--upload-border-width': field()?.controlStyle?.borderWidth ,
|
|
22
|
+
'--upload-border-style': field()?.controlStyle?.borderStyle ,
|
|
23
|
+
'--upload-background-color': field()?.controlStyle?.background ,
|
|
24
|
+
'--upload-focus-border-color': field()?.controlStyle?.focusBorderColor ,
|
|
25
|
+
'--upload-focus-background-color': field()?.controlStyle?.focusBackground ,
|
|
26
|
+
}"
|
|
27
|
+
>
|
|
28
|
+
<ng-container *ngIf="field()?.label; else policyHolderPanFileNotEmpty">
|
|
29
|
+
<span class="upload-icon">
|
|
30
|
+
<span
|
|
31
|
+
><img
|
|
32
|
+
src="https://cdn.godigit.com/retail-life/Upload_documents.svg"
|
|
33
|
+
alt=""
|
|
34
|
+
/></span>
|
|
35
|
+
<span class="upload-text" [ngStyle]="{
|
|
36
|
+
'--upload-font-color': field()?.controlStyle?.color ,
|
|
37
|
+
'--upload-font-size': field()?.controlStyle?.fontSize ,
|
|
38
|
+
'--upload-font-weight': field()?.controlStyle?.fontWeight,
|
|
39
|
+
'--upload-focus-font-color': field()?.controlStyle?.focusColor ,
|
|
40
|
+
}">{{ field()?.label }}</span>
|
|
41
|
+
</span>
|
|
42
|
+
</ng-container>
|
|
43
|
+
<ng-template #policyHolderPanFileNotEmpty>
|
|
44
|
+
<span class="mt-2 right-icon">
|
|
45
|
+
<span
|
|
46
|
+
><img src="https://cdn.godigit.com/retail-life/Tickmark.svg" alt=""
|
|
47
|
+
/></span>
|
|
48
|
+
<span title="uploaded file">uploaded file</span>
|
|
49
|
+
</span>
|
|
50
|
+
<div class="mt-2 left-icon">
|
|
51
|
+
<span
|
|
52
|
+
><img
|
|
53
|
+
src="https://cdn.godigit.com/retail-life/visibility-oui.svg"
|
|
54
|
+
alt=""
|
|
55
|
+
/></span>
|
|
56
|
+
<span
|
|
57
|
+
><img src="https://cdn.godigit.com/retail-life/delete-oui.svg" alt=""
|
|
58
|
+
/></span>
|
|
59
|
+
</div>
|
|
60
|
+
</ng-template>
|
|
61
|
+
</button>
|
|
62
|
+
<div class="upload-info" *ngIf="field() && field()?.isVisible">This scans your name & DOB. Max size 5 MB.</div>
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { CommonModule } from '@angular/common';
|
|
2
|
+
import { Component, input } from '@angular/core';
|
|
3
|
+
import { MasterControlService } from '../master-control.service';
|
|
4
|
+
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
5
|
+
|
|
6
|
+
@Component({
|
|
7
|
+
selector: 'lib-upload',
|
|
8
|
+
standalone: true,
|
|
9
|
+
imports: [
|
|
10
|
+
CommonModule,
|
|
11
|
+
FormsModule,
|
|
12
|
+
ReactiveFormsModule
|
|
13
|
+
],
|
|
14
|
+
templateUrl: './upload.component.html',
|
|
15
|
+
styleUrl: './upload.component.css'
|
|
16
|
+
})
|
|
17
|
+
export class UploadComponent {
|
|
18
|
+
constructor(public masterService : MasterControlService){}
|
|
19
|
+
field : any = input.required<any>();
|
|
20
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
.cross{
|
|
2
|
+
width: 9.86px;
|
|
3
|
+
height: 9.86px;
|
|
4
|
+
cursor: pointer;
|
|
5
|
+
}
|
|
6
|
+
.warning-snackbar-card{
|
|
7
|
+
max-height: 58px;
|
|
8
|
+
max-width: 400px;
|
|
9
|
+
border-radius: 8px;
|
|
10
|
+
background: var(--Colours-Primary-100, #FFFBE5);
|
|
11
|
+
border: 1px solid var(--colours-primary-20020, #FFBB0033);
|
|
12
|
+
box-shadow: 0px 2px 15px 2px #E3E6EC99;
|
|
13
|
+
padding: 10px 16px 10px 16px;
|
|
14
|
+
}
|
|
15
|
+
.toaster-img{
|
|
16
|
+
height: 24px;
|
|
17
|
+
width: 24px;
|
|
18
|
+
}
|
|
19
|
+
.toaster-label{
|
|
20
|
+
font-size: 14px;
|
|
21
|
+
font-weight: 700;
|
|
22
|
+
color: #444;
|
|
23
|
+
}
|
|
24
|
+
.toaster-msg{
|
|
25
|
+
font-weight: 400;
|
|
26
|
+
font-size: 12px;
|
|
27
|
+
color: #444;
|
|
28
|
+
line-height: 0px;
|
|
29
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
<div [ngClass]="warningObj.toasterCSS">
|
|
2
|
+
<div class="d-flex justify-content-between">
|
|
3
|
+
<div class="d-flex gap-3">
|
|
4
|
+
<span>
|
|
5
|
+
<img
|
|
6
|
+
[src]="warningObj.imageURL"
|
|
7
|
+
alt=""
|
|
8
|
+
class="mt-1"
|
|
9
|
+
[ngClass]="warningObj.imageCSS"
|
|
10
|
+
/>
|
|
11
|
+
</span>
|
|
12
|
+
<span class="mb-2">
|
|
13
|
+
<p class="mb-2" [ngClass]="warningObj.labelCSS">{{warningObj.labelText}}</p>
|
|
14
|
+
<p class="m-0" [ngClass]="warningObj.messageCSS">{{warningObj.messageText}}</p>
|
|
15
|
+
</span>
|
|
16
|
+
</div>
|
|
17
|
+
<div >
|
|
18
|
+
<img class="cross" [ngClass]="warningObj.closeIconCSS" [src]="warningObj.closeIconImageURL" alt="">
|
|
19
|
+
</div>
|
|
20
|
+
</div>
|
|
21
|
+
</div>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { CommonModule } from '@angular/common';
|
|
2
|
+
import { Component, input } from '@angular/core';
|
|
3
|
+
import { MasterControlService } from '../master-control.service';
|
|
4
|
+
|
|
5
|
+
@Component({
|
|
6
|
+
selector: 'lib-warning-snackbar',
|
|
7
|
+
standalone: true,
|
|
8
|
+
imports: [CommonModule],
|
|
9
|
+
templateUrl: './warning-snackbar.component.html',
|
|
10
|
+
styleUrl: './warning-snackbar.component.css'
|
|
11
|
+
})
|
|
12
|
+
export class WarningSnackbarComponent {
|
|
13
|
+
field : any = input.required<any>();
|
|
14
|
+
warningObj:any;
|
|
15
|
+
|
|
16
|
+
constructor(public masterService : MasterControlService) {
|
|
17
|
+
this.warningObj = this.masterService.snackbars.find((item: any) => item.type === 'Warning');
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -1,55 +1,60 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export * from './lib/
|
|
6
|
-
export * from './lib/
|
|
7
|
-
export * from './lib/
|
|
8
|
-
export * from './lib/
|
|
9
|
-
export * from './lib/
|
|
10
|
-
export * from './lib/
|
|
11
|
-
export * from './lib/
|
|
12
|
-
export * from './lib/
|
|
13
|
-
export * from './lib/
|
|
14
|
-
export * from './lib/
|
|
15
|
-
export * from './lib/
|
|
16
|
-
export * from './lib/
|
|
17
|
-
export * from './lib/
|
|
18
|
-
export * from './lib/
|
|
19
|
-
export * from './lib/
|
|
20
|
-
export * from './lib/
|
|
21
|
-
export * from './lib/
|
|
22
|
-
export * from './lib/
|
|
23
|
-
export * from './lib/
|
|
24
|
-
export * from './lib/textbox-
|
|
25
|
-
export * from './lib/
|
|
26
|
-
export * from './lib/
|
|
27
|
-
export * from './lib/
|
|
28
|
-
export * from './lib/
|
|
29
|
-
export * from './lib/
|
|
30
|
-
export * from './lib/
|
|
31
|
-
export * from './lib/
|
|
32
|
-
export * from './lib/
|
|
33
|
-
export * from './lib/
|
|
34
|
-
export * from './lib/
|
|
35
|
-
export * from './lib/
|
|
36
|
-
export * from './lib/
|
|
37
|
-
export * from './lib/
|
|
38
|
-
export * from './lib/
|
|
39
|
-
export * from './lib/
|
|
40
|
-
export * from './lib/
|
|
41
|
-
export * from './lib/
|
|
42
|
-
export * from './lib/
|
|
43
|
-
export * from './lib/
|
|
44
|
-
export * from './lib/
|
|
45
|
-
export * from './lib/
|
|
46
|
-
export * from './lib/
|
|
47
|
-
export * from './lib/
|
|
48
|
-
export * from './lib/
|
|
49
|
-
export * from './lib/
|
|
50
|
-
export * from './lib/
|
|
51
|
-
export * from './lib/
|
|
52
|
-
export * from './lib/
|
|
53
|
-
export * from './lib/
|
|
54
|
-
export * from './lib/
|
|
55
|
-
export * from './lib/
|
|
1
|
+
/*
|
|
2
|
+
* Public API Surface of master-control
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
export * from './lib/master-control.service';
|
|
6
|
+
export * from './lib/textbox/textbox.component';
|
|
7
|
+
export * from './lib/master-control.component';
|
|
8
|
+
export * from './lib/checkbox/checkbox.component';
|
|
9
|
+
export * from './lib/dob/dob.component';
|
|
10
|
+
export * from './lib/info/info.component';
|
|
11
|
+
export * from './lib/mob-number/mob-number.component';
|
|
12
|
+
export * from './lib/radio/radio.component';
|
|
13
|
+
export * from './lib/select/select.component';
|
|
14
|
+
export * from './lib/textarea/textarea.component';
|
|
15
|
+
export * from './lib/upload/upload.component';
|
|
16
|
+
export * from './lib/toggle/toggle.component';
|
|
17
|
+
export * from './lib/button/button.component';
|
|
18
|
+
export * from './lib/tab/tab.component';
|
|
19
|
+
export * from './lib/autocomplete/autocomplete.component';
|
|
20
|
+
export * from './lib/multiple-select/multiple-select.component';
|
|
21
|
+
export * from './lib/select-textbox/select-textbox.component';
|
|
22
|
+
export * from './lib/otp-textbox/otp-textbox.component';
|
|
23
|
+
export * from './lib/amount-textbox/amount-textbox.component';
|
|
24
|
+
export * from './lib/suffix-textbox/suffix-textbox.component';
|
|
25
|
+
export * from './lib/otp-mob-number/otp-mob-number.component';
|
|
26
|
+
export * from './lib/age-date/age-date.component';
|
|
27
|
+
export * from './lib/addition-button/addition-button.component';
|
|
28
|
+
export * from './lib/textbox-with-image/textbox-with-image.component';
|
|
29
|
+
export * from './lib/email-with-domain/email-with-domain.component';
|
|
30
|
+
export * from './lib/image-upload/image-upload.component';
|
|
31
|
+
export * from './lib/download-document/download-document.component';
|
|
32
|
+
export * from './lib/add-document/add-document.component';
|
|
33
|
+
export * from './lib/hyperlink/hyperlink.component';
|
|
34
|
+
export * from './lib/textbox-with-underscore/textbox-with-underscore.component';
|
|
35
|
+
export * from './lib/icon-button/icon-button.component';
|
|
36
|
+
export * from './lib/image/image.component';
|
|
37
|
+
export * from './lib/stepper/stepper.component';
|
|
38
|
+
export * from './lib/card/card.component';
|
|
39
|
+
export * from './lib/hr-line/hr-line.component';
|
|
40
|
+
export * from './lib/search-multi-select/search-multi-select.component';
|
|
41
|
+
export * from './lib/subscript-textbox/subscript-textbox.component';
|
|
42
|
+
export * from './lib/label/label.component';
|
|
43
|
+
export * from './lib/table/table.component';
|
|
44
|
+
export * from './lib/textbox-with-text/textbox-with-text.component';
|
|
45
|
+
export * from './lib/loader/loader.component';
|
|
46
|
+
export * from './lib/discount/discount.component';
|
|
47
|
+
export * from './lib/benefit-card/benefit-card.component';
|
|
48
|
+
export * from './lib/error-snackbar/error-snackbar.component';
|
|
49
|
+
export * from './lib/warning-snackbar/warning-snackbar.component';
|
|
50
|
+
export * from './lib/success-snackbar/success-snackbar.component';
|
|
51
|
+
export * from './lib/neutral-snackbar/neutral-snackbar.component';
|
|
52
|
+
export * from './lib/grey-label/grey-label.component';
|
|
53
|
+
export * from './lib/iframe/iframe.component';
|
|
54
|
+
export * from './lib/toggle-button/toggle-button.component';
|
|
55
|
+
export * from './lib/pay-get-card/pay-get-card.component';
|
|
56
|
+
export * from './lib/in-built-benefit/in-built-benefit.component';
|
|
57
|
+
export * from './lib/other-benefits/other-benefits.component';
|
|
58
|
+
export * from './lib/annuity-rate-logo/annuity-rate-logo.component';
|
|
59
|
+
export * from './lib/label-value-card/label-value-card.component';
|
|
60
|
+
export * from './lib/medial-questions/medial-questions.component';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */
|
|
2
|
+
/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */
|
|
3
|
+
{
|
|
4
|
+
"extends": "../../tsconfig.json",
|
|
5
|
+
"compilerOptions": {
|
|
6
|
+
"outDir": "../../out-tsc/lib",
|
|
7
|
+
"declaration": true,
|
|
8
|
+
"declarationMap": true,
|
|
9
|
+
"inlineSources": true,
|
|
10
|
+
"types": []
|
|
11
|
+
},
|
|
12
|
+
"exclude": [
|
|
13
|
+
"**/*.spec.ts"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */
|
|
2
|
+
/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */
|
|
3
|
+
{
|
|
4
|
+
"extends": "./tsconfig.lib.json",
|
|
5
|
+
"compilerOptions": {
|
|
6
|
+
"declarationMap": false
|
|
7
|
+
},
|
|
8
|
+
"angularCompilerOptions": {
|
|
9
|
+
"compilationMode": "partial"
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */
|
|
2
|
+
/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */
|
|
3
|
+
{
|
|
4
|
+
"extends": "../../tsconfig.json",
|
|
5
|
+
"compilerOptions": {
|
|
6
|
+
"outDir": "../../out-tsc/spec",
|
|
7
|
+
"types": [
|
|
8
|
+
"jasmine"
|
|
9
|
+
]
|
|
10
|
+
},
|
|
11
|
+
"include": [
|
|
12
|
+
"**/*.spec.ts",
|
|
13
|
+
"**/*.d.ts"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { CommonModule } from '@angular/common';
|
|
2
|
-
import { Component, input } from '@angular/core';
|
|
3
|
-
import { FormsModule } from '@angular/forms';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "@angular/common";
|
|
6
|
-
export class AddDocumentComponent {
|
|
7
|
-
field = input.required();
|
|
8
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AddDocumentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
9
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.13", type: AddDocumentComponent, isStandalone: true, selector: "lib-add-document", inputs: { field: { classPropertyName: "field", publicName: "field", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "<label class=\"field-lable\" *ngIf=\"field() && field()?.isVisible && field()?.isShowLabel\">{{field().label}}</label>\r\n <input\r\n hidden\r\n [type]=\"field()?.controlType\"\r\n #fileInput\r\n (click)=\"(fileInput.value)\"\r\n [required]=\"field()?.validators?.isRequired\"\r\n />\r\n <button\r\n type=\"button\"\r\n class=\"upload-btn add-document-btn\"\r\n *ngIf=\"field() && field()?.isVisible\"\r\n [ngStyle]=\"{\r\n'--add-doc-border-color': field()?.controlStyle?.borderColor ,\r\n'--add-doc-border-width': field()?.controlStyle?.borderWidth ,\r\n'--add-doc-border-style': field()?.controlStyle?.borderStyle ,\r\n'--add-doc-background': field()?.controlStyle?.background \r\n}\"\r\n >\r\n <span class=\"add-icon\">\r\n <span\r\n ><img class=\"mb-1\" src=\"https://cdn.godigit.com/retail-life/add.svg\"></span>\r\n <span class=\"upload-text\" [ngStyle]=\"{\r\n'--upload-font-color': field()?.controlStyle?.color ,\r\n'--upload-font-size': field()?.controlStyle?.fontSize ,\r\n'--upload-font-weight': field()?.controlStyle?.fontWeight,\r\n'--upload-focus-font-color': field()?.controlStyle?.focusColor ,\r\n}\">{{ field()?.label }}</span>\r\n <span class=\"light-font\">(optional)</span>\r\n </span>\r\n </button>\r\n", styles: [".field-lable{font-size:10px!important;font-weight:700!important;color:#444!important;margin-bottom:0!important;opacity:0}.upload-btn{width:100%!important;height:48px!important;padding:10px;border-radius:8px}.upload-btn{width:var(--upload-width , 100%)!important;border-radius:var(--upload-border-radius , 8px)!important}.add-document-btn{border:1px dashed #999;background:#fff;color:#444}.add-document-btn{border-color:var(--add-doc-border-color , #999);border-width:var(--add-doc-border-width , 1px);border-style:var(--add-doc-border-style , dashed);background:var(--add-doc-background , #ffffff);color:var(--add-doc-font-color , #444)}.add-icon{display:flex;justify-content:start;gap:7px}.upload-text{color:#444!important;font-weight:700!important;font-size:14px!important}.upload-text{color:var(--upload-font-color , #444)!important;font-size:var( --upload-font-size , 14px)!important;font-weight:var(--upload-font-weight , 700)!important}.light-font{color:#b4b4b4}*{font-family:mulish!important}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: FormsModule }] });
|
|
10
|
-
}
|
|
11
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AddDocumentComponent, decorators: [{
|
|
12
|
-
type: Component,
|
|
13
|
-
args: [{ selector: 'lib-add-document', standalone: true, imports: [
|
|
14
|
-
CommonModule,
|
|
15
|
-
FormsModule
|
|
16
|
-
], template: "<label class=\"field-lable\" *ngIf=\"field() && field()?.isVisible && field()?.isShowLabel\">{{field().label}}</label>\r\n <input\r\n hidden\r\n [type]=\"field()?.controlType\"\r\n #fileInput\r\n (click)=\"(fileInput.value)\"\r\n [required]=\"field()?.validators?.isRequired\"\r\n />\r\n <button\r\n type=\"button\"\r\n class=\"upload-btn add-document-btn\"\r\n *ngIf=\"field() && field()?.isVisible\"\r\n [ngStyle]=\"{\r\n'--add-doc-border-color': field()?.controlStyle?.borderColor ,\r\n'--add-doc-border-width': field()?.controlStyle?.borderWidth ,\r\n'--add-doc-border-style': field()?.controlStyle?.borderStyle ,\r\n'--add-doc-background': field()?.controlStyle?.background \r\n}\"\r\n >\r\n <span class=\"add-icon\">\r\n <span\r\n ><img class=\"mb-1\" src=\"https://cdn.godigit.com/retail-life/add.svg\"></span>\r\n <span class=\"upload-text\" [ngStyle]=\"{\r\n'--upload-font-color': field()?.controlStyle?.color ,\r\n'--upload-font-size': field()?.controlStyle?.fontSize ,\r\n'--upload-font-weight': field()?.controlStyle?.fontWeight,\r\n'--upload-focus-font-color': field()?.controlStyle?.focusColor ,\r\n}\">{{ field()?.label }}</span>\r\n <span class=\"light-font\">(optional)</span>\r\n </span>\r\n </button>\r\n", styles: [".field-lable{font-size:10px!important;font-weight:700!important;color:#444!important;margin-bottom:0!important;opacity:0}.upload-btn{width:100%!important;height:48px!important;padding:10px;border-radius:8px}.upload-btn{width:var(--upload-width , 100%)!important;border-radius:var(--upload-border-radius , 8px)!important}.add-document-btn{border:1px dashed #999;background:#fff;color:#444}.add-document-btn{border-color:var(--add-doc-border-color , #999);border-width:var(--add-doc-border-width , 1px);border-style:var(--add-doc-border-style , dashed);background:var(--add-doc-background , #ffffff);color:var(--add-doc-font-color , #444)}.add-icon{display:flex;justify-content:start;gap:7px}.upload-text{color:#444!important;font-weight:700!important;font-size:14px!important}.upload-text{color:var(--upload-font-color , #444)!important;font-size:var( --upload-font-size , 14px)!important;font-weight:var(--upload-font-weight , 700)!important}.light-font{color:#b4b4b4}*{font-family:mulish!important}\n"] }]
|
|
17
|
-
}] });
|
|
18
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWRkLWRvY3VtZW50LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL21hc3Rlci1jb250cm9sL3NyYy9saWIvYWRkLWRvY3VtZW50L2FkZC1kb2N1bWVudC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9tYXN0ZXItY29udHJvbC9zcmMvbGliL2FkZC1kb2N1bWVudC9hZGQtZG9jdW1lbnQuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ2pELE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQzs7O0FBWTdDLE1BQU0sT0FBTyxvQkFBb0I7SUFDakMsS0FBSyxHQUFTLEtBQUssQ0FBQyxRQUFRLEVBQU8sQ0FBQzt3R0FEdkIsb0JBQW9COzRGQUFwQixvQkFBb0IsK01DZGpDLG94Q0ErQkEsa2lDRHZCSSxZQUFZLHVOQUNaLFdBQVc7OzRGQUtGLG9CQUFvQjtrQkFWaEMsU0FBUzsrQkFDRSxrQkFBa0IsY0FDaEIs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bnRyb2xTdHlsZT8uZm9udFdlaWdodCxcclxuJy0tdXBsb2FkLWZvY3VzLWZvbnQtY29sb3InOiBmaWVsZCgpPy5jb250cm9sU3R5bGU/LmZvY3VzQ29sb3IgLFxyXG59XCI+e3sgZmllbGQoKT8ubGFiZWwgfX08L3NwYW4+XHJcbiAgICAgICAgPHNwYW4gY2xhc3M9XCJsaWdodC1mb250XCI+KG9wdGlvbmFsKTwvc3Bhbj5cclxuICAgICAgPC9zcGFuPlxyXG4gIDwvYnV0dG9uPlxyXG4iXX0=
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { CommonModule } from '@angular/common';
|
|
2
|
-
import { Component, input } from '@angular/core';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "@angular/common";
|
|
5
|
-
export class AdditionButtonComponent {
|
|
6
|
-
field = input.required();
|
|
7
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AdditionButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
8
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.13", type: AdditionButtonComponent, isStandalone: true, selector: "lib-addition-button", inputs: { field: { classPropertyName: "field", publicName: "field", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "<Button class=\"additional-button\" *ngIf=\"field() && field()?.isVisible\" [ngStyle]=\"\r\n{\r\n '--button-border': field()?.controlStyle?.borderWidth ,\r\n '--button-width': field()?.controlStyle?.width ,\r\n '--button-font-size': field()?.controlStyle?.fontSize ,\r\n '--button-font-weight': field()?.controlStyle?.fontWeight ,\r\n '--button-background': field()?.controlStyle?.background ,\r\n '--button-border-radius': field()?.controlStyle?.borderRadius ,\r\n '--button-text-color': field()?.controlStyle?.color ,\r\n}\">\r\n <span class=\"additional-button-text\">\r\n <img\r\n class=\"additional-button-img\"\r\n src=\"https://cdn.godigit.com/retail-life/add.svg\"\r\n />\r\n <span\r\n ><u>{{ field()?.label }}</u></span\r\n >\r\n </span>\r\n</Button>\r\n", styles: [".additional-button{background:none!important;border:none!important}.additional-button-text{font-size:12px;font-weight:700}.additional-button-img{height:12px;width:12px;margin-bottom:2px}*{font-family:mulish!important}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
|
|
9
|
-
}
|
|
10
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AdditionButtonComponent, decorators: [{
|
|
11
|
-
type: Component,
|
|
12
|
-
args: [{ selector: 'lib-addition-button', standalone: true, imports: [CommonModule], template: "<Button class=\"additional-button\" *ngIf=\"field() && field()?.isVisible\" [ngStyle]=\"\r\n{\r\n '--button-border': field()?.controlStyle?.borderWidth ,\r\n '--button-width': field()?.controlStyle?.width ,\r\n '--button-font-size': field()?.controlStyle?.fontSize ,\r\n '--button-font-weight': field()?.controlStyle?.fontWeight ,\r\n '--button-background': field()?.controlStyle?.background ,\r\n '--button-border-radius': field()?.controlStyle?.borderRadius ,\r\n '--button-text-color': field()?.controlStyle?.color ,\r\n}\">\r\n <span class=\"additional-button-text\">\r\n <img\r\n class=\"additional-button-img\"\r\n src=\"https://cdn.godigit.com/retail-life/add.svg\"\r\n />\r\n <span\r\n ><u>{{ field()?.label }}</u></span\r\n >\r\n </span>\r\n</Button>\r\n", styles: [".additional-button{background:none!important;border:none!important}.additional-button-text{font-size:12px;font-weight:700}.additional-button-img{height:12px;width:12px;margin-bottom:2px}*{font-family:mulish!important}\n"] }]
|
|
13
|
-
}] });
|
|
14
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWRkaXRpb24tYnV0dG9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3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