@xatlas/rainbow-core 2.7.6 → 2.7.8
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/dist/core.common.js +166 -144
- package/dist/core.common.js.map +1 -1
- package/dist/core.css +2 -2
- package/dist/core.umd.js +166 -144
- package/dist/core.umd.js.map +1 -1
- package/dist/core.umd.min.js +5 -5
- package/dist/core.umd.min.js.map +1 -1
- package/package.json +1 -1
package/dist/core.umd.js
CHANGED
|
@@ -2779,17 +2779,6 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__2364__;
|
|
|
2779
2779
|
|
|
2780
2780
|
}));
|
|
2781
2781
|
|
|
2782
|
-
/***/ }),
|
|
2783
|
-
|
|
2784
|
-
/***/ "2421":
|
|
2785
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2786
|
-
|
|
2787
|
-
"use strict";
|
|
2788
|
-
/* harmony import */ var _core_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_core_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_core_node_modules_vue_loader_lib_loaders_stylePostLoader_js_core_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_core_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_core_node_modules_cache_loader_dist_cjs_js_ref_1_0_core_node_modules_vue_loader_lib_index_js_vue_loader_options_Table_vue_vue_type_style_index_0_id_24262128_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("2f5f");
|
|
2789
|
-
/* harmony import */ var _core_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_core_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_core_node_modules_vue_loader_lib_loaders_stylePostLoader_js_core_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_core_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_core_node_modules_cache_loader_dist_cjs_js_ref_1_0_core_node_modules_vue_loader_lib_index_js_vue_loader_options_Table_vue_vue_type_style_index_0_id_24262128_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_core_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_core_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_core_node_modules_vue_loader_lib_loaders_stylePostLoader_js_core_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_core_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_core_node_modules_cache_loader_dist_cjs_js_ref_1_0_core_node_modules_vue_loader_lib_index_js_vue_loader_options_Table_vue_vue_type_style_index_0_id_24262128_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
2790
|
-
/* unused harmony reexport * */
|
|
2791
|
-
|
|
2792
|
-
|
|
2793
2782
|
/***/ }),
|
|
2794
2783
|
|
|
2795
2784
|
/***/ "27af":
|
|
@@ -3568,13 +3557,6 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__289a__;
|
|
|
3568
3557
|
/* unused harmony reexport * */
|
|
3569
3558
|
|
|
3570
3559
|
|
|
3571
|
-
/***/ }),
|
|
3572
|
-
|
|
3573
|
-
/***/ "2f5f":
|
|
3574
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
3575
|
-
|
|
3576
|
-
// extracted by mini-css-extract-plugin
|
|
3577
|
-
|
|
3578
3560
|
/***/ }),
|
|
3579
3561
|
|
|
3580
3562
|
/***/ "3058":
|
|
@@ -4090,6 +4072,17 @@ function _createKDF(kdf, md, counterStart, digestLength) {
|
|
|
4090
4072
|
/* unused harmony reexport * */
|
|
4091
4073
|
|
|
4092
4074
|
|
|
4075
|
+
/***/ }),
|
|
4076
|
+
|
|
4077
|
+
/***/ "3971":
|
|
4078
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4079
|
+
|
|
4080
|
+
"use strict";
|
|
4081
|
+
/* harmony import */ var _core_node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_core_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_core_node_modules_vue_loader_lib_loaders_stylePostLoader_js_core_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_core_node_modules_cache_loader_dist_cjs_js_ref_1_0_core_node_modules_vue_loader_lib_index_js_vue_loader_options_WorkflowReport_vue_vue_type_style_index_0_id_139fe334_prod_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("60de");
|
|
4082
|
+
/* harmony import */ var _core_node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_core_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_core_node_modules_vue_loader_lib_loaders_stylePostLoader_js_core_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_core_node_modules_cache_loader_dist_cjs_js_ref_1_0_core_node_modules_vue_loader_lib_index_js_vue_loader_options_WorkflowReport_vue_vue_type_style_index_0_id_139fe334_prod_lang_css__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_core_node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_core_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_core_node_modules_vue_loader_lib_loaders_stylePostLoader_js_core_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_core_node_modules_cache_loader_dist_cjs_js_ref_1_0_core_node_modules_vue_loader_lib_index_js_vue_loader_options_WorkflowReport_vue_vue_type_style_index_0_id_139fe334_prod_lang_css__WEBPACK_IMPORTED_MODULE_0__);
|
|
4083
|
+
/* unused harmony reexport * */
|
|
4084
|
+
|
|
4085
|
+
|
|
4093
4086
|
/***/ }),
|
|
4094
4087
|
|
|
4095
4088
|
/***/ "3aaf":
|
|
@@ -5881,13 +5874,6 @@ function _update(s, w, bytes) {
|
|
|
5881
5874
|
}
|
|
5882
5875
|
|
|
5883
5876
|
|
|
5884
|
-
/***/ }),
|
|
5885
|
-
|
|
5886
|
-
/***/ "4a5b":
|
|
5887
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
5888
|
-
|
|
5889
|
-
// extracted by mini-css-extract-plugin
|
|
5890
|
-
|
|
5891
5877
|
/***/ }),
|
|
5892
5878
|
|
|
5893
5879
|
/***/ "4a75":
|
|
@@ -6173,10 +6159,14 @@ function rsa_mgf1(seed, maskLength, hash) {
|
|
|
6173
6159
|
|
|
6174
6160
|
/***/ }),
|
|
6175
6161
|
|
|
6176
|
-
/***/ "
|
|
6177
|
-
/***/ (function(module,
|
|
6162
|
+
/***/ "4b57":
|
|
6163
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6164
|
+
|
|
6165
|
+
"use strict";
|
|
6166
|
+
/* harmony import */ var _core_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_core_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_core_node_modules_vue_loader_lib_loaders_stylePostLoader_js_core_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_core_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_core_node_modules_cache_loader_dist_cjs_js_ref_1_0_core_node_modules_vue_loader_lib_index_js_vue_loader_options_Table_vue_vue_type_style_index_0_id_84223432_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("ebfa");
|
|
6167
|
+
/* harmony import */ var _core_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_core_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_core_node_modules_vue_loader_lib_loaders_stylePostLoader_js_core_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_core_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_core_node_modules_cache_loader_dist_cjs_js_ref_1_0_core_node_modules_vue_loader_lib_index_js_vue_loader_options_Table_vue_vue_type_style_index_0_id_84223432_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_core_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_core_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_core_node_modules_vue_loader_lib_loaders_stylePostLoader_js_core_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_core_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_core_node_modules_cache_loader_dist_cjs_js_ref_1_0_core_node_modules_vue_loader_lib_index_js_vue_loader_options_Table_vue_vue_type_style_index_0_id_84223432_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
6168
|
+
/* unused harmony reexport * */
|
|
6178
6169
|
|
|
6179
|
-
// extracted by mini-css-extract-plugin
|
|
6180
6170
|
|
|
6181
6171
|
/***/ }),
|
|
6182
6172
|
|
|
@@ -8307,6 +8297,13 @@ module.exports = forge.random;
|
|
|
8307
8297
|
})();
|
|
8308
8298
|
|
|
8309
8299
|
|
|
8300
|
+
/***/ }),
|
|
8301
|
+
|
|
8302
|
+
/***/ "60de":
|
|
8303
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
8304
|
+
|
|
8305
|
+
// extracted by mini-css-extract-plugin
|
|
8306
|
+
|
|
8310
8307
|
/***/ }),
|
|
8311
8308
|
|
|
8312
8309
|
/***/ "62b2":
|
|
@@ -27403,11 +27400,12 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
27403
27400
|
|
|
27404
27401
|
// 字典
|
|
27405
27402
|
if (this.schema.dataType === 'wordbook' && this.schema.typeObject) {
|
|
27406
|
-
var
|
|
27403
|
+
var _this$schema$typeObje, _this$schema$typeObje2, _label;
|
|
27404
|
+
var label = (_this$schema$typeObje = this.schema.typeObject) === null || _this$schema$typeObje === void 0 || (_this$schema$typeObje = _this$schema$typeObje.model) === null || _this$schema$typeObje === void 0 || (_this$schema$typeObje = _this$schema$typeObje.attrs) === null || _this$schema$typeObje === void 0 ? void 0 : _this$schema$typeObje.find(function (item) {
|
|
27407
27405
|
return item.display === 'title';
|
|
27408
27406
|
});
|
|
27409
|
-
var idName = this.schema.typeObject.model.idName;
|
|
27410
|
-
label = label.name || idName;
|
|
27407
|
+
var idName = (_this$schema$typeObje2 = this.schema.typeObject) === null || _this$schema$typeObje2 === void 0 || (_this$schema$typeObje2 = _this$schema$typeObje2.model) === null || _this$schema$typeObje2 === void 0 ? void 0 : _this$schema$typeObje2.idName;
|
|
27408
|
+
label = ((_label = label) === null || _label === void 0 ? void 0 : _label.name) || idName;
|
|
27411
27409
|
var list = this.filterRules.length ? this.schema.typeObject.data.collection.filter(function (item) {
|
|
27412
27410
|
// return this.filterRules.every(f => item[f.value] === this.formModel[f.key])
|
|
27413
27411
|
return _this.filterRules.every(function (f) {
|
|
@@ -27437,11 +27435,12 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
27437
27435
|
treeData: function treeData() {
|
|
27438
27436
|
var _this2 = this;
|
|
27439
27437
|
if (this.schema.dataType === 'wordbook' && this.schema.typeObject) {
|
|
27440
|
-
var
|
|
27438
|
+
var _this$schema$typeObje3, _this$schema$typeObje4, _label2;
|
|
27439
|
+
var label = (_this$schema$typeObje3 = this.schema.typeObject) === null || _this$schema$typeObje3 === void 0 || (_this$schema$typeObje3 = _this$schema$typeObje3.model) === null || _this$schema$typeObje3 === void 0 || (_this$schema$typeObje3 = _this$schema$typeObje3.attrs) === null || _this$schema$typeObje3 === void 0 ? void 0 : _this$schema$typeObje3.find(function (item) {
|
|
27441
27440
|
return item.display === 'title';
|
|
27442
27441
|
});
|
|
27443
|
-
var idName = this.schema.typeObject.model.idName;
|
|
27444
|
-
label = label.name || idName;
|
|
27442
|
+
var idName = (_this$schema$typeObje4 = this.schema.typeObject) === null || _this$schema$typeObje4 === void 0 || (_this$schema$typeObje4 = _this$schema$typeObje4.model) === null || _this$schema$typeObje4 === void 0 ? void 0 : _this$schema$typeObje4.idName;
|
|
27443
|
+
label = ((_label2 = label) === null || _label2 === void 0 ? void 0 : _label2.name) || idName;
|
|
27445
27444
|
var _transform = function transform(list) {
|
|
27446
27445
|
return list.filter(function (item) {
|
|
27447
27446
|
if (!_this2.filterRules.length) {
|
|
@@ -27462,9 +27461,9 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
27462
27461
|
};
|
|
27463
27462
|
});
|
|
27464
27463
|
};
|
|
27465
|
-
var _this$schema$
|
|
27466
|
-
node = _this$schema$
|
|
27467
|
-
collection = _this$schema$
|
|
27464
|
+
var _this$schema$typeObje5 = this.schema.typeObject.data,
|
|
27465
|
+
node = _this$schema$typeObje5.node,
|
|
27466
|
+
collection = _this$schema$typeObje5.collection;
|
|
27468
27467
|
var list = this.async && node ? [{
|
|
27469
27468
|
label: node[label],
|
|
27470
27469
|
value: node[idName],
|
|
@@ -27888,7 +27887,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
27888
27887
|
handleLoadTreeData: function handleLoadTreeData() {
|
|
27889
27888
|
var _this5 = this;
|
|
27890
27889
|
return _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee2() {
|
|
27891
|
-
var _yield$_this5$$api$ge, collection, label, idName, _transform2, node, list;
|
|
27890
|
+
var _this5$schema$typeObj, _this5$schema$typeObj2, _label3, _yield$_this5$$api$ge, collection, label, idName, _transform2, node, list;
|
|
27892
27891
|
return _regenerator().w(function (_context2) {
|
|
27893
27892
|
while (1) switch (_context2.n) {
|
|
27894
27893
|
case 0:
|
|
@@ -27901,11 +27900,11 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
27901
27900
|
case 1:
|
|
27902
27901
|
_yield$_this5$$api$ge = _context2.v;
|
|
27903
27902
|
collection = _yield$_this5$$api$ge.data.collection;
|
|
27904
|
-
label = _this5.schema.typeObject.model.attrs.find(function (item) {
|
|
27903
|
+
label = (_this5$schema$typeObj = _this5.schema.typeObject) === null || _this5$schema$typeObj === void 0 || (_this5$schema$typeObj = _this5$schema$typeObj.model) === null || _this5$schema$typeObj === void 0 || (_this5$schema$typeObj = _this5$schema$typeObj.attrs) === null || _this5$schema$typeObj === void 0 ? void 0 : _this5$schema$typeObj.find(function (item) {
|
|
27905
27904
|
return item.display === 'title';
|
|
27906
27905
|
});
|
|
27907
|
-
idName = _this5.schema.typeObject.model.idName;
|
|
27908
|
-
label = label.name || idName;
|
|
27906
|
+
idName = (_this5$schema$typeObj2 = _this5.schema.typeObject) === null || _this5$schema$typeObj2 === void 0 || (_this5$schema$typeObj2 = _this5$schema$typeObj2.model) === null || _this5$schema$typeObj2 === void 0 ? void 0 : _this5$schema$typeObj2.idName;
|
|
27907
|
+
label = ((_label3 = label) === null || _label3 === void 0 ? void 0 : _label3.name) || idName;
|
|
27909
27908
|
_transform2 = function transform(list) {
|
|
27910
27909
|
return list.map(function (item) {
|
|
27911
27910
|
return {
|
|
@@ -29987,11 +29986,12 @@ var listFilter = function listFilter(cellValue, attr) {
|
|
|
29987
29986
|
return text;
|
|
29988
29987
|
};
|
|
29989
29988
|
var wordbookFilter = function wordbookFilter(cellValue, attr) {
|
|
29989
|
+
var _attr$typeObject, _attr$typeObject2, _attr$typeObject3, _attr$typeObject4;
|
|
29990
29990
|
var text = cellValue;
|
|
29991
|
-
var label = attr.typeObject.model.attrs.find(function (item) {
|
|
29991
|
+
var label = (_attr$typeObject = attr.typeObject) === null || _attr$typeObject === void 0 || (_attr$typeObject = _attr$typeObject.model) === null || _attr$typeObject === void 0 || (_attr$typeObject = _attr$typeObject.attrs) === null || _attr$typeObject === void 0 ? void 0 : _attr$typeObject.find(function (item) {
|
|
29992
29992
|
return item.display === 'title';
|
|
29993
29993
|
});
|
|
29994
|
-
var idName = attr.typeObject.model.idName;
|
|
29994
|
+
var idName = (_attr$typeObject2 = attr.typeObject) === null || _attr$typeObject2 === void 0 || (_attr$typeObject2 = _attr$typeObject2.model) === null || _attr$typeObject2 === void 0 ? void 0 : _attr$typeObject2.idName;
|
|
29995
29995
|
function find(value, list) {
|
|
29996
29996
|
var result = null;
|
|
29997
29997
|
for (var i = 0; i < list.length; i++) {
|
|
@@ -30006,8 +30006,8 @@ var wordbookFilter = function wordbookFilter(cellValue, attr) {
|
|
|
30006
30006
|
}
|
|
30007
30007
|
return result;
|
|
30008
30008
|
}
|
|
30009
|
-
text = find(cellValue, attr.typeObject.data.collection);
|
|
30010
|
-
text = text ? text[label ? label.name : attr.typeObject.model.idName] : !cellValue ? '' : '-';
|
|
30009
|
+
text = find(cellValue, ((_attr$typeObject3 = attr.typeObject) === null || _attr$typeObject3 === void 0 || (_attr$typeObject3 = _attr$typeObject3.data) === null || _attr$typeObject3 === void 0 ? void 0 : _attr$typeObject3.collection) || []);
|
|
30010
|
+
text = text ? text[label ? label.name : (_attr$typeObject4 = attr.typeObject) === null || _attr$typeObject4 === void 0 || (_attr$typeObject4 = _attr$typeObject4.model) === null || _attr$typeObject4 === void 0 ? void 0 : _attr$typeObject4.idName] : !cellValue ? '' : '-';
|
|
30011
30011
|
return text;
|
|
30012
30012
|
};
|
|
30013
30013
|
var datetimeFilter = function datetimeFilter(cellValue, attr, moment) {
|
|
@@ -32491,17 +32491,6 @@ exports.write = function (buffer, value, offset, isLE, mLen, nBytes) {
|
|
|
32491
32491
|
/* unused harmony reexport * */
|
|
32492
32492
|
|
|
32493
32493
|
|
|
32494
|
-
/***/ }),
|
|
32495
|
-
|
|
32496
|
-
/***/ "972b":
|
|
32497
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
32498
|
-
|
|
32499
|
-
"use strict";
|
|
32500
|
-
/* harmony import */ var _core_node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_core_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_core_node_modules_vue_loader_lib_loaders_stylePostLoader_js_core_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_core_node_modules_cache_loader_dist_cjs_js_ref_1_0_core_node_modules_vue_loader_lib_index_js_vue_loader_options_WorkflowReport_vue_vue_type_style_index_0_id_3e0653b8_prod_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("4adf");
|
|
32501
|
-
/* harmony import */ var _core_node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_core_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_core_node_modules_vue_loader_lib_loaders_stylePostLoader_js_core_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_core_node_modules_cache_loader_dist_cjs_js_ref_1_0_core_node_modules_vue_loader_lib_index_js_vue_loader_options_WorkflowReport_vue_vue_type_style_index_0_id_3e0653b8_prod_lang_css__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_core_node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_core_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_core_node_modules_vue_loader_lib_loaders_stylePostLoader_js_core_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_core_node_modules_cache_loader_dist_cjs_js_ref_1_0_core_node_modules_vue_loader_lib_index_js_vue_loader_options_WorkflowReport_vue_vue_type_style_index_0_id_3e0653b8_prod_lang_css__WEBPACK_IMPORTED_MODULE_0__);
|
|
32502
|
-
/* unused harmony reexport * */
|
|
32503
|
-
|
|
32504
|
-
|
|
32505
32494
|
/***/ }),
|
|
32506
32495
|
|
|
32507
32496
|
/***/ "9897":
|
|
@@ -53466,17 +53455,6 @@ module.exports = forge.pbkdf2 = pkcs5.pbkdf2 = function(
|
|
|
53466
53455
|
|
|
53467
53456
|
}));
|
|
53468
53457
|
|
|
53469
|
-
/***/ }),
|
|
53470
|
-
|
|
53471
|
-
/***/ "b5c0":
|
|
53472
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
53473
|
-
|
|
53474
|
-
"use strict";
|
|
53475
|
-
/* harmony import */ var _core_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_core_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_core_node_modules_vue_loader_lib_loaders_stylePostLoader_js_core_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_core_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_core_node_modules_cache_loader_dist_cjs_js_ref_1_0_core_node_modules_vue_loader_lib_index_js_vue_loader_options_RuntimeWorkFlow_vue_vue_type_style_index_0_id_6084ac0b_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("4a5b");
|
|
53476
|
-
/* harmony import */ var _core_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_core_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_core_node_modules_vue_loader_lib_loaders_stylePostLoader_js_core_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_core_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_core_node_modules_cache_loader_dist_cjs_js_ref_1_0_core_node_modules_vue_loader_lib_index_js_vue_loader_options_RuntimeWorkFlow_vue_vue_type_style_index_0_id_6084ac0b_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_core_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_core_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_core_node_modules_vue_loader_lib_loaders_stylePostLoader_js_core_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_core_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_core_node_modules_cache_loader_dist_cjs_js_ref_1_0_core_node_modules_vue_loader_lib_index_js_vue_loader_options_RuntimeWorkFlow_vue_vue_type_style_index_0_id_6084ac0b_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
53477
|
-
/* unused harmony reexport * */
|
|
53478
|
-
|
|
53479
|
-
|
|
53480
53458
|
/***/ }),
|
|
53481
53459
|
|
|
53482
53460
|
/***/ "b639":
|
|
@@ -55688,11 +55666,12 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
55688
55666
|
// this.actionModel = { ...this.defaultValues, ...this.actionModel }
|
|
55689
55667
|
if (this.defaultValues) {
|
|
55690
55668
|
var _loop = function _loop(key) {
|
|
55669
|
+
var _attr$configs;
|
|
55691
55670
|
var attr = _this.columns.find(function (c) {
|
|
55692
55671
|
return c.name === key;
|
|
55693
55672
|
}) || undefined;
|
|
55694
55673
|
var required = (attr === null || attr === void 0 ? void 0 : attr.required) || false;
|
|
55695
|
-
if (attr !== null && attr !== void 0 && attr.configs.length) {
|
|
55674
|
+
if (attr !== null && attr !== void 0 && (_attr$configs = attr.configs) !== null && _attr$configs !== void 0 && _attr$configs.length) {
|
|
55696
55675
|
var configs = Object.fromEntries(attr.configs.map(function (c) {
|
|
55697
55676
|
return [c.key, c.value];
|
|
55698
55677
|
}));
|
|
@@ -55746,7 +55725,8 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
55746
55725
|
return rules;
|
|
55747
55726
|
},
|
|
55748
55727
|
configs: function configs() {
|
|
55749
|
-
|
|
55728
|
+
var _this$action;
|
|
55729
|
+
return Object.fromEntries((((_this$action = this.action) === null || _this$action === void 0 ? void 0 : _this$action.configs) || []).map(function (c) {
|
|
55750
55730
|
return [c.key, c.value];
|
|
55751
55731
|
}));
|
|
55752
55732
|
}
|
|
@@ -60645,6 +60625,13 @@ util.estimateCores = function(options, callback) {
|
|
|
60645
60625
|
|
|
60646
60626
|
/***/ }),
|
|
60647
60627
|
|
|
60628
|
+
/***/ "bb20":
|
|
60629
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
60630
|
+
|
|
60631
|
+
// extracted by mini-css-extract-plugin
|
|
60632
|
+
|
|
60633
|
+
/***/ }),
|
|
60634
|
+
|
|
60648
60635
|
/***/ "bd28":
|
|
60649
60636
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
60650
60637
|
|
|
@@ -62847,16 +62834,17 @@ function _readOnlyError(r) { throw new TypeError('"' + r + '" is read-only'); }
|
|
|
62847
62834
|
},
|
|
62848
62835
|
computed: {
|
|
62849
62836
|
columns: function columns() {
|
|
62850
|
-
var _this
|
|
62837
|
+
var _this$model,
|
|
62838
|
+
_this = this;
|
|
62851
62839
|
var h = this.$createElement;
|
|
62852
62840
|
var idName = this.idName,
|
|
62853
62841
|
hide = this.hide,
|
|
62854
62842
|
action = this.action;
|
|
62855
|
-
var columns = this.model.attrs.filter(function (attr) {
|
|
62843
|
+
var columns = (((_this$model = this.model) === null || _this$model === void 0 ? void 0 : _this$model.attrs) || []).filter(function (attr) {
|
|
62856
62844
|
return !['all', 'list'].includes(attr.hidden) && !hide.includes(attr.name) && attr.name !== idName && attr.metaType !== 'model' && attr.type !== 'link';
|
|
62857
62845
|
}).filter(function (attr) {
|
|
62858
|
-
var _this$params, _this$params2;
|
|
62859
|
-
var showConfig = attr.configs.find(function (config) {
|
|
62846
|
+
var _attr$configs, _this$params, _this$params2;
|
|
62847
|
+
var showConfig = (_attr$configs = attr.configs) === null || _attr$configs === void 0 ? void 0 : _attr$configs.find(function (config) {
|
|
62860
62848
|
return config.key === 'visibleWhenParent';
|
|
62861
62849
|
});
|
|
62862
62850
|
if (!((_this$params = _this.params) !== null && _this$params !== void 0 && _this$params.$parent) || !showConfig) {
|
|
@@ -62867,7 +62855,7 @@ function _readOnlyError(r) { throw new TypeError('"' + r + '" is read-only'); }
|
|
|
62867
62855
|
var expressionFn = new Function(Object.keys(data), "return ".concat(showConfig.value));
|
|
62868
62856
|
return expressionFn.apply(void 0, _toConsumableArray(Object.values(data)));
|
|
62869
62857
|
}).map(function (attr) {
|
|
62870
|
-
var configs = Object.fromEntries(attr.configs.map(function (c) {
|
|
62858
|
+
var configs = Object.fromEntries((attr.configs || []).map(function (c) {
|
|
62871
62859
|
return [c.key, c.value];
|
|
62872
62860
|
}));
|
|
62873
62861
|
return {
|
|
@@ -63114,7 +63102,8 @@ function _readOnlyError(r) { throw new TypeError('"' + r + '" is read-only'); }
|
|
|
63114
63102
|
return this.model && this.model.filters ? this.model.filters.filter(function (f) {
|
|
63115
63103
|
return !_this2.hide.includes(f.name) && !['tree-select'].includes(f.control);
|
|
63116
63104
|
}).map(function (f) {
|
|
63117
|
-
var
|
|
63105
|
+
var _this2$model;
|
|
63106
|
+
var attr = (_this2$model = _this2.model) === null || _this2$model === void 0 || (_this2$model = _this2$model.attrs) === null || _this2$model === void 0 ? void 0 : _this2$model.find(function (a) {
|
|
63118
63107
|
return a.name === f.name;
|
|
63119
63108
|
});
|
|
63120
63109
|
return _objectSpread(_objectSpread({}, attr), f);
|
|
@@ -63125,7 +63114,8 @@ function _readOnlyError(r) { throw new TypeError('"' + r + '" is read-only'); }
|
|
|
63125
63114
|
return this.model && this.model.filters ? this.model.filters.filter(function (f) {
|
|
63126
63115
|
return !_this3.hide.includes(f.name) && ['tree-select'].includes(f.control);
|
|
63127
63116
|
}).map(function (f) {
|
|
63128
|
-
var
|
|
63117
|
+
var _this3$model;
|
|
63118
|
+
var attr = (_this3$model = _this3.model) === null || _this3$model === void 0 || (_this3$model = _this3$model.attrs) === null || _this3$model === void 0 ? void 0 : _this3$model.find(function (a) {
|
|
63129
63119
|
return a.name === f.name;
|
|
63130
63120
|
});
|
|
63131
63121
|
return _objectSpread(_objectSpread({}, attr), f);
|
|
@@ -64019,7 +64009,7 @@ function base_toPrimitive(t, r) { if ("object" != base_typeof(t) || !t) return t
|
|
|
64019
64009
|
handleFindAll: function handleFindAll() {},
|
|
64020
64010
|
handleFindOne: function handleFindOne() {},
|
|
64021
64011
|
handleCreate: function handleCreate(action) {
|
|
64022
|
-
var configs = Object.fromEntries(action.configs.map(function (c) {
|
|
64012
|
+
var configs = Object.fromEntries((action.configs || []).map(function (c) {
|
|
64023
64013
|
return [c.key, c.value];
|
|
64024
64014
|
}));
|
|
64025
64015
|
this.formMode = 'create';
|
|
@@ -64558,8 +64548,9 @@ function flow_asyncToGenerator(n) { return function () { var t = this, e = argum
|
|
|
64558
64548
|
}))();
|
|
64559
64549
|
},
|
|
64560
64550
|
getActionWidget: function getActionWidget(action) {
|
|
64551
|
+
var _action$configs;
|
|
64561
64552
|
var configs = null;
|
|
64562
|
-
if (action.configs.length) {
|
|
64553
|
+
if ((_action$configs = action.configs) !== null && _action$configs !== void 0 && _action$configs.length) {
|
|
64563
64554
|
configs = Object.fromEntries(action.configs.map(function (c) {
|
|
64564
64555
|
return [c.key, c.value];
|
|
64565
64556
|
}));
|
|
@@ -65202,14 +65193,14 @@ var SHOW_RULES = {
|
|
|
65202
65193
|
this.unwatchs = [];
|
|
65203
65194
|
}
|
|
65204
65195
|
});
|
|
65205
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1b95bb1c-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!../src/web/components/widgets/list/Table.vue?vue&type=template&id=
|
|
65206
|
-
function
|
|
65207
|
-
function
|
|
65208
|
-
function
|
|
65209
|
-
function
|
|
65210
|
-
function
|
|
65211
|
-
function
|
|
65212
|
-
var
|
|
65196
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1b95bb1c-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!../src/web/components/widgets/list/Table.vue?vue&type=template&id=84223432&scoped=true
|
|
65197
|
+
function Tablevue_type_template_id_84223432_scoped_true_toConsumableArray(r) { return Tablevue_type_template_id_84223432_scoped_true_arrayWithoutHoles(r) || Tablevue_type_template_id_84223432_scoped_true_iterableToArray(r) || Tablevue_type_template_id_84223432_scoped_true_unsupportedIterableToArray(r) || Tablevue_type_template_id_84223432_scoped_true_nonIterableSpread(); }
|
|
65198
|
+
function Tablevue_type_template_id_84223432_scoped_true_nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
65199
|
+
function Tablevue_type_template_id_84223432_scoped_true_unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return Tablevue_type_template_id_84223432_scoped_true_arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? Tablevue_type_template_id_84223432_scoped_true_arrayLikeToArray(r, a) : void 0; } }
|
|
65200
|
+
function Tablevue_type_template_id_84223432_scoped_true_iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
|
|
65201
|
+
function Tablevue_type_template_id_84223432_scoped_true_arrayWithoutHoles(r) { if (Array.isArray(r)) return Tablevue_type_template_id_84223432_scoped_true_arrayLikeToArray(r); }
|
|
65202
|
+
function Tablevue_type_template_id_84223432_scoped_true_arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
65203
|
+
var Tablevue_type_template_id_84223432_scoped_true_render = function render() {
|
|
65213
65204
|
var _vm = this,
|
|
65214
65205
|
_c = _vm._self._c;
|
|
65215
65206
|
return _vm.$isMobile ? _c('a-spin', {
|
|
@@ -65276,7 +65267,7 @@ var Tablevue_type_template_id_24262128_scoped_true_render = function render() {
|
|
|
65276
65267
|
'list-table-header-selection-checkbox': _vm.$attrs.rowSelection && _vm.$attrs.rowSelection.type && _vm.$attrs.rowSelection.type === 'checkbox' && _vm.showSelectionText
|
|
65277
65268
|
},
|
|
65278
65269
|
attrs: {
|
|
65279
|
-
"columns": [].concat(
|
|
65270
|
+
"columns": [].concat(Tablevue_type_template_id_84223432_scoped_true_toConsumableArray(_vm.prefixTitleColumns), [_vm.titleColumn], Tablevue_type_template_id_84223432_scoped_true_toConsumableArray(_vm.contentColumn), Tablevue_type_template_id_84223432_scoped_true_toConsumableArray(_vm.isViewSelect ? [] : [_vm.actionColumn])),
|
|
65280
65271
|
"pagination": false,
|
|
65281
65272
|
"size": "middle"
|
|
65282
65273
|
}
|
|
@@ -65290,9 +65281,9 @@ var Tablevue_type_template_id_24262128_scoped_true_render = function render() {
|
|
|
65290
65281
|
}
|
|
65291
65282
|
}, 'a-table', _vm.$attrs, false));
|
|
65292
65283
|
};
|
|
65293
|
-
var
|
|
65284
|
+
var Tablevue_type_template_id_84223432_scoped_true_staticRenderFns = [];
|
|
65294
65285
|
|
|
65295
|
-
// CONCATENATED MODULE: ../src/web/components/widgets/list/Table.vue?vue&type=template&id=
|
|
65286
|
+
// CONCATENATED MODULE: ../src/web/components/widgets/list/Table.vue?vue&type=template&id=84223432&scoped=true
|
|
65296
65287
|
|
|
65297
65288
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!../src/web/components/widgets/list/Table.vue?vue&type=script&lang=js
|
|
65298
65289
|
function Tablevue_type_script_lang_js_toConsumableArray(r) { return Tablevue_type_script_lang_js_arrayWithoutHoles(r) || Tablevue_type_script_lang_js_iterableToArray(r) || Tablevue_type_script_lang_js_unsupportedIterableToArray(r) || Tablevue_type_script_lang_js_nonIterableSpread(); }
|
|
@@ -65324,7 +65315,7 @@ function Tablevue_type_script_lang_js_arrayLikeToArray(r, a) { (null == a || a >
|
|
|
65324
65315
|
prefixTitleColumns: function prefixTitleColumns() {
|
|
65325
65316
|
return this.$attrs.columns.filter(function (item) {
|
|
65326
65317
|
var _item$schema2;
|
|
65327
|
-
return (_item$schema2 = item.schema) === null || _item$schema2 === void 0 ? void 0 : _item$schema2.
|
|
65318
|
+
return (_item$schema2 = item.schema) === null || _item$schema2 === void 0 || (_item$schema2 = _item$schema2.configs) === null || _item$schema2 === void 0 ? void 0 : _item$schema2.find(function (item) {
|
|
65328
65319
|
return item.key === 'card-title-prefix' && item.value === 'true';
|
|
65329
65320
|
});
|
|
65330
65321
|
});
|
|
@@ -65334,7 +65325,7 @@ function Tablevue_type_script_lang_js_arrayLikeToArray(r, a) { (null == a || a >
|
|
|
65334
65325
|
_this = this;
|
|
65335
65326
|
var contents = (_this$$attrs$columns$ = this.$attrs.columns.filter(function (item) {
|
|
65336
65327
|
var _item$schema3;
|
|
65337
|
-
return (_item$schema3 = item.schema) === null || _item$schema3 === void 0 ? void 0 : _item$schema3.
|
|
65328
|
+
return (_item$schema3 = item.schema) === null || _item$schema3 === void 0 || (_item$schema3 = _item$schema3.configs) === null || _item$schema3 === void 0 ? void 0 : _item$schema3.find(function (item) {
|
|
65338
65329
|
return item.key === 'card-content' && item.value === 'true';
|
|
65339
65330
|
});
|
|
65340
65331
|
})) !== null && _this$$attrs$columns$ !== void 0 ? _this$$attrs$columns$ : [];
|
|
@@ -65351,7 +65342,8 @@ function Tablevue_type_script_lang_js_arrayLikeToArray(r, a) { (null == a || a >
|
|
|
65351
65342
|
});
|
|
65352
65343
|
},
|
|
65353
65344
|
showSelectionText: function showSelectionText() {
|
|
65354
|
-
|
|
65345
|
+
var _this$$store$state$ap;
|
|
65346
|
+
if ((_this$$store$state$ap = this.$store.state.app.config) !== null && _this$$store$state$ap !== void 0 && _this$$store$state$ap.length) {
|
|
65355
65347
|
var configs = Object.fromEntries(this.$store.state.app.config.map(function (c) {
|
|
65356
65348
|
return [c.config_key, c.config_value];
|
|
65357
65349
|
}));
|
|
@@ -65363,8 +65355,8 @@ function Tablevue_type_script_lang_js_arrayLikeToArray(r, a) { (null == a || a >
|
|
|
65363
65355
|
});
|
|
65364
65356
|
// CONCATENATED MODULE: ../src/web/components/widgets/list/Table.vue?vue&type=script&lang=js
|
|
65365
65357
|
/* harmony default export */ var list_Tablevue_type_script_lang_js = (Tablevue_type_script_lang_js);
|
|
65366
|
-
// EXTERNAL MODULE: ../src/web/components/widgets/list/Table.vue?vue&type=style&index=0&id=
|
|
65367
|
-
var
|
|
65358
|
+
// EXTERNAL MODULE: ../src/web/components/widgets/list/Table.vue?vue&type=style&index=0&id=84223432&prod&lang=less&scoped=true
|
|
65359
|
+
var Tablevue_type_style_index_0_id_84223432_prod_lang_less_scoped_true = __webpack_require__("4b57");
|
|
65368
65360
|
|
|
65369
65361
|
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
65370
65362
|
var componentNormalizer = __webpack_require__("2877");
|
|
@@ -65380,11 +65372,11 @@ var componentNormalizer = __webpack_require__("2877");
|
|
|
65380
65372
|
|
|
65381
65373
|
var component = Object(componentNormalizer["a" /* default */])(
|
|
65382
65374
|
list_Tablevue_type_script_lang_js,
|
|
65383
|
-
|
|
65384
|
-
|
|
65375
|
+
Tablevue_type_template_id_84223432_scoped_true_render,
|
|
65376
|
+
Tablevue_type_template_id_84223432_scoped_true_staticRenderFns,
|
|
65385
65377
|
false,
|
|
65386
65378
|
null,
|
|
65387
|
-
"
|
|
65379
|
+
"84223432",
|
|
65388
65380
|
null
|
|
65389
65381
|
|
|
65390
65382
|
)
|
|
@@ -66754,15 +66746,16 @@ function profile_arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.
|
|
|
66754
66746
|
},
|
|
66755
66747
|
computed: {
|
|
66756
66748
|
columns: function columns() {
|
|
66757
|
-
var _this
|
|
66758
|
-
|
|
66749
|
+
var _this$model,
|
|
66750
|
+
_this = this;
|
|
66751
|
+
var columns = (((_this$model = this.model) === null || _this$model === void 0 ? void 0 : _this$model.attrs) || []).filter(function (attr) {
|
|
66759
66752
|
var _attr$params = attr.params,
|
|
66760
66753
|
_attr$params2 = _attr$params === void 0 ? {} : _attr$params,
|
|
66761
66754
|
show = _attr$params2.show;
|
|
66762
66755
|
return !['all'].includes(attr.hidden) && attr.metaType !== 'model' && attr.type !== 'link' && (show ? Object(every["a" /* default */])(show, _this.profile) : true);
|
|
66763
66756
|
}).filter(function (attr) {
|
|
66764
|
-
var _this$params, _this$params2;
|
|
66765
|
-
var showConfig = attr.configs.find(function (config) {
|
|
66757
|
+
var _attr$configs, _this$params, _this$params2;
|
|
66758
|
+
var showConfig = (_attr$configs = attr.configs) === null || _attr$configs === void 0 ? void 0 : _attr$configs.find(function (config) {
|
|
66766
66759
|
return config.key === 'visibleWhenParent';
|
|
66767
66760
|
});
|
|
66768
66761
|
if (!((_this$params = _this.params) !== null && _this$params !== void 0 && _this$params.$parent) || !showConfig) {
|
|
@@ -66776,8 +66769,9 @@ function profile_arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.
|
|
|
66776
66769
|
return columns;
|
|
66777
66770
|
},
|
|
66778
66771
|
subviews: function subviews() {
|
|
66779
|
-
var
|
|
66780
|
-
|
|
66772
|
+
var _this$model2,
|
|
66773
|
+
_this2 = this;
|
|
66774
|
+
return (((_this$model2 = this.model) === null || _this$model2 === void 0 ? void 0 : _this$model2.attrs) || []).filter(function (attr) {
|
|
66781
66775
|
var _attr$params3 = attr.params,
|
|
66782
66776
|
_attr$params4 = _attr$params3 === void 0 ? {} : _attr$params3,
|
|
66783
66777
|
show = _attr$params4.show;
|
|
@@ -68011,22 +68005,25 @@ var form_ACTION_ACCESS = {
|
|
|
68011
68005
|
return !this.viewSchema;
|
|
68012
68006
|
},
|
|
68013
68007
|
columns: function columns() {
|
|
68014
|
-
var
|
|
68008
|
+
var _action$view,
|
|
68009
|
+
_this$viewSchema,
|
|
68015
68010
|
_this = this,
|
|
68016
68011
|
_newAction$view$model,
|
|
68017
68012
|
_newAction$view,
|
|
68018
|
-
_this$viewSchema2
|
|
68013
|
+
_this$viewSchema2,
|
|
68014
|
+
_ref;
|
|
68019
68015
|
var action = this.action,
|
|
68020
68016
|
params = this.params,
|
|
68021
68017
|
model = this.model,
|
|
68022
68018
|
editType = this.editType,
|
|
68023
68019
|
hide = this.hide;
|
|
68024
|
-
var normalAttrs = action && action.view ? action.view.model.attrs : params && params.attrs ? params.attrs : model.attrs ? model.attrs : [];
|
|
68020
|
+
var normalAttrs = action && action.view ? (_action$view = action.view) === null || _action$view === void 0 || (_action$view = _action$view.model) === null || _action$view === void 0 ? void 0 : _action$view.attrs : params && params.attrs ? params.attrs : model !== null && model !== void 0 && model.attrs ? model.attrs : [];
|
|
68025
68021
|
var newAction = (_this$viewSchema = this.viewSchema) === null || _this$viewSchema === void 0 || (_this$viewSchema = _this$viewSchema.model) === null || _this$viewSchema === void 0 || (_this$viewSchema = _this$viewSchema.actions) === null || _this$viewSchema === void 0 ? void 0 : _this$viewSchema.find(function (action) {
|
|
68026
|
-
|
|
68022
|
+
var _this$action;
|
|
68023
|
+
return action.id === ((_this$action = _this.action) === null || _this$action === void 0 ? void 0 : _this$action.id);
|
|
68027
68024
|
});
|
|
68028
68025
|
var newActionAttrs = (_newAction$view$model = newAction === null || newAction === void 0 || (_newAction$view = newAction.view) === null || _newAction$view === void 0 || (_newAction$view = _newAction$view.model) === null || _newAction$view === void 0 ? void 0 : _newAction$view.attrs) !== null && _newAction$view$model !== void 0 ? _newAction$view$model : (_this$viewSchema2 = this.viewSchema) === null || _this$viewSchema2 === void 0 || (_this$viewSchema2 = _this$viewSchema2.model) === null || _this$viewSchema2 === void 0 ? void 0 : _this$viewSchema2.attrs;
|
|
68029
|
-
var attrs = newActionAttrs !== null && newActionAttrs !== void 0 ? newActionAttrs : normalAttrs;
|
|
68026
|
+
var attrs = (_ref = newActionAttrs !== null && newActionAttrs !== void 0 ? newActionAttrs : normalAttrs) !== null && _ref !== void 0 ? _ref : [];
|
|
68030
68027
|
|
|
68031
68028
|
// if (this.action && this.action.list && !this.params.attrs) {
|
|
68032
68029
|
if (action && action.list) {
|
|
@@ -68038,8 +68035,8 @@ var form_ACTION_ACCESS = {
|
|
|
68038
68035
|
return attrs.filter(function (attr) {
|
|
68039
68036
|
return form_ACTION_ACCESS[editType].includes(attr.access) && !hide.includes(attr.name) && attr.metaType !== 'collection' && attr.metaType !== 'model' && attr.type !== 'link';
|
|
68040
68037
|
}).filter(function (attr) {
|
|
68041
|
-
var _this$params, _this$params2;
|
|
68042
|
-
var showConfig = attr.configs.find(function (config) {
|
|
68038
|
+
var _attr$configs, _this$params, _this$params2;
|
|
68039
|
+
var showConfig = (_attr$configs = attr.configs) === null || _attr$configs === void 0 ? void 0 : _attr$configs.find(function (config) {
|
|
68043
68040
|
return config.key === 'visibleWhenParent';
|
|
68044
68041
|
});
|
|
68045
68042
|
if (!((_this$params = _this.params) !== null && _this$params !== void 0 && _this$params.$parent) || !showConfig) {
|
|
@@ -68053,10 +68050,11 @@ var form_ACTION_ACCESS = {
|
|
|
68053
68050
|
},
|
|
68054
68051
|
rules: function rules() {},
|
|
68055
68052
|
formWidget: function formWidget() {
|
|
68056
|
-
var
|
|
68053
|
+
var _this$action2, _this$configs;
|
|
68054
|
+
var actionConfigs = Object.fromEntries((((_this$action2 = this.action) === null || _this$action2 === void 0 ? void 0 : _this$action2.configs) || []).map(function (c) {
|
|
68057
68055
|
return [c.key, c.value];
|
|
68058
68056
|
})) || [];
|
|
68059
|
-
var configs = actionConfigs['form.widget'] || this.configs['form.widget'] || null;
|
|
68057
|
+
var configs = actionConfigs['form.widget'] || ((_this$configs = this.configs) === null || _this$configs === void 0 ? void 0 : _this$configs['form.widget']) || null;
|
|
68060
68058
|
return configs;
|
|
68061
68059
|
}
|
|
68062
68060
|
},
|
|
@@ -71759,8 +71757,8 @@ var PickerTree_component = Object(componentNormalizer["a" /* default */])(
|
|
|
71759
71757
|
)
|
|
71760
71758
|
|
|
71761
71759
|
/* harmony default export */ var PickerTree = (PickerTree_component.exports);
|
|
71762
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1b95bb1c-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!../src/web/components/forms/WorkflowReport.vue?vue&type=template&id=
|
|
71763
|
-
var
|
|
71760
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1b95bb1c-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!../src/web/components/forms/WorkflowReport.vue?vue&type=template&id=139fe334
|
|
71761
|
+
var WorkflowReportvue_type_template_id_139fe334_render = function render() {
|
|
71764
71762
|
var _vm = this,
|
|
71765
71763
|
_c = _vm._self._c;
|
|
71766
71764
|
return _c('a-form-model', {
|
|
@@ -72093,9 +72091,9 @@ var WorkflowReportvue_type_template_id_3e0653b8_render = function render() {
|
|
|
72093
72091
|
ref: "graph"
|
|
72094
72092
|
})])], 1)], 1)], 1);
|
|
72095
72093
|
};
|
|
72096
|
-
var
|
|
72094
|
+
var WorkflowReportvue_type_template_id_139fe334_staticRenderFns = [];
|
|
72097
72095
|
|
|
72098
|
-
// CONCATENATED MODULE: ../src/web/components/forms/WorkflowReport.vue?vue&type=template&id=
|
|
72096
|
+
// CONCATENATED MODULE: ../src/web/components/forms/WorkflowReport.vue?vue&type=template&id=139fe334
|
|
72099
72097
|
|
|
72100
72098
|
// EXTERNAL MODULE: external {"root":"@antv/g6","commonjs2":"@antv/g6","commonjs":"@antv/g6","amd":"@antv/g6"}
|
|
72101
72099
|
var g6_ = __webpack_require__("336c");
|
|
@@ -72385,11 +72383,12 @@ var Plugin = __webpack_require__("019f");
|
|
|
72385
72383
|
});
|
|
72386
72384
|
},
|
|
72387
72385
|
attrs: function attrs() {
|
|
72388
|
-
var
|
|
72386
|
+
var _this$view,
|
|
72387
|
+
_this8 = this;
|
|
72389
72388
|
var names = this.formItems.map(function (item) {
|
|
72390
72389
|
return item.attr_name;
|
|
72391
72390
|
});
|
|
72392
|
-
var attrs = this.view.schema.model.attrs.filter(function (attr) {
|
|
72391
|
+
var attrs = (((_this$view = this.view) === null || _this$view === void 0 || (_this$view = _this$view.schema) === null || _this$view === void 0 || (_this$view = _this$view.model) === null || _this$view === void 0 ? void 0 : _this$view.attrs) || []).filter(function (attr) {
|
|
72393
72392
|
return names.includes(attr.name);
|
|
72394
72393
|
}).map(function (attr) {
|
|
72395
72394
|
var extend = _this8.formItems.find(function (item) {
|
|
@@ -72430,8 +72429,8 @@ var Plugin = __webpack_require__("019f");
|
|
|
72430
72429
|
});
|
|
72431
72430
|
// CONCATENATED MODULE: ../src/web/components/forms/WorkflowReport.vue?vue&type=script&lang=js
|
|
72432
72431
|
/* harmony default export */ var forms_WorkflowReportvue_type_script_lang_js = (WorkflowReportvue_type_script_lang_js);
|
|
72433
|
-
// EXTERNAL MODULE: ../src/web/components/forms/WorkflowReport.vue?vue&type=style&index=0&id=
|
|
72434
|
-
var
|
|
72432
|
+
// EXTERNAL MODULE: ../src/web/components/forms/WorkflowReport.vue?vue&type=style&index=0&id=139fe334&prod&lang=css
|
|
72433
|
+
var WorkflowReportvue_type_style_index_0_id_139fe334_prod_lang_css = __webpack_require__("3971");
|
|
72435
72434
|
|
|
72436
72435
|
// CONCATENATED MODULE: ../src/web/components/forms/WorkflowReport.vue
|
|
72437
72436
|
|
|
@@ -72444,8 +72443,8 @@ var WorkflowReportvue_type_style_index_0_id_3e0653b8_prod_lang_css = __webpack_r
|
|
|
72444
72443
|
|
|
72445
72444
|
var WorkflowReport_component = Object(componentNormalizer["a" /* default */])(
|
|
72446
72445
|
forms_WorkflowReportvue_type_script_lang_js,
|
|
72447
|
-
|
|
72448
|
-
|
|
72446
|
+
WorkflowReportvue_type_template_id_139fe334_render,
|
|
72447
|
+
WorkflowReportvue_type_template_id_139fe334_staticRenderFns,
|
|
72449
72448
|
false,
|
|
72450
72449
|
null,
|
|
72451
72450
|
null,
|
|
@@ -73147,8 +73146,8 @@ var WorkFlowDesigner_component = Object(componentNormalizer["a" /* default */])(
|
|
|
73147
73146
|
)
|
|
73148
73147
|
|
|
73149
73148
|
/* harmony default export */ var WorkFlowDesigner = (WorkFlowDesigner_component.exports);
|
|
73150
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1b95bb1c-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!../src/web/components/forms/flow/runtime/RuntimeWorkFlow.vue?vue&type=template&id=
|
|
73151
|
-
var
|
|
73149
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1b95bb1c-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!../src/web/components/forms/flow/runtime/RuntimeWorkFlow.vue?vue&type=template&id=64263955&scoped=true
|
|
73150
|
+
var RuntimeWorkFlowvue_type_template_id_64263955_scoped_true_render = function render() {
|
|
73152
73151
|
var _this = this,
|
|
73153
73152
|
_vm$currentNode$data$,
|
|
73154
73153
|
_vm$currentNode$data$2,
|
|
@@ -73881,9 +73880,9 @@ var RuntimeWorkFlowvue_type_template_id_6084ac0b_scoped_true_render = function r
|
|
|
73881
73880
|
}
|
|
73882
73881
|
}, [_vm._v("关闭")])], 1)], 2)], 1);
|
|
73883
73882
|
};
|
|
73884
|
-
var
|
|
73883
|
+
var RuntimeWorkFlowvue_type_template_id_64263955_scoped_true_staticRenderFns = [];
|
|
73885
73884
|
|
|
73886
|
-
// CONCATENATED MODULE: ../src/web/components/forms/flow/runtime/RuntimeWorkFlow.vue?vue&type=template&id=
|
|
73885
|
+
// CONCATENATED MODULE: ../src/web/components/forms/flow/runtime/RuntimeWorkFlow.vue?vue&type=template&id=64263955&scoped=true
|
|
73887
73886
|
|
|
73888
73887
|
// EXTERNAL MODULE: external {"root":"vuedraggable","commonjs2":"vuedraggable","commonjs":"vuedraggable","amd":"vuedraggable"}
|
|
73889
73888
|
var external_root_vuedraggable_commonjs2_vuedraggable_commonjs_vuedraggable_amd_vuedraggable_ = __webpack_require__("289a");
|
|
@@ -74230,12 +74229,12 @@ var CHECK_ACTION = {
|
|
|
74230
74229
|
mounted: function mounted() {
|
|
74231
74230
|
var _this = this;
|
|
74232
74231
|
return RuntimeWorkFlowvue_type_script_lang_js_asyncToGenerator(/*#__PURE__*/RuntimeWorkFlowvue_type_script_lang_js_regenerator().m(function _callee() {
|
|
74233
|
-
var _OPERATE$_this$config, _data$data, _data$data2, _this$runtimeData, _this$runtimeData2, _data$data3;
|
|
74232
|
+
var _this$view, _OPERATE$_this$config, _data$data, _data$data2, _this$runtimeData, _this$runtimeData2, _data$data3;
|
|
74234
74233
|
var data, runtimeData, caseNodeMap, users, nodeJson, node, paneSet;
|
|
74235
74234
|
return RuntimeWorkFlowvue_type_script_lang_js_regenerator().w(function (_context) {
|
|
74236
74235
|
while (1) switch (_context.n) {
|
|
74237
74236
|
case 0:
|
|
74238
|
-
_this.activityColumns = _this.view.schema.model.attrs.filter(function (column) {
|
|
74237
|
+
_this.activityColumns = (((_this$view = _this.view) === null || _this$view === void 0 || (_this$view = _this$view.schema) === null || _this$view === void 0 || (_this$view = _this$view.model) === null || _this$view === void 0 ? void 0 : _this$view.attrs) || []).filter(function (column) {
|
|
74239
74238
|
return column.access !== 'none';
|
|
74240
74239
|
}).map(function (column) {
|
|
74241
74240
|
return column.name;
|
|
@@ -75006,8 +75005,8 @@ var CHECK_ACTION = {
|
|
|
75006
75005
|
});
|
|
75007
75006
|
// CONCATENATED MODULE: ../src/web/components/forms/flow/runtime/RuntimeWorkFlow.vue?vue&type=script&lang=js
|
|
75008
75007
|
/* harmony default export */ var runtime_RuntimeWorkFlowvue_type_script_lang_js = (RuntimeWorkFlowvue_type_script_lang_js);
|
|
75009
|
-
// EXTERNAL MODULE: ../src/web/components/forms/flow/runtime/RuntimeWorkFlow.vue?vue&type=style&index=0&id=
|
|
75010
|
-
var
|
|
75008
|
+
// EXTERNAL MODULE: ../src/web/components/forms/flow/runtime/RuntimeWorkFlow.vue?vue&type=style&index=0&id=64263955&prod&lang=less&scoped=true
|
|
75009
|
+
var RuntimeWorkFlowvue_type_style_index_0_id_64263955_prod_lang_less_scoped_true = __webpack_require__("e2aa");
|
|
75011
75010
|
|
|
75012
75011
|
// CONCATENATED MODULE: ../src/web/components/forms/flow/runtime/RuntimeWorkFlow.vue
|
|
75013
75012
|
|
|
@@ -75020,11 +75019,11 @@ var RuntimeWorkFlowvue_type_style_index_0_id_6084ac0b_prod_lang_less_scoped_true
|
|
|
75020
75019
|
|
|
75021
75020
|
var RuntimeWorkFlow_component = Object(componentNormalizer["a" /* default */])(
|
|
75022
75021
|
runtime_RuntimeWorkFlowvue_type_script_lang_js,
|
|
75023
|
-
|
|
75024
|
-
|
|
75022
|
+
RuntimeWorkFlowvue_type_template_id_64263955_scoped_true_render,
|
|
75023
|
+
RuntimeWorkFlowvue_type_template_id_64263955_scoped_true_staticRenderFns,
|
|
75025
75024
|
false,
|
|
75026
75025
|
null,
|
|
75027
|
-
"
|
|
75026
|
+
"64263955",
|
|
75028
75027
|
null
|
|
75029
75028
|
|
|
75030
75029
|
)
|
|
@@ -79669,6 +79668,17 @@ __webpack_require__("62b2");
|
|
|
79669
79668
|
__webpack_require__("86a7");
|
|
79670
79669
|
|
|
79671
79670
|
|
|
79671
|
+
/***/ }),
|
|
79672
|
+
|
|
79673
|
+
/***/ "e2aa":
|
|
79674
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
79675
|
+
|
|
79676
|
+
"use strict";
|
|
79677
|
+
/* harmony import */ var _core_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_core_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_core_node_modules_vue_loader_lib_loaders_stylePostLoader_js_core_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_core_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_core_node_modules_cache_loader_dist_cjs_js_ref_1_0_core_node_modules_vue_loader_lib_index_js_vue_loader_options_RuntimeWorkFlow_vue_vue_type_style_index_0_id_64263955_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("bb20");
|
|
79678
|
+
/* harmony import */ var _core_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_core_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_core_node_modules_vue_loader_lib_loaders_stylePostLoader_js_core_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_core_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_core_node_modules_cache_loader_dist_cjs_js_ref_1_0_core_node_modules_vue_loader_lib_index_js_vue_loader_options_RuntimeWorkFlow_vue_vue_type_style_index_0_id_64263955_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_core_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_core_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_core_node_modules_vue_loader_lib_loaders_stylePostLoader_js_core_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_core_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_core_node_modules_cache_loader_dist_cjs_js_ref_1_0_core_node_modules_vue_loader_lib_index_js_vue_loader_options_RuntimeWorkFlow_vue_vue_type_style_index_0_id_64263955_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
79679
|
+
/* unused harmony reexport * */
|
|
79680
|
+
|
|
79681
|
+
|
|
79672
79682
|
/***/ }),
|
|
79673
79683
|
|
|
79674
79684
|
/***/ "e39e":
|
|
@@ -81357,6 +81367,13 @@ module.exports = {
|
|
|
81357
81367
|
};
|
|
81358
81368
|
|
|
81359
81369
|
|
|
81370
|
+
/***/ }),
|
|
81371
|
+
|
|
81372
|
+
/***/ "ebfa":
|
|
81373
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
81374
|
+
|
|
81375
|
+
// extracted by mini-css-extract-plugin
|
|
81376
|
+
|
|
81360
81377
|
/***/ }),
|
|
81361
81378
|
|
|
81362
81379
|
/***/ "ecbb":
|
|
@@ -82903,7 +82920,8 @@ function createViewModule(store, namespace, pageNamespace, viewKey) {
|
|
|
82903
82920
|
},
|
|
82904
82921
|
createSubViewStore: function createSubViewStore(state, payload) {
|
|
82905
82922
|
function createSubViewStore(view, parentName) {
|
|
82906
|
-
|
|
82923
|
+
var _view$model;
|
|
82924
|
+
(((_view$model = view.model) === null || _view$model === void 0 ? void 0 : _view$model.attrs) || []).filter(function (a) {
|
|
82907
82925
|
return a.metaType === 'model';
|
|
82908
82926
|
}).map(function (a) {
|
|
82909
82927
|
var name = "".concat(parentName, "/:id/").concat(a.name);
|
|
@@ -83203,13 +83221,15 @@ function createViewModule(store, namespace, pageNamespace, viewKey) {
|
|
|
83203
83221
|
return getters.model ? getters.model.nodeName : null;
|
|
83204
83222
|
},
|
|
83205
83223
|
titleName: function titleName(state, getters) {
|
|
83206
|
-
var
|
|
83224
|
+
var _getters$model;
|
|
83225
|
+
var title = (_getters$model = getters.model) === null || _getters$model === void 0 || (_getters$model = _getters$model.attrs) === null || _getters$model === void 0 ? void 0 : _getters$model.find(function (item) {
|
|
83207
83226
|
return item.display === 'title';
|
|
83208
83227
|
});
|
|
83209
83228
|
return title ? title.name : null;
|
|
83210
83229
|
},
|
|
83211
83230
|
titleSchema: function titleSchema(state, getters) {
|
|
83212
|
-
var
|
|
83231
|
+
var _getters$model2;
|
|
83232
|
+
var title = (_getters$model2 = getters.model) === null || _getters$model2 === void 0 || (_getters$model2 = _getters$model2.attrs) === null || _getters$model2 === void 0 ? void 0 : _getters$model2.find(function (item) {
|
|
83213
83233
|
return item.display === 'title';
|
|
83214
83234
|
});
|
|
83215
83235
|
return title || null;
|
|
@@ -83317,7 +83337,8 @@ function createPageModule_asyncToGenerator(n) { return function () { var t = thi
|
|
|
83317
83337
|
},
|
|
83318
83338
|
createViewStore: function createViewStore(state, views) {
|
|
83319
83339
|
function createSubViewStore(view, parentName) {
|
|
83320
|
-
|
|
83340
|
+
var _view$model;
|
|
83341
|
+
(((_view$model = view.model) === null || _view$model === void 0 ? void 0 : _view$model.attrs) || []).filter(function (a) {
|
|
83321
83342
|
return a.metaType === 'model';
|
|
83322
83343
|
}).map(function (a) {
|
|
83323
83344
|
var name = "".concat(parentName, "/:id/").concat(a.name);
|
|
@@ -84915,8 +84936,8 @@ var Clipboard_component = Object(componentNormalizer["a" /* default */])(
|
|
|
84915
84936
|
)
|
|
84916
84937
|
|
|
84917
84938
|
/* harmony default export */ var Clipboard = (Clipboard_component.exports);
|
|
84918
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1b95bb1c-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!../src/core/components/Collection.vue?vue&type=template&id=
|
|
84919
|
-
var
|
|
84939
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1b95bb1c-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!../src/core/components/Collection.vue?vue&type=template&id=5a4b673b
|
|
84940
|
+
var Collectionvue_type_template_id_5a4b673b_render = function render() {
|
|
84920
84941
|
var _vm = this,
|
|
84921
84942
|
_c = _vm._self._c;
|
|
84922
84943
|
return _c(_vm.component, {
|
|
@@ -84929,9 +84950,9 @@ var Collectionvue_type_template_id_3d7f5314_render = function render() {
|
|
|
84929
84950
|
"count": _vm.count
|
|
84930
84951
|
}), _vm._t("empty"), _vm._t("error")], 2);
|
|
84931
84952
|
};
|
|
84932
|
-
var
|
|
84953
|
+
var Collectionvue_type_template_id_5a4b673b_staticRenderFns = [];
|
|
84933
84954
|
|
|
84934
|
-
// CONCATENATED MODULE: ../src/core/components/Collection.vue?vue&type=template&id=
|
|
84955
|
+
// CONCATENATED MODULE: ../src/core/components/Collection.vue?vue&type=template&id=5a4b673b
|
|
84935
84956
|
|
|
84936
84957
|
// EXTERNAL MODULE: external {"root":"qs","commonjs2":"qs","commonjs":"qs","amd":"qs"}
|
|
84937
84958
|
var external_root_qs_commonjs2_qs_commonjs_qs_amd_qs_ = __webpack_require__("796d");
|
|
@@ -85014,7 +85035,8 @@ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
|
85014
85035
|
return this.transform ? list.map(this.transform) : list;
|
|
85015
85036
|
},
|
|
85016
85037
|
schemas: function schemas() {
|
|
85017
|
-
var
|
|
85038
|
+
var _this$schema;
|
|
85039
|
+
var list = (_this$schema = this.schema) !== null && _this$schema !== void 0 && (_this$schema = _this$schema.model) !== null && _this$schema !== void 0 && _this$schema.attrs ? this.schema.model.attrs.filter(function (a) {
|
|
85018
85040
|
return a.list || a.dataType === 'wordbook' && a.typeObject;
|
|
85019
85041
|
}) : [];
|
|
85020
85042
|
var schemas = list.map(function (l) {
|
|
@@ -85178,8 +85200,8 @@ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
|
85178
85200
|
|
|
85179
85201
|
var Collection_component = Object(componentNormalizer["a" /* default */])(
|
|
85180
85202
|
components_Collectionvue_type_script_lang_js,
|
|
85181
|
-
|
|
85182
|
-
|
|
85203
|
+
Collectionvue_type_template_id_5a4b673b_render,
|
|
85204
|
+
Collectionvue_type_template_id_5a4b673b_staticRenderFns,
|
|
85183
85205
|
false,
|
|
85184
85206
|
null,
|
|
85185
85207
|
null,
|