epx-frame 4.1.4 → 4.1.6
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/lib/1.js +1 -1
- package/lib/10.js +23 -23
- package/lib/17.js +13 -13
- package/lib/2.js +1 -1
- package/lib/93.js +29238 -0
- package/lib/add-form-item.js +554 -198
- package/lib/add-form.js +1260 -417
- package/lib/alert.js +254 -237
- package/lib/app-index.js +277 -209
- package/lib/app-nav.js +891 -789
- package/lib/app-tabs.js +193 -182
- package/lib/apply-form.js +1402 -554
- package/lib/approval-index-page.js +181 -170
- package/lib/approval-index.js +205 -194
- package/lib/base-page.js +168 -155
- package/lib/button.js +276 -150
- package/lib/card-form-item.js +248 -236
- package/lib/card.js +775 -170
- package/lib/category-list.js +735 -543
- package/lib/chart.js +587 -566
- package/lib/check-history.js +274 -185
- package/lib/color-picker.js +61 -61
- package/lib/component.js +10 -10
- package/lib/config-page.js +139 -120
- package/lib/contacts.js +199 -188
- package/lib/dashboard.js +406 -393
- package/lib/div.js +1996 -0
- package/lib/edit-entity-list.js +701 -507
- package/lib/entity-add-page.js +203 -192
- package/lib/entity-apply-page.js +201 -190
- package/lib/entity-card-list.js +709 -515
- package/lib/entity-list-find-page.js +229 -218
- package/lib/entity-list-find.js +702 -503
- package/lib/entity-list-page.js +183 -172
- package/lib/entity-list.js +668 -488
- package/lib/entity-no-submit-sub-list.js +85 -84
- package/lib/entity-sub-grid.js +794 -783
- package/lib/entity-sub-list.js +783 -571
- package/lib/entity-tree-find-page.js +181 -170
- package/lib/entity-tree-find.js +345 -333
- package/lib/epx-frame.common.js +2 -2
- package/lib/export-file.js +181 -170
- package/lib/export.js +273 -250
- package/lib/flow-num.js +404 -393
- package/lib/footer.js +96 -96
- package/lib/form-item.js +695 -660
- package/lib/form.js +265 -237
- package/lib/formula.js +841 -815
- package/lib/gauge.js +374 -362
- package/lib/grid.js +803 -214
- package/lib/header.js +213 -200
- package/lib/icon.js +56 -56
- package/lib/iframe.js +192 -180
- package/lib/image.js +646 -144
- package/lib/import-file.js +202 -191
- package/lib/import.js +292 -272
- package/lib/layout.js +1135 -289
- package/lib/list.js +294 -282
- package/lib/load-page.js +155 -144
- package/lib/m-entity-add-page.js +204 -193
- package/lib/m-entity-dept-find.js +236 -191
- package/lib/m-entity-list-find.js +370 -358
- package/lib/m-entity-list.js +204 -187
- package/lib/m-entity-no-submit-sub-list.js +109 -109
- package/lib/m-entity-tree-find.js +1428 -1299
- package/lib/m-entity-user-find.js +191 -180
- package/lib/menu-index.js +95 -95
- package/lib/menu.js +223 -223
- package/lib/mine.js +339 -183
- package/lib/module-index-page.js +219 -208
- package/lib/module-list-page.js +194 -183
- package/lib/module-list.js +195 -184
- package/lib/module-tabs-page.js +214 -203
- package/lib/nav-add-form.js +98 -98
- package/lib/num.js +1086 -445
- package/lib/org-chart.js +200 -189
- package/lib/page-help.js +171 -160
- package/lib/page-tabs.js +763 -214
- package/lib/page.js +598 -574
- package/lib/progress-chart.js +213 -202
- package/lib/progress.js +187 -176
- package/lib/report-chart.js +927 -562
- package/lib/report-html.js +190 -173
- package/lib/report-preview.js +269 -200
- package/lib/router-view.js +80 -79
- package/lib/scope.js +347 -310
- package/lib/search.js +428 -377
- package/lib/static/0.png +0 -0
- package/lib/static/1.png +0 -0
- package/lib/static/2.png +0 -0
- package/lib/step-item.js +167 -156
- package/lib/step.js +168 -157
- package/lib/tab-bar.js +19 -19
- package/lib/tabs.js +5372 -0
- package/lib/tag.js +166 -155
- package/lib/task-list-page.js +174 -163
- package/lib/task-list.js +272 -231
- package/lib/text-editor.js +253 -177
- package/lib/text.js +250 -177
- package/lib/title.js +174 -163
- package/lib/visual-config-page.js +1642 -1194
- package/package.json +2 -2
package/lib/entity-sub-grid.js
CHANGED
|
@@ -82,7 +82,7 @@ module.exports =
|
|
|
82
82
|
/******/
|
|
83
83
|
/******/
|
|
84
84
|
/******/ // Load entry module and return exports
|
|
85
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 490);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -92,23 +92,23 @@ module.exports =
|
|
|
92
92
|
|
|
93
93
|
"use strict";
|
|
94
94
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectSpread2; });
|
|
95
|
-
/* harmony import */ var core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
95
|
+
/* harmony import */ var core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(19);
|
|
96
96
|
/* harmony import */ var core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
97
97
|
/* harmony import */ var core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2);
|
|
98
98
|
/* harmony import */ var core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_1__);
|
|
99
|
-
/* harmony import */ var core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
99
|
+
/* harmony import */ var core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(32);
|
|
100
100
|
/* harmony import */ var core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_2__);
|
|
101
101
|
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(1);
|
|
102
102
|
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_3__);
|
|
103
103
|
/* harmony import */ var core_js_modules_es_object_get_own_property_descriptor_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(44);
|
|
104
104
|
/* harmony import */ var core_js_modules_es_object_get_own_property_descriptor_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_get_own_property_descriptor_js__WEBPACK_IMPORTED_MODULE_4__);
|
|
105
|
-
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
|
105
|
+
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(9);
|
|
106
106
|
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_5__);
|
|
107
107
|
/* harmony import */ var core_js_modules_es_object_get_own_property_descriptors_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(45);
|
|
108
108
|
/* harmony import */ var core_js_modules_es_object_get_own_property_descriptors_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_get_own_property_descriptors_js__WEBPACK_IMPORTED_MODULE_6__);
|
|
109
109
|
/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(22);
|
|
110
110
|
/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_7__);
|
|
111
|
-
/* harmony import */ var _defineProperty_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
|
|
111
|
+
/* harmony import */ var _defineProperty_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(20);
|
|
112
112
|
|
|
113
113
|
|
|
114
114
|
|
|
@@ -169,7 +169,7 @@ module.exports = require("core-js/modules/es.object.to-string.js");
|
|
|
169
169
|
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_2__);
|
|
170
170
|
/* harmony import */ var core_js_modules_es_symbol_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(11);
|
|
171
171
|
/* harmony import */ var core_js_modules_es_symbol_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
|
|
172
|
-
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
|
172
|
+
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(24);
|
|
173
173
|
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_4__);
|
|
174
174
|
/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(5);
|
|
175
175
|
/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_5__);
|
|
@@ -185,15 +185,15 @@ module.exports = require("core-js/modules/es.object.to-string.js");
|
|
|
185
185
|
/* harmony import */ var core_js_modules_es_math_to_string_tag_js__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_math_to_string_tag_js__WEBPACK_IMPORTED_MODULE_10__);
|
|
186
186
|
/* harmony import */ var core_js_modules_es_object_get_prototype_of_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(46);
|
|
187
187
|
/* harmony import */ var core_js_modules_es_object_get_prototype_of_js__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_get_prototype_of_js__WEBPACK_IMPORTED_MODULE_11__);
|
|
188
|
-
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
|
|
188
|
+
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(9);
|
|
189
189
|
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_12__);
|
|
190
|
-
/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
|
|
190
|
+
/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(8);
|
|
191
191
|
/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_13__);
|
|
192
192
|
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(38);
|
|
193
193
|
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_14__);
|
|
194
194
|
/* harmony import */ var core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(28);
|
|
195
195
|
/* harmony import */ var core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_15__);
|
|
196
|
-
/* harmony import */ var core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(
|
|
196
|
+
/* harmony import */ var core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(33);
|
|
197
197
|
/* harmony import */ var core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_16__);
|
|
198
198
|
/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(22);
|
|
199
199
|
/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_17__);
|
|
@@ -559,20 +559,6 @@ module.exports = require("core-js/modules/es.array.map.js");
|
|
|
559
559
|
/***/ }),
|
|
560
560
|
|
|
561
561
|
/***/ 13:
|
|
562
|
-
/***/ (function(module, exports) {
|
|
563
|
-
|
|
564
|
-
module.exports = require("core-js/modules/es.regexp.exec.js");
|
|
565
|
-
|
|
566
|
-
/***/ }),
|
|
567
|
-
|
|
568
|
-
/***/ 14:
|
|
569
|
-
/***/ (function(module, exports) {
|
|
570
|
-
|
|
571
|
-
module.exports = require("core-js/modules/es.array.concat.js");
|
|
572
|
-
|
|
573
|
-
/***/ }),
|
|
574
|
-
|
|
575
|
-
/***/ 15:
|
|
576
562
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
577
563
|
|
|
578
564
|
"use strict";
|
|
@@ -677,694 +663,768 @@ function normalizeComponent(
|
|
|
677
663
|
|
|
678
664
|
/***/ }),
|
|
679
665
|
|
|
680
|
-
/***/
|
|
666
|
+
/***/ 14:
|
|
681
667
|
/***/ (function(module, exports) {
|
|
682
668
|
|
|
683
|
-
module.exports = require("core-js/modules/es.
|
|
669
|
+
module.exports = require("core-js/modules/es.regexp.exec.js");
|
|
684
670
|
|
|
685
671
|
/***/ }),
|
|
686
672
|
|
|
687
|
-
/***/
|
|
673
|
+
/***/ 15:
|
|
688
674
|
/***/ (function(module, exports) {
|
|
689
675
|
|
|
690
|
-
module.exports = require("core-js/modules/es.
|
|
676
|
+
module.exports = require("core-js/modules/es.array.concat.js");
|
|
691
677
|
|
|
692
678
|
/***/ }),
|
|
693
679
|
|
|
694
|
-
/***/
|
|
695
|
-
/***/ (function(module,
|
|
680
|
+
/***/ 16:
|
|
681
|
+
/***/ (function(module, exports) {
|
|
696
682
|
|
|
697
|
-
|
|
698
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _arrayLikeToArray; });
|
|
699
|
-
function _arrayLikeToArray(arr, len) {
|
|
700
|
-
if (len == null || len > arr.length) len = arr.length;
|
|
701
|
-
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
702
|
-
return arr2;
|
|
703
|
-
}
|
|
683
|
+
module.exports = require("core-js/modules/es.number.constructor.js");
|
|
704
684
|
|
|
705
685
|
/***/ }),
|
|
706
686
|
|
|
707
|
-
/***/
|
|
708
|
-
/***/ (function(module, exports) {
|
|
687
|
+
/***/ 17:
|
|
688
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
709
689
|
|
|
710
|
-
|
|
690
|
+
"use strict";
|
|
711
691
|
|
|
712
|
-
/***/ }),
|
|
713
692
|
|
|
714
|
-
|
|
715
|
-
|
|
693
|
+
var isOldIE = function isOldIE() {
|
|
694
|
+
var memo;
|
|
695
|
+
return function memorize() {
|
|
696
|
+
if (typeof memo === 'undefined') {
|
|
697
|
+
// Test for IE <= 9 as proposed by Browserhacks
|
|
698
|
+
// @see http://browserhacks.com/#hack-e71d8692f65334173fee715c222cb805
|
|
699
|
+
// Tests for existence of standard globals is to allow style-loader
|
|
700
|
+
// to operate correctly into non-standard environments
|
|
701
|
+
// @see https://github.com/webpack-contrib/style-loader/issues/177
|
|
702
|
+
memo = Boolean(window && document && document.all && !window.atob);
|
|
703
|
+
}
|
|
716
704
|
|
|
717
|
-
|
|
705
|
+
return memo;
|
|
706
|
+
};
|
|
707
|
+
}();
|
|
718
708
|
|
|
719
|
-
|
|
720
|
-
var
|
|
709
|
+
var getTarget = function getTarget() {
|
|
710
|
+
var memo = {};
|
|
711
|
+
return function memorize(target) {
|
|
712
|
+
if (typeof memo[target] === 'undefined') {
|
|
713
|
+
var styleTarget = document.querySelector(target); // Special case to return head of iframe instead of iframe itself
|
|
721
714
|
|
|
722
|
-
|
|
723
|
-
|
|
715
|
+
if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {
|
|
716
|
+
try {
|
|
717
|
+
// This will throw an exception if access to iframe is blocked
|
|
718
|
+
// due to cross-origin restrictions
|
|
719
|
+
styleTarget = styleTarget.contentDocument.head;
|
|
720
|
+
} catch (e) {
|
|
721
|
+
// istanbul ignore next
|
|
722
|
+
styleTarget = null;
|
|
723
|
+
}
|
|
724
|
+
}
|
|
724
725
|
|
|
725
|
-
|
|
726
|
-
|
|
726
|
+
memo[target] = styleTarget;
|
|
727
|
+
}
|
|
727
728
|
|
|
728
|
-
|
|
729
|
-
|
|
729
|
+
return memo[target];
|
|
730
|
+
};
|
|
731
|
+
}();
|
|
730
732
|
|
|
731
|
-
|
|
732
|
-
var es_array_includes_js_ = __webpack_require__(31);
|
|
733
|
+
var stylesInDom = [];
|
|
733
734
|
|
|
734
|
-
|
|
735
|
-
var
|
|
735
|
+
function getIndexByIdentifier(identifier) {
|
|
736
|
+
var result = -1;
|
|
736
737
|
|
|
737
|
-
|
|
738
|
-
|
|
738
|
+
for (var i = 0; i < stylesInDom.length; i++) {
|
|
739
|
+
if (stylesInDom[i].identifier === identifier) {
|
|
740
|
+
result = i;
|
|
741
|
+
break;
|
|
742
|
+
}
|
|
743
|
+
}
|
|
739
744
|
|
|
740
|
-
|
|
741
|
-
|
|
745
|
+
return result;
|
|
746
|
+
}
|
|
742
747
|
|
|
743
|
-
|
|
744
|
-
var
|
|
748
|
+
function modulesToDom(list, options) {
|
|
749
|
+
var idCountMap = {};
|
|
750
|
+
var identifiers = [];
|
|
745
751
|
|
|
746
|
-
|
|
747
|
-
var
|
|
752
|
+
for (var i = 0; i < list.length; i++) {
|
|
753
|
+
var item = list[i];
|
|
754
|
+
var id = options.base ? item[0] + options.base : item[0];
|
|
755
|
+
var count = idCountMap[id] || 0;
|
|
756
|
+
var identifier = "".concat(id, " ").concat(count);
|
|
757
|
+
idCountMap[id] = count + 1;
|
|
758
|
+
var index = getIndexByIdentifier(identifier);
|
|
759
|
+
var obj = {
|
|
760
|
+
css: item[1],
|
|
761
|
+
media: item[2],
|
|
762
|
+
sourceMap: item[3]
|
|
763
|
+
};
|
|
748
764
|
|
|
749
|
-
|
|
750
|
-
|
|
765
|
+
if (index !== -1) {
|
|
766
|
+
stylesInDom[index].references++;
|
|
767
|
+
stylesInDom[index].updater(obj);
|
|
768
|
+
} else {
|
|
769
|
+
stylesInDom.push({
|
|
770
|
+
identifier: identifier,
|
|
771
|
+
updater: addStyle(obj, options),
|
|
772
|
+
references: 1
|
|
773
|
+
});
|
|
774
|
+
}
|
|
751
775
|
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
var m_entity_list_default = /*#__PURE__*/__webpack_require__.n(m_entity_list_);
|
|
776
|
+
identifiers.push(identifier);
|
|
777
|
+
}
|
|
755
778
|
|
|
756
|
-
|
|
779
|
+
return identifiers;
|
|
780
|
+
}
|
|
781
|
+
|
|
782
|
+
function insertStyleElement(options) {
|
|
783
|
+
var style = document.createElement('style');
|
|
784
|
+
var attributes = options.attributes || {};
|
|
785
|
+
|
|
786
|
+
if (typeof attributes.nonce === 'undefined') {
|
|
787
|
+
var nonce = true ? __webpack_require__.nc : undefined;
|
|
788
|
+
|
|
789
|
+
if (nonce) {
|
|
790
|
+
attributes.nonce = nonce;
|
|
791
|
+
}
|
|
792
|
+
}
|
|
793
|
+
|
|
794
|
+
Object.keys(attributes).forEach(function (key) {
|
|
795
|
+
style.setAttribute(key, attributes[key]);
|
|
796
|
+
});
|
|
757
797
|
|
|
798
|
+
if (typeof options.insert === 'function') {
|
|
799
|
+
options.insert(style);
|
|
800
|
+
} else {
|
|
801
|
+
var target = getTarget(options.insert || 'head');
|
|
758
802
|
|
|
803
|
+
if (!target) {
|
|
804
|
+
throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");
|
|
805
|
+
}
|
|
759
806
|
|
|
807
|
+
target.appendChild(style);
|
|
808
|
+
}
|
|
760
809
|
|
|
810
|
+
return style;
|
|
811
|
+
}
|
|
761
812
|
|
|
813
|
+
function removeStyleElement(style) {
|
|
814
|
+
// istanbul ignore if
|
|
815
|
+
if (style.parentNode === null) {
|
|
816
|
+
return false;
|
|
817
|
+
}
|
|
762
818
|
|
|
819
|
+
style.parentNode.removeChild(style);
|
|
820
|
+
}
|
|
821
|
+
/* istanbul ignore next */
|
|
763
822
|
|
|
764
823
|
|
|
824
|
+
var replaceText = function replaceText() {
|
|
825
|
+
var textStore = [];
|
|
826
|
+
return function replace(index, replacement) {
|
|
827
|
+
textStore[index] = replacement;
|
|
828
|
+
return textStore.filter(Boolean).join('\n');
|
|
829
|
+
};
|
|
830
|
+
}();
|
|
765
831
|
|
|
832
|
+
function applyToSingletonTag(style, index, remove, obj) {
|
|
833
|
+
var css = remove ? '' : obj.media ? "@media ".concat(obj.media, " {").concat(obj.css, "}") : obj.css; // For old IE
|
|
766
834
|
|
|
835
|
+
/* istanbul ignore if */
|
|
767
836
|
|
|
837
|
+
if (style.styleSheet) {
|
|
838
|
+
style.styleSheet.cssText = replaceText(index, css);
|
|
839
|
+
} else {
|
|
840
|
+
var cssNode = document.createTextNode(css);
|
|
841
|
+
var childNodes = style.childNodes;
|
|
768
842
|
|
|
843
|
+
if (childNodes[index]) {
|
|
844
|
+
style.removeChild(childNodes[index]);
|
|
845
|
+
}
|
|
769
846
|
|
|
847
|
+
if (childNodes.length) {
|
|
848
|
+
style.insertBefore(cssNode, childNodes[index]);
|
|
849
|
+
} else {
|
|
850
|
+
style.appendChild(cssNode);
|
|
851
|
+
}
|
|
852
|
+
}
|
|
853
|
+
}
|
|
770
854
|
|
|
855
|
+
function applyToTag(style, options, obj) {
|
|
856
|
+
var css = obj.css;
|
|
857
|
+
var media = obj.media;
|
|
858
|
+
var sourceMap = obj.sourceMap;
|
|
771
859
|
|
|
860
|
+
if (media) {
|
|
861
|
+
style.setAttribute('media', media);
|
|
862
|
+
} else {
|
|
863
|
+
style.removeAttribute('media');
|
|
864
|
+
}
|
|
772
865
|
|
|
866
|
+
if (sourceMap && typeof btoa !== 'undefined') {
|
|
867
|
+
css += "\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), " */");
|
|
868
|
+
} // For old IE
|
|
773
869
|
|
|
870
|
+
/* istanbul ignore if */
|
|
774
871
|
|
|
775
872
|
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
searchKeywordFlag: false,
|
|
782
|
-
props: {
|
|
783
|
-
formData: {
|
|
784
|
-
type: Object,
|
|
785
|
-
default: function _default() {
|
|
786
|
-
return {};
|
|
787
|
-
}
|
|
788
|
-
},
|
|
789
|
-
pageType: String,
|
|
790
|
-
showTitle: Boolean
|
|
791
|
-
},
|
|
792
|
-
data: function data() {
|
|
793
|
-
return {
|
|
794
|
-
isFold: false
|
|
795
|
-
};
|
|
796
|
-
},
|
|
797
|
-
computed: {
|
|
798
|
-
componentType: function componentType() {
|
|
799
|
-
var _this$$configs$compon = this.$configs.componentType,
|
|
800
|
-
componentType = _this$$configs$compon === void 0 ? this.pageType : _this$$configs$compon;
|
|
801
|
-
return componentType;
|
|
802
|
-
},
|
|
803
|
-
$metaId: function $metaId() {
|
|
804
|
-
var metaId = this.$configs.metaId;
|
|
805
|
-
return metaId;
|
|
873
|
+
if (style.styleSheet) {
|
|
874
|
+
style.styleSheet.cssText = css;
|
|
875
|
+
} else {
|
|
876
|
+
while (style.firstChild) {
|
|
877
|
+
style.removeChild(style.firstChild);
|
|
806
878
|
}
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
}
|
|
840
|
-
}, _callee);
|
|
841
|
-
}))();
|
|
842
|
-
},
|
|
843
|
-
// 获取关联关系
|
|
844
|
-
getLinkAttr: function getLinkAttr() {
|
|
845
|
-
var _this2 = this;
|
|
846
|
-
return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/Object(regeneratorRuntime["a" /* default */])().mark(function _callee2() {
|
|
847
|
-
var defaultMetaId, _this2$$configs, _this2$$configs$paren, parentMetaId, _this2$$configs$relat, relationId, relation, linkAttr, relationFlag, parentMeta, _metaId, field, _attribute, _relation, _field, metaId, parentAttr, keyAttribute, flag, _field2, meta, attribute;
|
|
848
|
-
return Object(regeneratorRuntime["a" /* default */])().wrap(function _callee2$(_context2) {
|
|
849
|
-
while (1) switch (_context2.prev = _context2.next) {
|
|
850
|
-
case 0:
|
|
851
|
-
defaultMetaId = _this2.upPage.$metaId;
|
|
852
|
-
_this2$$configs = _this2.$configs, _this2$$configs$paren = _this2$$configs.parentMetaId, parentMetaId = _this2$$configs$paren === void 0 ? defaultMetaId : _this2$$configs$paren, _this2$$configs$relat = _this2$$configs.relationId, relationId = _this2$$configs$relat === void 0 ? '' : _this2$$configs$relat;
|
|
853
|
-
relation = null;
|
|
854
|
-
linkAttr = '';
|
|
855
|
-
relationFlag = relationId; // 获取父对象
|
|
856
|
-
parentMeta = _this2.metas[parentMetaId];
|
|
857
|
-
if (parentMeta) {
|
|
858
|
-
_context2.next = 10;
|
|
859
|
-
break;
|
|
860
|
-
}
|
|
861
|
-
_context2.next = 9;
|
|
862
|
-
return _this2.$store.dispatch({
|
|
863
|
-
type: 'ADD_META',
|
|
864
|
-
metaId: parentMetaId
|
|
865
|
-
});
|
|
866
|
-
case 9:
|
|
867
|
-
parentMeta = _context2.sent;
|
|
868
|
-
case 10:
|
|
869
|
-
_this2.parentMeta = parentMeta;
|
|
870
|
-
if (!relationId.includes('#')) {
|
|
871
|
-
_context2.next = 28;
|
|
872
|
-
break;
|
|
873
|
-
}
|
|
874
|
-
relationFlag = relationId.split('#')[0];
|
|
875
|
-
relation = parentMeta.getRelationByFlag(relationFlag);
|
|
876
|
-
_metaId = relation.entityA;
|
|
877
|
-
linkAttr = parentMeta.getLinkAttr(relationId);
|
|
878
|
-
field = Object.values(parentMeta.attributes).find(function (item) {
|
|
879
|
-
return item.id === linkAttr;
|
|
880
|
-
});
|
|
881
|
-
if (field) _this2.parentField = field.name;
|
|
882
|
-
relationFlag = relationId.split('#')[1];
|
|
883
|
-
// 获取关联父对象
|
|
884
|
-
parentMeta = _this2.metas[_metaId];
|
|
885
|
-
if (parentMeta) {
|
|
886
|
-
_context2.next = 24;
|
|
887
|
-
break;
|
|
888
|
-
}
|
|
889
|
-
_context2.next = 23;
|
|
890
|
-
return _this2.$store.dispatch({
|
|
891
|
-
type: 'ADD_META',
|
|
892
|
-
metaId: _metaId
|
|
893
|
-
});
|
|
894
|
-
case 23:
|
|
895
|
-
parentMeta = _context2.sent;
|
|
896
|
-
case 24:
|
|
897
|
-
_attribute = Object.values(parentMeta.attributes).find(function (item) {
|
|
898
|
-
return item.id === linkAttr;
|
|
899
|
-
});
|
|
900
|
-
if (_attribute) _this2.linkAttrDataB = relationFlag.toUpperCase() + '|' + _attribute.name;
|
|
901
|
-
_context2.next = 31;
|
|
902
|
-
break;
|
|
903
|
-
case 28:
|
|
904
|
-
_relation = parentMeta.getRelationByFlag(relationFlag);
|
|
905
|
-
_field = Object.values(parentMeta.attributes).find(function (item) {
|
|
906
|
-
return item.id === _relation.linkAttrB;
|
|
907
|
-
});
|
|
908
|
-
_this2.parentField = _field.name;
|
|
909
|
-
case 31:
|
|
910
|
-
relation = parentMeta.getRelationByFlag(relationFlag);
|
|
911
|
-
metaId = relation.entityA;
|
|
912
|
-
linkAttr = parentMeta.getLinkAttr(relationId);
|
|
913
|
-
parentAttr = parentMeta.relatedEntitys.find(function (item) {
|
|
914
|
-
return item.entityA === metaId;
|
|
915
|
-
});
|
|
916
|
-
keyAttribute = parentMeta.getKeyAttribute();
|
|
917
|
-
if (parentAttr.linkAttrB && parentAttr.linkAttrB !== keyAttribute.id && relationId.includes('#')) {
|
|
918
|
-
flag = relationId.split('#')[0];
|
|
919
|
-
_field2 = Object.values(parentMeta.attributes).find(function (item) {
|
|
920
|
-
return item.id === parentAttr.linkAttrB;
|
|
921
|
-
});
|
|
922
|
-
_this2.parentField = flag.toUpperCase() + '|' + _field2.name;
|
|
923
|
-
}
|
|
924
|
-
// 获取当前对象
|
|
925
|
-
meta = _this2.metas[metaId];
|
|
926
|
-
if (meta) {
|
|
927
|
-
_context2.next = 42;
|
|
928
|
-
break;
|
|
929
|
-
}
|
|
930
|
-
_context2.next = 41;
|
|
931
|
-
return _this2.$store.dispatch({
|
|
932
|
-
type: 'ADD_META',
|
|
933
|
-
metaId: metaId
|
|
934
|
-
});
|
|
935
|
-
case 41:
|
|
936
|
-
meta = _context2.sent;
|
|
937
|
-
case 42:
|
|
938
|
-
_this2.$set(_this2.$configs, 'metaId', metaId);
|
|
939
|
-
attribute = Object.values(meta.attributes).find(function (item) {
|
|
940
|
-
return item.id === linkAttr;
|
|
941
|
-
}) || {};
|
|
942
|
-
_this2.linkAttrData = attribute.name;
|
|
943
|
-
if (!_this2.formData[_this2.parentField] && _this2.linkAttrDataB) {
|
|
944
|
-
_this2.linkAttrData = _this2.linkAttrDataB;
|
|
945
|
-
_this2.parentField = null;
|
|
946
|
-
}
|
|
947
|
-
case 46:
|
|
948
|
-
case "end":
|
|
949
|
-
return _context2.stop();
|
|
950
|
-
}
|
|
951
|
-
}, _callee2);
|
|
952
|
-
}))();
|
|
953
|
-
},
|
|
954
|
-
getDefaultOperates: function getDefaultOperates() {
|
|
955
|
-
var _this$$configs2 = this.$configs,
|
|
956
|
-
addPage = _this$$configs2.addPage,
|
|
957
|
-
columnOperates = _this$$configs2.columnOperates,
|
|
958
|
-
operates = _this$$configs2.operates,
|
|
959
|
-
operateFlag = _this$$configs2.operateFlag;
|
|
960
|
-
var defaultOperates = [{
|
|
961
|
-
text: '新增',
|
|
962
|
-
handler: 'goPage',
|
|
963
|
-
ui: 'primary',
|
|
964
|
-
num: 0,
|
|
965
|
-
metaId: this.$metaId,
|
|
966
|
-
component: addPage,
|
|
967
|
-
params: {
|
|
968
|
-
isSub: true,
|
|
969
|
-
fieldConfigs: '$[addFormFieldConfigs]',
|
|
970
|
-
parentId: '$[parentId]',
|
|
971
|
-
callback: '$[getData]'
|
|
972
|
-
}
|
|
973
|
-
}];
|
|
974
|
-
var defaultColumnOperates = [{
|
|
975
|
-
text: '编辑',
|
|
976
|
-
handler: 'goPage',
|
|
977
|
-
num: 1,
|
|
978
|
-
component: addPage,
|
|
979
|
-
openMode: '3',
|
|
980
|
-
params: {
|
|
981
|
-
pageType: 'EDIT',
|
|
982
|
-
fieldConfigs: '$[addFormFieldConfigs]',
|
|
983
|
-
parentId: '$[parentId]',
|
|
984
|
-
callback: '$[reloadData]',
|
|
985
|
-
isSub: true
|
|
986
|
-
}
|
|
987
|
-
}, {
|
|
988
|
-
text: '删除',
|
|
989
|
-
handler: 'commonAction',
|
|
990
|
-
action: 'removeMulti',
|
|
991
|
-
num: 'n',
|
|
992
|
-
confirmMsg: this.$t('Confirm the deletion') + '?',
|
|
993
|
-
successMsg: '删除成功',
|
|
994
|
-
params: {
|
|
995
|
-
ids: "#[".concat(this.$metaKey, "]")
|
|
996
|
-
}
|
|
997
|
-
}];
|
|
998
|
-
if (this.componentType !== 'READONLY') {
|
|
999
|
-
if (!columnOperates) {
|
|
1000
|
-
this.$set(this.$configs, 'columnOperates', defaultColumnOperates);
|
|
1001
|
-
}
|
|
1002
|
-
if (!operates) {
|
|
1003
|
-
this.$set(this.$configs, 'operates', defaultOperates);
|
|
1004
|
-
}
|
|
1005
|
-
if (operateFlag) {
|
|
1006
|
-
this.$emit('set-operates', this.$configs.operates);
|
|
1007
|
-
}
|
|
879
|
+
|
|
880
|
+
style.appendChild(document.createTextNode(css));
|
|
881
|
+
}
|
|
882
|
+
}
|
|
883
|
+
|
|
884
|
+
var singleton = null;
|
|
885
|
+
var singletonCounter = 0;
|
|
886
|
+
|
|
887
|
+
function addStyle(obj, options) {
|
|
888
|
+
var style;
|
|
889
|
+
var update;
|
|
890
|
+
var remove;
|
|
891
|
+
|
|
892
|
+
if (options.singleton) {
|
|
893
|
+
var styleIndex = singletonCounter++;
|
|
894
|
+
style = singleton || (singleton = insertStyleElement(options));
|
|
895
|
+
update = applyToSingletonTag.bind(null, style, styleIndex, false);
|
|
896
|
+
remove = applyToSingletonTag.bind(null, style, styleIndex, true);
|
|
897
|
+
} else {
|
|
898
|
+
style = insertStyleElement(options);
|
|
899
|
+
update = applyToTag.bind(null, style, options);
|
|
900
|
+
|
|
901
|
+
remove = function remove() {
|
|
902
|
+
removeStyleElement(style);
|
|
903
|
+
};
|
|
904
|
+
}
|
|
905
|
+
|
|
906
|
+
update(obj);
|
|
907
|
+
return function updateStyle(newObj) {
|
|
908
|
+
if (newObj) {
|
|
909
|
+
if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap) {
|
|
910
|
+
return;
|
|
1008
911
|
}
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
pageFlag: this.$configs.pageFlag || 'v_add',
|
|
1014
|
-
num: 0,
|
|
1015
|
-
metaId: this.$metaId,
|
|
1016
|
-
openMode: this.openMode,
|
|
1017
|
-
component: addPage,
|
|
1018
|
-
params: {
|
|
1019
|
-
isSub: true,
|
|
1020
|
-
fieldConfigs: '$[addFormFieldConfigs]',
|
|
1021
|
-
parentId: '$[parentId]',
|
|
1022
|
-
callback: '$[reloadData]'
|
|
1023
|
-
}
|
|
1024
|
-
});
|
|
1025
|
-
},
|
|
1026
|
-
renderHeader: function renderHeader() {
|
|
1027
|
-
var _this3 = this;
|
|
1028
|
-
var h = this.$createElement;
|
|
1029
|
-
var _this$$configs3 = this.$configs,
|
|
1030
|
-
formTitleStyle = _this$$configs3.formTitleStyle,
|
|
1031
|
-
operateFlag = _this$$configs3.operateFlag,
|
|
1032
|
-
_this$$configs3$opera = _this$$configs3.operates,
|
|
1033
|
-
operates = _this$$configs3$opera === void 0 ? [] : _this$$configs3$opera;
|
|
1034
|
-
if (!this.showTitle) return;
|
|
1035
|
-
return h("p", {
|
|
1036
|
-
"class": ['form-title', "form-tilte__".concat(formTitleStyle)]
|
|
1037
|
-
}, [h("span", {
|
|
1038
|
-
"class": "form-title-border"
|
|
1039
|
-
}, [this.$component.title]), h("span", {
|
|
1040
|
-
"class": "form-title__operate fr"
|
|
1041
|
-
}, [h("span", [operateFlag && operates.map(function (operate) {
|
|
1042
|
-
return h("el-button", {
|
|
1043
|
-
"attrs": {
|
|
1044
|
-
"type": "text"
|
|
1045
|
-
},
|
|
1046
|
-
"on": {
|
|
1047
|
-
"click": _this3.$handler.bind(_this3, operate)
|
|
1048
|
-
}
|
|
1049
|
-
}, [operate.text]);
|
|
1050
|
-
})]), h("i", {
|
|
1051
|
-
"class": ['form-title-fold__icon', 'el-icon-caret-top'],
|
|
1052
|
-
"on": {
|
|
1053
|
-
"click": function click() {
|
|
1054
|
-
_this3.isFold = !_this3.isFold;
|
|
1055
|
-
}
|
|
1056
|
-
}
|
|
1057
|
-
})])]);
|
|
1058
|
-
},
|
|
1059
|
-
renderListFooter: function renderListFooter() {
|
|
1060
|
-
return null;
|
|
912
|
+
|
|
913
|
+
update(obj = newObj);
|
|
914
|
+
} else {
|
|
915
|
+
remove();
|
|
1061
916
|
}
|
|
1062
|
-
}
|
|
1063
|
-
|
|
1064
|
-
|
|
917
|
+
};
|
|
918
|
+
}
|
|
919
|
+
|
|
920
|
+
module.exports = function (list, options) {
|
|
921
|
+
options = options || {}; // Force single-tag solution on IE6-9, which has a hard limit on the # of <style>
|
|
922
|
+
// tags it will allow on a page
|
|
923
|
+
|
|
924
|
+
if (!options.singleton && typeof options.singleton !== 'boolean') {
|
|
925
|
+
options.singleton = isOldIE();
|
|
1065
926
|
}
|
|
1066
|
-
});
|
|
1067
|
-
// CONCATENATED MODULE: ./src/frame/components/MEntitySubList.vue?vue&type=script&lang=js
|
|
1068
|
-
/* harmony default export */ var components_MEntitySubListvue_type_script_lang_js = (MEntitySubListvue_type_script_lang_js);
|
|
1069
|
-
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
1070
|
-
var componentNormalizer = __webpack_require__(15);
|
|
1071
927
|
|
|
1072
|
-
|
|
1073
|
-
var
|
|
928
|
+
list = list || [];
|
|
929
|
+
var lastIdentifiers = modulesToDom(list, options);
|
|
930
|
+
return function update(newList) {
|
|
931
|
+
newList = newList || [];
|
|
1074
932
|
|
|
933
|
+
if (Object.prototype.toString.call(newList) !== '[object Array]') {
|
|
934
|
+
return;
|
|
935
|
+
}
|
|
1075
936
|
|
|
937
|
+
for (var i = 0; i < lastIdentifiers.length; i++) {
|
|
938
|
+
var identifier = lastIdentifiers[i];
|
|
939
|
+
var index = getIndexByIdentifier(identifier);
|
|
940
|
+
stylesInDom[index].references--;
|
|
941
|
+
}
|
|
1076
942
|
|
|
943
|
+
var newLastIdentifiers = modulesToDom(newList, options);
|
|
1077
944
|
|
|
1078
|
-
|
|
945
|
+
for (var _i = 0; _i < lastIdentifiers.length; _i++) {
|
|
946
|
+
var _identifier = lastIdentifiers[_i];
|
|
1079
947
|
|
|
1080
|
-
var
|
|
1081
|
-
components_MEntitySubListvue_type_script_lang_js,
|
|
1082
|
-
render,
|
|
1083
|
-
staticRenderFns,
|
|
1084
|
-
false,
|
|
1085
|
-
null,
|
|
1086
|
-
null,
|
|
1087
|
-
null
|
|
1088
|
-
|
|
1089
|
-
)
|
|
948
|
+
var _index = getIndexByIdentifier(_identifier);
|
|
1090
949
|
|
|
1091
|
-
|
|
950
|
+
if (stylesInDom[_index].references === 0) {
|
|
951
|
+
stylesInDom[_index].updater();
|
|
952
|
+
|
|
953
|
+
stylesInDom.splice(_index, 1);
|
|
954
|
+
}
|
|
955
|
+
}
|
|
956
|
+
|
|
957
|
+
lastIdentifiers = newLastIdentifiers;
|
|
958
|
+
};
|
|
959
|
+
};
|
|
1092
960
|
|
|
1093
961
|
/***/ }),
|
|
1094
962
|
|
|
1095
|
-
/***/
|
|
963
|
+
/***/ 18:
|
|
1096
964
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1097
965
|
|
|
1098
966
|
"use strict";
|
|
1099
967
|
|
|
1100
968
|
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
969
|
+
/*
|
|
970
|
+
MIT License http://www.opensource.org/licenses/mit-license.php
|
|
971
|
+
Author Tobias Koppers @sokra
|
|
972
|
+
*/
|
|
973
|
+
// css base code, injected by the css-loader
|
|
974
|
+
// eslint-disable-next-line func-names
|
|
975
|
+
__webpack_require__(1);
|
|
976
|
+
__webpack_require__(27);
|
|
977
|
+
__webpack_require__(35);
|
|
978
|
+
__webpack_require__(12);
|
|
979
|
+
__webpack_require__(15);
|
|
980
|
+
__webpack_require__(1);
|
|
981
|
+
__webpack_require__(27);
|
|
982
|
+
__webpack_require__(35);
|
|
983
|
+
__webpack_require__(12);
|
|
984
|
+
__webpack_require__(15);
|
|
985
|
+
__webpack_require__(22);
|
|
986
|
+
module.exports = function (cssWithMappingToString) {
|
|
987
|
+
var list = []; // return the list of modules as css string
|
|
1116
988
|
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
989
|
+
list.toString = function toString() {
|
|
990
|
+
return this.map(function (item) {
|
|
991
|
+
var content = cssWithMappingToString(item);
|
|
992
|
+
if (item[2]) {
|
|
993
|
+
return "@media ".concat(item[2], " {").concat(content, "}");
|
|
994
|
+
}
|
|
995
|
+
return content;
|
|
996
|
+
}).join("");
|
|
997
|
+
}; // import a list of modules into the list
|
|
998
|
+
// eslint-disable-next-line func-names
|
|
1122
999
|
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1000
|
+
list.i = function (modules, mediaQuery, dedupe) {
|
|
1001
|
+
if (typeof modules === "string") {
|
|
1002
|
+
// eslint-disable-next-line no-param-reassign
|
|
1003
|
+
modules = [[null, modules, ""]];
|
|
1004
|
+
}
|
|
1005
|
+
var alreadyImportedModules = {};
|
|
1006
|
+
if (dedupe) {
|
|
1007
|
+
for (var i = 0; i < this.length; i++) {
|
|
1008
|
+
// eslint-disable-next-line prefer-destructuring
|
|
1009
|
+
var id = this[i][0];
|
|
1010
|
+
if (id != null) {
|
|
1011
|
+
alreadyImportedModules[id] = true;
|
|
1131
1012
|
}
|
|
1132
1013
|
}
|
|
1133
|
-
|
|
1134
|
-
memo[target] = styleTarget;
|
|
1135
1014
|
}
|
|
1136
|
-
|
|
1137
|
-
|
|
1015
|
+
for (var _i = 0; _i < modules.length; _i++) {
|
|
1016
|
+
var item = [].concat(modules[_i]);
|
|
1017
|
+
if (dedupe && alreadyImportedModules[item[0]]) {
|
|
1018
|
+
// eslint-disable-next-line no-continue
|
|
1019
|
+
continue;
|
|
1020
|
+
}
|
|
1021
|
+
if (mediaQuery) {
|
|
1022
|
+
if (!item[2]) {
|
|
1023
|
+
item[2] = mediaQuery;
|
|
1024
|
+
} else {
|
|
1025
|
+
item[2] = "".concat(mediaQuery, " and ").concat(item[2]);
|
|
1026
|
+
}
|
|
1027
|
+
}
|
|
1028
|
+
list.push(item);
|
|
1029
|
+
}
|
|
1138
1030
|
};
|
|
1139
|
-
|
|
1031
|
+
return list;
|
|
1032
|
+
};
|
|
1140
1033
|
|
|
1141
|
-
|
|
1034
|
+
/***/ }),
|
|
1142
1035
|
|
|
1143
|
-
|
|
1144
|
-
|
|
1036
|
+
/***/ 188:
|
|
1037
|
+
/***/ (function(module, exports) {
|
|
1145
1038
|
|
|
1146
|
-
|
|
1147
|
-
if (stylesInDom[i].identifier === identifier) {
|
|
1148
|
-
result = i;
|
|
1149
|
-
break;
|
|
1150
|
-
}
|
|
1151
|
-
}
|
|
1039
|
+
module.exports = require("epx-frame/lib/m-entity-list");
|
|
1152
1040
|
|
|
1153
|
-
|
|
1154
|
-
}
|
|
1041
|
+
/***/ }),
|
|
1155
1042
|
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
var identifiers = [];
|
|
1043
|
+
/***/ 19:
|
|
1044
|
+
/***/ (function(module, exports) {
|
|
1159
1045
|
|
|
1160
|
-
|
|
1161
|
-
var item = list[i];
|
|
1162
|
-
var id = options.base ? item[0] + options.base : item[0];
|
|
1163
|
-
var count = idCountMap[id] || 0;
|
|
1164
|
-
var identifier = "".concat(id, " ").concat(count);
|
|
1165
|
-
idCountMap[id] = count + 1;
|
|
1166
|
-
var index = getIndexByIdentifier(identifier);
|
|
1167
|
-
var obj = {
|
|
1168
|
-
css: item[1],
|
|
1169
|
-
media: item[2],
|
|
1170
|
-
sourceMap: item[3]
|
|
1171
|
-
};
|
|
1046
|
+
module.exports = require("core-js/modules/es.object.keys.js");
|
|
1172
1047
|
|
|
1173
|
-
|
|
1174
|
-
stylesInDom[index].references++;
|
|
1175
|
-
stylesInDom[index].updater(obj);
|
|
1176
|
-
} else {
|
|
1177
|
-
stylesInDom.push({
|
|
1178
|
-
identifier: identifier,
|
|
1179
|
-
updater: addStyle(obj, options),
|
|
1180
|
-
references: 1
|
|
1181
|
-
});
|
|
1182
|
-
}
|
|
1048
|
+
/***/ }),
|
|
1183
1049
|
|
|
1184
|
-
|
|
1185
|
-
|
|
1050
|
+
/***/ 191:
|
|
1051
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1186
1052
|
|
|
1187
|
-
|
|
1188
|
-
}
|
|
1053
|
+
"use strict";
|
|
1189
1054
|
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
var attributes = options.attributes || {};
|
|
1055
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js
|
|
1056
|
+
var regeneratorRuntime = __webpack_require__(10);
|
|
1193
1057
|
|
|
1194
|
-
|
|
1195
|
-
|
|
1058
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
1059
|
+
var defineProperty = __webpack_require__(20);
|
|
1196
1060
|
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
}
|
|
1200
|
-
}
|
|
1061
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js
|
|
1062
|
+
var objectSpread2 = __webpack_require__(0);
|
|
1201
1063
|
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
});
|
|
1064
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
|
|
1065
|
+
var asyncToGenerator = __webpack_require__(26);
|
|
1205
1066
|
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
} else {
|
|
1209
|
-
var target = getTarget(options.insert || 'head');
|
|
1067
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.includes.js"
|
|
1068
|
+
var es_array_includes_js_ = __webpack_require__(31);
|
|
1210
1069
|
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
}
|
|
1070
|
+
// EXTERNAL MODULE: external "core-js/modules/es.string.includes.js"
|
|
1071
|
+
var es_string_includes_js_ = __webpack_require__(34);
|
|
1214
1072
|
|
|
1215
|
-
|
|
1216
|
-
|
|
1073
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.find.js"
|
|
1074
|
+
var es_array_find_js_ = __webpack_require__(23);
|
|
1217
1075
|
|
|
1218
|
-
|
|
1219
|
-
|
|
1076
|
+
// EXTERNAL MODULE: external "core-js/modules/es.object.to-string.js"
|
|
1077
|
+
var es_object_to_string_js_ = __webpack_require__(1);
|
|
1220
1078
|
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
if (style.parentNode === null) {
|
|
1224
|
-
return false;
|
|
1225
|
-
}
|
|
1079
|
+
// EXTERNAL MODULE: external "core-js/modules/es.object.values.js"
|
|
1080
|
+
var es_object_values_js_ = __webpack_require__(73);
|
|
1226
1081
|
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
/* istanbul ignore next */
|
|
1082
|
+
// EXTERNAL MODULE: external "core-js/modules/es.function.name.js"
|
|
1083
|
+
var es_function_name_js_ = __webpack_require__(8);
|
|
1230
1084
|
|
|
1085
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.map.js"
|
|
1086
|
+
var es_array_map_js_ = __webpack_require__(12);
|
|
1231
1087
|
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
textStore[index] = replacement;
|
|
1236
|
-
return textStore.filter(Boolean).join('\n');
|
|
1237
|
-
};
|
|
1238
|
-
}();
|
|
1088
|
+
// EXTERNAL MODULE: external "epx-frame/lib/m-entity-list"
|
|
1089
|
+
var m_entity_list_ = __webpack_require__(188);
|
|
1090
|
+
var m_entity_list_default = /*#__PURE__*/__webpack_require__.n(m_entity_list_);
|
|
1239
1091
|
|
|
1240
|
-
|
|
1241
|
-
var css = remove ? '' : obj.media ? "@media ".concat(obj.media, " {").concat(obj.css, "}") : obj.css; // For old IE
|
|
1092
|
+
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./src/frame/components/MEntitySubList.vue?vue&type=script&lang=js
|
|
1242
1093
|
|
|
1243
|
-
/* istanbul ignore if */
|
|
1244
1094
|
|
|
1245
|
-
if (style.styleSheet) {
|
|
1246
|
-
style.styleSheet.cssText = replaceText(index, css);
|
|
1247
|
-
} else {
|
|
1248
|
-
var cssNode = document.createTextNode(css);
|
|
1249
|
-
var childNodes = style.childNodes;
|
|
1250
1095
|
|
|
1251
|
-
if (childNodes[index]) {
|
|
1252
|
-
style.removeChild(childNodes[index]);
|
|
1253
|
-
}
|
|
1254
1096
|
|
|
1255
|
-
if (childNodes.length) {
|
|
1256
|
-
style.insertBefore(cssNode, childNodes[index]);
|
|
1257
|
-
} else {
|
|
1258
|
-
style.appendChild(cssNode);
|
|
1259
|
-
}
|
|
1260
|
-
}
|
|
1261
|
-
}
|
|
1262
1097
|
|
|
1263
|
-
function applyToTag(style, options, obj) {
|
|
1264
|
-
var css = obj.css;
|
|
1265
|
-
var media = obj.media;
|
|
1266
|
-
var sourceMap = obj.sourceMap;
|
|
1267
1098
|
|
|
1268
|
-
if (media) {
|
|
1269
|
-
style.setAttribute('media', media);
|
|
1270
|
-
} else {
|
|
1271
|
-
style.removeAttribute('media');
|
|
1272
|
-
}
|
|
1273
1099
|
|
|
1274
|
-
if (sourceMap && typeof btoa !== 'undefined') {
|
|
1275
|
-
css += "\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), " */");
|
|
1276
|
-
} // For old IE
|
|
1277
1100
|
|
|
1278
|
-
/* istanbul ignore if */
|
|
1279
1101
|
|
|
1280
1102
|
|
|
1281
|
-
if (style.styleSheet) {
|
|
1282
|
-
style.styleSheet.cssText = css;
|
|
1283
|
-
} else {
|
|
1284
|
-
while (style.firstChild) {
|
|
1285
|
-
style.removeChild(style.firstChild);
|
|
1286
|
-
}
|
|
1287
1103
|
|
|
1288
|
-
style.appendChild(document.createTextNode(css));
|
|
1289
|
-
}
|
|
1290
|
-
}
|
|
1291
1104
|
|
|
1292
|
-
var singleton = null;
|
|
1293
|
-
var singletonCounter = 0;
|
|
1294
1105
|
|
|
1295
|
-
function addStyle(obj, options) {
|
|
1296
|
-
var style;
|
|
1297
|
-
var update;
|
|
1298
|
-
var remove;
|
|
1299
1106
|
|
|
1300
|
-
if (options.singleton) {
|
|
1301
|
-
var styleIndex = singletonCounter++;
|
|
1302
|
-
style = singleton || (singleton = insertStyleElement(options));
|
|
1303
|
-
update = applyToSingletonTag.bind(null, style, styleIndex, false);
|
|
1304
|
-
remove = applyToSingletonTag.bind(null, style, styleIndex, true);
|
|
1305
|
-
} else {
|
|
1306
|
-
style = insertStyleElement(options);
|
|
1307
|
-
update = applyToTag.bind(null, style, options);
|
|
1308
1107
|
|
|
1309
|
-
remove = function remove() {
|
|
1310
|
-
removeStyleElement(style);
|
|
1311
|
-
};
|
|
1312
|
-
}
|
|
1313
1108
|
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1109
|
+
|
|
1110
|
+
|
|
1111
|
+
|
|
1112
|
+
/* harmony default export */ var MEntitySubListvue_type_script_lang_js = ({
|
|
1113
|
+
name: 'epx-m-entity-sublist',
|
|
1114
|
+
extends: m_entity_list_default.a,
|
|
1115
|
+
pageFlag: false,
|
|
1116
|
+
operateFlag: true,
|
|
1117
|
+
searchKeywordFlag: false,
|
|
1118
|
+
props: {
|
|
1119
|
+
formData: {
|
|
1120
|
+
type: Object,
|
|
1121
|
+
default: function _default() {
|
|
1122
|
+
return {};
|
|
1123
|
+
}
|
|
1124
|
+
},
|
|
1125
|
+
pageType: String,
|
|
1126
|
+
showTitle: Boolean
|
|
1127
|
+
},
|
|
1128
|
+
data: function data() {
|
|
1129
|
+
return {
|
|
1130
|
+
isFold: false
|
|
1131
|
+
};
|
|
1132
|
+
},
|
|
1133
|
+
computed: {
|
|
1134
|
+
componentType: function componentType() {
|
|
1135
|
+
var _this$$configs$compon = this.$configs.componentType,
|
|
1136
|
+
componentType = _this$$configs$compon === void 0 ? this.pageType : _this$$configs$compon;
|
|
1137
|
+
return componentType;
|
|
1138
|
+
},
|
|
1139
|
+
$metaId: function $metaId() {
|
|
1140
|
+
var metaId = this.$configs.metaId;
|
|
1141
|
+
return metaId;
|
|
1142
|
+
}
|
|
1143
|
+
},
|
|
1144
|
+
methods: {
|
|
1145
|
+
beforeInitComponent: function beforeInitComponent() {
|
|
1146
|
+
var _this = this;
|
|
1147
|
+
return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/Object(regeneratorRuntime["a" /* default */])().mark(function _callee() {
|
|
1148
|
+
var _this$$configs, _this$$configs$queryP, queryParams, _this$$configs$fieldC, fieldConfigs, pageSize, upparentId, _this$$query$id, parentId;
|
|
1149
|
+
return Object(regeneratorRuntime["a" /* default */])().wrap(function _callee$(_context) {
|
|
1150
|
+
while (1) switch (_context.prev = _context.next) {
|
|
1151
|
+
case 0:
|
|
1152
|
+
_this$$configs = _this.$configs, _this$$configs$queryP = _this$$configs.queryParams, queryParams = _this$$configs$queryP === void 0 ? {} : _this$$configs$queryP, _this$$configs$fieldC = _this$$configs.fieldConfigs, fieldConfigs = _this$$configs$fieldC === void 0 ? {} : _this$$configs$fieldC, pageSize = _this$$configs.pageSize;
|
|
1153
|
+
upparentId = _this.upPage.$query.id;
|
|
1154
|
+
_this$$query$id = _this.$query.id, parentId = _this$$query$id === void 0 ? upparentId : _this$$query$id;
|
|
1155
|
+
_context.next = 5;
|
|
1156
|
+
return _this.getLinkAttr();
|
|
1157
|
+
case 5:
|
|
1158
|
+
if (_this.parentField) {
|
|
1159
|
+
_this.parentId = _this.formData[_this.parentField];
|
|
1160
|
+
} else {
|
|
1161
|
+
_this.parentId = parentId || _this.formData[_this.parentMeta.getKey()];
|
|
1162
|
+
}
|
|
1163
|
+
_this.$set(_this.$configs, 'queryParams', Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])({}, queryParams), {}, Object(defineProperty["a" /* default */])({}, "scope.".concat(_this.linkAttrData), _this.parentId)));
|
|
1164
|
+
_this.$set(_this.$configs, 'fieldConfigs', Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])({}, fieldConfigs), {}, Object(defineProperty["a" /* default */])({}, _this.linkAttrData, {
|
|
1165
|
+
state: 'HIDDEN'
|
|
1166
|
+
})));
|
|
1167
|
+
_this.addFormFieldConfigs = Object(defineProperty["a" /* default */])({}, _this.linkAttrData, {
|
|
1168
|
+
state: 'HIDDEN',
|
|
1169
|
+
value: _this.parentId
|
|
1170
|
+
});
|
|
1171
|
+
_this.pageSize = pageSize;
|
|
1172
|
+
case 10:
|
|
1173
|
+
case "end":
|
|
1174
|
+
return _context.stop();
|
|
1175
|
+
}
|
|
1176
|
+
}, _callee);
|
|
1177
|
+
}))();
|
|
1178
|
+
},
|
|
1179
|
+
// 获取关联关系
|
|
1180
|
+
getLinkAttr: function getLinkAttr() {
|
|
1181
|
+
var _this2 = this;
|
|
1182
|
+
return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/Object(regeneratorRuntime["a" /* default */])().mark(function _callee2() {
|
|
1183
|
+
var defaultMetaId, _this2$$configs, _this2$$configs$paren, parentMetaId, _this2$$configs$relat, relationId, relation, linkAttr, relationFlag, parentMeta, _metaId, field, _attribute, _relation, _field, metaId, parentAttr, keyAttribute, flag, _field2, meta, attribute;
|
|
1184
|
+
return Object(regeneratorRuntime["a" /* default */])().wrap(function _callee2$(_context2) {
|
|
1185
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
1186
|
+
case 0:
|
|
1187
|
+
defaultMetaId = _this2.upPage.$metaId;
|
|
1188
|
+
_this2$$configs = _this2.$configs, _this2$$configs$paren = _this2$$configs.parentMetaId, parentMetaId = _this2$$configs$paren === void 0 ? defaultMetaId : _this2$$configs$paren, _this2$$configs$relat = _this2$$configs.relationId, relationId = _this2$$configs$relat === void 0 ? '' : _this2$$configs$relat;
|
|
1189
|
+
relation = null;
|
|
1190
|
+
linkAttr = '';
|
|
1191
|
+
relationFlag = relationId; // 获取父对象
|
|
1192
|
+
parentMeta = _this2.metas[parentMetaId];
|
|
1193
|
+
if (parentMeta) {
|
|
1194
|
+
_context2.next = 10;
|
|
1195
|
+
break;
|
|
1196
|
+
}
|
|
1197
|
+
_context2.next = 9;
|
|
1198
|
+
return _this2.$store.dispatch({
|
|
1199
|
+
type: 'ADD_META',
|
|
1200
|
+
metaId: parentMetaId
|
|
1201
|
+
});
|
|
1202
|
+
case 9:
|
|
1203
|
+
parentMeta = _context2.sent;
|
|
1204
|
+
case 10:
|
|
1205
|
+
_this2.parentMeta = parentMeta;
|
|
1206
|
+
if (!relationId.includes('#')) {
|
|
1207
|
+
_context2.next = 28;
|
|
1208
|
+
break;
|
|
1209
|
+
}
|
|
1210
|
+
relationFlag = relationId.split('#')[0];
|
|
1211
|
+
relation = parentMeta.getRelationByFlag(relationFlag);
|
|
1212
|
+
_metaId = relation.entityA;
|
|
1213
|
+
linkAttr = parentMeta.getLinkAttr(relationId);
|
|
1214
|
+
field = Object.values(parentMeta.attributes).find(function (item) {
|
|
1215
|
+
return item.id === linkAttr;
|
|
1216
|
+
});
|
|
1217
|
+
if (field) _this2.parentField = field.name;
|
|
1218
|
+
relationFlag = relationId.split('#')[1];
|
|
1219
|
+
// 获取关联父对象
|
|
1220
|
+
parentMeta = _this2.metas[_metaId];
|
|
1221
|
+
if (parentMeta) {
|
|
1222
|
+
_context2.next = 24;
|
|
1223
|
+
break;
|
|
1224
|
+
}
|
|
1225
|
+
_context2.next = 23;
|
|
1226
|
+
return _this2.$store.dispatch({
|
|
1227
|
+
type: 'ADD_META',
|
|
1228
|
+
metaId: _metaId
|
|
1229
|
+
});
|
|
1230
|
+
case 23:
|
|
1231
|
+
parentMeta = _context2.sent;
|
|
1232
|
+
case 24:
|
|
1233
|
+
_attribute = Object.values(parentMeta.attributes).find(function (item) {
|
|
1234
|
+
return item.id === linkAttr;
|
|
1235
|
+
});
|
|
1236
|
+
if (_attribute) _this2.linkAttrDataB = relationFlag.toUpperCase() + '|' + _attribute.name;
|
|
1237
|
+
_context2.next = 31;
|
|
1238
|
+
break;
|
|
1239
|
+
case 28:
|
|
1240
|
+
_relation = parentMeta.getRelationByFlag(relationFlag);
|
|
1241
|
+
_field = Object.values(parentMeta.attributes).find(function (item) {
|
|
1242
|
+
return item.id === _relation.linkAttrB;
|
|
1243
|
+
});
|
|
1244
|
+
_this2.parentField = _field.name;
|
|
1245
|
+
case 31:
|
|
1246
|
+
relation = parentMeta.getRelationByFlag(relationFlag);
|
|
1247
|
+
metaId = relation.entityA;
|
|
1248
|
+
linkAttr = parentMeta.getLinkAttr(relationId);
|
|
1249
|
+
parentAttr = parentMeta.relatedEntitys.find(function (item) {
|
|
1250
|
+
return item.entityA === metaId;
|
|
1251
|
+
});
|
|
1252
|
+
keyAttribute = parentMeta.getKeyAttribute();
|
|
1253
|
+
if (parentAttr.linkAttrB && parentAttr.linkAttrB !== keyAttribute.id && relationId.includes('#')) {
|
|
1254
|
+
flag = relationId.split('#')[0];
|
|
1255
|
+
_field2 = Object.values(parentMeta.attributes).find(function (item) {
|
|
1256
|
+
return item.id === parentAttr.linkAttrB;
|
|
1257
|
+
});
|
|
1258
|
+
_this2.parentField = flag.toUpperCase() + '|' + _field2.name;
|
|
1259
|
+
}
|
|
1260
|
+
// 获取当前对象
|
|
1261
|
+
meta = _this2.metas[metaId];
|
|
1262
|
+
if (meta) {
|
|
1263
|
+
_context2.next = 42;
|
|
1264
|
+
break;
|
|
1265
|
+
}
|
|
1266
|
+
_context2.next = 41;
|
|
1267
|
+
return _this2.$store.dispatch({
|
|
1268
|
+
type: 'ADD_META',
|
|
1269
|
+
metaId: metaId
|
|
1270
|
+
});
|
|
1271
|
+
case 41:
|
|
1272
|
+
meta = _context2.sent;
|
|
1273
|
+
case 42:
|
|
1274
|
+
_this2.$set(_this2.$configs, 'metaId', metaId);
|
|
1275
|
+
attribute = Object.values(meta.attributes).find(function (item) {
|
|
1276
|
+
return item.id === linkAttr;
|
|
1277
|
+
}) || {};
|
|
1278
|
+
_this2.linkAttrData = attribute.name;
|
|
1279
|
+
if (!_this2.formData[_this2.parentField] && _this2.linkAttrDataB) {
|
|
1280
|
+
_this2.linkAttrData = _this2.linkAttrDataB;
|
|
1281
|
+
_this2.parentField = null;
|
|
1282
|
+
}
|
|
1283
|
+
case 46:
|
|
1284
|
+
case "end":
|
|
1285
|
+
return _context2.stop();
|
|
1286
|
+
}
|
|
1287
|
+
}, _callee2);
|
|
1288
|
+
}))();
|
|
1289
|
+
},
|
|
1290
|
+
getDefaultOperates: function getDefaultOperates() {
|
|
1291
|
+
var _this$$configs2 = this.$configs,
|
|
1292
|
+
addPage = _this$$configs2.addPage,
|
|
1293
|
+
columnOperates = _this$$configs2.columnOperates,
|
|
1294
|
+
operates = _this$$configs2.operates,
|
|
1295
|
+
operateFlag = _this$$configs2.operateFlag;
|
|
1296
|
+
var defaultOperates = [{
|
|
1297
|
+
text: '新增',
|
|
1298
|
+
handler: 'goPage',
|
|
1299
|
+
ui: 'primary',
|
|
1300
|
+
num: 0,
|
|
1301
|
+
metaId: this.$metaId,
|
|
1302
|
+
component: addPage,
|
|
1303
|
+
params: {
|
|
1304
|
+
isSub: true,
|
|
1305
|
+
fieldConfigs: '$[addFormFieldConfigs]',
|
|
1306
|
+
parentId: '$[parentId]',
|
|
1307
|
+
callback: '$[getData]'
|
|
1308
|
+
}
|
|
1309
|
+
}];
|
|
1310
|
+
var defaultColumnOperates = [{
|
|
1311
|
+
text: '编辑',
|
|
1312
|
+
handler: 'goPage',
|
|
1313
|
+
num: 1,
|
|
1314
|
+
component: addPage,
|
|
1315
|
+
openMode: '3',
|
|
1316
|
+
params: {
|
|
1317
|
+
pageType: 'EDIT',
|
|
1318
|
+
fieldConfigs: '$[addFormFieldConfigs]',
|
|
1319
|
+
parentId: '$[parentId]',
|
|
1320
|
+
callback: '$[reloadData]',
|
|
1321
|
+
isSub: true
|
|
1322
|
+
}
|
|
1323
|
+
}, {
|
|
1324
|
+
text: '删除',
|
|
1325
|
+
handler: 'commonAction',
|
|
1326
|
+
action: 'removeMulti',
|
|
1327
|
+
num: 'n',
|
|
1328
|
+
confirmMsg: this.$t('Confirm the deletion') + '?',
|
|
1329
|
+
successMsg: '删除成功',
|
|
1330
|
+
params: {
|
|
1331
|
+
ids: "#[".concat(this.$metaKey, "]")
|
|
1332
|
+
}
|
|
1333
|
+
}];
|
|
1334
|
+
if (this.componentType !== 'READONLY') {
|
|
1335
|
+
if (!columnOperates) {
|
|
1336
|
+
this.$set(this.$configs, 'columnOperates', defaultColumnOperates);
|
|
1337
|
+
}
|
|
1338
|
+
if (!operates) {
|
|
1339
|
+
this.$set(this.$configs, 'operates', defaultOperates);
|
|
1340
|
+
}
|
|
1341
|
+
if (operateFlag) {
|
|
1342
|
+
this.$emit('set-operates', this.$configs.operates);
|
|
1343
|
+
}
|
|
1319
1344
|
}
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1345
|
+
},
|
|
1346
|
+
subAdd: function subAdd() {
|
|
1347
|
+
var addPage = this.$configs.addPage;
|
|
1348
|
+
this.goPage({
|
|
1349
|
+
pageFlag: this.$configs.pageFlag || 'v_add',
|
|
1350
|
+
num: 0,
|
|
1351
|
+
metaId: this.$metaId,
|
|
1352
|
+
openMode: this.openMode,
|
|
1353
|
+
component: addPage,
|
|
1354
|
+
params: {
|
|
1355
|
+
isSub: true,
|
|
1356
|
+
fieldConfigs: '$[addFormFieldConfigs]',
|
|
1357
|
+
parentId: '$[parentId]',
|
|
1358
|
+
callback: '$[reloadData]'
|
|
1359
|
+
}
|
|
1360
|
+
});
|
|
1361
|
+
},
|
|
1362
|
+
renderHeader: function renderHeader() {
|
|
1363
|
+
var _this3 = this;
|
|
1364
|
+
var h = this.$createElement;
|
|
1365
|
+
var _this$$configs3 = this.$configs,
|
|
1366
|
+
formTitleStyle = _this$$configs3.formTitleStyle,
|
|
1367
|
+
operateFlag = _this$$configs3.operateFlag,
|
|
1368
|
+
_this$$configs3$opera = _this$$configs3.operates,
|
|
1369
|
+
operates = _this$$configs3$opera === void 0 ? [] : _this$$configs3$opera;
|
|
1370
|
+
if (!this.showTitle) return;
|
|
1371
|
+
return h("p", {
|
|
1372
|
+
"class": ['form-title', "form-tilte__".concat(formTitleStyle)]
|
|
1373
|
+
}, [h("span", {
|
|
1374
|
+
"class": "form-title-border"
|
|
1375
|
+
}, [this.$component.title]), h("span", {
|
|
1376
|
+
"class": "form-title__operate fr"
|
|
1377
|
+
}, [h("span", [operateFlag && operates.map(function (operate) {
|
|
1378
|
+
return h("el-button", {
|
|
1379
|
+
"attrs": {
|
|
1380
|
+
"type": "text"
|
|
1381
|
+
},
|
|
1382
|
+
"on": {
|
|
1383
|
+
"click": _this3.$handler.bind(_this3, operate)
|
|
1384
|
+
}
|
|
1385
|
+
}, [operate.text]);
|
|
1386
|
+
})]), h("i", {
|
|
1387
|
+
"class": ['form-title-fold__icon', 'el-icon-caret-top'],
|
|
1388
|
+
"on": {
|
|
1389
|
+
"click": function click() {
|
|
1390
|
+
_this3.isFold = !_this3.isFold;
|
|
1391
|
+
}
|
|
1392
|
+
}
|
|
1393
|
+
})])]);
|
|
1394
|
+
},
|
|
1395
|
+
renderListFooter: function renderListFooter() {
|
|
1396
|
+
return null;
|
|
1324
1397
|
}
|
|
1325
|
-
}
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
module.exports = function (list, options) {
|
|
1329
|
-
options = options || {}; // Force single-tag solution on IE6-9, which has a hard limit on the # of <style>
|
|
1330
|
-
// tags it will allow on a page
|
|
1331
|
-
|
|
1332
|
-
if (!options.singleton && typeof options.singleton !== 'boolean') {
|
|
1333
|
-
options.singleton = isOldIE();
|
|
1398
|
+
},
|
|
1399
|
+
created: function created() {
|
|
1400
|
+
this.renderComponents.unshift(this.renderHeader);
|
|
1334
1401
|
}
|
|
1402
|
+
});
|
|
1403
|
+
// CONCATENATED MODULE: ./src/frame/components/MEntitySubList.vue?vue&type=script&lang=js
|
|
1404
|
+
/* harmony default export */ var components_MEntitySubListvue_type_script_lang_js = (MEntitySubListvue_type_script_lang_js);
|
|
1405
|
+
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
1406
|
+
var componentNormalizer = __webpack_require__(13);
|
|
1335
1407
|
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
return function update(newList) {
|
|
1339
|
-
newList = newList || [];
|
|
1340
|
-
|
|
1341
|
-
if (Object.prototype.toString.call(newList) !== '[object Array]') {
|
|
1342
|
-
return;
|
|
1343
|
-
}
|
|
1344
|
-
|
|
1345
|
-
for (var i = 0; i < lastIdentifiers.length; i++) {
|
|
1346
|
-
var identifier = lastIdentifiers[i];
|
|
1347
|
-
var index = getIndexByIdentifier(identifier);
|
|
1348
|
-
stylesInDom[index].references--;
|
|
1349
|
-
}
|
|
1408
|
+
// CONCATENATED MODULE: ./src/frame/components/MEntitySubList.vue
|
|
1409
|
+
var render, staticRenderFns
|
|
1350
1410
|
|
|
1351
|
-
var newLastIdentifiers = modulesToDom(newList, options);
|
|
1352
1411
|
|
|
1353
|
-
for (var _i = 0; _i < lastIdentifiers.length; _i++) {
|
|
1354
|
-
var _identifier = lastIdentifiers[_i];
|
|
1355
1412
|
|
|
1356
|
-
var _index = getIndexByIdentifier(_identifier);
|
|
1357
1413
|
|
|
1358
|
-
|
|
1359
|
-
stylesInDom[_index].updater();
|
|
1414
|
+
/* normalize component */
|
|
1360
1415
|
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1416
|
+
var component = Object(componentNormalizer["a" /* default */])(
|
|
1417
|
+
components_MEntitySubListvue_type_script_lang_js,
|
|
1418
|
+
render,
|
|
1419
|
+
staticRenderFns,
|
|
1420
|
+
false,
|
|
1421
|
+
null,
|
|
1422
|
+
null,
|
|
1423
|
+
null
|
|
1424
|
+
|
|
1425
|
+
)
|
|
1364
1426
|
|
|
1365
|
-
|
|
1366
|
-
};
|
|
1367
|
-
};
|
|
1427
|
+
/* harmony default export */ var MEntitySubList = __webpack_exports__["a"] = (component.exports);
|
|
1368
1428
|
|
|
1369
1429
|
/***/ }),
|
|
1370
1430
|
|
|
@@ -1376,79 +1436,6 @@ module.exports = require("core-js/modules/es.symbol.js");
|
|
|
1376
1436
|
/***/ }),
|
|
1377
1437
|
|
|
1378
1438
|
/***/ 20:
|
|
1379
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1380
|
-
|
|
1381
|
-
"use strict";
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
/*
|
|
1385
|
-
MIT License http://www.opensource.org/licenses/mit-license.php
|
|
1386
|
-
Author Tobias Koppers @sokra
|
|
1387
|
-
*/
|
|
1388
|
-
// css base code, injected by the css-loader
|
|
1389
|
-
// eslint-disable-next-line func-names
|
|
1390
|
-
__webpack_require__(1);
|
|
1391
|
-
__webpack_require__(27);
|
|
1392
|
-
__webpack_require__(35);
|
|
1393
|
-
__webpack_require__(12);
|
|
1394
|
-
__webpack_require__(14);
|
|
1395
|
-
__webpack_require__(1);
|
|
1396
|
-
__webpack_require__(27);
|
|
1397
|
-
__webpack_require__(35);
|
|
1398
|
-
__webpack_require__(12);
|
|
1399
|
-
__webpack_require__(14);
|
|
1400
|
-
__webpack_require__(22);
|
|
1401
|
-
module.exports = function (cssWithMappingToString) {
|
|
1402
|
-
var list = []; // return the list of modules as css string
|
|
1403
|
-
|
|
1404
|
-
list.toString = function toString() {
|
|
1405
|
-
return this.map(function (item) {
|
|
1406
|
-
var content = cssWithMappingToString(item);
|
|
1407
|
-
if (item[2]) {
|
|
1408
|
-
return "@media ".concat(item[2], " {").concat(content, "}");
|
|
1409
|
-
}
|
|
1410
|
-
return content;
|
|
1411
|
-
}).join("");
|
|
1412
|
-
}; // import a list of modules into the list
|
|
1413
|
-
// eslint-disable-next-line func-names
|
|
1414
|
-
|
|
1415
|
-
list.i = function (modules, mediaQuery, dedupe) {
|
|
1416
|
-
if (typeof modules === "string") {
|
|
1417
|
-
// eslint-disable-next-line no-param-reassign
|
|
1418
|
-
modules = [[null, modules, ""]];
|
|
1419
|
-
}
|
|
1420
|
-
var alreadyImportedModules = {};
|
|
1421
|
-
if (dedupe) {
|
|
1422
|
-
for (var i = 0; i < this.length; i++) {
|
|
1423
|
-
// eslint-disable-next-line prefer-destructuring
|
|
1424
|
-
var id = this[i][0];
|
|
1425
|
-
if (id != null) {
|
|
1426
|
-
alreadyImportedModules[id] = true;
|
|
1427
|
-
}
|
|
1428
|
-
}
|
|
1429
|
-
}
|
|
1430
|
-
for (var _i = 0; _i < modules.length; _i++) {
|
|
1431
|
-
var item = [].concat(modules[_i]);
|
|
1432
|
-
if (dedupe && alreadyImportedModules[item[0]]) {
|
|
1433
|
-
// eslint-disable-next-line no-continue
|
|
1434
|
-
continue;
|
|
1435
|
-
}
|
|
1436
|
-
if (mediaQuery) {
|
|
1437
|
-
if (!item[2]) {
|
|
1438
|
-
item[2] = mediaQuery;
|
|
1439
|
-
} else {
|
|
1440
|
-
item[2] = "".concat(mediaQuery, " and ").concat(item[2]);
|
|
1441
|
-
}
|
|
1442
|
-
}
|
|
1443
|
-
list.push(item);
|
|
1444
|
-
}
|
|
1445
|
-
};
|
|
1446
|
-
return list;
|
|
1447
|
-
};
|
|
1448
|
-
|
|
1449
|
-
/***/ }),
|
|
1450
|
-
|
|
1451
|
-
/***/ 21:
|
|
1452
1439
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1453
1440
|
|
|
1454
1441
|
"use strict";
|
|
@@ -1472,6 +1459,19 @@ function _defineProperty(obj, key, value) {
|
|
|
1472
1459
|
|
|
1473
1460
|
/***/ }),
|
|
1474
1461
|
|
|
1462
|
+
/***/ 21:
|
|
1463
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1464
|
+
|
|
1465
|
+
"use strict";
|
|
1466
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _arrayLikeToArray; });
|
|
1467
|
+
function _arrayLikeToArray(arr, len) {
|
|
1468
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
1469
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
1470
|
+
return arr2;
|
|
1471
|
+
}
|
|
1472
|
+
|
|
1473
|
+
/***/ }),
|
|
1474
|
+
|
|
1475
1475
|
/***/ 22:
|
|
1476
1476
|
/***/ (function(module, exports) {
|
|
1477
1477
|
|
|
@@ -1482,18 +1482,25 @@ module.exports = require("core-js/modules/es.array.push.js");
|
|
|
1482
1482
|
/***/ 23:
|
|
1483
1483
|
/***/ (function(module, exports) {
|
|
1484
1484
|
|
|
1485
|
-
module.exports = require("core-js/modules/es.array.
|
|
1485
|
+
module.exports = require("core-js/modules/es.array.find.js");
|
|
1486
1486
|
|
|
1487
1487
|
/***/ }),
|
|
1488
1488
|
|
|
1489
1489
|
/***/ 24:
|
|
1490
1490
|
/***/ (function(module, exports) {
|
|
1491
1491
|
|
|
1492
|
-
module.exports = require("
|
|
1492
|
+
module.exports = require("core-js/modules/es.array.iterator.js");
|
|
1493
1493
|
|
|
1494
1494
|
/***/ }),
|
|
1495
1495
|
|
|
1496
1496
|
/***/ 25:
|
|
1497
|
+
/***/ (function(module, exports) {
|
|
1498
|
+
|
|
1499
|
+
module.exports = require("vuex");
|
|
1500
|
+
|
|
1501
|
+
/***/ }),
|
|
1502
|
+
|
|
1503
|
+
/***/ 26:
|
|
1497
1504
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1498
1505
|
|
|
1499
1506
|
"use strict";
|
|
@@ -1538,13 +1545,6 @@ function _asyncToGenerator(fn) {
|
|
|
1538
1545
|
|
|
1539
1546
|
/***/ }),
|
|
1540
1547
|
|
|
1541
|
-
/***/ 26:
|
|
1542
|
-
/***/ (function(module, exports) {
|
|
1543
|
-
|
|
1544
|
-
module.exports = require("core-js/modules/es.array.find.js");
|
|
1545
|
-
|
|
1546
|
-
/***/ }),
|
|
1547
|
-
|
|
1548
1548
|
/***/ 27:
|
|
1549
1549
|
/***/ (function(module, exports) {
|
|
1550
1550
|
|
|
@@ -1559,11 +1559,11 @@ module.exports = require("core-js/modules/es.array.slice.js");
|
|
|
1559
1559
|
|
|
1560
1560
|
/***/ }),
|
|
1561
1561
|
|
|
1562
|
-
/***/
|
|
1562
|
+
/***/ 289:
|
|
1563
1563
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1564
1564
|
|
|
1565
1565
|
"use strict";
|
|
1566
|
-
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
1566
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(18);
|
|
1567
1567
|
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
1568
1568
|
// Imports
|
|
1569
1569
|
|
|
@@ -1592,7 +1592,7 @@ module.exports = require("core-js/modules/es.string.replace.js");
|
|
|
1592
1592
|
__webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ _toConsumableArray; });
|
|
1593
1593
|
|
|
1594
1594
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
|
|
1595
|
-
var arrayLikeToArray = __webpack_require__(
|
|
1595
|
+
var arrayLikeToArray = __webpack_require__(21);
|
|
1596
1596
|
|
|
1597
1597
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
|
|
1598
1598
|
|
|
@@ -1612,7 +1612,7 @@ var es_object_to_string_js_ = __webpack_require__(1);
|
|
|
1612
1612
|
var es_symbol_iterator_js_ = __webpack_require__(11);
|
|
1613
1613
|
|
|
1614
1614
|
// EXTERNAL MODULE: external "core-js/modules/es.array.iterator.js"
|
|
1615
|
-
var es_array_iterator_js_ = __webpack_require__(
|
|
1615
|
+
var es_array_iterator_js_ = __webpack_require__(24);
|
|
1616
1616
|
|
|
1617
1617
|
// EXTERNAL MODULE: external "core-js/modules/es.string.iterator.js"
|
|
1618
1618
|
var es_string_iterator_js_ = __webpack_require__(5);
|
|
@@ -1643,10 +1643,10 @@ function _iterableToArray(iter) {
|
|
|
1643
1643
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
1644
1644
|
}
|
|
1645
1645
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
|
1646
|
-
var unsupportedIterableToArray = __webpack_require__(
|
|
1646
|
+
var unsupportedIterableToArray = __webpack_require__(37);
|
|
1647
1647
|
|
|
1648
1648
|
// EXTERNAL MODULE: external "core-js/modules/es.error.cause.js"
|
|
1649
|
-
var es_error_cause_js_ = __webpack_require__(
|
|
1649
|
+
var es_error_cause_js_ = __webpack_require__(33);
|
|
1650
1650
|
|
|
1651
1651
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
|
1652
1652
|
|
|
@@ -1681,14 +1681,14 @@ module.exports = require("core-js/modules/es.array.includes.js");
|
|
|
1681
1681
|
/***/ 32:
|
|
1682
1682
|
/***/ (function(module, exports) {
|
|
1683
1683
|
|
|
1684
|
-
module.exports = require("core-js/modules/es.
|
|
1684
|
+
module.exports = require("core-js/modules/es.array.filter.js");
|
|
1685
1685
|
|
|
1686
1686
|
/***/ }),
|
|
1687
1687
|
|
|
1688
1688
|
/***/ 33:
|
|
1689
1689
|
/***/ (function(module, exports) {
|
|
1690
1690
|
|
|
1691
|
-
module.exports = require("core-js/modules/es.
|
|
1691
|
+
module.exports = require("core-js/modules/es.error.cause.js");
|
|
1692
1692
|
|
|
1693
1693
|
/***/ }),
|
|
1694
1694
|
|
|
@@ -1709,55 +1709,6 @@ module.exports = require("core-js/modules/es.array.join.js");
|
|
|
1709
1709
|
/***/ 36:
|
|
1710
1710
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1711
1711
|
|
|
1712
|
-
"use strict";
|
|
1713
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _unsupportedIterableToArray; });
|
|
1714
|
-
/* harmony import */ var core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(28);
|
|
1715
|
-
/* harmony import */ var core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
1716
|
-
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1);
|
|
1717
|
-
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_1__);
|
|
1718
|
-
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(27);
|
|
1719
|
-
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_2__);
|
|
1720
|
-
/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(9);
|
|
1721
|
-
/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_3__);
|
|
1722
|
-
/* harmony import */ var core_js_modules_es_array_from_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(30);
|
|
1723
|
-
/* harmony import */ var core_js_modules_es_array_from_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_from_js__WEBPACK_IMPORTED_MODULE_4__);
|
|
1724
|
-
/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(5);
|
|
1725
|
-
/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_5__);
|
|
1726
|
-
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(13);
|
|
1727
|
-
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_6__);
|
|
1728
|
-
/* harmony import */ var core_js_modules_es_regexp_test_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(40);
|
|
1729
|
-
/* harmony import */ var core_js_modules_es_regexp_test_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_test_js__WEBPACK_IMPORTED_MODULE_7__);
|
|
1730
|
-
/* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(18);
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
function _unsupportedIterableToArray(o, minLen) {
|
|
1748
|
-
if (!o) return;
|
|
1749
|
-
if (typeof o === "string") return Object(_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_8__[/* default */ "a"])(o, minLen);
|
|
1750
|
-
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
1751
|
-
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
1752
|
-
if (n === "Map" || n === "Set") return Array.from(o);
|
|
1753
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Object(_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_8__[/* default */ "a"])(o, minLen);
|
|
1754
|
-
}
|
|
1755
|
-
|
|
1756
|
-
/***/ }),
|
|
1757
|
-
|
|
1758
|
-
/***/ 37:
|
|
1759
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1760
|
-
|
|
1761
1712
|
"use strict";
|
|
1762
1713
|
|
|
1763
1714
|
// EXPORTS
|
|
@@ -1767,7 +1718,7 @@ __webpack_require__.d(__webpack_exports__, "a", function() { return /* binding *
|
|
|
1767
1718
|
var es_symbol_js_ = __webpack_require__(2);
|
|
1768
1719
|
|
|
1769
1720
|
// EXTERNAL MODULE: external "core-js/modules/es.object.keys.js"
|
|
1770
|
-
var es_object_keys_js_ = __webpack_require__(
|
|
1721
|
+
var es_object_keys_js_ = __webpack_require__(19);
|
|
1771
1722
|
|
|
1772
1723
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
|
|
1773
1724
|
|
|
@@ -1806,6 +1757,55 @@ function _objectWithoutProperties(source, excluded) {
|
|
|
1806
1757
|
|
|
1807
1758
|
/***/ }),
|
|
1808
1759
|
|
|
1760
|
+
/***/ 37:
|
|
1761
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1762
|
+
|
|
1763
|
+
"use strict";
|
|
1764
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _unsupportedIterableToArray; });
|
|
1765
|
+
/* harmony import */ var core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(28);
|
|
1766
|
+
/* harmony import */ var core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
1767
|
+
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1);
|
|
1768
|
+
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_1__);
|
|
1769
|
+
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(27);
|
|
1770
|
+
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_2__);
|
|
1771
|
+
/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(8);
|
|
1772
|
+
/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_3__);
|
|
1773
|
+
/* harmony import */ var core_js_modules_es_array_from_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(30);
|
|
1774
|
+
/* harmony import */ var core_js_modules_es_array_from_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_from_js__WEBPACK_IMPORTED_MODULE_4__);
|
|
1775
|
+
/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(5);
|
|
1776
|
+
/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_5__);
|
|
1777
|
+
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(14);
|
|
1778
|
+
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_6__);
|
|
1779
|
+
/* harmony import */ var core_js_modules_es_regexp_test_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(40);
|
|
1780
|
+
/* harmony import */ var core_js_modules_es_regexp_test_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_test_js__WEBPACK_IMPORTED_MODULE_7__);
|
|
1781
|
+
/* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(21);
|
|
1782
|
+
|
|
1783
|
+
|
|
1784
|
+
|
|
1785
|
+
|
|
1786
|
+
|
|
1787
|
+
|
|
1788
|
+
|
|
1789
|
+
|
|
1790
|
+
|
|
1791
|
+
|
|
1792
|
+
|
|
1793
|
+
|
|
1794
|
+
|
|
1795
|
+
|
|
1796
|
+
|
|
1797
|
+
|
|
1798
|
+
function _unsupportedIterableToArray(o, minLen) {
|
|
1799
|
+
if (!o) return;
|
|
1800
|
+
if (typeof o === "string") return Object(_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_8__[/* default */ "a"])(o, minLen);
|
|
1801
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
1802
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
1803
|
+
if (n === "Map" || n === "Set") return Array.from(o);
|
|
1804
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Object(_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_8__[/* default */ "a"])(o, minLen);
|
|
1805
|
+
}
|
|
1806
|
+
|
|
1807
|
+
/***/ }),
|
|
1808
|
+
|
|
1809
1809
|
/***/ 38:
|
|
1810
1810
|
/***/ (function(module, exports) {
|
|
1811
1811
|
|
|
@@ -1818,16 +1818,16 @@ module.exports = require("core-js/modules/es.promise.js");
|
|
|
1818
1818
|
|
|
1819
1819
|
"use strict";
|
|
1820
1820
|
/* harmony import */ var E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3);
|
|
1821
|
-
/* harmony import */ var E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
1821
|
+
/* harmony import */ var E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36);
|
|
1822
1822
|
/* harmony import */ var E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(10);
|
|
1823
|
-
/* harmony import */ var E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
|
1823
|
+
/* harmony import */ var E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(26);
|
|
1824
1824
|
/* harmony import */ var E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(0);
|
|
1825
1825
|
/* harmony import */ var E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_typeof_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(4);
|
|
1826
1826
|
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(1);
|
|
1827
1827
|
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_6__);
|
|
1828
|
-
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
|
|
1828
|
+
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(9);
|
|
1829
1829
|
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_7__);
|
|
1830
|
-
/* harmony import */ var core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
|
|
1830
|
+
/* harmony import */ var core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(15);
|
|
1831
1831
|
/* harmony import */ var core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_8__);
|
|
1832
1832
|
/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(12);
|
|
1833
1833
|
/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_9__);
|
|
@@ -1835,19 +1835,19 @@ module.exports = require("core-js/modules/es.promise.js");
|
|
|
1835
1835
|
/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_10__);
|
|
1836
1836
|
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(34);
|
|
1837
1837
|
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_11__);
|
|
1838
|
-
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
|
|
1838
|
+
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(14);
|
|
1839
1839
|
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_12__);
|
|
1840
1840
|
/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(29);
|
|
1841
1841
|
/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_13__);
|
|
1842
1842
|
/* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(16);
|
|
1843
1843
|
/* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_14__);
|
|
1844
|
-
/* harmony import */ var core_js_modules_es_array_find_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(
|
|
1844
|
+
/* harmony import */ var core_js_modules_es_array_find_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(23);
|
|
1845
1845
|
/* harmony import */ var core_js_modules_es_array_find_js__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_find_js__WEBPACK_IMPORTED_MODULE_15__);
|
|
1846
1846
|
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(38);
|
|
1847
1847
|
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_16__);
|
|
1848
1848
|
/* harmony import */ var core_js_modules_es_regexp_test_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(40);
|
|
1849
1849
|
/* harmony import */ var core_js_modules_es_regexp_test_js__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_test_js__WEBPACK_IMPORTED_MODULE_17__);
|
|
1850
|
-
/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(
|
|
1850
|
+
/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(25);
|
|
1851
1851
|
/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(vuex__WEBPACK_IMPORTED_MODULE_18__);
|
|
1852
1852
|
|
|
1853
1853
|
|
|
@@ -1946,7 +1946,8 @@ function formatI18nConfig(configs, language) {
|
|
|
1946
1946
|
compTitle: String,
|
|
1947
1947
|
items: Array,
|
|
1948
1948
|
//
|
|
1949
|
-
itemConfigs: Object
|
|
1949
|
+
itemConfigs: Object,
|
|
1950
|
+
metaId: String
|
|
1950
1951
|
},
|
|
1951
1952
|
data: function data() {
|
|
1952
1953
|
return {
|
|
@@ -2017,7 +2018,7 @@ function formatI18nConfig(configs, language) {
|
|
|
2017
2018
|
*/
|
|
2018
2019
|
$metaId: function $metaId() {
|
|
2019
2020
|
var metaId = this.$configs.metaId;
|
|
2020
|
-
return metaId || this.$pageMetaId;
|
|
2021
|
+
return this.metaId || metaId || this.$pageMetaId;
|
|
2021
2022
|
},
|
|
2022
2023
|
// 当前组件对象
|
|
2023
2024
|
$meta: function $meta() {
|
|
@@ -2094,6 +2095,16 @@ function formatI18nConfig(configs, language) {
|
|
|
2094
2095
|
},
|
|
2095
2096
|
$currentRoleId: function $currentRoleId() {
|
|
2096
2097
|
return this.$currentRole.id;
|
|
2098
|
+
},
|
|
2099
|
+
$getComponentId: function $getComponentId() {
|
|
2100
|
+
var _this2 = this;
|
|
2101
|
+
return function (component) {
|
|
2102
|
+
if (!_this2.isPage) {
|
|
2103
|
+
var id = _this2.$component.id;
|
|
2104
|
+
return id + '-' + component.id;
|
|
2105
|
+
}
|
|
2106
|
+
return component.id;
|
|
2107
|
+
};
|
|
2097
2108
|
}
|
|
2098
2109
|
}),
|
|
2099
2110
|
watch: {
|
|
@@ -2111,7 +2122,7 @@ function formatI18nConfig(configs, language) {
|
|
|
2111
2122
|
window.open(webLinkUrl);
|
|
2112
2123
|
},
|
|
2113
2124
|
goApp: function goApp(config) {
|
|
2114
|
-
var
|
|
2125
|
+
var _this3 = this;
|
|
2115
2126
|
return Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])( /*#__PURE__*/Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])().mark(function _callee() {
|
|
2116
2127
|
var serviceId, app;
|
|
2117
2128
|
return Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])().wrap(function _callee$(_context) {
|
|
@@ -2126,7 +2137,7 @@ function formatI18nConfig(configs, language) {
|
|
|
2126
2137
|
case 3:
|
|
2127
2138
|
app = {};
|
|
2128
2139
|
_context.next = 6;
|
|
2129
|
-
return
|
|
2140
|
+
return _this3.$http.get({
|
|
2130
2141
|
entityId: 'FM_SERVICE',
|
|
2131
2142
|
id: serviceId
|
|
2132
2143
|
}).then(function (data) {
|
|
@@ -2141,13 +2152,13 @@ function formatI18nConfig(configs, language) {
|
|
|
2141
2152
|
}
|
|
2142
2153
|
return _context.abrupt("return");
|
|
2143
2154
|
case 8:
|
|
2144
|
-
|
|
2155
|
+
_this3.$http.get({
|
|
2145
2156
|
link: 'client',
|
|
2146
2157
|
entityId: 'FM_SYSTEM',
|
|
2147
2158
|
id: app.SYSTEM
|
|
2148
2159
|
}).then(function (data) {
|
|
2149
2160
|
if (data && data.data) {
|
|
2150
|
-
var rootPath =
|
|
2161
|
+
var rootPath = _this3.$util.getRootPath();
|
|
2151
2162
|
var url = "".concat(rootPath, "/app/").concat(data.data['CLIENT|CODE'], "/").concat(data.data.CODE, "/").concat(app.CODE);
|
|
2152
2163
|
window.open(url);
|
|
2153
2164
|
}
|
|
@@ -2170,7 +2181,7 @@ function formatI18nConfig(configs, language) {
|
|
|
2170
2181
|
if (this.upPage) this.upPage.$refesh();
|
|
2171
2182
|
},
|
|
2172
2183
|
$routerChange: function $routerChange(callback) {
|
|
2173
|
-
var
|
|
2184
|
+
var _this4 = this;
|
|
2174
2185
|
// 获取上级路由
|
|
2175
2186
|
var parent = this.$parent || this.$root;
|
|
2176
2187
|
var name = parent.$options.componentName;
|
|
@@ -2182,7 +2193,7 @@ function formatI18nConfig(configs, language) {
|
|
|
2182
2193
|
}
|
|
2183
2194
|
if (parent) {
|
|
2184
2195
|
parent.$on('change', function (params) {
|
|
2185
|
-
return callback.apply(
|
|
2196
|
+
return callback.apply(_this4, params);
|
|
2186
2197
|
});
|
|
2187
2198
|
}
|
|
2188
2199
|
},
|
|
@@ -2235,7 +2246,7 @@ function formatI18nConfig(configs, language) {
|
|
|
2235
2246
|
}
|
|
2236
2247
|
},
|
|
2237
2248
|
$excuteEvent: function $excuteEvent(key) {
|
|
2238
|
-
var
|
|
2249
|
+
var _this5 = this;
|
|
2239
2250
|
for (var _len4 = arguments.length, args = new Array(_len4 > 1 ? _len4 - 1 : 0), _key4 = 1; _key4 < _len4; _key4++) {
|
|
2240
2251
|
args[_key4 - 1] = arguments[_key4];
|
|
2241
2252
|
}
|
|
@@ -2244,7 +2255,7 @@ function formatI18nConfig(configs, language) {
|
|
|
2244
2255
|
var _componentEvents$key = componentEvents[key],
|
|
2245
2256
|
keyEvents = _componentEvents$key === void 0 ? [] : _componentEvents$key;
|
|
2246
2257
|
keyEvents.map(function (event) {
|
|
2247
|
-
return
|
|
2258
|
+
return _this5.executeCustomJs.apply(_this5, [event].concat(args));
|
|
2248
2259
|
});
|
|
2249
2260
|
},
|
|
2250
2261
|
_createComponent: function _createComponent() {
|
|
@@ -2344,20 +2355,20 @@ function formatI18nConfig(configs, language) {
|
|
|
2344
2355
|
initComponent: function initComponent(component) {}
|
|
2345
2356
|
},
|
|
2346
2357
|
created: function created() {
|
|
2347
|
-
var
|
|
2358
|
+
var _this6 = this;
|
|
2348
2359
|
return Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])( /*#__PURE__*/Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])().mark(function _callee2() {
|
|
2349
2360
|
var component;
|
|
2350
2361
|
return Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])().wrap(function _callee2$(_context2) {
|
|
2351
2362
|
while (1) switch (_context2.prev = _context2.next) {
|
|
2352
2363
|
case 0:
|
|
2353
|
-
|
|
2364
|
+
_this6.beforeCreateComponent();
|
|
2354
2365
|
// 创建组件
|
|
2355
|
-
|
|
2366
|
+
_this6._createComponent();
|
|
2356
2367
|
try {
|
|
2357
|
-
|
|
2368
|
+
_this6.oldCompConfigs = _this6.$_.cloneDeep(_this6.compConfigs);
|
|
2358
2369
|
} catch (error) {}
|
|
2359
2370
|
// 初始化组件配置
|
|
2360
|
-
component =
|
|
2371
|
+
component = _this6.beforeInitComponent();
|
|
2361
2372
|
if (!(component instanceof Promise)) {
|
|
2362
2373
|
_context2.next = 7;
|
|
2363
2374
|
break;
|
|
@@ -2365,18 +2376,18 @@ function formatI18nConfig(configs, language) {
|
|
|
2365
2376
|
_context2.next = 7;
|
|
2366
2377
|
return component;
|
|
2367
2378
|
case 7:
|
|
2368
|
-
if (!(
|
|
2379
|
+
if (!(_this6.$metaId && !_this6.$meta)) {
|
|
2369
2380
|
_context2.next = 10;
|
|
2370
2381
|
break;
|
|
2371
2382
|
}
|
|
2372
2383
|
_context2.next = 10;
|
|
2373
|
-
return
|
|
2384
|
+
return _this6.$store.dispatch({
|
|
2374
2385
|
type: 'ADD_META',
|
|
2375
|
-
metaId:
|
|
2386
|
+
metaId: _this6.$metaId
|
|
2376
2387
|
});
|
|
2377
2388
|
case 10:
|
|
2378
2389
|
// 初始化组件
|
|
2379
|
-
|
|
2390
|
+
_this6.initComponent(_this6.$component);
|
|
2380
2391
|
case 11:
|
|
2381
2392
|
case "end":
|
|
2382
2393
|
return _context2.stop();
|
|
@@ -2385,10 +2396,10 @@ function formatI18nConfig(configs, language) {
|
|
|
2385
2396
|
}))();
|
|
2386
2397
|
},
|
|
2387
2398
|
mounted: function mounted() {
|
|
2388
|
-
var
|
|
2399
|
+
var _this7 = this;
|
|
2389
2400
|
if (this.isPage) {
|
|
2390
2401
|
window.onpopstate = function () {
|
|
2391
|
-
|
|
2402
|
+
_this7.backPage();
|
|
2392
2403
|
return false;
|
|
2393
2404
|
};
|
|
2394
2405
|
}
|
|
@@ -2414,7 +2425,7 @@ function formatI18nConfig(configs, language) {
|
|
|
2414
2425
|
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_2__);
|
|
2415
2426
|
/* harmony import */ var core_js_modules_es_symbol_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(11);
|
|
2416
2427
|
/* harmony import */ var core_js_modules_es_symbol_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
|
|
2417
|
-
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
|
2428
|
+
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(24);
|
|
2418
2429
|
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_4__);
|
|
2419
2430
|
/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(5);
|
|
2420
2431
|
/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_5__);
|
|
@@ -2496,7 +2507,7 @@ var es_object_to_string_js_ = __webpack_require__(1);
|
|
|
2496
2507
|
var es_number_constructor_js_ = __webpack_require__(16);
|
|
2497
2508
|
|
|
2498
2509
|
// EXTERNAL MODULE: external "core-js/modules/es.error.cause.js"
|
|
2499
|
-
var es_error_cause_js_ = __webpack_require__(
|
|
2510
|
+
var es_error_cause_js_ = __webpack_require__(33);
|
|
2500
2511
|
|
|
2501
2512
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
|
2502
2513
|
|
|
@@ -2561,7 +2572,21 @@ module.exports = require("core-js/modules/es.symbol.async-iterator.js");
|
|
|
2561
2572
|
|
|
2562
2573
|
/***/ }),
|
|
2563
2574
|
|
|
2564
|
-
/***/
|
|
2575
|
+
/***/ 48:
|
|
2576
|
+
/***/ (function(module, exports) {
|
|
2577
|
+
|
|
2578
|
+
module.exports = require("core-js/modules/es.symbol.to-string-tag.js");
|
|
2579
|
+
|
|
2580
|
+
/***/ }),
|
|
2581
|
+
|
|
2582
|
+
/***/ 49:
|
|
2583
|
+
/***/ (function(module, exports) {
|
|
2584
|
+
|
|
2585
|
+
module.exports = require("core-js/modules/es.json.to-string-tag.js");
|
|
2586
|
+
|
|
2587
|
+
/***/ }),
|
|
2588
|
+
|
|
2589
|
+
/***/ 490:
|
|
2565
2590
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2566
2591
|
|
|
2567
2592
|
"use strict";
|
|
@@ -2572,7 +2597,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2572
2597
|
__webpack_require__.d(__webpack_exports__, "EntitySubGridItem", function() { return /* reexport */ EntitySubGridItem; });
|
|
2573
2598
|
|
|
2574
2599
|
// EXTERNAL MODULE: external "core-js/modules/es.function.name.js"
|
|
2575
|
-
var es_function_name_js_ = __webpack_require__(
|
|
2600
|
+
var es_function_name_js_ = __webpack_require__(8);
|
|
2576
2601
|
|
|
2577
2602
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/frame/packages/entity-sub-grid/EntitySubGrid.vue?vue&type=template&id=ad220d06
|
|
2578
2603
|
var render = function () {
|
|
@@ -2671,7 +2696,7 @@ var component = __webpack_require__(39);
|
|
|
2671
2696
|
// CONCATENATED MODULE: ./src/frame/packages/entity-sub-grid/EntitySubGrid.vue?vue&type=script&lang=js
|
|
2672
2697
|
/* harmony default export */ var entity_sub_grid_EntitySubGridvue_type_script_lang_js = (EntitySubGridvue_type_script_lang_js);
|
|
2673
2698
|
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
2674
|
-
var componentNormalizer = __webpack_require__(
|
|
2699
|
+
var componentNormalizer = __webpack_require__(13);
|
|
2675
2700
|
|
|
2676
2701
|
// CONCATENATED MODULE: ./src/frame/packages/entity-sub-grid/EntitySubGrid.vue
|
|
2677
2702
|
|
|
@@ -2735,16 +2760,16 @@ EntitySubGridItemvue_type_template_id_7d51150c_scoped_true_render._withStripped
|
|
|
2735
2760
|
// CONCATENATED MODULE: ./src/frame/packages/entity-sub-grid/EntitySubGridItem.vue?vue&type=template&id=7d51150c&scoped=true
|
|
2736
2761
|
|
|
2737
2762
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
2738
|
-
var defineProperty = __webpack_require__(
|
|
2763
|
+
var defineProperty = __webpack_require__(20);
|
|
2739
2764
|
|
|
2740
2765
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js
|
|
2741
2766
|
var regeneratorRuntime = __webpack_require__(10);
|
|
2742
2767
|
|
|
2743
2768
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
|
|
2744
|
-
var asyncToGenerator = __webpack_require__(
|
|
2769
|
+
var asyncToGenerator = __webpack_require__(26);
|
|
2745
2770
|
|
|
2746
2771
|
// EXTERNAL MODULE: ./src/frame/components/MEntitySubList.vue + 2 modules
|
|
2747
|
-
var MEntitySubList = __webpack_require__(
|
|
2772
|
+
var MEntitySubList = __webpack_require__(191);
|
|
2748
2773
|
|
|
2749
2774
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./src/frame/packages/entity-sub-grid/EntitySubGridItem.vue?vue&type=script&lang=js
|
|
2750
2775
|
|
|
@@ -2821,11 +2846,11 @@ var MEntitySubList = __webpack_require__(187);
|
|
|
2821
2846
|
// CONCATENATED MODULE: ./src/frame/packages/entity-sub-grid/EntitySubGridItem.vue?vue&type=script&lang=js
|
|
2822
2847
|
/* harmony default export */ var entity_sub_grid_EntitySubGridItemvue_type_script_lang_js = (EntitySubGridItemvue_type_script_lang_js);
|
|
2823
2848
|
// EXTERNAL MODULE: ./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js
|
|
2824
|
-
var injectStylesIntoStyleTag = __webpack_require__(
|
|
2849
|
+
var injectStylesIntoStyleTag = __webpack_require__(17);
|
|
2825
2850
|
var injectStylesIntoStyleTag_default = /*#__PURE__*/__webpack_require__.n(injectStylesIntoStyleTag);
|
|
2826
2851
|
|
|
2827
2852
|
// EXTERNAL MODULE: ./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/sass-resources-loader/lib/loader.js??ref--2-3!./node_modules/vue-loader/lib??vue-loader-options!./src/frame/packages/entity-sub-grid/EntitySubGridItem.vue?vue&type=style&index=0&id=7d51150c&prod&scoped=true&lang=scss
|
|
2828
|
-
var EntitySubGridItemvue_type_style_index_0_id_7d51150c_prod_scoped_true_lang_scss = __webpack_require__(
|
|
2853
|
+
var EntitySubGridItemvue_type_style_index_0_id_7d51150c_prod_scoped_true_lang_scss = __webpack_require__(289);
|
|
2829
2854
|
|
|
2830
2855
|
// CONCATENATED MODULE: ./node_modules/style-loader/dist/cjs.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/sass-resources-loader/lib/loader.js??ref--2-3!./node_modules/vue-loader/lib??vue-loader-options!./src/frame/packages/entity-sub-grid/EntitySubGridItem.vue?vue&type=style&index=0&id=7d51150c&prod&scoped=true&lang=scss
|
|
2831
2856
|
|
|
@@ -2878,20 +2903,6 @@ EntitySubGrid.install = function install(Vue) {
|
|
|
2878
2903
|
/* harmony default export */ var entity_sub_grid = __webpack_exports__["default"] = (EntitySubGrid);
|
|
2879
2904
|
|
|
2880
2905
|
|
|
2881
|
-
/***/ }),
|
|
2882
|
-
|
|
2883
|
-
/***/ 48:
|
|
2884
|
-
/***/ (function(module, exports) {
|
|
2885
|
-
|
|
2886
|
-
module.exports = require("core-js/modules/es.symbol.to-string-tag.js");
|
|
2887
|
-
|
|
2888
|
-
/***/ }),
|
|
2889
|
-
|
|
2890
|
-
/***/ 49:
|
|
2891
|
-
/***/ (function(module, exports) {
|
|
2892
|
-
|
|
2893
|
-
module.exports = require("core-js/modules/es.json.to-string-tag.js");
|
|
2894
|
-
|
|
2895
2906
|
/***/ }),
|
|
2896
2907
|
|
|
2897
2908
|
/***/ 5:
|
|
@@ -2936,7 +2947,7 @@ module.exports = require("core-js/modules/web.dom-collections.iterator.js");
|
|
|
2936
2947
|
|
|
2937
2948
|
/***/ }),
|
|
2938
2949
|
|
|
2939
|
-
/***/
|
|
2950
|
+
/***/ 73:
|
|
2940
2951
|
/***/ (function(module, exports) {
|
|
2941
2952
|
|
|
2942
2953
|
module.exports = require("core-js/modules/es.object.values.js");
|
|
@@ -2946,14 +2957,14 @@ module.exports = require("core-js/modules/es.object.values.js");
|
|
|
2946
2957
|
/***/ 8:
|
|
2947
2958
|
/***/ (function(module, exports) {
|
|
2948
2959
|
|
|
2949
|
-
module.exports = require("core-js/modules/
|
|
2960
|
+
module.exports = require("core-js/modules/es.function.name.js");
|
|
2950
2961
|
|
|
2951
2962
|
/***/ }),
|
|
2952
2963
|
|
|
2953
2964
|
/***/ 9:
|
|
2954
2965
|
/***/ (function(module, exports) {
|
|
2955
2966
|
|
|
2956
|
-
module.exports = require("core-js/modules/
|
|
2967
|
+
module.exports = require("core-js/modules/web.dom-collections.for-each.js");
|
|
2957
2968
|
|
|
2958
2969
|
/***/ })
|
|
2959
2970
|
|