UNPKG

@farris/ui-vue

Version:

Farris Vue, a Farris Design based Vue3 component library.

39 lines (38 loc) 1.13 kB
/** * Date Picker 组件用来选择日期。 * * @example * ```vue * <script setup lang="ts"> * import { ref } from 'vue'; * * const currentDate = ref('2023-04-19T18:09:27'); * const disableUntil = ref({ year: 2023, month: 4, day: 13 }); * * function updateValue() { * currentDate.value = '2024/06/18'; * } * * </script> * <template> * <f-date-picker * showTime * v-model="currentDate" * :display-format="'yyyy年MM月dd日HH时mm分ss秒'" * :value-format="'yyyy-MM-dd HH:mm:ss'" * ></f-date-picker> * <button class="btn btn-primary" @click="updateValue">更新为618</button> * 当前期为: {{ currentDate }} * </template> * ``` * * @public */ declare const _default: import("vue").DefineComponent<{ [x: string]: any; }, () => any, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{ [x: string]: any; }> & Readonly<{}>, { [x: string]: any; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; export default _default;