@indfnd/common-mobile 0.0.119 → 0.0.121
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/CHANGELOG.md +17 -0
- package/dist/ind-common-mobile.es.js +27 -10
- package/dist/ind-common-mobile.umd.cjs +8 -8
- package/dist/styles/index.css +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,23 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [0.0.121](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/compare/v0.1.0...v0.0.121) (2025-12-26)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* 应用广场样式;查询条件弹窗增加searchPaddingTop配置项 ([c0185bc](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/commit/c0185bc2e4459fc577a026d62eb817486c01df14))
|
|
11
|
+
|
|
12
|
+
## [0.1.0](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/compare/v0.0.120...v0.1.0) (2025-12-26)
|
|
13
|
+
|
|
14
|
+
### [0.0.120](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/compare/v0.0.119...v0.0.120) (2025-12-26)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* 修复bug ([d0e8616](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/commit/d0e86165ea1a06700c8f106717d70f55d7799a61))
|
|
20
|
+
* form表单状态字段支持传函数 ([e508fdf](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/commit/e508fdfb5d7e461aa33c856b762659dad0ea2ee5))
|
|
21
|
+
|
|
5
22
|
### [0.0.119](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/compare/v0.0.118...v0.0.119) (2025-12-12)
|
|
6
23
|
|
|
7
24
|
|
|
@@ -3,7 +3,7 @@ import { getQuarterNum, getHalfYearNum, formatDate, useConfig, getLocalStorage,
|
|
|
3
3
|
import Vue$1 from "vue";
|
|
4
4
|
import { DropdownMenu as DropdownMenu$1, DropdownItem as DropdownItem$1, Message, LoadingBar, Spin } from "view-design";
|
|
5
5
|
const name$1 = "@indfnd/common-mobile";
|
|
6
|
-
const version$2 = "0.0.
|
|
6
|
+
const version$2 = "0.0.120";
|
|
7
7
|
const author$1 = "huxuetong";
|
|
8
8
|
const publishConfig = {
|
|
9
9
|
registry: "https://registry.npmjs.org/"
|
|
@@ -1255,7 +1255,7 @@ var FormImpl = {
|
|
|
1255
1255
|
}
|
|
1256
1256
|
},
|
|
1257
1257
|
render(h) {
|
|
1258
|
-
var _a, _b, _c, _d, _e, _f;
|
|
1258
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
1259
1259
|
let formItems = [];
|
|
1260
1260
|
let spanList;
|
|
1261
1261
|
if (this.formType == "search") {
|
|
@@ -1288,10 +1288,23 @@ var FormImpl = {
|
|
|
1288
1288
|
let statusText = this.form[statusField == null ? void 0 : statusField.formKey];
|
|
1289
1289
|
if (statusField.enumKey) {
|
|
1290
1290
|
statusText = (_b = (_a = this.enumData[statusField == null ? void 0 : statusField.enumKey]) == null ? void 0 : _a.enumData) == null ? void 0 : _b[statusText];
|
|
1291
|
-
} else if (
|
|
1292
|
-
|
|
1291
|
+
} else if (statusField == null ? void 0 : statusField.enumList) {
|
|
1292
|
+
if (typeof (statusField == null ? void 0 : statusField.enumList) == "function") {
|
|
1293
|
+
let enumList = statusField == null ? void 0 : statusField.enumList(this.form);
|
|
1294
|
+
statusText = (_c = enumList == null ? void 0 : enumList.find(({ K }) => K === statusText)) == null ? void 0 : _c.V;
|
|
1295
|
+
} else if ((statusField == null ? void 0 : statusField.enumList) instanceof Array && ((_d = statusField == null ? void 0 : statusField.enumList) == null ? void 0 : _d.length)) {
|
|
1296
|
+
statusText = (_f = (_e = statusField.enumList) == null ? void 0 : _e.find(({ K }) => K === statusText)) == null ? void 0 : _f.V;
|
|
1297
|
+
}
|
|
1293
1298
|
} else if (statusField.enumData) {
|
|
1294
|
-
|
|
1299
|
+
if (typeof (statusField == null ? void 0 : statusField.enumData) == "function") {
|
|
1300
|
+
let enumData = statusField == null ? void 0 : statusField.enumData(this.form);
|
|
1301
|
+
statusText = enumData == null ? void 0 : enumData[statusText];
|
|
1302
|
+
} else {
|
|
1303
|
+
statusText = (_g = statusField.enumData) == null ? void 0 : _g[statusText];
|
|
1304
|
+
}
|
|
1305
|
+
}
|
|
1306
|
+
if (typeof statusField.statusText == "function") {
|
|
1307
|
+
statusText = statusField.statusText(this.form);
|
|
1295
1308
|
}
|
|
1296
1309
|
formItems.push(
|
|
1297
1310
|
h(
|
|
@@ -1426,7 +1439,7 @@ var FormImpl = {
|
|
|
1426
1439
|
}
|
|
1427
1440
|
let diff = this.fieldList.length - renderFieldList.length;
|
|
1428
1441
|
_.forEach(renderFieldList, (d, idx) => {
|
|
1429
|
-
var _a2, _b2, _c2, _d2, _e2, _f2,
|
|
1442
|
+
var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h, _i, _j, _k, _l, _m, _n;
|
|
1430
1443
|
let itemInner;
|
|
1431
1444
|
if (d.render) {
|
|
1432
1445
|
itemInner = d.render(h, d, this.form);
|
|
@@ -1650,7 +1663,7 @@ var FormImpl = {
|
|
|
1650
1663
|
}
|
|
1651
1664
|
}
|
|
1652
1665
|
},
|
|
1653
|
-
(d.enumList || ((
|
|
1666
|
+
(d.enumList || ((_g2 = this.enumData[d.enumKey]) == null ? void 0 : _g2.enumList) || []).map((d2) => {
|
|
1654
1667
|
return h(
|
|
1655
1668
|
"Radio",
|
|
1656
1669
|
{
|
|
@@ -22452,9 +22465,13 @@ var render$f = function() {
|
|
|
22452
22465
|
return _vm.$emit("update:searchVal", $event);
|
|
22453
22466
|
}, "doSearch": function($event) {
|
|
22454
22467
|
return _vm.$emit("doSearchFilter", $event);
|
|
22455
|
-
}, "showCondition": _vm.showCondition } }), _vm.showFilter ? _c("van-popup", { style: {
|
|
22468
|
+
}, "showCondition": _vm.showCondition } }), _vm.showFilter ? _c("van-popup", { style: {
|
|
22469
|
+
width: "80%",
|
|
22470
|
+
marginTop: _vm.$config.searchPaddingTop || "0px",
|
|
22471
|
+
height: "calc(100vh - " + (_vm.$config.searchPaddingTop || "0px") + ")"
|
|
22472
|
+
}, attrs: { "position": "right" }, model: { value: _vm.displayCondition, callback: function($$v) {
|
|
22456
22473
|
_vm.displayCondition = $$v;
|
|
22457
|
-
}, expression: "displayCondition" } }, [_c("div", { staticClass: "ind-page-view ind-flex-column", staticStyle: { "height": "
|
|
22474
|
+
}, expression: "displayCondition" } }, [_c("div", { staticClass: "ind-page-view ind-flex-column", staticStyle: { "height": "100%" } }, [_c("IndMForm", { staticClass: "height100", staticStyle: { "background": "var(--ind-white)" }, attrs: { "formType": "searchMobile", "fieldList": _vm.fieldList }, model: { value: _vm.searchForm, callback: function($$v) {
|
|
22458
22475
|
_vm.searchForm = $$v;
|
|
22459
22476
|
}, expression: "searchForm" } }), _c("div", { staticClass: "ind-bottom-btn ind-flex ind-flex-no-shrink ind-space-between" }, [_c("IndButton", { attrs: { "bizType": "reset" }, on: { "click": _vm.cancel } }, [_vm._v("\u53D6\u6D88")]), _c("IndButton", { attrs: { "bizType": "primary" }, on: { "click": _vm.confirm } }, [_vm._v("\u786E\u8BA4")])], 1)], 1)]) : _vm._e()], 1);
|
|
22460
22477
|
};
|
|
@@ -23228,7 +23245,7 @@ var render$8 = function() {
|
|
|
23228
23245
|
return _vm.ontouchend(_vm.item);
|
|
23229
23246
|
} } }, [_vm.editStatus == "minus" || _vm.editStatus == "plus" && _vm.state ? _c("div", { staticStyle: { "text-align": "center" } }, [_c("van-badge", { attrs: { "color": "#999" }, scopedSlots: _vm._u([{ key: "content", fn: function() {
|
|
23230
23247
|
return [_c("van-icon", { staticStyle: { "line-height": "1.5" }, attrs: { "name": _vm.editStatus } })];
|
|
23231
|
-
}, proxy: true }], null, false, 1274909998) }, [_c("van-image", { attrs: { "with": "3rem", "height": "3rem", "fit": "cover", "src": _vm.getImg(_vm.item.meta.icon) } })], 1)], 1) : _c("div", { staticStyle: { "text-align": "center" } }, [_c("van-image", { attrs: { "with": "3rem", "height": "3rem", "fit": "cover", "src": _vm.getImg(_vm.item.meta.icon) } })], 1), _c("div", { staticStyle: { "text-align": "center" } }, [_c("div", {
|
|
23248
|
+
}, proxy: true }], null, false, 1274909998) }, [_c("van-image", { attrs: { "with": "3rem", "height": "3rem", "fit": "cover", "src": _vm.getImg(_vm.item.meta.icon) } })], 1)], 1) : _c("div", { staticStyle: { "text-align": "center" } }, [_c("van-image", { attrs: { "with": "3rem", "height": "3rem", "fit": "cover", "src": _vm.getImg(_vm.item.meta.icon) } })], 1), _c("div", { staticStyle: { "text-align": "center" } }, [_c("div", { class: ["app-item", _vm.$config.ellipsis ? "ellipsis" : ""] }, [_vm._v(" " + _vm._s(_vm.item.meta.title) + " ")])])]);
|
|
23232
23249
|
};
|
|
23233
23250
|
var staticRenderFns$8 = [];
|
|
23234
23251
|
const __vue2_script$8 = {
|