@fecp/mobile 1.0.67 → 1.0.68

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/mobile.css CHANGED
@@ -119,6 +119,28 @@
119
119
  :root,:host{--van-tabbar-height: 50px;--van-tabbar-z-index: 1;--van-tabbar-background: var(--van-background-2)}.van-tabbar{z-index:var(--van-tabbar-z-index);display:flex;box-sizing:content-box;width:100%;height:var(--van-tabbar-height);background:var(--van-tabbar-background)}.van-tabbar--fixed{position:fixed;bottom:0;left:0}
120
120
  :root,:host{--van-tabbar-item-font-size: var(--van-font-size-sm);--van-tabbar-item-text-color: var(--van-text-color);--van-tabbar-item-active-color: var(--van-primary-color);--van-tabbar-item-active-background: var(--van-background-2);--van-tabbar-item-line-height: 1;--van-tabbar-item-icon-size: 22px;--van-tabbar-item-icon-margin-bottom: var(--van-padding-base)}.van-tabbar-item{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;color:var(--van-tabbar-item-text-color);font-size:var(--van-tabbar-item-font-size);line-height:var(--van-tabbar-item-line-height);cursor:pointer}.van-tabbar-item__icon{margin-bottom:var(--van-tabbar-item-icon-margin-bottom);font-size:var(--van-tabbar-item-icon-size)}.van-tabbar-item__icon .van-icon{display:block}.van-tabbar-item__icon .van-badge{margin-top:var(--van-padding-base)}.van-tabbar-item__icon img{display:block;height:20px}.van-tabbar-item--active{color:var(--van-tabbar-item-active-color);background-color:var(--van-tabbar-item-active-background)}
121
121
  :root,:host{--van-tree-select-font-size: var(--van-font-size-md);--van-tree-select-nav-background: var(--van-background);--van-tree-select-content-background: var(--van-background-2);--van-tree-select-nav-item-padding: 14px var(--van-padding-sm);--van-tree-select-item-height: 48px;--van-tree-select-item-active-color: var(--van-primary-color);--van-tree-select-item-disabled-color: var(--van-gray-5);--van-tree-select-item-selected-size: 16px}.van-tree-select{position:relative;display:flex;font-size:var(--van-tree-select-font-size)}.van-tree-select__nav{flex:1;overflow-y:auto;background:var(--van-tree-select-nav-background);-webkit-overflow-scrolling:touch}.van-tree-select__nav-item{padding:var(--van-tree-select-nav-item-padding)}.van-tree-select__content{flex:2;overflow-y:auto;background:var(--van-tree-select-content-background);-webkit-overflow-scrolling:touch}.van-tree-select__item{position:relative;padding:0 32px 0 var(--van-padding-md);font-weight:var(--van-font-bold);line-height:var(--van-tree-select-item-height);-webkit-user-select:none;user-select:none;cursor:pointer}.van-tree-select__item--active{color:var(--van-tree-select-item-active-color)}.van-tree-select__item:active{background-color:var(--van-active-color)}.van-tree-select__item--disabled{color:var(--van-tree-select-item-disabled-color);cursor:not-allowed}.van-tree-select__item--disabled:active{background-color:transparent}.van-tree-select__selected{position:absolute;top:50%;right:var(--van-padding-md);margin-top:calc(var(--van-padding-xs) * -1);font-size:var(--van-tree-select-item-selected-size)}
122
+
123
+ .fec-layout-container[data-v-dda4fb0e] {
124
+ display: flex;
125
+ flex-direction: column;
126
+ flex: 1;
127
+ flex-basis: auto;
128
+ box-sizing: border-box;
129
+ min-width: 0;
130
+ height: 100%;
131
+ }
132
+ .fec-layout-footer[data-v-dda4fb0e],
133
+ .fec-layout-header[data-v-dda4fb0e] {
134
+ box-sizing: border-box;
135
+ flex-shrink: 0;
136
+ }
137
+ .fec-layout-main[data-v-dda4fb0e] {
138
+ display: block;
139
+ flex: 1;
140
+ flex-basis: auto;
141
+ padding: 20px;
142
+ overflow: auto;
143
+ }
122
144
  :root {
123
145
  --vxe-ui-border-radius: 8px;
124
146
  }
@@ -61,6 +61,7 @@ import { MobileTabs } from "./src/components/navigation/tabs/index.mjs";
61
61
  import { MobileTabbar } from "./src/components/navigation/tabbar/index.mjs";
62
62
  import { MobileTabbarItem } from "./src/components/navigation/tabbarItem/index.mjs";
63
63
  import { MobileTreeSelect } from "./src/components/navigation/treeSelect/index.mjs";
64
+ import { MobileLayout } from "./src/components/layout/layout/index.mjs";
64
65
  import { closeDialog, showConfirmDialog, showDialog } from "../../node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/dialog/function-call.mjs";
65
66
  import { showImagePreview } from "../../node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/image-preview/function-call.mjs";
66
67
  import { closeNotify, showNotify } from "../../node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/notify/function-call.mjs";
@@ -108,6 +109,7 @@ export {
108
109
  MobileImage,
109
110
  MobileIndexAnchor,
110
111
  MobileIndexBar,
112
+ MobileLayout,
111
113
  MobileList,
112
114
  MobileLoading,
113
115
  MobileNavBar,
@@ -58,6 +58,7 @@ import { MobileTabs } from "./navigation/tabs/index.mjs";
58
58
  import { MobileTabbar } from "./navigation/tabbar/index.mjs";
59
59
  import { MobileTabbarItem } from "./navigation/tabbarItem/index.mjs";
60
60
  import { MobileTreeSelect } from "./navigation/treeSelect/index.mjs";
61
+ import { MobileLayout } from "./layout/layout/index.mjs";
61
62
  export {
62
63
  MobileActionBar,
63
64
  MobileActionSheet,
@@ -94,6 +95,7 @@ export {
94
95
  MobileImage,
95
96
  MobileIndexAnchor,
96
97
  MobileIndexBar,
98
+ MobileLayout,
97
99
  MobileList,
98
100
  MobileLoading,
99
101
  MobileNavBar,
@@ -0,0 +1,25 @@
1
+ import { createElementBlock, openBlock, createElementVNode, renderSlot } from "vue";
2
+ /* empty css */
3
+ import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.mjs";
4
+ const _sfc_main = {};
5
+ const _hoisted_1 = { class: "fec-layout-container" };
6
+ const _hoisted_2 = { class: "fec-layout-header" };
7
+ const _hoisted_3 = { class: "fec-layout-main" };
8
+ const _hoisted_4 = { class: "fec-layout-footer" };
9
+ function _sfc_render(_ctx, _cache) {
10
+ return openBlock(), createElementBlock("section", _hoisted_1, [
11
+ createElementVNode("header", _hoisted_2, [
12
+ renderSlot(_ctx.$slots, "header", {}, void 0, true)
13
+ ]),
14
+ createElementVNode("main", _hoisted_3, [
15
+ renderSlot(_ctx.$slots, "default", {}, void 0, true)
16
+ ]),
17
+ createElementVNode("footer", _hoisted_4, [
18
+ renderSlot(_ctx.$slots, "footer", {}, void 0, true)
19
+ ])
20
+ ]);
21
+ }
22
+ const _Layout = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-dda4fb0e"]]);
23
+ export {
24
+ _Layout as default
25
+ };
@@ -0,0 +1,7 @@
1
+ import _Layout from "./Layout.vue.mjs";
2
+ import install from "../../../utils/install.mjs";
3
+ const MobileLayout = install.withInstall("MobileLayout", _Layout);
4
+ export {
5
+ MobileLayout,
6
+ MobileLayout as default
7
+ };
package/lib/mobile.css CHANGED
@@ -119,6 +119,28 @@
119
119
  :root,:host{--van-tabbar-height: 50px;--van-tabbar-z-index: 1;--van-tabbar-background: var(--van-background-2)}.van-tabbar{z-index:var(--van-tabbar-z-index);display:flex;box-sizing:content-box;width:100%;height:var(--van-tabbar-height);background:var(--van-tabbar-background)}.van-tabbar--fixed{position:fixed;bottom:0;left:0}
120
120
  :root,:host{--van-tabbar-item-font-size: var(--van-font-size-sm);--van-tabbar-item-text-color: var(--van-text-color);--van-tabbar-item-active-color: var(--van-primary-color);--van-tabbar-item-active-background: var(--van-background-2);--van-tabbar-item-line-height: 1;--van-tabbar-item-icon-size: 22px;--van-tabbar-item-icon-margin-bottom: var(--van-padding-base)}.van-tabbar-item{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;color:var(--van-tabbar-item-text-color);font-size:var(--van-tabbar-item-font-size);line-height:var(--van-tabbar-item-line-height);cursor:pointer}.van-tabbar-item__icon{margin-bottom:var(--van-tabbar-item-icon-margin-bottom);font-size:var(--van-tabbar-item-icon-size)}.van-tabbar-item__icon .van-icon{display:block}.van-tabbar-item__icon .van-badge{margin-top:var(--van-padding-base)}.van-tabbar-item__icon img{display:block;height:20px}.van-tabbar-item--active{color:var(--van-tabbar-item-active-color);background-color:var(--van-tabbar-item-active-background)}
121
121
  :root,:host{--van-tree-select-font-size: var(--van-font-size-md);--van-tree-select-nav-background: var(--van-background);--van-tree-select-content-background: var(--van-background-2);--van-tree-select-nav-item-padding: 14px var(--van-padding-sm);--van-tree-select-item-height: 48px;--van-tree-select-item-active-color: var(--van-primary-color);--van-tree-select-item-disabled-color: var(--van-gray-5);--van-tree-select-item-selected-size: 16px}.van-tree-select{position:relative;display:flex;font-size:var(--van-tree-select-font-size)}.van-tree-select__nav{flex:1;overflow-y:auto;background:var(--van-tree-select-nav-background);-webkit-overflow-scrolling:touch}.van-tree-select__nav-item{padding:var(--van-tree-select-nav-item-padding)}.van-tree-select__content{flex:2;overflow-y:auto;background:var(--van-tree-select-content-background);-webkit-overflow-scrolling:touch}.van-tree-select__item{position:relative;padding:0 32px 0 var(--van-padding-md);font-weight:var(--van-font-bold);line-height:var(--van-tree-select-item-height);-webkit-user-select:none;user-select:none;cursor:pointer}.van-tree-select__item--active{color:var(--van-tree-select-item-active-color)}.van-tree-select__item:active{background-color:var(--van-active-color)}.van-tree-select__item--disabled{color:var(--van-tree-select-item-disabled-color);cursor:not-allowed}.van-tree-select__item--disabled:active{background-color:transparent}.van-tree-select__selected{position:absolute;top:50%;right:var(--van-padding-md);margin-top:calc(var(--van-padding-xs) * -1);font-size:var(--van-tree-select-item-selected-size)}
122
+
123
+ .fec-layout-container[data-v-dda4fb0e] {
124
+ display: flex;
125
+ flex-direction: column;
126
+ flex: 1;
127
+ flex-basis: auto;
128
+ box-sizing: border-box;
129
+ min-width: 0;
130
+ height: 100%;
131
+ }
132
+ .fec-layout-footer[data-v-dda4fb0e],
133
+ .fec-layout-header[data-v-dda4fb0e] {
134
+ box-sizing: border-box;
135
+ flex-shrink: 0;
136
+ }
137
+ .fec-layout-main[data-v-dda4fb0e] {
138
+ display: block;
139
+ flex: 1;
140
+ flex-basis: auto;
141
+ padding: 20px;
142
+ overflow: auto;
143
+ }
122
144
  :root {
123
145
  --vxe-ui-border-radius: 8px;
124
146
  }
@@ -63,6 +63,7 @@ const index$V = require("./src/components/navigation/tabs/index.js");
63
63
  const index$W = require("./src/components/navigation/tabbar/index.js");
64
64
  const index$X = require("./src/components/navigation/tabbarItem/index.js");
65
65
  const index$Y = require("./src/components/navigation/treeSelect/index.js");
66
+ const index$Z = require("./src/components/layout/layout/index.js");
66
67
  const functionCall = require("../../node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/dialog/function-call.js");
67
68
  const functionCall$1 = require("../../node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/image-preview/function-call.js");
68
69
  const functionCall$2 = require("../../node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/notify/function-call.js");
@@ -134,6 +135,7 @@ exports.MobileTabs = index$V.MobileTabs;
134
135
  exports.MobileTabbar = index$W.MobileTabbar;
135
136
  exports.MobileTabbarItem = index$X.MobileTabbarItem;
136
137
  exports.MobileTreeSelect = index$Y.MobileTreeSelect;
138
+ exports.MobileLayout = index$Z.MobileLayout;
137
139
  exports.closeDialog = functionCall.closeDialog;
138
140
  exports.showConfirmDialog = functionCall.showConfirmDialog;
139
141
  exports.showDialog = functionCall.showDialog;
@@ -60,6 +60,7 @@ const index$U = require("./navigation/tabs/index.js");
60
60
  const index$V = require("./navigation/tabbar/index.js");
61
61
  const index$W = require("./navigation/tabbarItem/index.js");
62
62
  const index$X = require("./navigation/treeSelect/index.js");
63
+ const index$Y = require("./layout/layout/index.js");
63
64
  exports.MobileButton = index.MobileButton;
64
65
  exports.MobileCell = index$1.MobileCell;
65
66
  exports.MobileCellGroup = index$2.MobileCellGroup;
@@ -120,3 +121,4 @@ exports.MobileTabs = index$U.MobileTabs;
120
121
  exports.MobileTabbar = index$V.MobileTabbar;
121
122
  exports.MobileTabbarItem = index$W.MobileTabbarItem;
122
123
  exports.MobileTreeSelect = index$X.MobileTreeSelect;
124
+ exports.MobileLayout = index$Y.MobileLayout;
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
+ const vue = require("vue");
4
+ ;/* empty css */
5
+ const _pluginVue_exportHelper = require("../../../../../../_virtual/_plugin-vue_export-helper.js");
6
+ const _sfc_main = {};
7
+ const _hoisted_1 = { class: "fec-layout-container" };
8
+ const _hoisted_2 = { class: "fec-layout-header" };
9
+ const _hoisted_3 = { class: "fec-layout-main" };
10
+ const _hoisted_4 = { class: "fec-layout-footer" };
11
+ function _sfc_render(_ctx, _cache) {
12
+ return vue.openBlock(), vue.createElementBlock("section", _hoisted_1, [
13
+ vue.createElementVNode("header", _hoisted_2, [
14
+ vue.renderSlot(_ctx.$slots, "header", {}, void 0, true)
15
+ ]),
16
+ vue.createElementVNode("main", _hoisted_3, [
17
+ vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
18
+ ]),
19
+ vue.createElementVNode("footer", _hoisted_4, [
20
+ vue.renderSlot(_ctx.$slots, "footer", {}, void 0, true)
21
+ ])
22
+ ]);
23
+ }
24
+ const _Layout = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-dda4fb0e"]]);
25
+ exports.default = _Layout;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
+ const Layout = require("./Layout.vue.js");
4
+ const install = require("../../../utils/install.js");
5
+ const MobileLayout = install.default.withInstall("MobileLayout", Layout.default);
6
+ exports.MobileLayout = MobileLayout;
7
+ exports.default = MobileLayout;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fecp/mobile",
3
- "version": "1.0.67",
3
+ "version": "1.0.68",
4
4
  "main": "lib/packages/mobile/index.js",
5
5
  "module": "es/packages/mobile/index.mjs",
6
6
  "files": [