UNPKG

birdpaper-ui

Version:

一个通用的 vue3 UI组件库。A common vue3 UI component library.

49 lines (48 loc) 2.11 kB
"use strict"; const datePicker_vue_vue_type_script_lang = require("./datePicker.vue2.js"); const vue = require("vue"); const _pluginVue_exportHelper = require("../../_virtual/_plugin-vue_export-helper.js"); function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { const _component_IconCalendarLine = vue.resolveComponent("IconCalendarLine"); const _component_bp_input = vue.resolveComponent("bp-input"); const _component_picker_panel = vue.resolveComponent("picker-panel"); const _component_bp_trigger = vue.resolveComponent("bp-trigger"); return vue.openBlock(), vue.createBlock(_component_bp_trigger, { popupVisible: _ctx.showPopup, "onUpdate:popupVisible": _cache[1] || (_cache[1] = ($event) => _ctx.showPopup = $event), transition: "fade-dropdown", hideTrigger: _ctx.hideTrigger, disabled: _ctx.disabled, "popup-offset": 10, position: "left-bottom", "update-at-scroll": "" }, { content: vue.withCtx(() => [ vue.createVNode(_component_picker_panel) ]), default: vue.withCtx(() => [ vue.createVNode(_component_bp_input, { ref: "inputRef", modelValue: _ctx.global_value, "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.global_value = $event), class: vue.normalizeClass(_ctx.name), placeholder: _ctx.placeholder, disabled: _ctx.disabled, readonly: _ctx.readonly, "is-danger": _ctx.isDanger, clearable: _ctx.clearable, size: _ctx.size, onInput: _ctx.onInput, onBlur: _ctx.onBlur }, { perfix: vue.withCtx(() => [ vue.createVNode(_component_IconCalendarLine, { style: { "position": "relative", "top": "1px" } }) ]), _: 1 }, 8, ["modelValue", "class", "placeholder", "disabled", "readonly", "is-danger", "clearable", "size", "onInput", "onBlur"]) ]), _: 1 }, 8, ["popupVisible", "hideTrigger", "disabled"]); } const _datePicker = /* @__PURE__ */ _pluginVue_exportHelper(datePicker_vue_vue_type_script_lang, [["render", _sfc_render]]); module.exports = _datePicker;