UNPKG

saturn-ui

Version:

🪐 一款轻量级、模块化的Web可视化UI组件库(含大屏、GIS、图表、视频、后台等模块) 👍

63 lines (55 loc) 2.04 kB
import { defineComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, renderSlot } from 'vue'; const withInstall = (main, extra) => { main.install = (app) => { for (const comp of [main, ...Object.values(extra ?? {})]) { app.component(comp.name, comp); } }; if (extra) { for (const [key, comp] of Object.entries(extra)) { main[key] = comp; } } return main; }; const _hoisted_1$1 = { class: "ice-panel-1" }; const _hoisted_2$1 = { class: "title" }; const _hoisted_3$1 = { class: "content" }; var script$1 = defineComponent({ props: { title: { type: String, required: false } }, setup(__props) { return (_ctx, _cache) => { return (openBlock(), createElementBlock("div", _hoisted_1$1, [ createElementVNode("div", _hoisted_2$1, toDisplayString(__props.title), 1), createElementVNode("div", _hoisted_3$1, [ renderSlot(_ctx.$slots, "default") ]) ])); }; } }); script$1.__file = "packages/IcePanel/panel1/index.vue"; const _hoisted_1 = { class: "ice-panel-2" }; const _hoisted_2 = { class: "title" }; const _hoisted_3 = { class: "content" }; var script = defineComponent({ props: { title: { type: String, required: false } }, setup(__props) { return (_ctx, _cache) => { return (openBlock(), createElementBlock("div", _hoisted_1, [ createElementVNode("div", _hoisted_2, toDisplayString(__props.title), 1), createElementVNode("div", _hoisted_3, [ renderSlot(_ctx.$slots, "default") ]) ])); }; } }); script.__file = "packages/IcePanel/panel2/index.vue"; const IcePanel = withInstall(script$1, { name: 'IcePanel' }); const IcePanel2 = withInstall(script, { name: 'IcePanel2' }); export { IcePanel, IcePanel2, IcePanel as default };