UNPKG

@fmdevui/fm-dev

Version:

Page level components developed based on Element Plus.

36 lines (31 loc) 1.53 kB
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var vue = require('vue'); var pinia = require('pinia'); require('../../stores/index.js'); require('./topBar/index.vue.js'); require('./tagsView/tagsView.vue.js'); var index_vue_vue_type_script_setup_true_name_layoutBreadcrumbIndex_lang = require('./topBar/index.vue2.js'); var tagsView_vue_vue_type_script_setup_true_name_layoutTagsView_lang = require('./tagsView/tagsView.vue2.js'); var themeConfig = require('../../stores/themeConfig.js'); const _hoisted_1 = { class: "layout-navbars-container" }; var _sfc_main = /* @__PURE__ */ vue.defineComponent({ __name: "index", setup(__props) { const BreadcrumbIndex = index_vue_vue_type_script_setup_true_name_layoutBreadcrumbIndex_lang.default; const TagsView = tagsView_vue_vue_type_script_setup_true_name_layoutTagsView_lang.default; const storesThemeConfig = themeConfig.useThemeConfig(); const { themeConfig: themeConfig$1 } = pinia.storeToRefs(storesThemeConfig); const setShowTagsView = vue.computed(() => { let { layout, isTagsview } = themeConfig$1.value; return layout !== "classic" && isTagsview; }); return (_ctx, _cache) => { return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [ vue.createVNode(vue.unref(BreadcrumbIndex)), setShowTagsView.value ? (vue.openBlock(), vue.createBlock(vue.unref(TagsView), { key: 0 })) : vue.createCommentVNode("v-if", true) ]); }; } }); exports.default = _sfc_main;