@dialpad/dialtone
Version:
Dialpad's Dialtone design system monorepo
44 lines (43 loc) • 2.16 kB
JavaScript
"use strict";
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
const vue2 = require("@tiptap/vue-2");
const vue2$1 = require("@dialpad/dialtone-icons/vue2");
const _pluginVue2_normalizer = require("../../../../../_virtual/_plugin-vue2_normalizer.cjs");
const item_layout = require("../../../../../components/item_layout/item_layout.vue.cjs");
const button = require("../../../../../components/button/button.vue.cjs");
const _sfc_main = {
name: "MeetingPill",
components: {
NodeViewWrapper: vue2.NodeViewWrapper,
DtItemLayout: item_layout.default,
DtIconClose: vue2$1.DtIconClose,
DtButton: button.default,
DtIconVideo: vue2$1.DtIconVideo
},
props: vue2.nodeViewProps,
emits: ["meeting-pill-close"],
methods: {
close(e) {
this.$parent.$emit("meeting-pill-close", e);
}
}
};
var _sfc_render = function render() {
var _vm = this, _c = _vm._self._c;
return _c("node-view-wrapper", { staticClass: "d-recipe-message-input-meeting-pill" }, [_c("dt-item-layout", { staticClass: "d-recipe-message-input-meeting-pill__layout", attrs: { "unstyled": "" }, scopedSlots: _vm._u([{ key: "left", fn: function() {
return [_c("div", { staticClass: "d-recipe-message-input-meeting-pill__icon" }, [_c("dt-icon-video", { attrs: { "size": "400" } })], 1)];
}, proxy: true }, { key: "right", fn: function() {
return [_c("div", { staticClass: "d-recipe-message-input-meeting-pill__close" }, [_c("dt-button", { attrs: { "circle": "", "aria-label": _vm.node.attrs["close-button-aria-label"], "size": "xs", "importance": "clear" }, on: { "click": _vm.close }, scopedSlots: _vm._u([{ key: "icon", fn: function() {
return [_c("dt-icon-close", { attrs: { "size": "300" } })];
}, proxy: true }]) })], 1)];
}, proxy: true }]) }, [_vm._v(" " + _vm._s(_vm.node.attrs.text) + " ")])], 1);
};
var _sfc_staticRenderFns = [];
var __component__ = /* @__PURE__ */ _pluginVue2_normalizer.default(
_sfc_main,
_sfc_render,
_sfc_staticRenderFns
);
const MeetingPill = __component__.exports;
exports.default = MeetingPill;
//# sourceMappingURL=MeetingPill.vue.cjs.map