monkey-style-guide 2.0.178 → 2.0.180
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/README.md +1283 -1281
- package/assets/data/country-codes.json +1466 -1466
- package/assets/icons/add-plus.svg +5 -5
- package/assets/icons/address-book.svg +4 -4
- package/assets/icons/arrow-down.svg +3 -3
- package/assets/icons/arrow-left.svg +3 -3
- package/assets/icons/arrow-line-right.svg +5 -5
- package/assets/icons/arrow-right.svg +3 -3
- package/assets/icons/arrow-up.svg +3 -3
- package/assets/icons/arrows.svg +6 -6
- package/assets/icons/auction.svg +7 -7
- package/assets/icons/average-tax.svg +6 -6
- package/assets/icons/bank-account.svg +12 -12
- package/assets/icons/bank-agency.svg +8 -8
- package/assets/icons/bank.svg +3 -3
- package/assets/icons/banknote-search.svg +8 -8
- package/assets/icons/bell.svg +4 -4
- package/assets/icons/block.svg +4 -4
- package/assets/icons/book-open-text.svg +10 -10
- package/assets/icons/book.svg +4 -4
- package/assets/icons/box.svg +6 -6
- package/assets/icons/build-approved.svg +9 -9
- package/assets/icons/build-person.svg +9 -9
- package/assets/icons/build-refused.svg +9 -9
- package/assets/icons/build-waiting.svg +8 -8
- package/assets/icons/calendar-box.svg +10 -10
- package/assets/icons/calendar.svg +6 -6
- package/assets/icons/camera.svg +4 -4
- package/assets/icons/card-machine.svg +14 -14
- package/assets/icons/card.svg +4 -4
- package/assets/icons/cash-banknote-invoice.svg +8 -8
- package/assets/icons/chat.svg +4 -4
- package/assets/icons/check-circle-out.svg +4 -4
- package/assets/icons/check-circle.svg +4 -4
- package/assets/icons/check-grey.svg +3 -3
- package/assets/icons/check-white.svg +4 -4
- package/assets/icons/check.svg +3 -3
- package/assets/icons/clipboard.svg +4 -4
- package/assets/icons/clock-closed.svg +6 -6
- package/assets/icons/clock.svg +4 -4
- package/assets/icons/close-circle.svg +5 -5
- package/assets/icons/close.svg +4 -4
- package/assets/icons/cnpj.svg +9 -9
- package/assets/icons/codepen.svg +7 -7
- package/assets/icons/company-name.svg +12 -12
- package/assets/icons/contract-pen.svg +7 -7
- package/assets/icons/contract.svg +14 -14
- package/assets/icons/delete.svg +5 -5
- package/assets/icons/document.svg +7 -7
- package/assets/icons/dollar-sign-circle.svg +7 -7
- package/assets/icons/dollar-sign.svg +5 -5
- package/assets/icons/domain.svg +9 -9
- package/assets/icons/dots-menu.svg +5 -5
- package/assets/icons/double-arrow-left.svg +4 -4
- package/assets/icons/double-arrow-right.svg +4 -4
- package/assets/icons/download.svg +5 -5
- package/assets/icons/drag-drop.svg +8 -8
- package/assets/icons/edit-square.svg +4 -4
- package/assets/icons/edit.svg +3 -3
- package/assets/icons/email-send-fast.svg +8 -8
- package/assets/icons/email.svg +4 -4
- package/assets/icons/empty-doc.svg +4 -4
- package/assets/icons/error.svg +5 -5
- package/assets/icons/eye-closed.svg +11 -11
- package/assets/icons/eye-open.svg +4 -4
- package/assets/icons/filter-add.svg +6 -6
- package/assets/icons/filter.svg +3 -3
- package/assets/icons/grid.svg +6 -6
- package/assets/icons/hands-clap.svg +10 -10
- package/assets/icons/help.svg +5 -5
- package/assets/icons/hexagon.svg +3 -3
- package/assets/icons/home.svg +4 -4
- package/assets/icons/image.svg +5 -5
- package/assets/icons/info.svg +6 -6
- package/assets/icons/invoice.svg +5 -5
- package/assets/icons/invoices-anticipated.svg +8 -8
- package/assets/icons/invoices-approval.svg +8 -8
- package/assets/icons/invoices-refused.svg +8 -8
- package/assets/icons/lighting-circle.svg +5 -5
- package/assets/icons/list.svg +8 -8
- package/assets/icons/location-pin.svg +4 -4
- package/assets/icons/login.svg +5 -5
- package/assets/icons/logout.svg +5 -5
- package/assets/icons/mail-box-upload.svg +6 -0
- package/assets/icons/mail-letter-fast-circle.svg +7 -0
- package/assets/icons/mail-open-document.svg +6 -6
- package/assets/icons/medal.svg +12 -12
- package/assets/icons/menu.svg +5 -5
- package/assets/icons/money-cedule.svg +6 -6
- package/assets/icons/money-discount.svg +8 -8
- package/assets/icons/money-hand.svg +6 -6
- package/assets/icons/money-net.svg +8 -8
- package/assets/icons/money-new.svg +7 -7
- package/assets/icons/money-percent.svg +10 -10
- package/assets/icons/money-refused.svg +9 -9
- package/assets/icons/money-sign.svg +4 -4
- package/assets/icons/money-waiting.svg +8 -8
- package/assets/icons/money.svg +6 -6
- package/assets/icons/more-circle.svg +5 -5
- package/assets/icons/more.svg +4 -4
- package/assets/icons/new-company.svg +10 -10
- package/assets/icons/offered.svg +5 -5
- package/assets/icons/office-work.svg +10 -10
- package/assets/icons/open-external.svg +5 -5
- package/assets/icons/password.svg +4 -4
- package/assets/icons/people.svg +6 -6
- package/assets/icons/percent-box.svg +6 -6
- package/assets/icons/percent.svg +5 -5
- package/assets/icons/person-document.svg +10 -10
- package/assets/icons/person-sad.svg +6 -6
- package/assets/icons/phone-call.svg +4 -4
- package/assets/icons/phone.svg +3 -3
- package/assets/icons/pin-navigation.svg +5 -5
- package/assets/icons/pork.svg +5 -5
- package/assets/icons/radio.svg +4 -4
- package/assets/icons/refresh.svg +5 -5
- package/assets/icons/registration.svg +8 -8
- package/assets/icons/repeat.svg +4 -4
- package/assets/icons/search.svg +4 -4
- package/assets/icons/second-warning.svg +5 -5
- package/assets/icons/settings.svg +4 -4
- package/assets/icons/shield-chekmark.svg +3 -3
- package/assets/icons/star-shining.svg +13 -13
- package/assets/icons/star.svg +3 -3
- package/assets/icons/store.svg +8 -8
- package/assets/icons/target-dart-arrow.svg +6 -6
- package/assets/icons/today.svg +9 -9
- package/assets/icons/trash.svg +6 -6
- package/assets/icons/trophy.svg +8 -8
- package/assets/icons/unfold-more.svg +4 -4
- package/assets/icons/upload.svg +5 -5
- package/assets/icons/user-group.svg +8 -8
- package/assets/icons/user.svg +4 -4
- package/assets/icons/waiting.svg +17 -17
- package/assets/icons/wallet.svg +5 -5
- package/assets/icons/warning.svg +5 -5
- package/assets/scss/partials/_breakpoints.scss +35 -35
- package/assets/scss/partials/_forms.scss +350 -350
- package/assets/scss/partials/_index.scss +11 -11
- package/assets/scss/partials/_radio-button.scss +35 -35
- package/assets/scss/partials/_style-reset.scss +185 -185
- package/assets/scss/partials/_typography.scss +149 -149
- package/assets/scss/partials/_variables.scss +184 -184
- package/assets/scss/partials/components/_badge.scss +55 -55
- package/assets/scss/partials/components/_buttons.scss +831 -831
- package/assets/scss/partials/components/_checkbox.scss +69 -69
- package/assets/scss/partials/components/_date-range-picker.scss +265 -265
- package/assets/scss/partials/components/_expansion.scss +96 -96
- package/assets/scss/partials/components/_image-crop.scss +305 -305
- package/assets/scss/partials/components/_index.scss +23 -23
- package/assets/scss/partials/components/_input-phone.scss +36 -36
- package/assets/scss/partials/components/_input.scss +65 -65
- package/assets/scss/partials/components/_modal.scss +282 -282
- package/assets/scss/partials/components/_progressbar.scss +112 -112
- package/assets/scss/partials/components/_radiobutton.scss +66 -66
- package/assets/scss/partials/components/_select.scss +356 -356
- package/assets/scss/partials/components/_snackbar.scss +204 -204
- package/assets/scss/partials/components/_stepper.scss +86 -86
- package/assets/scss/partials/components/_tab.scss +82 -82
- package/assets/scss/partials/components/_table.scss +148 -148
- package/assets/scss/partials/components/_toggle.scss +103 -103
- package/assets/scss/partials/components/_wizard.scss +112 -112
- package/esm2020/lib/components/badge/badge.component.mjs +43 -43
- package/esm2020/lib/components/badge/badge.module.mjs +19 -19
- package/esm2020/lib/components/badge/index.mjs +3 -3
- package/esm2020/lib/components/button/button-avatar.component.mjs +53 -53
- package/esm2020/lib/components/button/button-dropdown.component.mjs +121 -121
- package/esm2020/lib/components/button/button.component.mjs +154 -154
- package/esm2020/lib/components/button/button.module.mjs +23 -23
- package/esm2020/lib/components/button/index.mjs +5 -5
- package/esm2020/lib/components/checkbox/checkbox.component.mjs +165 -165
- package/esm2020/lib/components/checkbox/checkbox.module.mjs +20 -20
- package/esm2020/lib/components/checkbox/index.mjs +3 -3
- package/esm2020/lib/components/date-range-picker/date-range-picker.component.mjs +660 -660
- package/esm2020/lib/components/date-range-picker/date-range-picker.module.mjs +22 -22
- package/esm2020/lib/components/date-range-picker/index.mjs +3 -3
- package/esm2020/lib/components/expansion/expansion.component.mjs +115 -115
- package/esm2020/lib/components/expansion/expansion.module.mjs +20 -20
- package/esm2020/lib/components/expansion/index.mjs +3 -3
- package/esm2020/lib/components/file-upload/file-upload.component.mjs +294 -294
- package/esm2020/lib/components/file-upload/file-upload.module.mjs +37 -37
- package/esm2020/lib/components/file-upload/index.mjs +3 -3
- package/esm2020/lib/components/icon/icon-add-plus.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-address-book.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-arrow-down.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-arrow-left.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-arrow-line-right.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-arrow-right.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-arrow-up.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-arrows.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-auction.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-average-tax.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-bank-account.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-bank-agency.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-bank.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-banknote-search.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-bell.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-block.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-book-open-text.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-book.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-box.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-build-approved.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-build-person.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-build-refused.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-build-waiting.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-calendar-box.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-calendar.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-camera.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-card-machine.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-card.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-cash-banknote-invoice.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-chat.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-check-circle-out.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-check-circle.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-check-grey.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-check-white.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-check.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-clipboard.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-clock-closed.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-clock.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-close-circle.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-close.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-cnpj.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-codepen.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-company-name.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-contract-pen.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-contract.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-delete.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-document.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-dollar-sign-circle.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-dollar-sign.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-domain.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-dots-menu.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-double-arrow-left.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-double-arrow-right.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-download.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-drag-drop.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-edit-square.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-edit.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-email-send-fast.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-email.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-empty-doc.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-error.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-eye-closed.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-eye-open.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-filter-add.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-filter.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-grid.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-hands-clap.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-help.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-hexagon.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-home.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-image.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-info.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-invoice.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-invoices-anticipated.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-invoices-approval.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-invoices-refused.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-lighting-circle.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-list.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-location-pin.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-login.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-logout.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-mail-box-upload.component.mjs +15 -0
- package/esm2020/lib/components/icon/icon-mail-letter-fast-circle.component.mjs +15 -0
- package/esm2020/lib/components/icon/icon-mail-open-document.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-medal.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-menu.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-money-cedule.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-money-discount.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-money-hand.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-money-net.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-money-new.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-money-percent.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-money-refused.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-money-sign.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-money-waiting.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-money.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-more-circle.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-more.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-new-company.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-offered.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-open-external.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-password.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-people.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-percent-box.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-percent.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-person-document.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-person-sad.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-phone-call.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-phone.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-pin-navigation.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-pork.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-radio.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-refresh.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-registration.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-repeat.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-search.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-second-warning.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-settings.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-shield-chekmark.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-star-shining.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-star.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-store.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-target-dart-arrow.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-today.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-trash.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-trophy.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-unfold-more.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-upload.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-user-group.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-user.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-waiting.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-wallet.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon-warning.component.mjs +15 -15
- package/esm2020/lib/components/icon/icon.component.mjs +1822 -1796
- package/esm2020/lib/components/icon/icon.module.mjs +287 -283
- package/esm2020/lib/components/icon/index.mjs +137 -135
- package/esm2020/lib/components/image-crop/image-crop.component.mjs +516 -516
- package/esm2020/lib/components/image-crop/image-crop.module.mjs +41 -41
- package/esm2020/lib/components/image-crop/index.mjs +3 -3
- package/esm2020/lib/components/index.mjs +20 -20
- package/esm2020/lib/components/input/index.mjs +4 -4
- package/esm2020/lib/components/input/input-filter.component.mjs +286 -286
- package/esm2020/lib/components/input/input.component.mjs +384 -384
- package/esm2020/lib/components/input/input.module.mjs +38 -38
- package/esm2020/lib/components/input-phone/index.mjs +3 -3
- package/esm2020/lib/components/input-phone/input-phone.component.mjs +307 -307
- package/esm2020/lib/components/input-phone/input-phone.module.mjs +45 -45
- package/esm2020/lib/components/modal/index.mjs +3 -3
- package/esm2020/lib/components/modal/modal.component.mjs +236 -236
- package/esm2020/lib/components/modal/modal.module.mjs +21 -21
- package/esm2020/lib/components/option/index.mjs +3 -3
- package/esm2020/lib/components/option/option.component.mjs +131 -131
- package/esm2020/lib/components/option/option.module.mjs +29 -29
- package/esm2020/lib/components/radiobutton/index.mjs +3 -3
- package/esm2020/lib/components/radiobutton/radiobutton.component.mjs +165 -165
- package/esm2020/lib/components/radiobutton/radiobutton.module.mjs +36 -36
- package/esm2020/lib/components/select/index.mjs +6 -6
- package/esm2020/lib/components/select/select-filter.component.mjs +197 -197
- package/esm2020/lib/components/select/select-multiple.component.mjs +304 -304
- package/esm2020/lib/components/select/select-search.component.mjs +306 -306
- package/esm2020/lib/components/select/select.component.mjs +245 -245
- package/esm2020/lib/components/select/select.module.mjs +61 -61
- package/esm2020/lib/components/stepper/index.mjs +3 -3
- package/esm2020/lib/components/stepper/stepper.component.mjs +57 -57
- package/esm2020/lib/components/stepper/stepper.module.mjs +20 -20
- package/esm2020/lib/components/tab/index.mjs +3 -3
- package/esm2020/lib/components/tab/tab.component.mjs +100 -100
- package/esm2020/lib/components/tab/tab.module.mjs +21 -21
- package/esm2020/lib/components/table/index.mjs +4 -4
- package/esm2020/lib/components/table/table-column.component.mjs +34 -34
- package/esm2020/lib/components/table/table.component.mjs +267 -267
- package/esm2020/lib/components/table/table.module.mjs +23 -23
- package/esm2020/lib/components/toggle/index.mjs +3 -3
- package/esm2020/lib/components/toggle/toggle.component.mjs +56 -56
- package/esm2020/lib/components/toggle/toggle.module.mjs +19 -19
- package/esm2020/lib/components/wizard/index.mjs +3 -3
- package/esm2020/lib/components/wizard/wizard.component.mjs +61 -61
- package/esm2020/lib/components/wizard/wizard.module.mjs +33 -33
- package/esm2020/lib/core/index.mjs +4 -4
- package/esm2020/lib/core/interfaces/index.mjs +3 -3
- package/esm2020/lib/core/interfaces/monkey-modal-settings.mjs +2 -2
- package/esm2020/lib/core/interfaces/monkey-style-settings.mjs +2 -2
- package/esm2020/lib/core/services/index.mjs +4 -4
- package/esm2020/lib/core/services/modal/index.mjs +3 -3
- package/esm2020/lib/core/services/modal/monkey-style-guide-modal-fixed.service.mjs +52 -52
- package/esm2020/lib/core/services/modal/monkey-style-guide-modal.service.mjs +55 -55
- package/esm2020/lib/core/services/monkey-style-guide.service.mjs +17 -17
- package/esm2020/lib/core/services/settings/index.mjs +1 -1
- package/esm2020/lib/core/services/settings/monkey-style-guide-settings.service.mjs +41 -41
- package/esm2020/lib/core/services/settings/monkey-style-guide-theme-settings.service.mjs +80 -80
- package/esm2020/lib/core/services/snackbar/index.mjs +1 -1
- package/esm2020/lib/core/services/snackbar/mokey-style-guide-snackbar.service.mjs +226 -226
- package/esm2020/lib/core/utils/index.mjs +1 -1
- package/esm2020/lib/core/utils/utils.mjs +240 -240
- package/esm2020/lib/monkey-style-guide.module.mjs +31 -31
- package/esm2020/monkey-style-guide.mjs +4 -4
- package/esm2020/public-api.mjs +9 -9
- package/fesm2015/monkey-style-guide.mjs +9885 -9831
- package/fesm2015/monkey-style-guide.mjs.map +1 -1
- package/fesm2020/monkey-style-guide.mjs +9874 -9820
- package/fesm2020/monkey-style-guide.mjs.map +1 -1
- package/lib/components/badge/badge.component.d.ts +8 -8
- package/lib/components/badge/badge.module.d.ts +8 -8
- package/lib/components/badge/index.d.ts +2 -2
- package/lib/components/button/button-avatar.component.d.ts +19 -19
- package/lib/components/button/button-dropdown.component.d.ts +23 -23
- package/lib/components/button/button.component.d.ts +22 -22
- package/lib/components/button/button.module.d.ts +12 -12
- package/lib/components/button/index.d.ts +4 -4
- package/lib/components/checkbox/checkbox.component.d.ts +32 -32
- package/lib/components/checkbox/checkbox.module.d.ts +9 -9
- package/lib/components/checkbox/index.d.ts +2 -2
- package/lib/components/date-range-picker/date-range-picker.component.d.ts +69 -69
- package/lib/components/date-range-picker/date-range-picker.module.d.ts +11 -11
- package/lib/components/date-range-picker/index.d.ts +2 -2
- package/lib/components/expansion/expansion.component.d.ts +20 -20
- package/lib/components/expansion/expansion.module.d.ts +9 -9
- package/lib/components/expansion/index.d.ts +2 -2
- package/lib/components/file-upload/file-upload.component.d.ts +51 -51
- package/lib/components/file-upload/file-upload.module.d.ts +11 -11
- package/lib/components/file-upload/index.d.ts +2 -2
- package/lib/components/icon/icon-add-plus.component.d.ts +7 -7
- package/lib/components/icon/icon-address-book.component.d.ts +7 -7
- package/lib/components/icon/icon-arrow-down.component.d.ts +7 -7
- package/lib/components/icon/icon-arrow-left.component.d.ts +7 -7
- package/lib/components/icon/icon-arrow-line-right.component.d.ts +7 -7
- package/lib/components/icon/icon-arrow-right.component.d.ts +7 -7
- package/lib/components/icon/icon-arrow-up.component.d.ts +7 -7
- package/lib/components/icon/icon-arrows.component.d.ts +7 -7
- package/lib/components/icon/icon-auction.component.d.ts +7 -7
- package/lib/components/icon/icon-average-tax.component.d.ts +7 -7
- package/lib/components/icon/icon-bank-account.component.d.ts +7 -7
- package/lib/components/icon/icon-bank-agency.component.d.ts +7 -7
- package/lib/components/icon/icon-bank.component.d.ts +7 -7
- package/lib/components/icon/icon-banknote-search.component.d.ts +7 -7
- package/lib/components/icon/icon-bell.component.d.ts +7 -7
- package/lib/components/icon/icon-block.component.d.ts +7 -7
- package/lib/components/icon/icon-book-open-text.component.d.ts +7 -7
- package/lib/components/icon/icon-book.component.d.ts +7 -7
- package/lib/components/icon/icon-box.component.d.ts +7 -7
- package/lib/components/icon/icon-build-approved.component.d.ts +7 -7
- package/lib/components/icon/icon-build-person.component.d.ts +7 -7
- package/lib/components/icon/icon-build-refused.component.d.ts +7 -7
- package/lib/components/icon/icon-build-waiting.component.d.ts +7 -7
- package/lib/components/icon/icon-calendar-box.component.d.ts +7 -7
- package/lib/components/icon/icon-calendar.component.d.ts +7 -7
- package/lib/components/icon/icon-camera.component.d.ts +7 -7
- package/lib/components/icon/icon-card-machine.component.d.ts +7 -7
- package/lib/components/icon/icon-card.component.d.ts +7 -7
- package/lib/components/icon/icon-cash-banknote-invoice.component.d.ts +7 -7
- package/lib/components/icon/icon-chat.component.d.ts +7 -7
- package/lib/components/icon/icon-check-circle-out.component.d.ts +7 -7
- package/lib/components/icon/icon-check-circle.component.d.ts +7 -7
- package/lib/components/icon/icon-check-grey.component.d.ts +7 -7
- package/lib/components/icon/icon-check-white.component.d.ts +7 -7
- package/lib/components/icon/icon-check.component.d.ts +7 -7
- package/lib/components/icon/icon-clipboard.component.d.ts +7 -7
- package/lib/components/icon/icon-clock-closed.component.d.ts +7 -7
- package/lib/components/icon/icon-clock.component.d.ts +7 -7
- package/lib/components/icon/icon-close-circle.component.d.ts +7 -7
- package/lib/components/icon/icon-close.component.d.ts +7 -7
- package/lib/components/icon/icon-cnpj.component.d.ts +7 -7
- package/lib/components/icon/icon-codepen.component.d.ts +7 -7
- package/lib/components/icon/icon-company-name.component.d.ts +7 -7
- package/lib/components/icon/icon-contract-pen.component.d.ts +7 -7
- package/lib/components/icon/icon-contract.component.d.ts +7 -7
- package/lib/components/icon/icon-delete.component.d.ts +7 -7
- package/lib/components/icon/icon-document.component.d.ts +7 -7
- package/lib/components/icon/icon-dollar-sign-circle.component.d.ts +7 -7
- package/lib/components/icon/icon-dollar-sign.component.d.ts +7 -7
- package/lib/components/icon/icon-domain.component.d.ts +7 -7
- package/lib/components/icon/icon-dots-menu.component.d.ts +7 -7
- package/lib/components/icon/icon-double-arrow-left.component.d.ts +7 -7
- package/lib/components/icon/icon-double-arrow-right.component.d.ts +7 -7
- package/lib/components/icon/icon-download.component.d.ts +7 -7
- package/lib/components/icon/icon-drag-drop.component.d.ts +7 -7
- package/lib/components/icon/icon-edit-square.component.d.ts +7 -7
- package/lib/components/icon/icon-edit.component.d.ts +7 -7
- package/lib/components/icon/icon-email-send-fast.component.d.ts +7 -7
- package/lib/components/icon/icon-email.component.d.ts +7 -7
- package/lib/components/icon/icon-empty-doc.component.d.ts +7 -7
- package/lib/components/icon/icon-error.component.d.ts +7 -7
- package/lib/components/icon/icon-eye-closed.component.d.ts +7 -7
- package/lib/components/icon/icon-eye-open.component.d.ts +7 -7
- package/lib/components/icon/icon-filter-add.component.d.ts +7 -7
- package/lib/components/icon/icon-filter.component.d.ts +7 -7
- package/lib/components/icon/icon-grid.component.d.ts +7 -7
- package/lib/components/icon/icon-hands-clap.component.d.ts +7 -7
- package/lib/components/icon/icon-help.component.d.ts +7 -7
- package/lib/components/icon/icon-hexagon.component.d.ts +7 -7
- package/lib/components/icon/icon-home.component.d.ts +7 -7
- package/lib/components/icon/icon-image.component.d.ts +7 -7
- package/lib/components/icon/icon-info.component.d.ts +7 -7
- package/lib/components/icon/icon-invoice.component.d.ts +7 -7
- package/lib/components/icon/icon-invoices-anticipated.component.d.ts +7 -7
- package/lib/components/icon/icon-invoices-approval.component.d.ts +7 -7
- package/lib/components/icon/icon-invoices-refused.component.d.ts +7 -7
- package/lib/components/icon/icon-lighting-circle.component.d.ts +7 -7
- package/lib/components/icon/icon-list.component.d.ts +7 -7
- package/lib/components/icon/icon-location-pin.component.d.ts +7 -7
- package/lib/components/icon/icon-login.component.d.ts +7 -7
- package/lib/components/icon/icon-logout.component.d.ts +7 -7
- package/lib/components/icon/icon-mail-box-upload.component.d.ts +7 -0
- package/lib/components/icon/icon-mail-letter-fast-circle.component.d.ts +7 -0
- package/lib/components/icon/icon-mail-open-document.component.d.ts +7 -7
- package/lib/components/icon/icon-medal.component.d.ts +7 -7
- package/lib/components/icon/icon-menu.component.d.ts +7 -7
- package/lib/components/icon/icon-money-cedule.component.d.ts +7 -7
- package/lib/components/icon/icon-money-discount.component.d.ts +7 -7
- package/lib/components/icon/icon-money-hand.component.d.ts +7 -7
- package/lib/components/icon/icon-money-net.component.d.ts +7 -7
- package/lib/components/icon/icon-money-new.component.d.ts +7 -7
- package/lib/components/icon/icon-money-percent.component.d.ts +7 -7
- package/lib/components/icon/icon-money-refused.component.d.ts +7 -7
- package/lib/components/icon/icon-money-sign.component.d.ts +7 -7
- package/lib/components/icon/icon-money-waiting.component.d.ts +7 -7
- package/lib/components/icon/icon-money.component.d.ts +7 -7
- package/lib/components/icon/icon-more-circle.component.d.ts +7 -7
- package/lib/components/icon/icon-more.component.d.ts +7 -7
- package/lib/components/icon/icon-new-company.component.d.ts +7 -7
- package/lib/components/icon/icon-offered.component.d.ts +7 -7
- package/lib/components/icon/icon-open-external.component.d.ts +7 -7
- package/lib/components/icon/icon-password.component.d.ts +7 -7
- package/lib/components/icon/icon-people.component.d.ts +7 -7
- package/lib/components/icon/icon-percent-box.component.d.ts +7 -7
- package/lib/components/icon/icon-percent.component.d.ts +7 -7
- package/lib/components/icon/icon-person-document.component.d.ts +7 -7
- package/lib/components/icon/icon-person-sad.component.d.ts +7 -7
- package/lib/components/icon/icon-phone-call.component.d.ts +7 -7
- package/lib/components/icon/icon-phone.component.d.ts +7 -7
- package/lib/components/icon/icon-pin-navigation.component.d.ts +7 -7
- package/lib/components/icon/icon-pork.component.d.ts +7 -7
- package/lib/components/icon/icon-radio.component.d.ts +7 -7
- package/lib/components/icon/icon-refresh.component.d.ts +7 -7
- package/lib/components/icon/icon-registration.component.d.ts +7 -7
- package/lib/components/icon/icon-repeat.component.d.ts +7 -7
- package/lib/components/icon/icon-search.component.d.ts +7 -7
- package/lib/components/icon/icon-second-warning.component.d.ts +7 -7
- package/lib/components/icon/icon-settings.component.d.ts +7 -7
- package/lib/components/icon/icon-shield-chekmark.component.d.ts +7 -7
- package/lib/components/icon/icon-star-shining.component.d.ts +7 -7
- package/lib/components/icon/icon-star.component.d.ts +7 -7
- package/lib/components/icon/icon-store.component.d.ts +7 -7
- package/lib/components/icon/icon-target-dart-arrow.component.d.ts +7 -7
- package/lib/components/icon/icon-today.component.d.ts +7 -7
- package/lib/components/icon/icon-trash.component.d.ts +7 -7
- package/lib/components/icon/icon-trophy.component.d.ts +7 -7
- package/lib/components/icon/icon-unfold-more.component.d.ts +7 -7
- package/lib/components/icon/icon-upload.component.d.ts +7 -7
- package/lib/components/icon/icon-user-group.component.d.ts +7 -7
- package/lib/components/icon/icon-user.component.d.ts +7 -7
- package/lib/components/icon/icon-waiting.component.d.ts +7 -7
- package/lib/components/icon/icon-wallet.component.d.ts +7 -7
- package/lib/components/icon/icon-warning.component.d.ts +7 -7
- package/lib/components/icon/icon.component.d.ts +27 -27
- package/lib/components/icon/icon.module.d.ts +141 -139
- package/lib/components/icon/index.d.ts +136 -134
- package/lib/components/image-crop/image-crop.component.d.ts +77 -77
- package/lib/components/image-crop/image-crop.module.d.ts +12 -12
- package/lib/components/image-crop/index.d.ts +2 -2
- package/lib/components/index.d.ts +19 -19
- package/lib/components/input/index.d.ts +3 -3
- package/lib/components/input/input-filter.component.d.ts +55 -55
- package/lib/components/input/input.component.d.ts +64 -64
- package/lib/components/input/input.module.d.ts +12 -12
- package/lib/components/input-phone/index.d.ts +2 -2
- package/lib/components/input-phone/input-phone.component.d.ts +62 -62
- package/lib/components/input-phone/input-phone.module.d.ts +13 -13
- package/lib/components/modal/index.d.ts +2 -2
- package/lib/components/modal/modal.component.d.ts +24 -24
- package/lib/components/modal/modal.module.d.ts +10 -10
- package/lib/components/option/index.d.ts +2 -2
- package/lib/components/option/option.component.d.ts +22 -22
- package/lib/components/option/option.module.d.ts +8 -8
- package/lib/components/radiobutton/index.d.ts +2 -2
- package/lib/components/radiobutton/radiobutton.component.d.ts +39 -39
- package/lib/components/radiobutton/radiobutton.module.d.ts +9 -9
- package/lib/components/select/index.d.ts +5 -5
- package/lib/components/select/select-filter.component.d.ts +41 -41
- package/lib/components/select/select-multiple.component.d.ts +48 -48
- package/lib/components/select/select-search.component.d.ts +56 -56
- package/lib/components/select/select.component.d.ts +48 -48
- package/lib/components/select/select.module.d.ts +15 -15
- package/lib/components/stepper/index.d.ts +2 -2
- package/lib/components/stepper/stepper.component.d.ts +18 -18
- package/lib/components/stepper/stepper.module.d.ts +9 -9
- package/lib/components/tab/index.d.ts +2 -2
- package/lib/components/tab/tab.component.d.ts +24 -24
- package/lib/components/tab/tab.module.d.ts +10 -10
- package/lib/components/table/index.d.ts +3 -3
- package/lib/components/table/table-column.component.d.ts +5 -5
- package/lib/components/table/table.component.d.ts +59 -59
- package/lib/components/table/table.module.d.ts +12 -12
- package/lib/components/toggle/index.d.ts +2 -2
- package/lib/components/toggle/toggle.component.d.ts +18 -18
- package/lib/components/toggle/toggle.module.d.ts +8 -8
- package/lib/components/wizard/index.d.ts +2 -2
- package/lib/components/wizard/wizard.component.d.ts +18 -18
- package/lib/components/wizard/wizard.module.d.ts +9 -9
- package/lib/core/index.d.ts +3 -3
- package/lib/core/interfaces/index.d.ts +2 -2
- package/lib/core/interfaces/monkey-modal-settings.d.ts +58 -58
- package/lib/core/interfaces/monkey-style-settings.d.ts +59 -59
- package/lib/core/services/index.d.ts +3 -3
- package/lib/core/services/modal/index.d.ts +2 -2
- package/lib/core/services/modal/monkey-style-guide-modal-fixed.service.d.ts +16 -16
- package/lib/core/services/modal/monkey-style-guide-modal.service.d.ts +18 -18
- package/lib/core/services/monkey-style-guide.service.d.ts +10 -10
- package/lib/core/services/settings/index.d.ts +1 -1
- package/lib/core/services/settings/monkey-style-guide-settings.service.d.ts +15 -15
- package/lib/core/services/settings/monkey-style-guide-theme-settings.service.d.ts +12 -12
- package/lib/core/services/snackbar/index.d.ts +1 -1
- package/lib/core/services/snackbar/mokey-style-guide-snackbar.service.d.ts +58 -58
- package/lib/core/utils/index.d.ts +1 -1
- package/lib/core/utils/utils.d.ts +29 -29
- package/lib/monkey-style-guide.module.d.ts +8 -8
- package/monkey-style-guide-2.0.180.tgz +0 -0
- package/monkey-style-guide.d.ts +5 -5
- package/package.json +1 -1
- package/public-api.d.ts +8 -8
- package/monkey-style-guide-2.0.178.tgz +0 -0
|
@@ -1,165 +1,165 @@
|
|
|
1
|
-
/**************************
|
|
2
|
-
* Copyright Monkey Exchange. All Rights Reserved
|
|
3
|
-
* This style guide was developed by Monkey Exchange Team
|
|
4
|
-
* MIT Licence
|
|
5
|
-
**************************/
|
|
6
|
-
import { Component, ViewEncapsulation, Input, forwardRef, ContentChildren, Output, EventEmitter, } from '@angular/core';
|
|
7
|
-
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
8
|
-
import { MonkeyOptionComponent } from '../option';
|
|
9
|
-
import { MonkeyUtils } from '../../core/utils';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
import * as i1 from "@angular/common";
|
|
12
|
-
export class MonkeyRadioButtonComponent {
|
|
13
|
-
constructor() {
|
|
14
|
-
this.onChange = new EventEmitter();
|
|
15
|
-
this.onModelChange = (value) => { };
|
|
16
|
-
this.onModelTouched = (value) => { };
|
|
17
|
-
this._id = `mecx-radiobutton-${MonkeyUtils.getRandomString(10)}`;
|
|
18
|
-
this._disabled = false;
|
|
19
|
-
}
|
|
20
|
-
onHandleSelected() {
|
|
21
|
-
this.options.forEach((op) => {
|
|
22
|
-
op.selected = this._selected;
|
|
23
|
-
});
|
|
24
|
-
}
|
|
25
|
-
validateOptions() {
|
|
26
|
-
if (!this.options)
|
|
27
|
-
return;
|
|
28
|
-
this.options.forEach((op) => {
|
|
29
|
-
op.onSelectOption = this.onSelectOption.bind(this);
|
|
30
|
-
op.type = 'radio';
|
|
31
|
-
op.selected = null;
|
|
32
|
-
if (`${op.value}`.toLowerCase() === `${this.handledValue}`.toLowerCase()) {
|
|
33
|
-
this._selected = op;
|
|
34
|
-
op.selected = op;
|
|
35
|
-
}
|
|
36
|
-
});
|
|
37
|
-
}
|
|
38
|
-
registerOnChange(fn) {
|
|
39
|
-
this.onModelChange = fn;
|
|
40
|
-
}
|
|
41
|
-
registerOnTouched(fn) {
|
|
42
|
-
this.onModelTouched = fn;
|
|
43
|
-
}
|
|
44
|
-
setDisabledState(isDisabled) {
|
|
45
|
-
this._disabled = isDisabled;
|
|
46
|
-
}
|
|
47
|
-
set value(value) {
|
|
48
|
-
if (value !== undefined && this.handledValue !== value) {
|
|
49
|
-
this.handledValue = value;
|
|
50
|
-
this.onModelChange(value);
|
|
51
|
-
this.onModelTouched(value);
|
|
52
|
-
this.validateOptions();
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
get value() {
|
|
56
|
-
return this.handledValue;
|
|
57
|
-
}
|
|
58
|
-
writeValue(value) {
|
|
59
|
-
this.value = value;
|
|
60
|
-
}
|
|
61
|
-
onChangeValue(event, value) {
|
|
62
|
-
event?.preventDefault();
|
|
63
|
-
event?.stopPropagation();
|
|
64
|
-
this.writeValue(value);
|
|
65
|
-
this.onChange.next(value);
|
|
66
|
-
}
|
|
67
|
-
ngAfterViewInit() {
|
|
68
|
-
setTimeout(() => {
|
|
69
|
-
this.validateOptions();
|
|
70
|
-
}, 0);
|
|
71
|
-
}
|
|
72
|
-
onSelectOption(select) {
|
|
73
|
-
this._selected = select;
|
|
74
|
-
const { value } = select;
|
|
75
|
-
this.onChangeValue(null, value);
|
|
76
|
-
this.onHandleSelected();
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
MonkeyRadioButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MonkeyRadioButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
80
|
-
MonkeyRadioButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: MonkeyRadioButtonComponent, selector: "monkey-radiobutton", inputs: { label: "label", helperMessage: "helperMessage", placeholder: "placeholder", icon: "icon", infoMessage: "infoMessage", errorMessage: "errorMessage", value: "value" }, outputs: { onChange: "onChange" }, providers: [
|
|
81
|
-
{
|
|
82
|
-
provide: NG_VALUE_ACCESSOR,
|
|
83
|
-
useExisting: forwardRef(() => MonkeyRadioButtonComponent),
|
|
84
|
-
multi: true,
|
|
85
|
-
},
|
|
86
|
-
], queries: [{ propertyName: "options", predicate: MonkeyOptionComponent }], ngImport: i0, template: `
|
|
87
|
-
<mecx-form-field [id]="_id" [ngClass]="{ disabled: _disabled }">
|
|
88
|
-
<mecx-form-field-header>
|
|
89
|
-
<label>
|
|
90
|
-
{{ label }}
|
|
91
|
-
</label>
|
|
92
|
-
<helper>
|
|
93
|
-
{{ helperMessage }}
|
|
94
|
-
</helper>
|
|
95
|
-
</mecx-form-field-header>
|
|
96
|
-
<mecx-form-field-body class="radiobutton">
|
|
97
|
-
<ng-content> </ng-content>
|
|
98
|
-
</mecx-form-field-body>
|
|
99
|
-
<mecx-form-field-footer>
|
|
100
|
-
<info>
|
|
101
|
-
{{ infoMessage }}
|
|
102
|
-
</info>
|
|
103
|
-
<error>
|
|
104
|
-
{{ errorMessage }}
|
|
105
|
-
</error>
|
|
106
|
-
</mecx-form-field-footer>
|
|
107
|
-
</mecx-form-field>
|
|
108
|
-
`, isInline: true, directives: [{ type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
109
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MonkeyRadioButtonComponent, decorators: [{
|
|
110
|
-
type: Component,
|
|
111
|
-
args: [{
|
|
112
|
-
selector: 'monkey-radiobutton',
|
|
113
|
-
template: `
|
|
114
|
-
<mecx-form-field [id]="_id" [ngClass]="{ disabled: _disabled }">
|
|
115
|
-
<mecx-form-field-header>
|
|
116
|
-
<label>
|
|
117
|
-
{{ label }}
|
|
118
|
-
</label>
|
|
119
|
-
<helper>
|
|
120
|
-
{{ helperMessage }}
|
|
121
|
-
</helper>
|
|
122
|
-
</mecx-form-field-header>
|
|
123
|
-
<mecx-form-field-body class="radiobutton">
|
|
124
|
-
<ng-content> </ng-content>
|
|
125
|
-
</mecx-form-field-body>
|
|
126
|
-
<mecx-form-field-footer>
|
|
127
|
-
<info>
|
|
128
|
-
{{ infoMessage }}
|
|
129
|
-
</info>
|
|
130
|
-
<error>
|
|
131
|
-
{{ errorMessage }}
|
|
132
|
-
</error>
|
|
133
|
-
</mecx-form-field-footer>
|
|
134
|
-
</mecx-form-field>
|
|
135
|
-
`,
|
|
136
|
-
encapsulation: ViewEncapsulation.None,
|
|
137
|
-
providers: [
|
|
138
|
-
{
|
|
139
|
-
provide: NG_VALUE_ACCESSOR,
|
|
140
|
-
useExisting: forwardRef(() => MonkeyRadioButtonComponent),
|
|
141
|
-
multi: true,
|
|
142
|
-
},
|
|
143
|
-
],
|
|
144
|
-
}]
|
|
145
|
-
}], ctorParameters: function () { return []; }, propDecorators: { label: [{
|
|
146
|
-
type: Input
|
|
147
|
-
}], helperMessage: [{
|
|
148
|
-
type: Input
|
|
149
|
-
}], placeholder: [{
|
|
150
|
-
type: Input
|
|
151
|
-
}], icon: [{
|
|
152
|
-
type: Input
|
|
153
|
-
}], infoMessage: [{
|
|
154
|
-
type: Input
|
|
155
|
-
}], errorMessage: [{
|
|
156
|
-
type: Input
|
|
157
|
-
}], onChange: [{
|
|
158
|
-
type: Output
|
|
159
|
-
}], options: [{
|
|
160
|
-
type: ContentChildren,
|
|
161
|
-
args: [MonkeyOptionComponent]
|
|
162
|
-
}], value: [{
|
|
163
|
-
type: Input
|
|
164
|
-
}] } });
|
|
165
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
/**************************
|
|
2
|
+
* Copyright Monkey Exchange. All Rights Reserved
|
|
3
|
+
* This style guide was developed by Monkey Exchange Team
|
|
4
|
+
* MIT Licence
|
|
5
|
+
**************************/
|
|
6
|
+
import { Component, ViewEncapsulation, Input, forwardRef, ContentChildren, Output, EventEmitter, } from '@angular/core';
|
|
7
|
+
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
8
|
+
import { MonkeyOptionComponent } from '../option';
|
|
9
|
+
import { MonkeyUtils } from '../../core/utils';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
import * as i1 from "@angular/common";
|
|
12
|
+
export class MonkeyRadioButtonComponent {
|
|
13
|
+
constructor() {
|
|
14
|
+
this.onChange = new EventEmitter();
|
|
15
|
+
this.onModelChange = (value) => { };
|
|
16
|
+
this.onModelTouched = (value) => { };
|
|
17
|
+
this._id = `mecx-radiobutton-${MonkeyUtils.getRandomString(10)}`;
|
|
18
|
+
this._disabled = false;
|
|
19
|
+
}
|
|
20
|
+
onHandleSelected() {
|
|
21
|
+
this.options.forEach((op) => {
|
|
22
|
+
op.selected = this._selected;
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
validateOptions() {
|
|
26
|
+
if (!this.options)
|
|
27
|
+
return;
|
|
28
|
+
this.options.forEach((op) => {
|
|
29
|
+
op.onSelectOption = this.onSelectOption.bind(this);
|
|
30
|
+
op.type = 'radio';
|
|
31
|
+
op.selected = null;
|
|
32
|
+
if (`${op.value}`.toLowerCase() === `${this.handledValue}`.toLowerCase()) {
|
|
33
|
+
this._selected = op;
|
|
34
|
+
op.selected = op;
|
|
35
|
+
}
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
registerOnChange(fn) {
|
|
39
|
+
this.onModelChange = fn;
|
|
40
|
+
}
|
|
41
|
+
registerOnTouched(fn) {
|
|
42
|
+
this.onModelTouched = fn;
|
|
43
|
+
}
|
|
44
|
+
setDisabledState(isDisabled) {
|
|
45
|
+
this._disabled = isDisabled;
|
|
46
|
+
}
|
|
47
|
+
set value(value) {
|
|
48
|
+
if (value !== undefined && this.handledValue !== value) {
|
|
49
|
+
this.handledValue = value;
|
|
50
|
+
this.onModelChange(value);
|
|
51
|
+
this.onModelTouched(value);
|
|
52
|
+
this.validateOptions();
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
get value() {
|
|
56
|
+
return this.handledValue;
|
|
57
|
+
}
|
|
58
|
+
writeValue(value) {
|
|
59
|
+
this.value = value;
|
|
60
|
+
}
|
|
61
|
+
onChangeValue(event, value) {
|
|
62
|
+
event?.preventDefault();
|
|
63
|
+
event?.stopPropagation();
|
|
64
|
+
this.writeValue(value);
|
|
65
|
+
this.onChange.next(value);
|
|
66
|
+
}
|
|
67
|
+
ngAfterViewInit() {
|
|
68
|
+
setTimeout(() => {
|
|
69
|
+
this.validateOptions();
|
|
70
|
+
}, 0);
|
|
71
|
+
}
|
|
72
|
+
onSelectOption(select) {
|
|
73
|
+
this._selected = select;
|
|
74
|
+
const { value } = select;
|
|
75
|
+
this.onChangeValue(null, value);
|
|
76
|
+
this.onHandleSelected();
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
MonkeyRadioButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MonkeyRadioButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
80
|
+
MonkeyRadioButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: MonkeyRadioButtonComponent, selector: "monkey-radiobutton", inputs: { label: "label", helperMessage: "helperMessage", placeholder: "placeholder", icon: "icon", infoMessage: "infoMessage", errorMessage: "errorMessage", value: "value" }, outputs: { onChange: "onChange" }, providers: [
|
|
81
|
+
{
|
|
82
|
+
provide: NG_VALUE_ACCESSOR,
|
|
83
|
+
useExisting: forwardRef(() => MonkeyRadioButtonComponent),
|
|
84
|
+
multi: true,
|
|
85
|
+
},
|
|
86
|
+
], queries: [{ propertyName: "options", predicate: MonkeyOptionComponent }], ngImport: i0, template: `
|
|
87
|
+
<mecx-form-field [id]="_id" [ngClass]="{ disabled: _disabled }">
|
|
88
|
+
<mecx-form-field-header>
|
|
89
|
+
<label>
|
|
90
|
+
{{ label }}
|
|
91
|
+
</label>
|
|
92
|
+
<helper>
|
|
93
|
+
{{ helperMessage }}
|
|
94
|
+
</helper>
|
|
95
|
+
</mecx-form-field-header>
|
|
96
|
+
<mecx-form-field-body class="radiobutton">
|
|
97
|
+
<ng-content> </ng-content>
|
|
98
|
+
</mecx-form-field-body>
|
|
99
|
+
<mecx-form-field-footer>
|
|
100
|
+
<info>
|
|
101
|
+
{{ infoMessage }}
|
|
102
|
+
</info>
|
|
103
|
+
<error>
|
|
104
|
+
{{ errorMessage }}
|
|
105
|
+
</error>
|
|
106
|
+
</mecx-form-field-footer>
|
|
107
|
+
</mecx-form-field>
|
|
108
|
+
`, isInline: true, directives: [{ type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
109
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MonkeyRadioButtonComponent, decorators: [{
|
|
110
|
+
type: Component,
|
|
111
|
+
args: [{
|
|
112
|
+
selector: 'monkey-radiobutton',
|
|
113
|
+
template: `
|
|
114
|
+
<mecx-form-field [id]="_id" [ngClass]="{ disabled: _disabled }">
|
|
115
|
+
<mecx-form-field-header>
|
|
116
|
+
<label>
|
|
117
|
+
{{ label }}
|
|
118
|
+
</label>
|
|
119
|
+
<helper>
|
|
120
|
+
{{ helperMessage }}
|
|
121
|
+
</helper>
|
|
122
|
+
</mecx-form-field-header>
|
|
123
|
+
<mecx-form-field-body class="radiobutton">
|
|
124
|
+
<ng-content> </ng-content>
|
|
125
|
+
</mecx-form-field-body>
|
|
126
|
+
<mecx-form-field-footer>
|
|
127
|
+
<info>
|
|
128
|
+
{{ infoMessage }}
|
|
129
|
+
</info>
|
|
130
|
+
<error>
|
|
131
|
+
{{ errorMessage }}
|
|
132
|
+
</error>
|
|
133
|
+
</mecx-form-field-footer>
|
|
134
|
+
</mecx-form-field>
|
|
135
|
+
`,
|
|
136
|
+
encapsulation: ViewEncapsulation.None,
|
|
137
|
+
providers: [
|
|
138
|
+
{
|
|
139
|
+
provide: NG_VALUE_ACCESSOR,
|
|
140
|
+
useExisting: forwardRef(() => MonkeyRadioButtonComponent),
|
|
141
|
+
multi: true,
|
|
142
|
+
},
|
|
143
|
+
],
|
|
144
|
+
}]
|
|
145
|
+
}], ctorParameters: function () { return []; }, propDecorators: { label: [{
|
|
146
|
+
type: Input
|
|
147
|
+
}], helperMessage: [{
|
|
148
|
+
type: Input
|
|
149
|
+
}], placeholder: [{
|
|
150
|
+
type: Input
|
|
151
|
+
}], icon: [{
|
|
152
|
+
type: Input
|
|
153
|
+
}], infoMessage: [{
|
|
154
|
+
type: Input
|
|
155
|
+
}], errorMessage: [{
|
|
156
|
+
type: Input
|
|
157
|
+
}], onChange: [{
|
|
158
|
+
type: Output
|
|
159
|
+
}], options: [{
|
|
160
|
+
type: ContentChildren,
|
|
161
|
+
args: [MonkeyOptionComponent]
|
|
162
|
+
}], value: [{
|
|
163
|
+
type: Input
|
|
164
|
+
}] } });
|
|
165
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmFkaW9idXR0b24uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbW9ua2V5LXN0eWxlLWd1aWRlL3NyYy9saWIvY29tcG9uZW50cy9yYWRpb2J1dHRvbi9yYWRpb2J1dHRvbi5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7NEJBSTRCO0FBQzVCLE9BQU8sRUFDTCxTQUFTLEVBQ1QsaUJBQWlCLEVBQ2pCLEtBQUssRUFDTCxVQUFVLEVBQ1YsZUFBZSxFQUdmLE1BQU0sRUFDTixZQUFZLEdBQ2IsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUF3QixpQkFBaUIsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQ3pFLE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLFdBQVcsQ0FBQztBQUNsRCxPQUFPLEVBQUUsV0FBVyxFQUFFLE1BQU0sa0JBQWtCLENBQUM7OztBQW9DL0MsTUFBTSxPQUFPLDBCQUEwQjtJQW9CckM7UUFaVSxhQ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HJcblxyXG4gIG9uU2VsZWN0T3B0aW9uKHNlbGVjdDogTW9ua2V5T3B0aW9uQ29tcG9uZW50KSB7XHJcbiAgICB0aGlzLl9zZWxlY3RlZCA9IHNlbGVjdDtcclxuICAgIGNvbnN0IHsgdmFsdWUgfSA9IHNlbGVjdDtcclxuICAgIHRoaXMub25DaGFuZ2VWYWx1ZShudWxsLCB2YWx1ZSk7XHJcbiAgICB0aGlzLm9uSGFuZGxlU2VsZWN0ZWQoKTtcclxuICB9XHJcbn1cclxuIl19
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import { NgModule, NO_ERRORS_SCHEMA } from '@angular/core';
|
|
2
|
-
import { MonkeyRadioButtonComponent } from './radiobutton.component';
|
|
3
|
-
import { CommonModule } from '@angular/common';
|
|
4
|
-
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export class MonkeyRadioButtonModule {
|
|
7
|
-
}
|
|
8
|
-
MonkeyRadioButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MonkeyRadioButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
9
|
-
MonkeyRadioButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MonkeyRadioButtonModule, declarations: [MonkeyRadioButtonComponent], imports: [CommonModule,
|
|
10
|
-
FormsModule,
|
|
11
|
-
ReactiveFormsModule], exports: [MonkeyRadioButtonComponent] });
|
|
12
|
-
MonkeyRadioButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MonkeyRadioButtonModule, imports: [[
|
|
13
|
-
CommonModule,
|
|
14
|
-
FormsModule,
|
|
15
|
-
ReactiveFormsModule
|
|
16
|
-
]] });
|
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MonkeyRadioButtonModule, decorators: [{
|
|
18
|
-
type: NgModule,
|
|
19
|
-
args: [{
|
|
20
|
-
declarations: [
|
|
21
|
-
MonkeyRadioButtonComponent
|
|
22
|
-
],
|
|
23
|
-
imports: [
|
|
24
|
-
CommonModule,
|
|
25
|
-
FormsModule,
|
|
26
|
-
ReactiveFormsModule
|
|
27
|
-
],
|
|
28
|
-
exports: [
|
|
29
|
-
MonkeyRadioButtonComponent
|
|
30
|
-
],
|
|
31
|
-
schemas: [
|
|
32
|
-
NO_ERRORS_SCHEMA
|
|
33
|
-
]
|
|
34
|
-
}]
|
|
35
|
-
}] });
|
|
36
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { NgModule, NO_ERRORS_SCHEMA } from '@angular/core';
|
|
2
|
+
import { MonkeyRadioButtonComponent } from './radiobutton.component';
|
|
3
|
+
import { CommonModule } from '@angular/common';
|
|
4
|
+
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export class MonkeyRadioButtonModule {
|
|
7
|
+
}
|
|
8
|
+
MonkeyRadioButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MonkeyRadioButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
9
|
+
MonkeyRadioButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MonkeyRadioButtonModule, declarations: [MonkeyRadioButtonComponent], imports: [CommonModule,
|
|
10
|
+
FormsModule,
|
|
11
|
+
ReactiveFormsModule], exports: [MonkeyRadioButtonComponent] });
|
|
12
|
+
MonkeyRadioButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MonkeyRadioButtonModule, imports: [[
|
|
13
|
+
CommonModule,
|
|
14
|
+
FormsModule,
|
|
15
|
+
ReactiveFormsModule
|
|
16
|
+
]] });
|
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MonkeyRadioButtonModule, decorators: [{
|
|
18
|
+
type: NgModule,
|
|
19
|
+
args: [{
|
|
20
|
+
declarations: [
|
|
21
|
+
MonkeyRadioButtonComponent
|
|
22
|
+
],
|
|
23
|
+
imports: [
|
|
24
|
+
CommonModule,
|
|
25
|
+
FormsModule,
|
|
26
|
+
ReactiveFormsModule
|
|
27
|
+
],
|
|
28
|
+
exports: [
|
|
29
|
+
MonkeyRadioButtonComponent
|
|
30
|
+
],
|
|
31
|
+
schemas: [
|
|
32
|
+
NO_ERRORS_SCHEMA
|
|
33
|
+
]
|
|
34
|
+
}]
|
|
35
|
+
}] });
|
|
36
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmFkaW9idXR0b24ubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbW9ua2V5LXN0eWxlLWd1aWRlL3NyYy9saWIvY29tcG9uZW50cy9yYWRpb2J1dHRvbi9yYWRpb2J1dHRvbi5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMzRCxPQUFPLEVBQUUsMEJBQTBCLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQztBQUNyRSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLFdBQVcsRUFBRSxtQkFBbUIsRUFBRSxNQUFNLGdCQUFnQixDQUFDOztBQWtCbEUsTUFBTSxPQUFPLHVCQUF1Qjs7cUhBQXZCLHVCQUF1QjtzSEFBdkIsdUJBQXVCLGlCQ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rZXlSYWRpb0J1dHRvbkNvbXBvbmVudFxyXG4gIF0sXHJcbiAgc2NoZW1hczogW1xyXG4gICAgTk9fRVJST1JTX1NDSEVNQVxyXG4gIF1cclxufSlcclxuZXhwb3J0IGNsYXNzIE1vbmtleVJhZGlvQnV0dG9uTW9kdWxlIHsgfSJdfQ==
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from './select.component';
|
|
2
|
-
export * from './select-multiple.component';
|
|
3
|
-
export * from './select-search.component';
|
|
4
|
-
export * from './select-filter.component';
|
|
5
|
-
export * from './select.module';
|
|
6
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
export * from './select.component';
|
|
2
|
+
export * from './select-multiple.component';
|
|
3
|
+
export * from './select-search.component';
|
|
4
|
+
export * from './select-filter.component';
|
|
5
|
+
export * from './select.module';
|
|
6
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9tb25rZXktc3R5bGUtZ3VpZGUvc3JjL2xpYi9jb21wb25lbnRzL3NlbGVjdC9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLG9CQUFvQixDQUFDO0FBQ25DLGNBQWMsNkJBQTZCLENBQUM7QUFDNUMsY0FBYywyQkFBMkIsQ0FBQztBQUMxQyxjQUFjLDJCQUEyQixDQUFDO0FBQzFDLGNBQWMsaUJBQWlCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3NlbGVjdC5jb21wb25lbnQnO1xyXG5leHBvcnQgKiBmcm9tICcuL3NlbGVjdC1tdWx0aXBsZS5jb21wb25lbnQnO1xyXG5leHBvcnQgKiBmcm9tICcuL3NlbGVjdC1zZWFyY2guY29tcG9uZW50JztcclxuZXhwb3J0ICogZnJvbSAnLi9zZWxlY3QtZmlsdGVyLmNvbXBvbmVudCc7XHJcbmV4cG9ydCAqIGZyb20gJy4vc2VsZWN0Lm1vZHVsZSc7XHJcbiJdfQ==
|