@fmdeui/fmui 1.0.28 → 1.0.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/component.mjs +3 -1
- package/es/components/fm-layout/index.d.ts +32 -0
- package/es/components/fm-layout/src/component/aside.vue.d.ts +5 -0
- package/es/components/fm-layout/src/component/columnsAside.vue.d.ts +5 -0
- package/es/components/fm-layout/src/component/header.vue.d.ts +16 -0
- package/es/components/fm-layout/src/component/main.vue.d.ts +7 -0
- package/es/components/fm-layout/src/footer/index.vue.d.ts +3 -0
- package/es/components/fm-layout/src/index.vue.d.ts +22 -0
- package/es/components/fm-layout/src/logo/index.vue.d.ts +3 -0
- package/es/components/fm-layout/src/main/classic.vue.d.ts +18 -0
- package/es/components/fm-layout/src/main/columns.vue.d.ts +19 -0
- package/es/components/fm-layout/src/main/defaults.vue.d.ts +48 -0
- package/es/components/fm-layout/src/main/transverse.vue.d.ts +18 -0
- package/es/components/fm-layout/src/navBars/index.vue.d.ts +16 -0
- package/es/components/fm-layout/src/navBars/tagsView/contextmenu.vue.d.ts +28 -0
- package/es/components/fm-layout/src/navBars/tagsView/tagsView.vue.d.ts +45 -0
- package/es/components/fm-layout/src/navBars/topBar/breadcrumb.vue.d.ts +3 -0
- package/es/components/fm-layout/src/navBars/topBar/index.vue.d.ts +16 -0
- package/es/components/fm-layout/src/navBars/topBar/search.vue.d.ts +7 -0
- package/es/components/fm-layout/src/navBars/topBar/upgradeInfo.vue.d.ts +5 -0
- package/es/components/fm-layout/src/navBars/topBar/user.vue.d.ts +75 -0
- package/es/components/fm-layout/src/navBars/topBar/userNews.vue.d.ts +9 -0
- package/es/components/fm-layout/src/navMenu/horizontal.vue.d.ts +42 -0
- package/es/components/fm-layout/src/navMenu/subItem.vue.d.ts +42 -0
- package/es/components/fm-layout/src/navMenu/vertical.vue.d.ts +42 -0
- package/es/components/fm-layout/src/routerView/iframes.vue.d.ts +35 -0
- package/es/components/fm-layout/src/routerView/parent.vue.d.ts +3 -0
- package/es/components/fm-layout/src/type.d.ts +2 -0
- package/es/components/fm-layout/style/css.d.ts +0 -0
- package/es/components/fm-layout/style/index.d.ts +0 -0
- package/es/components/index.d.ts +1 -0
- package/es/packages/components/fm-layout/index.mjs +7 -0
- package/es/packages/components/fm-layout/src/component/aside.vue.mjs +5 -0
- package/es/packages/components/fm-layout/src/component/aside.vue2.mjs +175 -0
- package/es/packages/components/fm-layout/src/component/columnsAside.vue.mjs +5 -0
- package/es/packages/components/fm-layout/src/component/columnsAside.vue2.mjs +273 -0
- package/es/packages/components/fm-layout/src/component/header.vue.mjs +5 -0
- package/es/packages/components/fm-layout/src/component/header.vue2.mjs +50 -0
- package/es/packages/components/fm-layout/src/component/main.vue.mjs +5 -0
- package/es/packages/components/fm-layout/src/component/main.vue2.mjs +81 -0
- package/es/packages/components/fm-layout/src/footer/index.vue.mjs +5 -0
- package/es/packages/components/fm-layout/src/footer/index.vue2.mjs +29 -0
- package/es/packages/components/fm-layout/src/index.vue.mjs +5 -0
- package/es/packages/components/fm-layout/src/index.vue2.mjs +91 -0
- package/es/packages/components/fm-layout/src/logo/index.vue.mjs +5 -0
- package/es/packages/components/fm-layout/src/logo/index.vue2.mjs +57 -0
- package/es/packages/components/fm-layout/src/main/classic.vue.mjs +5 -0
- package/es/packages/components/fm-layout/src/main/classic.vue2.mjs +87 -0
- package/es/packages/components/fm-layout/src/main/columns.vue.mjs +5 -0
- package/es/packages/components/fm-layout/src/main/columns.vue2.mjs +100 -0
- package/es/packages/components/fm-layout/src/main/defaults.vue.mjs +5 -0
- package/es/packages/components/fm-layout/src/main/defaults.vue2.mjs +153 -0
- package/es/packages/components/fm-layout/src/main/transverse.vue.mjs +5 -0
- package/es/packages/components/fm-layout/src/main/transverse.vue2.mjs +70 -0
- package/es/packages/components/fm-layout/src/navBars/index.vue.mjs +5 -0
- package/es/packages/components/fm-layout/src/navBars/index.vue2.mjs +44 -0
- package/es/packages/components/fm-layout/src/navBars/tagsView/contextmenu.vue.mjs +5 -0
- package/es/packages/components/fm-layout/src/navBars/tagsView/contextmenu.vue2.mjs +156 -0
- package/es/packages/components/fm-layout/src/navBars/tagsView/tagsView.vue.mjs +5 -0
- package/es/packages/components/fm-layout/src/navBars/tagsView/tagsView.vue2.mjs +576 -0
- package/es/packages/components/fm-layout/src/navBars/topBar/breadcrumb.vue.mjs +5 -0
- package/es/packages/components/fm-layout/src/navBars/topBar/breadcrumb.vue2.mjs +169 -0
- package/es/packages/components/fm-layout/src/navBars/topBar/index.vue.mjs +5 -0
- package/es/packages/components/fm-layout/src/navBars/topBar/index.vue2.mjs +113 -0
- package/es/packages/components/fm-layout/src/navBars/topBar/search.vue.mjs +5 -0
- package/es/packages/components/fm-layout/src/navBars/topBar/search.vue2.mjs +120 -0
- package/es/packages/components/fm-layout/src/navBars/topBar/upgradeInfo.vue.mjs +5 -0
- package/es/packages/components/fm-layout/src/navBars/topBar/upgradeInfo.vue2.mjs +72 -0
- package/es/packages/components/fm-layout/src/navBars/topBar/user.vue.mjs +5 -0
- package/es/packages/components/fm-layout/src/navBars/topBar/user.vue2.mjs +699 -0
- package/es/packages/components/fm-layout/src/navBars/topBar/userNews.vue.mjs +5 -0
- package/es/packages/components/fm-layout/src/navBars/topBar/userNews.vue2.mjs +255 -0
- package/es/packages/components/fm-layout/src/navMenu/horizontal.vue.mjs +5 -0
- package/es/packages/components/fm-layout/src/navMenu/horizontal.vue2.mjs +182 -0
- package/es/packages/components/fm-layout/src/navMenu/subItem.vue.mjs +5 -0
- package/es/packages/components/fm-layout/src/navMenu/subItem.vue2.mjs +113 -0
- package/es/packages/components/fm-layout/src/navMenu/vertical.vue.mjs +5 -0
- package/es/packages/components/fm-layout/src/navMenu/vertical.vue2.mjs +159 -0
- package/es/packages/components/fm-layout/src/routerView/iframes.vue.mjs +5 -0
- package/es/packages/components/fm-layout/src/routerView/iframes.vue2.mjs +128 -0
- package/es/packages/components/fm-layout/src/routerView/parent.vue.mjs +5 -0
- package/es/packages/components/fm-layout/src/routerView/parent.vue2.mjs +141 -0
- package/es/packages/components/fm-layout/src/type.mjs +1 -0
- package/es/packages/components/index.mjs +1 -0
- package/index.js +4071 -73
- package/index.min.js +5 -5
- package/index.min.mjs +5 -5
- package/index.mjs +4082 -81
- package/lib/component.js +3 -1
- package/lib/components/fm-layout/index.d.ts +32 -0
- package/lib/components/fm-layout/src/component/aside.vue.d.ts +5 -0
- package/lib/components/fm-layout/src/component/columnsAside.vue.d.ts +5 -0
- package/lib/components/fm-layout/src/component/header.vue.d.ts +16 -0
- package/lib/components/fm-layout/src/component/main.vue.d.ts +7 -0
- package/lib/components/fm-layout/src/footer/index.vue.d.ts +3 -0
- package/lib/components/fm-layout/src/index.vue.d.ts +22 -0
- package/lib/components/fm-layout/src/logo/index.vue.d.ts +3 -0
- package/lib/components/fm-layout/src/main/classic.vue.d.ts +18 -0
- package/lib/components/fm-layout/src/main/columns.vue.d.ts +19 -0
- package/lib/components/fm-layout/src/main/defaults.vue.d.ts +48 -0
- package/lib/components/fm-layout/src/main/transverse.vue.d.ts +18 -0
- package/lib/components/fm-layout/src/navBars/index.vue.d.ts +16 -0
- package/lib/components/fm-layout/src/navBars/tagsView/contextmenu.vue.d.ts +28 -0
- package/lib/components/fm-layout/src/navBars/tagsView/tagsView.vue.d.ts +45 -0
- package/lib/components/fm-layout/src/navBars/topBar/breadcrumb.vue.d.ts +3 -0
- package/lib/components/fm-layout/src/navBars/topBar/index.vue.d.ts +16 -0
- package/lib/components/fm-layout/src/navBars/topBar/search.vue.d.ts +7 -0
- package/lib/components/fm-layout/src/navBars/topBar/upgradeInfo.vue.d.ts +5 -0
- package/lib/components/fm-layout/src/navBars/topBar/user.vue.d.ts +75 -0
- package/lib/components/fm-layout/src/navBars/topBar/userNews.vue.d.ts +9 -0
- package/lib/components/fm-layout/src/navMenu/horizontal.vue.d.ts +42 -0
- package/lib/components/fm-layout/src/navMenu/subItem.vue.d.ts +42 -0
- package/lib/components/fm-layout/src/navMenu/vertical.vue.d.ts +42 -0
- package/lib/components/fm-layout/src/routerView/iframes.vue.d.ts +35 -0
- package/lib/components/fm-layout/src/routerView/parent.vue.d.ts +3 -0
- package/lib/components/fm-layout/src/type.d.ts +2 -0
- package/lib/components/fm-layout/style/css.d.ts +0 -0
- package/lib/components/fm-layout/style/index.d.ts +0 -0
- package/lib/components/index.d.ts +1 -0
- package/lib/{index.css → defaults.css} +2 -2
- package/lib/packages/components/fm-layout/index.js +9 -0
- package/lib/packages/components/fm-layout/src/component/aside.vue.js +9 -0
- package/lib/packages/components/fm-layout/src/component/aside.vue2.js +179 -0
- package/lib/packages/components/fm-layout/src/component/columnsAside.vue.js +9 -0
- package/lib/packages/components/fm-layout/src/component/columnsAside.vue2.js +277 -0
- package/lib/packages/components/fm-layout/src/component/header.vue.js +9 -0
- package/lib/packages/components/fm-layout/src/component/header.vue2.js +54 -0
- package/lib/packages/components/fm-layout/src/component/main.vue.js +9 -0
- package/lib/packages/components/fm-layout/src/component/main.vue2.js +85 -0
- package/lib/packages/components/fm-layout/src/footer/index.vue.js +9 -0
- package/lib/packages/components/fm-layout/src/footer/index.vue2.js +33 -0
- package/lib/packages/components/fm-layout/src/index.vue.js +9 -0
- package/lib/packages/components/fm-layout/src/index.vue2.js +95 -0
- package/lib/packages/components/fm-layout/src/logo/index.vue.js +9 -0
- package/lib/packages/components/fm-layout/src/logo/index.vue2.js +61 -0
- package/lib/packages/components/fm-layout/src/main/classic.vue.js +9 -0
- package/lib/packages/components/fm-layout/src/main/classic.vue2.js +91 -0
- package/lib/packages/components/fm-layout/src/main/columns.vue.js +9 -0
- package/lib/packages/components/fm-layout/src/main/columns.vue2.js +104 -0
- package/lib/packages/components/fm-layout/src/main/defaults.vue.js +9 -0
- package/lib/packages/components/fm-layout/src/main/defaults.vue2.js +157 -0
- package/lib/packages/components/fm-layout/src/main/transverse.vue.js +9 -0
- package/lib/packages/components/fm-layout/src/main/transverse.vue2.js +74 -0
- package/lib/packages/components/fm-layout/src/navBars/index.vue.js +9 -0
- package/lib/packages/components/fm-layout/src/navBars/index.vue2.js +48 -0
- package/lib/packages/components/fm-layout/src/navBars/tagsView/contextmenu.vue.js +9 -0
- package/lib/packages/components/fm-layout/src/navBars/tagsView/contextmenu.vue2.js +160 -0
- package/lib/packages/components/fm-layout/src/navBars/tagsView/tagsView.vue.js +9 -0
- package/lib/packages/components/fm-layout/src/navBars/tagsView/tagsView.vue2.js +580 -0
- package/lib/packages/components/fm-layout/src/navBars/topBar/breadcrumb.vue.js +9 -0
- package/lib/packages/components/fm-layout/src/navBars/topBar/breadcrumb.vue2.js +173 -0
- package/lib/packages/components/fm-layout/src/navBars/topBar/index.vue.js +9 -0
- package/lib/packages/components/fm-layout/src/navBars/topBar/index.vue2.js +117 -0
- package/lib/packages/components/fm-layout/src/navBars/topBar/search.vue.js +9 -0
- package/lib/packages/components/fm-layout/src/navBars/topBar/search.vue2.js +124 -0
- package/lib/packages/components/fm-layout/src/navBars/topBar/upgradeInfo.vue.js +9 -0
- package/lib/packages/components/fm-layout/src/navBars/topBar/upgradeInfo.vue2.js +76 -0
- package/lib/packages/components/fm-layout/src/navBars/topBar/user.vue.js +9 -0
- package/lib/packages/components/fm-layout/src/navBars/topBar/user.vue2.js +703 -0
- package/lib/packages/components/fm-layout/src/navBars/topBar/userNews.vue.js +9 -0
- package/lib/packages/components/fm-layout/src/navBars/topBar/userNews.vue2.js +259 -0
- package/lib/packages/components/fm-layout/src/navMenu/horizontal.vue.js +9 -0
- package/lib/packages/components/fm-layout/src/navMenu/horizontal.vue2.js +186 -0
- package/lib/packages/components/fm-layout/src/navMenu/subItem.vue.js +9 -0
- package/lib/packages/components/fm-layout/src/navMenu/subItem.vue2.js +117 -0
- package/lib/packages/components/fm-layout/src/navMenu/vertical.vue.js +9 -0
- package/lib/packages/components/fm-layout/src/navMenu/vertical.vue2.js +163 -0
- package/lib/packages/components/fm-layout/src/routerView/iframes.vue.js +9 -0
- package/lib/packages/components/fm-layout/src/routerView/iframes.vue2.js +132 -0
- package/lib/packages/components/fm-layout/src/routerView/parent.vue.js +9 -0
- package/lib/packages/components/fm-layout/src/routerView/parent.vue2.js +145 -0
- package/lib/packages/components/fm-layout/src/type.js +2 -0
- package/lib/packages/components/index.js +14 -12
- package/locale/en.js +1 -1
- package/locale/en.min.js +1 -1
- package/locale/en.min.mjs +1 -1
- package/locale/en.mjs +1 -1
- package/locale/zh-cn.js +1 -1
- package/locale/zh-cn.min.js +1 -1
- package/locale/zh-cn.min.mjs +1 -1
- package/locale/zh-cn.mjs +1 -1
- package/package.json +1 -1
- package/theme-chalk/f-layout.css +1 -0
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/src/index.scss +1 -0
- package/theme-chalk/src/layout.scss +655 -0
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var vue = require('vue');
|
|
6
|
+
var vueRouter = require('vue-router');
|
|
7
|
+
var pinia = require('pinia');
|
|
8
|
+
require('../../../../stores/index.js');
|
|
9
|
+
var other = require('../../../../hooks/other.js');
|
|
10
|
+
var themeConfig = require('../../../../stores/themeConfig.js');
|
|
11
|
+
|
|
12
|
+
const _hoisted_1 = ["onClick"];
|
|
13
|
+
var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
14
|
+
__name: "vertical",
|
|
15
|
+
props: {
|
|
16
|
+
// 菜单列表
|
|
17
|
+
menuList: {
|
|
18
|
+
type: Array,
|
|
19
|
+
default: () => []
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
setup(__props) {
|
|
23
|
+
const SubItem = vue.defineAsyncComponent(() => Promise.resolve().then(function () { return require('./subItem.vue.js'); }));
|
|
24
|
+
const props = __props;
|
|
25
|
+
const storesThemeConfig = themeConfig.useThemeConfig();
|
|
26
|
+
const { themeConfig: themeConfig$1 } = pinia.storeToRefs(storesThemeConfig);
|
|
27
|
+
const route = vueRouter.useRoute();
|
|
28
|
+
const state = vue.reactive({
|
|
29
|
+
// 修复:
|
|
30
|
+
defaultActive: route.meta.isDynamic ? route.meta.isDynamicPath : route.path,
|
|
31
|
+
isCollapse: false
|
|
32
|
+
});
|
|
33
|
+
const menuLists = vue.computed(() => {
|
|
34
|
+
return props.menuList;
|
|
35
|
+
});
|
|
36
|
+
const getThemeConfig = vue.computed(() => {
|
|
37
|
+
return themeConfig$1.value;
|
|
38
|
+
});
|
|
39
|
+
const setParentHighlight = (currentRoute) => {
|
|
40
|
+
const { path, meta } = currentRoute;
|
|
41
|
+
const pathSplit = (meta == null ? void 0 : meta.isDynamic) ? meta.isDynamicPath.split("/") : path.split("/");
|
|
42
|
+
if (pathSplit.length >= 4 && (meta == null ? void 0 : meta.isHide)) return pathSplit.splice(0, 3).join("/");
|
|
43
|
+
else return path;
|
|
44
|
+
};
|
|
45
|
+
const onALinkClick = (val) => {
|
|
46
|
+
other.default.handleOpenLink(val);
|
|
47
|
+
};
|
|
48
|
+
vue.onMounted(() => {
|
|
49
|
+
state.defaultActive = setParentHighlight(route);
|
|
50
|
+
});
|
|
51
|
+
vueRouter.onBeforeRouteUpdate((to) => {
|
|
52
|
+
state.defaultActive = setParentHighlight(to);
|
|
53
|
+
const clientWidth = document.body.clientWidth;
|
|
54
|
+
if (clientWidth < 1e3) themeConfig$1.value.isCollapse = false;
|
|
55
|
+
});
|
|
56
|
+
vue.watch(
|
|
57
|
+
() => themeConfig$1.value.isCollapse,
|
|
58
|
+
(isCollapse) => {
|
|
59
|
+
document.body.clientWidth <= 1e3 ? state.isCollapse = false : state.isCollapse = isCollapse;
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
immediate: true
|
|
63
|
+
}
|
|
64
|
+
);
|
|
65
|
+
return (_ctx, _cache) => {
|
|
66
|
+
const _component_SvgIcon = vue.resolveComponent("SvgIcon");
|
|
67
|
+
const _component_el_sub_menu = vue.resolveComponent("el-sub-menu");
|
|
68
|
+
const _component_el_menu_item = vue.resolveComponent("el-menu-item");
|
|
69
|
+
const _component_el_menu = vue.resolveComponent("el-menu");
|
|
70
|
+
return vue.openBlock(), vue.createBlock(_component_el_menu, {
|
|
71
|
+
router: "",
|
|
72
|
+
"default-active": state.defaultActive,
|
|
73
|
+
"background-color": "transparent",
|
|
74
|
+
collapse: state.isCollapse,
|
|
75
|
+
"unique-opened": getThemeConfig.value.isUniqueOpened,
|
|
76
|
+
"collapse-transition": false
|
|
77
|
+
}, {
|
|
78
|
+
default: vue.withCtx(() => [
|
|
79
|
+
(vue.openBlock(true), vue.createElementBlock(
|
|
80
|
+
vue.Fragment,
|
|
81
|
+
null,
|
|
82
|
+
vue.renderList(menuLists.value, (val) => {
|
|
83
|
+
return vue.openBlock(), vue.createElementBlock(
|
|
84
|
+
vue.Fragment,
|
|
85
|
+
null,
|
|
86
|
+
[
|
|
87
|
+
val.children && val.children.length > 0 ? (vue.openBlock(), vue.createBlock(_component_el_sub_menu, {
|
|
88
|
+
index: val.path,
|
|
89
|
+
key: val.path
|
|
90
|
+
}, {
|
|
91
|
+
title: vue.withCtx(() => [
|
|
92
|
+
vue.createVNode(_component_SvgIcon, {
|
|
93
|
+
name: val.meta.icon
|
|
94
|
+
}, null, 8, ["name"]),
|
|
95
|
+
vue.createCommentVNode(" <span>{{ $t(val.meta.title) }}</span> "),
|
|
96
|
+
vue.createElementVNode(
|
|
97
|
+
"span",
|
|
98
|
+
null,
|
|
99
|
+
vue.toDisplayString(_ctx.$t(`message.menu.${val.meta.title}`)),
|
|
100
|
+
1
|
|
101
|
+
/* TEXT */
|
|
102
|
+
)
|
|
103
|
+
]),
|
|
104
|
+
default: vue.withCtx(() => [
|
|
105
|
+
vue.createVNode(vue.unref(SubItem), {
|
|
106
|
+
chil: val.children
|
|
107
|
+
}, null, 8, ["chil"])
|
|
108
|
+
]),
|
|
109
|
+
_: 2
|
|
110
|
+
/* DYNAMIC */
|
|
111
|
+
}, 1032, ["index"])) : (vue.openBlock(), vue.createBlock(_component_el_menu_item, {
|
|
112
|
+
index: val.path,
|
|
113
|
+
key: val.path
|
|
114
|
+
}, vue.createSlots({
|
|
115
|
+
default: vue.withCtx(() => [
|
|
116
|
+
vue.createVNode(_component_SvgIcon, {
|
|
117
|
+
name: val.meta.icon
|
|
118
|
+
}, null, 8, ["name"])
|
|
119
|
+
]),
|
|
120
|
+
_: 2
|
|
121
|
+
/* DYNAMIC */
|
|
122
|
+
}, [
|
|
123
|
+
!val.meta.isLink || val.meta.isLink && val.meta.isIframe ? {
|
|
124
|
+
name: "title",
|
|
125
|
+
fn: vue.withCtx(() => [
|
|
126
|
+
vue.createCommentVNode(" <span>{{ $t(val.meta.title) }}</span> "),
|
|
127
|
+
vue.createElementVNode(
|
|
128
|
+
"span",
|
|
129
|
+
null,
|
|
130
|
+
vue.toDisplayString(_ctx.$t(`message.menu.${val.meta.title}`)),
|
|
131
|
+
1
|
|
132
|
+
/* TEXT */
|
|
133
|
+
)
|
|
134
|
+
]),
|
|
135
|
+
key: "0"
|
|
136
|
+
} : {
|
|
137
|
+
name: "title",
|
|
138
|
+
fn: vue.withCtx(() => [
|
|
139
|
+
vue.createElementVNode("a", {
|
|
140
|
+
class: "w100",
|
|
141
|
+
onClick: vue.withModifiers(($event) => onALinkClick(val), ["prevent"])
|
|
142
|
+
}, vue.toDisplayString(_ctx.$t(`message.menu.${val.meta.title}`)), 9, _hoisted_1)
|
|
143
|
+
]),
|
|
144
|
+
key: "1"
|
|
145
|
+
}
|
|
146
|
+
]), 1032, ["index"]))
|
|
147
|
+
],
|
|
148
|
+
64
|
|
149
|
+
/* STABLE_FRAGMENT */
|
|
150
|
+
);
|
|
151
|
+
}),
|
|
152
|
+
256
|
|
153
|
+
/* UNKEYED_FRAGMENT */
|
|
154
|
+
))
|
|
155
|
+
]),
|
|
156
|
+
_: 1
|
|
157
|
+
/* STABLE */
|
|
158
|
+
}, 8, ["default-active", "collapse", "unique-opened"]);
|
|
159
|
+
};
|
|
160
|
+
}
|
|
161
|
+
});
|
|
162
|
+
|
|
163
|
+
exports.default = _sfc_main;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var iframes_vue_vue_type_script_setup_true_name_layoutIframeView_lang = require('./iframes.vue2.js');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
exports.default = iframes_vue_vue_type_script_setup_true_name_layoutIframeView_lang.default;
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var vue = require('vue');
|
|
6
|
+
var vueRouter = require('vue-router');
|
|
7
|
+
require('../../../../utils/index.js');
|
|
8
|
+
var request = require('../../../../utils/request.js');
|
|
9
|
+
|
|
10
|
+
const _hoisted_1 = { class: "layout-padding layout-padding-unset layout-iframe" };
|
|
11
|
+
const _hoisted_2 = { class: "layout-padding-auto layout-padding-view" };
|
|
12
|
+
const _hoisted_3 = ["src", "data-url"];
|
|
13
|
+
var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
14
|
+
__name: "iframes",
|
|
15
|
+
props: {
|
|
16
|
+
// 刷新 iframe
|
|
17
|
+
refreshKey: {
|
|
18
|
+
type: String,
|
|
19
|
+
default: () => ""
|
|
20
|
+
},
|
|
21
|
+
// 过渡动画 name
|
|
22
|
+
name: {
|
|
23
|
+
type: String,
|
|
24
|
+
default: () => "slide-right"
|
|
25
|
+
},
|
|
26
|
+
// iframe 列表
|
|
27
|
+
list: {
|
|
28
|
+
type: Array,
|
|
29
|
+
default: () => []
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
setup(__props) {
|
|
33
|
+
const props = __props;
|
|
34
|
+
const iframeRef = vue.ref();
|
|
35
|
+
const route = vueRouter.useRoute();
|
|
36
|
+
const setIframeList = vue.computed(() => {
|
|
37
|
+
return props.list.filter((v) => {
|
|
38
|
+
var _a;
|
|
39
|
+
return (_a = v.meta) == null ? void 0 : _a.isIframeOpen;
|
|
40
|
+
});
|
|
41
|
+
});
|
|
42
|
+
const getRoutePath = vue.computed(() => {
|
|
43
|
+
return route.path;
|
|
44
|
+
});
|
|
45
|
+
const closeIframeLoading = (val, item) => {
|
|
46
|
+
vue.nextTick(() => {
|
|
47
|
+
if (!iframeRef.value) return false;
|
|
48
|
+
iframeRef.value.forEach((v) => {
|
|
49
|
+
if (v.dataset.url === val) {
|
|
50
|
+
v.onload = () => {
|
|
51
|
+
var _a;
|
|
52
|
+
if (((_a = item.meta) == null ? void 0 : _a.isIframeOpen) && item.meta.loading) item.meta.loading = false;
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
});
|
|
57
|
+
};
|
|
58
|
+
vue.watch(
|
|
59
|
+
() => route.fullPath,
|
|
60
|
+
(val) => {
|
|
61
|
+
const item = props.list.find((v) => v.path === val);
|
|
62
|
+
if (!item) return false;
|
|
63
|
+
if (!item.meta.isIframeOpen) item.meta.isIframeOpen = true;
|
|
64
|
+
closeIframeLoading(val, item);
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
immediate: true
|
|
68
|
+
}
|
|
69
|
+
);
|
|
70
|
+
vue.watch(
|
|
71
|
+
() => props.refreshKey,
|
|
72
|
+
() => {
|
|
73
|
+
const item = props.list.find((v) => v.path === route.path);
|
|
74
|
+
if (!item) return false;
|
|
75
|
+
if (item.meta.isIframeOpen) item.meta.isIframeOpen = false;
|
|
76
|
+
setTimeout(() => {
|
|
77
|
+
item.meta.isIframeOpen = true;
|
|
78
|
+
item.meta.loading = true;
|
|
79
|
+
closeIframeLoading(route.fullPath, item);
|
|
80
|
+
});
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
deep: true
|
|
84
|
+
}
|
|
85
|
+
);
|
|
86
|
+
return (_ctx, _cache) => {
|
|
87
|
+
const _directive_loading = vue.resolveDirective("loading");
|
|
88
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
|
89
|
+
vue.createElementVNode("div", _hoisted_2, [
|
|
90
|
+
(vue.openBlock(true), vue.createElementBlock(
|
|
91
|
+
vue.Fragment,
|
|
92
|
+
null,
|
|
93
|
+
vue.renderList(setIframeList.value, (v) => {
|
|
94
|
+
return vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
|
|
95
|
+
class: "w100",
|
|
96
|
+
key: v.path,
|
|
97
|
+
"element-loading-background": "white"
|
|
98
|
+
}, [
|
|
99
|
+
vue.createVNode(vue.TransitionGroup, { name: __props.name }, {
|
|
100
|
+
default: vue.withCtx(() => [
|
|
101
|
+
vue.withDirectives((vue.openBlock(), vue.createElementBlock("iframe", {
|
|
102
|
+
src: `${v.meta.isLink}${v.meta.isLink.indexOf("?") > 0 ? "&" : "?"}token=${vue.unref(request.getToken)()}`,
|
|
103
|
+
key: v.path,
|
|
104
|
+
frameborder: "0",
|
|
105
|
+
height: "100%",
|
|
106
|
+
width: "100%",
|
|
107
|
+
style: { "position": "absolute" },
|
|
108
|
+
"data-url": v.path,
|
|
109
|
+
ref_for: true,
|
|
110
|
+
ref_key: "iframeRef",
|
|
111
|
+
ref: iframeRef
|
|
112
|
+
}, null, 8, _hoisted_3)), [
|
|
113
|
+
[vue.vShow, getRoutePath.value === v.path]
|
|
114
|
+
])
|
|
115
|
+
]),
|
|
116
|
+
_: 2
|
|
117
|
+
/* DYNAMIC */
|
|
118
|
+
}, 1032, ["name"])
|
|
119
|
+
])), [
|
|
120
|
+
[_directive_loading, v.meta.loading]
|
|
121
|
+
]);
|
|
122
|
+
}),
|
|
123
|
+
128
|
|
124
|
+
/* KEYED_FRAGMENT */
|
|
125
|
+
))
|
|
126
|
+
])
|
|
127
|
+
]);
|
|
128
|
+
};
|
|
129
|
+
}
|
|
130
|
+
});
|
|
131
|
+
|
|
132
|
+
exports.default = _sfc_main;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var parent_vue_vue_type_script_setup_true_name_layoutParentView_lang = require('./parent.vue2.js');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
exports.default = parent_vue_vue_type_script_setup_true_name_layoutParentView_lang.default;
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var vue = require('vue');
|
|
6
|
+
var vueRouter = require('vue-router');
|
|
7
|
+
var pinia = require('pinia');
|
|
8
|
+
require('../../../../stores/index.js');
|
|
9
|
+
require('../../../../utils/index.js');
|
|
10
|
+
var mitt = require('../../../../utils/mitt.js');
|
|
11
|
+
var keepAliveNames = require('../../../../stores/keepAliveNames.js');
|
|
12
|
+
var themeConfig = require('../../../../stores/themeConfig.js');
|
|
13
|
+
var storage = require('../../../../utils/storage.js');
|
|
14
|
+
|
|
15
|
+
const _hoisted_1 = { class: "layout-parent" };
|
|
16
|
+
var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
17
|
+
__name: "parent",
|
|
18
|
+
setup(__props) {
|
|
19
|
+
const Iframes = vue.defineAsyncComponent(() => Promise.resolve().then(function () { return require('./iframes.vue.js'); }));
|
|
20
|
+
const route = vueRouter.useRoute();
|
|
21
|
+
const router = vueRouter.useRouter();
|
|
22
|
+
const storesKeepAliveNames = keepAliveNames.useKeepALiveNames();
|
|
23
|
+
const storesThemeConfig = themeConfig.useThemeConfig();
|
|
24
|
+
const { keepAliveNames: keepAliveNames$1, cachedViews } = pinia.storeToRefs(storesKeepAliveNames);
|
|
25
|
+
const { themeConfig: themeConfig$1 } = pinia.storeToRefs(storesThemeConfig);
|
|
26
|
+
const state = vue.reactive({
|
|
27
|
+
refreshRouterViewKey: "",
|
|
28
|
+
// 非 iframe tagsview 右键菜单刷新时
|
|
29
|
+
iframeRefreshKey: "",
|
|
30
|
+
// iframe tagsview 右键菜单刷新时
|
|
31
|
+
keepAliveNameList: [],
|
|
32
|
+
iframeList: []
|
|
33
|
+
});
|
|
34
|
+
const setTransitionName = vue.computed(() => {
|
|
35
|
+
return themeConfig$1.value.animation;
|
|
36
|
+
});
|
|
37
|
+
const getKeepAliveNames = vue.computed(() => {
|
|
38
|
+
return themeConfig$1.value.isTagsview ? cachedViews.value : state.keepAliveNameList;
|
|
39
|
+
});
|
|
40
|
+
const isIframePage = vue.computed(() => {
|
|
41
|
+
return route.meta.isIframe;
|
|
42
|
+
});
|
|
43
|
+
const getIframeListRoutes = async () => {
|
|
44
|
+
router.getRoutes().forEach((v) => {
|
|
45
|
+
if (v.meta.isIframe) {
|
|
46
|
+
v.meta.isIframeOpen = false;
|
|
47
|
+
v.meta.loading = true;
|
|
48
|
+
state.iframeList.push({ ...v });
|
|
49
|
+
}
|
|
50
|
+
});
|
|
51
|
+
};
|
|
52
|
+
vue.onBeforeMount(() => {
|
|
53
|
+
state.keepAliveNameList = keepAliveNames$1.value;
|
|
54
|
+
mitt.default.on("onTagsViewRefreshRouterView", (fullPath) => {
|
|
55
|
+
var _a;
|
|
56
|
+
const cacheList = cachedViews.value;
|
|
57
|
+
if (route.meta.isKeepAlive) cachedViews.value = (_a = cachedViews.value) == null ? void 0 : _a.filter((name) => route.name !== name);
|
|
58
|
+
state.keepAliveNameList = keepAliveNames$1.value.filter((name) => route.name !== name);
|
|
59
|
+
state.refreshRouterViewKey = "";
|
|
60
|
+
state.iframeRefreshKey = "";
|
|
61
|
+
vue.nextTick(() => {
|
|
62
|
+
if (route.meta.isKeepAlive) cachedViews.value = cacheList;
|
|
63
|
+
state.keepAliveNameList = keepAliveNames$1.value;
|
|
64
|
+
state.refreshRouterViewKey = fullPath;
|
|
65
|
+
state.iframeRefreshKey = fullPath;
|
|
66
|
+
});
|
|
67
|
+
});
|
|
68
|
+
});
|
|
69
|
+
vue.onMounted(() => {
|
|
70
|
+
getIframeListRoutes();
|
|
71
|
+
vue.nextTick(() => {
|
|
72
|
+
setTimeout(() => {
|
|
73
|
+
if (themeConfig$1.value.isCacheTagsView) {
|
|
74
|
+
let tagsViewArr = storage.Session.get("tagsViewList") || [];
|
|
75
|
+
cachedViews.value = tagsViewArr.filter((item) => {
|
|
76
|
+
var _a;
|
|
77
|
+
return (_a = item.meta) == null ? void 0 : _a.isKeepAlive;
|
|
78
|
+
}).map((item) => item.name);
|
|
79
|
+
}
|
|
80
|
+
}, 0);
|
|
81
|
+
});
|
|
82
|
+
});
|
|
83
|
+
vue.onUnmounted(() => {
|
|
84
|
+
mitt.default.off("onTagsViewRefreshRouterView", () => {
|
|
85
|
+
});
|
|
86
|
+
});
|
|
87
|
+
vue.watch(
|
|
88
|
+
() => route.fullPath,
|
|
89
|
+
() => {
|
|
90
|
+
state.refreshRouterViewKey = decodeURI(route.fullPath);
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
immediate: true
|
|
94
|
+
}
|
|
95
|
+
);
|
|
96
|
+
return (_ctx, _cache) => {
|
|
97
|
+
const _component_router_view = vue.resolveComponent("router-view");
|
|
98
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
|
99
|
+
vue.createVNode(_component_router_view, null, {
|
|
100
|
+
default: vue.withCtx(({ Component }) => [
|
|
101
|
+
vue.createVNode(vue.Transition, {
|
|
102
|
+
name: setTransitionName.value,
|
|
103
|
+
mode: "out-in"
|
|
104
|
+
}, {
|
|
105
|
+
default: vue.withCtx(() => [
|
|
106
|
+
(vue.openBlock(), vue.createBlock(vue.KeepAlive, { include: getKeepAliveNames.value }, [
|
|
107
|
+
vue.withDirectives((vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(Component), {
|
|
108
|
+
key: state.refreshRouterViewKey,
|
|
109
|
+
class: "w100"
|
|
110
|
+
})), [
|
|
111
|
+
[vue.vShow, !isIframePage.value]
|
|
112
|
+
])
|
|
113
|
+
], 1032, ["include"]))
|
|
114
|
+
]),
|
|
115
|
+
_: 2
|
|
116
|
+
/* DYNAMIC */
|
|
117
|
+
}, 1032, ["name"])
|
|
118
|
+
]),
|
|
119
|
+
_: 1
|
|
120
|
+
/* STABLE */
|
|
121
|
+
}),
|
|
122
|
+
vue.createVNode(vue.Transition, {
|
|
123
|
+
name: setTransitionName.value,
|
|
124
|
+
mode: "out-in",
|
|
125
|
+
persisted: ""
|
|
126
|
+
}, {
|
|
127
|
+
default: vue.withCtx(() => [
|
|
128
|
+
vue.withDirectives(vue.createVNode(vue.unref(Iframes), {
|
|
129
|
+
class: "w100",
|
|
130
|
+
refreshKey: state.iframeRefreshKey,
|
|
131
|
+
name: setTransitionName.value,
|
|
132
|
+
list: state.iframeList
|
|
133
|
+
}, null, 8, ["refreshKey", "name", "list"]), [
|
|
134
|
+
[vue.vShow, isIframePage.value]
|
|
135
|
+
])
|
|
136
|
+
]),
|
|
137
|
+
_: 1
|
|
138
|
+
/* STABLE */
|
|
139
|
+
}, 8, ["name"])
|
|
140
|
+
]);
|
|
141
|
+
};
|
|
142
|
+
}
|
|
143
|
+
});
|
|
144
|
+
|
|
145
|
+
exports.default = _sfc_main;
|
|
@@ -2,24 +2,26 @@
|
|
|
2
2
|
|
|
3
3
|
var index = require('./button/index.js');
|
|
4
4
|
var index$3 = require('./input/index.js');
|
|
5
|
-
var index$
|
|
6
|
-
var index$
|
|
5
|
+
var index$5 = require('./layout-page/index.js');
|
|
6
|
+
var index$6 = require('./layout-page-item/index.js');
|
|
7
7
|
var index$1 = require('./chart/index.js');
|
|
8
|
-
var index$
|
|
9
|
-
var index$
|
|
10
|
-
var index$
|
|
8
|
+
var index$8 = require('./select/index.js');
|
|
9
|
+
var index$9 = require('./select-table/index.js');
|
|
10
|
+
var index$7 = require('./query-condition/index.js');
|
|
11
11
|
var index$2 = require('./form/index.js');
|
|
12
|
-
var index$
|
|
12
|
+
var index$a = require('./svgIcon/index.js');
|
|
13
|
+
var index$4 = require('./fm-layout/index.js');
|
|
13
14
|
|
|
14
15
|
|
|
15
16
|
|
|
16
17
|
exports.FButton = index.FButton;
|
|
17
18
|
exports.FInput = index$3.FInput;
|
|
18
|
-
exports.FLayoutPage = index$
|
|
19
|
-
exports.FLayoutPageItem = index$
|
|
19
|
+
exports.FLayoutPage = index$5.FLayoutPage;
|
|
20
|
+
exports.FLayoutPageItem = index$6.FLayoutPageItem;
|
|
20
21
|
exports.FChart = index$1.FChart;
|
|
21
|
-
exports.FSelect = index$
|
|
22
|
-
exports.FSelectTable = index$
|
|
23
|
-
exports.FQueryCondition = index$
|
|
22
|
+
exports.FSelect = index$8.FSelect;
|
|
23
|
+
exports.FSelectTable = index$9.FSelectTable;
|
|
24
|
+
exports.FQueryCondition = index$7.FQueryCondition;
|
|
24
25
|
exports.FForm = index$2.FForm;
|
|
25
|
-
exports.elSvg = index$
|
|
26
|
+
exports.elSvg = index$a.elSvg;
|
|
27
|
+
exports.FLayout = index$4.FLayout;
|
package/locale/en.js
CHANGED
package/locale/en.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! fmdeui-fmui v1.0.
|
|
1
|
+
/*! fmdeui-fmui v1.0.29 */(function(e,t){typeof exports=="object"&&typeof module!="undefined"?module.exports=t():typeof define=="function"&&define.amd?define(t):(e=typeof globalThis!="undefined"?globalThis:e||self,e.fmdeuiPlusLocaleEn=t())})(this,(function(){"use strict";var e={name:"en",plus:{datepicker:{date:"Please select date",dates:"Please select dates",week:"Please select week",month:"Please select month",months:"Please select months",year:"Please select year",years:"Please select years",startDatePlaceholder:"Please select start date",endDatePlaceholder:"Please select end date",datetime:"Please select datetime",startMonthPlaceholder:"Please select start month",endMonthPlaceholder:"Please select end month",startTimePlaceholder:"Please select start time",endTimePlaceholder:"Please select end time",shortcutsDate:{today:"Today",yesterday:"Yesterday",lastWeek:"Last week"},shortcutsDaterange:{pastWeek:"Past week",pastMonth:"Past month",pastThreeMonths:"Past three months"},shortcutsMonthrange:{thisMonth:"This month",thisYear:"This year",pastSixMonths:"Past six months"},shortcutsDatetime:{today:"Today",yesterday:"Yesterday",lastWeek:"Last week"},shortcutsDatetimerange:{pastWeek:"Past week",pastMonth:"Past month",pastThreeMonths:"Past three months"}},form:{pleaseEnter:"Please enter ",pleaseSelect:"Please select "},input:{placeholder:"Please enter ",appendTitle:"Yuan",validatePhone:"Please enter a valid phone number",validateIdCard:"Please enter a valid ID card number",validateInteger:"Please enter a valid integer",format:"Please enter a valid ",amount:"amount",numbers:"numbers",digitUppercase:"Please enter a valid amount format",validateError:"Please enter a valid format",escaped:{0:"Cent",1:"Penny",2:"Zero",3:"One",4:"Two",5:"Three",6:"Four",7:"Five",8:"Six",9:"Seven",10:"Eight",11:"Nine",12:"Yuan",13:"Ten thousand",14:"Ten million",15:"Ten billion",16:"Ten",17:"Hundred",18:"Thousand",19:"Short",20:"Whole"}},moduleForm:{save:"Save",back:"Back"},search:{searchText:"Search",resetText:"Reset",expand:"Expand",retract:"Retract",pleaseEnter:"Please enter ",pleaseSelect:"Please select ",popoverAttrs:{showTxt:"More",title:"All conditions",allTxt:"SelectAll",reverseTxt:"Reverse",clearTxt:"ClearAll"}},select:{selectAllTxt:"Select all"},selectIcon:{placeholder:"Please select icon",dialogTitle:"Please select icon",searchPlaceholder:"Search icon",emptyDescription:"No icon found"},copy:{copySuccess:"Copy success",copyFail:"Copy fail",invalidCopyContent:"Invalid copy content"},selectTable:{searchBtnTxt:"Search",radioTxt:"Radio",loadingTxt:"Loading...",copySuccess:"Copy success",copyFail:"Copy fail"},stepWizard:{lastBtnTitle:"Complete"},table:{columnBind:{btnTxt:"Column setting",title:"Column setting"},fistColumn:{label:"Number",radio:"Radio"},operator:{label:"Operation",more:"More",sum:"Sum",total:"Total",allSum:"All sum"},singleEdit:{tipText:"Click to edit"},pleaseEnter:"Please enter ",pleaseSelect:"Please select ",loadingTxt:"Loading...",dragTxt:"Drag",saveBtnTxt:"Save",density:"Density",default:"Default",loose:"Loose",compact:"Compact"},list:{idleTimeoutMessage:"Long time no operation, system logged out.",sysMessage:"System Message"}}};return e}));
|
package/locale/en.min.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! fmdeui-fmui v1.0.
|
|
1
|
+
/*! fmdeui-fmui v1.0.29 */var e={name:"en",plus:{datepicker:{date:"Please select date",dates:"Please select dates",week:"Please select week",month:"Please select month",months:"Please select months",year:"Please select year",years:"Please select years",startDatePlaceholder:"Please select start date",endDatePlaceholder:"Please select end date",datetime:"Please select datetime",startMonthPlaceholder:"Please select start month",endMonthPlaceholder:"Please select end month",startTimePlaceholder:"Please select start time",endTimePlaceholder:"Please select end time",shortcutsDate:{today:"Today",yesterday:"Yesterday",lastWeek:"Last week"},shortcutsDaterange:{pastWeek:"Past week",pastMonth:"Past month",pastThreeMonths:"Past three months"},shortcutsMonthrange:{thisMonth:"This month",thisYear:"This year",pastSixMonths:"Past six months"},shortcutsDatetime:{today:"Today",yesterday:"Yesterday",lastWeek:"Last week"},shortcutsDatetimerange:{pastWeek:"Past week",pastMonth:"Past month",pastThreeMonths:"Past three months"}},form:{pleaseEnter:"Please enter ",pleaseSelect:"Please select "},input:{placeholder:"Please enter ",appendTitle:"Yuan",validatePhone:"Please enter a valid phone number",validateIdCard:"Please enter a valid ID card number",validateInteger:"Please enter a valid integer",format:"Please enter a valid ",amount:"amount",numbers:"numbers",digitUppercase:"Please enter a valid amount format",validateError:"Please enter a valid format",escaped:{0:"Cent",1:"Penny",2:"Zero",3:"One",4:"Two",5:"Three",6:"Four",7:"Five",8:"Six",9:"Seven",10:"Eight",11:"Nine",12:"Yuan",13:"Ten thousand",14:"Ten million",15:"Ten billion",16:"Ten",17:"Hundred",18:"Thousand",19:"Short",20:"Whole"}},moduleForm:{save:"Save",back:"Back"},search:{searchText:"Search",resetText:"Reset",expand:"Expand",retract:"Retract",pleaseEnter:"Please enter ",pleaseSelect:"Please select ",popoverAttrs:{showTxt:"More",title:"All conditions",allTxt:"SelectAll",reverseTxt:"Reverse",clearTxt:"ClearAll"}},select:{selectAllTxt:"Select all"},selectIcon:{placeholder:"Please select icon",dialogTitle:"Please select icon",searchPlaceholder:"Search icon",emptyDescription:"No icon found"},copy:{copySuccess:"Copy success",copyFail:"Copy fail",invalidCopyContent:"Invalid copy content"},selectTable:{searchBtnTxt:"Search",radioTxt:"Radio",loadingTxt:"Loading...",copySuccess:"Copy success",copyFail:"Copy fail"},stepWizard:{lastBtnTitle:"Complete"},table:{columnBind:{btnTxt:"Column setting",title:"Column setting"},fistColumn:{label:"Number",radio:"Radio"},operator:{label:"Operation",more:"More",sum:"Sum",total:"Total",allSum:"All sum"},singleEdit:{tipText:"Click to edit"},pleaseEnter:"Please enter ",pleaseSelect:"Please select ",loadingTxt:"Loading...",dragTxt:"Drag",saveBtnTxt:"Save",density:"Density",default:"Default",loose:"Loose",compact:"Compact"},list:{idleTimeoutMessage:"Long time no operation, system logged out.",sysMessage:"System Message"}}};export{e as default};
|
package/locale/en.mjs
CHANGED
package/locale/zh-cn.js
CHANGED
package/locale/zh-cn.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! fmdeui-fmui v1.0.
|
|
1
|
+
/*! fmdeui-fmui v1.0.29 */(function(u,e){typeof exports=="object"&&typeof module!="undefined"?module.exports=e():typeof define=="function"&&define.amd?define(e):(u=typeof globalThis!="undefined"?globalThis:u||self,u.fmdeuiPlusLocaleZhCn=e())})(this,(function(){"use strict";var u={name:"zh-cn",plus:{datepicker:{date:"\u8BF7\u9009\u62E9\u65E5\u671F",dates:"\u8BF7\u9009\u62E9\u65E5\u671F",week:"\u8BF7\u9009\u62E9\u5468",month:"\u8BF7\u9009\u62E9\u6708\u4EFD",months:"\u8BF7\u9009\u62E9\u6708\u4EFD",year:"\u8BF7\u9009\u62E9\u5E74\u4EFD",years:"\u8BF7\u9009\u62E9\u5E74\u4EFD",startDatePlaceholder:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",endDatePlaceholder:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",datetime:"\u8BF7\u9009\u62E9\u65E5\u671F\u65F6\u95F4",startMonthPlaceholder:"\u8BF7\u9009\u62E9\u5F00\u59CB\u6708\u4EFD",endMonthPlaceholder:"\u8BF7\u9009\u62E9\u7ED3\u675F\u6708\u4EFD",startTimePlaceholder:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4",endTimePlaceholder:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4",shortcutsDate:{today:"\u4ECA\u5929",yesterday:"\u6628\u5929",lastWeek:"\u4E00\u5468\u524D"},shortcutsDaterange:{pastWeek:"\u6700\u8FD1\u4E00\u5468",pastMonth:"\u6700\u8FD1\u4E00\u4E2A\u6708",pastThreeMonths:"\u6700\u8FD1\u4E09\u4E2A\u6708"},shortcutsMonthrange:{thisMonth:"\u672C\u6708",thisYear:"\u4ECA\u5E74\u81F3\u4ECA",pastSixMonths:"\u6700\u8FD1\u516D\u4E2A\u6708"},shortcutsDatetime:{today:"\u4ECA\u5929",yesterday:"\u6628\u5929",lastWeek:"\u4E00\u5468\u524D"},shortcutsDatetimerange:{pastWeek:"\u6700\u8FD1\u4E00\u5468",pastMonth:"\u6700\u8FD1\u4E00\u4E2A\u6708",pastThreeMonths:"\u6700\u8FD1\u4E09\u4E2A\u6708"}},form:{pleaseEnter:"\u8BF7\u8F93\u5165",pleaseSelect:"\u8BF7\u9009\u62E9"},input:{placeholder:"\u8BF7\u8F93\u5165",appendTitle:"\u5143",validatePhone:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7\u7801",validateIdCard:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u8EAB\u4EFD\u8BC1\u53F7\u7801",validateInteger:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u6574\u6570",format:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684",amount:"\u91D1\u989D",numbers:"\u6570\u5B57",digitUppercase:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u91D1\u989D\u683C\u5F0F",validateError:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u683C\u5F0F",escaped:{0:"\u89D2",1:"\u5206",2:"\u96F6",3:"\u58F9",4:"\u8D30",5:"\u53C1",6:"\u8086",7:"\u4F0D",8:"\u9646",9:"\u67D2",10:"\u634C",11:"\u7396",12:"\u5143",13:"\u4E07",14:"\u4EBF",15:"\u5146",16:"\u62FE",17:"\u4F70",18:"\u4EDF",19:"\u6B20",20:"\u6574"}},moduleForm:{save:"\u4FDD\u5B58",back:"\u8FD4\u56DE"},search:{searchText:"\u67E5\u8BE2",resetText:"\u91CD\u7F6E",expand:"\u5C55\u5F00",retract:"\u6536\u8D77",pleaseEnter:"\u8BF7\u8F93\u5165",pleaseSelect:"\u8BF7\u9009\u62E9",popoverAttrs:{showTxt:"\u66F4\u591A",title:"\u6240\u6709\u6761\u4EF6",allTxt:"\u5168\u9009",reverseTxt:"\u53CD\u9009",clearTxt:"\u6E05\u7A7A"}},select:{selectAllTxt:"\u5168\u9009"},selectIcon:{placeholder:"\u8BF7\u9009\u62E9\u56FE\u6807",dialogTitle:"\u8BF7\u9009\u62E9\u56FE\u6807",searchPlaceholder:"\u641C\u7D22\u56FE\u6807",emptyDescription:"\u672A\u641C\u7D22\u5230\u60A8\u8981\u627E\u7684\u56FE\u6807"},copy:{copySuccess:"\u590D\u5236\u6210\u529F",copyFail:"\u590D\u5236\u5931\u8D25",invalidCopyContent:"\u65E0\u6548\u7684\u590D\u5236\u5185\u5BB9"},selectTable:{searchBtnTxt:"\u5173\u95ED\u4E0B\u62C9\u6846",radioTxt:"\u5355\u9009",loadingTxt:"\u52A0\u8F7D\u4E2D..."},stepWizard:{lastBtnTitle:"\u5B8C\u6210"},table:{columnBind:{btnTxt:"\u5217\u8BBE\u7F6E",title:"\u5217\u8BBE\u7F6E"},fistColumn:{label:"\u5E8F\u53F7",radio:"\u5355\u9009"},operator:{label:"\u64CD\u4F5C",more:"\u66F4\u591A",sum:"\u5F53\u9875\u5408\u8BA1",total:"\u5408\u8BA1",allSum:"\u5168\u90E8\u5408\u8BA1"},singleEdit:{tipText:"\u5355\u51FB\u53EF\u7F16\u8F91"},pleaseEnter:"\u8BF7\u8F93\u5165",pleaseSelect:"\u8BF7\u9009\u62E9",loadingTxt:"\u52A0\u8F7D\u4E2D...",saveBtnTxt:"\u4FDD\u5B58",dragTxt:"\u62D6\u52A8",density:"\u5BC6\u5EA6",default:"\u9ED8\u8BA4",loose:"\u5BBD\u677E",compact:"\u7D27\u51D1"},list:{idleTimeoutMessage:"\u957F\u65F6\u95F4\u672A\u64CD\u4F5C\uFF0C\u5DF2\u9000\u51FA\u7CFB\u7EDF\u3002",sysMessage:"\u7CFB\u7EDF\u6D88\u606F"}}};return u}));
|
package/locale/zh-cn.min.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! fmdeui-fmui v1.0.
|
|
1
|
+
/*! fmdeui-fmui v1.0.29 */var u={name:"zh-cn",plus:{datepicker:{date:"\u8BF7\u9009\u62E9\u65E5\u671F",dates:"\u8BF7\u9009\u62E9\u65E5\u671F",week:"\u8BF7\u9009\u62E9\u5468",month:"\u8BF7\u9009\u62E9\u6708\u4EFD",months:"\u8BF7\u9009\u62E9\u6708\u4EFD",year:"\u8BF7\u9009\u62E9\u5E74\u4EFD",years:"\u8BF7\u9009\u62E9\u5E74\u4EFD",startDatePlaceholder:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",endDatePlaceholder:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",datetime:"\u8BF7\u9009\u62E9\u65E5\u671F\u65F6\u95F4",startMonthPlaceholder:"\u8BF7\u9009\u62E9\u5F00\u59CB\u6708\u4EFD",endMonthPlaceholder:"\u8BF7\u9009\u62E9\u7ED3\u675F\u6708\u4EFD",startTimePlaceholder:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4",endTimePlaceholder:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4",shortcutsDate:{today:"\u4ECA\u5929",yesterday:"\u6628\u5929",lastWeek:"\u4E00\u5468\u524D"},shortcutsDaterange:{pastWeek:"\u6700\u8FD1\u4E00\u5468",pastMonth:"\u6700\u8FD1\u4E00\u4E2A\u6708",pastThreeMonths:"\u6700\u8FD1\u4E09\u4E2A\u6708"},shortcutsMonthrange:{thisMonth:"\u672C\u6708",thisYear:"\u4ECA\u5E74\u81F3\u4ECA",pastSixMonths:"\u6700\u8FD1\u516D\u4E2A\u6708"},shortcutsDatetime:{today:"\u4ECA\u5929",yesterday:"\u6628\u5929",lastWeek:"\u4E00\u5468\u524D"},shortcutsDatetimerange:{pastWeek:"\u6700\u8FD1\u4E00\u5468",pastMonth:"\u6700\u8FD1\u4E00\u4E2A\u6708",pastThreeMonths:"\u6700\u8FD1\u4E09\u4E2A\u6708"}},form:{pleaseEnter:"\u8BF7\u8F93\u5165",pleaseSelect:"\u8BF7\u9009\u62E9"},input:{placeholder:"\u8BF7\u8F93\u5165",appendTitle:"\u5143",validatePhone:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7\u7801",validateIdCard:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u8EAB\u4EFD\u8BC1\u53F7\u7801",validateInteger:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u6574\u6570",format:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684",amount:"\u91D1\u989D",numbers:"\u6570\u5B57",digitUppercase:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u91D1\u989D\u683C\u5F0F",validateError:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u683C\u5F0F",escaped:{0:"\u89D2",1:"\u5206",2:"\u96F6",3:"\u58F9",4:"\u8D30",5:"\u53C1",6:"\u8086",7:"\u4F0D",8:"\u9646",9:"\u67D2",10:"\u634C",11:"\u7396",12:"\u5143",13:"\u4E07",14:"\u4EBF",15:"\u5146",16:"\u62FE",17:"\u4F70",18:"\u4EDF",19:"\u6B20",20:"\u6574"}},moduleForm:{save:"\u4FDD\u5B58",back:"\u8FD4\u56DE"},search:{searchText:"\u67E5\u8BE2",resetText:"\u91CD\u7F6E",expand:"\u5C55\u5F00",retract:"\u6536\u8D77",pleaseEnter:"\u8BF7\u8F93\u5165",pleaseSelect:"\u8BF7\u9009\u62E9",popoverAttrs:{showTxt:"\u66F4\u591A",title:"\u6240\u6709\u6761\u4EF6",allTxt:"\u5168\u9009",reverseTxt:"\u53CD\u9009",clearTxt:"\u6E05\u7A7A"}},select:{selectAllTxt:"\u5168\u9009"},selectIcon:{placeholder:"\u8BF7\u9009\u62E9\u56FE\u6807",dialogTitle:"\u8BF7\u9009\u62E9\u56FE\u6807",searchPlaceholder:"\u641C\u7D22\u56FE\u6807",emptyDescription:"\u672A\u641C\u7D22\u5230\u60A8\u8981\u627E\u7684\u56FE\u6807"},copy:{copySuccess:"\u590D\u5236\u6210\u529F",copyFail:"\u590D\u5236\u5931\u8D25",invalidCopyContent:"\u65E0\u6548\u7684\u590D\u5236\u5185\u5BB9"},selectTable:{searchBtnTxt:"\u5173\u95ED\u4E0B\u62C9\u6846",radioTxt:"\u5355\u9009",loadingTxt:"\u52A0\u8F7D\u4E2D..."},stepWizard:{lastBtnTitle:"\u5B8C\u6210"},table:{columnBind:{btnTxt:"\u5217\u8BBE\u7F6E",title:"\u5217\u8BBE\u7F6E"},fistColumn:{label:"\u5E8F\u53F7",radio:"\u5355\u9009"},operator:{label:"\u64CD\u4F5C",more:"\u66F4\u591A",sum:"\u5F53\u9875\u5408\u8BA1",total:"\u5408\u8BA1",allSum:"\u5168\u90E8\u5408\u8BA1"},singleEdit:{tipText:"\u5355\u51FB\u53EF\u7F16\u8F91"},pleaseEnter:"\u8BF7\u8F93\u5165",pleaseSelect:"\u8BF7\u9009\u62E9",loadingTxt:"\u52A0\u8F7D\u4E2D...",saveBtnTxt:"\u4FDD\u5B58",dragTxt:"\u62D6\u52A8",density:"\u5BC6\u5EA6",default:"\u9ED8\u8BA4",loose:"\u5BBD\u677E",compact:"\u7D27\u51D1"},list:{idleTimeoutMessage:"\u957F\u65F6\u95F4\u672A\u64CD\u4F5C\uFF0C\u5DF2\u9000\u51FA\u7CFB\u7EDF\u3002",sysMessage:"\u7CFB\u7EDF\u6D88\u606F"}}};export{u as default};
|
package/locale/zh-cn.mjs
CHANGED