bonkers-ui 1.0.73 → 2.0.0
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/LICENCE +1 -1
- package/README.md +106 -82
- package/_types/align.d.ts +0 -1
- package/_types/align.js.map +1 -1
- package/_types/colors.d.ts +5 -1
- package/_types/colors.js +1 -1
- package/_types/colors.js.map +1 -1
- package/_types/sizing.d.ts +0 -1
- package/_types/sizing.js.map +1 -1
- package/bonkers-ui.css +1 -0
- package/bonkers-ui.umd.js +102 -11
- package/bonkers-ui.umd.js.map +1 -1
- package/components/UiAlert/UiAlert.d.ts +10 -0
- package/components/UiAlert/UiAlert.js +35 -0
- package/components/UiAlert/UiAlert.js.map +1 -0
- package/components/{ui-alert → UiAlert}/_types.d.ts +0 -1
- package/components/UiAlert/_types.js.map +1 -0
- package/components/UiAlert/index.d.ts +2 -0
- package/components/UiAlert/index.js +7 -0
- package/components/UiAlert/index.js.map +1 -0
- package/components/UiBerRank/UiBerRank.d.ts +8 -0
- package/components/UiBerRank/UiBerRank.js +95 -0
- package/components/UiBerRank/UiBerRank.js.map +1 -0
- package/components/UiBerRank/UiBerRank.module.css.js +10 -0
- package/components/UiBerRank/UiBerRank.module.css.js.map +1 -0
- package/components/{ui-ber-rank → UiBerRank}/_types.d.ts +2 -3
- package/components/{ui-ber-rank → UiBerRank}/_types.js +5 -6
- package/components/UiBerRank/_types.js.map +1 -0
- package/components/UiBerRank/index.d.ts +2 -0
- package/components/UiBerRank/index.js +7 -0
- package/components/UiBerRank/index.js.map +1 -0
- package/components/UiButton/UiButton.d.ts +10 -0
- package/components/UiButton/UiButton.js +152 -0
- package/components/UiButton/UiButton.js.map +1 -0
- package/components/UiButton/UiButton.module.css.js +8 -0
- package/components/UiButton/UiButton.module.css.js.map +1 -0
- package/components/{ui-button/_typings.d.ts → UiButton/_types.d.ts} +4 -1
- package/components/{ui-button/_typings.js → UiButton/_types.js} +4 -3
- package/components/UiButton/_types.js.map +1 -0
- package/components/UiButton/index.d.ts +2 -0
- package/components/UiButton/index.js +9 -0
- package/components/UiButton/index.js.map +1 -0
- package/components/UiCheckbox/UiCheckbox.d.ts +13 -0
- package/components/UiCheckbox/UiCheckbox.js +93 -0
- package/components/UiCheckbox/UiCheckbox.js.map +1 -0
- package/components/UiCheckbox/UiCheckbox.module.css.js +15 -0
- package/components/UiCheckbox/UiCheckbox.module.css.js.map +1 -0
- package/components/UiCheckbox/_types.d.ts +4 -0
- package/components/{ui-checkbox → UiCheckbox}/_types.js +1 -1
- package/components/UiCheckbox/_types.js.map +1 -0
- package/components/UiCheckbox/index.d.ts +2 -0
- package/components/UiCheckbox/index.js +7 -0
- package/components/UiCheckbox/index.js.map +1 -0
- package/components/UiIcon/UiIcon.d.ts +9 -0
- package/components/UiIcon/UiIcon.js +37 -0
- package/components/UiIcon/UiIcon.js.map +1 -0
- package/components/UiIcon/index.d.ts +1 -0
- package/components/UiIcon/index.js +5 -0
- package/components/UiInputRange/UiInputRange.d.ts +9 -0
- package/components/UiInputRange/UiInputRange.js +89 -0
- package/components/UiInputRange/UiInputRange.js.map +1 -0
- package/components/UiInputRange/UiInputRange.module.css.js +8 -0
- package/components/UiInputRange/UiInputRange.module.css.js.map +1 -0
- package/components/UiInputRange/index.d.ts +1 -0
- package/components/UiInputRange/index.js +5 -0
- package/components/UiList/UiList.d.ts +9 -0
- package/components/UiList/UiList.js +24 -0
- package/components/UiList/UiList.js.map +1 -0
- package/components/UiList/UiListItem.d.ts +7 -0
- package/components/UiList/UiListItem.js +10 -0
- package/components/UiList/UiListItem.js.map +1 -0
- package/components/{ui-list-item → UiList}/_types.d.ts +0 -5
- package/components/UiList/_types.js +6 -0
- package/components/UiList/_types.js.map +1 -0
- package/components/UiList/index.d.ts +3 -0
- package/components/UiList/index.js +10 -0
- package/components/UiList/index.js.map +1 -0
- package/components/UiPills/UiPills.d.ts +11 -0
- package/components/UiPills/UiPills.js +41 -0
- package/components/UiPills/UiPills.js.map +1 -0
- package/components/{ui-badge/_typings.d.ts → UiPills/_types.d.ts} +0 -1
- package/components/{ui-badge/_typings.js → UiPills/_types.js} +1 -1
- package/components/UiPills/_types.js.map +1 -0
- package/components/UiPills/index.d.ts +2 -0
- package/components/UiPills/index.js +8 -0
- package/components/UiPills/index.js.map +1 -0
- package/components/UiPlainRadio/UiPlainRadio.d.ts +11 -0
- package/components/UiPlainRadio/UiPlainRadio.js +83 -0
- package/components/UiPlainRadio/UiPlainRadio.js.map +1 -0
- package/components/UiPlainRadio/index.d.ts +1 -0
- package/components/UiPlainRadio/index.js +5 -0
- package/components/UiPlainRadio/index.js.map +1 -0
- package/components/UiProductCard/UiProductCard.d.ts +9 -0
- package/components/UiProductCard/UiProductCard.js +52 -0
- package/components/UiProductCard/UiProductCard.js.map +1 -0
- package/components/UiProductCard/index.d.ts +1 -0
- package/components/{ui-product-card → UiProductCard}/index.js +1 -1
- package/components/UiProductCard/index.js.map +1 -0
- package/components/UiProgress/UiProgress.d.ts +9 -0
- package/components/UiProgress/UiProgress.js +59 -0
- package/components/UiProgress/UiProgress.js.map +1 -0
- package/components/UiProgress/index.d.ts +1 -0
- package/components/UiProgress/index.js +5 -0
- package/components/UiProgress/index.js.map +1 -0
- package/components/UiRadio/UiRadio.d.ts +13 -0
- package/components/UiRadio/UiRadio.js +86 -0
- package/components/UiRadio/UiRadio.js.map +1 -0
- package/components/UiRadio/UiRadio.module.css.js +10 -0
- package/components/UiRadio/UiRadio.module.css.js.map +1 -0
- package/components/UiRadio/index.d.ts +1 -0
- package/components/UiRadio/index.js +5 -0
- package/components/UiRadio/index.js.map +1 -0
- package/components/UiRadioFancy/UiRadioFancy.d.ts +10 -0
- package/components/UiRadioFancy/UiRadioFancy.js +74 -0
- package/components/UiRadioFancy/UiRadioFancy.js.map +1 -0
- package/components/UiRadioFancy/_types.d.ts +4 -0
- package/components/UiRadioFancy/_types.js +5 -0
- package/components/UiRadioFancy/_types.js.map +1 -0
- package/components/UiRadioFancy/index.d.ts +2 -0
- package/components/UiRadioFancy/index.js +7 -0
- package/components/UiRadioFancy/index.js.map +1 -0
- package/components/UiSelect/UiSelect.d.ts +12 -0
- package/components/UiSelect/index.d.ts +1 -0
- package/components/UiSkeleton/UiSkeleton.d.ts +7 -0
- package/components/UiSkeleton/UiSkeleton.js +214 -0
- package/components/UiSkeleton/UiSkeleton.js.map +1 -0
- package/components/{ui-skeleton/_typings.d.ts → UiSkeleton/_types.d.ts} +0 -1
- package/components/{ui-skeleton/_typings.js → UiSkeleton/_types.js} +1 -1
- package/components/UiSkeleton/_types.js.map +1 -0
- package/components/UiSkeleton/index.d.ts +1 -0
- package/components/UiSkeleton/index.js +5 -0
- package/components/UiSkeleton/index.js.map +1 -0
- package/components/UiTable/UiTable.d.ts +8 -0
- package/components/UiTable/UiTable.js +21 -0
- package/components/UiTable/UiTable.js.map +1 -0
- package/components/UiTable/UiTableCell.d.ts +9 -0
- package/components/UiTable/UiTableCell.js +33 -0
- package/components/UiTable/UiTableCell.js.map +1 -0
- package/components/UiTable/UiTableRow.d.ts +7 -0
- package/components/UiTable/UiTableRow.js +25 -0
- package/components/UiTable/UiTableRow.js.map +1 -0
- package/components/{ui-table → UiTable}/_types.d.ts +3 -1
- package/components/UiTable/_types.js +6 -0
- package/components/UiTable/_types.js.map +1 -0
- package/components/UiTable/index.d.ts +4 -0
- package/components/UiTable/index.js +12 -0
- package/components/UiTable/index.js.map +1 -0
- package/components/UiTabs/UiTabs.d.ts +8 -0
- package/components/UiTabs/UiTabs.js +53 -0
- package/components/UiTabs/UiTabs.js.map +1 -0
- package/components/UiTabs/index.d.ts +1 -0
- package/components/UiTabs/index.js +5 -0
- package/components/UiTabs/index.js.map +1 -0
- package/components/UiToggle/UiToggle.d.ts +9 -0
- package/components/UiToggle/UiToggle.js +103 -0
- package/components/UiToggle/UiToggle.js.map +1 -0
- package/components/UiToggle/index.d.ts +1 -0
- package/components/UiToggle/index.js +5 -0
- package/components/UiToggle/index.js.map +1 -0
- package/components/UiTypography/UiTypography.d.ts +17 -0
- package/components/UiTypography/UiTypography.js +119 -0
- package/components/UiTypography/UiTypography.js.map +1 -0
- package/components/{ui-typography/_typings.d.ts → UiTypography/_types.d.ts} +4 -3
- package/components/UiTypography/_types.js +8 -0
- package/components/UiTypography/_types.js.map +1 -0
- package/components/UiTypography/index.d.ts +3 -0
- package/components/UiTypography/index.js +12 -0
- package/components/UiTypography/index.js.map +1 -0
- package/eslint.config.mjs +91 -0
- package/helper.d.ts +1 -0
- package/index.d.ts +18 -42
- package/index.js +36 -207
- package/index.js.map +1 -1
- package/package.json +106 -110
- package/plugin.ts +5 -2
- package/{postcss.config.js → postcss.config.mjs} +2 -1
- package/src/_styles/_shadow.json +2 -1
- package/tailwind.config.ts +6 -4
- package/.eslintrc.js +0 -127
- package/.stylelintrc +0 -24
- package/CONSTANTS.d.ts +0 -3
- package/CONSTANTS.d.ts.map +0 -1
- package/_types/align.d.ts.map +0 -1
- package/_types/colors.d.ts.map +0 -1
- package/_types/sizing.d.ts.map +0 -1
- package/_utils/debounce.d.ts +0 -2
- package/_utils/debounce.d.ts.map +0 -1
- package/_utils/debounce.js +0 -12
- package/_utils/debounce.js.map +0 -1
- package/_virtual/_plugin-vue_export-helper.js +0 -10
- package/_virtual/_plugin-vue_export-helper.js.map +0 -1
- package/components/ui-alert/_types.d.ts.map +0 -1
- package/components/ui-alert/_types.js.map +0 -1
- package/components/ui-alert/index.d.ts +0 -60
- package/components/ui-alert/index.d.ts.map +0 -1
- package/components/ui-alert/index.js +0 -9
- package/components/ui-alert/index.js.map +0 -1
- package/components/ui-alert/ui-alert.vue.d.ts +0 -35
- package/components/ui-alert/ui-alert.vue.d.ts.map +0 -1
- package/components/ui-alert/ui-alert.vue.js +0 -47
- package/components/ui-alert/ui-alert.vue.js.map +0 -1
- package/components/ui-alert/ui-alert.vue2.js +0 -5
- package/components/ui-alert/ui-alert.vue2.js.map +0 -1
- package/components/ui-badge/_typings.d.ts.map +0 -1
- package/components/ui-badge/_typings.js.map +0 -1
- package/components/ui-badge/index.d.ts +0 -104
- package/components/ui-badge/index.d.ts.map +0 -1
- package/components/ui-badge/index.js +0 -10
- package/components/ui-badge/index.js.map +0 -1
- package/components/ui-badge/ui-badge.vue.d.ts +0 -59
- package/components/ui-badge/ui-badge.vue.d.ts.map +0 -1
- package/components/ui-badge/ui-badge.vue.js +0 -64
- package/components/ui-badge/ui-badge.vue.js.map +0 -1
- package/components/ui-badge/ui-badge.vue2.js +0 -5
- package/components/ui-badge/ui-badge.vue2.js.map +0 -1
- package/components/ui-ber-rank/_types.d.ts.map +0 -1
- package/components/ui-ber-rank/_types.js.map +0 -1
- package/components/ui-ber-rank/index.d.ts +0 -31
- package/components/ui-ber-rank/index.d.ts.map +0 -1
- package/components/ui-ber-rank/index.js +0 -11
- package/components/ui-ber-rank/index.js.map +0 -1
- package/components/ui-ber-rank/ui-ber-rank.vue.d.ts +0 -34
- package/components/ui-ber-rank/ui-ber-rank.vue.d.ts.map +0 -1
- package/components/ui-ber-rank/ui-ber-rank.vue.js +0 -101
- package/components/ui-ber-rank/ui-ber-rank.vue.js.map +0 -1
- package/components/ui-ber-rank/ui-ber-rank.vue3.js +0 -7
- package/components/ui-ber-rank/ui-ber-rank.vue3.js.map +0 -1
- package/components/ui-button/_typings.d.ts.map +0 -1
- package/components/ui-button/_typings.js.map +0 -1
- package/components/ui-button/index.d.ts +0 -112
- package/components/ui-button/index.d.ts.map +0 -1
- package/components/ui-button/index.js +0 -10
- package/components/ui-button/index.js.map +0 -1
- package/components/ui-button/ui-button.vue.d.ts +0 -59
- package/components/ui-button/ui-button.vue.d.ts.map +0 -1
- package/components/ui-button/ui-button.vue.js +0 -51
- package/components/ui-button/ui-button.vue.js.map +0 -1
- package/components/ui-button/ui-button.vue2.js +0 -5
- package/components/ui-button/ui-button.vue2.js.map +0 -1
- package/components/ui-card-cta/index.d.ts +0 -92
- package/components/ui-card-cta/index.d.ts.map +0 -1
- package/components/ui-card-cta/index.js +0 -7
- package/components/ui-card-cta/index.js.map +0 -1
- package/components/ui-card-cta/ui-card-cta.vue.d.ts +0 -42
- package/components/ui-card-cta/ui-card-cta.vue.d.ts.map +0 -1
- package/components/ui-card-cta/ui-card-cta.vue.js +0 -76
- package/components/ui-card-cta/ui-card-cta.vue.js.map +0 -1
- package/components/ui-card-cta/ui-card-cta.vue2.js +0 -5
- package/components/ui-card-cta/ui-card-cta.vue2.js.map +0 -1
- package/components/ui-card-order/index.d.ts +0 -3
- package/components/ui-card-order/index.d.ts.map +0 -1
- package/components/ui-card-order/ui-card-order.vue.d.ts +0 -43
- package/components/ui-card-order/ui-card-order.vue.d.ts.map +0 -1
- package/components/ui-card-result/index.d.ts +0 -90
- package/components/ui-card-result/index.d.ts.map +0 -1
- package/components/ui-card-result/index.js +0 -7
- package/components/ui-card-result/index.js.map +0 -1
- package/components/ui-card-result/ui-card-result.vue.d.ts +0 -40
- package/components/ui-card-result/ui-card-result.vue.d.ts.map +0 -1
- package/components/ui-card-result/ui-card-result.vue.js +0 -9
- package/components/ui-card-result/ui-card-result.vue.js.map +0 -1
- package/components/ui-card-result/ui-card-result.vue2.js +0 -82
- package/components/ui-card-result/ui-card-result.vue2.js.map +0 -1
- package/components/ui-card-simple/_typings.d.ts +0 -5
- package/components/ui-card-simple/_typings.d.ts.map +0 -1
- package/components/ui-card-simple/index.d.ts +0 -27
- package/components/ui-card-simple/index.d.ts.map +0 -1
- package/components/ui-card-simple/index.js +0 -7
- package/components/ui-card-simple/index.js.map +0 -1
- package/components/ui-card-simple/ui-card-simple.vue.d.ts +0 -20
- package/components/ui-card-simple/ui-card-simple.vue.d.ts.map +0 -1
- package/components/ui-card-simple/ui-card-simple.vue.js +0 -35
- package/components/ui-card-simple/ui-card-simple.vue.js.map +0 -1
- package/components/ui-card-simple/ui-card-simple.vue2.js +0 -5
- package/components/ui-card-simple/ui-card-simple.vue2.js.map +0 -1
- package/components/ui-checkbox/_types.d.ts +0 -5
- package/components/ui-checkbox/_types.d.ts.map +0 -1
- package/components/ui-checkbox/_types.js.map +0 -1
- package/components/ui-checkbox/index.d.ts +0 -150
- package/components/ui-checkbox/index.d.ts.map +0 -1
- package/components/ui-checkbox/index.js +0 -7
- package/components/ui-checkbox/index.js.map +0 -1
- package/components/ui-checkbox/ui-checkbox.vue.d.ts +0 -70
- package/components/ui-checkbox/ui-checkbox.vue.d.ts.map +0 -1
- package/components/ui-checkbox/ui-checkbox.vue.js +0 -9
- package/components/ui-checkbox/ui-checkbox.vue.js.map +0 -1
- package/components/ui-checkbox/ui-checkbox.vue2.js +0 -81
- package/components/ui-checkbox/ui-checkbox.vue2.js.map +0 -1
- package/components/ui-dropdown/_typings.d.ts +0 -5
- package/components/ui-dropdown/_typings.d.ts.map +0 -1
- package/components/ui-dropdown/_typings.js +0 -5
- package/components/ui-dropdown/_typings.js.map +0 -1
- package/components/ui-dropdown/index.d.ts +0 -106
- package/components/ui-dropdown/index.d.ts.map +0 -1
- package/components/ui-dropdown/index.js +0 -9
- package/components/ui-dropdown/index.js.map +0 -1
- package/components/ui-dropdown/ui-dropdown.vue.d.ts +0 -57
- package/components/ui-dropdown/ui-dropdown.vue.d.ts.map +0 -1
- package/components/ui-dropdown/ui-dropdown.vue.js +0 -83
- package/components/ui-dropdown/ui-dropdown.vue.js.map +0 -1
- package/components/ui-dropdown/ui-dropdown.vue2.js +0 -5
- package/components/ui-dropdown/ui-dropdown.vue2.js.map +0 -1
- package/components/ui-icon/_typings.d.ts +0 -11
- package/components/ui-icon/_typings.d.ts.map +0 -1
- package/components/ui-icon/_typings.js +0 -5
- package/components/ui-icon/_typings.js.map +0 -1
- package/components/ui-icon/index.d.ts +0 -34
- package/components/ui-icon/index.d.ts.map +0 -1
- package/components/ui-icon/index.js +0 -11
- package/components/ui-icon/index.js.map +0 -1
- package/components/ui-icon/ui-icon.vue.d.ts +0 -35
- package/components/ui-icon/ui-icon.vue.d.ts.map +0 -1
- package/components/ui-icon/ui-icon.vue.js +0 -34
- package/components/ui-icon/ui-icon.vue.js.map +0 -1
- package/components/ui-icon/ui-icon.vue2.js +0 -5
- package/components/ui-icon/ui-icon.vue2.js.map +0 -1
- package/components/ui-icon-wrapper/_typings.d.ts +0 -12
- package/components/ui-icon-wrapper/_typings.d.ts.map +0 -1
- package/components/ui-icon-wrapper/_typings.js +0 -6
- package/components/ui-icon-wrapper/_typings.js.map +0 -1
- package/components/ui-icon-wrapper/index.d.ts +0 -72
- package/components/ui-icon-wrapper/index.d.ts.map +0 -1
- package/components/ui-icon-wrapper/index.js +0 -10
- package/components/ui-icon-wrapper/index.js.map +0 -1
- package/components/ui-icon-wrapper/ui-icon-wrapper.vue.d.ts +0 -49
- package/components/ui-icon-wrapper/ui-icon-wrapper.vue.d.ts.map +0 -1
- package/components/ui-icon-wrapper/ui-icon-wrapper.vue.js +0 -9
- package/components/ui-icon-wrapper/ui-icon-wrapper.vue.js.map +0 -1
- package/components/ui-icon-wrapper/ui-icon-wrapper.vue2.js +0 -28
- package/components/ui-icon-wrapper/ui-icon-wrapper.vue2.js.map +0 -1
- package/components/ui-input/_typings.d.ts +0 -71
- package/components/ui-input/_typings.d.ts.map +0 -1
- package/components/ui-input/_typings.js +0 -7
- package/components/ui-input/_typings.js.map +0 -1
- package/components/ui-input/index.d.ts +0 -300
- package/components/ui-input/index.d.ts.map +0 -1
- package/components/ui-input/index.js +0 -11
- package/components/ui-input/index.js.map +0 -1
- package/components/ui-input/ui-input.vue.d.ts +0 -113
- package/components/ui-input/ui-input.vue.d.ts.map +0 -1
- package/components/ui-input/ui-input.vue.js +0 -101
- package/components/ui-input/ui-input.vue.js.map +0 -1
- package/components/ui-input/ui-input.vue2.js +0 -5
- package/components/ui-input/ui-input.vue2.js.map +0 -1
- package/components/ui-input-range/index.d.ts +0 -47
- package/components/ui-input-range/index.d.ts.map +0 -1
- package/components/ui-input-range/index.js +0 -7
- package/components/ui-input-range/index.js.map +0 -1
- package/components/ui-input-range/ui-input-range.vue.d.ts +0 -27
- package/components/ui-input-range/ui-input-range.vue.d.ts.map +0 -1
- package/components/ui-input-range/ui-input-range.vue.js +0 -9
- package/components/ui-input-range/ui-input-range.vue.js.map +0 -1
- package/components/ui-input-range/ui-input-range.vue2.js +0 -71
- package/components/ui-input-range/ui-input-range.vue2.js.map +0 -1
- package/components/ui-list-item/_types.d.ts.map +0 -1
- package/components/ui-list-item/_types.js +0 -7
- package/components/ui-list-item/_types.js.map +0 -1
- package/components/ui-list-item/index.d.ts +0 -150
- package/components/ui-list-item/index.d.ts.map +0 -1
- package/components/ui-list-item/index.js +0 -11
- package/components/ui-list-item/index.js.map +0 -1
- package/components/ui-list-item/ui-list-item.vue.d.ts +0 -73
- package/components/ui-list-item/ui-list-item.vue.d.ts.map +0 -1
- package/components/ui-list-item/ui-list-item.vue.js +0 -68
- package/components/ui-list-item/ui-list-item.vue.js.map +0 -1
- package/components/ui-list-item/ui-list-item.vue2.js +0 -5
- package/components/ui-list-item/ui-list-item.vue2.js.map +0 -1
- package/components/ui-media-card/index.d.ts +0 -3
- package/components/ui-media-card/index.d.ts.map +0 -1
- package/components/ui-media-card/index.js +0 -5
- package/components/ui-media-card/ui-media-card.vue.d.ts +0 -24
- package/components/ui-media-card/ui-media-card.vue.d.ts.map +0 -1
- package/components/ui-media-card/ui-media-card.vue.js +0 -59
- package/components/ui-media-card/ui-media-card.vue.js.map +0 -1
- package/components/ui-media-card/ui-media-card.vue2.js +0 -5
- package/components/ui-media-card/ui-media-card.vue2.js.map +0 -1
- package/components/ui-modal/_typings.d.ts +0 -7
- package/components/ui-modal/_typings.d.ts.map +0 -1
- package/components/ui-modal/_typings.js +0 -5
- package/components/ui-modal/_typings.js.map +0 -1
- package/components/ui-modal/index.d.ts +0 -75
- package/components/ui-modal/index.d.ts.map +0 -1
- package/components/ui-modal/index.js +0 -9
- package/components/ui-modal/index.js.map +0 -1
- package/components/ui-modal/ui-backdrop/index.d.ts +0 -25
- package/components/ui-modal/ui-backdrop/index.d.ts.map +0 -1
- package/components/ui-modal/ui-backdrop/index.js +0 -7
- package/components/ui-modal/ui-backdrop/index.js.map +0 -1
- package/components/ui-modal/ui-backdrop/ui-backdrop.vue.d.ts +0 -18
- package/components/ui-modal/ui-backdrop/ui-backdrop.vue.d.ts.map +0 -1
- package/components/ui-modal/ui-backdrop/ui-backdrop.vue.js +0 -16
- package/components/ui-modal/ui-backdrop/ui-backdrop.vue.js.map +0 -1
- package/components/ui-modal/ui-modal.vue.d.ts +0 -54
- package/components/ui-modal/ui-modal.vue.d.ts.map +0 -1
- package/components/ui-modal/ui-modal.vue.js +0 -9
- package/components/ui-modal/ui-modal.vue.js.map +0 -1
- package/components/ui-modal/ui-modal.vue2.js +0 -61
- package/components/ui-modal/ui-modal.vue2.js.map +0 -1
- package/components/ui-notification-badge/_types.d.ts +0 -11
- package/components/ui-notification-badge/_types.d.ts.map +0 -1
- package/components/ui-notification-badge/_types.js +0 -5
- package/components/ui-notification-badge/_types.js.map +0 -1
- package/components/ui-notification-badge/index.d.ts +0 -53
- package/components/ui-notification-badge/index.d.ts.map +0 -1
- package/components/ui-notification-badge/index.js +0 -11
- package/components/ui-notification-badge/index.js.map +0 -1
- package/components/ui-notification-badge/ui-notification-badge.vue.d.ts +0 -46
- package/components/ui-notification-badge/ui-notification-badge.vue.d.ts.map +0 -1
- package/components/ui-notification-badge/ui-notification-badge.vue.js +0 -22
- package/components/ui-notification-badge/ui-notification-badge.vue.js.map +0 -1
- package/components/ui-notification-badge/ui-notification-badge.vue3.js +0 -7
- package/components/ui-notification-badge/ui-notification-badge.vue3.js.map +0 -1
- package/components/ui-order-card/_types.d.ts +0 -5
- package/components/ui-order-card/_types.d.ts.map +0 -1
- package/components/ui-order-card/_types.js +0 -5
- package/components/ui-order-card/_types.js.map +0 -1
- package/components/ui-order-card/index.d.ts +0 -71
- package/components/ui-order-card/index.d.ts.map +0 -1
- package/components/ui-order-card/index.js +0 -7
- package/components/ui-order-card/index.js.map +0 -1
- package/components/ui-order-card/ui-order-card.vue.d.ts +0 -51
- package/components/ui-order-card/ui-order-card.vue.d.ts.map +0 -1
- package/components/ui-order-card/ui-order-card.vue.js +0 -86
- package/components/ui-order-card/ui-order-card.vue.js.map +0 -1
- package/components/ui-order-card/ui-order-card.vue2.js +0 -5
- package/components/ui-order-card/ui-order-card.vue2.js.map +0 -1
- package/components/ui-plain-radio/index.d.ts +0 -126
- package/components/ui-plain-radio/index.d.ts.map +0 -1
- package/components/ui-plain-radio/index.js +0 -7
- package/components/ui-plain-radio/index.js.map +0 -1
- package/components/ui-plain-radio/ui-plain-radio.vue.d.ts +0 -46
- package/components/ui-plain-radio/ui-plain-radio.vue.d.ts.map +0 -1
- package/components/ui-plain-radio/ui-plain-radio.vue.js +0 -85
- package/components/ui-plain-radio/ui-plain-radio.vue.js.map +0 -1
- package/components/ui-plain-radio/ui-plain-radio.vue2.js +0 -5
- package/components/ui-plain-radio/ui-plain-radio.vue2.js.map +0 -1
- package/components/ui-product-card/index.d.ts +0 -2
- package/components/ui-product-card/index.d.ts.map +0 -1
- package/components/ui-product-card/ui-product-card.vue.d.ts +0 -37
- package/components/ui-product-card/ui-product-card.vue.d.ts.map +0 -1
- package/components/ui-product-card/ui-product-card.vue.js +0 -64
- package/components/ui-product-card/ui-product-card.vue.js.map +0 -1
- package/components/ui-product-card/ui-product-card.vue2.js +0 -5
- package/components/ui-product-card/ui-product-card.vue2.js.map +0 -1
- package/components/ui-progress/_types.d.ts +0 -2
- package/components/ui-progress/_types.d.ts.map +0 -1
- package/components/ui-progress/index.d.ts +0 -54
- package/components/ui-progress/index.d.ts.map +0 -1
- package/components/ui-progress/index.js +0 -7
- package/components/ui-progress/index.js.map +0 -1
- package/components/ui-progress/ui-progress.vue.d.ts +0 -46
- package/components/ui-progress/ui-progress.vue.d.ts.map +0 -1
- package/components/ui-progress/ui-progress.vue.js +0 -42
- package/components/ui-progress/ui-progress.vue.js.map +0 -1
- package/components/ui-progress/ui-progress.vue2.js +0 -5
- package/components/ui-progress/ui-progress.vue2.js.map +0 -1
- package/components/ui-radio/index.d.ts +0 -126
- package/components/ui-radio/index.d.ts.map +0 -1
- package/components/ui-radio/index.js +0 -7
- package/components/ui-radio/index.js.map +0 -1
- package/components/ui-radio/ui-radio.vue.d.ts +0 -46
- package/components/ui-radio/ui-radio.vue.d.ts.map +0 -1
- package/components/ui-radio/ui-radio.vue.js +0 -9
- package/components/ui-radio/ui-radio.vue.js.map +0 -1
- package/components/ui-radio/ui-radio.vue2.js +0 -58
- package/components/ui-radio/ui-radio.vue2.js.map +0 -1
- package/components/ui-radio-compact/index.d.ts +0 -104
- package/components/ui-radio-compact/index.d.ts.map +0 -1
- package/components/ui-radio-compact/index.js +0 -7
- package/components/ui-radio-compact/index.js.map +0 -1
- package/components/ui-radio-compact/ui-radio-compact.vue.d.ts +0 -41
- package/components/ui-radio-compact/ui-radio-compact.vue.d.ts.map +0 -1
- package/components/ui-radio-compact/ui-radio-compact.vue.js +0 -52
- package/components/ui-radio-compact/ui-radio-compact.vue.js.map +0 -1
- package/components/ui-radio-compact/ui-radio-compact.vue2.js +0 -5
- package/components/ui-radio-compact/ui-radio-compact.vue2.js.map +0 -1
- package/components/ui-radio-fancy/_typings.d.ts +0 -6
- package/components/ui-radio-fancy/_typings.d.ts.map +0 -1
- package/components/ui-radio-fancy/_typings.js +0 -5
- package/components/ui-radio-fancy/_typings.js.map +0 -1
- package/components/ui-radio-fancy/index.d.ts +0 -144
- package/components/ui-radio-fancy/index.d.ts.map +0 -1
- package/components/ui-radio-fancy/index.js +0 -7
- package/components/ui-radio-fancy/index.js.map +0 -1
- package/components/ui-radio-fancy/ui-radio-fancy.vue.d.ts +0 -64
- package/components/ui-radio-fancy/ui-radio-fancy.vue.d.ts.map +0 -1
- package/components/ui-radio-fancy/ui-radio-fancy.vue.js +0 -86
- package/components/ui-radio-fancy/ui-radio-fancy.vue.js.map +0 -1
- package/components/ui-radio-fancy/ui-radio-fancy.vue2.js +0 -5
- package/components/ui-radio-fancy/ui-radio-fancy.vue2.js.map +0 -1
- package/components/ui-result-card-range/_types.d.ts +0 -8
- package/components/ui-result-card-range/_types.d.ts.map +0 -1
- package/components/ui-result-card-range/index.d.ts +0 -54
- package/components/ui-result-card-range/index.d.ts.map +0 -1
- package/components/ui-result-card-range/index.js +0 -7
- package/components/ui-result-card-range/index.js.map +0 -1
- package/components/ui-result-card-range/ui-result-card-range.vue.d.ts +0 -34
- package/components/ui-result-card-range/ui-result-card-range.vue.d.ts.map +0 -1
- package/components/ui-result-card-range/ui-result-card-range.vue.js +0 -39
- package/components/ui-result-card-range/ui-result-card-range.vue.js.map +0 -1
- package/components/ui-result-card-range/ui-result-card-range.vue2.js +0 -5
- package/components/ui-result-card-range/ui-result-card-range.vue2.js.map +0 -1
- package/components/ui-ripple/index.d.ts +0 -25
- package/components/ui-ripple/index.d.ts.map +0 -1
- package/components/ui-ripple/index.js +0 -9
- package/components/ui-ripple/index.js.map +0 -1
- package/components/ui-ripple/ui-ripple.vue.d.ts +0 -20
- package/components/ui-ripple/ui-ripple.vue.d.ts.map +0 -1
- package/components/ui-ripple/ui-ripple.vue.js +0 -52
- package/components/ui-ripple/ui-ripple.vue.js.map +0 -1
- package/components/ui-ripple/ui-ripple.vue3.js +0 -7
- package/components/ui-ripple/ui-ripple.vue3.js.map +0 -1
- package/components/ui-select/index.d.ts +0 -96
- package/components/ui-select/index.d.ts.map +0 -1
- package/components/ui-select/index.js +0 -7
- package/components/ui-select/index.js.map +0 -1
- package/components/ui-select/ui-select.vue.d.ts +0 -44
- package/components/ui-select/ui-select.vue.d.ts.map +0 -1
- package/components/ui-select/ui-select.vue.js +0 -83
- package/components/ui-select/ui-select.vue.js.map +0 -1
- package/components/ui-select/ui-select.vue2.js +0 -5
- package/components/ui-select/ui-select.vue2.js.map +0 -1
- package/components/ui-skeleton/_typings.d.ts.map +0 -1
- package/components/ui-skeleton/_typings.js.map +0 -1
- package/components/ui-skeleton/index.d.ts +0 -22
- package/components/ui-skeleton/index.d.ts.map +0 -1
- package/components/ui-skeleton/index.js +0 -7
- package/components/ui-skeleton/index.js.map +0 -1
- package/components/ui-skeleton/ui-skeleton.vue.d.ts +0 -32
- package/components/ui-skeleton/ui-skeleton.vue.d.ts.map +0 -1
- package/components/ui-skeleton/ui-skeleton.vue.js +0 -41
- package/components/ui-skeleton/ui-skeleton.vue.js.map +0 -1
- package/components/ui-skeleton/ui-skeleton.vue2.js +0 -5
- package/components/ui-skeleton/ui-skeleton.vue2.js.map +0 -1
- package/components/ui-snackbar/_types.d.ts +0 -8
- package/components/ui-snackbar/_types.d.ts.map +0 -1
- package/components/ui-snackbar/_types.js +0 -5
- package/components/ui-snackbar/_types.js.map +0 -1
- package/components/ui-snackbar/index.d.ts +0 -71
- package/components/ui-snackbar/index.d.ts.map +0 -1
- package/components/ui-snackbar/index.js +0 -9
- package/components/ui-snackbar/index.js.map +0 -1
- package/components/ui-snackbar/ui-snackbar.vue.d.ts +0 -50
- package/components/ui-snackbar/ui-snackbar.vue.d.ts.map +0 -1
- package/components/ui-snackbar/ui-snackbar.vue.js +0 -49
- package/components/ui-snackbar/ui-snackbar.vue.js.map +0 -1
- package/components/ui-snackbar/ui-snackbar.vue2.js +0 -5
- package/components/ui-snackbar/ui-snackbar.vue2.js.map +0 -1
- package/components/ui-table/_types.d.ts.map +0 -1
- package/components/ui-table/_types.js +0 -5
- package/components/ui-table/_types.js.map +0 -1
- package/components/ui-table/index.d.ts +0 -56
- package/components/ui-table/index.d.ts.map +0 -1
- package/components/ui-table/index.js +0 -19
- package/components/ui-table/index.js.map +0 -1
- package/components/ui-table/ui-table-cell/index.d.ts +0 -55
- package/components/ui-table/ui-table-cell/index.d.ts.map +0 -1
- package/components/ui-table/ui-table-cell/index.js +0 -7
- package/components/ui-table/ui-table-cell/index.js.map +0 -1
- package/components/ui-table/ui-table-cell/ui-table-cell.vue.d.ts +0 -35
- package/components/ui-table/ui-table-cell/ui-table-cell.vue.d.ts.map +0 -1
- package/components/ui-table/ui-table-cell/ui-table-cell.vue.js +0 -41
- package/components/ui-table/ui-table-cell/ui-table-cell.vue.js.map +0 -1
- package/components/ui-table/ui-table-cell/ui-table-cell.vue2.js +0 -5
- package/components/ui-table/ui-table-cell/ui-table-cell.vue2.js.map +0 -1
- package/components/ui-table/ui-table-row/_typings.d.ts +0 -4
- package/components/ui-table/ui-table-row/_typings.d.ts.map +0 -1
- package/components/ui-table/ui-table-row/_typings.js +0 -5
- package/components/ui-table/ui-table-row/_typings.js.map +0 -1
- package/components/ui-table/ui-table-row/index.d.ts +0 -43
- package/components/ui-table/ui-table-row/index.d.ts.map +0 -1
- package/components/ui-table/ui-table-row/index.js +0 -9
- package/components/ui-table/ui-table-row/index.js.map +0 -1
- package/components/ui-table/ui-table-row/ui-table-row.vue.d.ts +0 -32
- package/components/ui-table/ui-table-row/ui-table-row.vue.d.ts.map +0 -1
- package/components/ui-table/ui-table-row/ui-table-row.vue.js +0 -9
- package/components/ui-table/ui-table-row/ui-table-row.vue.js.map +0 -1
- package/components/ui-table/ui-table-row/ui-table-row.vue3.js +0 -19
- package/components/ui-table/ui-table-row/ui-table-row.vue3.js.map +0 -1
- package/components/ui-table/ui-table.vue.d.ts +0 -46
- package/components/ui-table/ui-table.vue.d.ts.map +0 -1
- package/components/ui-table/ui-table.vue.js +0 -9
- package/components/ui-table/ui-table.vue.js.map +0 -1
- package/components/ui-table/ui-table.vue2.js +0 -23
- package/components/ui-table/ui-table.vue2.js.map +0 -1
- package/components/ui-tabs/index.d.ts +0 -41
- package/components/ui-tabs/index.d.ts.map +0 -1
- package/components/ui-tabs/index.js +0 -7
- package/components/ui-tabs/index.js.map +0 -1
- package/components/ui-tabs/ui-tabs.vue.d.ts +0 -39
- package/components/ui-tabs/ui-tabs.vue.d.ts.map +0 -1
- package/components/ui-tabs/ui-tabs.vue.js +0 -9
- package/components/ui-tabs/ui-tabs.vue.js.map +0 -1
- package/components/ui-tabs/ui-tabs.vue2.js +0 -56
- package/components/ui-tabs/ui-tabs.vue2.js.map +0 -1
- package/components/ui-toggle/index.d.ts +0 -130
- package/components/ui-toggle/index.d.ts.map +0 -1
- package/components/ui-toggle/index.js +0 -7
- package/components/ui-toggle/index.js.map +0 -1
- package/components/ui-toggle/ui-toggle.vue.d.ts +0 -48
- package/components/ui-toggle/ui-toggle.vue.d.ts.map +0 -1
- package/components/ui-toggle/ui-toggle.vue.js +0 -9
- package/components/ui-toggle/ui-toggle.vue.js.map +0 -1
- package/components/ui-toggle/ui-toggle.vue2.js +0 -78
- package/components/ui-toggle/ui-toggle.vue2.js.map +0 -1
- package/components/ui-typography/_typings.d.ts.map +0 -1
- package/components/ui-typography/_typings.js +0 -8
- package/components/ui-typography/_typings.js.map +0 -1
- package/components/ui-typography/index.d.ts +0 -129
- package/components/ui-typography/index.d.ts.map +0 -1
- package/components/ui-typography/index.js +0 -14
- package/components/ui-typography/index.js.map +0 -1
- package/components/ui-typography/ui-typography.vue.d.ts +0 -47
- package/components/ui-typography/ui-typography.vue.d.ts.map +0 -1
- package/components/ui-typography/ui-typography.vue.js +0 -105
- package/components/ui-typography/ui-typography.vue.js.map +0 -1
- package/components/ui-typography/ui-typography.vue2.js +0 -5
- package/components/ui-typography/ui-typography.vue2.js.map +0 -1
- package/components/ui-verification-input/index.d.ts +0 -69
- package/components/ui-verification-input/index.d.ts.map +0 -1
- package/components/ui-verification-input/index.js +0 -7
- package/components/ui-verification-input/index.js.map +0 -1
- package/components/ui-verification-input/ui-verification-input.vue.d.ts +0 -37
- package/components/ui-verification-input/ui-verification-input.vue.d.ts.map +0 -1
- package/components/ui-verification-input/ui-verification-input.vue.js +0 -9
- package/components/ui-verification-input/ui-verification-input.vue.js.map +0 -1
- package/components/ui-verification-input/ui-verification-input.vue2.js +0 -53
- package/components/ui-verification-input/ui-verification-input.vue2.js.map +0 -1
- package/index.d.ts.map +0 -1
- package/types.d.ts +0 -21
- package/types.d.ts.map +0 -1
- package/types.js +0 -78
- package/types.js.map +0 -1
- /package/components/{ui-alert → UiAlert}/_types.js +0 -0
- /package/components/{ui-media-card → UiIcon}/index.js.map +0 -0
- /package/components/{ui-product-card → UiInputRange}/index.js.map +0 -0
- /package/src/_styles/{_font-sizes.json → _fontSizes.json} +0 -0
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
import { defineComponent as k, computed as A, openBlock as n, createElementBlock as S, normalizeClass as s, renderSlot as o, createBlock as p, unref as t, withCtx as m, createTextVNode as f, toDisplayString as h, createCommentVNode as b, createElementVNode as g } from "vue";
|
|
2
|
-
import { EInputKinds as a, EInputType as r, EAutocomplete as c } from "./_typings.js";
|
|
3
|
-
import v from "../ui-typography/index.js";
|
|
4
|
-
import { ETypographySizes as y } from "../ui-typography/_typings.js";
|
|
5
|
-
import { EColors as C } from "../../_types/colors.js";
|
|
6
|
-
const D = ["autocomplete", "name", "value", "pattern", "type", "placeholder", "maxlength", "minlength"], z = /* @__PURE__ */ k({
|
|
7
|
-
__name: "ui-input",
|
|
8
|
-
props: {
|
|
9
|
-
placeholder: { default: "" },
|
|
10
|
-
modelValue: { default: "" },
|
|
11
|
-
disabled: { type: Boolean, default: !1 },
|
|
12
|
-
kind: { default: a.SECONDARY },
|
|
13
|
-
heading: { default: void 0 },
|
|
14
|
-
subLabel: { default: void 0 },
|
|
15
|
-
type: { default: r.TEXT },
|
|
16
|
-
pattern: { default: void 0 },
|
|
17
|
-
maxlength: { default: void 0 },
|
|
18
|
-
minlength: { default: void 0 },
|
|
19
|
-
focusHandler: { type: Function, default: () => {
|
|
20
|
-
} },
|
|
21
|
-
autocomplete: { default: void 0 },
|
|
22
|
-
name: { default: void 0 }
|
|
23
|
-
},
|
|
24
|
-
emits: ["update:modelValue"],
|
|
25
|
-
setup(E) {
|
|
26
|
-
const R = E, d = A(() => {
|
|
27
|
-
switch (R.type) {
|
|
28
|
-
case r.PASSWORD:
|
|
29
|
-
return c.CURRENT_PASSWORD;
|
|
30
|
-
case r.EMAIL:
|
|
31
|
-
return c.EMAIL;
|
|
32
|
-
default:
|
|
33
|
-
return;
|
|
34
|
-
}
|
|
35
|
-
});
|
|
36
|
-
return (e, l) => (n(), S("div", {
|
|
37
|
-
class: s(["ui-input", [
|
|
38
|
-
e.disabled && "pointer-events-none"
|
|
39
|
-
]])
|
|
40
|
-
}, [
|
|
41
|
-
o(e.$slots, "header", {}, () => [
|
|
42
|
-
e.heading ? (n(), p(t(v), {
|
|
43
|
-
key: 0,
|
|
44
|
-
class: "mb-xxs",
|
|
45
|
-
size: t(y).MD,
|
|
46
|
-
"line-height": ""
|
|
47
|
-
}, {
|
|
48
|
-
default: m(() => [
|
|
49
|
-
f(h(e.heading), 1)
|
|
50
|
-
]),
|
|
51
|
-
_: 1
|
|
52
|
-
}, 8, ["size"])) : b("", !0)
|
|
53
|
-
]),
|
|
54
|
-
g("label", {
|
|
55
|
-
class: s(["ui-input__wrapper flex w-full items-center gap-xxs rounded-xl border bg-white p-sm", [
|
|
56
|
-
e.kind === t(a).SECONDARY && "border-secondary-alt-500 hover:border-secondary-alt-700",
|
|
57
|
-
e.kind === t(a).PRIMARY && "border-primary",
|
|
58
|
-
e.kind === t(a).ERROR && "border-error",
|
|
59
|
-
e.disabled && "border-secondary-alt-300 bg-secondary-alt-200"
|
|
60
|
-
]])
|
|
61
|
-
}, [
|
|
62
|
-
o(e.$slots, "prefix-icon"),
|
|
63
|
-
g("input", {
|
|
64
|
-
autocomplete: e.autocomplete || d.value,
|
|
65
|
-
name: e.name || e.autocomplete || d.value,
|
|
66
|
-
value: e.modelValue,
|
|
67
|
-
pattern: e.pattern,
|
|
68
|
-
class: "w-full border-0 bg-transparent outline-none placeholder:italic placeholder:text-secondary-alt",
|
|
69
|
-
type: e.type,
|
|
70
|
-
placeholder: e.placeholder,
|
|
71
|
-
maxlength: e.maxlength,
|
|
72
|
-
minlength: e.minlength,
|
|
73
|
-
onInput: l[0] || (l[0] = (i) => {
|
|
74
|
-
var u;
|
|
75
|
-
return e.$emit("update:modelValue", (u = i.target) == null ? void 0 : u.value);
|
|
76
|
-
}),
|
|
77
|
-
onFocus: l[1] || (l[1] = (i) => e.focusHandler || void 0)
|
|
78
|
-
}, null, 40, D),
|
|
79
|
-
o(e.$slots, "postfix-icon")
|
|
80
|
-
], 2),
|
|
81
|
-
o(e.$slots, "subLabel", {}, () => [
|
|
82
|
-
e.subLabel ? (n(), p(t(v), {
|
|
83
|
-
key: 0,
|
|
84
|
-
"line-height": "",
|
|
85
|
-
size: t(y).SM,
|
|
86
|
-
kind: t(C).SECONDARY_ALT,
|
|
87
|
-
class: "mt-xxs"
|
|
88
|
-
}, {
|
|
89
|
-
default: m(() => [
|
|
90
|
-
f(h(e.subLabel), 1)
|
|
91
|
-
]),
|
|
92
|
-
_: 1
|
|
93
|
-
}, 8, ["size", "kind"])) : b("", !0)
|
|
94
|
-
])
|
|
95
|
-
], 2));
|
|
96
|
-
}
|
|
97
|
-
});
|
|
98
|
-
export {
|
|
99
|
-
z as default
|
|
100
|
-
};
|
|
101
|
-
//# sourceMappingURL=ui-input.vue.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ui-input.vue.js","sources":["../../../src/components/ui-input/ui-input.vue"],"sourcesContent":["<template>\n\t<div\n\t\tclass=\"ui-input\"\n\t\t:class=\"[\n\t\t\tdisabled && 'pointer-events-none'\n\t\t]\"\n\t>\n\t\t<slot name=\"header\">\n\t\t\t<ui-typography\n\t\t\t\tv-if=\"heading\"\n\t\t\t\tclass=\"mb-xxs\"\n\t\t\t\t:size=\"ETypographySizes.MD\"\n\t\t\t\tline-height\n\t\t\t>\n\t\t\t\t{{ heading }}\n\t\t\t</ui-typography>\n\t\t</slot>\n\t\t<label\n\t\t\tclass=\"\n\t\t\t\tui-input__wrapper\n\t\t\t\tflex\n\t\t\t\tw-full\n\t\t\t\titems-center\n\t\t\t\tgap-xxs\n\t\t\t\trounded-xl\n\t\t\t\tborder\n\t\t\t\tbg-white\n\t\t\t\tp-sm\n\t\t\t\t\"\n\t\t\t:class=\"[\n\t\t\t\tkind === EInputKinds.SECONDARY && 'border-secondary-alt-500 hover:border-secondary-alt-700',\n\t\t\t\tkind === EInputKinds.PRIMARY && 'border-primary',\n\t\t\t\tkind === EInputKinds.ERROR && 'border-error',\n\n\t\t\t\tdisabled && 'border-secondary-alt-300 bg-secondary-alt-200',\n\t\t\t]\"\n\t\t>\n\t\t\t<slot name=\"prefix-icon\" />\n\n\t\t\t<input\n\t\t\t\t:autocomplete=\"autocomplete || getAutoComplete\"\n\t\t\t\t:name=\"name || autocomplete || getAutoComplete\"\n\t\t\t\t:value=\"modelValue\"\n\t\t\t\t:pattern=\"pattern\"\n\t\t\t\tclass=\"\n\t\t\t\t\tw-full\n\t\t\t\t\tborder-0\n\t\t\t\t\tbg-transparent\n\t\t\t\t\toutline-none\n\t\t\t\t\tplaceholder:italic\n\t\t\t\t\tplaceholder:text-secondary-alt\n\t\t\t\t\t\"\n\t\t\t\t:type=\"type\"\n\t\t\t\t:placeholder=\"placeholder\"\n\t\t\t\t:maxlength=\"maxlength\"\n\t\t\t\t:minlength=\"minlength\"\n\t\t\t\t@input=\"$emit('update:modelValue', ($event.target as HTMLTextAreaElement)?.value)\"\n\t\t\t\t@focus=\"focusHandler || undefined\"\n\t\t\t>\n\n\t\t\t<slot name=\"postfix-icon\" />\n\t\t</label>\n\n\t\t<slot name=\"subLabel\">\n\t\t\t<ui-typography\n\t\t\t\tv-if=\"subLabel\"\n\t\t\t\tline-height\n\t\t\t\t:size=\"ETypographySizes.SM\"\n\t\t\t\t:kind=\"EColors.SECONDARY_ALT\"\n\t\t\t\tclass=\"mt-xxs\"\n\t\t\t>\n\t\t\t\t{{ subLabel }}\n\t\t\t</ui-typography>\n\t\t</slot>\n\t</div>\n</template>\n\n<script lang=\"ts\" setup>\n\timport { computed } from \"vue\";\n\timport { EAutocomplete, EInputKinds, EInputType } from \"./_typings\";\n\timport UiTypography, { ETypographySizes, EColors } from \"../ui-typography\";\n\n\tconst props = withDefaults(defineProps<{\n\t\tplaceholder?: string;\n\t\tmodelValue: string | number;\n\t\tdisabled?: boolean;\n\t\tkind?: EInputKinds;\n\t\theading?: string;\n\t\tsubLabel?: string;\n\t\ttype?: EInputType;\n\t\tpattern?: string;\n\t\tmaxlength?: string;\n\t\tminlength?: string;\n\t\tfocusHandler?: (e:FocusEvent) => void;\n\t\tautocomplete?: EAutocomplete;\n\t\tname?: string;\n\t}>(), {\n\t\tmodelValue: \"\",\n\t\tplaceholder: \"\",\n\t\tdisabled: false,\n\t\tautocomplete: undefined,\n\t\tname: undefined,\n\t\theading: undefined,\n\t\tsubLabel: undefined,\n\t\tpattern: undefined,\n\t\tmaxlength: undefined,\n\t\tminlength: undefined,\n\t\ttype: EInputType.TEXT,\n\t\tfocusHandler: ()=>undefined,\n\t\tkind: EInputKinds.SECONDARY\n\t});\n\n\tdefineEmits([\"update:modelValue\"]);\n\n\tconst getAutoComplete = computed(()=> {\n\t\tswitch (props.type) {\n\t\t\tcase EInputType.PASSWORD: return EAutocomplete.CURRENT_PASSWORD;\n\t\t\tcase EInputType.EMAIL: return EAutocomplete.EMAIL;\n\t\t\tdefault: return undefined;\n\t\t}\n\t});\n</script>\n"],"names":["props","__props","getAutoComplete","computed","EInputType","EAutocomplete"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAkFC,UAAMA,IAAQC,GAgCRC,IAAkBC,EAAS,MAAK;AACrC,cAAQH,EAAM,MAAM;AAAA,QACnB,KAAKI,EAAW;AAAU,iBAAOC,EAAc;AAAA,QAC/C,KAAKD,EAAW;AAAO,iBAAOC,EAAc;AAAA,QAC5C;AAAgB;AAAA,MACjB;AAAA,IAAA,CACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ui-input.vue2.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { default as UiInputRange } from './ui-input-range.vue';
|
|
2
|
-
import { DefineComponent, PropType, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
3
|
-
export { UiInputRange };
|
|
4
|
-
/**
|
|
5
|
-
* @deprecated The default should not be used - use named import as - import {[name]} from "ui/[name]"
|
|
6
|
-
*/
|
|
7
|
-
declare const deprecatedDefault: DefineComponent<{
|
|
8
|
-
modelValue: {
|
|
9
|
-
type: PropType<number>;
|
|
10
|
-
required: true;
|
|
11
|
-
};
|
|
12
|
-
min: {
|
|
13
|
-
type: PropType<string | number>;
|
|
14
|
-
required: true;
|
|
15
|
-
};
|
|
16
|
-
max: {
|
|
17
|
-
type: PropType<string | number>;
|
|
18
|
-
required: true;
|
|
19
|
-
};
|
|
20
|
-
step: {
|
|
21
|
-
type: PropType<string | number>;
|
|
22
|
-
required: true;
|
|
23
|
-
};
|
|
24
|
-
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
25
|
-
"update:modelValue": (...args: any[]) => void;
|
|
26
|
-
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
27
|
-
modelValue: {
|
|
28
|
-
type: PropType<number>;
|
|
29
|
-
required: true;
|
|
30
|
-
};
|
|
31
|
-
min: {
|
|
32
|
-
type: PropType<string | number>;
|
|
33
|
-
required: true;
|
|
34
|
-
};
|
|
35
|
-
max: {
|
|
36
|
-
type: PropType<string | number>;
|
|
37
|
-
required: true;
|
|
38
|
-
};
|
|
39
|
-
step: {
|
|
40
|
-
type: PropType<string | number>;
|
|
41
|
-
required: true;
|
|
42
|
-
};
|
|
43
|
-
}>> & {
|
|
44
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
45
|
-
}, {}, {}>;
|
|
46
|
-
export default deprecatedDefault;
|
|
47
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ui-input-range/index.ts"],"names":[],"mappings":";AAAA,OAAO,YAAY,MAAM,sBAAsB,CAAC;AAEhD,OAAO,EAAE,YAAY,EAAE,CAAC;AACxB;;GAEG;AACH,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAAe,CAAC;AACvC,eAAe,iBAAiB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/components/ui-input-range/index.ts"],"sourcesContent":["import UiInputRange from \"./ui-input-range.vue\";\n\nexport { UiInputRange };\n/**\n * @deprecated The default should not be used - use named import as - import {[name]} from \"ui/[name]\"\n */\nconst deprecatedDefault = UiInputRange;\nexport default deprecatedDefault;\n"],"names":["deprecatedDefault","UiInputRange"],"mappings":";AAMA,MAAMA,IAAoBC;"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
-
declare const _default: DefineComponent<__VLS_TypePropsToOption<{
|
|
3
|
-
modelValue: number;
|
|
4
|
-
min: string | number;
|
|
5
|
-
max: string | number;
|
|
6
|
-
step: string | number;
|
|
7
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
8
|
-
"update:modelValue": (...args: any[]) => void;
|
|
9
|
-
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
10
|
-
modelValue: number;
|
|
11
|
-
min: string | number;
|
|
12
|
-
max: string | number;
|
|
13
|
-
step: string | number;
|
|
14
|
-
}>>> & {
|
|
15
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
16
|
-
}, {}, {}>;
|
|
17
|
-
export default _default;
|
|
18
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
19
|
-
type __VLS_TypePropsToOption<T> = {
|
|
20
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
21
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
22
|
-
} : {
|
|
23
|
-
type: PropType<T[K]>;
|
|
24
|
-
required: true;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
//# sourceMappingURL=ui-input-range.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ui-input-range.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui-input-range/ui-input-range.vue"],"names":[],"mappings":";;gBAiKc,MAAM;SACb,MAAM,GAAG,MAAM;SACf,MAAM,GAAG,MAAM;UACd,MAAM,GAAG,MAAM;;;;gBAHT,MAAM;SACb,MAAM,GAAG,MAAM;SACf,MAAM,GAAG,MAAM;UACd,MAAM,GAAG,MAAM;;;;AAqKvB,wBAOG;AAKH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode("input[type=range][data-v-5633207c]::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:10px;width:10px;transform:scale(4);background-color:transparent;border:0;box-shadow:none}input[type=range][data-v-5633207c]::-moz-range-thumb{-moz-appearance:none;-webkit-appearance:none;appearance:none;background-color:transparent;border:0;box-shadow:none}.ui-input-range__thumb[data-v-5633207c]{top:50%;border-width:12px;box-shadow:0 0 0 4px var(--color-primary)}")),document.head.appendChild(e)}}catch(n){console.error("vite-plugin-css-injected-by-js",n)}})();
|
|
2
|
-
import o from "./ui-input-range.vue2.js";
|
|
3
|
-
|
|
4
|
-
import t from "../../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
-
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-5633207c"]]);
|
|
6
|
-
export {
|
|
7
|
-
m as default
|
|
8
|
-
};
|
|
9
|
-
//# sourceMappingURL=ui-input-range.vue.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ui-input-range.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { defineComponent as y, computed as u, watch as _, ref as k, openBlock as w, createElementBlock as M, withDirectives as V, createElementVNode as s, vModelText as S, normalizeStyle as c, pushScopeId as I, popScopeId as C } from "vue";
|
|
2
|
-
const P = (a) => (I("data-v-5633207c"), a = a(), C(), a), z = { class: "ui-input-range relative box-content h-xl py-xxs" }, B = ["min", "max", "step"], F = /* @__PURE__ */ P(() => /* @__PURE__ */ s("div", { class: "pointer-events-none absolute left-0 top-1/2 h-xxs w-full -translate-y-1/2 rounded bg-secondary-alt" }, null, -1)), L = /* @__PURE__ */ y({
|
|
3
|
-
__name: "ui-input-range",
|
|
4
|
-
props: {
|
|
5
|
-
modelValue: {},
|
|
6
|
-
min: {},
|
|
7
|
-
max: {},
|
|
8
|
-
step: {}
|
|
9
|
-
},
|
|
10
|
-
emits: ["update:modelValue"],
|
|
11
|
-
setup(a, { emit: m }) {
|
|
12
|
-
const e = a, p = m, o = u({
|
|
13
|
-
get() {
|
|
14
|
-
return e.modelValue;
|
|
15
|
-
},
|
|
16
|
-
set(t) {
|
|
17
|
-
p("update:modelValue", t);
|
|
18
|
-
}
|
|
19
|
-
});
|
|
20
|
-
_(() => [e.min, e.max], () => {
|
|
21
|
-
o.value < +e.min ? o.value = +e.min : o.value > +e.max && (o.value = +e.max);
|
|
22
|
-
});
|
|
23
|
-
const l = k(), i = u(() => Math.round((+e.modelValue - +e.min) / (+e.max - +e.min) * 100)), d = (t) => {
|
|
24
|
-
if (l.value) {
|
|
25
|
-
const n = "clientX", {
|
|
26
|
-
left: r,
|
|
27
|
-
width: x
|
|
28
|
-
} = l.value.getBoundingClientRect(), h = "touches" in t ? t.touches[0][n] : t[n], f = Math.min(Math.max((h - r) / x, 0), 1) || 0, g = parseFloat(String(e.min)) + f * (+e.max - +e.min), b = Math.round(g / +e.step) * +e.step;
|
|
29
|
-
return parseFloat(Math.min(b, +e.max).toFixed(2));
|
|
30
|
-
}
|
|
31
|
-
}, v = (t) => {
|
|
32
|
-
const n = d(t);
|
|
33
|
-
n && (o.value = n);
|
|
34
|
-
};
|
|
35
|
-
return (t, n) => (w(), M("div", z, [
|
|
36
|
-
V(s("input", {
|
|
37
|
-
ref_key: "track",
|
|
38
|
-
ref: l,
|
|
39
|
-
"onUpdate:modelValue": n[0] || (n[0] = (r) => o.value = r),
|
|
40
|
-
class: "absolute left-0 top-0 size-full cursor-pointer appearance-none bg-transparent",
|
|
41
|
-
type: "range",
|
|
42
|
-
min: t.min,
|
|
43
|
-
max: t.max,
|
|
44
|
-
step: t.step,
|
|
45
|
-
onTouchmove: v
|
|
46
|
-
}, null, 40, B), [
|
|
47
|
-
[
|
|
48
|
-
S,
|
|
49
|
-
o.value,
|
|
50
|
-
void 0,
|
|
51
|
-
{ number: !0 }
|
|
52
|
-
]
|
|
53
|
-
]),
|
|
54
|
-
F,
|
|
55
|
-
s("div", {
|
|
56
|
-
class: "pointer-events-none absolute left-0 top-1/2 h-xxs -translate-y-1/2 rounded bg-primary",
|
|
57
|
-
style: c({
|
|
58
|
-
width: i.value + "%"
|
|
59
|
-
})
|
|
60
|
-
}, null, 4),
|
|
61
|
-
s("div", {
|
|
62
|
-
class: "ui-input-range__thumb pointer-events-none absolute box-content size-xxs -translate-x-1/2 -translate-y-1/2 rounded-full border-white bg-primary",
|
|
63
|
-
style: c({ left: i.value + "%" })
|
|
64
|
-
}, null, 4)
|
|
65
|
-
]));
|
|
66
|
-
}
|
|
67
|
-
});
|
|
68
|
-
export {
|
|
69
|
-
L as default
|
|
70
|
-
};
|
|
71
|
-
//# sourceMappingURL=ui-input-range.vue2.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ui-input-range.vue2.js","sources":["../../../src/components/ui-input-range/ui-input-range.vue"],"sourcesContent":["<template>\n\t<div\n\t\tclass=\"ui-input-range relative box-content h-xl py-xxs\"\n\t>\n\t\t<input\n\t\t\tref=\"track\"\n\t\t\tv-model.number=\"rangeModel\"\n\t\t\tclass=\"absolute left-0 top-0 size-full cursor-pointer appearance-none bg-transparent\"\n\t\t\ttype=\"range\"\n\t\t\t:min=\"min\"\n\t\t\t:max=\"max\"\n\t\t\t:step=\"step\"\n\t\t\t@touchmove=\"moveHandler\"\n\t\t>\n\n\t\t<div\n\t\t\tclass=\"\n\t\t\t\tpointer-events-none\n\t\t\t\tabsolute\n\t\t\t\tleft-0\n\t\t\t\ttop-1/2\n\t\t\t\th-xxs\n\t\t\t\tw-full\n\t\t\t\t-translate-y-1/2\n\t\t\t\trounded\n\t\t\t\tbg-secondary-alt\n\t\t\t\t\"\n\t\t/>\n\n\t\t<div\n\t\t\tclass=\"\n\t\t\t\tpointer-events-none\n\t\t\t\tabsolute\n\t\t\t\tleft-0\n\t\t\t\ttop-1/2\n\t\t\t\th-xxs\n\t\t\t\t-translate-y-1/2\n\t\t\t\trounded\n\t\t\t\tbg-primary\n\t\t\t\t\"\n\t\t\t:style=\"{\n\t\t\t\twidth: getPercentage + '%',\n\t\t\t}\"\n\t\t/>\n\n\t\t<div\n\t\t\tclass=\"\n\t\t\t\tui-input-range__thumb\n\t\t\t\tpointer-events-none\n\t\t\t\tabsolute\n\t\t\t\tbox-content\n\t\t\t\tsize-xxs\n\t\t\t\t-translate-x-1/2\n\t\t\t\t-translate-y-1/2\n\t\t\t\trounded-full\n\t\t\t\tborder-white\n\t\t\t\tbg-primary\n\t\t\t\t\"\n\t\t\t:style=\"{left: getPercentage + '%'}\"\n\t\t/>\n\t</div>\n</template>\n\n<script lang=\"ts\" setup>\n\timport { computed, ref, watch } from \"vue\";\n\n\tconst props = defineProps<{\n\t\tmodelValue: number;\n\t\tmin: string | number;\n\t\tmax: string | number;\n\t\tstep: string | number;\n\t}>();\n\n\tconst emit = defineEmits([\"update:modelValue\"]);\n\n\tconst rangeModel = computed({\n\t\tget() {\n\t\t\treturn props.modelValue;\n\t\t},\n\t\tset(value) {\n\t\t\temit(\"update:modelValue\", value);\n\t\t}\n\t});\n\n\twatch(()=>[props.min, props.max], () => {\n\t\tif (rangeModel.value < +props.min) {\n\t\t\trangeModel.value = +props.min;\n\t\t} else if (rangeModel.value > +props.max) {\n\t\t\trangeModel.value = +props.max;\n\t\t}\n\t});\n\n\tconst track = ref();\n\n\tconst getPercentage = computed(() => {\n\t\treturn Math.round(((+props.modelValue - +props.min) / (+props.max - +props.min)) * 100);\n\t});\n\n\tconst parseMouseMove = (e: MouseEvent | TouchEvent) => {\n\t\tif (track.value) {\n\t\t\tconst CLICK = \"clientX\";\n\n\t\t\tconst {\n\t\t\t\tleft: trackStart,\n\t\t\t\twidth: trackLength,\n\t\t\t} = track.value.getBoundingClientRect();\n\n\t\t\tconst clickOffset = \"touches\" in e ? e.touches[0][CLICK] : e[CLICK];\n\n\t\t\t// It is possible for left to be NaN, force to number\n\t\t\tconst clickPos = Math.min(Math.max((clickOffset - trackStart ) / trackLength, 0), 1) || 0;\n\n\t\t\tconst mousePositionInPercent = parseFloat(String(props.min)) + clickPos * (+props.max - +props.min);\n\n\t\t\tconst newValue = Math.round((mousePositionInPercent) / +props.step) * +props.step;\n\n\t\t\treturn parseFloat(Math.min(newValue, +props.max).toFixed(2));\n\t\t}\n\t};\n\n\tconst moveHandler = (e: MouseEvent | TouchEvent) => {\n\t\tconst newValue = parseMouseMove(e);\n\n\t\tif (newValue) {\n\t\t\trangeModel.value = newValue;\n\t\t}\n\t};\n\n</script>\n\n<style scoped>\n\tinput[type=\"range\"]::-webkit-slider-thumb {\n\t\tappearance: none;\n\t\theight: 10px;\n\t\twidth: 10px;\n\t\ttransform: scale(4);\n\t\tbackground-color: transparent;\n\t\tborder: 0;\n\t\tbox-shadow: none;\n\t}\n\n\tinput[type=\"range\"]::-moz-range-thumb {\n\t\tappearance: none;\n\t\tbackground-color: transparent;\n\t\tborder: 0;\n\t\tbox-shadow: none;\n\t}\n\n\t.ui-input-range__thumb {\n\t\ttop: 50%;\n\t\tborder-width: 12px;\n\t\tbox-shadow: 0 0 0 4px var(--color-primary);\n\t}\n</style>\n"],"names":["props","__props","emit","__emit","rangeModel","computed","value","watch","track","ref","getPercentage","parseMouseMove","e","CLICK","trackStart","trackLength","clickOffset","clickPos","mousePositionInPercent","newValue","moveHandler"],"mappings":";;;;;;;;;;;AAkEC,UAAMA,IAAQC,GAORC,IAAOC,GAEPC,IAAaC,EAAS;AAAA,MAC3B,MAAM;AACL,eAAOL,EAAM;AAAA,MACd;AAAA,MACA,IAAIM,GAAO;AACV,QAAAJ,EAAK,qBAAqBI,CAAK;AAAA,MAChC;AAAA,IAAA,CACA;AAED,IAAAC,EAAM,MAAI,CAACP,EAAM,KAAKA,EAAM,GAAG,GAAG,MAAM;AACvC,MAAII,EAAW,QAAQ,CAACJ,EAAM,MAClBI,EAAA,QAAQ,CAACJ,EAAM,MAChBI,EAAW,QAAQ,CAACJ,EAAM,QACzBI,EAAA,QAAQ,CAACJ,EAAM;AAAA,IAC3B,CACA;AAED,UAAMQ,IAAQC,KAERC,IAAgBL,EAAS,MACvB,KAAK,OAAQ,CAACL,EAAM,aAAa,CAACA,EAAM,QAAQ,CAACA,EAAM,MAAM,CAACA,EAAM,OAAQ,GAAG,CACtF,GAEKW,IAAiB,CAACC,MAA+B;AACtD,UAAIJ,EAAM,OAAO;AAChB,cAAMK,IAAQ,WAER;AAAA,UACL,MAAMC;AAAA,UACN,OAAOC;AAAA,QAAA,IACJP,EAAM,MAAM,yBAEVQ,IAAc,aAAaJ,IAAIA,EAAE,QAAQ,CAAC,EAAEC,CAAK,IAAID,EAAEC,CAAK,GAG5DI,IAAW,KAAK,IAAI,KAAK,KAAKD,IAAcF,KAAeC,GAAa,CAAC,GAAG,CAAC,KAAK,GAElFG,IAAyB,WAAW,OAAOlB,EAAM,GAAG,CAAC,IAAIiB,KAAY,CAACjB,EAAM,MAAM,CAACA,EAAM,MAEzFmB,IAAW,KAAK,MAAOD,IAA0B,CAAClB,EAAM,IAAI,IAAI,CAACA,EAAM;AAEtE,eAAA,WAAW,KAAK,IAAImB,GAAU,CAACnB,EAAM,GAAG,EAAE,QAAQ,CAAC,CAAC;AAAA,MAC5D;AAAA,IAAA,GAGKoB,IAAc,CAACR,MAA+B;AAC7C,YAAAO,IAAWR,EAAeC,CAAC;AAEjC,MAAIO,MACHf,EAAW,QAAQe;AAAA,IACpB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_types.d.ts","sourceRoot":"","sources":["../../../src/components/ui-list-item/_types.ts"],"names":[],"mappings":"AAAA,oBAAY,cAAc;IACzB,OAAO,YAAY;IACnB,QAAQ,aAAa;CACrB;AACD,oBAAY,gBAAgB;IAC3B,OAAO,YAAY;IACnB,OAAO,YAAY;CACnB;AAED,oBAAY,aAAa;IACxB,EAAE,OAAO;IACT,EAAE,OAAO;CACT"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
var A = /* @__PURE__ */ ((r) => (r.DEFAULT = "DEFAULT", r.PROGRESS = "PROGRESS", r))(A || {}), D = /* @__PURE__ */ ((r) => (r.DEFAULT = "DEFAULT", r.COMPACT = "COMPACT", r))(D || {}), M = /* @__PURE__ */ ((r) => (r.SM = "SM", r.MD = "MD", r))(M || {});
|
|
2
|
-
export {
|
|
3
|
-
M as EListItemSize,
|
|
4
|
-
D as EListItemSpacing,
|
|
5
|
-
A as EListItemTypes
|
|
6
|
-
};
|
|
7
|
-
//# sourceMappingURL=_types.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_types.js","sources":["../../../src/components/ui-list-item/_types.ts"],"sourcesContent":["export enum EListItemTypes {\n\tDEFAULT = \"DEFAULT\",\n\tPROGRESS = \"PROGRESS\"\n}\nexport enum EListItemSpacing {\n\tDEFAULT = \"DEFAULT\",\n\tCOMPACT = \"COMPACT\"\n}\n\nexport enum EListItemSize {\n\tSM = \"SM\",\n\tMD = \"MD\"\n}\n"],"names":["EListItemTypes","EListItemSpacing","EListItemSize"],"mappings":"AAAY,IAAAA,sBAAAA,OACXA,EAAA,UAAU,WACVA,EAAA,WAAW,YAFAA,IAAAA,KAAA,CAAA,CAAA,GAIAC,sBAAAA,OACXA,EAAA,UAAU,WACVA,EAAA,UAAU,WAFCA,IAAAA,KAAA,CAAA,CAAA,GAKAC,sBAAAA,OACXA,EAAA,KAAK,MACLA,EAAA,KAAK,MAFMA,IAAAA,KAAA,CAAA,CAAA;"}
|
|
@@ -1,150 +0,0 @@
|
|
|
1
|
-
import { default as UiListItem } from './ui-list-item.vue';
|
|
2
|
-
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, HTMLAttributes, ComponentOptionsBase } from 'vue';
|
|
3
|
-
import { EListItemSize, EListItemTypes, EListItemSpacing } from './_types';
|
|
4
|
-
import { TIconName } from '../ui-icon';
|
|
5
|
-
export { EListItemTypes, EListItemSpacing, EListItemSize } from './_types';
|
|
6
|
-
export { UiListItem };
|
|
7
|
-
/**
|
|
8
|
-
* @deprecated The default should not be used - use named import as - import {[name]} from "ui/[name]"
|
|
9
|
-
*/
|
|
10
|
-
declare const deprecatedDefault: {
|
|
11
|
-
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
12
|
-
size: {
|
|
13
|
-
type: PropType<EListItemSize>;
|
|
14
|
-
default: EListItemSize;
|
|
15
|
-
};
|
|
16
|
-
icon: {
|
|
17
|
-
type: PropType<TIconName>;
|
|
18
|
-
default: undefined;
|
|
19
|
-
};
|
|
20
|
-
kind: {
|
|
21
|
-
type: PropType<EListItemTypes>;
|
|
22
|
-
default: EListItemTypes;
|
|
23
|
-
};
|
|
24
|
-
title: {
|
|
25
|
-
type: PropType<string>;
|
|
26
|
-
default: string;
|
|
27
|
-
};
|
|
28
|
-
spacing: {
|
|
29
|
-
type: PropType<EListItemSpacing>;
|
|
30
|
-
default: EListItemSpacing;
|
|
31
|
-
};
|
|
32
|
-
iconClass: {
|
|
33
|
-
type: PropType<any>;
|
|
34
|
-
default: string;
|
|
35
|
-
};
|
|
36
|
-
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
37
|
-
size: {
|
|
38
|
-
type: PropType<EListItemSize>;
|
|
39
|
-
default: EListItemSize;
|
|
40
|
-
};
|
|
41
|
-
icon: {
|
|
42
|
-
type: PropType<TIconName>;
|
|
43
|
-
default: undefined;
|
|
44
|
-
};
|
|
45
|
-
kind: {
|
|
46
|
-
type: PropType<EListItemTypes>;
|
|
47
|
-
default: EListItemTypes;
|
|
48
|
-
};
|
|
49
|
-
title: {
|
|
50
|
-
type: PropType<string>;
|
|
51
|
-
default: string;
|
|
52
|
-
};
|
|
53
|
-
spacing: {
|
|
54
|
-
type: PropType<EListItemSpacing>;
|
|
55
|
-
default: EListItemSpacing;
|
|
56
|
-
};
|
|
57
|
-
iconClass: {
|
|
58
|
-
type: PropType<any>;
|
|
59
|
-
default: string;
|
|
60
|
-
};
|
|
61
|
-
}>>, {
|
|
62
|
-
size: EListItemSize;
|
|
63
|
-
icon: TIconName;
|
|
64
|
-
kind: EListItemTypes;
|
|
65
|
-
title: string;
|
|
66
|
-
spacing: EListItemSpacing;
|
|
67
|
-
iconClass: HTMLAttributes["class"];
|
|
68
|
-
}, true, {}, {}, {
|
|
69
|
-
P: {};
|
|
70
|
-
B: {};
|
|
71
|
-
D: {};
|
|
72
|
-
C: {};
|
|
73
|
-
M: {};
|
|
74
|
-
Defaults: {};
|
|
75
|
-
}, Readonly< ExtractPropTypes<{
|
|
76
|
-
size: {
|
|
77
|
-
type: PropType<EListItemSize>;
|
|
78
|
-
default: EListItemSize;
|
|
79
|
-
};
|
|
80
|
-
icon: {
|
|
81
|
-
type: PropType<TIconName>;
|
|
82
|
-
default: undefined;
|
|
83
|
-
};
|
|
84
|
-
kind: {
|
|
85
|
-
type: PropType<EListItemTypes>;
|
|
86
|
-
default: EListItemTypes;
|
|
87
|
-
};
|
|
88
|
-
title: {
|
|
89
|
-
type: PropType<string>;
|
|
90
|
-
default: string;
|
|
91
|
-
};
|
|
92
|
-
spacing: {
|
|
93
|
-
type: PropType<EListItemSpacing>;
|
|
94
|
-
default: EListItemSpacing;
|
|
95
|
-
};
|
|
96
|
-
iconClass: {
|
|
97
|
-
type: PropType<any>;
|
|
98
|
-
default: string;
|
|
99
|
-
};
|
|
100
|
-
}>>, {}, {}, {}, {}, {
|
|
101
|
-
size: EListItemSize;
|
|
102
|
-
icon: TIconName;
|
|
103
|
-
kind: EListItemTypes;
|
|
104
|
-
title: string;
|
|
105
|
-
spacing: EListItemSpacing;
|
|
106
|
-
iconClass: HTMLAttributes["class"];
|
|
107
|
-
}>;
|
|
108
|
-
__isFragment?: never;
|
|
109
|
-
__isTeleport?: never;
|
|
110
|
-
__isSuspense?: never;
|
|
111
|
-
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
112
|
-
size: {
|
|
113
|
-
type: PropType<EListItemSize>;
|
|
114
|
-
default: EListItemSize;
|
|
115
|
-
};
|
|
116
|
-
icon: {
|
|
117
|
-
type: PropType<TIconName>;
|
|
118
|
-
default: undefined;
|
|
119
|
-
};
|
|
120
|
-
kind: {
|
|
121
|
-
type: PropType<EListItemTypes>;
|
|
122
|
-
default: EListItemTypes;
|
|
123
|
-
};
|
|
124
|
-
title: {
|
|
125
|
-
type: PropType<string>;
|
|
126
|
-
default: string;
|
|
127
|
-
};
|
|
128
|
-
spacing: {
|
|
129
|
-
type: PropType<EListItemSpacing>;
|
|
130
|
-
default: EListItemSpacing;
|
|
131
|
-
};
|
|
132
|
-
iconClass: {
|
|
133
|
-
type: PropType<any>;
|
|
134
|
-
default: string;
|
|
135
|
-
};
|
|
136
|
-
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
137
|
-
size: EListItemSize;
|
|
138
|
-
icon: TIconName;
|
|
139
|
-
kind: EListItemTypes;
|
|
140
|
-
title: string;
|
|
141
|
-
spacing: EListItemSpacing;
|
|
142
|
-
iconClass: HTMLAttributes["class"];
|
|
143
|
-
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
144
|
-
$slots: {
|
|
145
|
-
icon?(_: {}): any;
|
|
146
|
-
default?(_: {}): any;
|
|
147
|
-
};
|
|
148
|
-
});
|
|
149
|
-
export default deprecatedDefault;
|
|
150
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ui-list-item/index.ts"],"names":[],"mappings":";;;AAAA,OAAO,UAAU,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAC3E,OAAO,EAAE,UAAU,EAAE,CAAC;AACtB;;GAEG;AACH,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAa,CAAC;AACrC,eAAe,iBAAiB,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import t from "./ui-list-item.vue.js";
|
|
2
|
-
import { EListItemSize as a, EListItemSpacing as o, EListItemTypes as p } from "./_types.js";
|
|
3
|
-
const i = t;
|
|
4
|
-
export {
|
|
5
|
-
a as EListItemSize,
|
|
6
|
-
o as EListItemSpacing,
|
|
7
|
-
p as EListItemTypes,
|
|
8
|
-
t as UiListItem,
|
|
9
|
-
i as default
|
|
10
|
-
};
|
|
11
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/components/ui-list-item/index.ts"],"sourcesContent":["import UiListItem from \"./ui-list-item.vue\";\nexport { EListItemTypes, EListItemSpacing, EListItemSize } from \"./_types\";\nexport { UiListItem };\n/**\n * @deprecated The default should not be used - use named import as - import {[name]} from \"ui/[name]\"\n */\nconst deprecatedDefault = UiListItem;\nexport default deprecatedDefault;\n"],"names":["deprecatedDefault","UiListItem"],"mappings":";;AAMA,MAAMA,IAAoBC;"}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import { TIconName } from '../ui-icon';
|
|
2
|
-
import { EListItemTypes, EListItemSpacing, EListItemSize } from './_types';
|
|
3
|
-
import { HTMLAttributes, DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
4
|
-
declare function __VLS_template(): {
|
|
5
|
-
slots: {
|
|
6
|
-
icon?(_: {}): any;
|
|
7
|
-
default?(_: {}): any;
|
|
8
|
-
};
|
|
9
|
-
refs: {};
|
|
10
|
-
attrs: Partial<{}>;
|
|
11
|
-
};
|
|
12
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
-
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
14
|
-
icon?: TIconName;
|
|
15
|
-
title?: string;
|
|
16
|
-
kind?: EListItemTypes;
|
|
17
|
-
size?: EListItemSize;
|
|
18
|
-
spacing?: EListItemSpacing;
|
|
19
|
-
iconClass?: HTMLAttributes["class"];
|
|
20
|
-
}>, {
|
|
21
|
-
kind: EListItemTypes;
|
|
22
|
-
size: EListItemSize;
|
|
23
|
-
spacing: EListItemSpacing;
|
|
24
|
-
title: string;
|
|
25
|
-
icon: undefined;
|
|
26
|
-
iconClass: string;
|
|
27
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
28
|
-
icon?: TIconName;
|
|
29
|
-
title?: string;
|
|
30
|
-
kind?: EListItemTypes;
|
|
31
|
-
size?: EListItemSize;
|
|
32
|
-
spacing?: EListItemSpacing;
|
|
33
|
-
iconClass?: HTMLAttributes["class"];
|
|
34
|
-
}>, {
|
|
35
|
-
kind: EListItemTypes;
|
|
36
|
-
size: EListItemSize;
|
|
37
|
-
spacing: EListItemSpacing;
|
|
38
|
-
title: string;
|
|
39
|
-
icon: undefined;
|
|
40
|
-
iconClass: string;
|
|
41
|
-
}>>>, {
|
|
42
|
-
size: EListItemSize;
|
|
43
|
-
icon: TIconName;
|
|
44
|
-
kind: EListItemTypes;
|
|
45
|
-
title: string;
|
|
46
|
-
spacing: EListItemSpacing;
|
|
47
|
-
iconClass: HTMLAttributes["class"];
|
|
48
|
-
}, {}>;
|
|
49
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
50
|
-
export default _default;
|
|
51
|
-
type __VLS_WithDefaults<P, D> = {
|
|
52
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
53
|
-
default: D[K];
|
|
54
|
-
}> : P[K];
|
|
55
|
-
};
|
|
56
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
57
|
-
type __VLS_TypePropsToOption<T> = {
|
|
58
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
59
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
60
|
-
} : {
|
|
61
|
-
type: PropType<T[K]>;
|
|
62
|
-
required: true;
|
|
63
|
-
};
|
|
64
|
-
};
|
|
65
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
66
|
-
new (): {
|
|
67
|
-
$slots: S;
|
|
68
|
-
};
|
|
69
|
-
};
|
|
70
|
-
type __VLS_PrettifyLocal<T> = {
|
|
71
|
-
[K in keyof T]: T[K];
|
|
72
|
-
} & {};
|
|
73
|
-
//# sourceMappingURL=ui-list-item.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ui-list-item.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui-list-item/ui-list-item.vue"],"names":[],"mappings":"AA4FC,OAAe,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAGpD,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAC3E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAkC3C,iBAAS,cAAc;;sBA0FG,GAAG;yBACC,GAAG;;;WASnB,OAAO,IAA6B;EAEjD;AAeD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;WAnJZ,SAAS;YACR,MAAM;WACP,cAAc;WACd,aAAa;cACV,gBAAgB;gBACd,cAAc,CAAC,OAAO,CAAC;;;;;;;;;WAL5B,SAAS;YACR,MAAM;WACP,cAAc;WACd,aAAa;cACV,gBAAgB;gBACd,cAAc,CAAC,OAAO,CAAC;;;;;;;;;UAF5B,aAAa;UAHb,SAAS;UAET,cAAc;WADb,MAAM;aAGJ,gBAAgB;eACd,cAAc,CAAC,OAAO,CAAC;MAoJnC,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAKpG,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAC9B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAC7C,mBAAmB,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QAAE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KAAC,CAAC,GAC5C,CAAC,CAAC,CAAC,CAAC;CACP,CAAC;AACF,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC;AACF,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC;AACF,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import { defineComponent as c, openBlock as i, createElementBlock as n, normalizeClass as o, unref as t, createCommentVNode as s, renderSlot as m, createBlock as a, createElementVNode as g, withCtx as d, createTextVNode as h, toDisplayString as S } from "vue";
|
|
2
|
-
import E from "../ui-icon/index.js";
|
|
3
|
-
import p from "../ui-typography/index.js";
|
|
4
|
-
import { ESize as C } from "../../_types/sizing.js";
|
|
5
|
-
import { EListItemTypes as u, EListItemSize as l, EListItemSpacing as r } from "./_types.js";
|
|
6
|
-
import { ETextWeight as f } from "../ui-typography/_typings.js";
|
|
7
|
-
const k = {
|
|
8
|
-
key: 0,
|
|
9
|
-
class: "ui-list-item__line absolute left-xxs top-xs h-full w-xxxs -translate-x-2/4 bg-primary-300 group-last:hidden"
|
|
10
|
-
}, x = { class: "ml-md" }, I = /* @__PURE__ */ c({
|
|
11
|
-
__name: "ui-list-item",
|
|
12
|
-
props: {
|
|
13
|
-
icon: { default: void 0 },
|
|
14
|
-
title: { default: "" },
|
|
15
|
-
kind: { default: u.DEFAULT },
|
|
16
|
-
size: { default: l.SM },
|
|
17
|
-
spacing: { default: r.COMPACT },
|
|
18
|
-
iconClass: { default: "" }
|
|
19
|
-
},
|
|
20
|
-
setup(y) {
|
|
21
|
-
return (e, z) => (i(), n("li", {
|
|
22
|
-
class: o(["ui-list-item group relative grid grid-flow-col justify-start gap-xxs text-secondary", [
|
|
23
|
-
e.size === t(l).SM && "text-sm",
|
|
24
|
-
e.size === t(l).MD && "text-md",
|
|
25
|
-
e.spacing === t(r).DEFAULT && "pb-sm",
|
|
26
|
-
e.spacing === t(r).COMPACT && "pb-xxs"
|
|
27
|
-
]])
|
|
28
|
-
}, [
|
|
29
|
-
e.kind === t(u).PROGRESS ? (i(), n("div", k)) : s("", !0),
|
|
30
|
-
m(e.$slots, "icon", {}, () => [
|
|
31
|
-
e.icon ? (i(), a(t(E), {
|
|
32
|
-
key: 0,
|
|
33
|
-
class: o(["absolute left-0 bg-white", [
|
|
34
|
-
e.iconClass,
|
|
35
|
-
e.size === t(l).SM ? "top-[-2px]" : "top-[-1px]"
|
|
36
|
-
]]),
|
|
37
|
-
"icon-name": e.icon,
|
|
38
|
-
size: t(C).SM
|
|
39
|
-
}, null, 8, ["class", "icon-name", "size"])) : s("", !0)
|
|
40
|
-
]),
|
|
41
|
-
g("div", x, [
|
|
42
|
-
e.title ? (i(), a(t(p), {
|
|
43
|
-
key: 0,
|
|
44
|
-
weight: t(f).SEMI_BOLD
|
|
45
|
-
}, {
|
|
46
|
-
default: d(() => [
|
|
47
|
-
h(S(e.title), 1)
|
|
48
|
-
]),
|
|
49
|
-
_: 1
|
|
50
|
-
}, 8, ["weight"])) : s("", !0),
|
|
51
|
-
e.$slots.default ? (i(), a(t(p), {
|
|
52
|
-
key: 1,
|
|
53
|
-
class: o([e.title && "mt-xxxs"]),
|
|
54
|
-
weight: t(f).LIGHT
|
|
55
|
-
}, {
|
|
56
|
-
default: d(() => [
|
|
57
|
-
m(e.$slots, "default")
|
|
58
|
-
]),
|
|
59
|
-
_: 3
|
|
60
|
-
}, 8, ["class", "weight"])) : s("", !0)
|
|
61
|
-
])
|
|
62
|
-
], 2));
|
|
63
|
-
}
|
|
64
|
-
});
|
|
65
|
-
export {
|
|
66
|
-
I as default
|
|
67
|
-
};
|
|
68
|
-
//# sourceMappingURL=ui-list-item.vue.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ui-list-item.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|