monkey-style-guide 2.0.180 → 2.0.181
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 +1285 -1283
- 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/digital-certificate.svg +6 -0
- 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 -6
- package/assets/icons/mail-letter-fast-circle.svg +7 -7
- 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/suppliers.svg +11 -0
- 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-digital-certificate.component.mjs +15 -0
- 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 -15
- package/esm2020/lib/components/icon/icon-mail-letter-fast-circle.component.mjs +15 -15
- 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-suppliers.component.mjs +15 -0
- 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 +1848 -1822
- package/esm2020/lib/components/icon/icon.module.mjs +291 -287
- package/esm2020/lib/components/icon/index.mjs +139 -137
- 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 +9939 -9885
- package/fesm2015/monkey-style-guide.mjs.map +1 -1
- package/fesm2020/monkey-style-guide.mjs +9928 -9874
- 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-digital-certificate.component.d.ts +7 -0
- 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 -7
- package/lib/components/icon/icon-mail-letter-fast-circle.component.d.ts +7 -7
- 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-suppliers.component.d.ts +7 -0
- 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 +143 -141
- package/lib/components/icon/index.d.ts +138 -136
- 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.181.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.180.tgz +0 -0
|
@@ -1,77 +1,77 @@
|
|
|
1
|
-
/**************************
|
|
2
|
-
* Copyright Monkey Exchange. All Rights Reserved
|
|
3
|
-
* This style guide was developed by Monkey Exchange Team
|
|
4
|
-
* MIT Licence
|
|
5
|
-
**************************/
|
|
6
|
-
import { OnInit, ChangeDetectorRef, EventEmitter } from '@angular/core';
|
|
7
|
-
import { DomSanitizer, SafeUrl } from '@angular/platform-browser';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class MonkeyImageCropComponent implements OnInit {
|
|
10
|
-
private cdr;
|
|
11
|
-
private sanitizer;
|
|
12
|
-
label: string;
|
|
13
|
-
cropTitle: string;
|
|
14
|
-
labelChangeImage: string;
|
|
15
|
-
labelPreviewImage: string;
|
|
16
|
-
helperMessage: string;
|
|
17
|
-
placeholder: string;
|
|
18
|
-
maxSize: number;
|
|
19
|
-
maxSizeErrorMessage: string;
|
|
20
|
-
allowedExtensionErrorMessage: string;
|
|
21
|
-
fileUpload: Function;
|
|
22
|
-
onHandleGetFilesReady: EventEmitter<any>;
|
|
23
|
-
onHandleFilesReady: EventEmitter<any>;
|
|
24
|
-
onHandlePreviewReady: EventEmitter<any>;
|
|
25
|
-
_cutCoords: CutCoords;
|
|
26
|
-
_fileTypeToCut: string;
|
|
27
|
-
_fileNameToCut: string;
|
|
28
|
-
_progressingCut: boolean;
|
|
29
|
-
_loadCompleted: boolean;
|
|
30
|
-
_loadPreview: boolean;
|
|
31
|
-
_safeImgDataUrl: SafeUrl | string;
|
|
32
|
-
_disabled: boolean;
|
|
33
|
-
_progress: number;
|
|
34
|
-
_uploadErrorMessage: string;
|
|
35
|
-
private mouseMoves;
|
|
36
|
-
private areMaxSize;
|
|
37
|
-
private cutScaledMinWidth;
|
|
38
|
-
private cutScaledMinHeight;
|
|
39
|
-
private originalSize;
|
|
40
|
-
private fileReader;
|
|
41
|
-
private originalImage;
|
|
42
|
-
private imageCutReady;
|
|
43
|
-
private savedCallback;
|
|
44
|
-
constructor(cdr: ChangeDetectorRef, sanitizer: DomSanitizer);
|
|
45
|
-
private initCut;
|
|
46
|
-
private setProgressingCut;
|
|
47
|
-
private setProgressLoadCompleted;
|
|
48
|
-
private setProgressLoadPreview;
|
|
49
|
-
private cut;
|
|
50
|
-
private getImagePosition;
|
|
51
|
-
private getCanvasBlob;
|
|
52
|
-
private getClientX;
|
|
53
|
-
private getClientY;
|
|
54
|
-
private resize;
|
|
55
|
-
private move;
|
|
56
|
-
private checkMovesPosition;
|
|
57
|
-
private onLoadBeginPreview;
|
|
58
|
-
private onLoadEndPreview;
|
|
59
|
-
private imagePreview;
|
|
60
|
-
private handleCallback;
|
|
61
|
-
ngOnInit(): void;
|
|
62
|
-
startMove(event: any, moveType: string, position?: string | null): void;
|
|
63
|
-
moveImg(event: any): void;
|
|
64
|
-
moveStop(): void;
|
|
65
|
-
onHandleFileUploadFilesReady(files: any): void;
|
|
66
|
-
onHandleImageChange(): void;
|
|
67
|
-
onHandleImagePreview(): void;
|
|
68
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyImageCropComponent, never>;
|
|
69
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyImageCropComponent, "monkey-image-crop", never, { "label": "label"; "cropTitle": "cropTitle"; "labelChangeImage": "labelChangeImage"; "labelPreviewImage": "labelPreviewImage"; "helperMessage": "helperMessage"; "placeholder": "placeholder"; "maxSize": "maxSize"; "maxSizeErrorMessage": "maxSizeErrorMessage"; "allowedExtensionErrorMessage": "allowedExtensionErrorMessage"; "fileUpload": "fileUpload"; "onHandleGetFilesReady": "onHandleGetFilesReady"; }, { "onHandleFilesReady": "onHandleFilesReady"; "onHandlePreviewReady": "onHandlePreviewReady"; }, never, never>;
|
|
70
|
-
}
|
|
71
|
-
interface CutCoords {
|
|
72
|
-
x1?: number;
|
|
73
|
-
y1?: number;
|
|
74
|
-
x2?: number;
|
|
75
|
-
y2?: number;
|
|
76
|
-
}
|
|
77
|
-
export {};
|
|
1
|
+
/**************************
|
|
2
|
+
* Copyright Monkey Exchange. All Rights Reserved
|
|
3
|
+
* This style guide was developed by Monkey Exchange Team
|
|
4
|
+
* MIT Licence
|
|
5
|
+
**************************/
|
|
6
|
+
import { OnInit, ChangeDetectorRef, EventEmitter } from '@angular/core';
|
|
7
|
+
import { DomSanitizer, SafeUrl } from '@angular/platform-browser';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class MonkeyImageCropComponent implements OnInit {
|
|
10
|
+
private cdr;
|
|
11
|
+
private sanitizer;
|
|
12
|
+
label: string;
|
|
13
|
+
cropTitle: string;
|
|
14
|
+
labelChangeImage: string;
|
|
15
|
+
labelPreviewImage: string;
|
|
16
|
+
helperMessage: string;
|
|
17
|
+
placeholder: string;
|
|
18
|
+
maxSize: number;
|
|
19
|
+
maxSizeErrorMessage: string;
|
|
20
|
+
allowedExtensionErrorMessage: string;
|
|
21
|
+
fileUpload: Function;
|
|
22
|
+
onHandleGetFilesReady: EventEmitter<any>;
|
|
23
|
+
onHandleFilesReady: EventEmitter<any>;
|
|
24
|
+
onHandlePreviewReady: EventEmitter<any>;
|
|
25
|
+
_cutCoords: CutCoords;
|
|
26
|
+
_fileTypeToCut: string;
|
|
27
|
+
_fileNameToCut: string;
|
|
28
|
+
_progressingCut: boolean;
|
|
29
|
+
_loadCompleted: boolean;
|
|
30
|
+
_loadPreview: boolean;
|
|
31
|
+
_safeImgDataUrl: SafeUrl | string;
|
|
32
|
+
_disabled: boolean;
|
|
33
|
+
_progress: number;
|
|
34
|
+
_uploadErrorMessage: string;
|
|
35
|
+
private mouseMoves;
|
|
36
|
+
private areMaxSize;
|
|
37
|
+
private cutScaledMinWidth;
|
|
38
|
+
private cutScaledMinHeight;
|
|
39
|
+
private originalSize;
|
|
40
|
+
private fileReader;
|
|
41
|
+
private originalImage;
|
|
42
|
+
private imageCutReady;
|
|
43
|
+
private savedCallback;
|
|
44
|
+
constructor(cdr: ChangeDetectorRef, sanitizer: DomSanitizer);
|
|
45
|
+
private initCut;
|
|
46
|
+
private setProgressingCut;
|
|
47
|
+
private setProgressLoadCompleted;
|
|
48
|
+
private setProgressLoadPreview;
|
|
49
|
+
private cut;
|
|
50
|
+
private getImagePosition;
|
|
51
|
+
private getCanvasBlob;
|
|
52
|
+
private getClientX;
|
|
53
|
+
private getClientY;
|
|
54
|
+
private resize;
|
|
55
|
+
private move;
|
|
56
|
+
private checkMovesPosition;
|
|
57
|
+
private onLoadBeginPreview;
|
|
58
|
+
private onLoadEndPreview;
|
|
59
|
+
private imagePreview;
|
|
60
|
+
private handleCallback;
|
|
61
|
+
ngOnInit(): void;
|
|
62
|
+
startMove(event: any, moveType: string, position?: string | null): void;
|
|
63
|
+
moveImg(event: any): void;
|
|
64
|
+
moveStop(): void;
|
|
65
|
+
onHandleFileUploadFilesReady(files: any): void;
|
|
66
|
+
onHandleImageChange(): void;
|
|
67
|
+
onHandleImagePreview(): void;
|
|
68
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyImageCropComponent, never>;
|
|
69
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyImageCropComponent, "monkey-image-crop", never, { "label": "label"; "cropTitle": "cropTitle"; "labelChangeImage": "labelChangeImage"; "labelPreviewImage": "labelPreviewImage"; "helperMessage": "helperMessage"; "placeholder": "placeholder"; "maxSize": "maxSize"; "maxSizeErrorMessage": "maxSizeErrorMessage"; "allowedExtensionErrorMessage": "allowedExtensionErrorMessage"; "fileUpload": "fileUpload"; "onHandleGetFilesReady": "onHandleGetFilesReady"; }, { "onHandleFilesReady": "onHandleFilesReady"; "onHandlePreviewReady": "onHandlePreviewReady"; }, never, never>;
|
|
70
|
+
}
|
|
71
|
+
interface CutCoords {
|
|
72
|
+
x1?: number;
|
|
73
|
+
y1?: number;
|
|
74
|
+
x2?: number;
|
|
75
|
+
y2?: number;
|
|
76
|
+
}
|
|
77
|
+
export {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./image-crop.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "@angular/forms";
|
|
5
|
-
import * as i4 from "ngx-mask";
|
|
6
|
-
import * as i5 from "../button/button.module";
|
|
7
|
-
import * as i6 from "../file-upload/file-upload.module";
|
|
8
|
-
export declare class MonkeyImageCropModule {
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyImageCropModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MonkeyImageCropModule, [typeof i1.MonkeyImageCropComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.NgxMaskModule, typeof i5.MonkeyButtonModule, typeof i6.MonkeyFileUploadModule], [typeof i1.MonkeyImageCropComponent]>;
|
|
11
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<MonkeyImageCropModule>;
|
|
12
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./image-crop.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
import * as i4 from "ngx-mask";
|
|
6
|
+
import * as i5 from "../button/button.module";
|
|
7
|
+
import * as i6 from "../file-upload/file-upload.module";
|
|
8
|
+
export declare class MonkeyImageCropModule {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyImageCropModule, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MonkeyImageCropModule, [typeof i1.MonkeyImageCropComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.NgxMaskModule, typeof i5.MonkeyButtonModule, typeof i6.MonkeyFileUploadModule], [typeof i1.MonkeyImageCropComponent]>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MonkeyImageCropModule>;
|
|
12
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './image-crop.component';
|
|
2
|
-
export * from './image-crop.module';
|
|
1
|
+
export * from './image-crop.component';
|
|
2
|
+
export * from './image-crop.module';
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
export * from './badge';
|
|
2
|
-
export * from './button';
|
|
3
|
-
export * from './date-range-picker';
|
|
4
|
-
export * from './input';
|
|
5
|
-
export * from './input-phone';
|
|
6
|
-
export * from './select';
|
|
7
|
-
export * from './icon';
|
|
8
|
-
export * from './checkbox';
|
|
9
|
-
export * from './radiobutton';
|
|
10
|
-
export * from './option';
|
|
11
|
-
export * from './wizard';
|
|
12
|
-
export * from './file-upload';
|
|
13
|
-
export * from './image-crop';
|
|
14
|
-
export * from './modal';
|
|
15
|
-
export * from './expansion';
|
|
16
|
-
export * from './table';
|
|
17
|
-
export * from './toggle';
|
|
18
|
-
export * from './tab';
|
|
19
|
-
export * from './stepper';
|
|
1
|
+
export * from './badge';
|
|
2
|
+
export * from './button';
|
|
3
|
+
export * from './date-range-picker';
|
|
4
|
+
export * from './input';
|
|
5
|
+
export * from './input-phone';
|
|
6
|
+
export * from './select';
|
|
7
|
+
export * from './icon';
|
|
8
|
+
export * from './checkbox';
|
|
9
|
+
export * from './radiobutton';
|
|
10
|
+
export * from './option';
|
|
11
|
+
export * from './wizard';
|
|
12
|
+
export * from './file-upload';
|
|
13
|
+
export * from './image-crop';
|
|
14
|
+
export * from './modal';
|
|
15
|
+
export * from './expansion';
|
|
16
|
+
export * from './table';
|
|
17
|
+
export * from './toggle';
|
|
18
|
+
export * from './tab';
|
|
19
|
+
export * from './stepper';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './input.component';
|
|
2
|
-
export * from './input-filter.component';
|
|
3
|
-
export * from './input.module';
|
|
1
|
+
export * from './input.component';
|
|
2
|
+
export * from './input-filter.component';
|
|
3
|
+
export * from './input.module';
|
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
/**************************
|
|
2
|
-
* Copyright Monkey Exchange. All Rights Reserved
|
|
3
|
-
* This style guide was developed by Monkey Exchange Team
|
|
4
|
-
* MIT Licence
|
|
5
|
-
**************************/
|
|
6
|
-
import { CurrencyPipe } from '@angular/common';
|
|
7
|
-
import { OnInit, ElementRef, EventEmitter } from '@angular/core';
|
|
8
|
-
import { ControlValueAccessor } from '@angular/forms';
|
|
9
|
-
import { MonkeyStyleGuideSettingsService } from '../../core';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
export declare class MonkeyInputFilterComponent implements ControlValueAccessor, OnInit {
|
|
12
|
-
private elementRef;
|
|
13
|
-
private currencyPipe;
|
|
14
|
-
private settingsService;
|
|
15
|
-
name: string;
|
|
16
|
-
label: string;
|
|
17
|
-
helperMessage: string;
|
|
18
|
-
placeholder: string;
|
|
19
|
-
icon: string;
|
|
20
|
-
type: string;
|
|
21
|
-
infoMessage: string;
|
|
22
|
-
errorMessage: string;
|
|
23
|
-
mask: string;
|
|
24
|
-
prefix: string;
|
|
25
|
-
onlyNumber: any;
|
|
26
|
-
onlyAlphaNumeric: any;
|
|
27
|
-
upperCase: any;
|
|
28
|
-
lowerCase: any;
|
|
29
|
-
capitalize: any;
|
|
30
|
-
currency: any;
|
|
31
|
-
iconPosition: string;
|
|
32
|
-
onChange: EventEmitter<any>;
|
|
33
|
-
private settings;
|
|
34
|
-
private handledValue;
|
|
35
|
-
private onModelChange;
|
|
36
|
-
private onModelTouched;
|
|
37
|
-
private timer;
|
|
38
|
-
_id: string;
|
|
39
|
-
_disabled: boolean;
|
|
40
|
-
_oldType: string;
|
|
41
|
-
constructor(elementRef: ElementRef, currencyPipe: CurrencyPipe, settingsService: MonkeyStyleGuideSettingsService);
|
|
42
|
-
private handleValue;
|
|
43
|
-
ngOnInit(): void;
|
|
44
|
-
registerOnChange(fn: any): void;
|
|
45
|
-
registerOnTouched(fn: any): void;
|
|
46
|
-
setDisabledState?(isDisabled: boolean): void;
|
|
47
|
-
set value(value: any);
|
|
48
|
-
get value(): any;
|
|
49
|
-
writeValue(value: any): void;
|
|
50
|
-
onChangeInput(event: any): void;
|
|
51
|
-
onShowAndHidePassword(): void;
|
|
52
|
-
onClick(event: any): void;
|
|
53
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyInputFilterComponent, never>;
|
|
54
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyInputFilterComponent, "monkey-input-filter", never, { "name": "name"; "label": "label"; "helperMessage": "helperMessage"; "placeholder": "placeholder"; "icon": "icon"; "type": "type"; "infoMessage": "infoMessage"; "errorMessage": "errorMessage"; "mask": "mask"; "prefix": "prefix"; "onlyNumber": "onlyNumber"; "onlyAlphaNumeric": "onlyAlphaNumeric"; "upperCase": "upperCase"; "lowerCase": "lowerCase"; "capitalize": "capitalize"; "currency": "currency"; "iconPosition": "iconPosition"; "value": "value"; }, { "onChange": "onChange"; }, never, never>;
|
|
55
|
-
}
|
|
1
|
+
/**************************
|
|
2
|
+
* Copyright Monkey Exchange. All Rights Reserved
|
|
3
|
+
* This style guide was developed by Monkey Exchange Team
|
|
4
|
+
* MIT Licence
|
|
5
|
+
**************************/
|
|
6
|
+
import { CurrencyPipe } from '@angular/common';
|
|
7
|
+
import { OnInit, ElementRef, EventEmitter } from '@angular/core';
|
|
8
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
9
|
+
import { MonkeyStyleGuideSettingsService } from '../../core';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
export declare class MonkeyInputFilterComponent implements ControlValueAccessor, OnInit {
|
|
12
|
+
private elementRef;
|
|
13
|
+
private currencyPipe;
|
|
14
|
+
private settingsService;
|
|
15
|
+
name: string;
|
|
16
|
+
label: string;
|
|
17
|
+
helperMessage: string;
|
|
18
|
+
placeholder: string;
|
|
19
|
+
icon: string;
|
|
20
|
+
type: string;
|
|
21
|
+
infoMessage: string;
|
|
22
|
+
errorMessage: string;
|
|
23
|
+
mask: string;
|
|
24
|
+
prefix: string;
|
|
25
|
+
onlyNumber: any;
|
|
26
|
+
onlyAlphaNumeric: any;
|
|
27
|
+
upperCase: any;
|
|
28
|
+
lowerCase: any;
|
|
29
|
+
capitalize: any;
|
|
30
|
+
currency: any;
|
|
31
|
+
iconPosition: string;
|
|
32
|
+
onChange: EventEmitter<any>;
|
|
33
|
+
private settings;
|
|
34
|
+
private handledValue;
|
|
35
|
+
private onModelChange;
|
|
36
|
+
private onModelTouched;
|
|
37
|
+
private timer;
|
|
38
|
+
_id: string;
|
|
39
|
+
_disabled: boolean;
|
|
40
|
+
_oldType: string;
|
|
41
|
+
constructor(elementRef: ElementRef, currencyPipe: CurrencyPipe, settingsService: MonkeyStyleGuideSettingsService);
|
|
42
|
+
private handleValue;
|
|
43
|
+
ngOnInit(): void;
|
|
44
|
+
registerOnChange(fn: any): void;
|
|
45
|
+
registerOnTouched(fn: any): void;
|
|
46
|
+
setDisabledState?(isDisabled: boolean): void;
|
|
47
|
+
set value(value: any);
|
|
48
|
+
get value(): any;
|
|
49
|
+
writeValue(value: any): void;
|
|
50
|
+
onChangeInput(event: any): void;
|
|
51
|
+
onShowAndHidePassword(): void;
|
|
52
|
+
onClick(event: any): void;
|
|
53
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyInputFilterComponent, never>;
|
|
54
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyInputFilterComponent, "monkey-input-filter", never, { "name": "name"; "label": "label"; "helperMessage": "helperMessage"; "placeholder": "placeholder"; "icon": "icon"; "type": "type"; "infoMessage": "infoMessage"; "errorMessage": "errorMessage"; "mask": "mask"; "prefix": "prefix"; "onlyNumber": "onlyNumber"; "onlyAlphaNumeric": "onlyAlphaNumeric"; "upperCase": "upperCase"; "lowerCase": "lowerCase"; "capitalize": "capitalize"; "currency": "currency"; "iconPosition": "iconPosition"; "value": "value"; }, { "onChange": "onChange"; }, never, never>;
|
|
55
|
+
}
|
|
@@ -1,64 +1,64 @@
|
|
|
1
|
-
/**************************
|
|
2
|
-
* Copyright Monkey Exchange. All Rights Reserved
|
|
3
|
-
* This style guide was developed by Monkey Exchange Team
|
|
4
|
-
* MIT Licence
|
|
5
|
-
**************************/
|
|
6
|
-
import { CurrencyPipe } from '@angular/common';
|
|
7
|
-
import { OnInit, ElementRef, EventEmitter, ChangeDetectorRef } from '@angular/core';
|
|
8
|
-
import { ControlValueAccessor } from '@angular/forms';
|
|
9
|
-
import { MonkeyStyleGuideSettingsService } from '../../core';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
export declare class MonkeyInputComponent implements ControlValueAccessor, OnInit {
|
|
12
|
-
private currencyPipe;
|
|
13
|
-
private settingsService;
|
|
14
|
-
private cdr;
|
|
15
|
-
name: string;
|
|
16
|
-
label: string;
|
|
17
|
-
helperMessage: string;
|
|
18
|
-
placeholder: string;
|
|
19
|
-
icon: string;
|
|
20
|
-
type: string;
|
|
21
|
-
infoMessage: string;
|
|
22
|
-
errorMessage: string;
|
|
23
|
-
mask: string;
|
|
24
|
-
prefix: string;
|
|
25
|
-
maxLength: number;
|
|
26
|
-
onlyNumber: any;
|
|
27
|
-
onlyAlphaNumeric: any;
|
|
28
|
-
upperCase: any;
|
|
29
|
-
lowerCase: any;
|
|
30
|
-
capitalize: any;
|
|
31
|
-
currency: any;
|
|
32
|
-
percent: any;
|
|
33
|
-
maxDateToday: boolean;
|
|
34
|
-
onChange: EventEmitter<any>;
|
|
35
|
-
private settings;
|
|
36
|
-
private handledValue;
|
|
37
|
-
private onModelChange;
|
|
38
|
-
private onModelTouched;
|
|
39
|
-
_id: string;
|
|
40
|
-
_disabled: boolean;
|
|
41
|
-
_oldType: string;
|
|
42
|
-
_formatedValue: any;
|
|
43
|
-
_maxDateToday: string;
|
|
44
|
-
_symbol: string;
|
|
45
|
-
monkeyInput: ElementRef;
|
|
46
|
-
constructor(currencyPipe: CurrencyPipe, settingsService: MonkeyStyleGuideSettingsService, cdr: ChangeDetectorRef);
|
|
47
|
-
private handleValue;
|
|
48
|
-
private replaceZero;
|
|
49
|
-
private formatValue;
|
|
50
|
-
private handleSymbol;
|
|
51
|
-
ngOnInit(): void;
|
|
52
|
-
registerOnChange(fn: any): void;
|
|
53
|
-
registerOnTouched(fn: any): void;
|
|
54
|
-
setDisabledState?(isDisabled: boolean): void;
|
|
55
|
-
set value(value: any);
|
|
56
|
-
get value(): any;
|
|
57
|
-
writeValue(value: any): void;
|
|
58
|
-
onChangeValue(event: any): void;
|
|
59
|
-
onShowAndHidePassword(): void;
|
|
60
|
-
onClick(): void;
|
|
61
|
-
onKeyPress(event: any): void;
|
|
62
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyInputComponent, never>;
|
|
63
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyInputComponent, "monkey-input", never, { "name": "name"; "label": "label"; "helperMessage": "helperMessage"; "placeholder": "placeholder"; "icon": "icon"; "type": "type"; "infoMessage": "infoMessage"; "errorMessage": "errorMessage"; "mask": "mask"; "prefix": "prefix"; "maxLength": "maxLength"; "onlyNumber": "onlyNumber"; "onlyAlphaNumeric": "onlyAlphaNumeric"; "upperCase": "upperCase"; "lowerCase": "lowerCase"; "capitalize": "capitalize"; "currency": "currency"; "percent": "percent"; "maxDateToday": "maxDateToday"; "value": "value"; }, { "onChange": "onChange"; }, never, never>;
|
|
64
|
-
}
|
|
1
|
+
/**************************
|
|
2
|
+
* Copyright Monkey Exchange. All Rights Reserved
|
|
3
|
+
* This style guide was developed by Monkey Exchange Team
|
|
4
|
+
* MIT Licence
|
|
5
|
+
**************************/
|
|
6
|
+
import { CurrencyPipe } from '@angular/common';
|
|
7
|
+
import { OnInit, ElementRef, EventEmitter, ChangeDetectorRef } from '@angular/core';
|
|
8
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
9
|
+
import { MonkeyStyleGuideSettingsService } from '../../core';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
export declare class MonkeyInputComponent implements ControlValueAccessor, OnInit {
|
|
12
|
+
private currencyPipe;
|
|
13
|
+
private settingsService;
|
|
14
|
+
private cdr;
|
|
15
|
+
name: string;
|
|
16
|
+
label: string;
|
|
17
|
+
helperMessage: string;
|
|
18
|
+
placeholder: string;
|
|
19
|
+
icon: string;
|
|
20
|
+
type: string;
|
|
21
|
+
infoMessage: string;
|
|
22
|
+
errorMessage: string;
|
|
23
|
+
mask: string;
|
|
24
|
+
prefix: string;
|
|
25
|
+
maxLength: number;
|
|
26
|
+
onlyNumber: any;
|
|
27
|
+
onlyAlphaNumeric: any;
|
|
28
|
+
upperCase: any;
|
|
29
|
+
lowerCase: any;
|
|
30
|
+
capitalize: any;
|
|
31
|
+
currency: any;
|
|
32
|
+
percent: any;
|
|
33
|
+
maxDateToday: boolean;
|
|
34
|
+
onChange: EventEmitter<any>;
|
|
35
|
+
private settings;
|
|
36
|
+
private handledValue;
|
|
37
|
+
private onModelChange;
|
|
38
|
+
private onModelTouched;
|
|
39
|
+
_id: string;
|
|
40
|
+
_disabled: boolean;
|
|
41
|
+
_oldType: string;
|
|
42
|
+
_formatedValue: any;
|
|
43
|
+
_maxDateToday: string;
|
|
44
|
+
_symbol: string;
|
|
45
|
+
monkeyInput: ElementRef;
|
|
46
|
+
constructor(currencyPipe: CurrencyPipe, settingsService: MonkeyStyleGuideSettingsService, cdr: ChangeDetectorRef);
|
|
47
|
+
private handleValue;
|
|
48
|
+
private replaceZero;
|
|
49
|
+
private formatValue;
|
|
50
|
+
private handleSymbol;
|
|
51
|
+
ngOnInit(): void;
|
|
52
|
+
registerOnChange(fn: any): void;
|
|
53
|
+
registerOnTouched(fn: any): void;
|
|
54
|
+
setDisabledState?(isDisabled: boolean): void;
|
|
55
|
+
set value(value: any);
|
|
56
|
+
get value(): any;
|
|
57
|
+
writeValue(value: any): void;
|
|
58
|
+
onChangeValue(event: any): void;
|
|
59
|
+
onShowAndHidePassword(): void;
|
|
60
|
+
onClick(): void;
|
|
61
|
+
onKeyPress(event: any): void;
|
|
62
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyInputComponent, never>;
|
|
63
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyInputComponent, "monkey-input", never, { "name": "name"; "label": "label"; "helperMessage": "helperMessage"; "placeholder": "placeholder"; "icon": "icon"; "type": "type"; "infoMessage": "infoMessage"; "errorMessage": "errorMessage"; "mask": "mask"; "prefix": "prefix"; "maxLength": "maxLength"; "onlyNumber": "onlyNumber"; "onlyAlphaNumeric": "onlyAlphaNumeric"; "upperCase": "upperCase"; "lowerCase": "lowerCase"; "capitalize": "capitalize"; "currency": "currency"; "percent": "percent"; "maxDateToday": "maxDateToday"; "value": "value"; }, { "onChange": "onChange"; }, never, never>;
|
|
64
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./input.component";
|
|
3
|
-
import * as i2 from "./input-filter.component";
|
|
4
|
-
import * as i3 from "@angular/common";
|
|
5
|
-
import * as i4 from "@angular/forms";
|
|
6
|
-
import * as i5 from "ngx-mask";
|
|
7
|
-
import * as i6 from "../icon/icon.module";
|
|
8
|
-
export declare class MonkeyInputModule {
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyInputModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MonkeyInputModule, [typeof i1.MonkeyInputComponent, typeof i2.MonkeyInputFilterComponent], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i4.ReactiveFormsModule, typeof i5.NgxMaskModule, typeof i6.MonkeyIconModule], [typeof i1.MonkeyInputComponent, typeof i2.MonkeyInputFilterComponent]>;
|
|
11
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<MonkeyInputModule>;
|
|
12
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./input.component";
|
|
3
|
+
import * as i2 from "./input-filter.component";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "@angular/forms";
|
|
6
|
+
import * as i5 from "ngx-mask";
|
|
7
|
+
import * as i6 from "../icon/icon.module";
|
|
8
|
+
export declare class MonkeyInputModule {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyInputModule, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MonkeyInputModule, [typeof i1.MonkeyInputComponent, typeof i2.MonkeyInputFilterComponent], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i4.ReactiveFormsModule, typeof i5.NgxMaskModule, typeof i6.MonkeyIconModule], [typeof i1.MonkeyInputComponent, typeof i2.MonkeyInputFilterComponent]>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MonkeyInputModule>;
|
|
12
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './input-phone.component';
|
|
2
|
-
export * from './input-phone.module';
|
|
1
|
+
export * from './input-phone.component';
|
|
2
|
+
export * from './input-phone.module';
|
|
@@ -1,62 +1,62 @@
|
|
|
1
|
-
/**************************
|
|
2
|
-
* Copyright Monkey Exchange. All Rights Reserved
|
|
3
|
-
* This style guide was developed by Monkey Exchange Team
|
|
4
|
-
* MIT Licence
|
|
5
|
-
**************************/
|
|
6
|
-
import { OnInit, EventEmitter, ChangeDetectorRef, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
|
|
7
|
-
import { ControlValueAccessor, FormControl, NgControl } from '@angular/forms';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class PhoneNumberValidDirective implements OnChanges, OnDestroy {
|
|
10
|
-
phoneNumber: string;
|
|
11
|
-
internationalNumber: number;
|
|
12
|
-
ctrl: FormControl;
|
|
13
|
-
private destroyed;
|
|
14
|
-
private onValidate;
|
|
15
|
-
ngOnChanges({ ctrl, phoneNumber, internationalNumber }: SimpleChanges): void;
|
|
16
|
-
ngOnDestroy(): void;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PhoneNumberValidDirective, never>;
|
|
18
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<PhoneNumberValidDirective, "[phoneNumberValidate]", never, { "phoneNumber": "phoneNumber"; "internationalNumber": "internationalNumber"; "ctrl": "ctrl"; }, {}, never>;
|
|
19
|
-
}
|
|
20
|
-
export declare class MonkeyInputPhoneComponent implements ControlValueAccessor, OnInit {
|
|
21
|
-
ngControl: NgControl;
|
|
22
|
-
private cdr;
|
|
23
|
-
name: string;
|
|
24
|
-
label: string;
|
|
25
|
-
helperMessage: string;
|
|
26
|
-
placeholder: string;
|
|
27
|
-
icon: string;
|
|
28
|
-
infoMessage: string;
|
|
29
|
-
errorMessage: string;
|
|
30
|
-
maxLength: number;
|
|
31
|
-
internationalNumber: number;
|
|
32
|
-
onChange: EventEmitter<any>;
|
|
33
|
-
private onModelChange;
|
|
34
|
-
private onModelTouched;
|
|
35
|
-
_handledValue: any;
|
|
36
|
-
_id: string;
|
|
37
|
-
_disabled: boolean;
|
|
38
|
-
_formatedValue: any;
|
|
39
|
-
_regionCodes: any[];
|
|
40
|
-
_countryCodes: any[];
|
|
41
|
-
_formControl: any;
|
|
42
|
-
constructor(ngControl: NgControl, cdr: ChangeDetectorRef);
|
|
43
|
-
private handleValue;
|
|
44
|
-
private replaceZero;
|
|
45
|
-
private formatValue;
|
|
46
|
-
private getValue;
|
|
47
|
-
ngOnInit(): void;
|
|
48
|
-
onHandleInternationalNumber(value?: string): void;
|
|
49
|
-
onHandleInternationalNumberFormated(): string;
|
|
50
|
-
onHandleCountryCode(event: number): void;
|
|
51
|
-
registerOnChange(fn: any): void;
|
|
52
|
-
registerOnTouched(fn: any): void;
|
|
53
|
-
setDisabledState?(isDisabled: boolean): void;
|
|
54
|
-
set value(value: any);
|
|
55
|
-
get value(): any;
|
|
56
|
-
writeValue(value: any): void;
|
|
57
|
-
onChangeValue(event?: any): void;
|
|
58
|
-
onClick(): void;
|
|
59
|
-
onKeyPress(event: any): void;
|
|
60
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyInputPhoneComponent, [{ optional: true; self: true; }, null]>;
|
|
61
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyInputPhoneComponent, "monkey-input-phone", never, { "name": "name"; "label": "label"; "helperMessage": "helperMessage"; "placeholder": "placeholder"; "icon": "icon"; "infoMessage": "infoMessage"; "errorMessage": "errorMessage"; "maxLength": "maxLength"; "internationalNumber": "internationalNumber"; "value": "value"; }, { "onChange": "onChange"; }, never, never>;
|
|
62
|
-
}
|
|
1
|
+
/**************************
|
|
2
|
+
* Copyright Monkey Exchange. All Rights Reserved
|
|
3
|
+
* This style guide was developed by Monkey Exchange Team
|
|
4
|
+
* MIT Licence
|
|
5
|
+
**************************/
|
|
6
|
+
import { OnInit, EventEmitter, ChangeDetectorRef, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
|
|
7
|
+
import { ControlValueAccessor, FormControl, NgControl } from '@angular/forms';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class PhoneNumberValidDirective implements OnChanges, OnDestroy {
|
|
10
|
+
phoneNumber: string;
|
|
11
|
+
internationalNumber: number;
|
|
12
|
+
ctrl: FormControl;
|
|
13
|
+
private destroyed;
|
|
14
|
+
private onValidate;
|
|
15
|
+
ngOnChanges({ ctrl, phoneNumber, internationalNumber }: SimpleChanges): void;
|
|
16
|
+
ngOnDestroy(): void;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PhoneNumberValidDirective, never>;
|
|
18
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PhoneNumberValidDirective, "[phoneNumberValidate]", never, { "phoneNumber": "phoneNumber"; "internationalNumber": "internationalNumber"; "ctrl": "ctrl"; }, {}, never>;
|
|
19
|
+
}
|
|
20
|
+
export declare class MonkeyInputPhoneComponent implements ControlValueAccessor, OnInit {
|
|
21
|
+
ngControl: NgControl;
|
|
22
|
+
private cdr;
|
|
23
|
+
name: string;
|
|
24
|
+
label: string;
|
|
25
|
+
helperMessage: string;
|
|
26
|
+
placeholder: string;
|
|
27
|
+
icon: string;
|
|
28
|
+
infoMessage: string;
|
|
29
|
+
errorMessage: string;
|
|
30
|
+
maxLength: number;
|
|
31
|
+
internationalNumber: number;
|
|
32
|
+
onChange: EventEmitter<any>;
|
|
33
|
+
private onModelChange;
|
|
34
|
+
private onModelTouched;
|
|
35
|
+
_handledValue: any;
|
|
36
|
+
_id: string;
|
|
37
|
+
_disabled: boolean;
|
|
38
|
+
_formatedValue: any;
|
|
39
|
+
_regionCodes: any[];
|
|
40
|
+
_countryCodes: any[];
|
|
41
|
+
_formControl: any;
|
|
42
|
+
constructor(ngControl: NgControl, cdr: ChangeDetectorRef);
|
|
43
|
+
private handleValue;
|
|
44
|
+
private replaceZero;
|
|
45
|
+
private formatValue;
|
|
46
|
+
private getValue;
|
|
47
|
+
ngOnInit(): void;
|
|
48
|
+
onHandleInternationalNumber(value?: string): void;
|
|
49
|
+
onHandleInternationalNumberFormated(): string;
|
|
50
|
+
onHandleCountryCode(event: number): void;
|
|
51
|
+
registerOnChange(fn: any): void;
|
|
52
|
+
registerOnTouched(fn: any): void;
|
|
53
|
+
setDisabledState?(isDisabled: boolean): void;
|
|
54
|
+
set value(value: any);
|
|
55
|
+
get value(): any;
|
|
56
|
+
writeValue(value: any): void;
|
|
57
|
+
onChangeValue(event?: any): void;
|
|
58
|
+
onClick(): void;
|
|
59
|
+
onKeyPress(event: any): void;
|
|
60
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyInputPhoneComponent, [{ optional: true; self: true; }, null]>;
|
|
61
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyInputPhoneComponent, "monkey-input-phone", never, { "name": "name"; "label": "label"; "helperMessage": "helperMessage"; "placeholder": "placeholder"; "icon": "icon"; "infoMessage": "infoMessage"; "errorMessage": "errorMessage"; "maxLength": "maxLength"; "internationalNumber": "internationalNumber"; "value": "value"; }, { "onChange": "onChange"; }, never, never>;
|
|
62
|
+
}
|