"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); exports.__esModule = true; exports.default = void 0; var _babelHelperVueJsxMergeProps = _interopRequireDefault(require("@vue/babel-helper-vue-jsx-merge-props")); var _utils = require("../utils"); var _functional = require("../utils/functional"); // Utils var _createNamespace = (0, _utils.createNamespace)('info'), createComponent = _createNamespace[0], bem = _createNamespace[1]; function Info(h, props, slots, ctx) { var dot = props.dot, info = props.info; var showInfo = (0, _utils.isDef)(info) && info !== ''; if (!dot && !showInfo) { return; } return h("div", (0, _babelHelperVueJsxMergeProps.default)([{ "class": bem({ dot: dot }) }, (0, _functional.inherit)(ctx, true)]), [dot ? '' : props.info]); } Info.props = { dot: Boolean, info: [Number, String] }; var _default = createComponent(Info); exports.default = _default;