@fecp/mobile 1.0.73 → 1.0.75
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 +8 -8
- package/es/packages/mobile/index.mjs +0 -2
- package/es/packages/mobile/src/components/all.mjs +0 -2
- package/es/packages/mobile/src/components/feedback/dropdownMenu/DropdownMenu.vue.mjs +63 -18
- package/es/packages/mobile/src/components/feedback/dropdownMenu/index.mjs +2 -2
- package/es/packages/mobile/src/components/layout/layout/Layout.vue.mjs +1 -1
- package/es/packages/mobile/src/components/navigation/tabbarItem/TabbarItem.vue.mjs +1 -1
- package/lib/mobile.css +8 -8
- package/lib/packages/mobile/index.js +80 -82
- package/lib/packages/mobile/src/components/all.js +80 -82
- package/lib/packages/mobile/src/components/feedback/dropdownMenu/DropdownMenu.vue.js +62 -17
- package/lib/packages/mobile/src/components/layout/layout/Layout.vue.js +1 -1
- package/lib/packages/mobile/src/components/navigation/tabbarItem/TabbarItem.vue.js +1 -1
- package/package.json +1 -1
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-
|
|
123
|
+
.fec-layout-container[data-v-4b74bcbf] {
|
|
124
124
|
display: flex;
|
|
125
125
|
flex-direction: column;
|
|
126
126
|
flex: 1;
|
|
@@ -129,23 +129,23 @@
|
|
|
129
129
|
min-width: 0;
|
|
130
130
|
height: 100vh;
|
|
131
131
|
}
|
|
132
|
-
.fec-layout-container[data-v-
|
|
132
|
+
.fec-layout-container[data-v-4b74bcbf] div[slot="default"] {
|
|
133
133
|
height: 100%;
|
|
134
134
|
}
|
|
135
|
-
.fec-layout-footer[data-v-
|
|
136
|
-
.fec-layout-header[data-v-
|
|
135
|
+
.fec-layout-footer[data-v-4b74bcbf],
|
|
136
|
+
.fec-layout-header[data-v-4b74bcbf] {
|
|
137
137
|
box-sizing: border-box;
|
|
138
138
|
flex-shrink: 0;
|
|
139
139
|
}
|
|
140
|
-
.fec-layout-main[data-v-
|
|
140
|
+
.fec-layout-main[data-v-4b74bcbf] {
|
|
141
141
|
display: block;
|
|
142
142
|
flex: 1;
|
|
143
143
|
flex-basis: auto;
|
|
144
|
-
padding: 12px;
|
|
144
|
+
/* padding: 12px; */
|
|
145
145
|
overflow: auto;
|
|
146
146
|
}
|
|
147
|
-
.fec-layout-header[data-v-
|
|
148
|
-
.fec-layout-header[data-v-
|
|
147
|
+
.fec-layout-header[data-v-4b74bcbf] .van-nav-bar--fixed,
|
|
148
|
+
.fec-layout-header[data-v-4b74bcbf] .van-tabbar--fixed {
|
|
149
149
|
position: relative;
|
|
150
150
|
}
|
|
151
151
|
:root {
|
|
@@ -21,7 +21,6 @@ import { MobileSwipeItem } from "./src/components/dataDisplay/swipeItem/index.mj
|
|
|
21
21
|
import { MobileTextEllipsis } from "./src/components/dataDisplay/textEllipsis/index.mjs";
|
|
22
22
|
import { MobileActionSheet } from "./src/components/feedback/actionSheet/index.mjs";
|
|
23
23
|
import { MobileDropdownMenu } from "./src/components/feedback/dropdownMenu/index.mjs";
|
|
24
|
-
import { MobileDropdownItem } from "./src/components/feedback/dropdownItem/index.mjs";
|
|
25
24
|
import { MobileFloatingPanel } from "./src/components/feedback/floatingPanel/index.mjs";
|
|
26
25
|
import { MobileFloatingBubble } from "./src/components/feedback/floatingBubble/index.mjs";
|
|
27
26
|
import { MobileLoading } from "./src/components/feedback/loading/index.mjs";
|
|
@@ -85,7 +84,6 @@ export {
|
|
|
85
84
|
MobileCollapse,
|
|
86
85
|
MobileCollapseItem,
|
|
87
86
|
MobileDivider,
|
|
88
|
-
MobileDropdownItem,
|
|
89
87
|
MobileDropdownMenu,
|
|
90
88
|
MobileEmpty,
|
|
91
89
|
MobileField,
|
|
@@ -18,7 +18,6 @@ import { MobileSwipeItem } from "./dataDisplay/swipeItem/index.mjs";
|
|
|
18
18
|
import { MobileTextEllipsis } from "./dataDisplay/textEllipsis/index.mjs";
|
|
19
19
|
import { MobileActionSheet } from "./feedback/actionSheet/index.mjs";
|
|
20
20
|
import { MobileDropdownMenu } from "./feedback/dropdownMenu/index.mjs";
|
|
21
|
-
import { MobileDropdownItem } from "./feedback/dropdownItem/index.mjs";
|
|
22
21
|
import { MobileFloatingPanel } from "./feedback/floatingPanel/index.mjs";
|
|
23
22
|
import { MobileFloatingBubble } from "./feedback/floatingBubble/index.mjs";
|
|
24
23
|
import { MobileLoading } from "./feedback/loading/index.mjs";
|
|
@@ -71,7 +70,6 @@ export {
|
|
|
71
70
|
MobileCollapse,
|
|
72
71
|
MobileCollapseItem,
|
|
73
72
|
MobileDivider,
|
|
74
|
-
MobileDropdownItem,
|
|
75
73
|
MobileDropdownMenu,
|
|
76
74
|
MobileEmpty,
|
|
77
75
|
MobileField,
|
|
@@ -1,23 +1,68 @@
|
|
|
1
1
|
/* empty css */
|
|
2
2
|
/* empty css */
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
/* empty css */
|
|
4
|
+
/* empty css */
|
|
5
|
+
/* empty css */
|
|
6
|
+
/* empty css */
|
|
7
|
+
/* empty css */
|
|
8
|
+
/* empty css */
|
|
9
|
+
import { computed, createElementBlock, openBlock, Fragment, createVNode, createTextVNode, mergeProps, withCtx, renderList, createBlock, unref, toDisplayString } from "vue";
|
|
5
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";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
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
|
+
const _sfc_main = {
|
|
13
|
+
__name: "DropdownMenu",
|
|
14
|
+
props: {
|
|
15
|
+
modelValue: {
|
|
16
|
+
type: Object,
|
|
17
|
+
default: {}
|
|
18
|
+
},
|
|
19
|
+
options: {
|
|
20
|
+
type: Array,
|
|
21
|
+
default: []
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
emits: ["update:modelValue", "change"],
|
|
25
|
+
setup(__props, { emit: __emit }) {
|
|
26
|
+
const props = __props;
|
|
27
|
+
const emit = __emit;
|
|
28
|
+
const activeObj = computed({
|
|
29
|
+
get: () => {
|
|
30
|
+
return props.modelValue;
|
|
31
|
+
},
|
|
32
|
+
set: (val) => {
|
|
33
|
+
emit("update:modelValue", val);
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
function changeItem(value, item) {
|
|
37
|
+
emit("change", { name: item.name, value });
|
|
38
|
+
}
|
|
39
|
+
return (_ctx, _cache) => {
|
|
40
|
+
const _component_van_dropdown_item = DropdownItem;
|
|
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);
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
};
|
|
21
66
|
export {
|
|
22
|
-
|
|
67
|
+
_sfc_main as default
|
|
23
68
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import _sfc_main from "./DropdownMenu.vue.mjs";
|
|
2
2
|
import install from "../../../utils/install.mjs";
|
|
3
3
|
const MobileDropdownMenu = install.withInstall(
|
|
4
4
|
"MobileDropdownMenu",
|
|
5
|
-
|
|
5
|
+
_sfc_main
|
|
6
6
|
);
|
|
7
7
|
export {
|
|
8
8
|
MobileDropdownMenu,
|
|
@@ -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-
|
|
22
|
+
const _Layout = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-4b74bcbf"]]);
|
|
23
23
|
export {
|
|
24
24
|
_Layout as default
|
|
25
25
|
};
|
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-
|
|
123
|
+
.fec-layout-container[data-v-4b74bcbf] {
|
|
124
124
|
display: flex;
|
|
125
125
|
flex-direction: column;
|
|
126
126
|
flex: 1;
|
|
@@ -129,23 +129,23 @@
|
|
|
129
129
|
min-width: 0;
|
|
130
130
|
height: 100vh;
|
|
131
131
|
}
|
|
132
|
-
.fec-layout-container[data-v-
|
|
132
|
+
.fec-layout-container[data-v-4b74bcbf] div[slot="default"] {
|
|
133
133
|
height: 100%;
|
|
134
134
|
}
|
|
135
|
-
.fec-layout-footer[data-v-
|
|
136
|
-
.fec-layout-header[data-v-
|
|
135
|
+
.fec-layout-footer[data-v-4b74bcbf],
|
|
136
|
+
.fec-layout-header[data-v-4b74bcbf] {
|
|
137
137
|
box-sizing: border-box;
|
|
138
138
|
flex-shrink: 0;
|
|
139
139
|
}
|
|
140
|
-
.fec-layout-main[data-v-
|
|
140
|
+
.fec-layout-main[data-v-4b74bcbf] {
|
|
141
141
|
display: block;
|
|
142
142
|
flex: 1;
|
|
143
143
|
flex-basis: auto;
|
|
144
|
-
padding: 12px;
|
|
144
|
+
/* padding: 12px; */
|
|
145
145
|
overflow: auto;
|
|
146
146
|
}
|
|
147
|
-
.fec-layout-header[data-v-
|
|
148
|
-
.fec-layout-header[data-v-
|
|
147
|
+
.fec-layout-header[data-v-4b74bcbf] .van-nav-bar--fixed,
|
|
148
|
+
.fec-layout-header[data-v-4b74bcbf] .van-tabbar--fixed {
|
|
149
149
|
position: relative;
|
|
150
150
|
}
|
|
151
151
|
:root {
|
|
@@ -23,47 +23,46 @@ const index$h = require("./src/components/dataDisplay/swipeItem/index.js");
|
|
|
23
23
|
const index$i = require("./src/components/dataDisplay/textEllipsis/index.js");
|
|
24
24
|
const index$j = require("./src/components/feedback/actionSheet/index.js");
|
|
25
25
|
const index$k = require("./src/components/feedback/dropdownMenu/index.js");
|
|
26
|
-
const index$l = require("./src/components/feedback/
|
|
27
|
-
const index$m = require("./src/components/feedback/
|
|
28
|
-
const index$n = require("./src/components/feedback/
|
|
29
|
-
const index$o = require("./src/components/feedback/
|
|
30
|
-
const index$p = require("./src/components/feedback/
|
|
31
|
-
const index$q = require("./src/components/
|
|
32
|
-
const index$r = require("./src/components/form/
|
|
33
|
-
const index$s = require("./src/components/form/
|
|
34
|
-
const index$t = require("./src/components/form/
|
|
35
|
-
const index$u = require("./src/components/form/
|
|
36
|
-
const index$v = require("./src/components/form/
|
|
37
|
-
const index$w = require("./src/components/form/
|
|
38
|
-
const index$x = require("./src/components/form/
|
|
39
|
-
const index$y = require("./src/components/form/
|
|
40
|
-
const index$z = require("./src/components/form/
|
|
41
|
-
const index$A = require("./src/components/form/
|
|
42
|
-
const index$B = require("./src/components/form/
|
|
43
|
-
const index$C = require("./src/components/form/
|
|
44
|
-
const index$D = require("./src/components/form/
|
|
45
|
-
const index$E = require("./src/components/form/
|
|
46
|
-
const index$F = require("./src/components/form/
|
|
47
|
-
const index$G = require("./src/components/form/
|
|
48
|
-
const index$H = require("./src/components/form/
|
|
49
|
-
const index$I = require("./src/components/form/
|
|
50
|
-
const index$J = require("./src/components/
|
|
51
|
-
const index$K = require("./src/components/navigation/
|
|
52
|
-
const index$L = require("./src/components/navigation/
|
|
53
|
-
const index$M = require("./src/components/navigation/
|
|
54
|
-
const index$N = require("./src/components/navigation/
|
|
55
|
-
const index$O = require("./src/components/navigation/
|
|
56
|
-
const index$P = require("./src/components/navigation/
|
|
57
|
-
const index$Q = require("./src/components/navigation/
|
|
58
|
-
const index$R = require("./src/components/navigation/
|
|
59
|
-
const index$S = require("./src/components/navigation/
|
|
60
|
-
const index$T = require("./src/components/navigation/
|
|
61
|
-
const index$U = require("./src/components/navigation/
|
|
62
|
-
const index$V = require("./src/components/navigation/
|
|
63
|
-
const index$W = require("./src/components/navigation/
|
|
64
|
-
const index$X = require("./src/components/navigation/
|
|
65
|
-
const index$Y = require("./src/components/
|
|
66
|
-
const index$Z = require("./src/components/layout/layout/index.js");
|
|
26
|
+
const index$l = require("./src/components/feedback/floatingPanel/index.js");
|
|
27
|
+
const index$m = require("./src/components/feedback/floatingBubble/index.js");
|
|
28
|
+
const index$n = require("./src/components/feedback/loading/index.js");
|
|
29
|
+
const index$o = require("./src/components/feedback/pullRefresh/index.js");
|
|
30
|
+
const index$p = require("./src/components/feedback/swipeCell/index.js");
|
|
31
|
+
const index$q = require("./src/components/form/checkbox/index.js");
|
|
32
|
+
const index$r = require("./src/components/form/checkboxGroup/index.js");
|
|
33
|
+
const index$s = require("./src/components/form/field/index.js");
|
|
34
|
+
const index$t = require("./src/components/form/fieldPicker/index.js");
|
|
35
|
+
const index$u = require("./src/components/form/fieldCalendarPicker/index.js");
|
|
36
|
+
const index$v = require("./src/components/form/fieldDatePicker/index.js");
|
|
37
|
+
const index$w = require("./src/components/form/fieldTimePicker/index.js");
|
|
38
|
+
const index$x = require("./src/components/form/fieldDateTimePicker/index.js");
|
|
39
|
+
const index$y = require("./src/components/form/fieldCascaderPicker/index.js");
|
|
40
|
+
const index$z = require("./src/components/form/fieldCheckbox/index.js");
|
|
41
|
+
const index$A = require("./src/components/form/fieldRadio/index.js");
|
|
42
|
+
const index$B = require("./src/components/form/fieldArea/index.js");
|
|
43
|
+
const index$C = require("./src/components/form/form/index.js");
|
|
44
|
+
const index$D = require("./src/components/form/formItem/index.js");
|
|
45
|
+
const index$E = require("./src/components/form/radioGroup/index.js");
|
|
46
|
+
const index$F = require("./src/components/form/search/index.js");
|
|
47
|
+
const index$G = require("./src/components/form/uploader/index.js");
|
|
48
|
+
const index$H = require("./src/components/form/fieldUploader/index.js");
|
|
49
|
+
const index$I = require("./src/components/form/submitButton/index.js");
|
|
50
|
+
const index$J = require("./src/components/navigation/actionBar/index.js");
|
|
51
|
+
const index$K = require("./src/components/navigation/backTop/index.js");
|
|
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");
|
|
67
66
|
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");
|
|
68
67
|
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");
|
|
69
68
|
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");
|
|
@@ -95,47 +94,46 @@ exports.MobileSwipeItem = index$h.MobileSwipeItem;
|
|
|
95
94
|
exports.MobileTextEllipsis = index$i.MobileTextEllipsis;
|
|
96
95
|
exports.MobileActionSheet = index$j.MobileActionSheet;
|
|
97
96
|
exports.MobileDropdownMenu = index$k.MobileDropdownMenu;
|
|
98
|
-
exports.
|
|
99
|
-
exports.
|
|
100
|
-
exports.
|
|
101
|
-
exports.
|
|
102
|
-
exports.
|
|
103
|
-
exports.
|
|
104
|
-
exports.
|
|
105
|
-
exports.
|
|
106
|
-
exports.
|
|
107
|
-
exports.
|
|
108
|
-
exports.
|
|
109
|
-
exports.
|
|
110
|
-
exports.
|
|
111
|
-
exports.
|
|
112
|
-
exports.
|
|
113
|
-
exports.
|
|
114
|
-
exports.
|
|
115
|
-
exports.
|
|
116
|
-
exports.
|
|
117
|
-
exports.
|
|
118
|
-
exports.
|
|
119
|
-
exports.
|
|
120
|
-
exports.
|
|
121
|
-
exports.
|
|
122
|
-
exports.
|
|
123
|
-
exports.
|
|
124
|
-
exports.
|
|
125
|
-
exports.
|
|
126
|
-
exports.
|
|
127
|
-
exports.
|
|
128
|
-
exports.
|
|
129
|
-
exports.
|
|
130
|
-
exports.
|
|
131
|
-
exports.
|
|
132
|
-
exports.
|
|
133
|
-
exports.
|
|
134
|
-
exports.
|
|
135
|
-
exports.
|
|
136
|
-
exports.
|
|
137
|
-
exports.
|
|
138
|
-
exports.MobileLayout = index$Z.MobileLayout;
|
|
97
|
+
exports.MobileFloatingPanel = index$l.MobileFloatingPanel;
|
|
98
|
+
exports.MobileFloatingBubble = index$m.MobileFloatingBubble;
|
|
99
|
+
exports.MobileLoading = index$n.MobileLoading;
|
|
100
|
+
exports.MobilePullRefresh = index$o.MobilePullRefresh;
|
|
101
|
+
exports.MobileSwipeCell = index$p.MobileSwipeCell;
|
|
102
|
+
exports.MobileCheckbox = index$q.MobileCheckbox;
|
|
103
|
+
exports.MobileCheckboxGroup = index$r.MobileCheckboxGroup;
|
|
104
|
+
exports.MobileField = index$s.MobileField;
|
|
105
|
+
exports.MobileFieldPicker = index$t.MobileFieldPicker;
|
|
106
|
+
exports.MobileFieldCalendarPicker = index$u.MobileFieldCalendarPicker;
|
|
107
|
+
exports.MobileFieldDatePicker = index$v.MobileFieldDatePicker;
|
|
108
|
+
exports.MobileFieldTimePicker = index$w.MobileFieldTimePicker;
|
|
109
|
+
exports.MobileFieldDateTimePicker = index$x.MobileFieldDateTimePicker;
|
|
110
|
+
exports.MobileFieldCascaderPicker = index$y.MobileFieldCascaderPicker;
|
|
111
|
+
exports.MobileFieldCheckbox = index$z.MobileFieldCheckbox;
|
|
112
|
+
exports.MobileFieldRadio = index$A.MobileFieldRadio;
|
|
113
|
+
exports.MobileFieldArea = index$B.MobileFieldArea;
|
|
114
|
+
exports.MobileForm = index$C.MobileForm;
|
|
115
|
+
exports.MobileFormItem = index$D.MobileFormItem;
|
|
116
|
+
exports.MobileRadioGroup = index$E.MobileRadioGroup;
|
|
117
|
+
exports.MobileSearch = index$F.MobileSearch;
|
|
118
|
+
exports.MobileUploader = index$G.MobileUploader;
|
|
119
|
+
exports.MobileFieldUploader = index$H.MobileFieldUploader;
|
|
120
|
+
exports.MobileSubmitButton = index$I.MobileSubmitButton;
|
|
121
|
+
exports.MobileActionBar = index$J.MobileActionBar;
|
|
122
|
+
exports.MobileBackTop = index$K.MobileBackTop;
|
|
123
|
+
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;
|
|
139
137
|
exports.closeDialog = functionCall.closeDialog;
|
|
140
138
|
exports.showConfirmDialog = functionCall.showConfirmDialog;
|
|
141
139
|
exports.showDialog = functionCall.showDialog;
|
|
@@ -20,47 +20,46 @@ const index$g = require("./dataDisplay/swipeItem/index.js");
|
|
|
20
20
|
const index$h = require("./dataDisplay/textEllipsis/index.js");
|
|
21
21
|
const index$i = require("./feedback/actionSheet/index.js");
|
|
22
22
|
const index$j = require("./feedback/dropdownMenu/index.js");
|
|
23
|
-
const index$k = require("./feedback/
|
|
24
|
-
const index$l = require("./feedback/
|
|
25
|
-
const index$m = require("./feedback/
|
|
26
|
-
const index$n = require("./feedback/
|
|
27
|
-
const index$o = require("./feedback/
|
|
28
|
-
const index$p = require("./
|
|
29
|
-
const index$q = require("./form/
|
|
30
|
-
const index$r = require("./form/
|
|
31
|
-
const index$s = require("./form/
|
|
32
|
-
const index$t = require("./form/
|
|
33
|
-
const index$u = require("./form/
|
|
34
|
-
const index$v = require("./form/
|
|
35
|
-
const index$w = require("./form/
|
|
36
|
-
const index$x = require("./form/
|
|
37
|
-
const index$y = require("./form/
|
|
38
|
-
const index$z = require("./form/
|
|
39
|
-
const index$A = require("./form/
|
|
40
|
-
const index$B = require("./form/
|
|
41
|
-
const index$C = require("./form/
|
|
42
|
-
const index$D = require("./form/
|
|
43
|
-
const index$E = require("./form/
|
|
44
|
-
const index$F = require("./form/
|
|
45
|
-
const index$G = require("./form/
|
|
46
|
-
const index$H = require("./form/
|
|
47
|
-
const index$I = require("./
|
|
48
|
-
const index$J = require("./navigation/
|
|
49
|
-
const index$K = require("./navigation/
|
|
50
|
-
const index$L = require("./navigation/
|
|
51
|
-
const index$M = require("./navigation/
|
|
52
|
-
const index$N = require("./navigation/
|
|
53
|
-
const index$O = require("./navigation/
|
|
54
|
-
const index$P = require("./navigation/
|
|
55
|
-
const index$Q = require("./navigation/
|
|
56
|
-
const index$R = require("./navigation/
|
|
57
|
-
const index$S = require("./navigation/
|
|
58
|
-
const index$T = require("./navigation/
|
|
59
|
-
const index$U = require("./navigation/
|
|
60
|
-
const index$V = require("./navigation/
|
|
61
|
-
const index$W = require("./navigation/
|
|
62
|
-
const index$X = require("./
|
|
63
|
-
const index$Y = require("./layout/layout/index.js");
|
|
23
|
+
const index$k = require("./feedback/floatingPanel/index.js");
|
|
24
|
+
const index$l = require("./feedback/floatingBubble/index.js");
|
|
25
|
+
const index$m = require("./feedback/loading/index.js");
|
|
26
|
+
const index$n = require("./feedback/pullRefresh/index.js");
|
|
27
|
+
const index$o = require("./feedback/swipeCell/index.js");
|
|
28
|
+
const index$p = require("./form/checkbox/index.js");
|
|
29
|
+
const index$q = require("./form/checkboxGroup/index.js");
|
|
30
|
+
const index$r = require("./form/field/index.js");
|
|
31
|
+
const index$s = require("./form/fieldPicker/index.js");
|
|
32
|
+
const index$t = require("./form/fieldCalendarPicker/index.js");
|
|
33
|
+
const index$u = require("./form/fieldDatePicker/index.js");
|
|
34
|
+
const index$v = require("./form/fieldTimePicker/index.js");
|
|
35
|
+
const index$w = require("./form/fieldDateTimePicker/index.js");
|
|
36
|
+
const index$x = require("./form/fieldCascaderPicker/index.js");
|
|
37
|
+
const index$y = require("./form/fieldCheckbox/index.js");
|
|
38
|
+
const index$z = require("./form/fieldRadio/index.js");
|
|
39
|
+
const index$A = require("./form/fieldArea/index.js");
|
|
40
|
+
const index$B = require("./form/form/index.js");
|
|
41
|
+
const index$C = require("./form/formItem/index.js");
|
|
42
|
+
const index$D = require("./form/radioGroup/index.js");
|
|
43
|
+
const index$E = require("./form/search/index.js");
|
|
44
|
+
const index$F = require("./form/uploader/index.js");
|
|
45
|
+
const index$G = require("./form/fieldUploader/index.js");
|
|
46
|
+
const index$H = require("./form/submitButton/index.js");
|
|
47
|
+
const index$I = require("./navigation/actionBar/index.js");
|
|
48
|
+
const index$J = require("./navigation/backTop/index.js");
|
|
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");
|
|
64
63
|
exports.MobileButton = index.MobileButton;
|
|
65
64
|
exports.MobileCell = index$1.MobileCell;
|
|
66
65
|
exports.MobileCellGroup = index$2.MobileCellGroup;
|
|
@@ -81,44 +80,43 @@ exports.MobileSwipeItem = index$g.MobileSwipeItem;
|
|
|
81
80
|
exports.MobileTextEllipsis = index$h.MobileTextEllipsis;
|
|
82
81
|
exports.MobileActionSheet = index$i.MobileActionSheet;
|
|
83
82
|
exports.MobileDropdownMenu = index$j.MobileDropdownMenu;
|
|
84
|
-
exports.
|
|
85
|
-
exports.
|
|
86
|
-
exports.
|
|
87
|
-
exports.
|
|
88
|
-
exports.
|
|
89
|
-
exports.
|
|
90
|
-
exports.
|
|
91
|
-
exports.
|
|
92
|
-
exports.
|
|
93
|
-
exports.
|
|
94
|
-
exports.
|
|
95
|
-
exports.
|
|
96
|
-
exports.
|
|
97
|
-
exports.
|
|
98
|
-
exports.
|
|
99
|
-
exports.
|
|
100
|
-
exports.
|
|
101
|
-
exports.
|
|
102
|
-
exports.
|
|
103
|
-
exports.
|
|
104
|
-
exports.
|
|
105
|
-
exports.
|
|
106
|
-
exports.
|
|
107
|
-
exports.
|
|
108
|
-
exports.
|
|
109
|
-
exports.
|
|
110
|
-
exports.
|
|
111
|
-
exports.
|
|
112
|
-
exports.
|
|
113
|
-
exports.
|
|
114
|
-
exports.
|
|
115
|
-
exports.
|
|
116
|
-
exports.
|
|
117
|
-
exports.
|
|
118
|
-
exports.
|
|
119
|
-
exports.
|
|
120
|
-
exports.
|
|
121
|
-
exports.
|
|
122
|
-
exports.
|
|
123
|
-
exports.
|
|
124
|
-
exports.MobileLayout = index$Y.MobileLayout;
|
|
83
|
+
exports.MobileFloatingPanel = index$k.MobileFloatingPanel;
|
|
84
|
+
exports.MobileFloatingBubble = index$l.MobileFloatingBubble;
|
|
85
|
+
exports.MobileLoading = index$m.MobileLoading;
|
|
86
|
+
exports.MobilePullRefresh = index$n.MobilePullRefresh;
|
|
87
|
+
exports.MobileSwipeCell = index$o.MobileSwipeCell;
|
|
88
|
+
exports.MobileCheckbox = index$p.MobileCheckbox;
|
|
89
|
+
exports.MobileCheckboxGroup = index$q.MobileCheckboxGroup;
|
|
90
|
+
exports.MobileField = index$r.MobileField;
|
|
91
|
+
exports.MobileFieldPicker = index$s.MobileFieldPicker;
|
|
92
|
+
exports.MobileFieldCalendarPicker = index$t.MobileFieldCalendarPicker;
|
|
93
|
+
exports.MobileFieldDatePicker = index$u.MobileFieldDatePicker;
|
|
94
|
+
exports.MobileFieldTimePicker = index$v.MobileFieldTimePicker;
|
|
95
|
+
exports.MobileFieldDateTimePicker = index$w.MobileFieldDateTimePicker;
|
|
96
|
+
exports.MobileFieldCascaderPicker = index$x.MobileFieldCascaderPicker;
|
|
97
|
+
exports.MobileFieldCheckbox = index$y.MobileFieldCheckbox;
|
|
98
|
+
exports.MobileFieldRadio = index$z.MobileFieldRadio;
|
|
99
|
+
exports.MobileFieldArea = index$A.MobileFieldArea;
|
|
100
|
+
exports.MobileForm = index$B.MobileForm;
|
|
101
|
+
exports.MobileFormItem = index$C.MobileFormItem;
|
|
102
|
+
exports.MobileRadioGroup = index$D.MobileRadioGroup;
|
|
103
|
+
exports.MobileSearch = index$E.MobileSearch;
|
|
104
|
+
exports.MobileUploader = index$F.MobileUploader;
|
|
105
|
+
exports.MobileFieldUploader = index$G.MobileFieldUploader;
|
|
106
|
+
exports.MobileSubmitButton = index$H.MobileSubmitButton;
|
|
107
|
+
exports.MobileActionBar = index$I.MobileActionBar;
|
|
108
|
+
exports.MobileBackTop = index$J.MobileBackTop;
|
|
109
|
+
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;
|
|
@@ -2,22 +2,67 @@
|
|
|
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 */
|
|
8
|
+
;/* empty css */
|
|
9
|
+
;/* empty css */
|
|
10
|
+
;/* empty css */
|
|
5
11
|
const vue = require("vue");
|
|
6
|
-
const _pluginVue_exportHelper = require("../../../../../../_virtual/_plugin-vue_export-helper.js");
|
|
7
12
|
const index = require("../../../../../../node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/dropdown-menu/index.js");
|
|
8
|
-
const
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
13
|
+
const index$1 = require("../../../../../../node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/dropdown-item/index.js");
|
|
14
|
+
const _sfc_main = {
|
|
15
|
+
__name: "DropdownMenu",
|
|
16
|
+
props: {
|
|
17
|
+
modelValue: {
|
|
18
|
+
type: Object,
|
|
19
|
+
default: {}
|
|
20
|
+
},
|
|
21
|
+
options: {
|
|
22
|
+
type: Array,
|
|
23
|
+
default: []
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
emits: ["update:modelValue", "change"],
|
|
27
|
+
setup(__props, { emit: __emit }) {
|
|
28
|
+
const props = __props;
|
|
29
|
+
const emit = __emit;
|
|
30
|
+
const activeObj = vue.computed({
|
|
31
|
+
get: () => {
|
|
32
|
+
return props.modelValue;
|
|
33
|
+
},
|
|
34
|
+
set: (val) => {
|
|
35
|
+
emit("update:modelValue", val);
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
function changeItem(value, item) {
|
|
39
|
+
emit("change", { name: item.name, value });
|
|
40
|
+
}
|
|
41
|
+
return (_ctx, _cache) => {
|
|
42
|
+
const _component_van_dropdown_item = index$1.DropdownItem;
|
|
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);
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
};
|
|
68
|
+
exports.default = _sfc_main;
|
|
@@ -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-
|
|
24
|
+
const _Layout = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-4b74bcbf"]]);
|
|
25
25
|
exports.default = _Layout;
|