UNPKG

various-ui

Version:

This is a test version of the Vue 3 component library

1 lines 2.34 kB
{"version":3,"file":"index.vue2.mjs","sources":["../../../../../packages/components/input/steps/index.vue"],"sourcesContent":["<script lang=\"ts\">\nimport { defineComponent as __MACROS_defineComponent } from \"vue\";\nexport default /*#__PURE__*/ __MACROS_defineComponent({ name: \"UiStepsInput\" });\n</script>\n<template>\r\n <div class=\"ui-steps-input\" v-bind=\"binds.container\">\r\n <div class=\"ui-steps-container\" :style=\"style\" :class=\"{ 'ui-active': currentPage == 'start' }\">\r\n <input class=\"ui-form-control ui-steps-control\" v-model=\"modelValue.start\" v-bind=\"binds.input.start\" v-on=\"ons.start\" />\r\n <input class=\"ui-form-control ui-steps-number\" v-model=\"modelValue['start-steps']\" v-bind=\"binds.number\" v-on=\"ons.start\" />\r\n </div>\r\n <div class=\"ui-steps-rect\" v-bind=\"binds.rect\"></div>\r\n <div class=\"ui-steps-container\" :style=\"style\" :class=\"{ 'ui-active': currentPage == 'end' }\">\r\n <input class=\"ui-form-control ui-steps-control\" v-model=\"modelValue.end\" v-bind=\"binds.input.end\" v-on=\"ons.end\" />\r\n <input class=\"ui-form-control ui-steps-number\" v-model=\"modelValue['end-steps']\" v-bind=\"binds.number\" v-on=\"ons.end\" />\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<script lang=\"ts\" setup>\r\n//* 组件属性\r\nimport { UiStepsInputPropsOption, UiStepsInputEmits } from \"./index\";\r\nimport { useComposable } from \"./src/composable\";\r\n\r\n//* 注册组件属性\r\nconst define = defineProps(UiStepsInputPropsOption);\r\nconst emits = defineEmits(UiStepsInputEmits);\r\n\r\n//* 组合函数\r\nconst { ons, refs, binds, computeds } = useComposable(define, emits);\r\nconst { currentPage } = refs;\r\nconst { style } = computeds;\r\n\r\n//* 注册化组件配置\r\n;\r\n</script>\r\n"],"names":["__MACROS_defineComponent"],"mappings":";;;;AAEA,MAA6B,WAAA,GAAAA,eAAA,CAAyB,EAAE,IAAA,EAAM,gBAAgB,CAAA,CAAA;;;;;;AAsB9E,IAAA,MAAM,MAAS,GAAA,OAAA,CAAA;AACf,IAAA,MAAM,KAAQ,GAAA,MAAA,CAAA;AAGd,IAAM,MAAA,EAAE,KAAK,IAAM,EAAA,KAAA,EAAO,WAAc,GAAA,aAAA,CAAc,QAAQ,KAAK,CAAA,CAAA;AACnE,IAAM,MAAA,EAAE,aAAgB,GAAA,IAAA,CAAA;AACxB,IAAM,MAAA,EAAE,OAAU,GAAA,SAAA,CAAA;AAGlB,IAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}