@kmkf-fe-packages/services-components 0.8.14-alpha.0 → 0.8.14-alpha.2
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.
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
2
2
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
3
3
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
4
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
4
5
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
5
6
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
6
7
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
@@ -58,9 +59,9 @@ var BsSystemOrder = /*#__PURE__*/_createClass(function BsSystemOrder(options) {
|
|
|
58
59
|
rules: _this.rules,
|
|
59
60
|
required: false,
|
|
60
61
|
hidden: p === null || p === void 0 ? void 0 : p.hidden,
|
|
61
|
-
component: /*#__PURE__*/React.createElement(Goods, {
|
|
62
|
+
component: /*#__PURE__*/React.createElement(Goods, _extends({}, _this.componentConfig, {
|
|
62
63
|
onChange: p === null || p === void 0 ? void 0 : p.onChange
|
|
63
|
-
})
|
|
64
|
+
}))
|
|
64
65
|
});
|
|
65
66
|
});
|
|
66
67
|
_defineProperty(this, "filterConfig", function (item) {
|
|
@@ -68,21 +69,24 @@ var BsSystemOrder = /*#__PURE__*/_createClass(function BsSystemOrder(options) {
|
|
|
68
69
|
});
|
|
69
70
|
this.name = options.name;
|
|
70
71
|
this.id = options.id;
|
|
71
|
-
this.sortField = "".concat(options.id);
|
|
72
|
-
this.formField = "".concat(options.id);
|
|
72
|
+
this.sortField = "".concat(options.id, "_bsSystemShowOrder");
|
|
73
|
+
this.formField = "".concat(options.id, "_bsSystemShowOrder");
|
|
73
74
|
this.type = options.type;
|
|
74
75
|
this.effects = options === null || options === void 0 ? void 0 : options.effects;
|
|
75
76
|
this.isCombinationComponent = true;
|
|
76
77
|
this.canSort = false;
|
|
77
78
|
this.children = [new BsHeaderChild(_objectSpread(_objectSpread({}, options), {}, {
|
|
78
79
|
name: "单据类型",
|
|
79
|
-
id: "".concat(options.id, "
|
|
80
|
+
id: "".concat(options.id, "_bsSystemShowOrder_billType"),
|
|
81
|
+
width: 150
|
|
80
82
|
})), new BsHeaderChild(_objectSpread(_objectSpread({}, options), {}, {
|
|
81
83
|
name: "系统订单号",
|
|
82
|
-
id: "".concat(options.id, "
|
|
84
|
+
id: "".concat(options.id, "_bsSystemShowOrder_billNo"),
|
|
85
|
+
width: 150
|
|
83
86
|
})), new BsHeaderChild(_objectSpread(_objectSpread({}, options), {}, {
|
|
84
87
|
name: "标签",
|
|
85
|
-
id: "".concat(options.id, "
|
|
88
|
+
id: "".concat(options.id, "_bsSystemShowOrder_billTag"),
|
|
89
|
+
width: 150
|
|
86
90
|
}))];
|
|
87
91
|
this.componentConfig = options === null || options === void 0 ? void 0 : options.componentConfig;
|
|
88
92
|
this.rules = this !== null && this !== void 0 && (_this$componentConfig = this.componentConfig) !== null && _this$componentConfig !== void 0 && _this$componentConfig.required ? [{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/services-components",
|
|
3
|
-
"version": "0.8.14-alpha.
|
|
3
|
+
"version": "0.8.14-alpha.2",
|
|
4
4
|
"module": "dist/esm/index.js",
|
|
5
5
|
"typings": "dist/esm/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"father": "^4.1.7"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@kmkf-fe-packages/basic-components": "^0.8.14-alpha.
|
|
29
|
+
"@kmkf-fe-packages/basic-components": "^0.8.14-alpha.2",
|
|
30
30
|
"@kmkf-fe-packages/kmkf-utils": "^0.8.14-alpha.0"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"gitHooks": {
|
|
41
41
|
"pre-commit": "lint-staged"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "85f5fc827314bf23ca07f425958dcd47a9cac094"
|
|
44
44
|
}
|