Files
mixtape/zero.Backoffice.UI/dist/zero/text.js
T
2021-11-19 16:11:12 +01:00

43 lines
1.3 KiB
JavaScript

import {n as normalizeComponent} from "./index.js";
import "./vendor.js";
var render = function() {
var _vm = this;
var _h = _vm.$createElement;
var _c = _vm._self._c || _h;
return _c("input", {directives: [{name: "placeholder", rawName: "v-placeholder", value: {placeholder: _vm.placeholder, model: _vm.entity}, expression: "{ placeholder, model: entity }"}], staticClass: "ui-input", attrs: {type: "text", maxlength: _vm.maxLength, disabled: _vm.disabled}, domProps: {value: _vm.value}, on: {input: function($event) {
return _vm.$emit("input", $event.target.value);
}}});
};
var staticRenderFns = [];
const script = {
props: {
value: {
type: String,
default: null
},
maxLength: {
type: Number,
default: null
},
disabled: {
type: Boolean,
default: false
},
placeholder: {
type: [String, Function],
default: null
},
entity: Object
}
};
const __cssModules = {};
var component = normalizeComponent(script, render, staticRenderFns, false, injectStyles, null, null, null);
function injectStyles(context) {
for (let o in __cssModules) {
this[o] = __cssModules[o];
}
}
component.options.__file = "app/editor/fields/text.vue";
var text = component.exports;
export default text;