epx-frame 3.14.1 → 3.15.0
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/0.index.js +1 -0
- package/lib/1.index.js +1 -0
- package/lib/10.css +4 -0
- package/lib/10.index.js +1 -0
- package/lib/10.js +70 -50
- package/lib/11.index.js +10 -0
- package/lib/12.index.js +1 -0
- package/lib/13.index.js +1 -0
- package/lib/14.index.js +1 -0
- package/lib/15.index.js +1 -0
- package/lib/17.js +36 -36
- package/lib/2.index.js +1 -0
- package/lib/3.index.js +14 -0
- package/lib/4.index.js +1 -0
- package/lib/5.index.js +1 -0
- package/lib/6.index.js +1 -0
- package/lib/8.css +2 -0
- package/lib/8.index.js +1 -0
- package/lib/88.js +28223 -0
- package/lib/9.index.js +1 -0
- package/lib/add-form-item.js +1756 -1852
- package/lib/add-form.js +749 -705
- package/lib/alert.js +1924 -420
- package/lib/app-index.js +504 -504
- package/lib/app-nav.js +2104 -2098
- package/lib/app-tabs.js +521 -521
- package/lib/apply-form.js +4020 -3997
- package/lib/apply_bg.png +0 -0
- package/lib/approval-index-page.js +359 -359
- package/lib/approval-index.js +472 -472
- package/lib/auto.png +0 -0
- package/lib/base-page.js +311 -264
- package/lib/bpmn.eot +0 -0
- package/lib/bpmn.svg +224 -0
- package/lib/bpmn.ttf +0 -0
- package/lib/bpmn.woff +0 -0
- package/lib/bpmn.woff2 +0 -0
- package/lib/button.js +443 -443
- package/lib/card-form-item.js +680 -705
- package/lib/card.js +506 -506
- package/lib/category-list.js +10140 -9208
- package/lib/chart.js +2540 -2024
- package/lib/check-history.js +649 -465
- package/lib/color-picker.js +72 -72
- package/lib/component.js +7 -6
- package/lib/contact_bg.png +0 -0
- package/lib/contacts.js +424 -424
- package/lib/dashboard.js +2747 -2731
- package/lib/edit-entity-list.js +1905 -1197
- package/lib/entity-add-page.js +388 -388
- package/lib/entity-apply-page.js +386 -386
- package/lib/entity-card-list.js +1914 -1206
- package/lib/entity-list-find-page.js +437 -437
- package/lib/entity-list-find.js +109 -109
- package/lib/entity-list-page.js +354 -354
- package/lib/entity-list.js +1766 -1145
- package/lib/entity-no-submit-sub-list.js +228 -228
- package/lib/entity-sub-grid.js +815 -815
- package/lib/entity-sub-list.js +10454 -596
- package/lib/entity-tree-find-page.js +352 -352
- package/lib/entity-tree-find.js +914 -907
- package/lib/epx-frame.common.js +2 -2
- package/lib/export-file.js +514 -514
- package/lib/export.js +599 -598
- package/lib/flow-num-card.js +1182 -1182
- package/lib/footer.js +289 -289
- package/lib/form-item.js +1350 -987
- package/lib/form.js +495 -484
- package/lib/formula.js +3487 -3679
- package/lib/gauge.js +1290 -1326
- package/lib/grid.js +527 -527
- package/lib/hall_banner.png +0 -0
- package/lib/header.js +2282 -2370
- package/lib/hr.png +0 -0
- package/lib/icon.js +159 -159
- package/lib/iframe.js +400 -400
- package/lib/image.js +334 -334
- package/lib/import-file.js +445 -437
- package/lib/import.js +1335 -1335
- package/lib/index.css +2249 -138
- package/lib/index.js +92 -0
- package/lib/layout.js +847 -883
- package/lib/list.js +2906 -807
- package/lib/load-page.js +334 -334
- package/lib/m-entity-add-page.js +383 -383
- package/lib/m-entity-dept-find.js +420 -420
- package/lib/m-entity-list-find.js +1965 -1965
- package/lib/m-entity-list.js +404 -383
- package/lib/m-entity-no-submit-sub-list.js +335 -335
- package/lib/m-entity-tree-find.js +419 -419
- package/lib/m-entity-user-find.js +417 -417
- package/lib/m_hall_banner.png +0 -0
- package/lib/menu-index.js +332 -330
- package/lib/menu.js +815 -812
- package/lib/mine.js +11256 -527
- package/lib/module-index-page.js +476 -458
- package/lib/module-list-page.js +372 -372
- package/lib/module-list.js +458 -458
- package/lib/module.png +0 -0
- package/lib/nav-add-form.js +290 -290
- package/lib/num.js +1664 -1664
- package/lib/org-chart.js +438 -438
- package/lib/page-help.js +399 -399
- package/lib/page-tabs.js +859 -859
- package/lib/page.js +498 -496
- package/lib/progress-chart.js +437 -437
- package/lib/progress.js +441 -441
- package/lib/report-html.js +429 -429
- package/lib/report-preview.js +446 -443
- package/lib/router-view.js +207 -207
- package/lib/scope.js +1393 -619
- package/lib/search.js +601 -596
- package/lib/staff.png +0 -0
- package/lib/step-item.js +490 -490
- package/lib/step.js +502 -502
- package/lib/success.png +0 -0
- package/lib/tab-bar.js +23 -23
- package/lib/tag.js +2323 -0
- package/lib/task-list-page.js +352 -352
- package/lib/task-list.js +674 -616
- package/lib/text-editor.js +413 -413
- package/lib/text.js +432 -432
- package/lib/title.js +411 -411
- package/lib/user_bg.png +0 -0
- package/lib/visual-config-page.js +18948 -886
- package/package.json +1 -1
package/lib/add-form-item.js
CHANGED
|
@@ -82,32 +82,33 @@ 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 = 231);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
|
-
/******/ (
|
|
89
|
-
|
|
88
|
+
/******/ ({
|
|
89
|
+
|
|
90
|
+
/***/ 0:
|
|
90
91
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
91
92
|
|
|
92
93
|
"use strict";
|
|
93
94
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectSpread2; });
|
|
94
|
-
/* 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__(25);
|
|
95
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__);
|
|
96
97
|
/* harmony import */ var core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2);
|
|
97
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__);
|
|
98
|
-
/* 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__(29);
|
|
99
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__);
|
|
100
101
|
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(1);
|
|
101
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__);
|
|
102
|
-
/* harmony import */ var core_js_modules_es_object_get_own_property_descriptor_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
|
103
|
+
/* harmony import */ var core_js_modules_es_object_get_own_property_descriptor_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(43);
|
|
103
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__);
|
|
104
105
|
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(8);
|
|
105
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__);
|
|
106
|
-
/* harmony import */ var core_js_modules_es_object_get_own_property_descriptors_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
|
|
107
|
+
/* harmony import */ var core_js_modules_es_object_get_own_property_descriptors_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(44);
|
|
107
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__);
|
|
108
|
-
/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
|
|
109
|
+
/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(21);
|
|
109
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__);
|
|
110
|
-
/* harmony import */ var _defineProperty_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
|
|
111
|
+
/* harmony import */ var _defineProperty_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(15);
|
|
111
112
|
|
|
112
113
|
|
|
113
114
|
|
|
@@ -147,196 +148,43 @@ function _objectSpread2(target) {
|
|
|
147
148
|
}
|
|
148
149
|
|
|
149
150
|
/***/ }),
|
|
150
|
-
/* 1 */
|
|
151
|
-
/***/ (function(module, exports) {
|
|
152
|
-
|
|
153
|
-
module.exports = require("core-js/modules/es.object.to-string.js");
|
|
154
|
-
|
|
155
|
-
/***/ }),
|
|
156
|
-
/* 2 */
|
|
157
|
-
/***/ (function(module, exports) {
|
|
158
|
-
|
|
159
|
-
module.exports = require("core-js/modules/es.symbol.js");
|
|
160
|
-
|
|
161
|
-
/***/ }),
|
|
162
|
-
/* 3 */
|
|
163
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
164
|
-
|
|
165
|
-
"use strict";
|
|
166
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _typeof; });
|
|
167
|
-
/* harmony import */ var core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
|
|
168
|
-
/* harmony import */ var core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
169
|
-
/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6);
|
|
170
|
-
/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_1__);
|
|
171
|
-
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1);
|
|
172
|
-
/* 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__);
|
|
173
|
-
/* harmony import */ var core_js_modules_es_symbol_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(10);
|
|
174
|
-
/* 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__);
|
|
175
|
-
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(20);
|
|
176
|
-
/* 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__);
|
|
177
|
-
/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(4);
|
|
178
|
-
/* 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__);
|
|
179
|
-
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(7);
|
|
180
|
-
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_6__);
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
function _typeof(obj) {
|
|
195
|
-
"@babel/helpers - typeof";
|
|
196
|
-
|
|
197
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
|
198
|
-
return typeof obj;
|
|
199
|
-
} : function (obj) {
|
|
200
|
-
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
201
|
-
}, _typeof(obj);
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
/***/ }),
|
|
205
|
-
/* 4 */
|
|
206
|
-
/***/ (function(module, exports) {
|
|
207
|
-
|
|
208
|
-
module.exports = require("core-js/modules/es.string.iterator.js");
|
|
209
|
-
|
|
210
|
-
/***/ }),
|
|
211
|
-
/* 5 */
|
|
212
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
213
|
-
|
|
214
|
-
"use strict";
|
|
215
|
-
|
|
216
|
-
// EXPORTS
|
|
217
|
-
__webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ _toConsumableArray; });
|
|
218
|
-
|
|
219
|
-
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
|
|
220
|
-
var arrayLikeToArray = __webpack_require__(15);
|
|
221
|
-
|
|
222
|
-
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
|
|
223
|
-
|
|
224
|
-
function _arrayWithoutHoles(arr) {
|
|
225
|
-
if (Array.isArray(arr)) return Object(arrayLikeToArray["a" /* default */])(arr);
|
|
226
|
-
}
|
|
227
|
-
// EXTERNAL MODULE: external "core-js/modules/es.symbol.js"
|
|
228
|
-
var es_symbol_js_ = __webpack_require__(2);
|
|
229
|
-
|
|
230
|
-
// EXTERNAL MODULE: external "core-js/modules/es.symbol.description.js"
|
|
231
|
-
var es_symbol_description_js_ = __webpack_require__(6);
|
|
232
|
-
|
|
233
|
-
// EXTERNAL MODULE: external "core-js/modules/es.object.to-string.js"
|
|
234
|
-
var es_object_to_string_js_ = __webpack_require__(1);
|
|
235
|
-
|
|
236
|
-
// EXTERNAL MODULE: external "core-js/modules/es.symbol.iterator.js"
|
|
237
|
-
var es_symbol_iterator_js_ = __webpack_require__(10);
|
|
238
|
-
|
|
239
|
-
// EXTERNAL MODULE: external "core-js/modules/es.array.iterator.js"
|
|
240
|
-
var es_array_iterator_js_ = __webpack_require__(20);
|
|
241
|
-
|
|
242
|
-
// EXTERNAL MODULE: external "core-js/modules/es.string.iterator.js"
|
|
243
|
-
var es_string_iterator_js_ = __webpack_require__(4);
|
|
244
|
-
|
|
245
|
-
// EXTERNAL MODULE: external "core-js/modules/web.dom-collections.iterator.js"
|
|
246
|
-
var web_dom_collections_iterator_js_ = __webpack_require__(7);
|
|
247
|
-
|
|
248
|
-
// EXTERNAL MODULE: external "core-js/modules/es.array.from.js"
|
|
249
|
-
var es_array_from_js_ = __webpack_require__(23);
|
|
250
|
-
|
|
251
|
-
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
function _iterableToArray(iter) {
|
|
268
|
-
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
269
|
-
}
|
|
270
|
-
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
|
271
|
-
var unsupportedIterableToArray = __webpack_require__(34);
|
|
272
|
-
|
|
273
|
-
// EXTERNAL MODULE: external "core-js/modules/es.error.cause.js"
|
|
274
|
-
var es_error_cause_js_ = __webpack_require__(28);
|
|
275
|
-
|
|
276
|
-
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
|
277
|
-
|
|
278
|
-
function _nonIterableSpread() {
|
|
279
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
280
|
-
}
|
|
281
|
-
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
function _toConsumableArray(arr) {
|
|
287
|
-
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || Object(unsupportedIterableToArray["a" /* default */])(arr) || _nonIterableSpread();
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
/***/ }),
|
|
291
|
-
/* 6 */
|
|
292
|
-
/***/ (function(module, exports) {
|
|
293
|
-
|
|
294
|
-
module.exports = require("core-js/modules/es.symbol.description.js");
|
|
295
|
-
|
|
296
|
-
/***/ }),
|
|
297
|
-
/* 7 */
|
|
298
|
-
/***/ (function(module, exports) {
|
|
299
|
-
|
|
300
|
-
module.exports = require("core-js/modules/web.dom-collections.iterator.js");
|
|
301
151
|
|
|
302
|
-
/***/
|
|
303
|
-
/* 8 */
|
|
152
|
+
/***/ 1:
|
|
304
153
|
/***/ (function(module, exports) {
|
|
305
154
|
|
|
306
|
-
module.exports = require("core-js/modules/
|
|
155
|
+
module.exports = require("core-js/modules/es.object.to-string.js");
|
|
307
156
|
|
|
308
157
|
/***/ }),
|
|
309
|
-
/* 9 */
|
|
310
|
-
/***/ (function(module, exports) {
|
|
311
|
-
|
|
312
|
-
module.exports = require("core-js/modules/es.function.name.js");
|
|
313
158
|
|
|
314
|
-
/***/
|
|
315
|
-
/* 10 */
|
|
159
|
+
/***/ 10:
|
|
316
160
|
/***/ (function(module, exports) {
|
|
317
161
|
|
|
318
162
|
module.exports = require("core-js/modules/es.symbol.iterator.js");
|
|
319
163
|
|
|
320
164
|
/***/ }),
|
|
321
|
-
|
|
165
|
+
|
|
166
|
+
/***/ 11:
|
|
322
167
|
/***/ (function(module, exports) {
|
|
323
168
|
|
|
324
169
|
module.exports = require("core-js/modules/es.array.map.js");
|
|
325
170
|
|
|
326
171
|
/***/ }),
|
|
327
|
-
|
|
172
|
+
|
|
173
|
+
/***/ 12:
|
|
328
174
|
/***/ (function(module, exports) {
|
|
329
175
|
|
|
330
176
|
module.exports = require("core-js/modules/es.regexp.exec.js");
|
|
331
177
|
|
|
332
178
|
/***/ }),
|
|
333
|
-
|
|
179
|
+
|
|
180
|
+
/***/ 13:
|
|
334
181
|
/***/ (function(module, exports) {
|
|
335
182
|
|
|
336
183
|
module.exports = require("core-js/modules/es.array.concat.js");
|
|
337
184
|
|
|
338
185
|
/***/ }),
|
|
339
|
-
|
|
186
|
+
|
|
187
|
+
/***/ 14:
|
|
340
188
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
341
189
|
|
|
342
190
|
"use strict";
|
|
@@ -440,25 +288,32 @@ function normalizeComponent(
|
|
|
440
288
|
|
|
441
289
|
|
|
442
290
|
/***/ }),
|
|
443
|
-
|
|
291
|
+
|
|
292
|
+
/***/ 15:
|
|
444
293
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
445
294
|
|
|
446
295
|
"use strict";
|
|
447
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
296
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _defineProperty; });
|
|
297
|
+
/* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(40);
|
|
298
|
+
|
|
299
|
+
function _defineProperty(obj, key, value) {
|
|
300
|
+
key = Object(_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(key);
|
|
301
|
+
if (key in obj) {
|
|
302
|
+
Object.defineProperty(obj, key, {
|
|
303
|
+
value: value,
|
|
304
|
+
enumerable: true,
|
|
305
|
+
configurable: true,
|
|
306
|
+
writable: true
|
|
307
|
+
});
|
|
308
|
+
} else {
|
|
309
|
+
obj[key] = value;
|
|
310
|
+
}
|
|
311
|
+
return obj;
|
|
452
312
|
}
|
|
453
313
|
|
|
454
314
|
/***/ }),
|
|
455
|
-
/* 16 */
|
|
456
|
-
/***/ (function(module, exports) {
|
|
457
|
-
|
|
458
|
-
module.exports = require("core-js/modules/es.number.constructor.js");
|
|
459
315
|
|
|
460
|
-
/***/
|
|
461
|
-
/* 17 */
|
|
316
|
+
/***/ 16:
|
|
462
317
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
463
318
|
|
|
464
319
|
"use strict";
|
|
@@ -471,9 +326,9 @@ module.exports = require("core-js/modules/es.number.constructor.js");
|
|
|
471
326
|
/* 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__);
|
|
472
327
|
/* harmony import */ var core_js_modules_es_symbol_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(10);
|
|
473
328
|
/* 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__);
|
|
474
|
-
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
|
329
|
+
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(22);
|
|
475
330
|
/* 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__);
|
|
476
|
-
/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
|
331
|
+
/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(5);
|
|
477
332
|
/* 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__);
|
|
478
333
|
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(7);
|
|
479
334
|
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_6__);
|
|
@@ -491,19 +346,19 @@ module.exports = require("core-js/modules/es.number.constructor.js");
|
|
|
491
346
|
/* 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__);
|
|
492
347
|
/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(9);
|
|
493
348
|
/* 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__);
|
|
494
|
-
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(
|
|
349
|
+
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(36);
|
|
495
350
|
/* 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__);
|
|
496
|
-
/* harmony import */ var core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(
|
|
351
|
+
/* harmony import */ var core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(26);
|
|
497
352
|
/* 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__);
|
|
498
|
-
/* harmony import */ var core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(
|
|
353
|
+
/* harmony import */ var core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(31);
|
|
499
354
|
/* 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__);
|
|
500
|
-
/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(
|
|
355
|
+
/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(21);
|
|
501
356
|
/* 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__);
|
|
502
|
-
/* harmony import */ var core_js_modules_es_object_set_prototype_of_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(
|
|
357
|
+
/* harmony import */ var core_js_modules_es_object_set_prototype_of_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(52);
|
|
503
358
|
/* harmony import */ var core_js_modules_es_object_set_prototype_of_js__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_set_prototype_of_js__WEBPACK_IMPORTED_MODULE_18__);
|
|
504
|
-
/* harmony import */ var core_js_modules_es_object_proto_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(
|
|
359
|
+
/* harmony import */ var core_js_modules_es_object_proto_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(53);
|
|
505
360
|
/* harmony import */ var core_js_modules_es_object_proto_js__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_proto_js__WEBPACK_IMPORTED_MODULE_19__);
|
|
506
|
-
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(
|
|
361
|
+
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(4);
|
|
507
362
|
|
|
508
363
|
|
|
509
364
|
|
|
@@ -845,1165 +700,1028 @@ function _regeneratorRuntime() {
|
|
|
845
700
|
}
|
|
846
701
|
|
|
847
702
|
/***/ }),
|
|
848
|
-
/* 18 */
|
|
849
|
-
/***/ (function(module, exports) {
|
|
850
703
|
|
|
851
|
-
|
|
704
|
+
/***/ 169:
|
|
705
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
852
706
|
|
|
853
|
-
|
|
854
|
-
/*
|
|
855
|
-
|
|
707
|
+
"use strict";
|
|
708
|
+
/* harmony import */ var E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3);
|
|
709
|
+
/* harmony import */ var E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(0);
|
|
710
|
+
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1);
|
|
711
|
+
/* 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__);
|
|
712
|
+
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(8);
|
|
713
|
+
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__);
|
|
714
|
+
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(12);
|
|
715
|
+
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_4__);
|
|
716
|
+
/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(27);
|
|
717
|
+
/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_5__);
|
|
718
|
+
/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(30);
|
|
719
|
+
/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_6__);
|
|
720
|
+
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(32);
|
|
721
|
+
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_7__);
|
|
722
|
+
/* harmony import */ var core_js_modules_es_array_find_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(23);
|
|
723
|
+
/* harmony import */ var core_js_modules_es_array_find_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_find_js__WEBPACK_IMPORTED_MODULE_8__);
|
|
724
|
+
/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(9);
|
|
725
|
+
/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_9__);
|
|
726
|
+
/* harmony import */ var core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(13);
|
|
727
|
+
/* harmony import */ var core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_10__);
|
|
728
|
+
/* harmony import */ var _utils_mixins_component__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(39);
|
|
856
729
|
|
|
857
|
-
module.exports = require("core-js/modules/es.object.keys.js");
|
|
858
730
|
|
|
859
|
-
/***/ }),
|
|
860
|
-
/* 20 */
|
|
861
|
-
/***/ (function(module, exports) {
|
|
862
731
|
|
|
863
|
-
module.exports = require("core-js/modules/es.array.iterator.js");
|
|
864
732
|
|
|
865
|
-
/***/ }),
|
|
866
|
-
/* 21 */
|
|
867
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
868
733
|
|
|
869
|
-
"use strict";
|
|
870
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _defineProperty; });
|
|
871
|
-
/* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(44);
|
|
872
734
|
|
|
873
|
-
function _defineProperty(obj, key, value) {
|
|
874
|
-
key = Object(_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(key);
|
|
875
|
-
if (key in obj) {
|
|
876
|
-
Object.defineProperty(obj, key, {
|
|
877
|
-
value: value,
|
|
878
|
-
enumerable: true,
|
|
879
|
-
configurable: true,
|
|
880
|
-
writable: true
|
|
881
|
-
});
|
|
882
|
-
} else {
|
|
883
|
-
obj[key] = value;
|
|
884
|
-
}
|
|
885
|
-
return obj;
|
|
886
|
-
}
|
|
887
735
|
|
|
888
|
-
/***/ }),
|
|
889
|
-
/* 22 */
|
|
890
|
-
/***/ (function(module, exports) {
|
|
891
736
|
|
|
892
|
-
module.exports = require("core-js/modules/es.array.slice.js");
|
|
893
737
|
|
|
894
|
-
/***/ }),
|
|
895
|
-
/* 23 */
|
|
896
|
-
/***/ (function(module, exports) {
|
|
897
738
|
|
|
898
|
-
module.exports = require("core-js/modules/es.array.from.js");
|
|
899
739
|
|
|
900
|
-
/***/ }),
|
|
901
|
-
/* 24 */
|
|
902
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
903
740
|
|
|
904
|
-
"use strict";
|
|
905
741
|
|
|
906
742
|
|
|
907
|
-
var isOldIE = function isOldIE() {
|
|
908
|
-
var memo;
|
|
909
|
-
return function memorize() {
|
|
910
|
-
if (typeof memo === 'undefined') {
|
|
911
|
-
// Test for IE <= 9 as proposed by Browserhacks
|
|
912
|
-
// @see http://browserhacks.com/#hack-e71d8692f65334173fee715c222cb805
|
|
913
|
-
// Tests for existence of standard globals is to allow style-loader
|
|
914
|
-
// to operate correctly into non-standard environments
|
|
915
|
-
// @see https://github.com/webpack-contrib/style-loader/issues/177
|
|
916
|
-
memo = Boolean(window && document && document.all && !window.atob);
|
|
917
|
-
}
|
|
918
743
|
|
|
919
|
-
return memo;
|
|
920
|
-
};
|
|
921
|
-
}();
|
|
922
744
|
|
|
923
|
-
var getTarget = function getTarget() {
|
|
924
|
-
var memo = {};
|
|
925
|
-
return function memorize(target) {
|
|
926
|
-
if (typeof memo[target] === 'undefined') {
|
|
927
|
-
var styleTarget = document.querySelector(target); // Special case to return head of iframe instead of iframe itself
|
|
928
745
|
|
|
929
|
-
if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {
|
|
930
|
-
try {
|
|
931
|
-
// This will throw an exception if access to iframe is blocked
|
|
932
|
-
// due to cross-origin restrictions
|
|
933
|
-
styleTarget = styleTarget.contentDocument.head;
|
|
934
|
-
} catch (e) {
|
|
935
|
-
// istanbul ignore next
|
|
936
|
-
styleTarget = null;
|
|
937
|
-
}
|
|
938
|
-
}
|
|
939
746
|
|
|
940
|
-
memo[target] = styleTarget;
|
|
941
|
-
}
|
|
942
|
-
|
|
943
|
-
return memo[target];
|
|
944
|
-
};
|
|
945
|
-
}();
|
|
946
|
-
|
|
947
|
-
var stylesInDom = [];
|
|
948
|
-
|
|
949
|
-
function getIndexByIdentifier(identifier) {
|
|
950
|
-
var result = -1;
|
|
951
|
-
|
|
952
|
-
for (var i = 0; i < stylesInDom.length; i++) {
|
|
953
|
-
if (stylesInDom[i].identifier === identifier) {
|
|
954
|
-
result = i;
|
|
955
|
-
break;
|
|
956
|
-
}
|
|
957
|
-
}
|
|
958
|
-
|
|
959
|
-
return result;
|
|
960
|
-
}
|
|
961
|
-
|
|
962
|
-
function modulesToDom(list, options) {
|
|
963
|
-
var idCountMap = {};
|
|
964
|
-
var identifiers = [];
|
|
965
|
-
|
|
966
|
-
for (var i = 0; i < list.length; i++) {
|
|
967
|
-
var item = list[i];
|
|
968
|
-
var id = options.base ? item[0] + options.base : item[0];
|
|
969
|
-
var count = idCountMap[id] || 0;
|
|
970
|
-
var identifier = "".concat(id, " ").concat(count);
|
|
971
|
-
idCountMap[id] = count + 1;
|
|
972
|
-
var index = getIndexByIdentifier(identifier);
|
|
973
|
-
var obj = {
|
|
974
|
-
css: item[1],
|
|
975
|
-
media: item[2],
|
|
976
|
-
sourceMap: item[3]
|
|
977
|
-
};
|
|
978
|
-
|
|
979
|
-
if (index !== -1) {
|
|
980
|
-
stylesInDom[index].references++;
|
|
981
|
-
stylesInDom[index].updater(obj);
|
|
982
|
-
} else {
|
|
983
|
-
stylesInDom.push({
|
|
984
|
-
identifier: identifier,
|
|
985
|
-
updater: addStyle(obj, options),
|
|
986
|
-
references: 1
|
|
987
|
-
});
|
|
988
|
-
}
|
|
989
|
-
|
|
990
|
-
identifiers.push(identifier);
|
|
991
|
-
}
|
|
992
|
-
|
|
993
|
-
return identifiers;
|
|
994
|
-
}
|
|
995
|
-
|
|
996
|
-
function insertStyleElement(options) {
|
|
997
|
-
var style = document.createElement('style');
|
|
998
|
-
var attributes = options.attributes || {};
|
|
999
|
-
|
|
1000
|
-
if (typeof attributes.nonce === 'undefined') {
|
|
1001
|
-
var nonce = true ? __webpack_require__.nc : undefined;
|
|
1002
|
-
|
|
1003
|
-
if (nonce) {
|
|
1004
|
-
attributes.nonce = nonce;
|
|
1005
|
-
}
|
|
1006
|
-
}
|
|
1007
|
-
|
|
1008
|
-
Object.keys(attributes).forEach(function (key) {
|
|
1009
|
-
style.setAttribute(key, attributes[key]);
|
|
1010
|
-
});
|
|
1011
|
-
|
|
1012
|
-
if (typeof options.insert === 'function') {
|
|
1013
|
-
options.insert(style);
|
|
1014
|
-
} else {
|
|
1015
|
-
var target = getTarget(options.insert || 'head');
|
|
1016
|
-
|
|
1017
|
-
if (!target) {
|
|
1018
|
-
throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");
|
|
1019
|
-
}
|
|
1020
|
-
|
|
1021
|
-
target.appendChild(style);
|
|
1022
|
-
}
|
|
1023
|
-
|
|
1024
|
-
return style;
|
|
1025
|
-
}
|
|
1026
|
-
|
|
1027
|
-
function removeStyleElement(style) {
|
|
1028
|
-
// istanbul ignore if
|
|
1029
|
-
if (style.parentNode === null) {
|
|
1030
|
-
return false;
|
|
1031
|
-
}
|
|
1032
|
-
|
|
1033
|
-
style.parentNode.removeChild(style);
|
|
1034
|
-
}
|
|
1035
|
-
/* istanbul ignore next */
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
var replaceText = function replaceText() {
|
|
1039
|
-
var textStore = [];
|
|
1040
|
-
return function replace(index, replacement) {
|
|
1041
|
-
textStore[index] = replacement;
|
|
1042
|
-
return textStore.filter(Boolean).join('\n');
|
|
1043
|
-
};
|
|
1044
|
-
}();
|
|
1045
|
-
|
|
1046
|
-
function applyToSingletonTag(style, index, remove, obj) {
|
|
1047
|
-
var css = remove ? '' : obj.media ? "@media ".concat(obj.media, " {").concat(obj.css, "}") : obj.css; // For old IE
|
|
1048
|
-
|
|
1049
|
-
/* istanbul ignore if */
|
|
1050
|
-
|
|
1051
|
-
if (style.styleSheet) {
|
|
1052
|
-
style.styleSheet.cssText = replaceText(index, css);
|
|
1053
|
-
} else {
|
|
1054
|
-
var cssNode = document.createTextNode(css);
|
|
1055
|
-
var childNodes = style.childNodes;
|
|
1056
|
-
|
|
1057
|
-
if (childNodes[index]) {
|
|
1058
|
-
style.removeChild(childNodes[index]);
|
|
1059
|
-
}
|
|
1060
|
-
|
|
1061
|
-
if (childNodes.length) {
|
|
1062
|
-
style.insertBefore(cssNode, childNodes[index]);
|
|
1063
|
-
} else {
|
|
1064
|
-
style.appendChild(cssNode);
|
|
1065
|
-
}
|
|
1066
|
-
}
|
|
1067
|
-
}
|
|
1068
|
-
|
|
1069
|
-
function applyToTag(style, options, obj) {
|
|
1070
|
-
var css = obj.css;
|
|
1071
|
-
var media = obj.media;
|
|
1072
|
-
var sourceMap = obj.sourceMap;
|
|
1073
|
-
|
|
1074
|
-
if (media) {
|
|
1075
|
-
style.setAttribute('media', media);
|
|
1076
|
-
} else {
|
|
1077
|
-
style.removeAttribute('media');
|
|
1078
|
-
}
|
|
1079
|
-
|
|
1080
|
-
if (sourceMap && typeof btoa !== 'undefined') {
|
|
1081
|
-
css += "\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), " */");
|
|
1082
|
-
} // For old IE
|
|
1083
|
-
|
|
1084
|
-
/* istanbul ignore if */
|
|
1085
747
|
|
|
1086
748
|
|
|
1087
|
-
|
|
1088
|
-
style.styleSheet.cssText = css;
|
|
1089
|
-
} else {
|
|
1090
|
-
while (style.firstChild) {
|
|
1091
|
-
style.removeChild(style.firstChild);
|
|
1092
|
-
}
|
|
1093
|
-
|
|
1094
|
-
style.appendChild(document.createTextNode(css));
|
|
1095
|
-
}
|
|
1096
|
-
}
|
|
1097
|
-
|
|
1098
|
-
var singleton = null;
|
|
1099
|
-
var singletonCounter = 0;
|
|
1100
|
-
|
|
1101
|
-
function addStyle(obj, options) {
|
|
1102
|
-
var style;
|
|
1103
|
-
var update;
|
|
1104
|
-
var remove;
|
|
749
|
+
//
|
|
1105
750
|
|
|
1106
|
-
if (options.singleton) {
|
|
1107
|
-
var styleIndex = singletonCounter++;
|
|
1108
|
-
style = singleton || (singleton = insertStyleElement(options));
|
|
1109
|
-
update = applyToSingletonTag.bind(null, style, styleIndex, false);
|
|
1110
|
-
remove = applyToSingletonTag.bind(null, style, styleIndex, true);
|
|
1111
|
-
} else {
|
|
1112
|
-
style = insertStyleElement(options);
|
|
1113
|
-
update = applyToTag.bind(null, style, options);
|
|
1114
751
|
|
|
1115
|
-
|
|
1116
|
-
|
|
752
|
+
/* harmony default export */ __webpack_exports__["a"] = ({
|
|
753
|
+
name: 'epx-add-form-item',
|
|
754
|
+
mixins: [_utils_mixins_component__WEBPACK_IMPORTED_MODULE_11__[/* default */ "a"]],
|
|
755
|
+
componentName: 'addFormItem',
|
|
756
|
+
showTitle: 'more',
|
|
757
|
+
formTitleStyle: 'default',
|
|
758
|
+
fieldConfigs: {},
|
|
759
|
+
inheritAttrs: false,
|
|
760
|
+
labelAlign: 'right',
|
|
761
|
+
props: {
|
|
762
|
+
formData: {
|
|
763
|
+
type: Object,
|
|
764
|
+
default: function _default() {
|
|
765
|
+
return {};
|
|
766
|
+
}
|
|
767
|
+
},
|
|
768
|
+
showTitle: Boolean,
|
|
769
|
+
formConfigs: {
|
|
770
|
+
type: Object,
|
|
771
|
+
default: function _default() {
|
|
772
|
+
return {};
|
|
773
|
+
}
|
|
774
|
+
},
|
|
775
|
+
fieldScope: {
|
|
776
|
+
type: Object,
|
|
777
|
+
default: function _default() {
|
|
778
|
+
return {};
|
|
779
|
+
}
|
|
780
|
+
},
|
|
781
|
+
pageType: String,
|
|
782
|
+
form: Object,
|
|
783
|
+
edit: Boolean,
|
|
784
|
+
fieldRelation: Array
|
|
785
|
+
},
|
|
786
|
+
data: function data() {
|
|
787
|
+
return {
|
|
788
|
+
isEdit: false,
|
|
789
|
+
isFold: false,
|
|
790
|
+
fieldsConfigs: [],
|
|
791
|
+
loadForm: true
|
|
1117
792
|
};
|
|
1118
|
-
}
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
if (
|
|
1124
|
-
return;
|
|
793
|
+
},
|
|
794
|
+
computed: {
|
|
795
|
+
componentType: function componentType() {
|
|
796
|
+
var componentType = this.$configs.componentType;
|
|
797
|
+
if (this.isEdit) return 'EDIT';
|
|
798
|
+
if (!componentType) {
|
|
799
|
+
return this.pageType;
|
|
800
|
+
} else {
|
|
801
|
+
return componentType;
|
|
802
|
+
}
|
|
803
|
+
},
|
|
804
|
+
column: function column() {
|
|
805
|
+
var _this$$configs$column = this.$configs.column,
|
|
806
|
+
column = _this$$configs$column === void 0 ? this.formConfigs.column : _this$$configs$column;
|
|
807
|
+
return column;
|
|
808
|
+
},
|
|
809
|
+
data: {
|
|
810
|
+
get: function get() {
|
|
811
|
+
return this.formData;
|
|
812
|
+
},
|
|
813
|
+
set: function set(v) {
|
|
814
|
+
this.$emit('change', v);
|
|
1125
815
|
}
|
|
1126
|
-
|
|
1127
|
-
update(obj = newObj);
|
|
1128
|
-
} else {
|
|
1129
|
-
remove();
|
|
1130
816
|
}
|
|
1131
|
-
}
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
var lastIdentifiers = modulesToDom(list, options);
|
|
1144
|
-
return function update(newList) {
|
|
1145
|
-
newList = newList || [];
|
|
1146
|
-
|
|
1147
|
-
if (Object.prototype.toString.call(newList) !== '[object Array]') {
|
|
1148
|
-
return;
|
|
1149
|
-
}
|
|
1150
|
-
|
|
1151
|
-
for (var i = 0; i < lastIdentifiers.length; i++) {
|
|
1152
|
-
var identifier = lastIdentifiers[i];
|
|
1153
|
-
var index = getIndexByIdentifier(identifier);
|
|
1154
|
-
stylesInDom[index].references--;
|
|
1155
|
-
}
|
|
1156
|
-
|
|
1157
|
-
var newLastIdentifiers = modulesToDom(newList, options);
|
|
1158
|
-
|
|
1159
|
-
for (var _i = 0; _i < lastIdentifiers.length; _i++) {
|
|
1160
|
-
var _identifier = lastIdentifiers[_i];
|
|
1161
|
-
|
|
1162
|
-
var _index = getIndexByIdentifier(_identifier);
|
|
1163
|
-
|
|
1164
|
-
if (stylesInDom[_index].references === 0) {
|
|
1165
|
-
stylesInDom[_index].updater();
|
|
1166
|
-
|
|
1167
|
-
stylesInDom.splice(_index, 1);
|
|
1168
|
-
}
|
|
817
|
+
},
|
|
818
|
+
watch: {
|
|
819
|
+
'formConfigs.fieldConfigs': function formConfigsFieldConfigs() {
|
|
820
|
+
this.getFieldsConfigs();
|
|
821
|
+
},
|
|
822
|
+
edit: {
|
|
823
|
+
handler: function handler(v) {
|
|
824
|
+
if (v) {
|
|
825
|
+
this.editFn();
|
|
826
|
+
}
|
|
827
|
+
},
|
|
828
|
+
immediate: true
|
|
1169
829
|
}
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1178
|
-
|
|
1179
|
-
"use strict";
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
/*
|
|
1183
|
-
MIT License http://www.opensource.org/licenses/mit-license.php
|
|
1184
|
-
Author Tobias Koppers @sokra
|
|
1185
|
-
*/
|
|
1186
|
-
// css base code, injected by the css-loader
|
|
1187
|
-
// eslint-disable-next-line func-names
|
|
1188
|
-
__webpack_require__(1);
|
|
1189
|
-
__webpack_require__(33);
|
|
1190
|
-
__webpack_require__(11);
|
|
1191
|
-
__webpack_require__(13);
|
|
1192
|
-
__webpack_require__(1);
|
|
1193
|
-
__webpack_require__(33);
|
|
1194
|
-
__webpack_require__(11);
|
|
1195
|
-
__webpack_require__(13);
|
|
1196
|
-
__webpack_require__(18);
|
|
1197
|
-
module.exports = function (cssWithMappingToString) {
|
|
1198
|
-
var list = []; // return the list of modules as css string
|
|
1199
|
-
|
|
1200
|
-
list.toString = function toString() {
|
|
1201
|
-
return this.map(function (item) {
|
|
1202
|
-
var content = cssWithMappingToString(item);
|
|
1203
|
-
if (item[2]) {
|
|
1204
|
-
return "@media ".concat(item[2], " {").concat(content, "}");
|
|
830
|
+
},
|
|
831
|
+
methods: {
|
|
832
|
+
init: function init() {
|
|
833
|
+
if (this.edit) {
|
|
834
|
+
this.editFn();
|
|
835
|
+
} else {
|
|
836
|
+
this.getFieldsConfigs();
|
|
1205
837
|
}
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
838
|
+
},
|
|
839
|
+
getFieldsConfigs: function getFieldsConfigs() {
|
|
840
|
+
var _this2 = this;
|
|
841
|
+
var pageType = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.componentType;
|
|
842
|
+
var _this$formConfigs$fie = this.formConfigs.fieldConfigs,
|
|
843
|
+
formFieldConfigs = _this$formConfigs$fie === void 0 ? {} : _this$formConfigs$fie;
|
|
844
|
+
var _this$$configs = this.$configs,
|
|
845
|
+
fields = _this$$configs.fields,
|
|
846
|
+
_this$$configs$fieldC = _this$$configs.fieldConfigs,
|
|
847
|
+
fieldConfigs = _this$$configs$fieldC === void 0 ? {} : _this$$configs$fieldC;
|
|
848
|
+
var _this$$query$fieldCon = this.$query.fieldConfigs,
|
|
849
|
+
routeFieldConfigs = _this$$query$fieldCon === void 0 ? {} : _this$$query$fieldCon;
|
|
850
|
+
this.$FieldFactory.createFields({
|
|
851
|
+
defaultFieldConfigs: Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])({}, formFieldConfigs), routeFieldConfigs), fieldConfigs),
|
|
852
|
+
meta: this.$meta,
|
|
853
|
+
metaId: this.$metaId,
|
|
854
|
+
fieldScope: this.fieldScope,
|
|
855
|
+
pageType: pageType,
|
|
856
|
+
fields: fields
|
|
857
|
+
}).then(function (data) {
|
|
858
|
+
_this2.fieldsConfigs = Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(data);
|
|
859
|
+
if (_this2.onAfterFieldsConfigs) _this2.onAfterFieldsConfigs();
|
|
860
|
+
data && data.forEach(function (item) {
|
|
861
|
+
if ((!_this2.formData[item.attriName] || _this2.componentType === 'ADD') && item.value) {
|
|
862
|
+
// eslint-disable-next-line no-unused-vars
|
|
863
|
+
var _this = _this2;
|
|
864
|
+
// 设置字段默认值
|
|
865
|
+
var value = item.value;
|
|
866
|
+
if (typeof value === 'string') {
|
|
867
|
+
value = item.value.replace(/\$\[(.+)\]/, function (match, key) {
|
|
868
|
+
try {
|
|
869
|
+
// eslint-disable-next-line no-eval
|
|
870
|
+
return eval("_this.".concat(key)) || eval("_this.$query.".concat(key)) || eval("_this.$tab.".concat(key)) || eval("_this.$route.query.".concat(key)) || '';
|
|
871
|
+
} catch (error) {
|
|
872
|
+
return item.value;
|
|
873
|
+
}
|
|
874
|
+
});
|
|
875
|
+
}
|
|
876
|
+
_this2.$set(_this2.formData, item.attriName, value);
|
|
877
|
+
}
|
|
878
|
+
});
|
|
879
|
+
});
|
|
880
|
+
},
|
|
881
|
+
editFn: function editFn() {
|
|
882
|
+
var _this3 = this;
|
|
883
|
+
this.getFieldsConfigs('EDIT');
|
|
884
|
+
this.isEdit = true;
|
|
885
|
+
this.isFold = false;
|
|
886
|
+
this.loadForm = false;
|
|
887
|
+
this.$nextTick(function () {
|
|
888
|
+
_this3.loadForm = true;
|
|
889
|
+
});
|
|
890
|
+
},
|
|
891
|
+
cancel: function cancel(finish) {
|
|
892
|
+
this.isEdit = false;
|
|
893
|
+
this.$emit('cancel-edit', finish);
|
|
894
|
+
this.getFieldsConfigs();
|
|
895
|
+
if (finish && this.form) {
|
|
896
|
+
this.form.$refesh();
|
|
1224
897
|
}
|
|
1225
|
-
}
|
|
1226
|
-
|
|
1227
|
-
var
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
898
|
+
},
|
|
899
|
+
save: function save() {
|
|
900
|
+
var _this4 = this;
|
|
901
|
+
var params = {};
|
|
902
|
+
var submitFlag = true;
|
|
903
|
+
var _this$$query$submitPa = this.$query.submitParams,
|
|
904
|
+
querySumitParams = _this$$query$submitPa === void 0 ? {} : _this$$query$submitPa;
|
|
905
|
+
var form = this.$refs.form;
|
|
906
|
+
if (this.formData[this.$metaKey]) {
|
|
907
|
+
params["bean.".concat(this.$metaKey)] = this.formData[this.$metaKey];
|
|
1231
908
|
}
|
|
1232
|
-
if (
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
909
|
+
if (form) {
|
|
910
|
+
var _ref = this.$configs || {},
|
|
911
|
+
_ref$hiddenFields = _ref.hiddenFields,
|
|
912
|
+
hiddenFields = _ref$hiddenFields === void 0 ? [] : _ref$hiddenFields;
|
|
913
|
+
hiddenFields.forEach(function (field) {
|
|
914
|
+
if (field.attriName && field.value) {
|
|
915
|
+
params["bean.".concat(field.attriName)] = field.value;
|
|
916
|
+
}
|
|
917
|
+
});
|
|
918
|
+
form.validate(function (valid, err) {
|
|
919
|
+
if (!valid) {
|
|
920
|
+
for (var key in err) {
|
|
921
|
+
var errMessgae = err[key][0];
|
|
922
|
+
_this4.$message.error(errMessgae.message);
|
|
923
|
+
submitFlag = false;
|
|
924
|
+
return;
|
|
925
|
+
}
|
|
926
|
+
}
|
|
927
|
+
});
|
|
928
|
+
var _loop = function _loop(field) {
|
|
929
|
+
var formValue = form.model.data[field];
|
|
930
|
+
if (!field.includes('#')) {
|
|
931
|
+
var submitValue = formValue;
|
|
932
|
+
var fieldConfigs = _this4.fieldsConfigs.find(function (item) {
|
|
933
|
+
return item.attriName === field;
|
|
934
|
+
}) || {};
|
|
935
|
+
if (Array.isArray(formValue)) {
|
|
936
|
+
submitValue = formValue[formValue.length - 1];
|
|
937
|
+
}
|
|
938
|
+
if (fieldConfigs.state === 'READONLY' || fieldConfigs.dataType === 'password' && !submitValue) return "continue";
|
|
939
|
+
params[fieldConfigs.name || "bean.".concat(field)] = submitValue || '';
|
|
940
|
+
}
|
|
941
|
+
};
|
|
942
|
+
for (var field in form.model.data) {
|
|
943
|
+
var _ret = _loop(field);
|
|
944
|
+
if (_ret === "continue") continue;
|
|
1237
945
|
}
|
|
1238
946
|
}
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
947
|
+
// 表单校验
|
|
948
|
+
var _this$$configs$compon = this.$configs.componentEvents,
|
|
949
|
+
componentEvents = _this$$configs$compon === void 0 ? {} : _this$$configs$compon;
|
|
950
|
+
var validateFunction = componentEvents.formVadiate;
|
|
951
|
+
if (validateFunction) {
|
|
952
|
+
var flag = validateFunction.every(function (item) {
|
|
953
|
+
return _this4.executeCustomJs(validateFunction);
|
|
954
|
+
});
|
|
955
|
+
if (!flag) return;
|
|
956
|
+
}
|
|
957
|
+
if (!submitFlag) return;
|
|
958
|
+
this.$http.update(Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])({
|
|
959
|
+
entityId: this.$metaId
|
|
960
|
+
}, querySumitParams), params)).then(function () {
|
|
961
|
+
_this4.$message.success(_this4.$t('save successfully'));
|
|
962
|
+
_this4.upPage && _this4.upPage.$refesh();
|
|
963
|
+
_this4.cancel(true);
|
|
964
|
+
}).catch(function (err) {
|
|
965
|
+
_this4.$message.error(err.message || _this4.$t('fail to save'));
|
|
966
|
+
});
|
|
967
|
+
},
|
|
968
|
+
renderFormTitle: function renderFormTitle() {
|
|
969
|
+
var _this5 = this;
|
|
970
|
+
var h = this.$createElement;
|
|
971
|
+
if (this.$configs.showTitle !== 'none' && (this.showTitle || this.$configs.showTitle === 'always')) {
|
|
972
|
+
return h("p", {
|
|
973
|
+
"class": ['epx-add-form-item__header', "epx-add-form-item__header--".concat(this.$configs.formTitleStyle)]
|
|
974
|
+
}, [h("span", {
|
|
975
|
+
"class": "epx-add-form-item__title"
|
|
976
|
+
}, [this.$component.title]), h("span", {
|
|
977
|
+
"class": "epx-add-form-item__title-operate fr"
|
|
978
|
+
}, [this.componentType !== 'READONLY' && this.$configs.editable && h("span", {
|
|
979
|
+
"class": "epx-add-form-item__title-edit",
|
|
980
|
+
"on": {
|
|
981
|
+
"click": this.editFn.bind(this)
|
|
982
|
+
}
|
|
983
|
+
}, [h("i", {
|
|
984
|
+
"class": "el-icon-edit-outline"
|
|
985
|
+
}), this.$t('edit')]), h("i", {
|
|
986
|
+
"class": ['epx-add-form-item__title-foldicon', 'el-icon-caret-top'],
|
|
987
|
+
"on": {
|
|
988
|
+
"click": function click() {
|
|
989
|
+
_this5.isFold = !_this5.isFold;
|
|
990
|
+
}
|
|
991
|
+
}
|
|
992
|
+
})])]);
|
|
993
|
+
}
|
|
994
|
+
},
|
|
995
|
+
renderFormContent: function renderFormContent() {
|
|
996
|
+
var h = this.$createElement;
|
|
997
|
+
return h("div", {
|
|
998
|
+
"class": "epx-add-form-item__content"
|
|
999
|
+
}, [this.$configs.note && h("p", {
|
|
1000
|
+
"class": "epx-add-form-item__note"
|
|
1001
|
+
}, [h("i", {
|
|
1002
|
+
"class": "el-icon-info"
|
|
1003
|
+
}), h("span", {
|
|
1004
|
+
"class": "epx-add-form-item__note-html"
|
|
1005
|
+
}, [h("span", {
|
|
1006
|
+
"domProps": {
|
|
1007
|
+
"innerHTML": this.$configs.note
|
|
1008
|
+
}
|
|
1009
|
+
}), this.$configs.help && h("el-button", {
|
|
1010
|
+
"attrs": {
|
|
1011
|
+
"size": "mini",
|
|
1012
|
+
"type": "text"
|
|
1013
|
+
},
|
|
1014
|
+
"class": "epx-add-form-item__help",
|
|
1015
|
+
"on": {
|
|
1016
|
+
"click": this.openHelp
|
|
1017
|
+
}
|
|
1018
|
+
}, ["\u4E86\u89E3\u66F4\u591A"])])]), this.renderForm(), this.isEdit && !this.$isMobile && h("div", {
|
|
1019
|
+
"class": "epx-add-form-item__buttongroup"
|
|
1020
|
+
}, [h("el-button", {
|
|
1021
|
+
"attrs": {
|
|
1022
|
+
"type": "primary"
|
|
1023
|
+
},
|
|
1024
|
+
"on": {
|
|
1025
|
+
"click": this.save.bind(this)
|
|
1026
|
+
}
|
|
1027
|
+
}, [this.$t('save')]), h("el-button", {
|
|
1028
|
+
"on": {
|
|
1029
|
+
"click": this.cancel.bind(this)
|
|
1030
|
+
}
|
|
1031
|
+
}, [this.$t('return')])])]);
|
|
1032
|
+
},
|
|
1033
|
+
renderForm: function renderForm() {
|
|
1034
|
+
var _this6 = this;
|
|
1035
|
+
var h = this.$createElement;
|
|
1036
|
+
var _this$$configs2 = this.$configs,
|
|
1037
|
+
labelWidthType = _this$$configs2.labelWidthType,
|
|
1038
|
+
labelWidth = _this$$configs2.labelWidth,
|
|
1039
|
+
valueWidthType = _this$$configs2.valueWidthType,
|
|
1040
|
+
valueWidth = _this$$configs2.valueWidth,
|
|
1041
|
+
labelFontSize = _this$$configs2.labelFontSize,
|
|
1042
|
+
valueFontSize = _this$$configs2.valueFontSize,
|
|
1043
|
+
lineSpace = _this$$configs2.lineSpace;
|
|
1044
|
+
labelWidth = labelWidthType === 'auto' ? 'auto' : labelWidth;
|
|
1045
|
+
valueWidth = valueWidthType === 'auto' ? 'auto' : valueWidth;
|
|
1046
|
+
if (this.fieldsConfigs.length > 0 && this.loadForm) {
|
|
1047
|
+
return h("epx-table-form", {
|
|
1048
|
+
"class": "epx-add-form-item__content",
|
|
1049
|
+
"ref": "form",
|
|
1050
|
+
"attrs": {
|
|
1051
|
+
"metaId": this.$metaId,
|
|
1052
|
+
"fieldsConfigs": this.fieldsConfigs,
|
|
1053
|
+
"pageType": this.componentType,
|
|
1054
|
+
"fieldRelation": this.fieldRelation,
|
|
1055
|
+
"column": this.column,
|
|
1056
|
+
"labelAlign": this.$configs.labelAlign,
|
|
1057
|
+
"lineSpace": lineSpace,
|
|
1058
|
+
"labelWidth": labelWidth,
|
|
1059
|
+
"labelFontSize": labelFontSize,
|
|
1060
|
+
"valueWidth": valueWidth,
|
|
1061
|
+
"valueFontSize": valueFontSize
|
|
1062
|
+
},
|
|
1063
|
+
"model": {
|
|
1064
|
+
value: _this6.data,
|
|
1065
|
+
callback: function callback($$v) {
|
|
1066
|
+
_this6.data = $$v;
|
|
1067
|
+
}
|
|
1068
|
+
}
|
|
1069
|
+
});
|
|
1070
|
+
}
|
|
1071
|
+
},
|
|
1072
|
+
renderFormDrawer: function renderFormDrawer() {
|
|
1073
|
+
var _this7 = this;
|
|
1074
|
+
var h = this.$createElement;
|
|
1075
|
+
if (this.$isMobile) {
|
|
1076
|
+
return h("el-drawer", {
|
|
1077
|
+
"attrs": {
|
|
1078
|
+
"visible": this.isEdit,
|
|
1079
|
+
"direction": "rtl",
|
|
1080
|
+
"size": "100%",
|
|
1081
|
+
"modal": false,
|
|
1082
|
+
"custom-class": "epx-add-form-item__edit-drawer",
|
|
1083
|
+
"destroy-on-close": true
|
|
1084
|
+
},
|
|
1085
|
+
"on": {
|
|
1086
|
+
"update": function update(v) {
|
|
1087
|
+
_this7.isEdit = v;
|
|
1088
|
+
}
|
|
1089
|
+
}
|
|
1090
|
+
}, [h("p", {
|
|
1091
|
+
"slot": "title"
|
|
1092
|
+
}, [h("van-nav-bar", {
|
|
1093
|
+
"class": "epx-add-form-item__edit-nav",
|
|
1094
|
+
"attrs": {
|
|
1095
|
+
"title": this.$component.title + this.$t('edit'),
|
|
1096
|
+
"left-text": "",
|
|
1097
|
+
"left-arrow": true
|
|
1098
|
+
},
|
|
1099
|
+
"on": {
|
|
1100
|
+
"click-left": function clickLeft() {
|
|
1101
|
+
_this7.isEdit = false;
|
|
1102
|
+
}
|
|
1103
|
+
}
|
|
1104
|
+
})]), h("div", {
|
|
1105
|
+
"class": "edit-drawer"
|
|
1106
|
+
}, [this.fieldsConfigs.length > 0 && h("epx-table-form", {
|
|
1107
|
+
"class": "form-content",
|
|
1108
|
+
"ref": "form",
|
|
1109
|
+
"attrs": {
|
|
1110
|
+
"metaId": this.$metaId,
|
|
1111
|
+
"fieldsConfigs": this.fieldsConfigs,
|
|
1112
|
+
"column": this.column,
|
|
1113
|
+
"labelAlign": this.$configs.labelAlign,
|
|
1114
|
+
"labelWidth": this.$configs.labelWidth
|
|
1115
|
+
},
|
|
1116
|
+
"model": {
|
|
1117
|
+
value: _this7.data,
|
|
1118
|
+
callback: function callback($$v) {
|
|
1119
|
+
_this7.data = $$v;
|
|
1120
|
+
}
|
|
1121
|
+
}
|
|
1122
|
+
}), h("div", {
|
|
1123
|
+
"class": "button-group"
|
|
1124
|
+
}, [h("el-button", {
|
|
1125
|
+
"on": {
|
|
1126
|
+
"click": this.cancel.bind(this)
|
|
1127
|
+
}
|
|
1128
|
+
}, [this.$t('cancel')]), h("el-button", {
|
|
1129
|
+
"attrs": {
|
|
1130
|
+
"type": "primary"
|
|
1131
|
+
},
|
|
1132
|
+
"on": {
|
|
1133
|
+
"click": this.save.bind(this)
|
|
1134
|
+
}
|
|
1135
|
+
}, [this.$t('save')])])])]);
|
|
1136
|
+
}
|
|
1137
|
+
},
|
|
1138
|
+
openHelp: function openHelp() {
|
|
1139
|
+
var _this8 = this;
|
|
1140
|
+
this.$http.get({
|
|
1141
|
+
entityId: 'FM_SERVICE_HELP',
|
|
1142
|
+
id: this.$configs.help,
|
|
1143
|
+
link: 'help,help#system,help#client'
|
|
1144
|
+
}).then(function (data) {
|
|
1145
|
+
if (!data) {
|
|
1146
|
+
var _this8$appConfig = _this8.appConfig,
|
|
1147
|
+
clientCode = _this8$appConfig['CLIENT|CODE'],
|
|
1148
|
+
systemCode = _this8$appConfig['SYSTEM|CODE'],
|
|
1149
|
+
CODE = _this8$appConfig.CODE;
|
|
1150
|
+
window.open("#/help/".concat(clientCode, "/").concat(systemCode, "/").concat(CODE, "/").concat(_this8.$configs.help));
|
|
1151
|
+
} else {
|
|
1152
|
+
var _data$data = data.data,
|
|
1153
|
+
ID = _data$data.ID,
|
|
1154
|
+
_clientCode = _data$data['HELP|CLIENT|CODE'],
|
|
1155
|
+
_systemCode = _data$data['HELP|SYSTEM|CODE'],
|
|
1156
|
+
code = _data$data['HELP|CODE'];
|
|
1157
|
+
window.open("#/help/".concat(_clientCode, "/").concat(_systemCode, "/").concat(code, "/").concat(ID));
|
|
1158
|
+
}
|
|
1159
|
+
});
|
|
1160
|
+
}
|
|
1161
|
+
},
|
|
1162
|
+
created: function created() {
|
|
1163
|
+
this.init();
|
|
1164
|
+
},
|
|
1165
|
+
render: function render() {
|
|
1166
|
+
var h = arguments[0];
|
|
1167
|
+
var showFlag = !this.$configs.showCondition || this.$configs.showCondition.length === 0 || this.$util.runExpByScope.call(this, this.$configs.showCondition, this.formData);
|
|
1168
|
+
if (!showFlag) return null;
|
|
1169
|
+
return h("div", {
|
|
1170
|
+
"class": ['epx-add-form-item', {
|
|
1171
|
+
'is-fold': this.isFold
|
|
1172
|
+
}],
|
|
1173
|
+
"style": this.$component.style
|
|
1174
|
+
}, [this.renderFormTitle(), this.renderFormContent(), this.renderFormDrawer()]);
|
|
1175
|
+
}
|
|
1176
|
+
});
|
|
1177
|
+
|
|
1178
|
+
/***/ }),
|
|
1179
|
+
|
|
1180
|
+
/***/ 17:
|
|
1289
1181
|
/***/ (function(module, exports) {
|
|
1290
1182
|
|
|
1291
|
-
module.exports = require("core-js/modules/es.
|
|
1183
|
+
module.exports = require("core-js/modules/es.number.constructor.js");
|
|
1292
1184
|
|
|
1293
1185
|
/***/ }),
|
|
1294
|
-
|
|
1186
|
+
|
|
1187
|
+
/***/ 18:
|
|
1295
1188
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1296
1189
|
|
|
1297
1190
|
"use strict";
|
|
1298
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_2__);
|
|
1305
|
-
/* harmony import */ var core_js_modules_es_array_from_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(23);
|
|
1306
|
-
/* harmony import */ var core_js_modules_es_array_from_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_from_js__WEBPACK_IMPORTED_MODULE_3__);
|
|
1307
|
-
/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(4);
|
|
1308
|
-
/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_4__);
|
|
1309
|
-
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(12);
|
|
1310
|
-
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_5__);
|
|
1311
|
-
/* harmony import */ var core_js_modules_es_regexp_test_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(39);
|
|
1312
|
-
/* harmony import */ var core_js_modules_es_regexp_test_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_test_js__WEBPACK_IMPORTED_MODULE_6__);
|
|
1313
|
-
/* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(15);
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1191
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _arrayLikeToArray; });
|
|
1192
|
+
function _arrayLikeToArray(arr, len) {
|
|
1193
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
1194
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
1195
|
+
return arr2;
|
|
1196
|
+
}
|
|
1320
1197
|
|
|
1198
|
+
/***/ }),
|
|
1321
1199
|
|
|
1200
|
+
/***/ 185:
|
|
1201
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1322
1202
|
|
|
1203
|
+
"use strict";
|
|
1204
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(20);
|
|
1205
|
+
/* 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__);
|
|
1206
|
+
// Imports
|
|
1323
1207
|
|
|
1208
|
+
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()(function(i){return i[1]});
|
|
1209
|
+
// Module
|
|
1210
|
+
___CSS_LOADER_EXPORT___.push([module.i, ".epx-add-form-item{background:#fff}.epx-add-form-item.is-fold .epx-add-form-item__title-foldicon{transform:rotate(180deg)}.epx-add-form-item.is-fold .epx-add-form-item__content{padding:0 10px;height:0;overflow:hidden}.epx-add-form-item__header{padding:6px 24px;position:relative;overflow:hidden;font-size:16px;line-height:36px;background:#fff;white-space:pre-wrap}.epx-add-form-item__header::after{content:'';position:absolute;left:-24px;bottom:0;width:calc(100% + 48px);height:1px;background:#e3e3e3}.epx-add-form-item__header--simple{margin-bottom:-20px;padding:6px 12px 0}.epx-add-form-item__header--simple::after{display:none}.epx-add-form-item__header--simple .epx-add-form-item__title{border:0;padding-left:0}.epx-add-form-item__header--simple .epx-add-form-item__title-operate{display:none}.epx-add-form-item__header--simple .epx-add-form-item__title-foldicon{display:none}.epx-add-form-item__title{border-left:3px solid;border-color:#0874e7;padding-left:6px}[data-theme=purple] .epx-add-form-item__title{border-color:#7569e2}[data-theme=palevioletred] .epx-add-form-item__title{border-color:#ce4545}[data-theme=forestgreen] .epx-add-form-item__title{border-color:#3d8a50}[data-theme=deepblue] .epx-add-form-item__title{border-color:#0f5fbd}[data-theme=orange] .epx-add-form-item__title{border-color:#ea6000}[data-theme=skyblue] .epx-add-form-item__title{border-color:#1a4586}[data-theme=aurorablue] .epx-add-form-item__title{border-color:#383b9e}[data-theme=tiffanyblue] .epx-add-form-item__title{border-color:#00aaad}[data-theme=tsinghuapurple] .epx-add-form-item__title{border-color:#5f2167}[data-theme=creativeblue] .epx-add-form-item__title{border-color:#418cff}.epx-add-form-item__title-edit{font-size:14px;line-height:36px;cursor:pointer;color:#0874e7}[data-theme=purple] .epx-add-form-item__title-edit{color:#7569e2}[data-theme=palevioletred] .epx-add-form-item__title-edit{color:#ce4545}[data-theme=forestgreen] .epx-add-form-item__title-edit{color:#3d8a50}[data-theme=deepblue] .epx-add-form-item__title-edit{color:#0f5fbd}[data-theme=orange] .epx-add-form-item__title-edit{color:#ea6000}[data-theme=skyblue] .epx-add-form-item__title-edit{color:#1a4586}[data-theme=aurorablue] .epx-add-form-item__title-edit{color:#383b9e}[data-theme=tiffanyblue] .epx-add-form-item__title-edit{color:#00aaad}[data-theme=tsinghuapurple] .epx-add-form-item__title-edit{color:#5f2167}[data-theme=creativeblue] .epx-add-form-item__title-edit{color:#418cff}.epx-add-form-item__title-edit i{margin-right:4px}.epx-add-form-item__title-foldicon{color:#0874e7;font-size:20px;cursor:pointer;transition:all .5s;line-height:36px;margin-left:10px}[data-theme=purple] .epx-add-form-item__title-foldicon{color:#7569e2}[data-theme=palevioletred] .epx-add-form-item__title-foldicon{color:#ce4545}[data-theme=forestgreen] .epx-add-form-item__title-foldicon{color:#3d8a50}[data-theme=deepblue] .epx-add-form-item__title-foldicon{color:#0f5fbd}[data-theme=orange] .epx-add-form-item__title-foldicon{color:#ea6000}[data-theme=skyblue] .epx-add-form-item__title-foldicon{color:#1a4586}[data-theme=aurorablue] .epx-add-form-item__title-foldicon{color:#383b9e}[data-theme=tiffanyblue] .epx-add-form-item__title-foldicon{color:#00aaad}[data-theme=tsinghuapurple] .epx-add-form-item__title-foldicon{color:#5f2167}[data-theme=creativeblue] .epx-add-form-item__title-foldicon{color:#418cff}.epx-add-form-item__content{transition:all .3s;padding:10px}.epx-add-form-item__note{background-color:rgba(8,116,231,0.1);border-color:#0874e7;color:#0874e7;border:1px dashed;padding:4px 12px;border-radius:4px;display:flex;align-items:center;font-size:14px;white-space:pre-wrap}[data-theme=purple] .epx-add-form-item__note{background-color:rgba(117,105,226,0.1)}[data-theme=palevioletred] .epx-add-form-item__note{background-color:rgba(206,69,69,0.1)}[data-theme=forestgreen] .epx-add-form-item__note{background-color:rgba(61,138,80,0.1)}[data-theme=deepblue] .epx-add-form-item__note{background-color:rgba(15,95,189,0.1)}[data-theme=orange] .epx-add-form-item__note{background-color:rgba(234,96,0,0.1)}[data-theme=skyblue] .epx-add-form-item__note{background-color:rgba(26,69,134,0.1)}[data-theme=aurorablue] .epx-add-form-item__note{background-color:rgba(56,59,158,0.1)}[data-theme=tiffanyblue] .epx-add-form-item__note{background-color:rgba(0,170,173,0.1)}[data-theme=tsinghuapurple] .epx-add-form-item__note{background-color:rgba(95,33,103,0.1)}[data-theme=creativeblue] .epx-add-form-item__note{background-color:rgba(65,140,255,0.1)}[data-theme=purple] .epx-add-form-item__note{border-color:#7569e2}[data-theme=palevioletred] .epx-add-form-item__note{border-color:#ce4545}[data-theme=forestgreen] .epx-add-form-item__note{border-color:#3d8a50}[data-theme=deepblue] .epx-add-form-item__note{border-color:#0f5fbd}[data-theme=orange] .epx-add-form-item__note{border-color:#ea6000}[data-theme=skyblue] .epx-add-form-item__note{border-color:#1a4586}[data-theme=aurorablue] .epx-add-form-item__note{border-color:#383b9e}[data-theme=tiffanyblue] .epx-add-form-item__note{border-color:#00aaad}[data-theme=tsinghuapurple] .epx-add-form-item__note{border-color:#5f2167}[data-theme=creativeblue] .epx-add-form-item__note{border-color:#418cff}[data-theme=purple] .epx-add-form-item__note{color:#7569e2}[data-theme=palevioletred] .epx-add-form-item__note{color:#ce4545}[data-theme=forestgreen] .epx-add-form-item__note{color:#3d8a50}[data-theme=deepblue] .epx-add-form-item__note{color:#0f5fbd}[data-theme=orange] .epx-add-form-item__note{color:#ea6000}[data-theme=skyblue] .epx-add-form-item__note{color:#1a4586}[data-theme=aurorablue] .epx-add-form-item__note{color:#383b9e}[data-theme=tiffanyblue] .epx-add-form-item__note{color:#00aaad}[data-theme=tsinghuapurple] .epx-add-form-item__note{color:#5f2167}[data-theme=creativeblue] .epx-add-form-item__note{color:#418cff}.epx-add-form-item__note>i{margin-right:8px;font-size:16px;flex-shrink:0}.epx-add-form-item__note-html{white-space:normal;word-break:break-all;color:#666}.epx-add-form-item__note-html>span{display:inline-block}.epx-add-form-item__help{margin-left:4px;color:#0874e7}[data-theme=purple] .epx-add-form-item__help{color:#7569e2}[data-theme=palevioletred] .epx-add-form-item__help{color:#ce4545}[data-theme=forestgreen] .epx-add-form-item__help{color:#3d8a50}[data-theme=deepblue] .epx-add-form-item__help{color:#0f5fbd}[data-theme=orange] .epx-add-form-item__help{color:#ea6000}[data-theme=skyblue] .epx-add-form-item__help{color:#1a4586}[data-theme=aurorablue] .epx-add-form-item__help{color:#383b9e}[data-theme=tiffanyblue] .epx-add-form-item__help{color:#00aaad}[data-theme=tsinghuapurple] .epx-add-form-item__help{color:#5f2167}[data-theme=creativeblue] .epx-add-form-item__help{color:#418cff}.epx-add-form-item__buttongroup{margin:16px 0;text-align:center;padding-bottom:12px;display:flex;justify-content:center}.epx-add-form-item__buttongroup .el-button{padding:12px 42px;margin:0 12px}.epx-add-form-item__edit-drawer .el-drawer__header{padding:0;margin:0}.epx-add-form-item__edit-drawer .el-drawer__close-btn{display:none}.epx-add-form-item__edit-drawer .el-drawer__body{overflow:auto}@media screen and (max-width: 992px){.epx-add-form-item__header{padding:6px 12px}.epx-add-form-item__content{padding:0}}\n", ""]);
|
|
1211
|
+
// Exports
|
|
1212
|
+
/* harmony default export */ __webpack_exports__["a"] = (___CSS_LOADER_EXPORT___);
|
|
1324
1213
|
|
|
1325
1214
|
|
|
1215
|
+
/***/ }),
|
|
1326
1216
|
|
|
1217
|
+
/***/ 19:
|
|
1218
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1327
1219
|
|
|
1328
|
-
|
|
1329
|
-
if (!o) return;
|
|
1330
|
-
if (typeof o === "string") return Object(_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_7__[/* default */ "a"])(o, minLen);
|
|
1331
|
-
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
1332
|
-
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
1333
|
-
if (n === "Map" || n === "Set") return Array.from(o);
|
|
1334
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Object(_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_7__[/* default */ "a"])(o, minLen);
|
|
1335
|
-
}
|
|
1220
|
+
"use strict";
|
|
1336
1221
|
|
|
1337
|
-
/***/ }),
|
|
1338
|
-
/* 35 */
|
|
1339
|
-
/***/ (function(module, exports) {
|
|
1340
1222
|
|
|
1341
|
-
|
|
1223
|
+
var isOldIE = function isOldIE() {
|
|
1224
|
+
var memo;
|
|
1225
|
+
return function memorize() {
|
|
1226
|
+
if (typeof memo === 'undefined') {
|
|
1227
|
+
// Test for IE <= 9 as proposed by Browserhacks
|
|
1228
|
+
// @see http://browserhacks.com/#hack-e71d8692f65334173fee715c222cb805
|
|
1229
|
+
// Tests for existence of standard globals is to allow style-loader
|
|
1230
|
+
// to operate correctly into non-standard environments
|
|
1231
|
+
// @see https://github.com/webpack-contrib/style-loader/issues/177
|
|
1232
|
+
memo = Boolean(window && document && document.all && !window.atob);
|
|
1233
|
+
}
|
|
1342
1234
|
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1235
|
+
return memo;
|
|
1236
|
+
};
|
|
1237
|
+
}();
|
|
1346
1238
|
|
|
1347
|
-
|
|
1239
|
+
var getTarget = function getTarget() {
|
|
1240
|
+
var memo = {};
|
|
1241
|
+
return function memorize(target) {
|
|
1242
|
+
if (typeof memo[target] === 'undefined') {
|
|
1243
|
+
var styleTarget = document.querySelector(target); // Special case to return head of iframe instead of iframe itself
|
|
1348
1244
|
|
|
1349
|
-
|
|
1350
|
-
|
|
1245
|
+
if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {
|
|
1246
|
+
try {
|
|
1247
|
+
// This will throw an exception if access to iframe is blocked
|
|
1248
|
+
// due to cross-origin restrictions
|
|
1249
|
+
styleTarget = styleTarget.contentDocument.head;
|
|
1250
|
+
} catch (e) {
|
|
1251
|
+
// istanbul ignore next
|
|
1252
|
+
styleTarget = null;
|
|
1253
|
+
}
|
|
1254
|
+
}
|
|
1351
1255
|
|
|
1352
|
-
|
|
1353
|
-
|
|
1256
|
+
memo[target] = styleTarget;
|
|
1257
|
+
}
|
|
1354
1258
|
|
|
1355
|
-
|
|
1356
|
-
|
|
1259
|
+
return memo[target];
|
|
1260
|
+
};
|
|
1261
|
+
}();
|
|
1357
1262
|
|
|
1358
|
-
|
|
1263
|
+
var stylesInDom = [];
|
|
1359
1264
|
|
|
1265
|
+
function getIndexByIdentifier(identifier) {
|
|
1266
|
+
var result = -1;
|
|
1360
1267
|
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
for (i = 0; i < sourceKeys.length; i++) {
|
|
1367
|
-
key = sourceKeys[i];
|
|
1368
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
1369
|
-
target[key] = source[key];
|
|
1268
|
+
for (var i = 0; i < stylesInDom.length; i++) {
|
|
1269
|
+
if (stylesInDom[i].identifier === identifier) {
|
|
1270
|
+
result = i;
|
|
1271
|
+
break;
|
|
1272
|
+
}
|
|
1370
1273
|
}
|
|
1371
|
-
|
|
1274
|
+
|
|
1275
|
+
return result;
|
|
1372
1276
|
}
|
|
1373
|
-
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
|
|
1374
1277
|
|
|
1278
|
+
function modulesToDom(list, options) {
|
|
1279
|
+
var idCountMap = {};
|
|
1280
|
+
var identifiers = [];
|
|
1375
1281
|
|
|
1282
|
+
for (var i = 0; i < list.length; i++) {
|
|
1283
|
+
var item = list[i];
|
|
1284
|
+
var id = options.base ? item[0] + options.base : item[0];
|
|
1285
|
+
var count = idCountMap[id] || 0;
|
|
1286
|
+
var identifier = "".concat(id, " ").concat(count);
|
|
1287
|
+
idCountMap[id] = count + 1;
|
|
1288
|
+
var index = getIndexByIdentifier(identifier);
|
|
1289
|
+
var obj = {
|
|
1290
|
+
css: item[1],
|
|
1291
|
+
media: item[2],
|
|
1292
|
+
sourceMap: item[3]
|
|
1293
|
+
};
|
|
1376
1294
|
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
1387
|
-
target[key] = source[key];
|
|
1295
|
+
if (index !== -1) {
|
|
1296
|
+
stylesInDom[index].references++;
|
|
1297
|
+
stylesInDom[index].updater(obj);
|
|
1298
|
+
} else {
|
|
1299
|
+
stylesInDom.push({
|
|
1300
|
+
identifier: identifier,
|
|
1301
|
+
updater: addStyle(obj, options),
|
|
1302
|
+
references: 1
|
|
1303
|
+
});
|
|
1388
1304
|
}
|
|
1305
|
+
|
|
1306
|
+
identifiers.push(identifier);
|
|
1389
1307
|
}
|
|
1390
|
-
|
|
1308
|
+
|
|
1309
|
+
return identifiers;
|
|
1391
1310
|
}
|
|
1392
1311
|
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1312
|
+
function insertStyleElement(options) {
|
|
1313
|
+
var style = document.createElement('style');
|
|
1314
|
+
var attributes = options.attributes || {};
|
|
1396
1315
|
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
|
|
1400
|
-
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
1401
|
-
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(35);
|
|
1402
|
-
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
|
|
1316
|
+
if (typeof attributes.nonce === 'undefined') {
|
|
1317
|
+
var nonce = true ? __webpack_require__.nc : undefined;
|
|
1403
1318
|
|
|
1319
|
+
if (nonce) {
|
|
1320
|
+
attributes.nonce = nonce;
|
|
1321
|
+
}
|
|
1322
|
+
}
|
|
1404
1323
|
|
|
1324
|
+
Object.keys(attributes).forEach(function (key) {
|
|
1325
|
+
style.setAttribute(key, attributes[key]);
|
|
1326
|
+
});
|
|
1405
1327
|
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
var info = gen[key](arg);
|
|
1409
|
-
var value = info.value;
|
|
1410
|
-
} catch (error) {
|
|
1411
|
-
reject(error);
|
|
1412
|
-
return;
|
|
1413
|
-
}
|
|
1414
|
-
if (info.done) {
|
|
1415
|
-
resolve(value);
|
|
1328
|
+
if (typeof options.insert === 'function') {
|
|
1329
|
+
options.insert(style);
|
|
1416
1330
|
} else {
|
|
1417
|
-
|
|
1418
|
-
}
|
|
1419
|
-
}
|
|
1420
|
-
function _asyncToGenerator(fn) {
|
|
1421
|
-
return function () {
|
|
1422
|
-
var self = this,
|
|
1423
|
-
args = arguments;
|
|
1424
|
-
return new Promise(function (resolve, reject) {
|
|
1425
|
-
var gen = fn.apply(self, args);
|
|
1426
|
-
function _next(value) {
|
|
1427
|
-
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
|
1428
|
-
}
|
|
1429
|
-
function _throw(err) {
|
|
1430
|
-
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
|
1431
|
-
}
|
|
1432
|
-
_next(undefined);
|
|
1433
|
-
});
|
|
1434
|
-
};
|
|
1435
|
-
}
|
|
1436
|
-
|
|
1437
|
-
/***/ }),
|
|
1438
|
-
/* 38 */
|
|
1439
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1440
|
-
|
|
1441
|
-
"use strict";
|
|
1442
|
-
/* harmony import */ var E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(17);
|
|
1443
|
-
/* harmony import */ var E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(37);
|
|
1444
|
-
/* harmony import */ var E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(5);
|
|
1445
|
-
/* harmony import */ var E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36);
|
|
1446
|
-
/* harmony import */ var E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(0);
|
|
1447
|
-
/* harmony import */ var E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_typeof_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(3);
|
|
1448
|
-
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(1);
|
|
1449
|
-
/* 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__);
|
|
1450
|
-
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(8);
|
|
1451
|
-
/* 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__);
|
|
1452
|
-
/* harmony import */ var core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(13);
|
|
1453
|
-
/* 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__);
|
|
1454
|
-
/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(11);
|
|
1455
|
-
/* 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__);
|
|
1456
|
-
/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(31);
|
|
1457
|
-
/* 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__);
|
|
1458
|
-
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(32);
|
|
1459
|
-
/* 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__);
|
|
1460
|
-
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(12);
|
|
1461
|
-
/* 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__);
|
|
1462
|
-
/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(29);
|
|
1463
|
-
/* 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__);
|
|
1464
|
-
/* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(16);
|
|
1465
|
-
/* 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__);
|
|
1466
|
-
/* harmony import */ var core_js_modules_es_array_find_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(27);
|
|
1467
|
-
/* 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__);
|
|
1468
|
-
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(35);
|
|
1469
|
-
/* 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__);
|
|
1470
|
-
/* harmony import */ var core_js_modules_es_regexp_test_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(39);
|
|
1471
|
-
/* 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__);
|
|
1472
|
-
/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(26);
|
|
1473
|
-
/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(vuex__WEBPACK_IMPORTED_MODULE_18__);
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
var _excluded = ["itemConfigs"];
|
|
1331
|
+
var target = getTarget(options.insert || 'head');
|
|
1481
1332
|
|
|
1333
|
+
if (!target) {
|
|
1334
|
+
throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");
|
|
1335
|
+
}
|
|
1482
1336
|
|
|
1337
|
+
target.appendChild(style);
|
|
1338
|
+
}
|
|
1483
1339
|
|
|
1340
|
+
return style;
|
|
1341
|
+
}
|
|
1484
1342
|
|
|
1343
|
+
function removeStyleElement(style) {
|
|
1344
|
+
// istanbul ignore if
|
|
1345
|
+
if (style.parentNode === null) {
|
|
1346
|
+
return false;
|
|
1347
|
+
}
|
|
1485
1348
|
|
|
1349
|
+
style.parentNode.removeChild(style);
|
|
1350
|
+
}
|
|
1351
|
+
/* istanbul ignore next */
|
|
1486
1352
|
|
|
1487
1353
|
|
|
1354
|
+
var replaceText = function replaceText() {
|
|
1355
|
+
var textStore = [];
|
|
1356
|
+
return function replace(index, replacement) {
|
|
1357
|
+
textStore[index] = replacement;
|
|
1358
|
+
return textStore.filter(Boolean).join('\n');
|
|
1359
|
+
};
|
|
1360
|
+
}();
|
|
1488
1361
|
|
|
1362
|
+
function applyToSingletonTag(style, index, remove, obj) {
|
|
1363
|
+
var css = remove ? '' : obj.media ? "@media ".concat(obj.media, " {").concat(obj.css, "}") : obj.css; // For old IE
|
|
1489
1364
|
|
|
1365
|
+
/* istanbul ignore if */
|
|
1490
1366
|
|
|
1367
|
+
if (style.styleSheet) {
|
|
1368
|
+
style.styleSheet.cssText = replaceText(index, css);
|
|
1369
|
+
} else {
|
|
1370
|
+
var cssNode = document.createTextNode(css);
|
|
1371
|
+
var childNodes = style.childNodes;
|
|
1491
1372
|
|
|
1373
|
+
if (childNodes[index]) {
|
|
1374
|
+
style.removeChild(childNodes[index]);
|
|
1375
|
+
}
|
|
1492
1376
|
|
|
1377
|
+
if (childNodes.length) {
|
|
1378
|
+
style.insertBefore(cssNode, childNodes[index]);
|
|
1379
|
+
} else {
|
|
1380
|
+
style.appendChild(cssNode);
|
|
1381
|
+
}
|
|
1382
|
+
}
|
|
1383
|
+
}
|
|
1493
1384
|
|
|
1385
|
+
function applyToTag(style, options, obj) {
|
|
1386
|
+
var css = obj.css;
|
|
1387
|
+
var media = obj.media;
|
|
1388
|
+
var sourceMap = obj.sourceMap;
|
|
1494
1389
|
|
|
1390
|
+
if (media) {
|
|
1391
|
+
style.setAttribute('media', media);
|
|
1392
|
+
} else {
|
|
1393
|
+
style.removeAttribute('media');
|
|
1394
|
+
}
|
|
1495
1395
|
|
|
1396
|
+
if (sourceMap && typeof btoa !== 'undefined') {
|
|
1397
|
+
css += "\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), " */");
|
|
1398
|
+
} // For old IE
|
|
1496
1399
|
|
|
1400
|
+
/* istanbul ignore if */
|
|
1497
1401
|
|
|
1498
1402
|
|
|
1403
|
+
if (style.styleSheet) {
|
|
1404
|
+
style.styleSheet.cssText = css;
|
|
1405
|
+
} else {
|
|
1406
|
+
while (style.firstChild) {
|
|
1407
|
+
style.removeChild(style.firstChild);
|
|
1408
|
+
}
|
|
1499
1409
|
|
|
1410
|
+
style.appendChild(document.createTextNode(css));
|
|
1411
|
+
}
|
|
1412
|
+
}
|
|
1500
1413
|
|
|
1414
|
+
var singleton = null;
|
|
1415
|
+
var singletonCounter = 0;
|
|
1501
1416
|
|
|
1417
|
+
function addStyle(obj, options) {
|
|
1418
|
+
var style;
|
|
1419
|
+
var update;
|
|
1420
|
+
var remove;
|
|
1502
1421
|
|
|
1503
|
-
|
|
1422
|
+
if (options.singleton) {
|
|
1423
|
+
var styleIndex = singletonCounter++;
|
|
1424
|
+
style = singleton || (singleton = insertStyleElement(options));
|
|
1425
|
+
update = applyToSingletonTag.bind(null, style, styleIndex, false);
|
|
1426
|
+
remove = applyToSingletonTag.bind(null, style, styleIndex, true);
|
|
1427
|
+
} else {
|
|
1428
|
+
style = insertStyleElement(options);
|
|
1429
|
+
update = applyToTag.bind(null, style, options);
|
|
1504
1430
|
|
|
1505
|
-
function
|
|
1506
|
-
|
|
1507
|
-
|
|
1431
|
+
remove = function remove() {
|
|
1432
|
+
removeStyleElement(style);
|
|
1433
|
+
};
|
|
1508
1434
|
}
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1435
|
+
|
|
1436
|
+
update(obj);
|
|
1437
|
+
return function updateStyle(newObj) {
|
|
1438
|
+
if (newObj) {
|
|
1439
|
+
if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap) {
|
|
1440
|
+
return;
|
|
1514
1441
|
}
|
|
1442
|
+
|
|
1443
|
+
update(obj = newObj);
|
|
1515
1444
|
} else {
|
|
1516
|
-
|
|
1445
|
+
remove();
|
|
1517
1446
|
}
|
|
1518
|
-
}
|
|
1447
|
+
};
|
|
1519
1448
|
}
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
formatI18nConfig(item, language, level + 1);
|
|
1528
|
-
});
|
|
1529
|
-
} else if (key.includes('.i18n')) {
|
|
1530
|
-
var defaultKey = key.replace(/.i18n/, '');
|
|
1531
|
-
configs[defaultKey] = configs[key][language] || configs[defaultKey];
|
|
1532
|
-
} else if (Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_typeof_js__WEBPACK_IMPORTED_MODULE_5__[/* default */ "a"])(configs[key]) === 'object') {
|
|
1533
|
-
formatI18nConfig(configs[key], language, level + 1);
|
|
1534
|
-
}
|
|
1535
|
-
}
|
|
1449
|
+
|
|
1450
|
+
module.exports = function (list, options) {
|
|
1451
|
+
options = options || {}; // Force single-tag solution on IE6-9, which has a hard limit on the # of <style>
|
|
1452
|
+
// tags it will allow on a page
|
|
1453
|
+
|
|
1454
|
+
if (!options.singleton && typeof options.singleton !== 'boolean') {
|
|
1455
|
+
options.singleton = isOldIE();
|
|
1536
1456
|
}
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
},
|
|
1565
|
-
compFlex: {
|
|
1566
|
-
type: Boolean
|
|
1567
|
-
},
|
|
1568
|
-
compTitle: String,
|
|
1569
|
-
items: Array,
|
|
1570
|
-
//
|
|
1571
|
-
itemConfigs: Object
|
|
1572
|
-
},
|
|
1573
|
-
data: function data() {
|
|
1574
|
-
return {
|
|
1575
|
-
component: {},
|
|
1576
|
-
configs: {}
|
|
1577
|
-
};
|
|
1578
|
-
},
|
|
1579
|
-
inject: {
|
|
1580
|
-
pageId: {
|
|
1581
|
-
type: String,
|
|
1582
|
-
default: function _default() {
|
|
1583
|
-
return null;
|
|
1584
|
-
}
|
|
1585
|
-
},
|
|
1586
|
-
pageMetaId: {
|
|
1587
|
-
type: String,
|
|
1588
|
-
default: function _default() {
|
|
1589
|
-
return null;
|
|
1590
|
-
}
|
|
1591
|
-
},
|
|
1592
|
-
upPage: {
|
|
1593
|
-
type: Object,
|
|
1594
|
-
default: function _default() {
|
|
1595
|
-
return null;
|
|
1596
|
-
}
|
|
1597
|
-
},
|
|
1598
|
-
// 获取所属标签页
|
|
1599
|
-
$getTab: {
|
|
1600
|
-
type: Function
|
|
1601
|
-
}
|
|
1602
|
-
},
|
|
1603
|
-
computed: Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"])(Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"])(Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"])({}, Object(vuex__WEBPACK_IMPORTED_MODULE_18__["mapState"])({
|
|
1604
|
-
metas: function metas(state) {
|
|
1605
|
-
return state.meta.metas;
|
|
1606
|
-
} // 元数据信息集合
|
|
1607
|
-
})), Object(vuex__WEBPACK_IMPORTED_MODULE_18__["mapGetters"])(['getMeta', 'getPageById'])), {}, {
|
|
1608
|
-
isPage: function isPage() {
|
|
1609
|
-
var $componentType = this.$options.$componentType;
|
|
1610
|
-
return $componentType === 'page';
|
|
1611
|
-
},
|
|
1612
|
-
$component: {
|
|
1613
|
-
get: function get() {
|
|
1614
|
-
return this.component;
|
|
1615
|
-
},
|
|
1616
|
-
set: function set(v) {
|
|
1617
|
-
this.component = v;
|
|
1618
|
-
}
|
|
1619
|
-
},
|
|
1620
|
-
$configs: {
|
|
1621
|
-
get: function get() {
|
|
1622
|
-
return this.configs;
|
|
1623
|
-
},
|
|
1624
|
-
set: function set(v) {
|
|
1625
|
-
this.configs = v;
|
|
1626
|
-
}
|
|
1627
|
-
},
|
|
1628
|
-
// 当前页面id
|
|
1629
|
-
$pageMetaId: function $pageMetaId() {
|
|
1630
|
-
// 获取当前传递的metaId
|
|
1631
|
-
var metaId = null;
|
|
1632
|
-
if (this.meta && this.meta.id) {
|
|
1633
|
-
metaId = this.meta.id;
|
|
1634
|
-
}
|
|
1635
|
-
return metaId || this.pageMetaId;
|
|
1636
|
-
},
|
|
1637
|
-
/**
|
|
1638
|
-
* 当前组件对象元数据id 不设置 默认为当前页面对象
|
|
1639
|
-
*/
|
|
1640
|
-
$metaId: function $metaId() {
|
|
1641
|
-
var metaId = this.$configs.metaId;
|
|
1642
|
-
return metaId || this.$pageMetaId;
|
|
1643
|
-
},
|
|
1644
|
-
// 当前组件对象
|
|
1645
|
-
$meta: function $meta() {
|
|
1646
|
-
if (this.$metaId) {
|
|
1647
|
-
var meta = this.getMeta(this.$metaId);
|
|
1648
|
-
return meta;
|
|
1649
|
-
} else {
|
|
1650
|
-
return null;
|
|
1651
|
-
}
|
|
1652
|
-
},
|
|
1653
|
-
$metaKey: function $metaKey() {
|
|
1654
|
-
if (this.$meta) {
|
|
1655
|
-
return this.$meta.getKey() || 'ID';
|
|
1656
|
-
} else {
|
|
1657
|
-
return 'ID';
|
|
1658
|
-
}
|
|
1659
|
-
},
|
|
1660
|
-
$parentPage: function $parentPage() {
|
|
1661
|
-
// 父级页面
|
|
1662
|
-
var parentPage = this.component.parentPage;
|
|
1663
|
-
return parentPage;
|
|
1664
|
-
},
|
|
1665
|
-
$parentPageModel: function $parentPageModel() {
|
|
1666
|
-
var _this$component$paren = this.component.parentPage,
|
|
1667
|
-
parentPage = _this$component$paren === void 0 ? {} : _this$component$paren;
|
|
1668
|
-
return parentPage.model;
|
|
1669
|
-
},
|
|
1670
|
-
$pageId: function $pageId() {
|
|
1671
|
-
var _ref = this.page || {},
|
|
1672
|
-
pageId = _ref.pageId;
|
|
1673
|
-
return this.isPage ? pageId : this.pageId || pageId;
|
|
1674
|
-
},
|
|
1675
|
-
$pageInfo: function $pageInfo() {
|
|
1676
|
-
if (this.$pageId) return this.getPageById(this.$pageId) || {};
|
|
1677
|
-
return {};
|
|
1678
|
-
},
|
|
1679
|
-
/**
|
|
1680
|
-
* 事件处理总线
|
|
1681
|
-
*/
|
|
1682
|
-
$event: function $event() {
|
|
1683
|
-
var comp = this;
|
|
1684
|
-
while (comp.$parent && comp.$options.$componentType !== 'page') {
|
|
1685
|
-
comp = comp.$parent;
|
|
1686
|
-
}
|
|
1687
|
-
return {
|
|
1688
|
-
emit: function emit(event) {
|
|
1689
|
-
for (var _len2 = arguments.length, params = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
|
|
1690
|
-
params[_key2 - 1] = arguments[_key2];
|
|
1691
|
-
}
|
|
1692
|
-
comp.$emit(event, [].concat(params));
|
|
1693
|
-
},
|
|
1694
|
-
on: function on(event, callback) {
|
|
1695
|
-
var _this = this;
|
|
1696
|
-
comp.$on(event, function (params) {
|
|
1697
|
-
return callback.apply(_this, params);
|
|
1698
|
-
});
|
|
1699
|
-
}
|
|
1700
|
-
};
|
|
1701
|
-
},
|
|
1702
|
-
$currentRole: function $currentRole() {
|
|
1703
|
-
var _ref2 = this.$route.params || {},
|
|
1704
|
-
role = _ref2.role;
|
|
1705
|
-
var _this$user$serviceRol = this.user.serviceRoles,
|
|
1706
|
-
serviceRoles = _this$user$serviceRol === void 0 ? {} : _this$user$serviceRol;
|
|
1707
|
-
var roleList = serviceRoles[this.appConfig.ID] || [];
|
|
1708
|
-
var currentRole = roleList.find(function (item) {
|
|
1709
|
-
return item.code === role;
|
|
1710
|
-
}) || {};
|
|
1711
|
-
return currentRole;
|
|
1712
|
-
},
|
|
1713
|
-
$currentRoleId: function $currentRoleId() {
|
|
1714
|
-
return this.$currentRole.id;
|
|
1715
|
-
}
|
|
1716
|
-
}),
|
|
1717
|
-
watch: {
|
|
1718
|
-
compConfigs: function compConfigs(v) {
|
|
1719
|
-
if (!this.$_.isEqual(this.oldCompConfigs, v)) {
|
|
1720
|
-
this._createComponent();
|
|
1721
|
-
}
|
|
1722
|
-
this.oldCompConfigs = this.$_.cloneDeep(v);
|
|
1723
|
-
}
|
|
1724
|
-
},
|
|
1725
|
-
methods: {
|
|
1726
|
-
$refesh: function $refesh() {
|
|
1727
|
-
// this.$children.forEach(child => {
|
|
1728
|
-
// if (child.$options.componentType === 'component') {
|
|
1729
|
-
// if (child.$refesh) child.$refesh()
|
|
1730
|
-
// }
|
|
1731
|
-
// })
|
|
1732
|
-
},
|
|
1733
|
-
$refeshPage: function $refeshPage() {
|
|
1734
|
-
if (this.upPage) this.upPage.$refesh();
|
|
1735
|
-
},
|
|
1736
|
-
$routerChange: function $routerChange(callback) {
|
|
1737
|
-
var _this2 = this;
|
|
1738
|
-
// 获取上级路由
|
|
1739
|
-
var parent = this.$parent || this.$root;
|
|
1740
|
-
var name = parent.$options.componentName;
|
|
1741
|
-
while (parent && (!name || name !== 'routerView')) {
|
|
1742
|
-
parent = parent.$parent;
|
|
1743
|
-
if (parent) {
|
|
1744
|
-
name = parent.$options.componentName;
|
|
1745
|
-
}
|
|
1746
|
-
}
|
|
1747
|
-
if (parent) {
|
|
1748
|
-
parent.$on('change', function (params) {
|
|
1749
|
-
return callback.apply(_this2, params);
|
|
1750
|
-
});
|
|
1751
|
-
}
|
|
1752
|
-
},
|
|
1753
|
-
// 获取上级页面
|
|
1754
|
-
$getParentPage: function $getParentPage() {
|
|
1755
|
-
var parent = this.$parent || this.$root;
|
|
1756
|
-
var type = parent.$options.$componentType;
|
|
1757
|
-
while (parent && (!type || type !== 'page')) {
|
|
1758
|
-
parent = parent.$parent;
|
|
1759
|
-
if (parent) {
|
|
1760
|
-
type = parent.$options.componentName;
|
|
1761
|
-
}
|
|
1762
|
-
}
|
|
1763
|
-
if (parent) {
|
|
1764
|
-
return parent;
|
|
1765
|
-
}
|
|
1766
|
-
},
|
|
1767
|
-
// 修改上级页面数据
|
|
1768
|
-
$setParentPageModel: function $setParentPageModel(model) {
|
|
1769
|
-
if (this.$parentPage) {
|
|
1770
|
-
for (var key in model) {
|
|
1771
|
-
this.$parentPage.$set(this.$parentPage.model, key, model[key]);
|
|
1772
|
-
}
|
|
1773
|
-
}
|
|
1774
|
-
},
|
|
1775
|
-
// 调用上级页面内组件事件
|
|
1776
|
-
$dispatchComponent: function $dispatchComponent(id, eventName) {
|
|
1777
|
-
if (this.$parentPage) {
|
|
1778
|
-
for (var _len3 = arguments.length, params = new Array(_len3 > 2 ? _len3 - 2 : 0), _key3 = 2; _key3 < _len3; _key3++) {
|
|
1779
|
-
params[_key3 - 2] = arguments[_key3];
|
|
1780
|
-
}
|
|
1781
|
-
// 组件id
|
|
1782
|
-
broadcast.apply(this.$parentPage, [id, eventName].concat(params));
|
|
1783
|
-
}
|
|
1784
|
-
},
|
|
1785
|
-
// 获取页面内组件
|
|
1786
|
-
$getPageComponent: function $getPageComponent(id) {
|
|
1787
|
-
var current = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this;
|
|
1788
|
-
var prefix = arguments.length > 2 ? arguments[2] : undefined;
|
|
1789
|
-
var newId = prefix ? prefix + '-' + id : id;
|
|
1790
|
-
for (var i = 0; i < current.$children.length; i++) {
|
|
1791
|
-
var child = current.$children[i];
|
|
1792
|
-
var childId = child.compId;
|
|
1793
|
-
if (childId === newId) {
|
|
1794
|
-
return child;
|
|
1795
|
-
} else {
|
|
1796
|
-
var component = this.$getPageComponent(id, child);
|
|
1797
|
-
if (component) return component;
|
|
1798
|
-
}
|
|
1799
|
-
}
|
|
1800
|
-
},
|
|
1801
|
-
$excuteEvent: function $excuteEvent(key) {
|
|
1802
|
-
var _this3 = this;
|
|
1803
|
-
for (var _len4 = arguments.length, args = new Array(_len4 > 1 ? _len4 - 1 : 0), _key4 = 1; _key4 < _len4; _key4++) {
|
|
1804
|
-
args[_key4 - 1] = arguments[_key4];
|
|
1805
|
-
}
|
|
1806
|
-
var _this$$configs$compon = this.$configs.componentEvents,
|
|
1807
|
-
componentEvents = _this$$configs$compon === void 0 ? [] : _this$$configs$compon;
|
|
1808
|
-
var _componentEvents$key = componentEvents[key],
|
|
1809
|
-
keyEvents = _componentEvents$key === void 0 ? [] : _componentEvents$key;
|
|
1810
|
-
keyEvents.map(function (event) {
|
|
1811
|
-
return _this3.executeCustomJs.apply(_this3, [event].concat(args));
|
|
1812
|
-
});
|
|
1813
|
-
},
|
|
1814
|
-
_createComponent: function _createComponent() {
|
|
1815
|
-
var language = this.$util.getCurrentLanguage();
|
|
1816
|
-
var height = '';
|
|
1817
|
-
// 页面配置
|
|
1818
|
-
var _configs = {};
|
|
1819
|
-
var queryPageConfigs = this.$query.pageConfigs || {};
|
|
1820
|
-
var _this$$pageInfo$confi = this.$pageInfo.config,
|
|
1821
|
-
pageConfigs = _this$$pageInfo$confi === void 0 ? queryPageConfigs : _this$$pageInfo$confi;
|
|
1822
|
-
var _pageConfigs$itemConf = pageConfigs.itemConfigs,
|
|
1823
|
-
itemConfigs = _pageConfigs$itemConf === void 0 ? {} : _pageConfigs$itemConf,
|
|
1824
|
-
otherConfigs = Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(pageConfigs, _excluded);
|
|
1825
|
-
var _itemConfigs = this.itemConfigs || itemConfigs;
|
|
1826
|
-
var itemConfig = _itemConfigs[this.compId];
|
|
1827
|
-
var allConfigs = Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"])(Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"])({}, this.compConfigs), itemConfig);
|
|
1828
|
-
if (this.isPage) {
|
|
1829
|
-
allConfigs = Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"])(Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"])({}, allConfigs), otherConfigs);
|
|
1830
|
-
// 获取函数库
|
|
1831
|
-
var exports = {};
|
|
1832
|
-
// eslint-disable-next-line no-eval
|
|
1833
|
-
eval('(function (exports) {' + pageConfigs.compileJS + ' }(exports));');
|
|
1834
|
-
this.pageEvents = Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"])({}, exports);
|
|
1835
|
-
}
|
|
1836
|
-
// vue保留字段
|
|
1837
|
-
var vueAttribute = ['name', 'mixins', 'inject', 'provide', '_Ctor', '__file', '_base', '_compiled', 'beforeCreate', 'created', 'berforeMount', 'mounted', 'beforeDestroy', 'destroyed', 'props', 'data', 'methods', 'computed', 'watch', 'components', 'directives', 'filters', 'render', 'staticRenderFns', 'Config', 'Preview'];
|
|
1838
|
-
for (var key in this.$options) {
|
|
1839
|
-
// eslint-disable-next-line no-prototype-builtins
|
|
1840
|
-
if (!vueAttribute.includes(key) && !/^[_|$].+/.test(key)) {
|
|
1841
|
-
_configs[key] = this.$options[key];
|
|
1842
|
-
}
|
|
1457
|
+
|
|
1458
|
+
list = list || [];
|
|
1459
|
+
var lastIdentifiers = modulesToDom(list, options);
|
|
1460
|
+
return function update(newList) {
|
|
1461
|
+
newList = newList || [];
|
|
1462
|
+
|
|
1463
|
+
if (Object.prototype.toString.call(newList) !== '[object Array]') {
|
|
1464
|
+
return;
|
|
1465
|
+
}
|
|
1466
|
+
|
|
1467
|
+
for (var i = 0; i < lastIdentifiers.length; i++) {
|
|
1468
|
+
var identifier = lastIdentifiers[i];
|
|
1469
|
+
var index = getIndexByIdentifier(identifier);
|
|
1470
|
+
stylesInDom[index].references--;
|
|
1471
|
+
}
|
|
1472
|
+
|
|
1473
|
+
var newLastIdentifiers = modulesToDom(newList, options);
|
|
1474
|
+
|
|
1475
|
+
for (var _i = 0; _i < lastIdentifiers.length; _i++) {
|
|
1476
|
+
var _identifier = lastIdentifiers[_i];
|
|
1477
|
+
|
|
1478
|
+
var _index = getIndexByIdentifier(_identifier);
|
|
1479
|
+
|
|
1480
|
+
if (stylesInDom[_index].references === 0) {
|
|
1481
|
+
stylesInDom[_index].updater();
|
|
1482
|
+
|
|
1483
|
+
stylesInDom.splice(_index, 1);
|
|
1843
1484
|
}
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1485
|
+
}
|
|
1486
|
+
|
|
1487
|
+
lastIdentifiers = newLastIdentifiers;
|
|
1488
|
+
};
|
|
1489
|
+
};
|
|
1490
|
+
|
|
1491
|
+
/***/ }),
|
|
1492
|
+
|
|
1493
|
+
/***/ 2:
|
|
1494
|
+
/***/ (function(module, exports) {
|
|
1495
|
+
|
|
1496
|
+
module.exports = require("core-js/modules/es.symbol.js");
|
|
1497
|
+
|
|
1498
|
+
/***/ }),
|
|
1499
|
+
|
|
1500
|
+
/***/ 20:
|
|
1501
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1502
|
+
|
|
1503
|
+
"use strict";
|
|
1504
|
+
|
|
1505
|
+
|
|
1506
|
+
/*
|
|
1507
|
+
MIT License http://www.opensource.org/licenses/mit-license.php
|
|
1508
|
+
Author Tobias Koppers @sokra
|
|
1509
|
+
*/
|
|
1510
|
+
// css base code, injected by the css-loader
|
|
1511
|
+
// eslint-disable-next-line func-names
|
|
1512
|
+
__webpack_require__(1);
|
|
1513
|
+
__webpack_require__(33);
|
|
1514
|
+
__webpack_require__(11);
|
|
1515
|
+
__webpack_require__(13);
|
|
1516
|
+
__webpack_require__(1);
|
|
1517
|
+
__webpack_require__(33);
|
|
1518
|
+
__webpack_require__(11);
|
|
1519
|
+
__webpack_require__(13);
|
|
1520
|
+
__webpack_require__(21);
|
|
1521
|
+
module.exports = function (cssWithMappingToString) {
|
|
1522
|
+
var list = []; // return the list of modules as css string
|
|
1523
|
+
|
|
1524
|
+
list.toString = function toString() {
|
|
1525
|
+
return this.map(function (item) {
|
|
1526
|
+
var content = cssWithMappingToString(item);
|
|
1527
|
+
if (item[2]) {
|
|
1528
|
+
return "@media ".concat(item[2], " {").concat(content, "}");
|
|
1859
1529
|
}
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1530
|
+
return content;
|
|
1531
|
+
}).join("");
|
|
1532
|
+
}; // import a list of modules into the list
|
|
1533
|
+
// eslint-disable-next-line func-names
|
|
1534
|
+
|
|
1535
|
+
list.i = function (modules, mediaQuery, dedupe) {
|
|
1536
|
+
if (typeof modules === "string") {
|
|
1537
|
+
// eslint-disable-next-line no-param-reassign
|
|
1538
|
+
modules = [[null, modules, ""]];
|
|
1539
|
+
}
|
|
1540
|
+
var alreadyImportedModules = {};
|
|
1541
|
+
if (dedupe) {
|
|
1542
|
+
for (var i = 0; i < this.length; i++) {
|
|
1543
|
+
// eslint-disable-next-line prefer-destructuring
|
|
1544
|
+
var id = this[i][0];
|
|
1545
|
+
if (id != null) {
|
|
1546
|
+
alreadyImportedModules[id] = true;
|
|
1872
1547
|
}
|
|
1873
|
-
});
|
|
1874
|
-
this.configs = formatI18nConfig(configs, language);
|
|
1875
|
-
if (configs.height) {
|
|
1876
|
-
height = configs.height.includes('%') ? configs.height : configs.height + 'px';
|
|
1877
1548
|
}
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
contentType: this.contentType,
|
|
1885
|
-
style: _style,
|
|
1886
|
-
configs: this.$configs,
|
|
1887
|
-
flex: this.compFlex === undefined ? !!this.$configs.flex : !!this.compFlex,
|
|
1888
|
-
items: _items,
|
|
1889
|
-
// 子节点
|
|
1890
|
-
mItems: mItems,
|
|
1891
|
-
metaId: this.$metaId,
|
|
1892
|
-
meta: this.$meta,
|
|
1893
|
-
parentPage: this.$getParentPage()
|
|
1894
|
-
};
|
|
1895
|
-
this.$emit('get-component', this.component);
|
|
1896
|
-
if (this.isPage) {
|
|
1897
|
-
this.$set(this.component, 'itemConfigs', itemConfigs);
|
|
1549
|
+
}
|
|
1550
|
+
for (var _i = 0; _i < modules.length; _i++) {
|
|
1551
|
+
var item = [].concat(modules[_i]);
|
|
1552
|
+
if (dedupe && alreadyImportedModules[item[0]]) {
|
|
1553
|
+
// eslint-disable-next-line no-continue
|
|
1554
|
+
continue;
|
|
1898
1555
|
}
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
beforeInitComponent: function beforeInitComponent() {},
|
|
1905
|
-
/**
|
|
1906
|
-
* 初始化组件
|
|
1907
|
-
*/
|
|
1908
|
-
initComponent: function initComponent(component) {}
|
|
1909
|
-
},
|
|
1910
|
-
created: function created() {
|
|
1911
|
-
var _this4 = this;
|
|
1912
|
-
return Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])( /*#__PURE__*/Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])().mark(function _callee() {
|
|
1913
|
-
var component;
|
|
1914
|
-
return Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])().wrap(function _callee$(_context) {
|
|
1915
|
-
while (1) switch (_context.prev = _context.next) {
|
|
1916
|
-
case 0:
|
|
1917
|
-
_this4.beforeCreateComponent();
|
|
1918
|
-
// 创建组件
|
|
1919
|
-
_this4._createComponent();
|
|
1920
|
-
try {
|
|
1921
|
-
_this4.oldCompConfigs = _this4.$_.cloneDeep(_this4.compConfigs);
|
|
1922
|
-
} catch (error) {}
|
|
1923
|
-
// 初始化组件配置
|
|
1924
|
-
component = _this4.beforeInitComponent();
|
|
1925
|
-
if (!(component instanceof Promise)) {
|
|
1926
|
-
_context.next = 7;
|
|
1927
|
-
break;
|
|
1928
|
-
}
|
|
1929
|
-
_context.next = 7;
|
|
1930
|
-
return component;
|
|
1931
|
-
case 7:
|
|
1932
|
-
if (!(_this4.$metaId && !_this4.$meta)) {
|
|
1933
|
-
_context.next = 10;
|
|
1934
|
-
break;
|
|
1935
|
-
}
|
|
1936
|
-
_context.next = 10;
|
|
1937
|
-
return _this4.$store.dispatch({
|
|
1938
|
-
type: 'ADD_META',
|
|
1939
|
-
metaId: _this4.$metaId
|
|
1940
|
-
});
|
|
1941
|
-
case 10:
|
|
1942
|
-
// 初始化组件
|
|
1943
|
-
_this4.initComponent(_this4.$component);
|
|
1944
|
-
case 11:
|
|
1945
|
-
case "end":
|
|
1946
|
-
return _context.stop();
|
|
1556
|
+
if (mediaQuery) {
|
|
1557
|
+
if (!item[2]) {
|
|
1558
|
+
item[2] = mediaQuery;
|
|
1559
|
+
} else {
|
|
1560
|
+
item[2] = "".concat(mediaQuery, " and ").concat(item[2]);
|
|
1947
1561
|
}
|
|
1948
|
-
}
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1562
|
+
}
|
|
1563
|
+
list.push(item);
|
|
1564
|
+
}
|
|
1565
|
+
};
|
|
1566
|
+
return list;
|
|
1567
|
+
};
|
|
1568
|
+
|
|
1569
|
+
/***/ }),
|
|
1570
|
+
|
|
1571
|
+
/***/ 21:
|
|
1572
|
+
/***/ (function(module, exports) {
|
|
1573
|
+
|
|
1574
|
+
module.exports = require("core-js/modules/es.array.push.js");
|
|
1575
|
+
|
|
1576
|
+
/***/ }),
|
|
1577
|
+
|
|
1578
|
+
/***/ 22:
|
|
1579
|
+
/***/ (function(module, exports) {
|
|
1580
|
+
|
|
1581
|
+
module.exports = require("core-js/modules/es.array.iterator.js");
|
|
1582
|
+
|
|
1583
|
+
/***/ }),
|
|
1584
|
+
|
|
1585
|
+
/***/ 23:
|
|
1586
|
+
/***/ (function(module, exports) {
|
|
1587
|
+
|
|
1588
|
+
module.exports = require("core-js/modules/es.array.find.js");
|
|
1589
|
+
|
|
1590
|
+
/***/ }),
|
|
1591
|
+
|
|
1592
|
+
/***/ 231:
|
|
1593
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1594
|
+
|
|
1595
|
+
"use strict";
|
|
1596
|
+
// ESM COMPAT FLAG
|
|
1597
|
+
__webpack_require__.r(__webpack_exports__);
|
|
1598
|
+
|
|
1599
|
+
// EXTERNAL MODULE: external "core-js/modules/es.function.name.js"
|
|
1600
|
+
var es_function_name_js_ = __webpack_require__(9);
|
|
1601
|
+
|
|
1602
|
+
// EXTERNAL MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./src/frame/packages/add-form-item/AddFormItem.vue?vue&type=script&lang=js&
|
|
1603
|
+
var AddFormItemvue_type_script_lang_js_ = __webpack_require__(169);
|
|
1604
|
+
|
|
1605
|
+
// CONCATENATED MODULE: ./src/frame/packages/add-form-item/AddFormItem.vue?vue&type=script&lang=js&
|
|
1606
|
+
/* harmony default export */ var add_form_item_AddFormItemvue_type_script_lang_js_ = (AddFormItemvue_type_script_lang_js_["a" /* default */]);
|
|
1607
|
+
// EXTERNAL MODULE: ./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js
|
|
1608
|
+
var injectStylesIntoStyleTag = __webpack_require__(19);
|
|
1609
|
+
var injectStylesIntoStyleTag_default = /*#__PURE__*/__webpack_require__.n(injectStylesIntoStyleTag);
|
|
1610
|
+
|
|
1611
|
+
// 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/add-form-item/AddFormItem.vue?vue&type=style&index=0&id=09e51180&prod&lang=scss&
|
|
1612
|
+
var AddFormItemvue_type_style_index_0_id_09e51180_prod_lang_scss_ = __webpack_require__(185);
|
|
1613
|
+
|
|
1614
|
+
// 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/add-form-item/AddFormItem.vue?vue&type=style&index=0&id=09e51180&prod&lang=scss&
|
|
1615
|
+
|
|
1616
|
+
|
|
1617
|
+
|
|
1618
|
+
var options = {};
|
|
1619
|
+
|
|
1620
|
+
options.insert = "head";
|
|
1621
|
+
options.singleton = false;
|
|
1622
|
+
|
|
1623
|
+
var update = injectStylesIntoStyleTag_default()(AddFormItemvue_type_style_index_0_id_09e51180_prod_lang_scss_["a" /* default */], options);
|
|
1624
|
+
|
|
1625
|
+
|
|
1626
|
+
|
|
1627
|
+
/* harmony default export */ var add_form_item_AddFormItemvue_type_style_index_0_id_09e51180_prod_lang_scss_ = (AddFormItemvue_type_style_index_0_id_09e51180_prod_lang_scss_["a" /* default */].locals || {});
|
|
1628
|
+
// CONCATENATED MODULE: ./src/frame/packages/add-form-item/AddFormItem.vue?vue&type=style&index=0&id=09e51180&prod&lang=scss&
|
|
1629
|
+
|
|
1630
|
+
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
1631
|
+
var componentNormalizer = __webpack_require__(14);
|
|
1632
|
+
|
|
1633
|
+
// CONCATENATED MODULE: ./src/frame/packages/add-form-item/AddFormItem.vue
|
|
1634
|
+
var render, staticRenderFns
|
|
1635
|
+
|
|
1636
|
+
|
|
1637
|
+
|
|
1638
|
+
|
|
1639
|
+
|
|
1640
|
+
/* normalize component */
|
|
1641
|
+
|
|
1642
|
+
var component = Object(componentNormalizer["a" /* default */])(
|
|
1643
|
+
add_form_item_AddFormItemvue_type_script_lang_js_,
|
|
1644
|
+
render,
|
|
1645
|
+
staticRenderFns,
|
|
1646
|
+
false,
|
|
1647
|
+
null,
|
|
1648
|
+
null,
|
|
1649
|
+
null
|
|
1650
|
+
|
|
1651
|
+
)
|
|
1652
|
+
|
|
1653
|
+
/* harmony default export */ var AddFormItem = (component.exports);
|
|
1654
|
+
// CONCATENATED MODULE: ./src/frame/packages/add-form-item/index.js
|
|
1655
|
+
|
|
1656
|
+
|
|
1657
|
+
|
|
1658
|
+
|
|
1659
|
+
/* istanbul ignore next */
|
|
1660
|
+
AddFormItem.install = function install(Vue) {
|
|
1661
|
+
Vue.component(AddFormItem.name, AddFormItem);
|
|
1662
|
+
};
|
|
1663
|
+
/* harmony default export */ var add_form_item = __webpack_exports__["default"] = (AddFormItem);
|
|
1958
1664
|
|
|
1959
1665
|
/***/ }),
|
|
1960
|
-
|
|
1666
|
+
|
|
1667
|
+
/***/ 24:
|
|
1961
1668
|
/***/ (function(module, exports) {
|
|
1962
1669
|
|
|
1963
|
-
module.exports = require("
|
|
1670
|
+
module.exports = require("vuex");
|
|
1964
1671
|
|
|
1965
1672
|
/***/ }),
|
|
1966
|
-
|
|
1673
|
+
|
|
1674
|
+
/***/ 25:
|
|
1967
1675
|
/***/ (function(module, exports) {
|
|
1968
1676
|
|
|
1969
|
-
module.exports = require("core-js/modules/es.
|
|
1677
|
+
module.exports = require("core-js/modules/es.object.keys.js");
|
|
1970
1678
|
|
|
1971
1679
|
/***/ }),
|
|
1972
|
-
|
|
1680
|
+
|
|
1681
|
+
/***/ 26:
|
|
1973
1682
|
/***/ (function(module, exports) {
|
|
1974
1683
|
|
|
1975
|
-
module.exports = require("core-js/modules/es.
|
|
1684
|
+
module.exports = require("core-js/modules/es.array.slice.js");
|
|
1976
1685
|
|
|
1977
1686
|
/***/ }),
|
|
1978
|
-
|
|
1687
|
+
|
|
1688
|
+
/***/ 27:
|
|
1979
1689
|
/***/ (function(module, exports) {
|
|
1980
1690
|
|
|
1981
|
-
module.exports = require("core-js/modules/es.
|
|
1691
|
+
module.exports = require("core-js/modules/es.string.replace.js");
|
|
1982
1692
|
|
|
1983
1693
|
/***/ }),
|
|
1984
|
-
|
|
1694
|
+
|
|
1695
|
+
/***/ 28:
|
|
1985
1696
|
/***/ (function(module, exports) {
|
|
1986
1697
|
|
|
1987
|
-
module.exports = require("core-js/modules/es.
|
|
1698
|
+
module.exports = require("core-js/modules/es.array.from.js");
|
|
1988
1699
|
|
|
1989
1700
|
/***/ }),
|
|
1990
|
-
|
|
1701
|
+
|
|
1702
|
+
/***/ 29:
|
|
1703
|
+
/***/ (function(module, exports) {
|
|
1704
|
+
|
|
1705
|
+
module.exports = require("core-js/modules/es.array.filter.js");
|
|
1706
|
+
|
|
1707
|
+
/***/ }),
|
|
1708
|
+
|
|
1709
|
+
/***/ 3:
|
|
1991
1710
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1992
1711
|
|
|
1993
1712
|
"use strict";
|
|
1994
1713
|
|
|
1995
1714
|
// EXPORTS
|
|
1996
|
-
__webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */
|
|
1997
|
-
|
|
1998
|
-
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
1999
|
-
var esm_typeof = __webpack_require__(3);
|
|
1715
|
+
__webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ _toConsumableArray; });
|
|
2000
1716
|
|
|
2001
|
-
// EXTERNAL MODULE:
|
|
2002
|
-
var
|
|
1717
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
|
|
1718
|
+
var arrayLikeToArray = __webpack_require__(18);
|
|
2003
1719
|
|
|
2004
|
-
//
|
|
2005
|
-
var es_date_to_primitive_js_ = __webpack_require__(41);
|
|
1720
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
|
|
2006
1721
|
|
|
1722
|
+
function _arrayWithoutHoles(arr) {
|
|
1723
|
+
if (Array.isArray(arr)) return Object(arrayLikeToArray["a" /* default */])(arr);
|
|
1724
|
+
}
|
|
2007
1725
|
// EXTERNAL MODULE: external "core-js/modules/es.symbol.js"
|
|
2008
1726
|
var es_symbol_js_ = __webpack_require__(2);
|
|
2009
1727
|
|
|
@@ -2013,16 +1731,22 @@ var es_symbol_description_js_ = __webpack_require__(6);
|
|
|
2013
1731
|
// EXTERNAL MODULE: external "core-js/modules/es.object.to-string.js"
|
|
2014
1732
|
var es_object_to_string_js_ = __webpack_require__(1);
|
|
2015
1733
|
|
|
2016
|
-
// EXTERNAL MODULE: external "core-js/modules/es.
|
|
2017
|
-
var
|
|
1734
|
+
// EXTERNAL MODULE: external "core-js/modules/es.symbol.iterator.js"
|
|
1735
|
+
var es_symbol_iterator_js_ = __webpack_require__(10);
|
|
2018
1736
|
|
|
2019
|
-
// EXTERNAL MODULE: external "core-js/modules/es.
|
|
2020
|
-
var
|
|
1737
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.iterator.js"
|
|
1738
|
+
var es_array_iterator_js_ = __webpack_require__(22);
|
|
2021
1739
|
|
|
2022
|
-
//
|
|
1740
|
+
// EXTERNAL MODULE: external "core-js/modules/es.string.iterator.js"
|
|
1741
|
+
var es_string_iterator_js_ = __webpack_require__(5);
|
|
2023
1742
|
|
|
1743
|
+
// EXTERNAL MODULE: external "core-js/modules/web.dom-collections.iterator.js"
|
|
1744
|
+
var web_dom_collections_iterator_js_ = __webpack_require__(7);
|
|
2024
1745
|
|
|
1746
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.from.js"
|
|
1747
|
+
var es_array_from_js_ = __webpack_require__(28);
|
|
2025
1748
|
|
|
1749
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js
|
|
2026
1750
|
|
|
2027
1751
|
|
|
2028
1752
|
|
|
@@ -2034,157 +1758,262 @@ var es_error_cause_js_ = __webpack_require__(28);
|
|
|
2034
1758
|
|
|
2035
1759
|
|
|
2036
1760
|
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
2044
|
-
}
|
|
2045
|
-
return (hint === "string" ? String : Number)(input);
|
|
1761
|
+
|
|
1762
|
+
|
|
1763
|
+
|
|
1764
|
+
|
|
1765
|
+
function _iterableToArray(iter) {
|
|
1766
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
2046
1767
|
}
|
|
2047
|
-
//
|
|
1768
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
|
1769
|
+
var unsupportedIterableToArray = __webpack_require__(35);
|
|
2048
1770
|
|
|
1771
|
+
// EXTERNAL MODULE: external "core-js/modules/es.error.cause.js"
|
|
1772
|
+
var es_error_cause_js_ = __webpack_require__(31);
|
|
2049
1773
|
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
1774
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
|
1775
|
+
|
|
1776
|
+
function _nonIterableSpread() {
|
|
1777
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
1778
|
+
}
|
|
1779
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
|
|
1780
|
+
|
|
1781
|
+
|
|
1782
|
+
|
|
1783
|
+
|
|
1784
|
+
function _toConsumableArray(arr) {
|
|
1785
|
+
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || Object(unsupportedIterableToArray["a" /* default */])(arr) || _nonIterableSpread();
|
|
2053
1786
|
}
|
|
2054
1787
|
|
|
2055
1788
|
/***/ }),
|
|
2056
|
-
|
|
1789
|
+
|
|
1790
|
+
/***/ 30:
|
|
2057
1791
|
/***/ (function(module, exports) {
|
|
2058
1792
|
|
|
2059
|
-
module.exports = require("core-js/modules/es.
|
|
1793
|
+
module.exports = require("core-js/modules/es.array.includes.js");
|
|
2060
1794
|
|
|
2061
1795
|
/***/ }),
|
|
2062
|
-
|
|
1796
|
+
|
|
1797
|
+
/***/ 31:
|
|
2063
1798
|
/***/ (function(module, exports) {
|
|
2064
1799
|
|
|
2065
|
-
module.exports = require("core-js/modules/es.
|
|
1800
|
+
module.exports = require("core-js/modules/es.error.cause.js");
|
|
2066
1801
|
|
|
2067
1802
|
/***/ }),
|
|
2068
|
-
|
|
1803
|
+
|
|
1804
|
+
/***/ 32:
|
|
2069
1805
|
/***/ (function(module, exports) {
|
|
2070
1806
|
|
|
2071
|
-
module.exports = require("core-js/modules/es.
|
|
1807
|
+
module.exports = require("core-js/modules/es.string.includes.js");
|
|
2072
1808
|
|
|
2073
1809
|
/***/ }),
|
|
2074
|
-
|
|
1810
|
+
|
|
1811
|
+
/***/ 33:
|
|
2075
1812
|
/***/ (function(module, exports) {
|
|
2076
1813
|
|
|
2077
|
-
module.exports = require("core-js/modules/es.
|
|
1814
|
+
module.exports = require("core-js/modules/es.array.join.js");
|
|
2078
1815
|
|
|
2079
1816
|
/***/ }),
|
|
2080
|
-
/* 49 */
|
|
2081
|
-
/***/ (function(module, exports) {
|
|
2082
1817
|
|
|
2083
|
-
|
|
1818
|
+
/***/ 34:
|
|
1819
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1820
|
+
|
|
1821
|
+
"use strict";
|
|
1822
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _asyncToGenerator; });
|
|
1823
|
+
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
|
|
1824
|
+
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
1825
|
+
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36);
|
|
1826
|
+
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
|
|
1827
|
+
|
|
1828
|
+
|
|
1829
|
+
|
|
1830
|
+
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
1831
|
+
try {
|
|
1832
|
+
var info = gen[key](arg);
|
|
1833
|
+
var value = info.value;
|
|
1834
|
+
} catch (error) {
|
|
1835
|
+
reject(error);
|
|
1836
|
+
return;
|
|
1837
|
+
}
|
|
1838
|
+
if (info.done) {
|
|
1839
|
+
resolve(value);
|
|
1840
|
+
} else {
|
|
1841
|
+
Promise.resolve(value).then(_next, _throw);
|
|
1842
|
+
}
|
|
1843
|
+
}
|
|
1844
|
+
function _asyncToGenerator(fn) {
|
|
1845
|
+
return function () {
|
|
1846
|
+
var self = this,
|
|
1847
|
+
args = arguments;
|
|
1848
|
+
return new Promise(function (resolve, reject) {
|
|
1849
|
+
var gen = fn.apply(self, args);
|
|
1850
|
+
function _next(value) {
|
|
1851
|
+
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
|
1852
|
+
}
|
|
1853
|
+
function _throw(err) {
|
|
1854
|
+
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
|
1855
|
+
}
|
|
1856
|
+
_next(undefined);
|
|
1857
|
+
});
|
|
1858
|
+
};
|
|
1859
|
+
}
|
|
1860
|
+
|
|
1861
|
+
/***/ }),
|
|
1862
|
+
|
|
1863
|
+
/***/ 35:
|
|
1864
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1865
|
+
|
|
1866
|
+
"use strict";
|
|
1867
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _unsupportedIterableToArray; });
|
|
1868
|
+
/* harmony import */ var core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(26);
|
|
1869
|
+
/* 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__);
|
|
1870
|
+
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1);
|
|
1871
|
+
/* 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__);
|
|
1872
|
+
/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9);
|
|
1873
|
+
/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_2__);
|
|
1874
|
+
/* harmony import */ var core_js_modules_es_array_from_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(28);
|
|
1875
|
+
/* harmony import */ var core_js_modules_es_array_from_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_from_js__WEBPACK_IMPORTED_MODULE_3__);
|
|
1876
|
+
/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(5);
|
|
1877
|
+
/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_4__);
|
|
1878
|
+
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(12);
|
|
1879
|
+
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_5__);
|
|
1880
|
+
/* harmony import */ var core_js_modules_es_regexp_test_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(38);
|
|
1881
|
+
/* harmony import */ var core_js_modules_es_regexp_test_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_test_js__WEBPACK_IMPORTED_MODULE_6__);
|
|
1882
|
+
/* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(18);
|
|
1883
|
+
|
|
1884
|
+
|
|
1885
|
+
|
|
1886
|
+
|
|
1887
|
+
|
|
1888
|
+
|
|
1889
|
+
|
|
1890
|
+
|
|
1891
|
+
|
|
1892
|
+
|
|
1893
|
+
|
|
1894
|
+
|
|
1895
|
+
|
|
1896
|
+
|
|
1897
|
+
function _unsupportedIterableToArray(o, minLen) {
|
|
1898
|
+
if (!o) return;
|
|
1899
|
+
if (typeof o === "string") return Object(_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_7__[/* default */ "a"])(o, minLen);
|
|
1900
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
1901
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
1902
|
+
if (n === "Map" || n === "Set") return Array.from(o);
|
|
1903
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Object(_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_7__[/* default */ "a"])(o, minLen);
|
|
1904
|
+
}
|
|
2084
1905
|
|
|
2085
1906
|
/***/ }),
|
|
2086
|
-
|
|
1907
|
+
|
|
1908
|
+
/***/ 36:
|
|
2087
1909
|
/***/ (function(module, exports) {
|
|
2088
1910
|
|
|
2089
|
-
module.exports = require("core-js/modules/es.
|
|
1911
|
+
module.exports = require("core-js/modules/es.promise.js");
|
|
1912
|
+
|
|
1913
|
+
/***/ }),
|
|
1914
|
+
|
|
1915
|
+
/***/ 37:
|
|
1916
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1917
|
+
|
|
1918
|
+
"use strict";
|
|
1919
|
+
|
|
1920
|
+
// EXPORTS
|
|
1921
|
+
__webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ _objectWithoutProperties; });
|
|
1922
|
+
|
|
1923
|
+
// EXTERNAL MODULE: external "core-js/modules/es.symbol.js"
|
|
1924
|
+
var es_symbol_js_ = __webpack_require__(2);
|
|
1925
|
+
|
|
1926
|
+
// EXTERNAL MODULE: external "core-js/modules/es.object.keys.js"
|
|
1927
|
+
var es_object_keys_js_ = __webpack_require__(25);
|
|
1928
|
+
|
|
1929
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
|
|
1930
|
+
|
|
1931
|
+
|
|
1932
|
+
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
1933
|
+
if (source == null) return {};
|
|
1934
|
+
var target = {};
|
|
1935
|
+
var sourceKeys = Object.keys(source);
|
|
1936
|
+
var key, i;
|
|
1937
|
+
for (i = 0; i < sourceKeys.length; i++) {
|
|
1938
|
+
key = sourceKeys[i];
|
|
1939
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
1940
|
+
target[key] = source[key];
|
|
1941
|
+
}
|
|
1942
|
+
return target;
|
|
1943
|
+
}
|
|
1944
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
|
|
1945
|
+
|
|
1946
|
+
|
|
1947
|
+
|
|
1948
|
+
function _objectWithoutProperties(source, excluded) {
|
|
1949
|
+
if (source == null) return {};
|
|
1950
|
+
var target = _objectWithoutPropertiesLoose(source, excluded);
|
|
1951
|
+
var key, i;
|
|
1952
|
+
if (Object.getOwnPropertySymbols) {
|
|
1953
|
+
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
1954
|
+
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
|
1955
|
+
key = sourceSymbolKeys[i];
|
|
1956
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
1957
|
+
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
1958
|
+
target[key] = source[key];
|
|
1959
|
+
}
|
|
1960
|
+
}
|
|
1961
|
+
return target;
|
|
1962
|
+
}
|
|
2090
1963
|
|
|
2091
1964
|
/***/ }),
|
|
2092
|
-
|
|
1965
|
+
|
|
1966
|
+
/***/ 38:
|
|
2093
1967
|
/***/ (function(module, exports) {
|
|
2094
1968
|
|
|
2095
|
-
module.exports = require("core-js/modules/es.
|
|
1969
|
+
module.exports = require("core-js/modules/es.regexp.test.js");
|
|
2096
1970
|
|
|
2097
1971
|
/***/ }),
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
/* 54 */,
|
|
2101
|
-
/* 55 */,
|
|
2102
|
-
/* 56 */,
|
|
2103
|
-
/* 57 */,
|
|
2104
|
-
/* 58 */,
|
|
2105
|
-
/* 59 */,
|
|
2106
|
-
/* 60 */,
|
|
2107
|
-
/* 61 */,
|
|
2108
|
-
/* 62 */,
|
|
2109
|
-
/* 63 */,
|
|
2110
|
-
/* 64 */,
|
|
2111
|
-
/* 65 */,
|
|
2112
|
-
/* 66 */,
|
|
2113
|
-
/* 67 */,
|
|
2114
|
-
/* 68 */,
|
|
2115
|
-
/* 69 */,
|
|
2116
|
-
/* 70 */,
|
|
2117
|
-
/* 71 */,
|
|
2118
|
-
/* 72 */,
|
|
2119
|
-
/* 73 */,
|
|
2120
|
-
/* 74 */,
|
|
2121
|
-
/* 75 */,
|
|
2122
|
-
/* 76 */,
|
|
2123
|
-
/* 77 */,
|
|
2124
|
-
/* 78 */,
|
|
2125
|
-
/* 79 */,
|
|
2126
|
-
/* 80 */,
|
|
2127
|
-
/* 81 */,
|
|
2128
|
-
/* 82 */,
|
|
2129
|
-
/* 83 */,
|
|
2130
|
-
/* 84 */,
|
|
2131
|
-
/* 85 */,
|
|
2132
|
-
/* 86 */,
|
|
2133
|
-
/* 87 */,
|
|
2134
|
-
/* 88 */,
|
|
2135
|
-
/* 89 */,
|
|
2136
|
-
/* 90 */,
|
|
2137
|
-
/* 91 */,
|
|
2138
|
-
/* 92 */,
|
|
2139
|
-
/* 93 */,
|
|
2140
|
-
/* 94 */,
|
|
2141
|
-
/* 95 */,
|
|
2142
|
-
/* 96 */,
|
|
2143
|
-
/* 97 */,
|
|
2144
|
-
/* 98 */,
|
|
2145
|
-
/* 99 */,
|
|
2146
|
-
/* 100 */,
|
|
2147
|
-
/* 101 */,
|
|
2148
|
-
/* 102 */,
|
|
2149
|
-
/* 103 */,
|
|
2150
|
-
/* 104 */,
|
|
2151
|
-
/* 105 */,
|
|
2152
|
-
/* 106 */,
|
|
2153
|
-
/* 107 */,
|
|
2154
|
-
/* 108 */,
|
|
2155
|
-
/* 109 */,
|
|
2156
|
-
/* 110 */,
|
|
2157
|
-
/* 111 */,
|
|
2158
|
-
/* 112 */,
|
|
2159
|
-
/* 113 */,
|
|
2160
|
-
/* 114 */,
|
|
2161
|
-
/* 115 */,
|
|
2162
|
-
/* 116 */,
|
|
2163
|
-
/* 117 */
|
|
1972
|
+
|
|
1973
|
+
/***/ 39:
|
|
2164
1974
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2165
1975
|
|
|
2166
1976
|
"use strict";
|
|
2167
|
-
/* harmony import */ var
|
|
2168
|
-
/* harmony import */ var
|
|
2169
|
-
/* harmony import */ var
|
|
2170
|
-
/* harmony import */ var
|
|
2171
|
-
/* harmony import */ var
|
|
2172
|
-
/* harmony import */ var
|
|
2173
|
-
/* harmony import */ var
|
|
2174
|
-
/* harmony import */ var
|
|
2175
|
-
/* harmony import */ var
|
|
2176
|
-
/* harmony import */ var
|
|
2177
|
-
/* harmony import */ var
|
|
2178
|
-
/* harmony import */ var
|
|
2179
|
-
/* harmony import */ var
|
|
2180
|
-
/* harmony import */ var
|
|
2181
|
-
/* harmony import */ var
|
|
2182
|
-
/* harmony import */ var
|
|
2183
|
-
/* harmony import */ var
|
|
2184
|
-
/* harmony import */ var
|
|
2185
|
-
/* harmony import */ var
|
|
2186
|
-
/* harmony import */ var
|
|
2187
|
-
/* harmony import */ var
|
|
1977
|
+
/* harmony import */ var E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(16);
|
|
1978
|
+
/* harmony import */ var E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(34);
|
|
1979
|
+
/* harmony import */ var E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(3);
|
|
1980
|
+
/* harmony import */ var E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(37);
|
|
1981
|
+
/* harmony import */ var E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(0);
|
|
1982
|
+
/* harmony import */ var E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_typeof_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(4);
|
|
1983
|
+
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(1);
|
|
1984
|
+
/* 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__);
|
|
1985
|
+
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(8);
|
|
1986
|
+
/* 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__);
|
|
1987
|
+
/* harmony import */ var core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(13);
|
|
1988
|
+
/* 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__);
|
|
1989
|
+
/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(11);
|
|
1990
|
+
/* 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__);
|
|
1991
|
+
/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(30);
|
|
1992
|
+
/* 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__);
|
|
1993
|
+
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(32);
|
|
1994
|
+
/* 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__);
|
|
1995
|
+
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(12);
|
|
1996
|
+
/* 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__);
|
|
1997
|
+
/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(27);
|
|
1998
|
+
/* 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__);
|
|
1999
|
+
/* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(17);
|
|
2000
|
+
/* 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__);
|
|
2001
|
+
/* harmony import */ var core_js_modules_es_array_find_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(23);
|
|
2002
|
+
/* 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__);
|
|
2003
|
+
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(36);
|
|
2004
|
+
/* 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__);
|
|
2005
|
+
/* harmony import */ var core_js_modules_es_regexp_test_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(38);
|
|
2006
|
+
/* 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__);
|
|
2007
|
+
/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(24);
|
|
2008
|
+
/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(vuex__WEBPACK_IMPORTED_MODULE_18__);
|
|
2009
|
+
|
|
2010
|
+
|
|
2011
|
+
|
|
2012
|
+
|
|
2013
|
+
|
|
2014
|
+
|
|
2015
|
+
var _excluded = ["itemConfigs"];
|
|
2016
|
+
|
|
2188
2017
|
|
|
2189
2018
|
|
|
2190
2019
|
|
|
@@ -2205,611 +2034,686 @@ module.exports = require("core-js/modules/es.object.proto.js");
|
|
|
2205
2034
|
|
|
2206
2035
|
|
|
2207
2036
|
|
|
2208
|
-
//
|
|
2209
2037
|
|
|
2038
|
+
// 组件实例
|
|
2210
2039
|
|
|
2040
|
+
function broadcast(id, eventName) {
|
|
2041
|
+
for (var _len = arguments.length, params = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
|
|
2042
|
+
params[_key - 2] = arguments[_key];
|
|
2043
|
+
}
|
|
2044
|
+
this.$children.forEach(function (child) {
|
|
2045
|
+
var childId = child.compId;
|
|
2046
|
+
if (childId === id) {
|
|
2047
|
+
if (child[eventName]) {
|
|
2048
|
+
child[eventName].apply(child, params);
|
|
2049
|
+
}
|
|
2050
|
+
} else {
|
|
2051
|
+
broadcast.apply(child, [id, eventName].concat([params]));
|
|
2052
|
+
}
|
|
2053
|
+
});
|
|
2054
|
+
}
|
|
2055
|
+
function formatI18nConfig(configs, language) {
|
|
2056
|
+
var level = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;
|
|
2057
|
+
if (level > 2) return;
|
|
2058
|
+
for (var key in configs) {
|
|
2059
|
+
if (configs[key]) {
|
|
2060
|
+
if (Array.isArray(configs[key])) {
|
|
2061
|
+
configs[key].map(function (item) {
|
|
2062
|
+
formatI18nConfig(item, language, level + 1);
|
|
2063
|
+
});
|
|
2064
|
+
} else if (key.includes('.i18n')) {
|
|
2065
|
+
var defaultKey = key.replace(/.i18n/, '');
|
|
2066
|
+
configs[defaultKey] = configs[key][language] || configs[defaultKey];
|
|
2067
|
+
} else if (Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_typeof_js__WEBPACK_IMPORTED_MODULE_5__[/* default */ "a"])(configs[key]) === 'object') {
|
|
2068
|
+
formatI18nConfig(configs[key], language, level + 1);
|
|
2069
|
+
}
|
|
2070
|
+
}
|
|
2071
|
+
}
|
|
2072
|
+
return configs;
|
|
2073
|
+
}
|
|
2211
2074
|
/* harmony default export */ __webpack_exports__["a"] = ({
|
|
2212
|
-
|
|
2213
|
-
mixins: [_utils_mixins_component__WEBPACK_IMPORTED_MODULE_11__[/* default */ "a"]],
|
|
2214
|
-
componentName: 'addFormItem',
|
|
2215
|
-
showTitle: 'more',
|
|
2216
|
-
formTitleStyle: 'default',
|
|
2217
|
-
fieldConfigs: {},
|
|
2075
|
+
$componentType: 'component',
|
|
2218
2076
|
inheritAttrs: false,
|
|
2219
|
-
|
|
2077
|
+
navConfigs: {
|
|
2078
|
+
flag: false
|
|
2079
|
+
},
|
|
2220
2080
|
props: {
|
|
2221
|
-
|
|
2222
|
-
type:
|
|
2223
|
-
default: function _default() {
|
|
2224
|
-
return {};
|
|
2225
|
-
}
|
|
2081
|
+
compId: {
|
|
2082
|
+
type: [String, Number]
|
|
2226
2083
|
},
|
|
2227
|
-
|
|
2228
|
-
|
|
2084
|
+
// 组件id
|
|
2085
|
+
contentType: String,
|
|
2086
|
+
// 模板名称
|
|
2087
|
+
compStyle: {
|
|
2229
2088
|
type: Object,
|
|
2230
2089
|
default: function _default() {
|
|
2231
2090
|
return {};
|
|
2232
2091
|
}
|
|
2233
2092
|
},
|
|
2234
|
-
|
|
2093
|
+
// 组件样式
|
|
2094
|
+
compConfigs: {
|
|
2235
2095
|
type: Object,
|
|
2236
2096
|
default: function _default() {
|
|
2237
2097
|
return {};
|
|
2238
2098
|
}
|
|
2239
2099
|
},
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
2100
|
+
compFlex: {
|
|
2101
|
+
type: Boolean
|
|
2102
|
+
},
|
|
2103
|
+
compTitle: String,
|
|
2104
|
+
items: Array,
|
|
2105
|
+
//
|
|
2106
|
+
itemConfigs: Object
|
|
2244
2107
|
},
|
|
2245
2108
|
data: function data() {
|
|
2246
2109
|
return {
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
fieldsConfigs: [],
|
|
2250
|
-
loadForm: true
|
|
2110
|
+
component: {},
|
|
2111
|
+
configs: {}
|
|
2251
2112
|
};
|
|
2252
2113
|
},
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2114
|
+
inject: {
|
|
2115
|
+
pageId: {
|
|
2116
|
+
type: String,
|
|
2117
|
+
default: function _default() {
|
|
2118
|
+
return null;
|
|
2119
|
+
}
|
|
2120
|
+
},
|
|
2121
|
+
pageMetaId: {
|
|
2122
|
+
type: String,
|
|
2123
|
+
default: function _default() {
|
|
2124
|
+
return null;
|
|
2125
|
+
}
|
|
2126
|
+
},
|
|
2127
|
+
upPage: {
|
|
2128
|
+
type: Object,
|
|
2129
|
+
default: function _default() {
|
|
2130
|
+
return null;
|
|
2131
|
+
}
|
|
2132
|
+
},
|
|
2133
|
+
// 获取所属标签页
|
|
2134
|
+
$getTab: {
|
|
2135
|
+
type: Function
|
|
2136
|
+
}
|
|
2137
|
+
},
|
|
2138
|
+
computed: Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"])(Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"])(Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"])({}, Object(vuex__WEBPACK_IMPORTED_MODULE_18__["mapState"])({
|
|
2139
|
+
metas: function metas(state) {
|
|
2140
|
+
return state.meta.metas;
|
|
2141
|
+
} // 元数据信息集合
|
|
2142
|
+
})), Object(vuex__WEBPACK_IMPORTED_MODULE_18__["mapGetters"])(['getMeta', 'getPageById'])), {}, {
|
|
2143
|
+
isPage: function isPage() {
|
|
2144
|
+
var $componentType = this.$options.$componentType;
|
|
2145
|
+
return $componentType === 'page';
|
|
2146
|
+
},
|
|
2147
|
+
$component: {
|
|
2148
|
+
get: function get() {
|
|
2149
|
+
return this.component;
|
|
2150
|
+
},
|
|
2151
|
+
set: function set(v) {
|
|
2152
|
+
this.component = v;
|
|
2153
|
+
}
|
|
2154
|
+
},
|
|
2155
|
+
$configs: {
|
|
2156
|
+
get: function get() {
|
|
2157
|
+
return this.configs;
|
|
2158
|
+
},
|
|
2159
|
+
set: function set(v) {
|
|
2160
|
+
this.configs = v;
|
|
2161
|
+
}
|
|
2162
|
+
},
|
|
2163
|
+
// 当前页面id
|
|
2164
|
+
$pageMetaId: function $pageMetaId() {
|
|
2165
|
+
// 获取当前传递的metaId
|
|
2166
|
+
var metaId = null;
|
|
2167
|
+
if (this.meta && this.meta.id) {
|
|
2168
|
+
metaId = this.meta.id;
|
|
2169
|
+
}
|
|
2170
|
+
return metaId || this.pageMetaId;
|
|
2171
|
+
},
|
|
2172
|
+
/**
|
|
2173
|
+
* 当前组件对象元数据id 不设置 默认为当前页面对象
|
|
2174
|
+
*/
|
|
2175
|
+
$metaId: function $metaId() {
|
|
2176
|
+
var metaId = this.$configs.metaId;
|
|
2177
|
+
return metaId || this.$pageMetaId;
|
|
2178
|
+
},
|
|
2179
|
+
// 当前组件对象
|
|
2180
|
+
$meta: function $meta() {
|
|
2181
|
+
if (this.$metaId) {
|
|
2182
|
+
var meta = this.getMeta(this.$metaId);
|
|
2183
|
+
return meta;
|
|
2259
2184
|
} else {
|
|
2260
|
-
return
|
|
2185
|
+
return null;
|
|
2261
2186
|
}
|
|
2262
2187
|
},
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2188
|
+
$metaKey: function $metaKey() {
|
|
2189
|
+
if (this.$meta) {
|
|
2190
|
+
return this.$meta.getKey() || 'ID';
|
|
2191
|
+
} else {
|
|
2192
|
+
return 'ID';
|
|
2193
|
+
}
|
|
2194
|
+
},
|
|
2195
|
+
$parentPage: function $parentPage() {
|
|
2196
|
+
// 父级页面
|
|
2197
|
+
var parentPage = this.component.parentPage;
|
|
2198
|
+
return parentPage;
|
|
2199
|
+
},
|
|
2200
|
+
$parentPageModel: function $parentPageModel() {
|
|
2201
|
+
var _this$component$paren = this.component.parentPage,
|
|
2202
|
+
parentPage = _this$component$paren === void 0 ? {} : _this$component$paren;
|
|
2203
|
+
return parentPage.model;
|
|
2204
|
+
},
|
|
2205
|
+
$pageId: function $pageId() {
|
|
2206
|
+
var _ref = this.page || {},
|
|
2207
|
+
pageId = _ref.pageId;
|
|
2208
|
+
return this.isPage ? pageId : this.pageId || pageId;
|
|
2209
|
+
},
|
|
2210
|
+
$pageInfo: function $pageInfo() {
|
|
2211
|
+
if (this.$pageId) return this.getPageById(this.$pageId) || {};
|
|
2212
|
+
return {};
|
|
2213
|
+
},
|
|
2214
|
+
/**
|
|
2215
|
+
* 事件处理总线
|
|
2216
|
+
*/
|
|
2217
|
+
$event: function $event() {
|
|
2218
|
+
var comp = this;
|
|
2219
|
+
while (comp.$parent && comp.$options.$componentType !== 'page') {
|
|
2220
|
+
comp = comp.$parent;
|
|
2221
|
+
}
|
|
2222
|
+
return {
|
|
2223
|
+
emit: function emit(event) {
|
|
2224
|
+
for (var _len2 = arguments.length, params = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
|
|
2225
|
+
params[_key2 - 1] = arguments[_key2];
|
|
2226
|
+
}
|
|
2227
|
+
comp.$emit(event, [].concat(params));
|
|
2228
|
+
},
|
|
2229
|
+
on: function on(event, callback) {
|
|
2230
|
+
var _this = this;
|
|
2231
|
+
comp.$on(event, function (params) {
|
|
2232
|
+
return callback.apply(_this, params);
|
|
2233
|
+
});
|
|
2234
|
+
}
|
|
2235
|
+
};
|
|
2267
2236
|
},
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2237
|
+
$currentRole: function $currentRole() {
|
|
2238
|
+
var _ref2 = this.$route.params || {},
|
|
2239
|
+
role = _ref2.role;
|
|
2240
|
+
var _this$user$serviceRol = this.user.serviceRoles,
|
|
2241
|
+
serviceRoles = _this$user$serviceRol === void 0 ? {} : _this$user$serviceRol;
|
|
2242
|
+
var roleList = serviceRoles[this.appConfig.ID] || [];
|
|
2243
|
+
var currentRole = roleList.find(function (item) {
|
|
2244
|
+
return item.code === role;
|
|
2245
|
+
}) || {};
|
|
2246
|
+
return currentRole;
|
|
2247
|
+
},
|
|
2248
|
+
$currentRoleId: function $currentRoleId() {
|
|
2249
|
+
return this.$currentRole.id;
|
|
2275
2250
|
}
|
|
2276
|
-
},
|
|
2251
|
+
}),
|
|
2277
2252
|
watch: {
|
|
2278
|
-
|
|
2279
|
-
this.
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
if (v) {
|
|
2284
|
-
this.editFn();
|
|
2285
|
-
}
|
|
2286
|
-
},
|
|
2287
|
-
immediate: true
|
|
2253
|
+
compConfigs: function compConfigs(v) {
|
|
2254
|
+
if (!this.$_.isEqual(this.oldCompConfigs, v)) {
|
|
2255
|
+
this._createComponent();
|
|
2256
|
+
}
|
|
2257
|
+
this.oldCompConfigs = this.$_.cloneDeep(v);
|
|
2288
2258
|
}
|
|
2289
2259
|
},
|
|
2290
2260
|
methods: {
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
}
|
|
2297
|
-
},
|
|
2298
|
-
getFieldsConfigs: function getFieldsConfigs() {
|
|
2299
|
-
var _this2 = this;
|
|
2300
|
-
var pageType = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.componentType;
|
|
2301
|
-
var _this$formConfigs$fie = this.formConfigs.fieldConfigs,
|
|
2302
|
-
formFieldConfigs = _this$formConfigs$fie === void 0 ? {} : _this$formConfigs$fie;
|
|
2303
|
-
var _this$$configs = this.$configs,
|
|
2304
|
-
fields = _this$$configs.fields,
|
|
2305
|
-
_this$$configs$fieldC = _this$$configs.fieldConfigs,
|
|
2306
|
-
fieldConfigs = _this$$configs$fieldC === void 0 ? {} : _this$$configs$fieldC;
|
|
2307
|
-
var _this$$query$fieldCon = this.$query.fieldConfigs,
|
|
2308
|
-
routeFieldConfigs = _this$$query$fieldCon === void 0 ? {} : _this$$query$fieldCon;
|
|
2309
|
-
this.$FieldFactory.createFields({
|
|
2310
|
-
defaultFieldConfigs: Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])({}, formFieldConfigs), routeFieldConfigs), fieldConfigs),
|
|
2311
|
-
meta: this.$meta,
|
|
2312
|
-
metaId: this.$metaId,
|
|
2313
|
-
fieldScope: this.fieldScope,
|
|
2314
|
-
pageType: pageType,
|
|
2315
|
-
fields: fields
|
|
2316
|
-
}).then(function (data) {
|
|
2317
|
-
_this2.fieldsConfigs = Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(data);
|
|
2318
|
-
if (_this2.onAfterFieldsConfigs) _this2.onAfterFieldsConfigs();
|
|
2319
|
-
data && data.forEach(function (item) {
|
|
2320
|
-
if ((!_this2.formData[item.attriName] || _this2.componentType === 'ADD') && item.value) {
|
|
2321
|
-
// eslint-disable-next-line no-unused-vars
|
|
2322
|
-
var _this = _this2;
|
|
2323
|
-
// 设置字段默认值
|
|
2324
|
-
var value = item.value;
|
|
2325
|
-
if (typeof value === 'string') {
|
|
2326
|
-
value = item.value.replace(/\$\[(.+)\]/, function (match, key) {
|
|
2327
|
-
try {
|
|
2328
|
-
// eslint-disable-next-line no-eval
|
|
2329
|
-
return eval("_this.".concat(key)) || eval("_this.$query.".concat(key)) || eval("_this.$tab.".concat(key)) || eval("_this.$route.query.".concat(key)) || '';
|
|
2330
|
-
} catch (error) {
|
|
2331
|
-
return item.value;
|
|
2332
|
-
}
|
|
2333
|
-
});
|
|
2334
|
-
}
|
|
2335
|
-
_this2.$set(_this2.formData, item.attriName, value);
|
|
2336
|
-
}
|
|
2337
|
-
});
|
|
2338
|
-
});
|
|
2339
|
-
},
|
|
2340
|
-
editFn: function editFn() {
|
|
2341
|
-
var _this3 = this;
|
|
2342
|
-
this.getFieldsConfigs('EDIT');
|
|
2343
|
-
this.isEdit = true;
|
|
2344
|
-
this.isFold = false;
|
|
2345
|
-
this.loadForm = false;
|
|
2346
|
-
this.$nextTick(function () {
|
|
2347
|
-
_this3.loadForm = true;
|
|
2348
|
-
});
|
|
2261
|
+
$refesh: function $refesh() {
|
|
2262
|
+
// this.$children.forEach(child => {
|
|
2263
|
+
// if (child.$options.componentType === 'component') {
|
|
2264
|
+
// if (child.$refesh) child.$refesh()
|
|
2265
|
+
// }
|
|
2266
|
+
// })
|
|
2349
2267
|
},
|
|
2350
|
-
|
|
2351
|
-
this.
|
|
2352
|
-
this.$emit('cancel-edit', finish);
|
|
2353
|
-
this.getFieldsConfigs();
|
|
2354
|
-
if (finish && this.form) {
|
|
2355
|
-
this.form.$refesh();
|
|
2356
|
-
}
|
|
2268
|
+
$refeshPage: function $refeshPage() {
|
|
2269
|
+
if (this.upPage) this.upPage.$refesh();
|
|
2357
2270
|
},
|
|
2358
|
-
|
|
2359
|
-
var
|
|
2360
|
-
|
|
2361
|
-
var
|
|
2362
|
-
var
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
}
|
|
2368
|
-
if (form) {
|
|
2369
|
-
var _ref = this.$configs || {},
|
|
2370
|
-
_ref$hiddenFields = _ref.hiddenFields,
|
|
2371
|
-
hiddenFields = _ref$hiddenFields === void 0 ? [] : _ref$hiddenFields;
|
|
2372
|
-
hiddenFields.forEach(function (field) {
|
|
2373
|
-
if (field.attriName && field.value) {
|
|
2374
|
-
params["bean.".concat(field.attriName)] = field.value;
|
|
2375
|
-
}
|
|
2376
|
-
});
|
|
2377
|
-
form.validate(function (valid, err) {
|
|
2378
|
-
if (!valid) {
|
|
2379
|
-
for (var key in err) {
|
|
2380
|
-
var errMessgae = err[key][0];
|
|
2381
|
-
_this4.$message.error(errMessgae.message);
|
|
2382
|
-
submitFlag = false;
|
|
2383
|
-
return;
|
|
2384
|
-
}
|
|
2385
|
-
}
|
|
2386
|
-
});
|
|
2387
|
-
var _loop = function _loop(field) {
|
|
2388
|
-
var formValue = form.model.data[field];
|
|
2389
|
-
if (!field.includes('#')) {
|
|
2390
|
-
var submitValue = formValue;
|
|
2391
|
-
var fieldConfigs = _this4.fieldsConfigs.find(function (item) {
|
|
2392
|
-
return item.attriName === field;
|
|
2393
|
-
}) || {};
|
|
2394
|
-
if (Array.isArray(formValue)) {
|
|
2395
|
-
submitValue = formValue[formValue.length - 1];
|
|
2396
|
-
}
|
|
2397
|
-
if (fieldConfigs.state === 'READONLY' || fieldConfigs.dataType === 'password' && !submitValue) return "continue";
|
|
2398
|
-
params[fieldConfigs.name || "bean.".concat(field)] = submitValue || '';
|
|
2399
|
-
}
|
|
2400
|
-
};
|
|
2401
|
-
for (var field in form.model.data) {
|
|
2402
|
-
var _ret = _loop(field);
|
|
2403
|
-
if (_ret === "continue") continue;
|
|
2271
|
+
$routerChange: function $routerChange(callback) {
|
|
2272
|
+
var _this2 = this;
|
|
2273
|
+
// 获取上级路由
|
|
2274
|
+
var parent = this.$parent || this.$root;
|
|
2275
|
+
var name = parent.$options.componentName;
|
|
2276
|
+
while (parent && (!name || name !== 'routerView')) {
|
|
2277
|
+
parent = parent.$parent;
|
|
2278
|
+
if (parent) {
|
|
2279
|
+
name = parent.$options.componentName;
|
|
2404
2280
|
}
|
|
2405
2281
|
}
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
var validateFunction = componentEvents.formVadiate;
|
|
2410
|
-
if (validateFunction) {
|
|
2411
|
-
var flag = validateFunction.every(function (item) {
|
|
2412
|
-
return _this4.executeCustomJs(validateFunction);
|
|
2282
|
+
if (parent) {
|
|
2283
|
+
parent.$on('change', function (params) {
|
|
2284
|
+
return callback.apply(_this2, params);
|
|
2413
2285
|
});
|
|
2414
|
-
if (!flag) return;
|
|
2415
2286
|
}
|
|
2416
|
-
if (!submitFlag) return;
|
|
2417
|
-
this.$http.update(Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])({
|
|
2418
|
-
entityId: this.$metaId
|
|
2419
|
-
}, querySumitParams), params)).then(function () {
|
|
2420
|
-
_this4.$message.success(_this4.$t('save successfully'));
|
|
2421
|
-
_this4.upPage && _this4.upPage.$refesh();
|
|
2422
|
-
_this4.cancel(true);
|
|
2423
|
-
}).catch(function (err) {
|
|
2424
|
-
_this4.$message.error(err.message || _this4.$t('fail to save'));
|
|
2425
|
-
});
|
|
2426
2287
|
},
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
var
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
}
|
|
2436
|
-
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
"on": {
|
|
2440
|
-
"click": this.editFn.bind(this)
|
|
2441
|
-
}
|
|
2442
|
-
}, [h("i", {
|
|
2443
|
-
"class": "el-icon-edit-outline"
|
|
2444
|
-
}), this.$t('edit')]), h("i", {
|
|
2445
|
-
"class": ['epx-add-form-item__title-foldicon', 'el-icon-caret-top'],
|
|
2446
|
-
"on": {
|
|
2447
|
-
"click": function click() {
|
|
2448
|
-
_this5.isFold = !_this5.isFold;
|
|
2449
|
-
}
|
|
2450
|
-
}
|
|
2451
|
-
})])]);
|
|
2288
|
+
// 获取上级页面
|
|
2289
|
+
$getParentPage: function $getParentPage() {
|
|
2290
|
+
var parent = this.$parent || this.$root;
|
|
2291
|
+
var type = parent.$options.$componentType;
|
|
2292
|
+
while (parent && (!type || type !== 'page')) {
|
|
2293
|
+
parent = parent.$parent;
|
|
2294
|
+
if (parent) {
|
|
2295
|
+
type = parent.$options.componentName;
|
|
2296
|
+
}
|
|
2297
|
+
}
|
|
2298
|
+
if (parent) {
|
|
2299
|
+
return parent;
|
|
2452
2300
|
}
|
|
2453
2301
|
},
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
-
|
|
2459
|
-
"class": "epx-add-form-item__note"
|
|
2460
|
-
}, [h("i", {
|
|
2461
|
-
"class": "el-icon-info"
|
|
2462
|
-
}), h("span", {
|
|
2463
|
-
"class": "epx-add-form-item__note-html"
|
|
2464
|
-
}, [h("span", {
|
|
2465
|
-
"domProps": {
|
|
2466
|
-
"innerHTML": this.$configs.note
|
|
2467
|
-
}
|
|
2468
|
-
}), this.$configs.help && h("el-button", {
|
|
2469
|
-
"attrs": {
|
|
2470
|
-
"size": "mini",
|
|
2471
|
-
"type": "text"
|
|
2472
|
-
},
|
|
2473
|
-
"class": "epx-add-form-item__help",
|
|
2474
|
-
"on": {
|
|
2475
|
-
"click": this.openHelp
|
|
2476
|
-
}
|
|
2477
|
-
}, ["\u4E86\u89E3\u66F4\u591A"])])]), this.renderForm(), this.isEdit && !this.$isMobile && h("div", {
|
|
2478
|
-
"class": "epx-add-form-item__buttongroup"
|
|
2479
|
-
}, [h("el-button", {
|
|
2480
|
-
"attrs": {
|
|
2481
|
-
"type": "primary"
|
|
2482
|
-
},
|
|
2483
|
-
"on": {
|
|
2484
|
-
"click": this.save.bind(this)
|
|
2302
|
+
// 修改上级页面数据
|
|
2303
|
+
$setParentPageModel: function $setParentPageModel(model) {
|
|
2304
|
+
if (this.$parentPage) {
|
|
2305
|
+
for (var key in model) {
|
|
2306
|
+
this.$parentPage.$set(this.$parentPage.model, key, model[key]);
|
|
2485
2307
|
}
|
|
2486
|
-
}
|
|
2487
|
-
|
|
2488
|
-
|
|
2308
|
+
}
|
|
2309
|
+
},
|
|
2310
|
+
// 调用上级页面内组件事件
|
|
2311
|
+
$dispatchComponent: function $dispatchComponent(id, eventName) {
|
|
2312
|
+
if (this.$parentPage) {
|
|
2313
|
+
for (var _len3 = arguments.length, params = new Array(_len3 > 2 ? _len3 - 2 : 0), _key3 = 2; _key3 < _len3; _key3++) {
|
|
2314
|
+
params[_key3 - 2] = arguments[_key3];
|
|
2489
2315
|
}
|
|
2490
|
-
|
|
2316
|
+
// 组件id
|
|
2317
|
+
broadcast.apply(this.$parentPage, [id, eventName].concat(params));
|
|
2318
|
+
}
|
|
2491
2319
|
},
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
var
|
|
2495
|
-
var
|
|
2496
|
-
|
|
2497
|
-
|
|
2498
|
-
|
|
2499
|
-
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
"attrs": {
|
|
2507
|
-
"metaId": this.$metaId,
|
|
2508
|
-
"fieldsConfigs": this.fieldsConfigs,
|
|
2509
|
-
"pageType": this.componentType,
|
|
2510
|
-
"fieldRelation": this.fieldRelation,
|
|
2511
|
-
"column": this.column,
|
|
2512
|
-
"labelAlign": this.$configs.labelAlign,
|
|
2513
|
-
"lineSpace": lineSpace,
|
|
2514
|
-
"labelWidth": labelWidth,
|
|
2515
|
-
"labelFontSize": labelFontSize,
|
|
2516
|
-
"valueFontSize": valueFontSize
|
|
2517
|
-
},
|
|
2518
|
-
"model": {
|
|
2519
|
-
value: _this6.data,
|
|
2520
|
-
callback: function callback($$v) {
|
|
2521
|
-
_this6.data = $$v;
|
|
2522
|
-
}
|
|
2523
|
-
}
|
|
2524
|
-
});
|
|
2320
|
+
// 获取页面内组件
|
|
2321
|
+
$getPageComponent: function $getPageComponent(id) {
|
|
2322
|
+
var current = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this;
|
|
2323
|
+
var prefix = arguments.length > 2 ? arguments[2] : undefined;
|
|
2324
|
+
var newId = prefix ? prefix + '-' + id : id;
|
|
2325
|
+
for (var i = 0; i < current.$children.length; i++) {
|
|
2326
|
+
var child = current.$children[i];
|
|
2327
|
+
var childId = child.compId;
|
|
2328
|
+
if (childId === newId) {
|
|
2329
|
+
return child;
|
|
2330
|
+
} else {
|
|
2331
|
+
var component = this.$getPageComponent(id, child);
|
|
2332
|
+
if (component) return component;
|
|
2333
|
+
}
|
|
2525
2334
|
}
|
|
2526
2335
|
},
|
|
2527
|
-
|
|
2528
|
-
var
|
|
2529
|
-
var
|
|
2530
|
-
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
|
|
2336
|
+
$excuteEvent: function $excuteEvent(key) {
|
|
2337
|
+
var _this3 = this;
|
|
2338
|
+
for (var _len4 = arguments.length, args = new Array(_len4 > 1 ? _len4 - 1 : 0), _key4 = 1; _key4 < _len4; _key4++) {
|
|
2339
|
+
args[_key4 - 1] = arguments[_key4];
|
|
2340
|
+
}
|
|
2341
|
+
var _this$$configs$compon = this.$configs.componentEvents,
|
|
2342
|
+
componentEvents = _this$$configs$compon === void 0 ? [] : _this$$configs$compon;
|
|
2343
|
+
var _componentEvents$key = componentEvents[key],
|
|
2344
|
+
keyEvents = _componentEvents$key === void 0 ? [] : _componentEvents$key;
|
|
2345
|
+
keyEvents.map(function (event) {
|
|
2346
|
+
return _this3.executeCustomJs.apply(_this3, [event].concat(args));
|
|
2347
|
+
});
|
|
2348
|
+
},
|
|
2349
|
+
_createComponent: function _createComponent() {
|
|
2350
|
+
var language = this.$util.getCurrentLanguage();
|
|
2351
|
+
var height = '';
|
|
2352
|
+
// 页面配置
|
|
2353
|
+
var _configs = {};
|
|
2354
|
+
var queryPageConfigs = this.$query.pageConfigs || {};
|
|
2355
|
+
var _this$$pageInfo$confi = this.$pageInfo.config,
|
|
2356
|
+
pageConfigs = _this$$pageInfo$confi === void 0 ? queryPageConfigs : _this$$pageInfo$confi;
|
|
2357
|
+
var _pageConfigs$itemConf = pageConfigs.itemConfigs,
|
|
2358
|
+
itemConfigs = _pageConfigs$itemConf === void 0 ? {} : _pageConfigs$itemConf,
|
|
2359
|
+
otherConfigs = Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(pageConfigs, _excluded);
|
|
2360
|
+
var _itemConfigs = this.itemConfigs || itemConfigs;
|
|
2361
|
+
var itemConfig = _itemConfigs[this.compId];
|
|
2362
|
+
var allConfigs = Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"])(Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"])({}, this.compConfigs), itemConfig);
|
|
2363
|
+
if (this.isPage) {
|
|
2364
|
+
allConfigs = Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"])(Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"])({}, allConfigs), otherConfigs);
|
|
2365
|
+
// 获取函数库
|
|
2366
|
+
var exports = {};
|
|
2367
|
+
// eslint-disable-next-line no-eval
|
|
2368
|
+
eval('(function (exports) {' + pageConfigs.compileJS + ' }(exports));');
|
|
2369
|
+
this.pageEvents = Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"])({}, exports);
|
|
2370
|
+
}
|
|
2371
|
+
// vue保留字段
|
|
2372
|
+
var vueAttribute = ['name', 'mixins', 'inject', 'provide', '_Ctor', '__file', '_base', '_compiled', 'beforeCreate', 'created', 'berforeMount', 'mounted', 'beforeDestroy', 'destory', 'destroyed', 'props', 'data', 'methods', 'computed', 'watch', 'components', 'directives', 'filters', 'render', 'staticRenderFns', 'Config', 'Preview', 'parent'];
|
|
2373
|
+
for (var key in this.$options) {
|
|
2374
|
+
// eslint-disable-next-line no-prototype-builtins
|
|
2375
|
+
if (!vueAttribute.includes(key) && !/^[_|$].+/.test(key)) {
|
|
2376
|
+
_configs[key] = this.$options[key];
|
|
2377
|
+
}
|
|
2378
|
+
}
|
|
2379
|
+
for (var _key6 in allConfigs) {
|
|
2380
|
+
try {
|
|
2381
|
+
if (this.$_.isObject(allConfigs[_key6])) {
|
|
2382
|
+
if (Array.isArray(allConfigs[_key6])) {
|
|
2383
|
+
_configs[_key6] = Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(allConfigs[_key6]);
|
|
2384
|
+
} else {
|
|
2385
|
+
if (!this.$options[_key6]) this.$options[_key6] = {};
|
|
2386
|
+
_configs[_key6] = Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"])(Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"])({}, this.$options[_key6]), allConfigs[_key6]);
|
|
2575
2387
|
}
|
|
2388
|
+
} else {
|
|
2389
|
+
_configs[_key6] = allConfigs[_key6];
|
|
2576
2390
|
}
|
|
2577
|
-
}
|
|
2578
|
-
|
|
2579
|
-
}
|
|
2580
|
-
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
|
|
2391
|
+
} catch (error) {
|
|
2392
|
+
_configs[_key6] = allConfigs[_key6];
|
|
2393
|
+
}
|
|
2394
|
+
}
|
|
2395
|
+
var _configs$items = _configs.items,
|
|
2396
|
+
items = _configs$items === void 0 ? [] : _configs$items,
|
|
2397
|
+
mItems = _configs.mItems,
|
|
2398
|
+
_configs$style = _configs.style,
|
|
2399
|
+
style = _configs$style === void 0 ? {} : _configs$style;
|
|
2400
|
+
delete _configs.items;
|
|
2401
|
+
// 国际化设置
|
|
2402
|
+
var _items = this.items || items;
|
|
2403
|
+
var configs = Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"])(Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"])({}, this.configs), _configs);
|
|
2404
|
+
_items.forEach(function (item) {
|
|
2405
|
+
if (item['title.i18n']) {
|
|
2406
|
+
item.title = item['title.i18n'][language] || item.title;
|
|
2407
|
+
}
|
|
2408
|
+
});
|
|
2409
|
+
this.configs = formatI18nConfig(configs, language);
|
|
2410
|
+
if (configs.height) {
|
|
2411
|
+
height = configs.height.includes('%') ? configs.height : configs.height + 'px';
|
|
2412
|
+
}
|
|
2413
|
+
// 获取页面配置
|
|
2414
|
+
var _style = Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"])(Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"])({}, style), this.compStyle);
|
|
2415
|
+
if (height) _style.height = height;
|
|
2416
|
+
this.component = {
|
|
2417
|
+
id: this.compId || this.$pageId,
|
|
2418
|
+
title: this.compTitle || this.$attrs.title,
|
|
2419
|
+
contentType: this.contentType,
|
|
2420
|
+
style: _style,
|
|
2421
|
+
configs: this.$configs,
|
|
2422
|
+
flex: this.compFlex === undefined ? !!this.$configs.flex : !!this.compFlex,
|
|
2423
|
+
items: _items,
|
|
2424
|
+
// 子节点
|
|
2425
|
+
mItems: mItems,
|
|
2426
|
+
metaId: this.$metaId,
|
|
2427
|
+
meta: this.$meta,
|
|
2428
|
+
parentPage: this.$getParentPage()
|
|
2429
|
+
};
|
|
2430
|
+
this.$emit('get-component', this.component);
|
|
2431
|
+
if (this.isPage) {
|
|
2432
|
+
this.$set(this.component, 'itemConfigs', itemConfigs);
|
|
2591
2433
|
}
|
|
2434
|
+
this.$emit('load-component', this.component);
|
|
2592
2435
|
},
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
|
|
2604
|
-
|
|
2605
|
-
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
|
-
|
|
2611
|
-
|
|
2612
|
-
|
|
2436
|
+
// 创建组件前
|
|
2437
|
+
beforeCreateComponent: function beforeCreateComponent() {},
|
|
2438
|
+
// 初始化配置 可在此更改默认配置
|
|
2439
|
+
beforeInitComponent: function beforeInitComponent() {},
|
|
2440
|
+
/**
|
|
2441
|
+
* 初始化组件
|
|
2442
|
+
*/
|
|
2443
|
+
initComponent: function initComponent(component) {}
|
|
2444
|
+
},
|
|
2445
|
+
created: function created() {
|
|
2446
|
+
var _this4 = this;
|
|
2447
|
+
return Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])( /*#__PURE__*/Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])().mark(function _callee() {
|
|
2448
|
+
var component;
|
|
2449
|
+
return Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])().wrap(function _callee$(_context) {
|
|
2450
|
+
while (1) switch (_context.prev = _context.next) {
|
|
2451
|
+
case 0:
|
|
2452
|
+
_this4.beforeCreateComponent();
|
|
2453
|
+
// 创建组件
|
|
2454
|
+
_this4._createComponent();
|
|
2455
|
+
try {
|
|
2456
|
+
_this4.oldCompConfigs = _this4.$_.cloneDeep(_this4.compConfigs);
|
|
2457
|
+
} catch (error) {}
|
|
2458
|
+
// 初始化组件配置
|
|
2459
|
+
component = _this4.beforeInitComponent();
|
|
2460
|
+
if (!(component instanceof Promise)) {
|
|
2461
|
+
_context.next = 7;
|
|
2462
|
+
break;
|
|
2463
|
+
}
|
|
2464
|
+
_context.next = 7;
|
|
2465
|
+
return component;
|
|
2466
|
+
case 7:
|
|
2467
|
+
if (!(_this4.$metaId && !_this4.$meta)) {
|
|
2468
|
+
_context.next = 10;
|
|
2469
|
+
break;
|
|
2470
|
+
}
|
|
2471
|
+
_context.next = 10;
|
|
2472
|
+
return _this4.$store.dispatch({
|
|
2473
|
+
type: 'ADD_META',
|
|
2474
|
+
metaId: _this4.$metaId
|
|
2475
|
+
});
|
|
2476
|
+
case 10:
|
|
2477
|
+
// 初始化组件
|
|
2478
|
+
_this4.initComponent(_this4.$component);
|
|
2479
|
+
case 11:
|
|
2480
|
+
case "end":
|
|
2481
|
+
return _context.stop();
|
|
2613
2482
|
}
|
|
2614
|
-
});
|
|
2615
|
-
}
|
|
2483
|
+
}, _callee);
|
|
2484
|
+
}))();
|
|
2616
2485
|
},
|
|
2617
|
-
|
|
2618
|
-
this
|
|
2486
|
+
mounted: function mounted() {
|
|
2487
|
+
this.$excuteEvent('onMounted');
|
|
2619
2488
|
},
|
|
2620
|
-
|
|
2621
|
-
|
|
2622
|
-
var showFlag = !this.$configs.showCondition || this.$configs.showCondition.length === 0 || this.$util.runExpByScope.call(this, this.$configs.showCondition, this.formData);
|
|
2623
|
-
if (!showFlag) return null;
|
|
2624
|
-
return h("div", {
|
|
2625
|
-
"class": ['epx-add-form-item', {
|
|
2626
|
-
'is-fold': this.isFold
|
|
2627
|
-
}],
|
|
2628
|
-
"style": this.$component.style
|
|
2629
|
-
}, [this.renderFormTitle(), this.renderFormContent(), this.renderFormDrawer()]);
|
|
2489
|
+
destory: function destory() {
|
|
2490
|
+
this.$excuteEvent('onDestory');
|
|
2630
2491
|
}
|
|
2631
2492
|
});
|
|
2632
2493
|
|
|
2633
2494
|
/***/ }),
|
|
2634
|
-
|
|
2635
|
-
|
|
2636
|
-
/* 120 */,
|
|
2637
|
-
/* 121 */,
|
|
2638
|
-
/* 122 */,
|
|
2639
|
-
/* 123 */,
|
|
2640
|
-
/* 124 */,
|
|
2641
|
-
/* 125 */,
|
|
2642
|
-
/* 126 */,
|
|
2643
|
-
/* 127 */,
|
|
2644
|
-
/* 128 */,
|
|
2645
|
-
/* 129 */,
|
|
2646
|
-
/* 130 */,
|
|
2647
|
-
/* 131 */,
|
|
2648
|
-
/* 132 */,
|
|
2649
|
-
/* 133 */,
|
|
2650
|
-
/* 134 */,
|
|
2651
|
-
/* 135 */,
|
|
2652
|
-
/* 136 */,
|
|
2653
|
-
/* 137 */,
|
|
2654
|
-
/* 138 */,
|
|
2655
|
-
/* 139 */,
|
|
2656
|
-
/* 140 */,
|
|
2657
|
-
/* 141 */,
|
|
2658
|
-
/* 142 */,
|
|
2659
|
-
/* 143 */,
|
|
2660
|
-
/* 144 */,
|
|
2661
|
-
/* 145 */,
|
|
2662
|
-
/* 146 */,
|
|
2663
|
-
/* 147 */,
|
|
2664
|
-
/* 148 */,
|
|
2665
|
-
/* 149 */,
|
|
2666
|
-
/* 150 */,
|
|
2667
|
-
/* 151 */,
|
|
2668
|
-
/* 152 */,
|
|
2669
|
-
/* 153 */,
|
|
2670
|
-
/* 154 */,
|
|
2671
|
-
/* 155 */,
|
|
2672
|
-
/* 156 */,
|
|
2673
|
-
/* 157 */
|
|
2495
|
+
|
|
2496
|
+
/***/ 4:
|
|
2674
2497
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2675
2498
|
|
|
2676
2499
|
"use strict";
|
|
2677
|
-
/* harmony
|
|
2678
|
-
/* harmony import */ var
|
|
2679
|
-
|
|
2500
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _typeof; });
|
|
2501
|
+
/* harmony import */ var core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
|
|
2502
|
+
/* harmony import */ var core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
2503
|
+
/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6);
|
|
2504
|
+
/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_1__);
|
|
2505
|
+
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1);
|
|
2506
|
+
/* 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__);
|
|
2507
|
+
/* harmony import */ var core_js_modules_es_symbol_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(10);
|
|
2508
|
+
/* 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__);
|
|
2509
|
+
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(22);
|
|
2510
|
+
/* 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__);
|
|
2511
|
+
/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(5);
|
|
2512
|
+
/* 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__);
|
|
2513
|
+
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(7);
|
|
2514
|
+
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_6__);
|
|
2515
|
+
|
|
2516
|
+
|
|
2517
|
+
|
|
2518
|
+
|
|
2519
|
+
|
|
2520
|
+
|
|
2521
|
+
|
|
2680
2522
|
|
|
2681
|
-
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()(function(i){return i[1]});
|
|
2682
|
-
// Module
|
|
2683
|
-
___CSS_LOADER_EXPORT___.push([module.i, ".epx-add-form-item{background:#fff}.epx-add-form-item.is-fold .epx-add-form-item__title-foldicon{transform:rotate(180deg)}.epx-add-form-item.is-fold .epx-add-form-item__content{padding:0 10px;height:0;overflow:hidden}.epx-add-form-item__header{padding:6px 24px;position:relative;overflow:hidden;font-size:16px;line-height:36px;background:#fff;white-space:pre-wrap}.epx-add-form-item__header::after{content:'';position:absolute;left:-24px;bottom:0;width:calc(100% + 48px);height:1px;background:#e3e3e3}.epx-add-form-item__header--simple{margin-bottom:-20px;padding:6px 12px 0}.epx-add-form-item__header--simple::after{display:none}.epx-add-form-item__header--simple .epx-add-form-item__title{border:0;padding-left:0}.epx-add-form-item__header--simple .epx-add-form-item__title-operate{display:none}.epx-add-form-item__header--simple .epx-add-form-item__title-foldicon{display:none}.epx-add-form-item__title{border-left:3px solid;border-color:#0874e7;padding-left:6px}[data-theme=purple] .epx-add-form-item__title{border-color:#7569e2}[data-theme=palevioletred] .epx-add-form-item__title{border-color:#ce4545}[data-theme=forestgreen] .epx-add-form-item__title{border-color:#3d8a50}[data-theme=deepblue] .epx-add-form-item__title{border-color:#0f5fbd}[data-theme=orange] .epx-add-form-item__title{border-color:#ea6000}[data-theme=skyblue] .epx-add-form-item__title{border-color:#1a4586}[data-theme=aurorablue] .epx-add-form-item__title{border-color:#383b9e}[data-theme=tiffanyblue] .epx-add-form-item__title{border-color:#00aaad}[data-theme=tsinghuapurple] .epx-add-form-item__title{border-color:#5f2167}[data-theme=creativeblue] .epx-add-form-item__title{border-color:#418cff}.epx-add-form-item__title-edit{font-size:14px;line-height:36px;cursor:pointer;color:#0874e7}[data-theme=purple] .epx-add-form-item__title-edit{color:#7569e2}[data-theme=palevioletred] .epx-add-form-item__title-edit{color:#ce4545}[data-theme=forestgreen] .epx-add-form-item__title-edit{color:#3d8a50}[data-theme=deepblue] .epx-add-form-item__title-edit{color:#0f5fbd}[data-theme=orange] .epx-add-form-item__title-edit{color:#ea6000}[data-theme=skyblue] .epx-add-form-item__title-edit{color:#1a4586}[data-theme=aurorablue] .epx-add-form-item__title-edit{color:#383b9e}[data-theme=tiffanyblue] .epx-add-form-item__title-edit{color:#00aaad}[data-theme=tsinghuapurple] .epx-add-form-item__title-edit{color:#5f2167}[data-theme=creativeblue] .epx-add-form-item__title-edit{color:#418cff}.epx-add-form-item__title-edit i{margin-right:4px}.epx-add-form-item__title-foldicon{color:#0874e7;font-size:20px;cursor:pointer;transition:all .5s;line-height:36px;margin-left:10px}[data-theme=purple] .epx-add-form-item__title-foldicon{color:#7569e2}[data-theme=palevioletred] .epx-add-form-item__title-foldicon{color:#ce4545}[data-theme=forestgreen] .epx-add-form-item__title-foldicon{color:#3d8a50}[data-theme=deepblue] .epx-add-form-item__title-foldicon{color:#0f5fbd}[data-theme=orange] .epx-add-form-item__title-foldicon{color:#ea6000}[data-theme=skyblue] .epx-add-form-item__title-foldicon{color:#1a4586}[data-theme=aurorablue] .epx-add-form-item__title-foldicon{color:#383b9e}[data-theme=tiffanyblue] .epx-add-form-item__title-foldicon{color:#00aaad}[data-theme=tsinghuapurple] .epx-add-form-item__title-foldicon{color:#5f2167}[data-theme=creativeblue] .epx-add-form-item__title-foldicon{color:#418cff}.epx-add-form-item__content{transition:all .3s;padding:10px}.epx-add-form-item__note{background-color:rgba(8,116,231,0.1);border-color:#0874e7;color:#0874e7;border:1px dashed;padding:4px 12px;border-radius:4px;display:flex;align-items:center;font-size:14px;white-space:pre-wrap}[data-theme=purple] .epx-add-form-item__note{background-color:rgba(117,105,226,0.1)}[data-theme=palevioletred] .epx-add-form-item__note{background-color:rgba(206,69,69,0.1)}[data-theme=forestgreen] .epx-add-form-item__note{background-color:rgba(61,138,80,0.1)}[data-theme=deepblue] .epx-add-form-item__note{background-color:rgba(15,95,189,0.1)}[data-theme=orange] .epx-add-form-item__note{background-color:rgba(234,96,0,0.1)}[data-theme=skyblue] .epx-add-form-item__note{background-color:rgba(26,69,134,0.1)}[data-theme=aurorablue] .epx-add-form-item__note{background-color:rgba(56,59,158,0.1)}[data-theme=tiffanyblue] .epx-add-form-item__note{background-color:rgba(0,170,173,0.1)}[data-theme=tsinghuapurple] .epx-add-form-item__note{background-color:rgba(95,33,103,0.1)}[data-theme=creativeblue] .epx-add-form-item__note{background-color:rgba(65,140,255,0.1)}[data-theme=purple] .epx-add-form-item__note{border-color:#7569e2}[data-theme=palevioletred] .epx-add-form-item__note{border-color:#ce4545}[data-theme=forestgreen] .epx-add-form-item__note{border-color:#3d8a50}[data-theme=deepblue] .epx-add-form-item__note{border-color:#0f5fbd}[data-theme=orange] .epx-add-form-item__note{border-color:#ea6000}[data-theme=skyblue] .epx-add-form-item__note{border-color:#1a4586}[data-theme=aurorablue] .epx-add-form-item__note{border-color:#383b9e}[data-theme=tiffanyblue] .epx-add-form-item__note{border-color:#00aaad}[data-theme=tsinghuapurple] .epx-add-form-item__note{border-color:#5f2167}[data-theme=creativeblue] .epx-add-form-item__note{border-color:#418cff}[data-theme=purple] .epx-add-form-item__note{color:#7569e2}[data-theme=palevioletred] .epx-add-form-item__note{color:#ce4545}[data-theme=forestgreen] .epx-add-form-item__note{color:#3d8a50}[data-theme=deepblue] .epx-add-form-item__note{color:#0f5fbd}[data-theme=orange] .epx-add-form-item__note{color:#ea6000}[data-theme=skyblue] .epx-add-form-item__note{color:#1a4586}[data-theme=aurorablue] .epx-add-form-item__note{color:#383b9e}[data-theme=tiffanyblue] .epx-add-form-item__note{color:#00aaad}[data-theme=tsinghuapurple] .epx-add-form-item__note{color:#5f2167}[data-theme=creativeblue] .epx-add-form-item__note{color:#418cff}.epx-add-form-item__note>i{margin-right:8px;font-size:16px;flex-shrink:0}.epx-add-form-item__note-html{white-space:normal;word-break:break-all;color:#666}.epx-add-form-item__note-html>span{display:inline-block}.epx-add-form-item__help{margin-left:4px;color:#0874e7}[data-theme=purple] .epx-add-form-item__help{color:#7569e2}[data-theme=palevioletred] .epx-add-form-item__help{color:#ce4545}[data-theme=forestgreen] .epx-add-form-item__help{color:#3d8a50}[data-theme=deepblue] .epx-add-form-item__help{color:#0f5fbd}[data-theme=orange] .epx-add-form-item__help{color:#ea6000}[data-theme=skyblue] .epx-add-form-item__help{color:#1a4586}[data-theme=aurorablue] .epx-add-form-item__help{color:#383b9e}[data-theme=tiffanyblue] .epx-add-form-item__help{color:#00aaad}[data-theme=tsinghuapurple] .epx-add-form-item__help{color:#5f2167}[data-theme=creativeblue] .epx-add-form-item__help{color:#418cff}.epx-add-form-item__buttongroup{margin:16px 0;text-align:center;padding-bottom:12px;display:flex;justify-content:center}.epx-add-form-item__buttongroup .el-button{padding:12px 42px;margin:0 12px}.epx-add-form-item__edit-drawer .el-drawer__header{padding:0;margin:0}.epx-add-form-item__edit-drawer .el-drawer__close-btn{display:none}.epx-add-form-item__edit-drawer .el-drawer__body{overflow:auto}@media screen and (max-width: 992px){.epx-add-form-item__header{padding:6px 12px}.epx-add-form-item__content{padding:0}}\n", ""]);
|
|
2684
|
-
// Exports
|
|
2685
|
-
/* harmony default export */ __webpack_exports__["a"] = (___CSS_LOADER_EXPORT___);
|
|
2686
2523
|
|
|
2687
2524
|
|
|
2525
|
+
|
|
2526
|
+
|
|
2527
|
+
|
|
2528
|
+
function _typeof(obj) {
|
|
2529
|
+
"@babel/helpers - typeof";
|
|
2530
|
+
|
|
2531
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
|
2532
|
+
return typeof obj;
|
|
2533
|
+
} : function (obj) {
|
|
2534
|
+
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
2535
|
+
}, _typeof(obj);
|
|
2536
|
+
}
|
|
2537
|
+
|
|
2688
2538
|
/***/ }),
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
/* 160 */,
|
|
2692
|
-
/* 161 */,
|
|
2693
|
-
/* 162 */,
|
|
2694
|
-
/* 163 */,
|
|
2695
|
-
/* 164 */,
|
|
2696
|
-
/* 165 */,
|
|
2697
|
-
/* 166 */,
|
|
2698
|
-
/* 167 */,
|
|
2699
|
-
/* 168 */,
|
|
2700
|
-
/* 169 */,
|
|
2701
|
-
/* 170 */,
|
|
2702
|
-
/* 171 */,
|
|
2703
|
-
/* 172 */,
|
|
2704
|
-
/* 173 */,
|
|
2705
|
-
/* 174 */,
|
|
2706
|
-
/* 175 */,
|
|
2707
|
-
/* 176 */,
|
|
2708
|
-
/* 177 */,
|
|
2709
|
-
/* 178 */,
|
|
2710
|
-
/* 179 */,
|
|
2711
|
-
/* 180 */,
|
|
2712
|
-
/* 181 */,
|
|
2713
|
-
/* 182 */,
|
|
2714
|
-
/* 183 */,
|
|
2715
|
-
/* 184 */,
|
|
2716
|
-
/* 185 */,
|
|
2717
|
-
/* 186 */,
|
|
2718
|
-
/* 187 */,
|
|
2719
|
-
/* 188 */,
|
|
2720
|
-
/* 189 */,
|
|
2721
|
-
/* 190 */,
|
|
2722
|
-
/* 191 */,
|
|
2723
|
-
/* 192 */,
|
|
2724
|
-
/* 193 */,
|
|
2725
|
-
/* 194 */,
|
|
2726
|
-
/* 195 */,
|
|
2727
|
-
/* 196 */,
|
|
2728
|
-
/* 197 */,
|
|
2729
|
-
/* 198 */,
|
|
2730
|
-
/* 199 */,
|
|
2731
|
-
/* 200 */,
|
|
2732
|
-
/* 201 */,
|
|
2733
|
-
/* 202 */,
|
|
2734
|
-
/* 203 */,
|
|
2735
|
-
/* 204 */,
|
|
2736
|
-
/* 205 */,
|
|
2737
|
-
/* 206 */,
|
|
2738
|
-
/* 207 */,
|
|
2739
|
-
/* 208 */,
|
|
2740
|
-
/* 209 */,
|
|
2741
|
-
/* 210 */
|
|
2539
|
+
|
|
2540
|
+
/***/ 40:
|
|
2742
2541
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2743
2542
|
|
|
2744
2543
|
"use strict";
|
|
2745
|
-
// ESM COMPAT FLAG
|
|
2746
|
-
__webpack_require__.r(__webpack_exports__);
|
|
2747
2544
|
|
|
2748
|
-
//
|
|
2749
|
-
|
|
2545
|
+
// EXPORTS
|
|
2546
|
+
__webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ _toPropertyKey; });
|
|
2750
2547
|
|
|
2751
|
-
// EXTERNAL MODULE: ./node_modules
|
|
2752
|
-
var
|
|
2548
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
2549
|
+
var esm_typeof = __webpack_require__(4);
|
|
2753
2550
|
|
|
2754
|
-
//
|
|
2755
|
-
|
|
2756
|
-
// EXTERNAL MODULE: ./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js
|
|
2757
|
-
var injectStylesIntoStyleTag = __webpack_require__(24);
|
|
2758
|
-
var injectStylesIntoStyleTag_default = /*#__PURE__*/__webpack_require__.n(injectStylesIntoStyleTag);
|
|
2551
|
+
// EXTERNAL MODULE: external "core-js/modules/es.symbol.to-primitive.js"
|
|
2552
|
+
var es_symbol_to_primitive_js_ = __webpack_require__(41);
|
|
2759
2553
|
|
|
2760
|
-
// EXTERNAL MODULE:
|
|
2761
|
-
var
|
|
2554
|
+
// EXTERNAL MODULE: external "core-js/modules/es.date.to-primitive.js"
|
|
2555
|
+
var es_date_to_primitive_js_ = __webpack_require__(42);
|
|
2762
2556
|
|
|
2763
|
-
//
|
|
2557
|
+
// EXTERNAL MODULE: external "core-js/modules/es.symbol.js"
|
|
2558
|
+
var es_symbol_js_ = __webpack_require__(2);
|
|
2764
2559
|
|
|
2765
|
-
|
|
2560
|
+
// EXTERNAL MODULE: external "core-js/modules/es.symbol.description.js"
|
|
2561
|
+
var es_symbol_description_js_ = __webpack_require__(6);
|
|
2766
2562
|
|
|
2767
|
-
|
|
2563
|
+
// EXTERNAL MODULE: external "core-js/modules/es.object.to-string.js"
|
|
2564
|
+
var es_object_to_string_js_ = __webpack_require__(1);
|
|
2768
2565
|
|
|
2769
|
-
|
|
2770
|
-
|
|
2566
|
+
// EXTERNAL MODULE: external "core-js/modules/es.number.constructor.js"
|
|
2567
|
+
var es_number_constructor_js_ = __webpack_require__(17);
|
|
2568
|
+
|
|
2569
|
+
// EXTERNAL MODULE: external "core-js/modules/es.error.cause.js"
|
|
2570
|
+
var es_error_cause_js_ = __webpack_require__(31);
|
|
2571
|
+
|
|
2572
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
|
2771
2573
|
|
|
2772
|
-
var update = injectStylesIntoStyleTag_default()(AddFormItemvue_type_style_index_0_id_a0fc01de_prod_lang_scss_["a" /* default */], options);
|
|
2773
2574
|
|
|
2774
2575
|
|
|
2775
2576
|
|
|
2776
|
-
/* harmony default export */ var add_form_item_AddFormItemvue_type_style_index_0_id_a0fc01de_prod_lang_scss_ = (AddFormItemvue_type_style_index_0_id_a0fc01de_prod_lang_scss_["a" /* default */].locals || {});
|
|
2777
|
-
// CONCATENATED MODULE: ./src/frame/packages/add-form-item/AddFormItem.vue?vue&type=style&index=0&id=a0fc01de&prod&lang=scss&
|
|
2778
2577
|
|
|
2779
|
-
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
2780
|
-
var componentNormalizer = __webpack_require__(14);
|
|
2781
2578
|
|
|
2782
|
-
// CONCATENATED MODULE: ./src/frame/packages/add-form-item/AddFormItem.vue
|
|
2783
|
-
var render, staticRenderFns
|
|
2784
2579
|
|
|
2785
2580
|
|
|
2786
2581
|
|
|
2787
2582
|
|
|
2788
2583
|
|
|
2789
|
-
/* normalize component */
|
|
2790
2584
|
|
|
2791
|
-
var component = Object(componentNormalizer["a" /* default */])(
|
|
2792
|
-
add_form_item_AddFormItemvue_type_script_lang_js_,
|
|
2793
|
-
render,
|
|
2794
|
-
staticRenderFns,
|
|
2795
|
-
false,
|
|
2796
|
-
null,
|
|
2797
|
-
null,
|
|
2798
|
-
null
|
|
2799
|
-
|
|
2800
|
-
)
|
|
2801
2585
|
|
|
2802
|
-
/* harmony default export */ var AddFormItem = (component.exports);
|
|
2803
|
-
// CONCATENATED MODULE: ./src/frame/packages/add-form-item/index.js
|
|
2804
2586
|
|
|
2587
|
+
function _toPrimitive(input, hint) {
|
|
2588
|
+
if (Object(esm_typeof["a" /* default */])(input) !== "object" || input === null) return input;
|
|
2589
|
+
var prim = input[Symbol.toPrimitive];
|
|
2590
|
+
if (prim !== undefined) {
|
|
2591
|
+
var res = prim.call(input, hint || "default");
|
|
2592
|
+
if (Object(esm_typeof["a" /* default */])(res) !== "object") return res;
|
|
2593
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
2594
|
+
}
|
|
2595
|
+
return (hint === "string" ? String : Number)(input);
|
|
2596
|
+
}
|
|
2597
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
|
2805
2598
|
|
|
2806
2599
|
|
|
2600
|
+
function _toPropertyKey(arg) {
|
|
2601
|
+
var key = _toPrimitive(arg, "string");
|
|
2602
|
+
return Object(esm_typeof["a" /* default */])(key) === "symbol" ? key : String(key);
|
|
2603
|
+
}
|
|
2807
2604
|
|
|
2808
|
-
|
|
2809
|
-
|
|
2810
|
-
|
|
2811
|
-
|
|
2812
|
-
|
|
2605
|
+
/***/ }),
|
|
2606
|
+
|
|
2607
|
+
/***/ 41:
|
|
2608
|
+
/***/ (function(module, exports) {
|
|
2609
|
+
|
|
2610
|
+
module.exports = require("core-js/modules/es.symbol.to-primitive.js");
|
|
2611
|
+
|
|
2612
|
+
/***/ }),
|
|
2613
|
+
|
|
2614
|
+
/***/ 42:
|
|
2615
|
+
/***/ (function(module, exports) {
|
|
2616
|
+
|
|
2617
|
+
module.exports = require("core-js/modules/es.date.to-primitive.js");
|
|
2618
|
+
|
|
2619
|
+
/***/ }),
|
|
2620
|
+
|
|
2621
|
+
/***/ 43:
|
|
2622
|
+
/***/ (function(module, exports) {
|
|
2623
|
+
|
|
2624
|
+
module.exports = require("core-js/modules/es.object.get-own-property-descriptor.js");
|
|
2625
|
+
|
|
2626
|
+
/***/ }),
|
|
2627
|
+
|
|
2628
|
+
/***/ 44:
|
|
2629
|
+
/***/ (function(module, exports) {
|
|
2630
|
+
|
|
2631
|
+
module.exports = require("core-js/modules/es.object.get-own-property-descriptors.js");
|
|
2632
|
+
|
|
2633
|
+
/***/ }),
|
|
2634
|
+
|
|
2635
|
+
/***/ 45:
|
|
2636
|
+
/***/ (function(module, exports) {
|
|
2637
|
+
|
|
2638
|
+
module.exports = require("core-js/modules/es.object.get-prototype-of.js");
|
|
2639
|
+
|
|
2640
|
+
/***/ }),
|
|
2641
|
+
|
|
2642
|
+
/***/ 46:
|
|
2643
|
+
/***/ (function(module, exports) {
|
|
2644
|
+
|
|
2645
|
+
module.exports = require("core-js/modules/es.symbol.async-iterator.js");
|
|
2646
|
+
|
|
2647
|
+
/***/ }),
|
|
2648
|
+
|
|
2649
|
+
/***/ 47:
|
|
2650
|
+
/***/ (function(module, exports) {
|
|
2651
|
+
|
|
2652
|
+
module.exports = require("core-js/modules/es.symbol.to-string-tag.js");
|
|
2653
|
+
|
|
2654
|
+
/***/ }),
|
|
2655
|
+
|
|
2656
|
+
/***/ 48:
|
|
2657
|
+
/***/ (function(module, exports) {
|
|
2658
|
+
|
|
2659
|
+
module.exports = require("core-js/modules/es.json.to-string-tag.js");
|
|
2660
|
+
|
|
2661
|
+
/***/ }),
|
|
2662
|
+
|
|
2663
|
+
/***/ 49:
|
|
2664
|
+
/***/ (function(module, exports) {
|
|
2665
|
+
|
|
2666
|
+
module.exports = require("core-js/modules/es.math.to-string-tag.js");
|
|
2667
|
+
|
|
2668
|
+
/***/ }),
|
|
2669
|
+
|
|
2670
|
+
/***/ 5:
|
|
2671
|
+
/***/ (function(module, exports) {
|
|
2672
|
+
|
|
2673
|
+
module.exports = require("core-js/modules/es.string.iterator.js");
|
|
2674
|
+
|
|
2675
|
+
/***/ }),
|
|
2676
|
+
|
|
2677
|
+
/***/ 52:
|
|
2678
|
+
/***/ (function(module, exports) {
|
|
2679
|
+
|
|
2680
|
+
module.exports = require("core-js/modules/es.object.set-prototype-of.js");
|
|
2681
|
+
|
|
2682
|
+
/***/ }),
|
|
2683
|
+
|
|
2684
|
+
/***/ 53:
|
|
2685
|
+
/***/ (function(module, exports) {
|
|
2686
|
+
|
|
2687
|
+
module.exports = require("core-js/modules/es.object.proto.js");
|
|
2688
|
+
|
|
2689
|
+
/***/ }),
|
|
2690
|
+
|
|
2691
|
+
/***/ 6:
|
|
2692
|
+
/***/ (function(module, exports) {
|
|
2693
|
+
|
|
2694
|
+
module.exports = require("core-js/modules/es.symbol.description.js");
|
|
2695
|
+
|
|
2696
|
+
/***/ }),
|
|
2697
|
+
|
|
2698
|
+
/***/ 7:
|
|
2699
|
+
/***/ (function(module, exports) {
|
|
2700
|
+
|
|
2701
|
+
module.exports = require("core-js/modules/web.dom-collections.iterator.js");
|
|
2702
|
+
|
|
2703
|
+
/***/ }),
|
|
2704
|
+
|
|
2705
|
+
/***/ 8:
|
|
2706
|
+
/***/ (function(module, exports) {
|
|
2707
|
+
|
|
2708
|
+
module.exports = require("core-js/modules/web.dom-collections.for-each.js");
|
|
2709
|
+
|
|
2710
|
+
/***/ }),
|
|
2711
|
+
|
|
2712
|
+
/***/ 9:
|
|
2713
|
+
/***/ (function(module, exports) {
|
|
2714
|
+
|
|
2715
|
+
module.exports = require("core-js/modules/es.function.name.js");
|
|
2813
2716
|
|
|
2814
2717
|
/***/ })
|
|
2815
|
-
|
|
2718
|
+
|
|
2719
|
+
/******/ });
|