@fecp/mobile 1.0.75 → 1.0.77

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
@@ -120,7 +120,7 @@
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
122
 
123
- .fec-layout-container[data-v-4b74bcbf] {
123
+ .fec-layout-container[data-v-b4f4a63a] {
124
124
  display: flex;
125
125
  flex-direction: column;
126
126
  flex: 1;
@@ -129,23 +129,30 @@
129
129
  min-width: 0;
130
130
  height: 100vh;
131
131
  }
132
- .fec-layout-container[data-v-4b74bcbf] div[slot="default"] {
132
+ .fec-layout-container[data-v-b4f4a63a] div[slot="default"] {
133
133
  height: 100%;
134
134
  }
135
- .fec-layout-footer[data-v-4b74bcbf],
136
- .fec-layout-header[data-v-4b74bcbf] {
135
+ .fec-layout-footer[data-v-b4f4a63a],
136
+ .fec-layout-header[data-v-b4f4a63a] {
137
137
  box-sizing: border-box;
138
138
  flex-shrink: 0;
139
139
  }
140
- .fec-layout-main[data-v-4b74bcbf] {
141
- display: block;
140
+ .fec-layout-main[data-v-b4f4a63a] {
142
141
  flex: 1;
143
142
  flex-basis: auto;
144
143
  /* padding: 12px; */
145
- overflow: auto;
144
+ overflow: auto;
145
+ display: flex;
146
+ flex-direction: column;
147
+ }
148
+ .fec-layout-main[data-v-b4f4a63a] .page-base-style {
149
+ min-height: 100%;
150
+ }
151
+ .fec-layout-main[data-v-b4f4a63a] .fec-layout-container {
152
+ height: 100%;
146
153
  }
147
- .fec-layout-header[data-v-4b74bcbf] .van-nav-bar--fixed,
148
- .fec-layout-header[data-v-4b74bcbf] .van-tabbar--fixed {
154
+ .fec-layout-header[data-v-b4f4a63a] .van-nav-bar--fixed,
155
+ .fec-layout-header[data-v-b4f4a63a] .van-tabbar--fixed {
149
156
  position: relative;
150
157
  }
151
158
  :root {
@@ -48,7 +48,6 @@ import { MobileSubmitButton } from "./src/components/form/submitButton/index.mjs
48
48
  import { MobileActionBar } from "./src/components/navigation/actionBar/index.mjs";
49
49
  import { MobileBackTop } from "./src/components/navigation/backTop/index.mjs";
50
50
  import { MobileGrid } from "./src/components/navigation/grid/index.mjs";
51
- import { MobileGridItem } from "./src/components/navigation/gridItem/index.mjs";
52
51
  import { MobileIndexBar } from "./src/components/navigation/indexBar/index.mjs";
53
52
  import { MobileIndexAnchor } from "./src/components/navigation/indexAnchor/index.mjs";
54
53
  import { MobileNavBar } from "./src/components/navigation/navBar/index.mjs";
@@ -102,7 +101,6 @@ export {
102
101
  MobileForm,
103
102
  MobileFormItem,
104
103
  MobileGrid,
105
- MobileGridItem,
106
104
  MobileHighlight,
107
105
  MobileImage,
108
106
  MobileIndexAnchor,
@@ -45,7 +45,6 @@ import { MobileSubmitButton } from "./form/submitButton/index.mjs";
45
45
  import { MobileActionBar } from "./navigation/actionBar/index.mjs";
46
46
  import { MobileBackTop } from "./navigation/backTop/index.mjs";
47
47
  import { MobileGrid } from "./navigation/grid/index.mjs";
48
- import { MobileGridItem } from "./navigation/gridItem/index.mjs";
49
48
  import { MobileIndexBar } from "./navigation/indexBar/index.mjs";
50
49
  import { MobileIndexAnchor } from "./navigation/indexAnchor/index.mjs";
51
50
  import { MobileNavBar } from "./navigation/navBar/index.mjs";
@@ -88,7 +87,6 @@ export {
88
87
  MobileForm,
89
88
  MobileFormItem,
90
89
  MobileGrid,
91
- MobileGridItem,
92
90
  MobileHighlight,
93
91
  MobileImage,
94
92
  MobileIndexAnchor,
@@ -6,7 +6,7 @@
6
6
  /* empty css */
7
7
  /* empty css */
8
8
  /* empty css */
9
- import { computed, createElementBlock, openBlock, Fragment, createVNode, createTextVNode, mergeProps, withCtx, renderList, createBlock, unref, toDisplayString } from "vue";
9
+ import { computed, createBlock, openBlock, mergeProps, withCtx, createElementBlock, Fragment, renderList, unref } from "vue";
10
10
  import { DropdownMenu } from "../../../../../../node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/dropdown-menu/index.mjs";
11
11
  import { DropdownItem } from "../../../../../../node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/dropdown-item/index.mjs";
12
12
  const _sfc_main = {
@@ -39,27 +39,24 @@ const _sfc_main = {
39
39
  return (_ctx, _cache) => {
40
40
  const _component_van_dropdown_item = DropdownItem;
41
41
  const _component_van_dropdown_menu = DropdownMenu;
42
- return openBlock(), createElementBlock(Fragment, null, [
43
- createVNode(_component_van_dropdown_menu, mergeProps(_ctx.$attrs, {
44
- "swipe-threshold": "4",
45
- "auto-locate": ""
46
- }), {
47
- default: withCtx(() => [
48
- (openBlock(true), createElementBlock(Fragment, null, renderList(__props.options, (item) => {
49
- return openBlock(), createBlock(_component_van_dropdown_item, {
50
- modelValue: unref(activeObj)[item.name],
51
- "onUpdate:modelValue": ($event) => unref(activeObj)[item.name] = $event,
52
- title: item.title,
53
- options: item.options,
54
- teleport: "body",
55
- onChange: (value) => changeItem(value, item)
56
- }, null, 8, ["modelValue", "onUpdate:modelValue", "title", "options", "onChange"]);
57
- }), 256))
58
- ]),
59
- _: 1
60
- }, 16),
61
- createTextVNode(" " + toDisplayString(unref(activeObj)), 1)
62
- ], 64);
42
+ return openBlock(), createBlock(_component_van_dropdown_menu, mergeProps(_ctx.$attrs, {
43
+ "swipe-threshold": "4",
44
+ "auto-locate": ""
45
+ }), {
46
+ default: withCtx(() => [
47
+ (openBlock(true), createElementBlock(Fragment, null, renderList(__props.options, (item) => {
48
+ return openBlock(), createBlock(_component_van_dropdown_item, {
49
+ modelValue: unref(activeObj)[item.name],
50
+ "onUpdate:modelValue": ($event) => unref(activeObj)[item.name] = $event,
51
+ title: item.title,
52
+ options: item.options,
53
+ teleport: "body",
54
+ onChange: (value) => changeItem(value, item)
55
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "title", "options", "onChange"]);
56
+ }), 256))
57
+ ]),
58
+ _: 1
59
+ }, 16);
63
60
  };
64
61
  }
65
62
  };
@@ -19,7 +19,7 @@ function _sfc_render(_ctx, _cache) {
19
19
  ])
20
20
  ]);
21
21
  }
22
- const _Layout = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-4b74bcbf"]]);
22
+ const _Layout = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-b4f4a63a"]]);
23
23
  export {
24
24
  _Layout as default
25
25
  };
@@ -1,23 +1,52 @@
1
1
  /* empty css */
2
2
  /* empty css */
3
- import { createBlock, openBlock, normalizeProps, guardReactiveProps, createSlots, renderList, withCtx, renderSlot } from "vue";
4
- import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.mjs";
3
+ /* empty css */
4
+ /* empty css */
5
+ /* empty css */
6
+ import { createBlock, openBlock, mergeProps, withCtx, createElementBlock, Fragment, renderList } from "vue";
5
7
  import { Grid } from "../../../../../../node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/grid/index.mjs";
6
- const _sfc_main = {};
7
- function _sfc_render(_ctx, _cache) {
8
- const _component_van_grid = Grid;
9
- return openBlock(), createBlock(_component_van_grid, normalizeProps(guardReactiveProps(_ctx.$attrs)), createSlots({ _: 2 }, [
10
- renderList(_ctx.$slots, (item, key) => {
11
- return {
12
- name: key,
13
- fn: withCtx(() => [
14
- renderSlot(_ctx.$slots, key)
15
- ])
16
- };
17
- })
18
- ]), 1040);
19
- }
20
- const _Grid = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
8
+ import { GridItem } from "../../../../../../node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/grid-item/index.mjs";
9
+ const _sfc_main = {
10
+ __name: "Grid",
11
+ props: {
12
+ options: {
13
+ type: Array,
14
+ default: []
15
+ },
16
+ gutter: {
17
+ type: Number,
18
+ default: 0
19
+ }
20
+ },
21
+ emits: ["clickGridItem"],
22
+ setup(__props, { emit: __emit }) {
23
+ const emit = __emit;
24
+ function clickGridItem(item) {
25
+ emit("clickGridItem", item.name);
26
+ }
27
+ return (_ctx, _cache) => {
28
+ const _component_van_grid_item = GridItem;
29
+ const _component_van_grid = Grid;
30
+ return openBlock(), createBlock(_component_van_grid, mergeProps(_ctx.$attrs, {
31
+ gutter: __props.gutter,
32
+ style: { paddingTop: __props.gutter + "px" }
33
+ }), {
34
+ default: withCtx(() => [
35
+ (openBlock(true), createElementBlock(Fragment, null, renderList(__props.options, (item) => {
36
+ return openBlock(), createBlock(_component_van_grid_item, mergeProps({
37
+ name: item.name,
38
+ ref_for: true
39
+ }, item, {
40
+ replace: "",
41
+ onClick: ($event) => clickGridItem(item)
42
+ }), null, 16, ["name", "onClick"]);
43
+ }), 256))
44
+ ]),
45
+ _: 1
46
+ }, 16, ["gutter", "style"]);
47
+ };
48
+ }
49
+ };
21
50
  export {
22
- _Grid as default
51
+ _sfc_main as default
23
52
  };
@@ -1,6 +1,6 @@
1
- import _Grid from "./Grid.vue.mjs";
1
+ import _sfc_main from "./Grid.vue.mjs";
2
2
  import install from "../../../utils/install.mjs";
3
- const MobileGrid = install.withInstall("MobileGrid", _Grid);
3
+ const MobileGrid = install.withInstall("MobileGrid", _sfc_main);
4
4
  export {
5
5
  MobileGrid,
6
6
  MobileGrid as default
@@ -3,26 +3,30 @@
3
3
  /* empty css */
4
4
  /* empty css */
5
5
  import { createBlock, openBlock, mergeProps, createSlots, renderList, withCtx, renderSlot } from "vue";
6
- import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.mjs";
7
6
  import { NavBar } from "../../../../../../node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/nav-bar/index.mjs";
8
- const _sfc_main = {};
9
- function _sfc_render(_ctx, _cache) {
10
- const _component_van_nav_bar = NavBar;
11
- return openBlock(), createBlock(_component_van_nav_bar, mergeProps(_ctx.$attrs, {
12
- fixed: false,
13
- "safe-area-inset-top": ""
14
- }), createSlots({ _: 2 }, [
15
- renderList(_ctx.$slots, (item, key) => {
16
- return {
17
- name: key,
18
- fn: withCtx(() => [
19
- renderSlot(_ctx.$slots, key)
20
- ])
21
- };
22
- })
23
- ]), 1040);
24
- }
25
- const _NavBar = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
7
+ const _sfc_main = {
8
+ __name: "NavBar",
9
+ setup(__props) {
10
+ const onClickLeft = () => history.back();
11
+ return (_ctx, _cache) => {
12
+ const _component_van_nav_bar = NavBar;
13
+ return openBlock(), createBlock(_component_van_nav_bar, mergeProps(_ctx.$attrs, {
14
+ fixed: false,
15
+ "safe-area-inset-top": "",
16
+ onClickLeft
17
+ }), createSlots({ _: 2 }, [
18
+ renderList(_ctx.$slots, (item, key) => {
19
+ return {
20
+ name: key,
21
+ fn: withCtx(() => [
22
+ renderSlot(_ctx.$slots, key)
23
+ ])
24
+ };
25
+ })
26
+ ]), 1040);
27
+ };
28
+ }
29
+ };
26
30
  export {
27
- _NavBar as default
31
+ _sfc_main as default
28
32
  };
@@ -1,6 +1,6 @@
1
- import _NavBar from "./NavBar.vue.mjs";
1
+ import _sfc_main from "./NavBar.vue.mjs";
2
2
  import install from "../../../utils/install.mjs";
3
- const MobileNavBar = install.withInstall("MobileNavBar", _NavBar);
3
+ const MobileNavBar = install.withInstall("MobileNavBar", _sfc_main);
4
4
  export {
5
5
  MobileNavBar,
6
6
  MobileNavBar as default
package/lib/mobile.css CHANGED
@@ -120,7 +120,7 @@
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
122
 
123
- .fec-layout-container[data-v-4b74bcbf] {
123
+ .fec-layout-container[data-v-b4f4a63a] {
124
124
  display: flex;
125
125
  flex-direction: column;
126
126
  flex: 1;
@@ -129,23 +129,30 @@
129
129
  min-width: 0;
130
130
  height: 100vh;
131
131
  }
132
- .fec-layout-container[data-v-4b74bcbf] div[slot="default"] {
132
+ .fec-layout-container[data-v-b4f4a63a] div[slot="default"] {
133
133
  height: 100%;
134
134
  }
135
- .fec-layout-footer[data-v-4b74bcbf],
136
- .fec-layout-header[data-v-4b74bcbf] {
135
+ .fec-layout-footer[data-v-b4f4a63a],
136
+ .fec-layout-header[data-v-b4f4a63a] {
137
137
  box-sizing: border-box;
138
138
  flex-shrink: 0;
139
139
  }
140
- .fec-layout-main[data-v-4b74bcbf] {
141
- display: block;
140
+ .fec-layout-main[data-v-b4f4a63a] {
142
141
  flex: 1;
143
142
  flex-basis: auto;
144
143
  /* padding: 12px; */
145
- overflow: auto;
144
+ overflow: auto;
145
+ display: flex;
146
+ flex-direction: column;
147
+ }
148
+ .fec-layout-main[data-v-b4f4a63a] .page-base-style {
149
+ min-height: 100%;
150
+ }
151
+ .fec-layout-main[data-v-b4f4a63a] .fec-layout-container {
152
+ height: 100%;
146
153
  }
147
- .fec-layout-header[data-v-4b74bcbf] .van-nav-bar--fixed,
148
- .fec-layout-header[data-v-4b74bcbf] .van-tabbar--fixed {
154
+ .fec-layout-header[data-v-b4f4a63a] .van-nav-bar--fixed,
155
+ .fec-layout-header[data-v-b4f4a63a] .van-tabbar--fixed {
149
156
  position: relative;
150
157
  }
151
158
  :root {
@@ -50,19 +50,18 @@ const index$I = require("./src/components/form/submitButton/index.js");
50
50
  const index$J = require("./src/components/navigation/actionBar/index.js");
51
51
  const index$K = require("./src/components/navigation/backTop/index.js");
52
52
  const index$L = require("./src/components/navigation/grid/index.js");
53
- const index$M = require("./src/components/navigation/gridItem/index.js");
54
- const index$N = require("./src/components/navigation/indexBar/index.js");
55
- const index$O = require("./src/components/navigation/indexAnchor/index.js");
56
- const index$P = require("./src/components/navigation/navBar/index.js");
57
- const index$Q = require("./src/components/navigation/pagination/index.js");
58
- const index$R = require("./src/components/navigation/sidebar/index.js");
59
- const index$S = require("./src/components/navigation/sidebarItem/index.js");
60
- const index$T = require("./src/components/navigation/tab/index.js");
61
- const index$U = require("./src/components/navigation/tabs/index.js");
62
- const index$V = require("./src/components/navigation/tabbar/index.js");
63
- const index$W = require("./src/components/navigation/tabbarItem/index.js");
64
- const index$X = require("./src/components/navigation/treeSelect/index.js");
65
- const index$Y = require("./src/components/layout/layout/index.js");
53
+ const index$M = require("./src/components/navigation/indexBar/index.js");
54
+ const index$N = require("./src/components/navigation/indexAnchor/index.js");
55
+ const index$O = require("./src/components/navigation/navBar/index.js");
56
+ const index$P = require("./src/components/navigation/pagination/index.js");
57
+ const index$Q = require("./src/components/navigation/sidebar/index.js");
58
+ const index$R = require("./src/components/navigation/sidebarItem/index.js");
59
+ const index$S = require("./src/components/navigation/tab/index.js");
60
+ const index$T = require("./src/components/navigation/tabs/index.js");
61
+ const index$U = require("./src/components/navigation/tabbar/index.js");
62
+ const index$V = require("./src/components/navigation/tabbarItem/index.js");
63
+ const index$W = require("./src/components/navigation/treeSelect/index.js");
64
+ const index$X = require("./src/components/layout/layout/index.js");
66
65
  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
66
  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
67
  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");
@@ -121,19 +120,18 @@ exports.MobileSubmitButton = index$I.MobileSubmitButton;
121
120
  exports.MobileActionBar = index$J.MobileActionBar;
122
121
  exports.MobileBackTop = index$K.MobileBackTop;
123
122
  exports.MobileGrid = index$L.MobileGrid;
124
- exports.MobileGridItem = index$M.MobileGridItem;
125
- exports.MobileIndexBar = index$N.MobileIndexBar;
126
- exports.MobileIndexAnchor = index$O.MobileIndexAnchor;
127
- exports.MobileNavBar = index$P.MobileNavBar;
128
- exports.MobilePagination = index$Q.MobilePagination;
129
- exports.MobileSidebar = index$R.MobileSidebar;
130
- exports.MobileSidebarItem = index$S.MobileSidebarItem;
131
- exports.MobileTab = index$T.MobileTab;
132
- exports.MobileTabs = index$U.MobileTabs;
133
- exports.MobileTabbar = index$V.MobileTabbar;
134
- exports.MobileTabbarItem = index$W.MobileTabbarItem;
135
- exports.MobileTreeSelect = index$X.MobileTreeSelect;
136
- exports.MobileLayout = index$Y.MobileLayout;
123
+ exports.MobileIndexBar = index$M.MobileIndexBar;
124
+ exports.MobileIndexAnchor = index$N.MobileIndexAnchor;
125
+ exports.MobileNavBar = index$O.MobileNavBar;
126
+ exports.MobilePagination = index$P.MobilePagination;
127
+ exports.MobileSidebar = index$Q.MobileSidebar;
128
+ exports.MobileSidebarItem = index$R.MobileSidebarItem;
129
+ exports.MobileTab = index$S.MobileTab;
130
+ exports.MobileTabs = index$T.MobileTabs;
131
+ exports.MobileTabbar = index$U.MobileTabbar;
132
+ exports.MobileTabbarItem = index$V.MobileTabbarItem;
133
+ exports.MobileTreeSelect = index$W.MobileTreeSelect;
134
+ exports.MobileLayout = index$X.MobileLayout;
137
135
  exports.closeDialog = functionCall.closeDialog;
138
136
  exports.showConfirmDialog = functionCall.showConfirmDialog;
139
137
  exports.showDialog = functionCall.showDialog;
@@ -47,19 +47,18 @@ const index$H = require("./form/submitButton/index.js");
47
47
  const index$I = require("./navigation/actionBar/index.js");
48
48
  const index$J = require("./navigation/backTop/index.js");
49
49
  const index$K = require("./navigation/grid/index.js");
50
- const index$L = require("./navigation/gridItem/index.js");
51
- const index$M = require("./navigation/indexBar/index.js");
52
- const index$N = require("./navigation/indexAnchor/index.js");
53
- const index$O = require("./navigation/navBar/index.js");
54
- const index$P = require("./navigation/pagination/index.js");
55
- const index$Q = require("./navigation/sidebar/index.js");
56
- const index$R = require("./navigation/sidebarItem/index.js");
57
- const index$S = require("./navigation/tab/index.js");
58
- const index$T = require("./navigation/tabs/index.js");
59
- const index$U = require("./navigation/tabbar/index.js");
60
- const index$V = require("./navigation/tabbarItem/index.js");
61
- const index$W = require("./navigation/treeSelect/index.js");
62
- const index$X = require("./layout/layout/index.js");
50
+ const index$L = require("./navigation/indexBar/index.js");
51
+ const index$M = require("./navigation/indexAnchor/index.js");
52
+ const index$N = require("./navigation/navBar/index.js");
53
+ const index$O = require("./navigation/pagination/index.js");
54
+ const index$P = require("./navigation/sidebar/index.js");
55
+ const index$Q = require("./navigation/sidebarItem/index.js");
56
+ const index$R = require("./navigation/tab/index.js");
57
+ const index$S = require("./navigation/tabs/index.js");
58
+ const index$T = require("./navigation/tabbar/index.js");
59
+ const index$U = require("./navigation/tabbarItem/index.js");
60
+ const index$V = require("./navigation/treeSelect/index.js");
61
+ const index$W = require("./layout/layout/index.js");
63
62
  exports.MobileButton = index.MobileButton;
64
63
  exports.MobileCell = index$1.MobileCell;
65
64
  exports.MobileCellGroup = index$2.MobileCellGroup;
@@ -107,16 +106,15 @@ exports.MobileSubmitButton = index$H.MobileSubmitButton;
107
106
  exports.MobileActionBar = index$I.MobileActionBar;
108
107
  exports.MobileBackTop = index$J.MobileBackTop;
109
108
  exports.MobileGrid = index$K.MobileGrid;
110
- exports.MobileGridItem = index$L.MobileGridItem;
111
- exports.MobileIndexBar = index$M.MobileIndexBar;
112
- exports.MobileIndexAnchor = index$N.MobileIndexAnchor;
113
- exports.MobileNavBar = index$O.MobileNavBar;
114
- exports.MobilePagination = index$P.MobilePagination;
115
- exports.MobileSidebar = index$Q.MobileSidebar;
116
- exports.MobileSidebarItem = index$R.MobileSidebarItem;
117
- exports.MobileTab = index$S.MobileTab;
118
- exports.MobileTabs = index$T.MobileTabs;
119
- exports.MobileTabbar = index$U.MobileTabbar;
120
- exports.MobileTabbarItem = index$V.MobileTabbarItem;
121
- exports.MobileTreeSelect = index$W.MobileTreeSelect;
122
- exports.MobileLayout = index$X.MobileLayout;
109
+ exports.MobileIndexBar = index$L.MobileIndexBar;
110
+ exports.MobileIndexAnchor = index$M.MobileIndexAnchor;
111
+ exports.MobileNavBar = index$N.MobileNavBar;
112
+ exports.MobilePagination = index$O.MobilePagination;
113
+ exports.MobileSidebar = index$P.MobileSidebar;
114
+ exports.MobileSidebarItem = index$Q.MobileSidebarItem;
115
+ exports.MobileTab = index$R.MobileTab;
116
+ exports.MobileTabs = index$S.MobileTabs;
117
+ exports.MobileTabbar = index$T.MobileTabbar;
118
+ exports.MobileTabbarItem = index$U.MobileTabbarItem;
119
+ exports.MobileTreeSelect = index$V.MobileTreeSelect;
120
+ exports.MobileLayout = index$W.MobileLayout;
@@ -41,27 +41,24 @@ const _sfc_main = {
41
41
  return (_ctx, _cache) => {
42
42
  const _component_van_dropdown_item = index$1.DropdownItem;
43
43
  const _component_van_dropdown_menu = index.DropdownMenu;
44
- return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
45
- vue.createVNode(_component_van_dropdown_menu, vue.mergeProps(_ctx.$attrs, {
46
- "swipe-threshold": "4",
47
- "auto-locate": ""
48
- }), {
49
- default: vue.withCtx(() => [
50
- (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.options, (item) => {
51
- return vue.openBlock(), vue.createBlock(_component_van_dropdown_item, {
52
- modelValue: vue.unref(activeObj)[item.name],
53
- "onUpdate:modelValue": ($event) => vue.unref(activeObj)[item.name] = $event,
54
- title: item.title,
55
- options: item.options,
56
- teleport: "body",
57
- onChange: (value) => changeItem(value, item)
58
- }, null, 8, ["modelValue", "onUpdate:modelValue", "title", "options", "onChange"]);
59
- }), 256))
60
- ]),
61
- _: 1
62
- }, 16),
63
- vue.createTextVNode(" " + vue.toDisplayString(vue.unref(activeObj)), 1)
64
- ], 64);
44
+ return vue.openBlock(), vue.createBlock(_component_van_dropdown_menu, vue.mergeProps(_ctx.$attrs, {
45
+ "swipe-threshold": "4",
46
+ "auto-locate": ""
47
+ }), {
48
+ default: vue.withCtx(() => [
49
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.options, (item) => {
50
+ return vue.openBlock(), vue.createBlock(_component_van_dropdown_item, {
51
+ modelValue: vue.unref(activeObj)[item.name],
52
+ "onUpdate:modelValue": ($event) => vue.unref(activeObj)[item.name] = $event,
53
+ title: item.title,
54
+ options: item.options,
55
+ teleport: "body",
56
+ onChange: (value) => changeItem(value, item)
57
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "title", "options", "onChange"]);
58
+ }), 256))
59
+ ]),
60
+ _: 1
61
+ }, 16);
65
62
  };
66
63
  }
67
64
  };
@@ -21,5 +21,5 @@ function _sfc_render(_ctx, _cache) {
21
21
  ])
22
22
  ]);
23
23
  }
24
- const _Layout = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-4b74bcbf"]]);
24
+ const _Layout = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-b4f4a63a"]]);
25
25
  exports.default = _Layout;
@@ -2,22 +2,51 @@
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  ;/* empty css */
4
4
  ;/* empty css */
5
+ ;/* empty css */
6
+ ;/* empty css */
7
+ ;/* empty css */
5
8
  const vue = require("vue");
6
- const _pluginVue_exportHelper = require("../../../../../../_virtual/_plugin-vue_export-helper.js");
7
9
  const index = require("../../../../../../node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/grid/index.js");
8
- const _sfc_main = {};
9
- function _sfc_render(_ctx, _cache) {
10
- const _component_van_grid = index.Grid;
11
- return vue.openBlock(), vue.createBlock(_component_van_grid, vue.normalizeProps(vue.guardReactiveProps(_ctx.$attrs)), vue.createSlots({ _: 2 }, [
12
- vue.renderList(_ctx.$slots, (item, key) => {
13
- return {
14
- name: key,
15
- fn: vue.withCtx(() => [
16
- vue.renderSlot(_ctx.$slots, key)
17
- ])
18
- };
19
- })
20
- ]), 1040);
21
- }
22
- const _Grid = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["render", _sfc_render]]);
23
- exports.default = _Grid;
10
+ const index$1 = require("../../../../../../node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/grid-item/index.js");
11
+ const _sfc_main = {
12
+ __name: "Grid",
13
+ props: {
14
+ options: {
15
+ type: Array,
16
+ default: []
17
+ },
18
+ gutter: {
19
+ type: Number,
20
+ default: 0
21
+ }
22
+ },
23
+ emits: ["clickGridItem"],
24
+ setup(__props, { emit: __emit }) {
25
+ const emit = __emit;
26
+ function clickGridItem(item) {
27
+ emit("clickGridItem", item.name);
28
+ }
29
+ return (_ctx, _cache) => {
30
+ const _component_van_grid_item = index$1.GridItem;
31
+ const _component_van_grid = index.Grid;
32
+ return vue.openBlock(), vue.createBlock(_component_van_grid, vue.mergeProps(_ctx.$attrs, {
33
+ gutter: __props.gutter,
34
+ style: { paddingTop: __props.gutter + "px" }
35
+ }), {
36
+ default: vue.withCtx(() => [
37
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.options, (item) => {
38
+ return vue.openBlock(), vue.createBlock(_component_van_grid_item, vue.mergeProps({
39
+ name: item.name,
40
+ ref_for: true
41
+ }, item, {
42
+ replace: "",
43
+ onClick: ($event) => clickGridItem(item)
44
+ }), null, 16, ["name", "onClick"]);
45
+ }), 256))
46
+ ]),
47
+ _: 1
48
+ }, 16, ["gutter", "style"]);
49
+ };
50
+ }
51
+ };
52
+ exports.default = _sfc_main;
@@ -5,24 +5,28 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
5
5
  ;/* empty css */
6
6
  ;/* empty css */
7
7
  const vue = require("vue");
8
- const _pluginVue_exportHelper = require("../../../../../../_virtual/_plugin-vue_export-helper.js");
9
8
  const index = require("../../../../../../node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/nav-bar/index.js");
10
- const _sfc_main = {};
11
- function _sfc_render(_ctx, _cache) {
12
- const _component_van_nav_bar = index.NavBar;
13
- return vue.openBlock(), vue.createBlock(_component_van_nav_bar, vue.mergeProps(_ctx.$attrs, {
14
- fixed: false,
15
- "safe-area-inset-top": ""
16
- }), vue.createSlots({ _: 2 }, [
17
- vue.renderList(_ctx.$slots, (item, key) => {
18
- return {
19
- name: key,
20
- fn: vue.withCtx(() => [
21
- vue.renderSlot(_ctx.$slots, key)
22
- ])
23
- };
24
- })
25
- ]), 1040);
26
- }
27
- const _NavBar = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["render", _sfc_render]]);
28
- exports.default = _NavBar;
9
+ const _sfc_main = {
10
+ __name: "NavBar",
11
+ setup(__props) {
12
+ const onClickLeft = () => history.back();
13
+ return (_ctx, _cache) => {
14
+ const _component_van_nav_bar = index.NavBar;
15
+ return vue.openBlock(), vue.createBlock(_component_van_nav_bar, vue.mergeProps(_ctx.$attrs, {
16
+ fixed: false,
17
+ "safe-area-inset-top": "",
18
+ onClickLeft
19
+ }), vue.createSlots({ _: 2 }, [
20
+ vue.renderList(_ctx.$slots, (item, key) => {
21
+ return {
22
+ name: key,
23
+ fn: vue.withCtx(() => [
24
+ vue.renderSlot(_ctx.$slots, key)
25
+ ])
26
+ };
27
+ })
28
+ ]), 1040);
29
+ };
30
+ }
31
+ };
32
+ exports.default = _sfc_main;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fecp/mobile",
3
- "version": "1.0.75",
3
+ "version": "1.0.77",
4
4
  "main": "lib/packages/mobile/index.js",
5
5
  "module": "es/packages/mobile/index.mjs",
6
6
  "files": [