bonkers-ui 1.0.60 → 1.0.62
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/.eslintrc.js +1 -0
- package/CONSTANTS.d.ts +1 -0
- package/_types/align.js +5 -0
- package/_types/align.js.map +1 -0
- package/_types/colors.js +5 -0
- package/_types/colors.js.map +1 -0
- package/_types/sizing.js +5 -0
- package/_types/sizing.js.map +1 -0
- package/_virtual/_plugin-vue_export-helper.js +10 -0
- package/_virtual/_plugin-vue_export-helper.js.map +1 -0
- package/bonkers-ui.umd.js +12 -0
- package/bonkers-ui.umd.js.map +1 -0
- package/components/ui-alert/_types.d.ts +6 -0
- package/components/ui-alert/_types.js +5 -0
- package/components/ui-alert/_types.js.map +1 -0
- package/components/ui-alert/index.d.ts +92 -0
- package/components/ui-alert/index.js +9 -0
- package/components/ui-alert/index.js.map +1 -0
- package/components/ui-alert/ui-alert.vue.d.ts +27 -0
- package/components/ui-alert/ui-alert.vue.js +47 -0
- package/components/ui-alert/ui-alert.vue.js.map +1 -0
- package/components/ui-alert/ui-alert.vue2.js +5 -0
- package/components/ui-alert/ui-alert.vue2.js.map +1 -0
- package/components/ui-badge/_typings.d.ts +10 -0
- package/components/ui-badge/_typings.js +6 -0
- package/components/ui-badge/_typings.js.map +1 -0
- package/components/ui-badge/index.d.ts +114 -0
- package/components/ui-badge/index.js +10 -0
- package/components/ui-badge/index.js.map +1 -0
- package/components/ui-badge/ui-badge.vue.d.ts +31 -0
- package/components/ui-badge/ui-badge.vue.js +62 -0
- package/components/ui-badge/ui-badge.vue.js.map +1 -0
- package/components/ui-badge/ui-badge.vue2.js +5 -0
- package/components/ui-badge/ui-badge.vue2.js.map +1 -0
- package/components/ui-ber-rank/_types.d.ts +61 -0
- package/components/ui-ber-rank/_types.js +74 -0
- package/components/ui-ber-rank/_types.js.map +1 -0
- package/components/ui-ber-rank/index.d.ts +30 -0
- package/components/ui-ber-rank/index.js +10 -0
- package/components/ui-ber-rank/index.js.map +1 -0
- package/components/ui-ber-rank/ui-ber-rank.vue.d.ts +33 -0
- package/components/ui-ber-rank/ui-ber-rank.vue.js +101 -0
- package/components/ui-ber-rank/ui-ber-rank.vue.js.map +1 -0
- package/components/ui-ber-rank/ui-ber-rank.vue3.js +6 -0
- package/components/ui-ber-rank/ui-ber-rank.vue3.js.map +1 -0
- package/components/ui-button/_typings.d.ts +17 -0
- package/components/ui-button/_typings.js +6 -0
- package/components/ui-button/_typings.js.map +1 -0
- package/components/ui-button/index.d.ts +146 -0
- package/components/ui-button/index.js +10 -0
- package/components/ui-button/index.js.map +1 -0
- package/components/ui-button/ui-button.vue.d.ts +51 -0
- package/components/ui-button/ui-button.vue.js +51 -0
- package/components/ui-button/ui-button.vue.js.map +1 -0
- package/components/ui-button/ui-button.vue2.js +5 -0
- package/components/ui-button/ui-button.vue2.js.map +1 -0
- package/components/ui-card-cta/index.d.ts +127 -0
- package/components/ui-card-cta/index.js +7 -0
- package/components/ui-card-cta/index.js.map +1 -0
- package/components/ui-card-cta/ui-card-cta.vue.d.ts +34 -0
- package/components/ui-card-cta/ui-card-cta.vue.js +76 -0
- package/components/ui-card-cta/ui-card-cta.vue.js.map +1 -0
- package/components/ui-card-cta/ui-card-cta.vue2.js +5 -0
- package/components/ui-card-cta/ui-card-cta.vue2.js.map +1 -0
- package/components/ui-card-result/index.d.ts +125 -0
- package/components/ui-card-result/index.js +7 -0
- package/components/ui-card-result/index.js.map +1 -0
- package/components/ui-card-result/ui-card-result.vue.d.ts +32 -0
- package/components/ui-card-result/ui-card-result.vue.js +8 -0
- package/components/ui-card-result/ui-card-result.vue.js.map +1 -0
- package/components/ui-card-result/ui-card-result.vue2.js +82 -0
- package/components/ui-card-result/ui-card-result.vue2.js.map +1 -0
- package/components/ui-card-simple/index.d.ts +56 -0
- package/components/ui-card-simple/index.js +7 -0
- package/components/ui-card-simple/index.js.map +1 -0
- package/components/ui-card-simple/ui-card-simple.vue.d.ts +12 -0
- package/components/ui-card-simple/ui-card-simple.vue.js +36 -0
- package/components/ui-card-simple/ui-card-simple.vue.js.map +1 -0
- package/components/ui-card-simple/ui-card-simple.vue2.js +5 -0
- package/components/ui-card-simple/ui-card-simple.vue2.js.map +1 -0
- package/components/ui-checkbox/index.d.ts +142 -0
- package/components/ui-checkbox/index.js +7 -0
- package/components/ui-checkbox/index.js.map +1 -0
- package/components/ui-checkbox/ui-checkbox.vue.d.ts +36 -0
- package/components/ui-checkbox/ui-checkbox.vue.js +8 -0
- package/components/ui-checkbox/ui-checkbox.vue.js.map +1 -0
- package/components/ui-checkbox/ui-checkbox.vue2.js +74 -0
- package/components/ui-checkbox/ui-checkbox.vue2.js.map +1 -0
- package/components/ui-dropdown/_typings.d.ts +4 -0
- package/components/ui-dropdown/_typings.js +5 -0
- package/components/ui-dropdown/_typings.js.map +1 -0
- package/components/ui-dropdown/index.d.ts +148 -0
- package/components/ui-dropdown/index.js +9 -0
- package/components/ui-dropdown/index.js.map +1 -0
- package/components/ui-dropdown/ui-dropdown.vue.d.ts +50 -0
- package/components/ui-dropdown/ui-dropdown.vue.js +82 -0
- package/components/ui-dropdown/ui-dropdown.vue.js.map +1 -0
- package/components/ui-dropdown/ui-dropdown.vue2.js +5 -0
- package/components/ui-dropdown/ui-dropdown.vue2.js.map +1 -0
- package/components/ui-icon/_typings.d.ts +10 -0
- package/components/ui-icon/_typings.js +5 -0
- package/components/ui-icon/_typings.js.map +1 -0
- package/components/ui-icon/index.d.ts +33 -0
- package/components/ui-icon/index.js +11 -0
- package/components/ui-icon/index.js.map +1 -0
- package/components/ui-icon/ui-icon.vue.d.ts +34 -0
- package/components/ui-icon/ui-icon.vue.js +30 -0
- package/components/ui-icon/ui-icon.vue.js.map +1 -0
- package/components/ui-icon/ui-icon.vue2.js +5 -0
- package/components/ui-icon/ui-icon.vue2.js.map +1 -0
- package/components/ui-icon-wrapper/_typings.d.ts +11 -0
- package/components/ui-icon-wrapper/_typings.js +6 -0
- package/components/ui-icon-wrapper/_typings.js.map +1 -0
- package/components/ui-icon-wrapper/index.d.ts +104 -0
- package/components/ui-icon-wrapper/index.js +10 -0
- package/components/ui-icon-wrapper/index.js.map +1 -0
- package/components/ui-icon-wrapper/ui-icon-wrapper.vue.d.ts +41 -0
- package/components/ui-icon-wrapper/ui-icon-wrapper.vue.js +8 -0
- package/components/ui-icon-wrapper/ui-icon-wrapper.vue.js.map +1 -0
- package/components/ui-icon-wrapper/ui-icon-wrapper.vue2.js +28 -0
- package/components/ui-icon-wrapper/ui-icon-wrapper.vue2.js.map +1 -0
- package/components/ui-input/_typings.d.ts +70 -0
- package/components/ui-input/_typings.js +7 -0
- package/components/ui-input/_typings.js.map +1 -0
- package/components/ui-input/index.d.ts +337 -0
- package/components/ui-input/index.js +11 -0
- package/components/ui-input/index.js.map +1 -0
- package/components/ui-input/ui-input.vue.d.ts +102 -0
- package/components/ui-input/ui-input.vue.js +97 -0
- package/components/ui-input/ui-input.vue.js.map +1 -0
- package/components/ui-input/ui-input.vue2.js +5 -0
- package/components/ui-input/ui-input.vue2.js.map +1 -0
- package/components/ui-input-range/index.d.ts +46 -0
- package/components/ui-input-range/index.js +7 -0
- package/components/ui-input-range/index.js.map +1 -0
- package/components/ui-input-range/ui-input-range.vue.d.ts +26 -0
- package/components/ui-input-range/ui-input-range.vue.js +8 -0
- package/components/ui-input-range/ui-input-range.vue.js.map +1 -0
- package/components/ui-input-range/ui-input-range.vue2.js +71 -0
- package/components/ui-input-range/ui-input-range.vue2.js.map +1 -0
- package/components/ui-list-item/_types.d.ts +12 -0
- package/components/ui-list-item/_types.js +7 -0
- package/components/ui-list-item/_types.js.map +1 -0
- package/components/ui-list-item/index.d.ts +186 -0
- package/components/ui-list-item/index.js +11 -0
- package/components/ui-list-item/index.js.map +1 -0
- package/components/ui-list-item/ui-list-item.vue.d.ts +65 -0
- package/components/ui-list-item/ui-list-item.vue.js +65 -0
- package/components/ui-list-item/ui-list-item.vue.js.map +1 -0
- package/components/ui-list-item/ui-list-item.vue2.js +5 -0
- package/components/ui-list-item/ui-list-item.vue2.js.map +1 -0
- package/components/ui-modal/_typings.d.ts +6 -0
- package/components/ui-modal/_typings.js +5 -0
- package/components/ui-modal/_typings.js.map +1 -0
- package/components/ui-modal/index.d.ts +107 -0
- package/components/ui-modal/index.js +9 -0
- package/components/ui-modal/index.js.map +1 -0
- package/components/ui-modal/ui-backdrop/index.d.ts +54 -0
- package/components/ui-modal/ui-backdrop/index.js +7 -0
- package/components/ui-modal/ui-backdrop/index.js.map +1 -0
- package/components/ui-modal/ui-backdrop/ui-backdrop.vue.d.ts +10 -0
- package/components/ui-modal/ui-backdrop/ui-backdrop.vue.js +15 -0
- package/components/ui-modal/ui-backdrop/ui-backdrop.vue.js.map +1 -0
- package/components/ui-modal/ui-modal.vue.d.ts +46 -0
- package/components/ui-modal/ui-modal.vue.js +8 -0
- package/components/ui-modal/ui-modal.vue.js.map +1 -0
- package/components/ui-modal/ui-modal.vue2.js +65 -0
- package/components/ui-modal/ui-modal.vue2.js.map +1 -0
- package/components/ui-notification-badge/_types.d.ts +10 -0
- package/components/ui-notification-badge/_types.js +5 -0
- package/components/ui-notification-badge/_types.js.map +1 -0
- package/components/ui-notification-badge/index.d.ts +84 -0
- package/components/ui-notification-badge/index.js +10 -0
- package/components/ui-notification-badge/index.js.map +1 -0
- package/components/ui-notification-badge/ui-notification-badge.vue.d.ts +38 -0
- package/components/ui-notification-badge/ui-notification-badge.vue.js +22 -0
- package/components/ui-notification-badge/ui-notification-badge.vue.js.map +1 -0
- package/components/ui-notification-badge/ui-notification-badge.vue3.js +6 -0
- package/components/ui-notification-badge/ui-notification-badge.vue3.js.map +1 -0
- package/components/ui-order-card/_types.d.ts +4 -0
- package/components/ui-order-card/_types.js +5 -0
- package/components/ui-order-card/_types.js.map +1 -0
- package/components/ui-order-card/index.d.ts +103 -0
- package/components/ui-order-card/index.js +7 -0
- package/components/ui-order-card/index.js.map +1 -0
- package/components/ui-order-card/ui-order-card.vue.d.ts +43 -0
- package/components/ui-order-card/ui-order-card.vue.js +86 -0
- package/components/ui-order-card/ui-order-card.vue.js.map +1 -0
- package/components/ui-order-card/ui-order-card.vue2.js +5 -0
- package/components/ui-order-card/ui-order-card.vue2.js.map +1 -0
- package/components/ui-plain-radio/index.d.ts +163 -0
- package/components/ui-plain-radio/index.js +7 -0
- package/components/ui-plain-radio/index.js.map +1 -0
- package/components/ui-plain-radio/ui-plain-radio.vue.d.ts +38 -0
- package/components/ui-plain-radio/ui-plain-radio.vue.js +85 -0
- package/components/ui-plain-radio/ui-plain-radio.vue.js.map +1 -0
- package/components/ui-plain-radio/ui-plain-radio.vue2.js +5 -0
- package/components/ui-plain-radio/ui-plain-radio.vue2.js.map +1 -0
- package/components/ui-progress/_types.d.ts +1 -0
- package/components/ui-progress/index.d.ts +44 -0
- package/components/ui-progress/index.js +7 -0
- package/components/ui-progress/index.js.map +1 -0
- package/components/ui-progress/ui-progress.vue.d.ts +40 -0
- package/components/ui-progress/ui-progress.vue.js +26 -0
- package/components/ui-progress/ui-progress.vue.js.map +1 -0
- package/components/ui-progress/ui-progress.vue2.js +5 -0
- package/components/ui-progress/ui-progress.vue2.js.map +1 -0
- package/components/ui-radio/index.d.ts +163 -0
- package/components/ui-radio/index.js +7 -0
- package/components/ui-radio/index.js.map +1 -0
- package/components/ui-radio/ui-radio.vue.d.ts +38 -0
- package/components/ui-radio/ui-radio.vue.js +8 -0
- package/components/ui-radio/ui-radio.vue.js.map +1 -0
- package/components/ui-radio/ui-radio.vue2.js +58 -0
- package/components/ui-radio/ui-radio.vue2.js.map +1 -0
- package/components/ui-radio-compact/index.d.ts +136 -0
- package/components/ui-radio-compact/index.js +7 -0
- package/components/ui-radio-compact/index.js.map +1 -0
- package/components/ui-radio-compact/ui-radio-compact.vue.d.ts +33 -0
- package/components/ui-radio-compact/ui-radio-compact.vue.js +52 -0
- package/components/ui-radio-compact/ui-radio-compact.vue.js.map +1 -0
- package/components/ui-radio-compact/ui-radio-compact.vue2.js +5 -0
- package/components/ui-radio-compact/ui-radio-compact.vue2.js.map +1 -0
- package/components/ui-radio-fancy/_typings.d.ts +5 -0
- package/components/ui-radio-fancy/_typings.js +5 -0
- package/components/ui-radio-fancy/_typings.js.map +1 -0
- package/components/ui-radio-fancy/index.d.ts +181 -0
- package/components/ui-radio-fancy/index.js +7 -0
- package/components/ui-radio-fancy/index.js.map +1 -0
- package/components/ui-radio-fancy/ui-radio-fancy.vue.d.ts +56 -0
- package/components/ui-radio-fancy/ui-radio-fancy.vue.js +86 -0
- package/components/ui-radio-fancy/ui-radio-fancy.vue.js.map +1 -0
- package/components/ui-radio-fancy/ui-radio-fancy.vue2.js +5 -0
- package/components/ui-radio-fancy/ui-radio-fancy.vue2.js.map +1 -0
- package/components/ui-result-card-range/_types.d.ts +7 -0
- package/components/ui-result-card-range/index.d.ts +112 -0
- package/components/ui-result-card-range/index.js +7 -0
- package/components/ui-result-card-range/index.js.map +1 -0
- package/components/ui-result-card-range/ui-result-card-range.vue.d.ts +30 -0
- package/components/ui-result-card-range/ui-result-card-range.vue.js +41 -0
- package/components/ui-result-card-range/ui-result-card-range.vue.js.map +1 -0
- package/components/ui-result-card-range/ui-result-card-range.vue2.js +5 -0
- package/components/ui-result-card-range/ui-result-card-range.vue2.js.map +1 -0
- package/components/ui-ripple/index.d.ts +54 -0
- package/components/ui-ripple/index.js +8 -0
- package/components/ui-ripple/index.js.map +1 -0
- package/components/ui-ripple/ui-ripple.vue.d.ts +10 -0
- package/components/ui-ripple/ui-ripple.vue.js +52 -0
- package/components/ui-ripple/ui-ripple.vue.js.map +1 -0
- package/components/ui-ripple/ui-ripple.vue3.js +6 -0
- package/components/ui-ripple/ui-ripple.vue3.js.map +1 -0
- package/components/ui-select/index.d.ts +131 -0
- package/components/ui-select/index.js +7 -0
- package/components/ui-select/index.js.map +1 -0
- package/components/ui-select/ui-select.vue.d.ts +36 -0
- package/components/ui-select/ui-select.vue.js +83 -0
- package/components/ui-select/ui-select.vue.js.map +1 -0
- package/components/ui-select/ui-select.vue2.js +5 -0
- package/components/ui-select/ui-select.vue2.js.map +1 -0
- package/components/ui-skeleton/_typings.d.ts +4 -0
- package/components/ui-skeleton/_typings.js +5 -0
- package/components/ui-skeleton/_typings.js.map +1 -0
- package/components/ui-skeleton/index.d.ts +21 -0
- package/components/ui-skeleton/index.js +7 -0
- package/components/ui-skeleton/index.js.map +1 -0
- package/components/ui-skeleton/ui-skeleton.vue.d.ts +31 -0
- package/components/ui-skeleton/ui-skeleton.vue.js +43 -0
- package/components/ui-skeleton/ui-skeleton.vue.js.map +1 -0
- package/components/ui-skeleton/ui-skeleton.vue2.js +5 -0
- package/components/ui-skeleton/ui-skeleton.vue2.js.map +1 -0
- package/components/ui-snackbar/_types.d.ts +7 -0
- package/components/ui-snackbar/_types.js +5 -0
- package/components/ui-snackbar/_types.js.map +1 -0
- package/components/ui-snackbar/index.d.ts +103 -0
- package/components/ui-snackbar/index.js +9 -0
- package/components/ui-snackbar/index.js.map +1 -0
- package/components/ui-snackbar/ui-snackbar.vue.d.ts +42 -0
- package/components/ui-snackbar/ui-snackbar.vue.js +49 -0
- package/components/ui-snackbar/ui-snackbar.vue.js.map +1 -0
- package/components/ui-snackbar/ui-snackbar.vue2.js +5 -0
- package/components/ui-snackbar/ui-snackbar.vue2.js.map +1 -0
- package/components/ui-table/_types.d.ts +5 -0
- package/components/ui-table/_types.js +5 -0
- package/components/ui-table/_types.js.map +1 -0
- package/components/ui-table/index.d.ts +87 -0
- package/components/ui-table/index.js +19 -0
- package/components/ui-table/index.js.map +1 -0
- package/components/ui-table/ui-table-cell/index.d.ts +87 -0
- package/components/ui-table/ui-table-cell/index.js +7 -0
- package/components/ui-table/ui-table-cell/index.js.map +1 -0
- package/components/ui-table/ui-table-cell/ui-table-cell.vue.d.ts +27 -0
- package/components/ui-table/ui-table-cell/ui-table-cell.vue.js +41 -0
- package/components/ui-table/ui-table-cell/ui-table-cell.vue.js.map +1 -0
- package/components/ui-table/ui-table-cell/ui-table-cell.vue2.js +5 -0
- package/components/ui-table/ui-table-cell/ui-table-cell.vue2.js.map +1 -0
- package/components/ui-table/ui-table-row/_typings.d.ts +3 -0
- package/components/ui-table/ui-table-row/_typings.js +5 -0
- package/components/ui-table/ui-table-row/_typings.js.map +1 -0
- package/components/ui-table/ui-table-row/index.d.ts +74 -0
- package/components/ui-table/ui-table-row/index.js +9 -0
- package/components/ui-table/ui-table-row/index.js.map +1 -0
- package/components/ui-table/ui-table-row/ui-table-row.vue.d.ts +24 -0
- package/components/ui-table/ui-table-row/ui-table-row.vue.js +8 -0
- package/components/ui-table/ui-table-row/ui-table-row.vue.js.map +1 -0
- package/components/ui-table/ui-table-row/ui-table-row.vue3.js +19 -0
- package/components/ui-table/ui-table-row/ui-table-row.vue3.js.map +1 -0
- package/components/ui-table/ui-table.vue.d.ts +38 -0
- package/components/ui-table/ui-table.vue.js +8 -0
- package/components/ui-table/ui-table.vue.js.map +1 -0
- package/components/ui-table/ui-table.vue2.js +23 -0
- package/components/ui-table/ui-table.vue2.js.map +1 -0
- package/components/ui-tabs/index.d.ts +40 -0
- package/components/ui-tabs/index.js +7 -0
- package/components/ui-tabs/index.js.map +1 -0
- package/components/ui-tabs/ui-tabs.vue.d.ts +38 -0
- package/components/ui-tabs/ui-tabs.vue.js +8 -0
- package/components/ui-tabs/ui-tabs.vue.js.map +1 -0
- package/components/ui-tabs/ui-tabs.vue2.js +56 -0
- package/components/ui-tabs/ui-tabs.vue2.js.map +1 -0
- package/components/ui-toggle/index.d.ts +168 -0
- package/components/ui-toggle/index.js +7 -0
- package/components/ui-toggle/index.js.map +1 -0
- package/components/ui-toggle/ui-toggle.vue.d.ts +40 -0
- package/components/ui-toggle/ui-toggle.vue.js +8 -0
- package/components/ui-toggle/ui-toggle.vue.js.map +1 -0
- package/components/ui-toggle/ui-toggle.vue2.js +94 -0
- package/components/ui-toggle/ui-toggle.vue2.js.map +1 -0
- package/components/ui-typography/_typings.d.ts +69 -0
- package/components/ui-typography/_typings.js +8 -0
- package/components/ui-typography/_typings.js.map +1 -0
- package/components/ui-typography/index.d.ts +167 -0
- package/components/ui-typography/index.js +14 -0
- package/components/ui-typography/index.js.map +1 -0
- package/components/ui-typography/ui-typography.vue.d.ts +39 -0
- package/components/ui-typography/ui-typography.vue.js +101 -0
- package/components/ui-typography/ui-typography.vue.js.map +1 -0
- package/components/ui-typography/ui-typography.vue2.js +5 -0
- package/components/ui-typography/ui-typography.vue2.js.map +1 -0
- package/components/ui-verification-input/index.d.ts +102 -0
- package/components/ui-verification-input/index.js +7 -0
- package/components/ui-verification-input/index.js.map +1 -0
- package/components/ui-verification-input/ui-verification-input.vue.d.ts +27 -0
- package/components/ui-verification-input/ui-verification-input.vue.js +8 -0
- package/components/ui-verification-input/ui-verification-input.vue.js.map +1 -0
- package/components/ui-verification-input/ui-verification-input.vue2.js +53 -0
- package/components/ui-verification-input/ui-verification-input.vue2.js.map +1 -0
- package/index.d.ts +40 -0
- package/index.js +200 -0
- package/index.js.map +1 -0
- package/package.json +69 -40
- package/plugin.ts +129 -0
- package/postcss.config.js +3 -0
- package/tailwind.config.ts +13 -0
- package/tsconfig.json +32 -19
- package/tsconfig.node.json +4 -2
- package/types.d.ts +20 -0
- package/types.js +71 -0
- package/types.js.map +1 -0
- package/.editorconfig +0 -14
- package/.github/workflows/deploy-beta.yaml +0 -31
- package/.github/workflows/deploy.yaml +0 -28
- package/.github/workflows/linting.yaml +0 -28
- package/.storybook/BonkersTheme.js +0 -32
- package/.storybook/main.js +0 -29
- package/.storybook/manager.js +0 -7
- package/.storybook/preview-head.html +0 -3
- package/.storybook/preview.js +0 -56
- package/LICENCE +0 -21
- package/README.md +0 -38
- package/publish.js +0 -45
- package/src/CONSTANTS.ts +0 -1
- package/src/_samples/check-icon.vue +0 -22
- package/src/_samples/icon.vue +0 -19
- package/src/_styles/variables/colors.css +0 -75
- package/src/_styles/variables/font-sizes.css +0 -15
- package/src/_styles/variables/shadow.css +0 -11
- package/src/_styles/variables/spacing.css +0 -15
- package/src/_types/align.ts +0 -8
- package/src/_types/colors.ts +0 -58
- package/src/_types/sizing.ts +0 -9
- package/src/components/ui-alert/_types.ts +0 -6
- package/src/components/ui-alert/index.ts +0 -2
- package/src/components/ui-alert/ui-alert.stories.ts +0 -31
- package/src/components/ui-alert/ui-alert.vue +0 -40
- package/src/components/ui-badge/_typings.ts +0 -11
- package/src/components/ui-badge/index.ts +0 -2
- package/src/components/ui-badge/ui-badge.stories.ts +0 -49
- package/src/components/ui-badge/ui-badge.vue +0 -65
- package/src/components/ui-ber-rank/_types.ts +0 -82
- package/src/components/ui-ber-rank/index.ts +0 -2
- package/src/components/ui-ber-rank/ui-ber-rank.stories.ts +0 -29
- package/src/components/ui-ber-rank/ui-ber-rank.vue +0 -96
- package/src/components/ui-button/_typings.ts +0 -17
- package/src/components/ui-button/index.ts +0 -2
- package/src/components/ui-button/ui-button.stories.ts +0 -143
- package/src/components/ui-button/ui-button.test.ts +0 -9
- package/src/components/ui-button/ui-button.vue +0 -79
- package/src/components/ui-card-cta/index.ts +0 -1
- package/src/components/ui-card-cta/ui-card-cta.stories.ts +0 -53
- package/src/components/ui-card-cta/ui-card-cta.vue +0 -94
- package/src/components/ui-card-result/index.ts +0 -1
- package/src/components/ui-card-result/ui-card-result.stories.ts +0 -167
- package/src/components/ui-card-result/ui-card-result.vue +0 -97
- package/src/components/ui-card-simple/index.ts +0 -1
- package/src/components/ui-card-simple/ui-card-simple.stories.ts +0 -40
- package/src/components/ui-card-simple/ui-card-simple.vue +0 -30
- package/src/components/ui-checkbox/index.ts +0 -1
- package/src/components/ui-checkbox/ui-checkbox.stories.ts +0 -71
- package/src/components/ui-checkbox/ui-checkbox.vue +0 -173
- package/src/components/ui-icon/_typings.ts +0 -11
- package/src/components/ui-icon/index.ts +0 -3
- package/src/components/ui-icon/ui-icon.stories.ts +0 -43
- package/src/components/ui-icon/ui-icon.vue +0 -27
- package/src/components/ui-icon-wrapper/_typings.ts +0 -11
- package/src/components/ui-icon-wrapper/index.ts +0 -2
- package/src/components/ui-icon-wrapper/ui-icon-wrapper.stories.ts +0 -69
- package/src/components/ui-icon-wrapper/ui-icon-wrapper.vue +0 -44
- package/src/components/ui-input/_typings.ts +0 -74
- package/src/components/ui-input/index.ts +0 -2
- package/src/components/ui-input/ui-input.stories.ts +0 -103
- package/src/components/ui-input/ui-input.vue +0 -100
- package/src/components/ui-input-range/index.ts +0 -1
- package/src/components/ui-input-range/ui-input-range.stories.ts +0 -57
- package/src/components/ui-input-range/ui-input-range.vue +0 -138
- package/src/components/ui-list-item/_types.ts +0 -13
- package/src/components/ui-list-item/index.ts +0 -2
- package/src/components/ui-list-item/ui-list-item.stories.ts +0 -77
- package/src/components/ui-list-item/ui-list-item.vue +0 -79
- package/src/components/ui-modal/_typings.ts +0 -6
- package/src/components/ui-modal/index.ts +0 -2
- package/src/components/ui-modal/ui-backdrop/index.ts +0 -1
- package/src/components/ui-modal/ui-backdrop/ui-backdrop.vue +0 -22
- package/src/components/ui-modal/ui-modal.stories.ts +0 -85
- package/src/components/ui-modal/ui-modal.vue +0 -90
- package/src/components/ui-notification-badge/_types.ts +0 -11
- package/src/components/ui-notification-badge/index.ts +0 -2
- package/src/components/ui-notification-badge/ui-notification-badge.stories.ts +0 -44
- package/src/components/ui-notification-badge/ui-notification-badge.vue +0 -42
- package/src/components/ui-order-card/_types.ts +0 -4
- package/src/components/ui-order-card/index.ts +0 -1
- package/src/components/ui-order-card/ui-order-card.stories.ts +0 -57
- package/src/components/ui-order-card/ui-order-card.vue +0 -83
- package/src/components/ui-plain-radio/index.ts +0 -1
- package/src/components/ui-plain-radio/ui-plain-radio.stories.ts +0 -74
- package/src/components/ui-plain-radio/ui-plain-radio.vue +0 -119
- package/src/components/ui-progress/_types.ts +0 -0
- package/src/components/ui-progress/index.ts +0 -1
- package/src/components/ui-progress/ui-progress.stories.ts +0 -40
- package/src/components/ui-progress/ui-progress.vue +0 -43
- package/src/components/ui-radio/index.ts +0 -1
- package/src/components/ui-radio/ui-radio.stories.ts +0 -74
- package/src/components/ui-radio/ui-radio.vue +0 -108
- package/src/components/ui-radio-compact/index.ts +0 -1
- package/src/components/ui-radio-compact/ui-radio-compact.stories.ts +0 -51
- package/src/components/ui-radio-compact/ui-radio-compact.vue +0 -92
- package/src/components/ui-radio-fancy/_typings.ts +0 -5
- package/src/components/ui-radio-fancy/index.ts +0 -1
- package/src/components/ui-radio-fancy/ui-radio-fancy.stories.ts +0 -81
- package/src/components/ui-radio-fancy/ui-radio-fancy.vue +0 -132
- package/src/components/ui-result-card-range/_types.ts +0 -8
- package/src/components/ui-result-card-range/index.ts +0 -1
- package/src/components/ui-result-card-range/ui-result-card-range.stories.ts +0 -78
- package/src/components/ui-result-card-range/ui-result-card-range.vue +0 -46
- package/src/components/ui-ripple/index.ts +0 -1
- package/src/components/ui-ripple/ui-ripple.stories.ts +0 -61
- package/src/components/ui-ripple/ui-ripple.vue +0 -83
- package/src/components/ui-select/index.ts +0 -1
- package/src/components/ui-select/ui-select.stories.ts +0 -55
- package/src/components/ui-select/ui-select.vue +0 -72
- package/src/components/ui-skeleton/_typings.ts +0 -4
- package/src/components/ui-skeleton/index.ts +0 -1
- package/src/components/ui-skeleton/ui-skeleton.stories.ts +0 -42
- package/src/components/ui-skeleton/ui-skeleton.vue +0 -61
- package/src/components/ui-snackbar/_types.ts +0 -7
- package/src/components/ui-snackbar/index.ts +0 -2
- package/src/components/ui-snackbar/ui-snackbar.stories.ts +0 -30
- package/src/components/ui-snackbar/ui-snackbar.vue +0 -42
- package/src/components/ui-table/_types.ts +0 -5
- package/src/components/ui-table/index.ts +0 -5
- package/src/components/ui-table/ui-table-cell/index.ts +0 -1
- package/src/components/ui-table/ui-table-cell/ui-table-cell.vue +0 -33
- package/src/components/ui-table/ui-table-row/_typings.ts +0 -3
- package/src/components/ui-table/ui-table-row/index.ts +0 -2
- package/src/components/ui-table/ui-table-row/ui-table-row.vue +0 -31
- package/src/components/ui-table/ui-table.stories.ts +0 -86
- package/src/components/ui-table/ui-table.vue +0 -31
- package/src/components/ui-tabs/index.ts +0 -1
- package/src/components/ui-tabs/ui-tabs.stories.ts +0 -33
- package/src/components/ui-tabs/ui-tabs.vue +0 -60
- package/src/components/ui-toggle/index.ts +0 -1
- package/src/components/ui-toggle/ui-toggle.stories.ts +0 -55
- package/src/components/ui-toggle/ui-toggle.vue +0 -149
- package/src/components/ui-typography/_typings.ts +0 -30
- package/src/components/ui-typography/index.ts +0 -3
- package/src/components/ui-typography/ui-typography.stories.ts +0 -101
- package/src/components/ui-typography/ui-typography.vue +0 -109
- package/src/components/ui-verification-input/index.ts +0 -1
- package/src/components/ui-verification-input/ui-verification-input.stories.ts +0 -48
- package/src/components/ui-verification-input/ui-verification-input.vue +0 -126
- package/src/main.css +0 -34
- package/src/shims-vue.d.ts +0 -5
- package/src/stories/Introduction.stories.mdx +0 -131
- package/src/stories/assets/code-brackets.svg +0 -1
- package/src/stories/colors/colors.stories.ts +0 -15
- package/src/stories/colors/ui-colors.vue +0 -96
- package/src/stories/font-sizes/font-sizes.stories.ts +0 -15
- package/src/stories/font-sizes/ui-font-sizes.vue +0 -28
- package/src/stories/helper.ts +0 -5
- package/src/stories/spacings/spacings.stories.ts +0 -15
- package/src/stories/spacings/ui-spacings.vue +0 -50
- package/tailwind.config.js +0 -30
- package/vite.config.ts +0 -14
- package/vitest.config.ts +0 -17
- /package/src/_styles/{classTypes/_colors.json → _colors.json} +0 -0
- /package/src/_styles/{classTypes/_font-sizes.json → _font-sizes.json} +0 -0
- /package/src/_styles/{classTypes/_shadow.json → _shadow.json} +0 -0
- /package/src/_styles/{classTypes/_spacing.json → _spacing.json} +0 -0
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { EIconWrapperSizes, EIconWrapperTypes } from './_typings';
|
|
2
|
+
import { ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType, Slot, ComponentPublicInstance, ComponentOptionsBase, ComponentOptionsMixin, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
|
|
3
|
+
import UiIconWrapper from "./ui-icon-wrapper.vue";
|
|
4
|
+
export { UiIconWrapper };
|
|
5
|
+
export { EIconWrapperTypes, EIconWrapperSizes } from "./_typings";
|
|
6
|
+
/**
|
|
7
|
+
* @deprecated The default should not be used - use named import as - import {[name]} from "ui/[name]"
|
|
8
|
+
*/
|
|
9
|
+
declare const deprecatedDefault: {
|
|
10
|
+
new (...args: any[]): {
|
|
11
|
+
$: ComponentInternalInstance;
|
|
12
|
+
$data: {};
|
|
13
|
+
$props: Partial<{
|
|
14
|
+
size: EIconWrapperSizes;
|
|
15
|
+
kind: EIconWrapperTypes;
|
|
16
|
+
}> & Omit<{
|
|
17
|
+
readonly size: EIconWrapperSizes;
|
|
18
|
+
readonly kind: EIconWrapperTypes;
|
|
19
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly<ExtractPropTypes<{
|
|
20
|
+
size: {
|
|
21
|
+
type: PropType<EIconWrapperSizes>;
|
|
22
|
+
default: EIconWrapperSizes;
|
|
23
|
+
};
|
|
24
|
+
kind: {
|
|
25
|
+
type: PropType<EIconWrapperTypes>;
|
|
26
|
+
default: EIconWrapperTypes;
|
|
27
|
+
};
|
|
28
|
+
}>>, "size" | "kind">;
|
|
29
|
+
$attrs: {
|
|
30
|
+
[x: string]: unknown;
|
|
31
|
+
};
|
|
32
|
+
$refs: {
|
|
33
|
+
[x: string]: unknown;
|
|
34
|
+
};
|
|
35
|
+
$slots: Readonly<{
|
|
36
|
+
[name: string]: Slot<any> | undefined;
|
|
37
|
+
}>;
|
|
38
|
+
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
39
|
+
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
40
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
41
|
+
$el: any;
|
|
42
|
+
$options: ComponentOptionsBase<Readonly<ExtractPropTypes<{
|
|
43
|
+
size: {
|
|
44
|
+
type: PropType<EIconWrapperSizes>;
|
|
45
|
+
default: EIconWrapperSizes;
|
|
46
|
+
};
|
|
47
|
+
kind: {
|
|
48
|
+
type: PropType<EIconWrapperTypes>;
|
|
49
|
+
default: EIconWrapperTypes;
|
|
50
|
+
};
|
|
51
|
+
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
52
|
+
size: EIconWrapperSizes;
|
|
53
|
+
kind: EIconWrapperTypes;
|
|
54
|
+
}, {}, string, {}> & {
|
|
55
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
56
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
57
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
58
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
59
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
60
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
61
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
62
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
63
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
64
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
65
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
66
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
67
|
+
renderTracked?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
|
|
68
|
+
renderTriggered?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
|
|
69
|
+
errorCaptured?: (((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
70
|
+
};
|
|
71
|
+
$forceUpdate: () => void;
|
|
72
|
+
$nextTick: typeof nextTick;
|
|
73
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
74
|
+
} & Readonly<ExtractPropTypes<{
|
|
75
|
+
size: {
|
|
76
|
+
type: PropType<EIconWrapperSizes>;
|
|
77
|
+
default: EIconWrapperSizes;
|
|
78
|
+
};
|
|
79
|
+
kind: {
|
|
80
|
+
type: PropType<EIconWrapperTypes>;
|
|
81
|
+
default: EIconWrapperTypes;
|
|
82
|
+
};
|
|
83
|
+
}>> & ShallowUnwrapRef<{}> & {} & ComponentCustomProperties & {};
|
|
84
|
+
__isFragment?: undefined;
|
|
85
|
+
__isTeleport?: undefined;
|
|
86
|
+
__isSuspense?: undefined;
|
|
87
|
+
} & ComponentOptionsBase<Readonly<ExtractPropTypes<{
|
|
88
|
+
size: {
|
|
89
|
+
type: PropType<EIconWrapperSizes>;
|
|
90
|
+
default: EIconWrapperSizes;
|
|
91
|
+
};
|
|
92
|
+
kind: {
|
|
93
|
+
type: PropType<EIconWrapperTypes>;
|
|
94
|
+
default: EIconWrapperTypes;
|
|
95
|
+
};
|
|
96
|
+
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
97
|
+
size: EIconWrapperSizes;
|
|
98
|
+
kind: EIconWrapperTypes;
|
|
99
|
+
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
100
|
+
$slots: {
|
|
101
|
+
default?(_: {}): any;
|
|
102
|
+
};
|
|
103
|
+
});
|
|
104
|
+
export default deprecatedDefault;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import e from "./ui-icon-wrapper.vue.js";
|
|
2
|
+
import { EIconWrapperSizes as t, EIconWrapperTypes as c } from "./_typings.js";
|
|
3
|
+
const p = e;
|
|
4
|
+
export {
|
|
5
|
+
t as EIconWrapperSizes,
|
|
6
|
+
c as EIconWrapperTypes,
|
|
7
|
+
e as UiIconWrapper,
|
|
8
|
+
p as default
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/components/ui-icon-wrapper/index.ts"],"sourcesContent":["import UiIconWrapper from \"./ui-icon-wrapper.vue\";\n\nexport { UiIconWrapper };\n\nexport { EIconWrapperTypes, EIconWrapperSizes } from \"./_typings\";\n/**\n * @deprecated The default should not be used - use named import as - import {[name]} from \"ui/[name]\"\n */\nconst deprecatedDefault = UiIconWrapper;\nexport default deprecatedDefault;\n"],"names":["deprecatedDefault","UiIconWrapper"],"mappings":";;AAQA,MAAMA,IAAoBC;"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
import { EIconWrapperSizes, EIconWrapperTypes } from "./_typings";
|
|
3
|
+
type TProps = {
|
|
4
|
+
kind?: EIconWrapperTypes;
|
|
5
|
+
size?: EIconWrapperSizes;
|
|
6
|
+
};
|
|
7
|
+
declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<TProps>, {
|
|
8
|
+
kind: EIconWrapperTypes;
|
|
9
|
+
size: EIconWrapperSizes;
|
|
10
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<TProps>, {
|
|
11
|
+
kind: EIconWrapperTypes;
|
|
12
|
+
size: EIconWrapperSizes;
|
|
13
|
+
}>>>, {
|
|
14
|
+
size: EIconWrapperSizes;
|
|
15
|
+
kind: EIconWrapperTypes;
|
|
16
|
+
}, {}>, {
|
|
17
|
+
default?(_: {}): any;
|
|
18
|
+
}>;
|
|
19
|
+
export default _default;
|
|
20
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
21
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
22
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
23
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
24
|
+
} : {
|
|
25
|
+
type: PropType<T[K]>;
|
|
26
|
+
required: true;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
type __VLS_WithDefaults<P, D> = {
|
|
30
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
31
|
+
default: D[K];
|
|
32
|
+
}> : P[K];
|
|
33
|
+
};
|
|
34
|
+
type __VLS_Prettify<T> = {
|
|
35
|
+
[K in keyof T]: T[K];
|
|
36
|
+
} & {};
|
|
37
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
38
|
+
new (): {
|
|
39
|
+
$slots: S;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".icon-wrapper_offset-md[data-v-91a2ab37] .notification-badge{top:4px;right:4px}.icon-wrapper_offset-lg[data-v-91a2ab37] .notification-badge{top:8px;right:8px}")),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
2
|
+
import o from "./ui-icon-wrapper.vue2.js";
|
|
3
|
+
import r from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-91a2ab37"]]);
|
|
5
|
+
export {
|
|
6
|
+
m as default
|
|
7
|
+
};
|
|
8
|
+
//# sourceMappingURL=ui-icon-wrapper.vue.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui-icon-wrapper.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { defineComponent as o, openBlock as a, createElementBlock as n, normalizeClass as t, unref as r, renderSlot as s } from "vue";
|
|
2
|
+
import { EIconWrapperTypes as p, EIconWrapperSizes as i } from "./_typings.js";
|
|
3
|
+
const c = /* @__PURE__ */ o({
|
|
4
|
+
__name: "ui-icon-wrapper",
|
|
5
|
+
props: {
|
|
6
|
+
kind: { default: p.DEFAULT },
|
|
7
|
+
size: { default: i.DEFAULT }
|
|
8
|
+
},
|
|
9
|
+
setup(d) {
|
|
10
|
+
return (e, l) => (a(), n("div", {
|
|
11
|
+
class: t(["icon-wrapper relative grid h-fit w-fit place-items-center rounded-2xl", [
|
|
12
|
+
e.kind === r(p).PRIMARY && "bg-primary text-white",
|
|
13
|
+
e.kind === r(p).SECONDARY && "bg-secondary-alt-200 text-black",
|
|
14
|
+
e.kind === r(p).DEFAULT && "border-2 border-primary bg-white text-primary ",
|
|
15
|
+
e.size === r(i).DEFAULT && "p-sm",
|
|
16
|
+
e.size === r(i).SMALL && "p-xs",
|
|
17
|
+
e.size === r(i).MEDIUM && "icon-wrapper_offset-md p-md",
|
|
18
|
+
e.size === r(i).LARGE && "icon-wrapper_offset-lg p-lg"
|
|
19
|
+
]])
|
|
20
|
+
}, [
|
|
21
|
+
s(e.$slots, "default", {}, void 0, !0)
|
|
22
|
+
], 2));
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
export {
|
|
26
|
+
c as default
|
|
27
|
+
};
|
|
28
|
+
//# sourceMappingURL=ui-icon-wrapper.vue2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui-icon-wrapper.vue2.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
export declare enum EInputKinds {
|
|
2
|
+
PRIMARY = "PRIMARY",
|
|
3
|
+
SECONDARY = "SECONDARY",
|
|
4
|
+
ERROR = "ERROR"
|
|
5
|
+
}
|
|
6
|
+
export declare enum EInputType {
|
|
7
|
+
TEXT = "text",
|
|
8
|
+
NUMBER = "number",
|
|
9
|
+
TEL = "tel",
|
|
10
|
+
PASSWORD = "password",
|
|
11
|
+
EMAIL = "email",
|
|
12
|
+
DATE = "date"
|
|
13
|
+
}
|
|
14
|
+
export declare enum EAutocomplete {
|
|
15
|
+
OFF = "off",
|
|
16
|
+
ON = "on",
|
|
17
|
+
NAME = "name",
|
|
18
|
+
GIVEN_NAME = "given-name",
|
|
19
|
+
ADDITIONAL_NAME = "additional-name",
|
|
20
|
+
FAMILY_NAME = "family-name",
|
|
21
|
+
HONORIFIC_PREFIX = "honorific-prefix",
|
|
22
|
+
NICKNAME = "nickname",
|
|
23
|
+
EMAIL = "email",
|
|
24
|
+
USERNAME = "username",
|
|
25
|
+
NEW_PASSWORD = "new-password",
|
|
26
|
+
CURRENT_PASSWORD = "current-password",
|
|
27
|
+
ORGANIZATION_TITLE = "organization-title",
|
|
28
|
+
ORGANIZATION = "organization",
|
|
29
|
+
STREET_ADDRESS = "street-address",
|
|
30
|
+
SHIPPING = "shipping",
|
|
31
|
+
BUILDING = "building",
|
|
32
|
+
ADDRESS_LINE1 = "address-line1",
|
|
33
|
+
ADDRESS_LINE2 = "address-line2",
|
|
34
|
+
ADDRESS_LINE3 = "address-line3",
|
|
35
|
+
ADDRESS_LEVEL4 = "address-level4",
|
|
36
|
+
ADDRESS_LEVEL3 = "address-level3",
|
|
37
|
+
ADDRESS_LEVEL2 = "address-level2",
|
|
38
|
+
ADDRESS_LEVEL1 = "address-level1",
|
|
39
|
+
COUNTRY = "country",
|
|
40
|
+
COUNTRY_NAME = "country-name",
|
|
41
|
+
POSTAL_CODE = "postal-code",
|
|
42
|
+
CC_NAME = "cc-name",
|
|
43
|
+
CC_GIVEN_NAME = "cc-given-name",
|
|
44
|
+
CC_ADDITIONAL_NAME = "cc-additional-name",
|
|
45
|
+
CC_FAMILY_NAME = "cc-family-name",
|
|
46
|
+
CC_NUMBER = "cc-number",
|
|
47
|
+
CC_EXP = "cc-exp",
|
|
48
|
+
CC_EXP_MONTH = "cc-exp-month",
|
|
49
|
+
CC_EXP_YEAR = "cc-exp-year",
|
|
50
|
+
CC_CSC = "cc-csc",
|
|
51
|
+
CC_TYPE = "cc-type",
|
|
52
|
+
TRANSACTION_CURRENCY = "transaction-currency",
|
|
53
|
+
TRANSACTION_AMOUNT = "transaction-amount",
|
|
54
|
+
LANGUAGE = "language",
|
|
55
|
+
BIRTHDAY = "bday",
|
|
56
|
+
BIRTHDAY_DAY = "bday-day",
|
|
57
|
+
BIRTHDAY_MONTH = "bday-month",
|
|
58
|
+
BIRTHDAY_YEAR = "bday-year",
|
|
59
|
+
SEX = "sex",
|
|
60
|
+
TEL = "tel",
|
|
61
|
+
TEL_COUNTRY_CODE = "tel-country-code",
|
|
62
|
+
TEL_NATIONAL = "tel-national",
|
|
63
|
+
TEL_AREA_CODE = "tel-area-code",
|
|
64
|
+
TEL_LOCAL = "tel-local",
|
|
65
|
+
TEL_EXTENSION = "tel-extension",
|
|
66
|
+
IMPP = "impp",
|
|
67
|
+
URL = "url",
|
|
68
|
+
PHOTO = "photo",
|
|
69
|
+
WEBAUTHN = "webauthn"
|
|
70
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
var N = /* @__PURE__ */ ((a) => (a.PRIMARY = "PRIMARY", a.SECONDARY = "SECONDARY", a.ERROR = "ERROR", a))(N || {}), R = /* @__PURE__ */ ((a) => (a.TEXT = "text", a.NUMBER = "number", a.TEL = "tel", a.PASSWORD = "password", a.EMAIL = "email", a.DATE = "date", a))(R || {}), _ = /* @__PURE__ */ ((a) => (a.OFF = "off", a.ON = "on", a.NAME = "name", a.GIVEN_NAME = "given-name", a.ADDITIONAL_NAME = "additional-name", a.FAMILY_NAME = "family-name", a.HONORIFIC_PREFIX = "honorific-prefix", a.NICKNAME = "nickname", a.EMAIL = "email", a.USERNAME = "username", a.NEW_PASSWORD = "new-password", a.CURRENT_PASSWORD = "current-password", a.ORGANIZATION_TITLE = "organization-title", a.ORGANIZATION = "organization", a.STREET_ADDRESS = "street-address", a.SHIPPING = "shipping", a.BUILDING = "building", a.ADDRESS_LINE1 = "address-line1", a.ADDRESS_LINE2 = "address-line2", a.ADDRESS_LINE3 = "address-line3", a.ADDRESS_LEVEL4 = "address-level4", a.ADDRESS_LEVEL3 = "address-level3", a.ADDRESS_LEVEL2 = "address-level2", a.ADDRESS_LEVEL1 = "address-level1", a.COUNTRY = "country", a.COUNTRY_NAME = "country-name", a.POSTAL_CODE = "postal-code", a.CC_NAME = "cc-name", a.CC_GIVEN_NAME = "cc-given-name", a.CC_ADDITIONAL_NAME = "cc-additional-name", a.CC_FAMILY_NAME = "cc-family-name", a.CC_NUMBER = "cc-number", a.CC_EXP = "cc-exp", a.CC_EXP_MONTH = "cc-exp-month", a.CC_EXP_YEAR = "cc-exp-year", a.CC_CSC = "cc-csc", a.CC_TYPE = "cc-type", a.TRANSACTION_CURRENCY = "transaction-currency", a.TRANSACTION_AMOUNT = "transaction-amount", a.LANGUAGE = "language", a.BIRTHDAY = "bday", a.BIRTHDAY_DAY = "bday-day", a.BIRTHDAY_MONTH = "bday-month", a.BIRTHDAY_YEAR = "bday-year", a.SEX = "sex", a.TEL = "tel", a.TEL_COUNTRY_CODE = "tel-country-code", a.TEL_NATIONAL = "tel-national", a.TEL_AREA_CODE = "tel-area-code", a.TEL_LOCAL = "tel-local", a.TEL_EXTENSION = "tel-extension", a.IMPP = "impp", a.URL = "url", a.PHOTO = "photo", a.WEBAUTHN = "webauthn", a))(_ || {});
|
|
2
|
+
export {
|
|
3
|
+
_ as EAutocomplete,
|
|
4
|
+
N as EInputKinds,
|
|
5
|
+
R as EInputType
|
|
6
|
+
};
|
|
7
|
+
//# sourceMappingURL=_typings.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_typings.js","sources":["../../../src/components/ui-input/_typings.ts"],"sourcesContent":["export enum EInputKinds {\n\tPRIMARY = \"PRIMARY\",\n\tSECONDARY = \"SECONDARY\",\n\tERROR = \"ERROR\",\n}\n\nexport enum EInputType {\n\tTEXT = \"text\",\n\tNUMBER = \"number\",\n\tTEL = \"tel\",\n\tPASSWORD = \"password\",\n\tEMAIL = \"email\",\n\tDATE = \"date\",\n}\n\nexport enum EAutocomplete {\n\tOFF = \"off\",\n\tON = \"on\", // dont forget to add name attribute to input (custom one)\n\tNAME = \"name\", // full name\n\tGIVEN_NAME = \"given-name\",\n\tADDITIONAL_NAME = \"additional-name\",\n\tFAMILY_NAME = \"family-name\",\n\n\tHONORIFIC_PREFIX = \"honorific-prefix\",\n\tNICKNAME = \"nickname\",\n\n\tEMAIL = \"email\",\n\tUSERNAME = \"username\",\n\tNEW_PASSWORD = \"new-password\",\n\tCURRENT_PASSWORD = \"current-password\",\n\tORGANIZATION_TITLE = \"organization-title\",\n\tORGANIZATION = \"organization\",\n\tSTREET_ADDRESS = \"street-address\",\n\tSHIPPING = \"shipping\",\n\tBUILDING = \"building\",\n\tADDRESS_LINE1 = \"address-line1\",\n\tADDRESS_LINE2 = \"address-line2\",\n\tADDRESS_LINE3 = \"address-line3\",\n\tADDRESS_LEVEL4 = \"address-level4\",\n\tADDRESS_LEVEL3 = \"address-level3\",\n\tADDRESS_LEVEL2 = \"address-level2\",\n\tADDRESS_LEVEL1 = \"address-level1\",\n\tCOUNTRY = \"country\",\n\tCOUNTRY_NAME = \"country-name\",\n\tPOSTAL_CODE = \"postal-code\",\n\tCC_NAME = \"cc-name\",\n\tCC_GIVEN_NAME = \"cc-given-name\",\n\tCC_ADDITIONAL_NAME = \"cc-additional-name\",\n\tCC_FAMILY_NAME = \"cc-family-name\",\n\tCC_NUMBER = \"cc-number\",\n\tCC_EXP = \"cc-exp\",\n\tCC_EXP_MONTH = \"cc-exp-month\",\n\tCC_EXP_YEAR = \"cc-exp-year\",\n\tCC_CSC = \"cc-csc\",\n\tCC_TYPE = \"cc-type\",\n\tTRANSACTION_CURRENCY = \"transaction-currency\",\n\tTRANSACTION_AMOUNT = \"transaction-amount\",\n\tLANGUAGE = \"language\",\n\tBIRTHDAY = \"bday\",\n\tBIRTHDAY_DAY = \"bday-day\",\n\tBIRTHDAY_MONTH = \"bday-month\",\n\tBIRTHDAY_YEAR = \"bday-year\",\n\tSEX = \"sex\",\n\tTEL= \"tel\",\n\tTEL_COUNTRY_CODE = \"tel-country-code\",\n\tTEL_NATIONAL = \"tel-national\",\n\tTEL_AREA_CODE = \"tel-area-code\",\n\tTEL_LOCAL = \"tel-local\",\n\tTEL_EXTENSION = \"tel-extension\",\n\tIMPP = \"impp\",\n\tURL = \"url\",\n\tPHOTO = \"photo\",\n\tWEBAUTHN = \"webauthn\",\n}\n"],"names":["EInputKinds","EInputType","EAutocomplete"],"mappings":"AAAY,IAAAA,sBAAAA,OACXA,EAAA,UAAU,WACVA,EAAA,YAAY,aACZA,EAAA,QAAQ,SAHGA,IAAAA,KAAA,CAAA,CAAA,GAMAC,sBAAAA,OACXA,EAAA,OAAO,QACPA,EAAA,SAAS,UACTA,EAAA,MAAM,OACNA,EAAA,WAAW,YACXA,EAAA,QAAQ,SACRA,EAAA,OAAO,QANIA,IAAAA,KAAA,CAAA,CAAA,GASAC,sBAAAA,OACXA,EAAA,MAAM,OACNA,EAAA,KAAK,MACLA,EAAA,OAAO,QACPA,EAAA,aAAa,cACbA,EAAA,kBAAkB,mBAClBA,EAAA,cAAc,eAEdA,EAAA,mBAAmB,oBACnBA,EAAA,WAAW,YAEXA,EAAA,QAAQ,SACRA,EAAA,WAAW,YACXA,EAAA,eAAe,gBACfA,EAAA,mBAAmB,oBACnBA,EAAA,qBAAqB,sBACrBA,EAAA,eAAe,gBACfA,EAAA,iBAAiB,kBACjBA,EAAA,WAAW,YACXA,EAAA,WAAW,YACXA,EAAA,gBAAgB,iBAChBA,EAAA,gBAAgB,iBAChBA,EAAA,gBAAgB,iBAChBA,EAAA,iBAAiB,kBACjBA,EAAA,iBAAiB,kBACjBA,EAAA,iBAAiB,kBACjBA,EAAA,iBAAiB,kBACjBA,EAAA,UAAU,WACVA,EAAA,eAAe,gBACfA,EAAA,cAAc,eACdA,EAAA,UAAU,WACVA,EAAA,gBAAgB,iBAChBA,EAAA,qBAAqB,sBACrBA,EAAA,iBAAiB,kBACjBA,EAAA,YAAY,aACZA,EAAA,SAAS,UACTA,EAAA,eAAe,gBACfA,EAAA,cAAc,eACdA,EAAA,SAAS,UACTA,EAAA,UAAU,WACVA,EAAA,uBAAuB,wBACvBA,EAAA,qBAAqB,sBACrBA,EAAA,WAAW,YACXA,EAAA,WAAW,QACXA,EAAA,eAAe,YACfA,EAAA,iBAAiB,cACjBA,EAAA,gBAAgB,aAChBA,EAAA,MAAM,OACNA,EAAA,MAAK,OACLA,EAAA,mBAAmB,oBACnBA,EAAA,eAAe,gBACfA,EAAA,gBAAgB,iBAChBA,EAAA,YAAY,aACZA,EAAA,gBAAgB,iBAChBA,EAAA,OAAO,QACPA,EAAA,MAAM,OACNA,EAAA,QAAQ,SACRA,EAAA,WAAW,YAzDAA,IAAAA,KAAA,CAAA,CAAA;"}
|
|
@@ -0,0 +1,337 @@
|
|
|
1
|
+
import { EInputType, EInputKinds, EAutocomplete } from './_typings';
|
|
2
|
+
import { ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType, Slot, ComponentPublicInstance, ComponentOptionsBase, ComponentOptionsMixin, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
|
|
3
|
+
import UiInput from "./ui-input.vue";
|
|
4
|
+
export { EInputType, EInputKinds, EAutocomplete } from "./_typings";
|
|
5
|
+
export { UiInput };
|
|
6
|
+
/**
|
|
7
|
+
* @deprecated The default should not be used - use named import as - import {[name]} from "ui/[name]"
|
|
8
|
+
*/
|
|
9
|
+
declare const deprecatedDefault: {
|
|
10
|
+
new (...args: any[]): {
|
|
11
|
+
$: ComponentInternalInstance;
|
|
12
|
+
$data: {};
|
|
13
|
+
$props: Partial<{
|
|
14
|
+
type: EInputType;
|
|
15
|
+
pattern: string;
|
|
16
|
+
kind: EInputKinds;
|
|
17
|
+
modelValue: string | number;
|
|
18
|
+
name: string;
|
|
19
|
+
placeholder: string;
|
|
20
|
+
heading: string;
|
|
21
|
+
subLabel: string;
|
|
22
|
+
maxlength: string;
|
|
23
|
+
minlength: string;
|
|
24
|
+
focusHandler: (e: FocusEvent) => void;
|
|
25
|
+
autocomplete: EAutocomplete;
|
|
26
|
+
}> & Omit<{
|
|
27
|
+
readonly type: EInputType;
|
|
28
|
+
readonly kind: EInputKinds;
|
|
29
|
+
readonly modelValue: string | number;
|
|
30
|
+
readonly placeholder: string;
|
|
31
|
+
readonly pattern?: string | undefined;
|
|
32
|
+
readonly disabled?: boolean | undefined;
|
|
33
|
+
readonly name?: string | undefined;
|
|
34
|
+
readonly heading?: string | undefined;
|
|
35
|
+
readonly subLabel?: string | undefined;
|
|
36
|
+
readonly maxlength?: string | undefined;
|
|
37
|
+
readonly minlength?: string | undefined;
|
|
38
|
+
readonly focusHandler?: ((e: FocusEvent) => void) | undefined;
|
|
39
|
+
readonly autocomplete?: EAutocomplete | undefined;
|
|
40
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
41
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly<ExtractPropTypes<{
|
|
42
|
+
type: {
|
|
43
|
+
type: PropType<EInputType>;
|
|
44
|
+
default: EInputType;
|
|
45
|
+
};
|
|
46
|
+
pattern: {
|
|
47
|
+
type: PropType<string>;
|
|
48
|
+
default: undefined;
|
|
49
|
+
};
|
|
50
|
+
kind: {
|
|
51
|
+
type: PropType<EInputKinds>;
|
|
52
|
+
default: EInputKinds;
|
|
53
|
+
};
|
|
54
|
+
disabled: {
|
|
55
|
+
type: PropType<boolean>;
|
|
56
|
+
};
|
|
57
|
+
modelValue: {
|
|
58
|
+
type: PropType<string | number>;
|
|
59
|
+
required: true;
|
|
60
|
+
default: string;
|
|
61
|
+
};
|
|
62
|
+
name: {
|
|
63
|
+
type: PropType<string>;
|
|
64
|
+
default: undefined;
|
|
65
|
+
};
|
|
66
|
+
placeholder: {
|
|
67
|
+
type: PropType<string>;
|
|
68
|
+
default: string;
|
|
69
|
+
};
|
|
70
|
+
heading: {
|
|
71
|
+
type: PropType<string>;
|
|
72
|
+
default: undefined;
|
|
73
|
+
};
|
|
74
|
+
subLabel: {
|
|
75
|
+
type: PropType<string>;
|
|
76
|
+
default: undefined;
|
|
77
|
+
};
|
|
78
|
+
maxlength: {
|
|
79
|
+
type: PropType<string>;
|
|
80
|
+
default: undefined;
|
|
81
|
+
};
|
|
82
|
+
minlength: {
|
|
83
|
+
type: PropType<string>;
|
|
84
|
+
default: undefined;
|
|
85
|
+
};
|
|
86
|
+
focusHandler: {
|
|
87
|
+
type: PropType<(e: FocusEvent) => void>;
|
|
88
|
+
default: () => undefined;
|
|
89
|
+
};
|
|
90
|
+
autocomplete: {
|
|
91
|
+
type: PropType<EAutocomplete>;
|
|
92
|
+
default: undefined;
|
|
93
|
+
};
|
|
94
|
+
}>> & {
|
|
95
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
96
|
+
}, "type" | "pattern" | "kind" | "modelValue" | "name" | "placeholder" | "heading" | "subLabel" | "maxlength" | "minlength" | "focusHandler" | "autocomplete">;
|
|
97
|
+
$attrs: {
|
|
98
|
+
[x: string]: unknown;
|
|
99
|
+
};
|
|
100
|
+
$refs: {
|
|
101
|
+
[x: string]: unknown;
|
|
102
|
+
};
|
|
103
|
+
$slots: Readonly<{
|
|
104
|
+
[name: string]: Slot<any> | undefined;
|
|
105
|
+
}>;
|
|
106
|
+
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
107
|
+
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
108
|
+
$emit: (event: "update:modelValue", ...args: any[]) => void;
|
|
109
|
+
$el: any;
|
|
110
|
+
$options: ComponentOptionsBase<Readonly<ExtractPropTypes<{
|
|
111
|
+
type: {
|
|
112
|
+
type: PropType<EInputType>;
|
|
113
|
+
default: EInputType;
|
|
114
|
+
};
|
|
115
|
+
pattern: {
|
|
116
|
+
type: PropType<string>;
|
|
117
|
+
default: undefined;
|
|
118
|
+
};
|
|
119
|
+
kind: {
|
|
120
|
+
type: PropType<EInputKinds>;
|
|
121
|
+
default: EInputKinds;
|
|
122
|
+
};
|
|
123
|
+
disabled: {
|
|
124
|
+
type: PropType<boolean>;
|
|
125
|
+
};
|
|
126
|
+
modelValue: {
|
|
127
|
+
type: PropType<string | number>;
|
|
128
|
+
required: true;
|
|
129
|
+
default: string;
|
|
130
|
+
};
|
|
131
|
+
name: {
|
|
132
|
+
type: PropType<string>;
|
|
133
|
+
default: undefined;
|
|
134
|
+
};
|
|
135
|
+
placeholder: {
|
|
136
|
+
type: PropType<string>;
|
|
137
|
+
default: string;
|
|
138
|
+
};
|
|
139
|
+
heading: {
|
|
140
|
+
type: PropType<string>;
|
|
141
|
+
default: undefined;
|
|
142
|
+
};
|
|
143
|
+
subLabel: {
|
|
144
|
+
type: PropType<string>;
|
|
145
|
+
default: undefined;
|
|
146
|
+
};
|
|
147
|
+
maxlength: {
|
|
148
|
+
type: PropType<string>;
|
|
149
|
+
default: undefined;
|
|
150
|
+
};
|
|
151
|
+
minlength: {
|
|
152
|
+
type: PropType<string>;
|
|
153
|
+
default: undefined;
|
|
154
|
+
};
|
|
155
|
+
focusHandler: {
|
|
156
|
+
type: PropType<(e: FocusEvent) => void>;
|
|
157
|
+
default: () => undefined;
|
|
158
|
+
};
|
|
159
|
+
autocomplete: {
|
|
160
|
+
type: PropType<EAutocomplete>;
|
|
161
|
+
default: undefined;
|
|
162
|
+
};
|
|
163
|
+
}>> & {
|
|
164
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
165
|
+
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
166
|
+
"update:modelValue": (...args: any[]) => void;
|
|
167
|
+
}, string, {
|
|
168
|
+
type: EInputType;
|
|
169
|
+
pattern: string;
|
|
170
|
+
kind: EInputKinds;
|
|
171
|
+
modelValue: string | number;
|
|
172
|
+
name: string;
|
|
173
|
+
placeholder: string;
|
|
174
|
+
heading: string;
|
|
175
|
+
subLabel: string;
|
|
176
|
+
maxlength: string;
|
|
177
|
+
minlength: string;
|
|
178
|
+
focusHandler: (e: FocusEvent) => void;
|
|
179
|
+
autocomplete: EAutocomplete;
|
|
180
|
+
}, {}, string, {}> & {
|
|
181
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
182
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
183
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
184
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
185
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
186
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
187
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
188
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
189
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
190
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
191
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
192
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
193
|
+
renderTracked?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
|
|
194
|
+
renderTriggered?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
|
|
195
|
+
errorCaptured?: (((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
196
|
+
};
|
|
197
|
+
$forceUpdate: () => void;
|
|
198
|
+
$nextTick: typeof nextTick;
|
|
199
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
200
|
+
} & Readonly<ExtractPropTypes<{
|
|
201
|
+
type: {
|
|
202
|
+
type: PropType<EInputType>;
|
|
203
|
+
default: EInputType;
|
|
204
|
+
};
|
|
205
|
+
pattern: {
|
|
206
|
+
type: PropType<string>;
|
|
207
|
+
default: undefined;
|
|
208
|
+
};
|
|
209
|
+
kind: {
|
|
210
|
+
type: PropType<EInputKinds>;
|
|
211
|
+
default: EInputKinds;
|
|
212
|
+
};
|
|
213
|
+
disabled: {
|
|
214
|
+
type: PropType<boolean>;
|
|
215
|
+
};
|
|
216
|
+
modelValue: {
|
|
217
|
+
type: PropType<string | number>;
|
|
218
|
+
required: true;
|
|
219
|
+
default: string;
|
|
220
|
+
};
|
|
221
|
+
name: {
|
|
222
|
+
type: PropType<string>;
|
|
223
|
+
default: undefined;
|
|
224
|
+
};
|
|
225
|
+
placeholder: {
|
|
226
|
+
type: PropType<string>;
|
|
227
|
+
default: string;
|
|
228
|
+
};
|
|
229
|
+
heading: {
|
|
230
|
+
type: PropType<string>;
|
|
231
|
+
default: undefined;
|
|
232
|
+
};
|
|
233
|
+
subLabel: {
|
|
234
|
+
type: PropType<string>;
|
|
235
|
+
default: undefined;
|
|
236
|
+
};
|
|
237
|
+
maxlength: {
|
|
238
|
+
type: PropType<string>;
|
|
239
|
+
default: undefined;
|
|
240
|
+
};
|
|
241
|
+
minlength: {
|
|
242
|
+
type: PropType<string>;
|
|
243
|
+
default: undefined;
|
|
244
|
+
};
|
|
245
|
+
focusHandler: {
|
|
246
|
+
type: PropType<(e: FocusEvent) => void>;
|
|
247
|
+
default: () => undefined;
|
|
248
|
+
};
|
|
249
|
+
autocomplete: {
|
|
250
|
+
type: PropType<EAutocomplete>;
|
|
251
|
+
default: undefined;
|
|
252
|
+
};
|
|
253
|
+
}>> & {
|
|
254
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
255
|
+
} & ShallowUnwrapRef<{}> & {} & ComponentCustomProperties & {};
|
|
256
|
+
__isFragment?: undefined;
|
|
257
|
+
__isTeleport?: undefined;
|
|
258
|
+
__isSuspense?: undefined;
|
|
259
|
+
} & ComponentOptionsBase<Readonly<ExtractPropTypes<{
|
|
260
|
+
type: {
|
|
261
|
+
type: PropType<EInputType>;
|
|
262
|
+
default: EInputType;
|
|
263
|
+
};
|
|
264
|
+
pattern: {
|
|
265
|
+
type: PropType<string>;
|
|
266
|
+
default: undefined;
|
|
267
|
+
};
|
|
268
|
+
kind: {
|
|
269
|
+
type: PropType<EInputKinds>;
|
|
270
|
+
default: EInputKinds;
|
|
271
|
+
};
|
|
272
|
+
disabled: {
|
|
273
|
+
type: PropType<boolean>;
|
|
274
|
+
};
|
|
275
|
+
modelValue: {
|
|
276
|
+
type: PropType<string | number>;
|
|
277
|
+
required: true;
|
|
278
|
+
default: string;
|
|
279
|
+
};
|
|
280
|
+
name: {
|
|
281
|
+
type: PropType<string>;
|
|
282
|
+
default: undefined;
|
|
283
|
+
};
|
|
284
|
+
placeholder: {
|
|
285
|
+
type: PropType<string>;
|
|
286
|
+
default: string;
|
|
287
|
+
};
|
|
288
|
+
heading: {
|
|
289
|
+
type: PropType<string>;
|
|
290
|
+
default: undefined;
|
|
291
|
+
};
|
|
292
|
+
subLabel: {
|
|
293
|
+
type: PropType<string>;
|
|
294
|
+
default: undefined;
|
|
295
|
+
};
|
|
296
|
+
maxlength: {
|
|
297
|
+
type: PropType<string>;
|
|
298
|
+
default: undefined;
|
|
299
|
+
};
|
|
300
|
+
minlength: {
|
|
301
|
+
type: PropType<string>;
|
|
302
|
+
default: undefined;
|
|
303
|
+
};
|
|
304
|
+
focusHandler: {
|
|
305
|
+
type: PropType<(e: FocusEvent) => void>;
|
|
306
|
+
default: () => undefined;
|
|
307
|
+
};
|
|
308
|
+
autocomplete: {
|
|
309
|
+
type: PropType<EAutocomplete>;
|
|
310
|
+
default: undefined;
|
|
311
|
+
};
|
|
312
|
+
}>> & {
|
|
313
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
314
|
+
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
315
|
+
"update:modelValue": (...args: any[]) => void;
|
|
316
|
+
}, string, {
|
|
317
|
+
type: EInputType;
|
|
318
|
+
pattern: string;
|
|
319
|
+
kind: EInputKinds;
|
|
320
|
+
modelValue: string | number;
|
|
321
|
+
name: string;
|
|
322
|
+
placeholder: string;
|
|
323
|
+
heading: string;
|
|
324
|
+
subLabel: string;
|
|
325
|
+
maxlength: string;
|
|
326
|
+
minlength: string;
|
|
327
|
+
focusHandler: (e: FocusEvent) => void;
|
|
328
|
+
autocomplete: EAutocomplete;
|
|
329
|
+
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
330
|
+
$slots: {
|
|
331
|
+
header?(_: {}): any;
|
|
332
|
+
"prefix-icon"?(_: {}): any;
|
|
333
|
+
"postfix-icon"?(_: {}): any;
|
|
334
|
+
subLabel?(_: {}): any;
|
|
335
|
+
};
|
|
336
|
+
});
|
|
337
|
+
export default deprecatedDefault;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import t from "./ui-input.vue.js";
|
|
2
|
+
import { EAutocomplete as n, EInputKinds as r, EInputType as u } from "./_typings.js";
|
|
3
|
+
const p = t;
|
|
4
|
+
export {
|
|
5
|
+
n as EAutocomplete,
|
|
6
|
+
r as EInputKinds,
|
|
7
|
+
u as EInputType,
|
|
8
|
+
t as UiInput,
|
|
9
|
+
p as default
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/components/ui-input/index.ts"],"sourcesContent":["import UiInput from \"./ui-input.vue\";\n\nexport { EInputType, EInputKinds, EAutocomplete } from \"./_typings\";\nexport { UiInput };\n\n/**\n * @deprecated The default should not be used - use named import as - import {[name]} from \"ui/[name]\"\n */\nconst deprecatedDefault = UiInput;\nexport default deprecatedDefault;\n"],"names":["deprecatedDefault","UiInput"],"mappings":";;AAQA,MAAMA,IAAoBC;"}
|