@abi-software/flatmapvuer 0.5.9-alpha-connected-paths.2 → 0.5.9-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +389 -399
- package/LICENSE +201 -201
- package/README.md +105 -105
- package/babel.config.js +14 -14
- package/dist/flatmapvuer.common.js +1940 -1543
- package/dist/flatmapvuer.common.js.map +1 -1
- package/dist/flatmapvuer.css +1 -1
- package/dist/flatmapvuer.umd.js +1940 -1543
- package/dist/flatmapvuer.umd.js.map +1 -1
- package/dist/flatmapvuer.umd.min.js +2 -2
- package/dist/flatmapvuer.umd.min.js.map +1 -1
- package/package-lock.json +18425 -14418
- package/package.json +79 -78
- package/public/index.html +17 -17
- package/src/App.vue +228 -227
- package/src/assets/_variables.scss +43 -43
- package/src/assets/styles.scss +7 -7
- package/src/components/AnnotationTool.vue +402 -0
- package/src/components/EventBus.js +2 -2
- package/src/components/ExternalResourceCard.vue +98 -98
- package/src/components/FlatmapVuer.vue +2039 -1884
- package/src/components/MultiFlatmapVuer.vue +531 -529
- package/src/components/ProvenancePopup.vue +432 -0
- package/src/components/SelectionsGroup.vue +249 -249
- package/src/components/Tooltip.vue +55 -454
- package/src/components/TreeControls.vue +231 -231
- package/src/components/index.js +9 -9
- package/src/components/legends/DynamicLegends.vue +112 -112
- package/src/components/legends/SvgLegends.vue +66 -66
- package/src/icons/fonts/mapicon-species.eot +0 -0
- package/src/icons/fonts/mapicon-species.svg +14 -14
- package/src/icons/fonts/mapicon-species.ttf +0 -0
- package/src/icons/fonts/mapicon-species.woff +0 -0
- package/src/icons/mapicon-species-style.css +42 -42
- package/src/legends/legend.svg +25 -25
- package/src/main.js +8 -8
- package/src/services/flatmapQueries.js +415 -415
- package/vue.config.js +31 -31
- package/src/nerve-map.js +0 -99
|
@@ -87,13 +87,6 @@ module.exports =
|
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
89
89
|
|
|
90
|
-
/***/ "01ae":
|
|
91
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
92
|
-
|
|
93
|
-
// extracted by mini-css-extract-plugin
|
|
94
|
-
|
|
95
|
-
/***/ }),
|
|
96
|
-
|
|
97
90
|
/***/ "06f1":
|
|
98
91
|
/***/ (function(module, exports, __webpack_require__) {
|
|
99
92
|
|
|
@@ -110,6 +103,17 @@ module.exports =
|
|
|
110
103
|
/* unused harmony reexport * */
|
|
111
104
|
|
|
112
105
|
|
|
106
|
+
/***/ }),
|
|
107
|
+
|
|
108
|
+
/***/ "0ecd":
|
|
109
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
110
|
+
|
|
111
|
+
"use strict";
|
|
112
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ProvenancePopup_vue_vue_type_style_index_0_id_7f410a00_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("f029");
|
|
113
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ProvenancePopup_vue_vue_type_style_index_0_id_7f410a00_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ProvenancePopup_vue_vue_type_style_index_0_id_7f410a00_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
114
|
+
/* unused harmony reexport * */
|
|
115
|
+
|
|
116
|
+
|
|
113
117
|
/***/ }),
|
|
114
118
|
|
|
115
119
|
/***/ "0f6c":
|
|
@@ -266,6 +270,13 @@ row.install = function (Vue) {
|
|
|
266
270
|
|
|
267
271
|
/***/ }),
|
|
268
272
|
|
|
273
|
+
/***/ "10cb":
|
|
274
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
275
|
+
|
|
276
|
+
// extracted by mini-css-extract-plugin
|
|
277
|
+
|
|
278
|
+
/***/ }),
|
|
279
|
+
|
|
269
280
|
/***/ "12f2":
|
|
270
281
|
/***/ (function(module, exports, __webpack_require__) {
|
|
271
282
|
|
|
@@ -772,6 +783,13 @@ module.exports = require("core-js/modules/es.string.search.js");
|
|
|
772
783
|
|
|
773
784
|
/***/ }),
|
|
774
785
|
|
|
786
|
+
/***/ "1f48":
|
|
787
|
+
/***/ (function(module, exports) {
|
|
788
|
+
|
|
789
|
+
module.exports = require("core-js/modules/es.date.to-primitive.js");
|
|
790
|
+
|
|
791
|
+
/***/ }),
|
|
792
|
+
|
|
775
793
|
/***/ "2277":
|
|
776
794
|
/***/ (function(module, exports, __webpack_require__) {
|
|
777
795
|
|
|
@@ -928,6 +946,13 @@ module.exports = require("core-js/modules/es.regexp.to-string.js");
|
|
|
928
946
|
|
|
929
947
|
/***/ }),
|
|
930
948
|
|
|
949
|
+
/***/ "316b":
|
|
950
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
951
|
+
|
|
952
|
+
// extracted by mini-css-extract-plugin
|
|
953
|
+
|
|
954
|
+
/***/ }),
|
|
955
|
+
|
|
931
956
|
/***/ "362b":
|
|
932
957
|
/***/ (function(module, exports) {
|
|
933
958
|
|
|
@@ -5799,6 +5824,13 @@ module.exports = require("core-js/modules/es.string.replace.js");
|
|
|
5799
5824
|
|
|
5800
5825
|
/***/ }),
|
|
5801
5826
|
|
|
5827
|
+
/***/ "667b":
|
|
5828
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
5829
|
+
|
|
5830
|
+
// extracted by mini-css-extract-plugin
|
|
5831
|
+
|
|
5832
|
+
/***/ }),
|
|
5833
|
+
|
|
5802
5834
|
/***/ "6721":
|
|
5803
5835
|
/***/ (function(module, exports, __webpack_require__) {
|
|
5804
5836
|
|
|
@@ -9112,6 +9144,13 @@ exports.default = {
|
|
|
9112
9144
|
|
|
9113
9145
|
/***/ }),
|
|
9114
9146
|
|
|
9147
|
+
/***/ "6de0":
|
|
9148
|
+
/***/ (function(module, exports) {
|
|
9149
|
+
|
|
9150
|
+
module.exports = require("core-js/modules/es.object.get-own-property-descriptor.js");
|
|
9151
|
+
|
|
9152
|
+
/***/ }),
|
|
9153
|
+
|
|
9115
9154
|
/***/ "712c":
|
|
9116
9155
|
/***/ (function(module, exports) {
|
|
9117
9156
|
|
|
@@ -11103,6 +11142,13 @@ module.exports = __webpack_require__("8bbf");
|
|
|
11103
11142
|
|
|
11104
11143
|
/***/ }),
|
|
11105
11144
|
|
|
11145
|
+
/***/ "7664":
|
|
11146
|
+
/***/ (function(module, exports) {
|
|
11147
|
+
|
|
11148
|
+
module.exports = require("core-js/modules/es.object.get-own-property-descriptors.js");
|
|
11149
|
+
|
|
11150
|
+
/***/ }),
|
|
11151
|
+
|
|
11106
11152
|
/***/ "7949":
|
|
11107
11153
|
/***/ (function(module, exports) {
|
|
11108
11154
|
|
|
@@ -11117,7 +11163,35 @@ module.exports = require("core-js/modules/es.object.proto.js");
|
|
|
11117
11163
|
|
|
11118
11164
|
/***/ }),
|
|
11119
11165
|
|
|
11120
|
-
/***/ "
|
|
11166
|
+
/***/ "7f4d":
|
|
11167
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
11168
|
+
|
|
11169
|
+
"use strict";
|
|
11170
|
+
|
|
11171
|
+
|
|
11172
|
+
exports.__esModule = true;
|
|
11173
|
+
|
|
11174
|
+
exports.default = function (target) {
|
|
11175
|
+
for (var i = 1, j = arguments.length; i < j; i++) {
|
|
11176
|
+
var source = arguments[i] || {};
|
|
11177
|
+
for (var prop in source) {
|
|
11178
|
+
if (source.hasOwnProperty(prop)) {
|
|
11179
|
+
var value = source[prop];
|
|
11180
|
+
if (value !== undefined) {
|
|
11181
|
+
target[prop] = value;
|
|
11182
|
+
}
|
|
11183
|
+
}
|
|
11184
|
+
}
|
|
11185
|
+
}
|
|
11186
|
+
|
|
11187
|
+
return target;
|
|
11188
|
+
};
|
|
11189
|
+
|
|
11190
|
+
;
|
|
11191
|
+
|
|
11192
|
+
/***/ }),
|
|
11193
|
+
|
|
11194
|
+
/***/ "7fc1":
|
|
11121
11195
|
/***/ (function(module, exports, __webpack_require__) {
|
|
11122
11196
|
|
|
11123
11197
|
module.exports =
|
|
@@ -11204,7 +11278,7 @@ module.exports =
|
|
|
11204
11278
|
/******/
|
|
11205
11279
|
/******/
|
|
11206
11280
|
/******/ // Load entry module and return exports
|
|
11207
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
11281
|
+
/******/ return __webpack_require__(__webpack_require__.s = 93);
|
|
11208
11282
|
/******/ })
|
|
11209
11283
|
/************************************************************************/
|
|
11210
11284
|
/******/ ({
|
|
@@ -11311,20 +11385,30 @@ function normalizeComponent (
|
|
|
11311
11385
|
|
|
11312
11386
|
/***/ }),
|
|
11313
11387
|
|
|
11314
|
-
/***/
|
|
11388
|
+
/***/ 4:
|
|
11389
|
+
/***/ (function(module, exports) {
|
|
11390
|
+
|
|
11391
|
+
module.exports = __webpack_require__("d010");
|
|
11392
|
+
|
|
11393
|
+
/***/ }),
|
|
11394
|
+
|
|
11395
|
+
/***/ 93:
|
|
11315
11396
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
11316
11397
|
|
|
11317
11398
|
"use strict";
|
|
11318
11399
|
__webpack_require__.r(__webpack_exports__);
|
|
11319
11400
|
|
|
11320
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/
|
|
11401
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/checkbox/src/checkbox-group.vue?vue&type=template&id=7289a290&
|
|
11321
11402
|
var render = function() {
|
|
11322
11403
|
var _vm = this
|
|
11323
11404
|
var _h = _vm.$createElement
|
|
11324
11405
|
var _c = _vm._self._c || _h
|
|
11325
11406
|
return _c(
|
|
11326
|
-
"
|
|
11327
|
-
{
|
|
11407
|
+
"div",
|
|
11408
|
+
{
|
|
11409
|
+
staticClass: "el-checkbox-group",
|
|
11410
|
+
attrs: { role: "group", "aria-label": "checkbox-group" }
|
|
11411
|
+
},
|
|
11328
11412
|
[_vm._t("default")],
|
|
11329
11413
|
2
|
|
11330
11414
|
)
|
|
@@ -11333,34 +11417,60 @@ var staticRenderFns = []
|
|
|
11333
11417
|
render._withStripped = true
|
|
11334
11418
|
|
|
11335
11419
|
|
|
11336
|
-
// CONCATENATED MODULE: ./packages/
|
|
11420
|
+
// CONCATENATED MODULE: ./packages/checkbox/src/checkbox-group.vue?vue&type=template&id=7289a290&
|
|
11337
11421
|
|
|
11338
|
-
//
|
|
11339
|
-
|
|
11340
|
-
|
|
11341
|
-
//
|
|
11342
|
-
//
|
|
11343
|
-
//
|
|
11344
|
-
//
|
|
11422
|
+
// EXTERNAL MODULE: external "element-ui/lib/mixins/emitter"
|
|
11423
|
+
var emitter_ = __webpack_require__(4);
|
|
11424
|
+
var emitter_default = /*#__PURE__*/__webpack_require__.n(emitter_);
|
|
11345
11425
|
|
|
11346
|
-
|
|
11347
|
-
|
|
11426
|
+
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/checkbox/src/checkbox-group.vue?vue&type=script&lang=js&
|
|
11427
|
+
|
|
11428
|
+
|
|
11429
|
+
|
|
11430
|
+
/* harmony default export */ var checkbox_groupvue_type_script_lang_js_ = ({
|
|
11431
|
+
name: 'ElCheckboxGroup',
|
|
11432
|
+
|
|
11433
|
+
componentName: 'ElCheckboxGroup',
|
|
11434
|
+
|
|
11435
|
+
mixins: [emitter_default.a],
|
|
11348
11436
|
|
|
11349
|
-
|
|
11437
|
+
inject: {
|
|
11438
|
+
elFormItem: {
|
|
11439
|
+
default: ''
|
|
11440
|
+
}
|
|
11441
|
+
},
|
|
11350
11442
|
|
|
11351
11443
|
props: {
|
|
11352
|
-
|
|
11353
|
-
|
|
11354
|
-
|
|
11444
|
+
value: {},
|
|
11445
|
+
disabled: Boolean,
|
|
11446
|
+
min: Number,
|
|
11447
|
+
max: Number,
|
|
11448
|
+
size: String,
|
|
11449
|
+
fill: String,
|
|
11450
|
+
textColor: String
|
|
11451
|
+
},
|
|
11452
|
+
|
|
11453
|
+
computed: {
|
|
11454
|
+
_elFormItemSize: function _elFormItemSize() {
|
|
11455
|
+
return (this.elFormItem || {}).elFormItemSize;
|
|
11456
|
+
},
|
|
11457
|
+
checkboxGroupSize: function checkboxGroupSize() {
|
|
11458
|
+
return this.size || this._elFormItemSize || (this.$ELEMENT || {}).size;
|
|
11459
|
+
}
|
|
11460
|
+
},
|
|
11461
|
+
|
|
11462
|
+
watch: {
|
|
11463
|
+
value: function value(_value) {
|
|
11464
|
+
this.dispatch('ElFormItem', 'el.form.change', [_value]);
|
|
11355
11465
|
}
|
|
11356
11466
|
}
|
|
11357
11467
|
});
|
|
11358
|
-
// CONCATENATED MODULE: ./packages/
|
|
11359
|
-
/* harmony default export */ var
|
|
11468
|
+
// CONCATENATED MODULE: ./packages/checkbox/src/checkbox-group.vue?vue&type=script&lang=js&
|
|
11469
|
+
/* harmony default export */ var src_checkbox_groupvue_type_script_lang_js_ = (checkbox_groupvue_type_script_lang_js_);
|
|
11360
11470
|
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
11361
11471
|
var componentNormalizer = __webpack_require__(0);
|
|
11362
11472
|
|
|
11363
|
-
// CONCATENATED MODULE: ./packages/
|
|
11473
|
+
// CONCATENATED MODULE: ./packages/checkbox/src/checkbox-group.vue
|
|
11364
11474
|
|
|
11365
11475
|
|
|
11366
11476
|
|
|
@@ -11369,7 +11479,7 @@ var componentNormalizer = __webpack_require__(0);
|
|
|
11369
11479
|
/* normalize component */
|
|
11370
11480
|
|
|
11371
11481
|
var component = Object(componentNormalizer["a" /* default */])(
|
|
11372
|
-
|
|
11482
|
+
src_checkbox_groupvue_type_script_lang_js_,
|
|
11373
11483
|
render,
|
|
11374
11484
|
staticRenderFns,
|
|
11375
11485
|
false,
|
|
@@ -11381,17 +11491,17 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
11381
11491
|
|
|
11382
11492
|
/* hot reload */
|
|
11383
11493
|
if (false) { var api; }
|
|
11384
|
-
component.options.__file = "packages/
|
|
11385
|
-
/* harmony default export */ var
|
|
11386
|
-
// CONCATENATED MODULE: ./packages/
|
|
11494
|
+
component.options.__file = "packages/checkbox/src/checkbox-group.vue"
|
|
11495
|
+
/* harmony default export */ var checkbox_group = (component.exports);
|
|
11496
|
+
// CONCATENATED MODULE: ./packages/checkbox-group/index.js
|
|
11387
11497
|
|
|
11388
11498
|
|
|
11389
11499
|
/* istanbul ignore next */
|
|
11390
|
-
|
|
11391
|
-
Vue.component(
|
|
11500
|
+
checkbox_group.install = function (Vue) {
|
|
11501
|
+
Vue.component(checkbox_group.name, checkbox_group);
|
|
11392
11502
|
};
|
|
11393
11503
|
|
|
11394
|
-
/* harmony default export */ var
|
|
11504
|
+
/* harmony default export */ var packages_checkbox_group = __webpack_exports__["default"] = (checkbox_group);
|
|
11395
11505
|
|
|
11396
11506
|
/***/ })
|
|
11397
11507
|
|
|
@@ -11399,39 +11509,307 @@ main.install = function (Vue) {
|
|
|
11399
11509
|
|
|
11400
11510
|
/***/ }),
|
|
11401
11511
|
|
|
11402
|
-
/***/ "
|
|
11512
|
+
/***/ "8122":
|
|
11403
11513
|
/***/ (function(module, exports, __webpack_require__) {
|
|
11404
11514
|
|
|
11405
11515
|
"use strict";
|
|
11406
11516
|
|
|
11407
11517
|
|
|
11408
11518
|
exports.__esModule = true;
|
|
11519
|
+
exports.isEmpty = exports.isEqual = exports.arrayEquals = exports.looseEqual = exports.capitalize = exports.kebabCase = exports.autoprefixer = exports.isFirefox = exports.isEdge = exports.isIE = exports.coerceTruthyValueToArray = exports.arrayFind = exports.arrayFindIndex = exports.escapeRegexpString = exports.valueEquals = exports.generateId = exports.getValueByPath = undefined;
|
|
11409
11520
|
|
|
11410
|
-
|
|
11411
|
-
|
|
11412
|
-
|
|
11413
|
-
|
|
11414
|
-
|
|
11415
|
-
|
|
11416
|
-
|
|
11417
|
-
|
|
11418
|
-
|
|
11419
|
-
|
|
11521
|
+
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
|
|
11522
|
+
|
|
11523
|
+
exports.noop = noop;
|
|
11524
|
+
exports.hasOwn = hasOwn;
|
|
11525
|
+
exports.toObject = toObject;
|
|
11526
|
+
exports.getPropByPath = getPropByPath;
|
|
11527
|
+
exports.rafThrottle = rafThrottle;
|
|
11528
|
+
exports.objToArray = objToArray;
|
|
11529
|
+
|
|
11530
|
+
var _vue = __webpack_require__("8bbf");
|
|
11531
|
+
|
|
11532
|
+
var _vue2 = _interopRequireDefault(_vue);
|
|
11533
|
+
|
|
11534
|
+
var _types = __webpack_require__("a742");
|
|
11535
|
+
|
|
11536
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11537
|
+
|
|
11538
|
+
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
11539
|
+
|
|
11540
|
+
function noop() {};
|
|
11541
|
+
|
|
11542
|
+
function hasOwn(obj, key) {
|
|
11543
|
+
return hasOwnProperty.call(obj, key);
|
|
11544
|
+
};
|
|
11545
|
+
|
|
11546
|
+
function extend(to, _from) {
|
|
11547
|
+
for (var key in _from) {
|
|
11548
|
+
to[key] = _from[key];
|
|
11549
|
+
}
|
|
11550
|
+
return to;
|
|
11551
|
+
};
|
|
11552
|
+
|
|
11553
|
+
function toObject(arr) {
|
|
11554
|
+
var res = {};
|
|
11555
|
+
for (var i = 0; i < arr.length; i++) {
|
|
11556
|
+
if (arr[i]) {
|
|
11557
|
+
extend(res, arr[i]);
|
|
11420
11558
|
}
|
|
11421
11559
|
}
|
|
11560
|
+
return res;
|
|
11561
|
+
};
|
|
11422
11562
|
|
|
11423
|
-
|
|
11563
|
+
var getValueByPath = exports.getValueByPath = function getValueByPath(object, prop) {
|
|
11564
|
+
prop = prop || '';
|
|
11565
|
+
var paths = prop.split('.');
|
|
11566
|
+
var current = object;
|
|
11567
|
+
var result = null;
|
|
11568
|
+
for (var i = 0, j = paths.length; i < j; i++) {
|
|
11569
|
+
var path = paths[i];
|
|
11570
|
+
if (!current) break;
|
|
11571
|
+
|
|
11572
|
+
if (i === j - 1) {
|
|
11573
|
+
result = current[path];
|
|
11574
|
+
break;
|
|
11575
|
+
}
|
|
11576
|
+
current = current[path];
|
|
11577
|
+
}
|
|
11578
|
+
return result;
|
|
11424
11579
|
};
|
|
11425
11580
|
|
|
11426
|
-
|
|
11581
|
+
function getPropByPath(obj, path, strict) {
|
|
11582
|
+
var tempObj = obj;
|
|
11583
|
+
path = path.replace(/\[(\w+)\]/g, '.$1');
|
|
11584
|
+
path = path.replace(/^\./, '');
|
|
11427
11585
|
|
|
11428
|
-
|
|
11586
|
+
var keyArr = path.split('.');
|
|
11587
|
+
var i = 0;
|
|
11588
|
+
for (var len = keyArr.length; i < len - 1; ++i) {
|
|
11589
|
+
if (!tempObj && !strict) break;
|
|
11590
|
+
var key = keyArr[i];
|
|
11591
|
+
if (key in tempObj) {
|
|
11592
|
+
tempObj = tempObj[key];
|
|
11593
|
+
} else {
|
|
11594
|
+
if (strict) {
|
|
11595
|
+
throw new Error('please transfer a valid prop path to form item!');
|
|
11596
|
+
}
|
|
11597
|
+
break;
|
|
11598
|
+
}
|
|
11599
|
+
}
|
|
11600
|
+
return {
|
|
11601
|
+
o: tempObj,
|
|
11602
|
+
k: keyArr[i],
|
|
11603
|
+
v: tempObj ? tempObj[keyArr[i]] : null
|
|
11604
|
+
};
|
|
11605
|
+
};
|
|
11429
11606
|
|
|
11430
|
-
|
|
11431
|
-
|
|
11607
|
+
var generateId = exports.generateId = function generateId() {
|
|
11608
|
+
return Math.floor(Math.random() * 10000);
|
|
11609
|
+
};
|
|
11432
11610
|
|
|
11433
|
-
|
|
11434
|
-
|
|
11611
|
+
var valueEquals = exports.valueEquals = function valueEquals(a, b) {
|
|
11612
|
+
// see: https://stackoverflow.com/questions/3115982/how-to-check-if-two-arrays-are-equal-with-javascript
|
|
11613
|
+
if (a === b) return true;
|
|
11614
|
+
if (!(a instanceof Array)) return false;
|
|
11615
|
+
if (!(b instanceof Array)) return false;
|
|
11616
|
+
if (a.length !== b.length) return false;
|
|
11617
|
+
for (var i = 0; i !== a.length; ++i) {
|
|
11618
|
+
if (a[i] !== b[i]) return false;
|
|
11619
|
+
}
|
|
11620
|
+
return true;
|
|
11621
|
+
};
|
|
11622
|
+
|
|
11623
|
+
var escapeRegexpString = exports.escapeRegexpString = function escapeRegexpString() {
|
|
11624
|
+
var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
|
|
11625
|
+
return String(value).replace(/[|\\{}()[\]^$+*?.]/g, '\\$&');
|
|
11626
|
+
};
|
|
11627
|
+
|
|
11628
|
+
// TODO: use native Array.find, Array.findIndex when IE support is dropped
|
|
11629
|
+
var arrayFindIndex = exports.arrayFindIndex = function arrayFindIndex(arr, pred) {
|
|
11630
|
+
for (var i = 0; i !== arr.length; ++i) {
|
|
11631
|
+
if (pred(arr[i])) {
|
|
11632
|
+
return i;
|
|
11633
|
+
}
|
|
11634
|
+
}
|
|
11635
|
+
return -1;
|
|
11636
|
+
};
|
|
11637
|
+
|
|
11638
|
+
var arrayFind = exports.arrayFind = function arrayFind(arr, pred) {
|
|
11639
|
+
var idx = arrayFindIndex(arr, pred);
|
|
11640
|
+
return idx !== -1 ? arr[idx] : undefined;
|
|
11641
|
+
};
|
|
11642
|
+
|
|
11643
|
+
// coerce truthy value to array
|
|
11644
|
+
var coerceTruthyValueToArray = exports.coerceTruthyValueToArray = function coerceTruthyValueToArray(val) {
|
|
11645
|
+
if (Array.isArray(val)) {
|
|
11646
|
+
return val;
|
|
11647
|
+
} else if (val) {
|
|
11648
|
+
return [val];
|
|
11649
|
+
} else {
|
|
11650
|
+
return [];
|
|
11651
|
+
}
|
|
11652
|
+
};
|
|
11653
|
+
|
|
11654
|
+
var isIE = exports.isIE = function isIE() {
|
|
11655
|
+
return !_vue2.default.prototype.$isServer && !isNaN(Number(document.documentMode));
|
|
11656
|
+
};
|
|
11657
|
+
|
|
11658
|
+
var isEdge = exports.isEdge = function isEdge() {
|
|
11659
|
+
return !_vue2.default.prototype.$isServer && navigator.userAgent.indexOf('Edge') > -1;
|
|
11660
|
+
};
|
|
11661
|
+
|
|
11662
|
+
var isFirefox = exports.isFirefox = function isFirefox() {
|
|
11663
|
+
return !_vue2.default.prototype.$isServer && !!window.navigator.userAgent.match(/firefox/i);
|
|
11664
|
+
};
|
|
11665
|
+
|
|
11666
|
+
var autoprefixer = exports.autoprefixer = function autoprefixer(style) {
|
|
11667
|
+
if ((typeof style === 'undefined' ? 'undefined' : _typeof(style)) !== 'object') return style;
|
|
11668
|
+
var rules = ['transform', 'transition', 'animation'];
|
|
11669
|
+
var prefixes = ['ms-', 'webkit-'];
|
|
11670
|
+
rules.forEach(function (rule) {
|
|
11671
|
+
var value = style[rule];
|
|
11672
|
+
if (rule && value) {
|
|
11673
|
+
prefixes.forEach(function (prefix) {
|
|
11674
|
+
style[prefix + rule] = value;
|
|
11675
|
+
});
|
|
11676
|
+
}
|
|
11677
|
+
});
|
|
11678
|
+
return style;
|
|
11679
|
+
};
|
|
11680
|
+
|
|
11681
|
+
var kebabCase = exports.kebabCase = function kebabCase(str) {
|
|
11682
|
+
var hyphenateRE = /([^-])([A-Z])/g;
|
|
11683
|
+
return str.replace(hyphenateRE, '$1-$2').replace(hyphenateRE, '$1-$2').toLowerCase();
|
|
11684
|
+
};
|
|
11685
|
+
|
|
11686
|
+
var capitalize = exports.capitalize = function capitalize(str) {
|
|
11687
|
+
if (!(0, _types.isString)(str)) return str;
|
|
11688
|
+
return str.charAt(0).toUpperCase() + str.slice(1);
|
|
11689
|
+
};
|
|
11690
|
+
|
|
11691
|
+
var looseEqual = exports.looseEqual = function looseEqual(a, b) {
|
|
11692
|
+
var isObjectA = (0, _types.isObject)(a);
|
|
11693
|
+
var isObjectB = (0, _types.isObject)(b);
|
|
11694
|
+
if (isObjectA && isObjectB) {
|
|
11695
|
+
return JSON.stringify(a) === JSON.stringify(b);
|
|
11696
|
+
} else if (!isObjectA && !isObjectB) {
|
|
11697
|
+
return String(a) === String(b);
|
|
11698
|
+
} else {
|
|
11699
|
+
return false;
|
|
11700
|
+
}
|
|
11701
|
+
};
|
|
11702
|
+
|
|
11703
|
+
var arrayEquals = exports.arrayEquals = function arrayEquals(arrayA, arrayB) {
|
|
11704
|
+
arrayA = arrayA || [];
|
|
11705
|
+
arrayB = arrayB || [];
|
|
11706
|
+
|
|
11707
|
+
if (arrayA.length !== arrayB.length) {
|
|
11708
|
+
return false;
|
|
11709
|
+
}
|
|
11710
|
+
|
|
11711
|
+
for (var i = 0; i < arrayA.length; i++) {
|
|
11712
|
+
if (!looseEqual(arrayA[i], arrayB[i])) {
|
|
11713
|
+
return false;
|
|
11714
|
+
}
|
|
11715
|
+
}
|
|
11716
|
+
|
|
11717
|
+
return true;
|
|
11718
|
+
};
|
|
11719
|
+
|
|
11720
|
+
var isEqual = exports.isEqual = function isEqual(value1, value2) {
|
|
11721
|
+
if (Array.isArray(value1) && Array.isArray(value2)) {
|
|
11722
|
+
return arrayEquals(value1, value2);
|
|
11723
|
+
}
|
|
11724
|
+
return looseEqual(value1, value2);
|
|
11725
|
+
};
|
|
11726
|
+
|
|
11727
|
+
var isEmpty = exports.isEmpty = function isEmpty(val) {
|
|
11728
|
+
// null or undefined
|
|
11729
|
+
if (val == null) return true;
|
|
11730
|
+
|
|
11731
|
+
if (typeof val === 'boolean') return false;
|
|
11732
|
+
|
|
11733
|
+
if (typeof val === 'number') return !val;
|
|
11734
|
+
|
|
11735
|
+
if (val instanceof Error) return val.message === '';
|
|
11736
|
+
|
|
11737
|
+
switch (Object.prototype.toString.call(val)) {
|
|
11738
|
+
// String or Array
|
|
11739
|
+
case '[object String]':
|
|
11740
|
+
case '[object Array]':
|
|
11741
|
+
return !val.length;
|
|
11742
|
+
|
|
11743
|
+
// Map or Set or File
|
|
11744
|
+
case '[object File]':
|
|
11745
|
+
case '[object Map]':
|
|
11746
|
+
case '[object Set]':
|
|
11747
|
+
{
|
|
11748
|
+
return !val.size;
|
|
11749
|
+
}
|
|
11750
|
+
// Plain Object
|
|
11751
|
+
case '[object Object]':
|
|
11752
|
+
{
|
|
11753
|
+
return !Object.keys(val).length;
|
|
11754
|
+
}
|
|
11755
|
+
}
|
|
11756
|
+
|
|
11757
|
+
return false;
|
|
11758
|
+
};
|
|
11759
|
+
|
|
11760
|
+
function rafThrottle(fn) {
|
|
11761
|
+
var locked = false;
|
|
11762
|
+
return function () {
|
|
11763
|
+
var _this = this;
|
|
11764
|
+
|
|
11765
|
+
for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
|
|
11766
|
+
args[_key] = arguments[_key];
|
|
11767
|
+
}
|
|
11768
|
+
|
|
11769
|
+
if (locked) return;
|
|
11770
|
+
locked = true;
|
|
11771
|
+
window.requestAnimationFrame(function (_) {
|
|
11772
|
+
fn.apply(_this, args);
|
|
11773
|
+
locked = false;
|
|
11774
|
+
});
|
|
11775
|
+
};
|
|
11776
|
+
}
|
|
11777
|
+
|
|
11778
|
+
function objToArray(obj) {
|
|
11779
|
+
if (Array.isArray(obj)) {
|
|
11780
|
+
return obj;
|
|
11781
|
+
}
|
|
11782
|
+
return isEmpty(obj) ? [] : [obj];
|
|
11783
|
+
}
|
|
11784
|
+
|
|
11785
|
+
/***/ }),
|
|
11786
|
+
|
|
11787
|
+
/***/ "831f":
|
|
11788
|
+
/***/ (function(module, exports) {
|
|
11789
|
+
|
|
11790
|
+
module.exports = require("throttle-debounce");
|
|
11791
|
+
|
|
11792
|
+
/***/ }),
|
|
11793
|
+
|
|
11794
|
+
/***/ "8535":
|
|
11795
|
+
/***/ (function(module, exports) {
|
|
11796
|
+
|
|
11797
|
+
module.exports = require("core-js/modules/es.set.js");
|
|
11798
|
+
|
|
11799
|
+
/***/ }),
|
|
11800
|
+
|
|
11801
|
+
/***/ "85f7":
|
|
11802
|
+
/***/ (function(module, exports) {
|
|
11803
|
+
|
|
11804
|
+
module.exports = require("core-js/modules/es.array.includes.js");
|
|
11805
|
+
|
|
11806
|
+
/***/ }),
|
|
11807
|
+
|
|
11808
|
+
/***/ "896a":
|
|
11809
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
11810
|
+
|
|
11811
|
+
module.exports =
|
|
11812
|
+
/******/ (function(modules) { // webpackBootstrap
|
|
11435
11813
|
/******/ // The module cache
|
|
11436
11814
|
/******/ var installedModules = {};
|
|
11437
11815
|
/******/
|
|
@@ -11514,7 +11892,7 @@ module.exports =
|
|
|
11514
11892
|
/******/
|
|
11515
11893
|
/******/
|
|
11516
11894
|
/******/ // Load entry module and return exports
|
|
11517
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
11895
|
+
/******/ return __webpack_require__(__webpack_require__.s = 73);
|
|
11518
11896
|
/******/ })
|
|
11519
11897
|
/************************************************************************/
|
|
11520
11898
|
/******/ ({
|
|
@@ -11621,92 +11999,153 @@ function normalizeComponent (
|
|
|
11621
11999
|
|
|
11622
12000
|
/***/ }),
|
|
11623
12001
|
|
|
11624
|
-
/***/
|
|
12002
|
+
/***/ 13:
|
|
11625
12003
|
/***/ (function(module, exports) {
|
|
11626
12004
|
|
|
11627
|
-
module.exports = __webpack_require__("
|
|
12005
|
+
module.exports = __webpack_require__("5128");
|
|
11628
12006
|
|
|
11629
12007
|
/***/ }),
|
|
11630
12008
|
|
|
11631
|
-
/***/
|
|
12009
|
+
/***/ 2:
|
|
12010
|
+
/***/ (function(module, exports) {
|
|
12011
|
+
|
|
12012
|
+
module.exports = __webpack_require__("5924");
|
|
12013
|
+
|
|
12014
|
+
/***/ }),
|
|
12015
|
+
|
|
12016
|
+
/***/ 42:
|
|
12017
|
+
/***/ (function(module, exports) {
|
|
12018
|
+
|
|
12019
|
+
module.exports = __webpack_require__("c56a");
|
|
12020
|
+
|
|
12021
|
+
/***/ }),
|
|
12022
|
+
|
|
12023
|
+
/***/ 7:
|
|
12024
|
+
/***/ (function(module, exports) {
|
|
12025
|
+
|
|
12026
|
+
module.exports = __webpack_require__("8bbf");
|
|
12027
|
+
|
|
12028
|
+
/***/ }),
|
|
12029
|
+
|
|
12030
|
+
/***/ 73:
|
|
11632
12031
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
11633
12032
|
|
|
11634
12033
|
"use strict";
|
|
11635
12034
|
__webpack_require__.r(__webpack_exports__);
|
|
11636
12035
|
|
|
11637
|
-
//
|
|
12036
|
+
// EXTERNAL MODULE: external "vue"
|
|
12037
|
+
var external_vue_ = __webpack_require__(7);
|
|
12038
|
+
var external_vue_default = /*#__PURE__*/__webpack_require__.n(external_vue_);
|
|
12039
|
+
|
|
12040
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/loading/src/loading.vue?vue&type=template&id=eee0a7ac&
|
|
11638
12041
|
var render = function() {
|
|
11639
12042
|
var _vm = this
|
|
11640
12043
|
var _h = _vm.$createElement
|
|
11641
12044
|
var _c = _vm._self._c || _h
|
|
11642
12045
|
return _c(
|
|
11643
|
-
"
|
|
12046
|
+
"transition",
|
|
11644
12047
|
{
|
|
11645
|
-
|
|
11646
|
-
|
|
12048
|
+
attrs: { name: "el-loading-fade" },
|
|
12049
|
+
on: { "after-leave": _vm.handleAfterLeave }
|
|
11647
12050
|
},
|
|
11648
|
-
[
|
|
11649
|
-
|
|
11650
|
-
|
|
11651
|
-
|
|
11652
|
-
|
|
11653
|
-
|
|
11654
|
-
|
|
11655
|
-
|
|
11656
|
-
|
|
11657
|
-
|
|
11658
|
-
|
|
11659
|
-
|
|
11660
|
-
|
|
11661
|
-
|
|
11662
|
-
|
|
11663
|
-
|
|
11664
|
-
|
|
12051
|
+
[
|
|
12052
|
+
_c(
|
|
12053
|
+
"div",
|
|
12054
|
+
{
|
|
12055
|
+
directives: [
|
|
12056
|
+
{
|
|
12057
|
+
name: "show",
|
|
12058
|
+
rawName: "v-show",
|
|
12059
|
+
value: _vm.visible,
|
|
12060
|
+
expression: "visible"
|
|
12061
|
+
}
|
|
12062
|
+
],
|
|
12063
|
+
staticClass: "el-loading-mask",
|
|
12064
|
+
class: [_vm.customClass, { "is-fullscreen": _vm.fullscreen }],
|
|
12065
|
+
style: { backgroundColor: _vm.background || "" }
|
|
12066
|
+
},
|
|
12067
|
+
[
|
|
12068
|
+
_c("div", { staticClass: "el-loading-spinner" }, [
|
|
12069
|
+
!_vm.spinner
|
|
12070
|
+
? _c(
|
|
12071
|
+
"svg",
|
|
12072
|
+
{
|
|
12073
|
+
staticClass: "circular",
|
|
12074
|
+
attrs: { viewBox: "25 25 50 50" }
|
|
12075
|
+
},
|
|
12076
|
+
[
|
|
12077
|
+
_c("circle", {
|
|
12078
|
+
staticClass: "path",
|
|
12079
|
+
attrs: { cx: "50", cy: "50", r: "20", fill: "none" }
|
|
12080
|
+
})
|
|
12081
|
+
]
|
|
12082
|
+
)
|
|
12083
|
+
: _c("i", { class: _vm.spinner }),
|
|
12084
|
+
_vm.text
|
|
12085
|
+
? _c("p", { staticClass: "el-loading-text" }, [
|
|
12086
|
+
_vm._v(_vm._s(_vm.text))
|
|
12087
|
+
])
|
|
12088
|
+
: _vm._e()
|
|
12089
|
+
])
|
|
12090
|
+
]
|
|
12091
|
+
)
|
|
12092
|
+
]
|
|
12093
|
+
)
|
|
12094
|
+
}
|
|
12095
|
+
var staticRenderFns = []
|
|
12096
|
+
render._withStripped = true
|
|
11665
12097
|
|
|
11666
|
-
/* harmony default export */ var checkbox_groupvue_type_script_lang_js_ = ({
|
|
11667
|
-
name: 'ElCheckboxGroup',
|
|
11668
12098
|
|
|
11669
|
-
|
|
12099
|
+
// CONCATENATED MODULE: ./packages/loading/src/loading.vue?vue&type=template&id=eee0a7ac&
|
|
11670
12100
|
|
|
11671
|
-
|
|
12101
|
+
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/loading/src/loading.vue?vue&type=script&lang=js&
|
|
12102
|
+
//
|
|
12103
|
+
//
|
|
12104
|
+
//
|
|
12105
|
+
//
|
|
12106
|
+
//
|
|
12107
|
+
//
|
|
12108
|
+
//
|
|
12109
|
+
//
|
|
12110
|
+
//
|
|
12111
|
+
//
|
|
12112
|
+
//
|
|
12113
|
+
//
|
|
12114
|
+
//
|
|
12115
|
+
//
|
|
12116
|
+
//
|
|
12117
|
+
//
|
|
12118
|
+
//
|
|
12119
|
+
//
|
|
11672
12120
|
|
|
11673
|
-
|
|
11674
|
-
|
|
11675
|
-
|
|
11676
|
-
|
|
12121
|
+
/* harmony default export */ var loadingvue_type_script_lang_js_ = ({
|
|
12122
|
+
data: function data() {
|
|
12123
|
+
return {
|
|
12124
|
+
text: null,
|
|
12125
|
+
spinner: null,
|
|
12126
|
+
background: null,
|
|
12127
|
+
fullscreen: true,
|
|
12128
|
+
visible: false,
|
|
12129
|
+
customClass: ''
|
|
12130
|
+
};
|
|
11677
12131
|
},
|
|
11678
12132
|
|
|
11679
|
-
props: {
|
|
11680
|
-
value: {},
|
|
11681
|
-
disabled: Boolean,
|
|
11682
|
-
min: Number,
|
|
11683
|
-
max: Number,
|
|
11684
|
-
size: String,
|
|
11685
|
-
fill: String,
|
|
11686
|
-
textColor: String
|
|
11687
|
-
},
|
|
11688
12133
|
|
|
11689
|
-
|
|
11690
|
-
|
|
11691
|
-
|
|
12134
|
+
methods: {
|
|
12135
|
+
handleAfterLeave: function handleAfterLeave() {
|
|
12136
|
+
this.$emit('after-leave');
|
|
11692
12137
|
},
|
|
11693
|
-
|
|
11694
|
-
|
|
11695
|
-
}
|
|
11696
|
-
},
|
|
11697
|
-
|
|
11698
|
-
watch: {
|
|
11699
|
-
value: function value(_value) {
|
|
11700
|
-
this.dispatch('ElFormItem', 'el.form.change', [_value]);
|
|
12138
|
+
setText: function setText(text) {
|
|
12139
|
+
this.text = text;
|
|
11701
12140
|
}
|
|
11702
12141
|
}
|
|
11703
12142
|
});
|
|
11704
|
-
// CONCATENATED MODULE: ./packages/
|
|
11705
|
-
/* harmony default export */ var
|
|
12143
|
+
// CONCATENATED MODULE: ./packages/loading/src/loading.vue?vue&type=script&lang=js&
|
|
12144
|
+
/* harmony default export */ var src_loadingvue_type_script_lang_js_ = (loadingvue_type_script_lang_js_);
|
|
11706
12145
|
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
11707
12146
|
var componentNormalizer = __webpack_require__(0);
|
|
11708
12147
|
|
|
11709
|
-
// CONCATENATED MODULE: ./packages/
|
|
12148
|
+
// CONCATENATED MODULE: ./packages/loading/src/loading.vue
|
|
11710
12149
|
|
|
11711
12150
|
|
|
11712
12151
|
|
|
@@ -11715,7 +12154,7 @@ var componentNormalizer = __webpack_require__(0);
|
|
|
11715
12154
|
/* normalize component */
|
|
11716
12155
|
|
|
11717
12156
|
var component = Object(componentNormalizer["a" /* default */])(
|
|
11718
|
-
|
|
12157
|
+
src_loadingvue_type_script_lang_js_,
|
|
11719
12158
|
render,
|
|
11720
12159
|
staticRenderFns,
|
|
11721
12160
|
false,
|
|
@@ -11727,321 +12166,282 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
11727
12166
|
|
|
11728
12167
|
/* hot reload */
|
|
11729
12168
|
if (false) { var api; }
|
|
11730
|
-
component.options.__file = "packages/
|
|
11731
|
-
/* harmony default export */ var
|
|
11732
|
-
//
|
|
11733
|
-
|
|
12169
|
+
component.options.__file = "packages/loading/src/loading.vue"
|
|
12170
|
+
/* harmony default export */ var loading = (component.exports);
|
|
12171
|
+
// EXTERNAL MODULE: external "element-ui/lib/utils/dom"
|
|
12172
|
+
var dom_ = __webpack_require__(2);
|
|
11734
12173
|
|
|
11735
|
-
|
|
11736
|
-
|
|
11737
|
-
Vue.component(checkbox_group.name, checkbox_group);
|
|
11738
|
-
};
|
|
12174
|
+
// EXTERNAL MODULE: external "element-ui/lib/utils/popup"
|
|
12175
|
+
var popup_ = __webpack_require__(13);
|
|
11739
12176
|
|
|
11740
|
-
|
|
12177
|
+
// EXTERNAL MODULE: external "element-ui/lib/utils/after-leave"
|
|
12178
|
+
var after_leave_ = __webpack_require__(42);
|
|
12179
|
+
var after_leave_default = /*#__PURE__*/__webpack_require__.n(after_leave_);
|
|
11741
12180
|
|
|
11742
|
-
|
|
12181
|
+
// CONCATENATED MODULE: ./packages/loading/src/directive.js
|
|
11743
12182
|
|
|
11744
|
-
/******/ });
|
|
11745
12183
|
|
|
11746
|
-
/***/ }),
|
|
11747
12184
|
|
|
11748
|
-
/***/ "8122":
|
|
11749
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
11750
12185
|
|
|
11751
|
-
"use strict";
|
|
11752
12186
|
|
|
12187
|
+
var Mask = external_vue_default.a.extend(loading);
|
|
11753
12188
|
|
|
11754
|
-
|
|
11755
|
-
|
|
12189
|
+
var loadingDirective = {};
|
|
12190
|
+
loadingDirective.install = function (Vue) {
|
|
12191
|
+
if (Vue.prototype.$isServer) return;
|
|
12192
|
+
var toggleLoading = function toggleLoading(el, binding) {
|
|
12193
|
+
if (binding.value) {
|
|
12194
|
+
Vue.nextTick(function () {
|
|
12195
|
+
if (binding.modifiers.fullscreen) {
|
|
12196
|
+
el.originalPosition = Object(dom_["getStyle"])(document.body, 'position');
|
|
12197
|
+
el.originalOverflow = Object(dom_["getStyle"])(document.body, 'overflow');
|
|
12198
|
+
el.maskStyle.zIndex = popup_["PopupManager"].nextZIndex();
|
|
11756
12199
|
|
|
11757
|
-
|
|
12200
|
+
Object(dom_["addClass"])(el.mask, 'is-fullscreen');
|
|
12201
|
+
insertDom(document.body, el, binding);
|
|
12202
|
+
} else {
|
|
12203
|
+
Object(dom_["removeClass"])(el.mask, 'is-fullscreen');
|
|
11758
12204
|
|
|
11759
|
-
|
|
11760
|
-
|
|
11761
|
-
exports.toObject = toObject;
|
|
11762
|
-
exports.getPropByPath = getPropByPath;
|
|
11763
|
-
exports.rafThrottle = rafThrottle;
|
|
11764
|
-
exports.objToArray = objToArray;
|
|
12205
|
+
if (binding.modifiers.body) {
|
|
12206
|
+
el.originalPosition = Object(dom_["getStyle"])(document.body, 'position');
|
|
11765
12207
|
|
|
11766
|
-
|
|
12208
|
+
['top', 'left'].forEach(function (property) {
|
|
12209
|
+
var scroll = property === 'top' ? 'scrollTop' : 'scrollLeft';
|
|
12210
|
+
el.maskStyle[property] = el.getBoundingClientRect()[property] + document.body[scroll] + document.documentElement[scroll] - parseInt(Object(dom_["getStyle"])(document.body, 'margin-' + property), 10) + 'px';
|
|
12211
|
+
});
|
|
12212
|
+
['height', 'width'].forEach(function (property) {
|
|
12213
|
+
el.maskStyle[property] = el.getBoundingClientRect()[property] + 'px';
|
|
12214
|
+
});
|
|
11767
12215
|
|
|
11768
|
-
|
|
12216
|
+
insertDom(document.body, el, binding);
|
|
12217
|
+
} else {
|
|
12218
|
+
el.originalPosition = Object(dom_["getStyle"])(el, 'position');
|
|
12219
|
+
insertDom(el, el, binding);
|
|
12220
|
+
}
|
|
12221
|
+
}
|
|
12222
|
+
});
|
|
12223
|
+
} else {
|
|
12224
|
+
after_leave_default()(el.instance, function (_) {
|
|
12225
|
+
if (!el.instance.hiding) return;
|
|
12226
|
+
el.domVisible = false;
|
|
12227
|
+
var target = binding.modifiers.fullscreen || binding.modifiers.body ? document.body : el;
|
|
12228
|
+
Object(dom_["removeClass"])(target, 'el-loading-parent--relative');
|
|
12229
|
+
Object(dom_["removeClass"])(target, 'el-loading-parent--hidden');
|
|
12230
|
+
el.instance.hiding = false;
|
|
12231
|
+
}, 300, true);
|
|
12232
|
+
el.instance.visible = false;
|
|
12233
|
+
el.instance.hiding = true;
|
|
12234
|
+
}
|
|
12235
|
+
};
|
|
12236
|
+
var insertDom = function insertDom(parent, el, binding) {
|
|
12237
|
+
if (!el.domVisible && Object(dom_["getStyle"])(el, 'display') !== 'none' && Object(dom_["getStyle"])(el, 'visibility') !== 'hidden') {
|
|
12238
|
+
Object.keys(el.maskStyle).forEach(function (property) {
|
|
12239
|
+
el.mask.style[property] = el.maskStyle[property];
|
|
12240
|
+
});
|
|
11769
12241
|
|
|
11770
|
-
|
|
12242
|
+
if (el.originalPosition !== 'absolute' && el.originalPosition !== 'fixed' && el.originalPosition !== 'sticky') {
|
|
12243
|
+
Object(dom_["addClass"])(parent, 'el-loading-parent--relative');
|
|
12244
|
+
}
|
|
12245
|
+
if (binding.modifiers.fullscreen && binding.modifiers.lock) {
|
|
12246
|
+
Object(dom_["addClass"])(parent, 'el-loading-parent--hidden');
|
|
12247
|
+
}
|
|
12248
|
+
el.domVisible = true;
|
|
11771
12249
|
|
|
11772
|
-
|
|
12250
|
+
parent.appendChild(el.mask);
|
|
12251
|
+
Vue.nextTick(function () {
|
|
12252
|
+
if (el.instance.hiding) {
|
|
12253
|
+
el.instance.$emit('after-leave');
|
|
12254
|
+
} else {
|
|
12255
|
+
el.instance.visible = true;
|
|
12256
|
+
}
|
|
12257
|
+
});
|
|
12258
|
+
el.domInserted = true;
|
|
12259
|
+
} else if (el.domVisible && el.instance.hiding === true) {
|
|
12260
|
+
el.instance.visible = true;
|
|
12261
|
+
el.instance.hiding = false;
|
|
12262
|
+
}
|
|
12263
|
+
};
|
|
11773
12264
|
|
|
11774
|
-
|
|
12265
|
+
Vue.directive('loading', {
|
|
12266
|
+
bind: function bind(el, binding, vnode) {
|
|
12267
|
+
var textExr = el.getAttribute('element-loading-text');
|
|
12268
|
+
var spinnerExr = el.getAttribute('element-loading-spinner');
|
|
12269
|
+
var backgroundExr = el.getAttribute('element-loading-background');
|
|
12270
|
+
var customClassExr = el.getAttribute('element-loading-custom-class');
|
|
12271
|
+
var vm = vnode.context;
|
|
12272
|
+
var mask = new Mask({
|
|
12273
|
+
el: document.createElement('div'),
|
|
12274
|
+
data: {
|
|
12275
|
+
text: vm && vm[textExr] || textExr,
|
|
12276
|
+
spinner: vm && vm[spinnerExr] || spinnerExr,
|
|
12277
|
+
background: vm && vm[backgroundExr] || backgroundExr,
|
|
12278
|
+
customClass: vm && vm[customClassExr] || customClassExr,
|
|
12279
|
+
fullscreen: !!binding.modifiers.fullscreen
|
|
12280
|
+
}
|
|
12281
|
+
});
|
|
12282
|
+
el.instance = mask;
|
|
12283
|
+
el.mask = mask.$el;
|
|
12284
|
+
el.maskStyle = {};
|
|
11775
12285
|
|
|
11776
|
-
|
|
12286
|
+
binding.value && toggleLoading(el, binding);
|
|
12287
|
+
},
|
|
11777
12288
|
|
|
11778
|
-
function
|
|
11779
|
-
|
|
11780
|
-
|
|
11781
|
-
|
|
11782
|
-
|
|
11783
|
-
|
|
11784
|
-
to[key] = _from[key];
|
|
11785
|
-
}
|
|
11786
|
-
return to;
|
|
11787
|
-
};
|
|
12289
|
+
update: function update(el, binding) {
|
|
12290
|
+
el.instance.setText(el.getAttribute('element-loading-text'));
|
|
12291
|
+
if (binding.oldValue !== binding.value) {
|
|
12292
|
+
toggleLoading(el, binding);
|
|
12293
|
+
}
|
|
12294
|
+
},
|
|
11788
12295
|
|
|
11789
|
-
function
|
|
11790
|
-
|
|
11791
|
-
|
|
11792
|
-
|
|
11793
|
-
|
|
12296
|
+
unbind: function unbind(el, binding) {
|
|
12297
|
+
if (el.domInserted) {
|
|
12298
|
+
el.mask && el.mask.parentNode && el.mask.parentNode.removeChild(el.mask);
|
|
12299
|
+
toggleLoading(el, { value: false, modifiers: binding.modifiers });
|
|
12300
|
+
}
|
|
12301
|
+
el.instance && el.instance.$destroy();
|
|
11794
12302
|
}
|
|
11795
|
-
}
|
|
11796
|
-
return res;
|
|
12303
|
+
});
|
|
11797
12304
|
};
|
|
11798
12305
|
|
|
11799
|
-
|
|
11800
|
-
|
|
11801
|
-
|
|
11802
|
-
|
|
11803
|
-
var result = null;
|
|
11804
|
-
for (var i = 0, j = paths.length; i < j; i++) {
|
|
11805
|
-
var path = paths[i];
|
|
11806
|
-
if (!current) break;
|
|
12306
|
+
/* harmony default export */ var directive = (loadingDirective);
|
|
12307
|
+
// EXTERNAL MODULE: external "element-ui/lib/utils/merge"
|
|
12308
|
+
var merge_ = __webpack_require__(9);
|
|
12309
|
+
var merge_default = /*#__PURE__*/__webpack_require__.n(merge_);
|
|
11807
12310
|
|
|
11808
|
-
|
|
11809
|
-
result = current[path];
|
|
11810
|
-
break;
|
|
11811
|
-
}
|
|
11812
|
-
current = current[path];
|
|
11813
|
-
}
|
|
11814
|
-
return result;
|
|
11815
|
-
};
|
|
12311
|
+
// CONCATENATED MODULE: ./packages/loading/src/index.js
|
|
11816
12312
|
|
|
11817
|
-
function getPropByPath(obj, path, strict) {
|
|
11818
|
-
var tempObj = obj;
|
|
11819
|
-
path = path.replace(/\[(\w+)\]/g, '.$1');
|
|
11820
|
-
path = path.replace(/^\./, '');
|
|
11821
12313
|
|
|
11822
|
-
var keyArr = path.split('.');
|
|
11823
|
-
var i = 0;
|
|
11824
|
-
for (var len = keyArr.length; i < len - 1; ++i) {
|
|
11825
|
-
if (!tempObj && !strict) break;
|
|
11826
|
-
var key = keyArr[i];
|
|
11827
|
-
if (key in tempObj) {
|
|
11828
|
-
tempObj = tempObj[key];
|
|
11829
|
-
} else {
|
|
11830
|
-
if (strict) {
|
|
11831
|
-
throw new Error('please transfer a valid prop path to form item!');
|
|
11832
|
-
}
|
|
11833
|
-
break;
|
|
11834
|
-
}
|
|
11835
|
-
}
|
|
11836
|
-
return {
|
|
11837
|
-
o: tempObj,
|
|
11838
|
-
k: keyArr[i],
|
|
11839
|
-
v: tempObj ? tempObj[keyArr[i]] : null
|
|
11840
|
-
};
|
|
11841
|
-
};
|
|
11842
12314
|
|
|
11843
|
-
var generateId = exports.generateId = function generateId() {
|
|
11844
|
-
return Math.floor(Math.random() * 10000);
|
|
11845
|
-
};
|
|
11846
12315
|
|
|
11847
|
-
var valueEquals = exports.valueEquals = function valueEquals(a, b) {
|
|
11848
|
-
// see: https://stackoverflow.com/questions/3115982/how-to-check-if-two-arrays-are-equal-with-javascript
|
|
11849
|
-
if (a === b) return true;
|
|
11850
|
-
if (!(a instanceof Array)) return false;
|
|
11851
|
-
if (!(b instanceof Array)) return false;
|
|
11852
|
-
if (a.length !== b.length) return false;
|
|
11853
|
-
for (var i = 0; i !== a.length; ++i) {
|
|
11854
|
-
if (a[i] !== b[i]) return false;
|
|
11855
|
-
}
|
|
11856
|
-
return true;
|
|
11857
|
-
};
|
|
11858
12316
|
|
|
11859
|
-
var escapeRegexpString = exports.escapeRegexpString = function escapeRegexpString() {
|
|
11860
|
-
var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
|
|
11861
|
-
return String(value).replace(/[|\\{}()[\]^$+*?.]/g, '\\$&');
|
|
11862
|
-
};
|
|
11863
12317
|
|
|
11864
|
-
// TODO: use native Array.find, Array.findIndex when IE support is dropped
|
|
11865
|
-
var arrayFindIndex = exports.arrayFindIndex = function arrayFindIndex(arr, pred) {
|
|
11866
|
-
for (var i = 0; i !== arr.length; ++i) {
|
|
11867
|
-
if (pred(arr[i])) {
|
|
11868
|
-
return i;
|
|
11869
|
-
}
|
|
11870
|
-
}
|
|
11871
|
-
return -1;
|
|
11872
|
-
};
|
|
11873
12318
|
|
|
11874
|
-
var
|
|
11875
|
-
var idx = arrayFindIndex(arr, pred);
|
|
11876
|
-
return idx !== -1 ? arr[idx] : undefined;
|
|
11877
|
-
};
|
|
12319
|
+
var LoadingConstructor = external_vue_default.a.extend(loading);
|
|
11878
12320
|
|
|
11879
|
-
|
|
11880
|
-
|
|
11881
|
-
|
|
11882
|
-
|
|
11883
|
-
|
|
11884
|
-
|
|
11885
|
-
} else {
|
|
11886
|
-
return [];
|
|
11887
|
-
}
|
|
12321
|
+
var defaults = {
|
|
12322
|
+
text: null,
|
|
12323
|
+
fullscreen: true,
|
|
12324
|
+
body: false,
|
|
12325
|
+
lock: false,
|
|
12326
|
+
customClass: ''
|
|
11888
12327
|
};
|
|
11889
12328
|
|
|
11890
|
-
var
|
|
11891
|
-
return !_vue2.default.prototype.$isServer && !isNaN(Number(document.documentMode));
|
|
11892
|
-
};
|
|
12329
|
+
var fullscreenLoading = void 0;
|
|
11893
12330
|
|
|
11894
|
-
|
|
11895
|
-
|
|
11896
|
-
};
|
|
12331
|
+
LoadingConstructor.prototype.originalPosition = '';
|
|
12332
|
+
LoadingConstructor.prototype.originalOverflow = '';
|
|
11897
12333
|
|
|
11898
|
-
|
|
11899
|
-
|
|
11900
|
-
};
|
|
12334
|
+
LoadingConstructor.prototype.close = function () {
|
|
12335
|
+
var _this = this;
|
|
11901
12336
|
|
|
11902
|
-
|
|
11903
|
-
|
|
11904
|
-
|
|
11905
|
-
|
|
11906
|
-
|
|
11907
|
-
|
|
11908
|
-
|
|
11909
|
-
|
|
11910
|
-
|
|
11911
|
-
});
|
|
12337
|
+
if (this.fullscreen) {
|
|
12338
|
+
fullscreenLoading = undefined;
|
|
12339
|
+
}
|
|
12340
|
+
after_leave_default()(this, function (_) {
|
|
12341
|
+
var target = _this.fullscreen || _this.body ? document.body : _this.target;
|
|
12342
|
+
Object(dom_["removeClass"])(target, 'el-loading-parent--relative');
|
|
12343
|
+
Object(dom_["removeClass"])(target, 'el-loading-parent--hidden');
|
|
12344
|
+
if (_this.$el && _this.$el.parentNode) {
|
|
12345
|
+
_this.$el.parentNode.removeChild(_this.$el);
|
|
11912
12346
|
}
|
|
11913
|
-
|
|
11914
|
-
|
|
11915
|
-
|
|
11916
|
-
|
|
11917
|
-
var kebabCase = exports.kebabCase = function kebabCase(str) {
|
|
11918
|
-
var hyphenateRE = /([^-])([A-Z])/g;
|
|
11919
|
-
return str.replace(hyphenateRE, '$1-$2').replace(hyphenateRE, '$1-$2').toLowerCase();
|
|
11920
|
-
};
|
|
11921
|
-
|
|
11922
|
-
var capitalize = exports.capitalize = function capitalize(str) {
|
|
11923
|
-
if (!(0, _types.isString)(str)) return str;
|
|
11924
|
-
return str.charAt(0).toUpperCase() + str.slice(1);
|
|
12347
|
+
_this.$destroy();
|
|
12348
|
+
}, 300);
|
|
12349
|
+
this.visible = false;
|
|
11925
12350
|
};
|
|
11926
12351
|
|
|
11927
|
-
var
|
|
11928
|
-
var
|
|
11929
|
-
|
|
11930
|
-
|
|
11931
|
-
|
|
11932
|
-
|
|
11933
|
-
|
|
12352
|
+
var src_addStyle = function addStyle(options, parent, instance) {
|
|
12353
|
+
var maskStyle = {};
|
|
12354
|
+
if (options.fullscreen) {
|
|
12355
|
+
instance.originalPosition = Object(dom_["getStyle"])(document.body, 'position');
|
|
12356
|
+
instance.originalOverflow = Object(dom_["getStyle"])(document.body, 'overflow');
|
|
12357
|
+
maskStyle.zIndex = popup_["PopupManager"].nextZIndex();
|
|
12358
|
+
} else if (options.body) {
|
|
12359
|
+
instance.originalPosition = Object(dom_["getStyle"])(document.body, 'position');
|
|
12360
|
+
['top', 'left'].forEach(function (property) {
|
|
12361
|
+
var scroll = property === 'top' ? 'scrollTop' : 'scrollLeft';
|
|
12362
|
+
maskStyle[property] = options.target.getBoundingClientRect()[property] + document.body[scroll] + document.documentElement[scroll] + 'px';
|
|
12363
|
+
});
|
|
12364
|
+
['height', 'width'].forEach(function (property) {
|
|
12365
|
+
maskStyle[property] = options.target.getBoundingClientRect()[property] + 'px';
|
|
12366
|
+
});
|
|
11934
12367
|
} else {
|
|
11935
|
-
|
|
12368
|
+
instance.originalPosition = Object(dom_["getStyle"])(parent, 'position');
|
|
11936
12369
|
}
|
|
12370
|
+
Object.keys(maskStyle).forEach(function (property) {
|
|
12371
|
+
instance.$el.style[property] = maskStyle[property];
|
|
12372
|
+
});
|
|
11937
12373
|
};
|
|
11938
12374
|
|
|
11939
|
-
var
|
|
11940
|
-
|
|
11941
|
-
arrayB = arrayB || [];
|
|
12375
|
+
var src_Loading = function Loading() {
|
|
12376
|
+
var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
11942
12377
|
|
|
11943
|
-
if (
|
|
11944
|
-
|
|
12378
|
+
if (external_vue_default.a.prototype.$isServer) return;
|
|
12379
|
+
options = merge_default()({}, defaults, options);
|
|
12380
|
+
if (typeof options.target === 'string') {
|
|
12381
|
+
options.target = document.querySelector(options.target);
|
|
11945
12382
|
}
|
|
11946
|
-
|
|
11947
|
-
|
|
11948
|
-
|
|
11949
|
-
|
|
11950
|
-
|
|
12383
|
+
options.target = options.target || document.body;
|
|
12384
|
+
if (options.target !== document.body) {
|
|
12385
|
+
options.fullscreen = false;
|
|
12386
|
+
} else {
|
|
12387
|
+
options.body = true;
|
|
12388
|
+
}
|
|
12389
|
+
if (options.fullscreen && fullscreenLoading) {
|
|
12390
|
+
return fullscreenLoading;
|
|
11951
12391
|
}
|
|
11952
12392
|
|
|
11953
|
-
|
|
11954
|
-
|
|
12393
|
+
var parent = options.body ? document.body : options.target;
|
|
12394
|
+
var instance = new LoadingConstructor({
|
|
12395
|
+
el: document.createElement('div'),
|
|
12396
|
+
data: options
|
|
12397
|
+
});
|
|
11955
12398
|
|
|
11956
|
-
|
|
11957
|
-
if (
|
|
11958
|
-
|
|
12399
|
+
src_addStyle(options, parent, instance);
|
|
12400
|
+
if (instance.originalPosition !== 'absolute' && instance.originalPosition !== 'fixed' && instance.originalPosition !== 'sticky') {
|
|
12401
|
+
Object(dom_["addClass"])(parent, 'el-loading-parent--relative');
|
|
11959
12402
|
}
|
|
11960
|
-
|
|
12403
|
+
if (options.fullscreen && options.lock) {
|
|
12404
|
+
Object(dom_["addClass"])(parent, 'el-loading-parent--hidden');
|
|
12405
|
+
}
|
|
12406
|
+
parent.appendChild(instance.$el);
|
|
12407
|
+
external_vue_default.a.nextTick(function () {
|
|
12408
|
+
instance.visible = true;
|
|
12409
|
+
});
|
|
12410
|
+
if (options.fullscreen) {
|
|
12411
|
+
fullscreenLoading = instance;
|
|
12412
|
+
}
|
|
12413
|
+
return instance;
|
|
11961
12414
|
};
|
|
11962
12415
|
|
|
11963
|
-
|
|
11964
|
-
|
|
11965
|
-
if (val == null) return true;
|
|
12416
|
+
/* harmony default export */ var src = (src_Loading);
|
|
12417
|
+
// CONCATENATED MODULE: ./packages/loading/index.js
|
|
11966
12418
|
|
|
11967
|
-
if (typeof val === 'boolean') return false;
|
|
11968
12419
|
|
|
11969
|
-
if (typeof val === 'number') return !val;
|
|
11970
12420
|
|
|
11971
|
-
|
|
12421
|
+
/* harmony default export */ var packages_loading = __webpack_exports__["default"] = ({
|
|
12422
|
+
install: function install(Vue) {
|
|
12423
|
+
Vue.use(directive);
|
|
12424
|
+
Vue.prototype.$loading = src;
|
|
12425
|
+
},
|
|
11972
12426
|
|
|
11973
|
-
|
|
11974
|
-
|
|
11975
|
-
|
|
11976
|
-
case '[object Array]':
|
|
11977
|
-
return !val.length;
|
|
11978
|
-
|
|
11979
|
-
// Map or Set or File
|
|
11980
|
-
case '[object File]':
|
|
11981
|
-
case '[object Map]':
|
|
11982
|
-
case '[object Set]':
|
|
11983
|
-
{
|
|
11984
|
-
return !val.size;
|
|
11985
|
-
}
|
|
11986
|
-
// Plain Object
|
|
11987
|
-
case '[object Object]':
|
|
11988
|
-
{
|
|
11989
|
-
return !Object.keys(val).length;
|
|
11990
|
-
}
|
|
11991
|
-
}
|
|
11992
|
-
|
|
11993
|
-
return false;
|
|
11994
|
-
};
|
|
11995
|
-
|
|
11996
|
-
function rafThrottle(fn) {
|
|
11997
|
-
var locked = false;
|
|
11998
|
-
return function () {
|
|
11999
|
-
var _this = this;
|
|
12000
|
-
|
|
12001
|
-
for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
|
|
12002
|
-
args[_key] = arguments[_key];
|
|
12003
|
-
}
|
|
12004
|
-
|
|
12005
|
-
if (locked) return;
|
|
12006
|
-
locked = true;
|
|
12007
|
-
window.requestAnimationFrame(function (_) {
|
|
12008
|
-
fn.apply(_this, args);
|
|
12009
|
-
locked = false;
|
|
12010
|
-
});
|
|
12011
|
-
};
|
|
12012
|
-
}
|
|
12013
|
-
|
|
12014
|
-
function objToArray(obj) {
|
|
12015
|
-
if (Array.isArray(obj)) {
|
|
12016
|
-
return obj;
|
|
12017
|
-
}
|
|
12018
|
-
return isEmpty(obj) ? [] : [obj];
|
|
12019
|
-
}
|
|
12020
|
-
|
|
12021
|
-
/***/ }),
|
|
12022
|
-
|
|
12023
|
-
/***/ "831f":
|
|
12024
|
-
/***/ (function(module, exports) {
|
|
12025
|
-
|
|
12026
|
-
module.exports = require("throttle-debounce");
|
|
12427
|
+
directive: directive,
|
|
12428
|
+
service: src
|
|
12429
|
+
});
|
|
12027
12430
|
|
|
12028
12431
|
/***/ }),
|
|
12029
12432
|
|
|
12030
|
-
/***/
|
|
12433
|
+
/***/ 9:
|
|
12031
12434
|
/***/ (function(module, exports) {
|
|
12032
12435
|
|
|
12033
|
-
module.exports =
|
|
12034
|
-
|
|
12035
|
-
/***/ }),
|
|
12436
|
+
module.exports = __webpack_require__("7f4d");
|
|
12036
12437
|
|
|
12037
|
-
/***/
|
|
12038
|
-
/***/ (function(module, exports) {
|
|
12438
|
+
/***/ })
|
|
12039
12439
|
|
|
12040
|
-
|
|
12440
|
+
/******/ });
|
|
12041
12441
|
|
|
12042
12442
|
/***/ }),
|
|
12043
12443
|
|
|
12044
|
-
/***/ "
|
|
12444
|
+
/***/ "8bbc":
|
|
12045
12445
|
/***/ (function(module, exports, __webpack_require__) {
|
|
12046
12446
|
|
|
12047
12447
|
module.exports =
|
|
@@ -12128,7 +12528,7 @@ module.exports =
|
|
|
12128
12528
|
/******/
|
|
12129
12529
|
/******/
|
|
12130
12530
|
/******/ // Load entry module and return exports
|
|
12131
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
12531
|
+
/******/ return __webpack_require__(__webpack_require__.s = 132);
|
|
12132
12532
|
/******/ })
|
|
12133
12533
|
/************************************************************************/
|
|
12134
12534
|
/******/ ({
|
|
@@ -12235,796 +12635,171 @@ function normalizeComponent (
|
|
|
12235
12635
|
|
|
12236
12636
|
/***/ }),
|
|
12237
12637
|
|
|
12238
|
-
/***/
|
|
12638
|
+
/***/ 132:
|
|
12639
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
12640
|
+
|
|
12641
|
+
"use strict";
|
|
12642
|
+
__webpack_require__.r(__webpack_exports__);
|
|
12643
|
+
|
|
12644
|
+
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/tag/src/tag.vue?vue&type=script&lang=js&
|
|
12645
|
+
|
|
12646
|
+
/* harmony default export */ var tagvue_type_script_lang_js_ = ({
|
|
12647
|
+
name: 'ElTag',
|
|
12648
|
+
props: {
|
|
12649
|
+
text: String,
|
|
12650
|
+
closable: Boolean,
|
|
12651
|
+
type: String,
|
|
12652
|
+
hit: Boolean,
|
|
12653
|
+
disableTransitions: Boolean,
|
|
12654
|
+
color: String,
|
|
12655
|
+
size: String,
|
|
12656
|
+
effect: {
|
|
12657
|
+
type: String,
|
|
12658
|
+
default: 'light',
|
|
12659
|
+
validator: function validator(val) {
|
|
12660
|
+
return ['dark', 'light', 'plain'].indexOf(val) !== -1;
|
|
12661
|
+
}
|
|
12662
|
+
}
|
|
12663
|
+
},
|
|
12664
|
+
methods: {
|
|
12665
|
+
handleClose: function handleClose(event) {
|
|
12666
|
+
event.stopPropagation();
|
|
12667
|
+
this.$emit('close', event);
|
|
12668
|
+
},
|
|
12669
|
+
handleClick: function handleClick(event) {
|
|
12670
|
+
this.$emit('click', event);
|
|
12671
|
+
}
|
|
12672
|
+
},
|
|
12673
|
+
computed: {
|
|
12674
|
+
tagSize: function tagSize() {
|
|
12675
|
+
return this.size || (this.$ELEMENT || {}).size;
|
|
12676
|
+
}
|
|
12677
|
+
},
|
|
12678
|
+
render: function render(h) {
|
|
12679
|
+
var type = this.type,
|
|
12680
|
+
tagSize = this.tagSize,
|
|
12681
|
+
hit = this.hit,
|
|
12682
|
+
effect = this.effect;
|
|
12683
|
+
|
|
12684
|
+
var classes = ['el-tag', type ? 'el-tag--' + type : '', tagSize ? 'el-tag--' + tagSize : '', effect ? 'el-tag--' + effect : '', hit && 'is-hit'];
|
|
12685
|
+
var tagEl = h(
|
|
12686
|
+
'span',
|
|
12687
|
+
{
|
|
12688
|
+
'class': classes,
|
|
12689
|
+
style: { backgroundColor: this.color },
|
|
12690
|
+
on: {
|
|
12691
|
+
'click': this.handleClick
|
|
12692
|
+
}
|
|
12693
|
+
},
|
|
12694
|
+
[this.$slots.default, this.closable && h('i', { 'class': 'el-tag__close el-icon-close', on: {
|
|
12695
|
+
'click': this.handleClose
|
|
12696
|
+
}
|
|
12697
|
+
})]
|
|
12698
|
+
);
|
|
12699
|
+
|
|
12700
|
+
return this.disableTransitions ? tagEl : h(
|
|
12701
|
+
'transition',
|
|
12702
|
+
{
|
|
12703
|
+
attrs: { name: 'el-zoom-in-center' }
|
|
12704
|
+
},
|
|
12705
|
+
[tagEl]
|
|
12706
|
+
);
|
|
12707
|
+
}
|
|
12708
|
+
});
|
|
12709
|
+
// CONCATENATED MODULE: ./packages/tag/src/tag.vue?vue&type=script&lang=js&
|
|
12710
|
+
/* harmony default export */ var src_tagvue_type_script_lang_js_ = (tagvue_type_script_lang_js_);
|
|
12711
|
+
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
12712
|
+
var componentNormalizer = __webpack_require__(0);
|
|
12713
|
+
|
|
12714
|
+
// CONCATENATED MODULE: ./packages/tag/src/tag.vue
|
|
12715
|
+
var render, staticRenderFns
|
|
12716
|
+
|
|
12717
|
+
|
|
12718
|
+
|
|
12719
|
+
|
|
12720
|
+
/* normalize component */
|
|
12721
|
+
|
|
12722
|
+
var component = Object(componentNormalizer["a" /* default */])(
|
|
12723
|
+
src_tagvue_type_script_lang_js_,
|
|
12724
|
+
render,
|
|
12725
|
+
staticRenderFns,
|
|
12726
|
+
false,
|
|
12727
|
+
null,
|
|
12728
|
+
null,
|
|
12729
|
+
null
|
|
12730
|
+
|
|
12731
|
+
)
|
|
12732
|
+
|
|
12733
|
+
/* hot reload */
|
|
12734
|
+
if (false) { var api; }
|
|
12735
|
+
component.options.__file = "packages/tag/src/tag.vue"
|
|
12736
|
+
/* harmony default export */ var tag = (component.exports);
|
|
12737
|
+
// CONCATENATED MODULE: ./packages/tag/index.js
|
|
12738
|
+
|
|
12739
|
+
|
|
12740
|
+
/* istanbul ignore next */
|
|
12741
|
+
tag.install = function (Vue) {
|
|
12742
|
+
Vue.component(tag.name, tag);
|
|
12743
|
+
};
|
|
12744
|
+
|
|
12745
|
+
/* harmony default export */ var packages_tag = __webpack_exports__["default"] = (tag);
|
|
12746
|
+
|
|
12747
|
+
/***/ })
|
|
12748
|
+
|
|
12749
|
+
/******/ });
|
|
12750
|
+
|
|
12751
|
+
/***/ }),
|
|
12752
|
+
|
|
12753
|
+
/***/ "8bbf":
|
|
12239
12754
|
/***/ (function(module, exports) {
|
|
12240
12755
|
|
|
12241
|
-
module.exports =
|
|
12756
|
+
module.exports = require("vue");
|
|
12242
12757
|
|
|
12243
12758
|
/***/ }),
|
|
12244
12759
|
|
|
12245
|
-
/***/
|
|
12760
|
+
/***/ "97d3":
|
|
12246
12761
|
/***/ (function(module, exports) {
|
|
12247
12762
|
|
|
12248
|
-
module.exports =
|
|
12763
|
+
module.exports = require("core-js/modules/es.object.to-string.js");
|
|
12249
12764
|
|
|
12250
12765
|
/***/ }),
|
|
12251
12766
|
|
|
12252
|
-
/***/
|
|
12767
|
+
/***/ "9b22":
|
|
12253
12768
|
/***/ (function(module, exports) {
|
|
12254
12769
|
|
|
12255
|
-
module.exports =
|
|
12770
|
+
module.exports = require("core-js/modules/es.symbol.js");
|
|
12256
12771
|
|
|
12257
12772
|
/***/ }),
|
|
12258
12773
|
|
|
12259
|
-
/***/
|
|
12774
|
+
/***/ "9b89":
|
|
12775
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
12776
|
+
|
|
12777
|
+
// extracted by mini-css-extract-plugin
|
|
12778
|
+
|
|
12779
|
+
/***/ }),
|
|
12780
|
+
|
|
12781
|
+
/***/ "9bb0":
|
|
12260
12782
|
/***/ (function(module, exports) {
|
|
12261
12783
|
|
|
12262
|
-
module.exports =
|
|
12784
|
+
module.exports = require("@soda/get-current-script");
|
|
12263
12785
|
|
|
12264
12786
|
/***/ }),
|
|
12265
12787
|
|
|
12266
|
-
/***/
|
|
12788
|
+
/***/ "9bb5":
|
|
12789
|
+
/***/ (function(module, exports) {
|
|
12790
|
+
|
|
12791
|
+
module.exports = require("core-js/modules/es.string.iterator.js");
|
|
12792
|
+
|
|
12793
|
+
/***/ }),
|
|
12794
|
+
|
|
12795
|
+
/***/ "9c3a":
|
|
12267
12796
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
12268
12797
|
|
|
12269
12798
|
"use strict";
|
|
12270
|
-
__webpack_require__
|
|
12799
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MultiFlatmapVuer_vue_vue_type_style_index_0_id_c2cdb860_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("9b89");
|
|
12800
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MultiFlatmapVuer_vue_vue_type_style_index_0_id_c2cdb860_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MultiFlatmapVuer_vue_vue_type_style_index_0_id_c2cdb860_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
12801
|
+
/* unused harmony reexport * */
|
|
12271
12802
|
|
|
12272
|
-
// EXTERNAL MODULE: external "vue"
|
|
12273
|
-
var external_vue_ = __webpack_require__(7);
|
|
12274
|
-
var external_vue_default = /*#__PURE__*/__webpack_require__.n(external_vue_);
|
|
12275
|
-
|
|
12276
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/loading/src/loading.vue?vue&type=template&id=eee0a7ac&
|
|
12277
|
-
var render = function() {
|
|
12278
|
-
var _vm = this
|
|
12279
|
-
var _h = _vm.$createElement
|
|
12280
|
-
var _c = _vm._self._c || _h
|
|
12281
|
-
return _c(
|
|
12282
|
-
"transition",
|
|
12283
|
-
{
|
|
12284
|
-
attrs: { name: "el-loading-fade" },
|
|
12285
|
-
on: { "after-leave": _vm.handleAfterLeave }
|
|
12286
|
-
},
|
|
12287
|
-
[
|
|
12288
|
-
_c(
|
|
12289
|
-
"div",
|
|
12290
|
-
{
|
|
12291
|
-
directives: [
|
|
12292
|
-
{
|
|
12293
|
-
name: "show",
|
|
12294
|
-
rawName: "v-show",
|
|
12295
|
-
value: _vm.visible,
|
|
12296
|
-
expression: "visible"
|
|
12297
|
-
}
|
|
12298
|
-
],
|
|
12299
|
-
staticClass: "el-loading-mask",
|
|
12300
|
-
class: [_vm.customClass, { "is-fullscreen": _vm.fullscreen }],
|
|
12301
|
-
style: { backgroundColor: _vm.background || "" }
|
|
12302
|
-
},
|
|
12303
|
-
[
|
|
12304
|
-
_c("div", { staticClass: "el-loading-spinner" }, [
|
|
12305
|
-
!_vm.spinner
|
|
12306
|
-
? _c(
|
|
12307
|
-
"svg",
|
|
12308
|
-
{
|
|
12309
|
-
staticClass: "circular",
|
|
12310
|
-
attrs: { viewBox: "25 25 50 50" }
|
|
12311
|
-
},
|
|
12312
|
-
[
|
|
12313
|
-
_c("circle", {
|
|
12314
|
-
staticClass: "path",
|
|
12315
|
-
attrs: { cx: "50", cy: "50", r: "20", fill: "none" }
|
|
12316
|
-
})
|
|
12317
|
-
]
|
|
12318
|
-
)
|
|
12319
|
-
: _c("i", { class: _vm.spinner }),
|
|
12320
|
-
_vm.text
|
|
12321
|
-
? _c("p", { staticClass: "el-loading-text" }, [
|
|
12322
|
-
_vm._v(_vm._s(_vm.text))
|
|
12323
|
-
])
|
|
12324
|
-
: _vm._e()
|
|
12325
|
-
])
|
|
12326
|
-
]
|
|
12327
|
-
)
|
|
12328
|
-
]
|
|
12329
|
-
)
|
|
12330
|
-
}
|
|
12331
|
-
var staticRenderFns = []
|
|
12332
|
-
render._withStripped = true
|
|
12333
|
-
|
|
12334
|
-
|
|
12335
|
-
// CONCATENATED MODULE: ./packages/loading/src/loading.vue?vue&type=template&id=eee0a7ac&
|
|
12336
|
-
|
|
12337
|
-
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/loading/src/loading.vue?vue&type=script&lang=js&
|
|
12338
|
-
//
|
|
12339
|
-
//
|
|
12340
|
-
//
|
|
12341
|
-
//
|
|
12342
|
-
//
|
|
12343
|
-
//
|
|
12344
|
-
//
|
|
12345
|
-
//
|
|
12346
|
-
//
|
|
12347
|
-
//
|
|
12348
|
-
//
|
|
12349
|
-
//
|
|
12350
|
-
//
|
|
12351
|
-
//
|
|
12352
|
-
//
|
|
12353
|
-
//
|
|
12354
|
-
//
|
|
12355
|
-
//
|
|
12356
|
-
|
|
12357
|
-
/* harmony default export */ var loadingvue_type_script_lang_js_ = ({
|
|
12358
|
-
data: function data() {
|
|
12359
|
-
return {
|
|
12360
|
-
text: null,
|
|
12361
|
-
spinner: null,
|
|
12362
|
-
background: null,
|
|
12363
|
-
fullscreen: true,
|
|
12364
|
-
visible: false,
|
|
12365
|
-
customClass: ''
|
|
12366
|
-
};
|
|
12367
|
-
},
|
|
12368
|
-
|
|
12369
|
-
|
|
12370
|
-
methods: {
|
|
12371
|
-
handleAfterLeave: function handleAfterLeave() {
|
|
12372
|
-
this.$emit('after-leave');
|
|
12373
|
-
},
|
|
12374
|
-
setText: function setText(text) {
|
|
12375
|
-
this.text = text;
|
|
12376
|
-
}
|
|
12377
|
-
}
|
|
12378
|
-
});
|
|
12379
|
-
// CONCATENATED MODULE: ./packages/loading/src/loading.vue?vue&type=script&lang=js&
|
|
12380
|
-
/* harmony default export */ var src_loadingvue_type_script_lang_js_ = (loadingvue_type_script_lang_js_);
|
|
12381
|
-
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
12382
|
-
var componentNormalizer = __webpack_require__(0);
|
|
12383
|
-
|
|
12384
|
-
// CONCATENATED MODULE: ./packages/loading/src/loading.vue
|
|
12385
|
-
|
|
12386
|
-
|
|
12387
|
-
|
|
12388
|
-
|
|
12389
|
-
|
|
12390
|
-
/* normalize component */
|
|
12391
|
-
|
|
12392
|
-
var component = Object(componentNormalizer["a" /* default */])(
|
|
12393
|
-
src_loadingvue_type_script_lang_js_,
|
|
12394
|
-
render,
|
|
12395
|
-
staticRenderFns,
|
|
12396
|
-
false,
|
|
12397
|
-
null,
|
|
12398
|
-
null,
|
|
12399
|
-
null
|
|
12400
|
-
|
|
12401
|
-
)
|
|
12402
|
-
|
|
12403
|
-
/* hot reload */
|
|
12404
|
-
if (false) { var api; }
|
|
12405
|
-
component.options.__file = "packages/loading/src/loading.vue"
|
|
12406
|
-
/* harmony default export */ var loading = (component.exports);
|
|
12407
|
-
// EXTERNAL MODULE: external "element-ui/lib/utils/dom"
|
|
12408
|
-
var dom_ = __webpack_require__(2);
|
|
12409
|
-
|
|
12410
|
-
// EXTERNAL MODULE: external "element-ui/lib/utils/popup"
|
|
12411
|
-
var popup_ = __webpack_require__(13);
|
|
12412
|
-
|
|
12413
|
-
// EXTERNAL MODULE: external "element-ui/lib/utils/after-leave"
|
|
12414
|
-
var after_leave_ = __webpack_require__(42);
|
|
12415
|
-
var after_leave_default = /*#__PURE__*/__webpack_require__.n(after_leave_);
|
|
12416
|
-
|
|
12417
|
-
// CONCATENATED MODULE: ./packages/loading/src/directive.js
|
|
12418
|
-
|
|
12419
|
-
|
|
12420
|
-
|
|
12421
|
-
|
|
12422
|
-
|
|
12423
|
-
var Mask = external_vue_default.a.extend(loading);
|
|
12424
|
-
|
|
12425
|
-
var loadingDirective = {};
|
|
12426
|
-
loadingDirective.install = function (Vue) {
|
|
12427
|
-
if (Vue.prototype.$isServer) return;
|
|
12428
|
-
var toggleLoading = function toggleLoading(el, binding) {
|
|
12429
|
-
if (binding.value) {
|
|
12430
|
-
Vue.nextTick(function () {
|
|
12431
|
-
if (binding.modifiers.fullscreen) {
|
|
12432
|
-
el.originalPosition = Object(dom_["getStyle"])(document.body, 'position');
|
|
12433
|
-
el.originalOverflow = Object(dom_["getStyle"])(document.body, 'overflow');
|
|
12434
|
-
el.maskStyle.zIndex = popup_["PopupManager"].nextZIndex();
|
|
12435
|
-
|
|
12436
|
-
Object(dom_["addClass"])(el.mask, 'is-fullscreen');
|
|
12437
|
-
insertDom(document.body, el, binding);
|
|
12438
|
-
} else {
|
|
12439
|
-
Object(dom_["removeClass"])(el.mask, 'is-fullscreen');
|
|
12440
|
-
|
|
12441
|
-
if (binding.modifiers.body) {
|
|
12442
|
-
el.originalPosition = Object(dom_["getStyle"])(document.body, 'position');
|
|
12443
|
-
|
|
12444
|
-
['top', 'left'].forEach(function (property) {
|
|
12445
|
-
var scroll = property === 'top' ? 'scrollTop' : 'scrollLeft';
|
|
12446
|
-
el.maskStyle[property] = el.getBoundingClientRect()[property] + document.body[scroll] + document.documentElement[scroll] - parseInt(Object(dom_["getStyle"])(document.body, 'margin-' + property), 10) + 'px';
|
|
12447
|
-
});
|
|
12448
|
-
['height', 'width'].forEach(function (property) {
|
|
12449
|
-
el.maskStyle[property] = el.getBoundingClientRect()[property] + 'px';
|
|
12450
|
-
});
|
|
12451
|
-
|
|
12452
|
-
insertDom(document.body, el, binding);
|
|
12453
|
-
} else {
|
|
12454
|
-
el.originalPosition = Object(dom_["getStyle"])(el, 'position');
|
|
12455
|
-
insertDom(el, el, binding);
|
|
12456
|
-
}
|
|
12457
|
-
}
|
|
12458
|
-
});
|
|
12459
|
-
} else {
|
|
12460
|
-
after_leave_default()(el.instance, function (_) {
|
|
12461
|
-
if (!el.instance.hiding) return;
|
|
12462
|
-
el.domVisible = false;
|
|
12463
|
-
var target = binding.modifiers.fullscreen || binding.modifiers.body ? document.body : el;
|
|
12464
|
-
Object(dom_["removeClass"])(target, 'el-loading-parent--relative');
|
|
12465
|
-
Object(dom_["removeClass"])(target, 'el-loading-parent--hidden');
|
|
12466
|
-
el.instance.hiding = false;
|
|
12467
|
-
}, 300, true);
|
|
12468
|
-
el.instance.visible = false;
|
|
12469
|
-
el.instance.hiding = true;
|
|
12470
|
-
}
|
|
12471
|
-
};
|
|
12472
|
-
var insertDom = function insertDom(parent, el, binding) {
|
|
12473
|
-
if (!el.domVisible && Object(dom_["getStyle"])(el, 'display') !== 'none' && Object(dom_["getStyle"])(el, 'visibility') !== 'hidden') {
|
|
12474
|
-
Object.keys(el.maskStyle).forEach(function (property) {
|
|
12475
|
-
el.mask.style[property] = el.maskStyle[property];
|
|
12476
|
-
});
|
|
12477
|
-
|
|
12478
|
-
if (el.originalPosition !== 'absolute' && el.originalPosition !== 'fixed' && el.originalPosition !== 'sticky') {
|
|
12479
|
-
Object(dom_["addClass"])(parent, 'el-loading-parent--relative');
|
|
12480
|
-
}
|
|
12481
|
-
if (binding.modifiers.fullscreen && binding.modifiers.lock) {
|
|
12482
|
-
Object(dom_["addClass"])(parent, 'el-loading-parent--hidden');
|
|
12483
|
-
}
|
|
12484
|
-
el.domVisible = true;
|
|
12485
|
-
|
|
12486
|
-
parent.appendChild(el.mask);
|
|
12487
|
-
Vue.nextTick(function () {
|
|
12488
|
-
if (el.instance.hiding) {
|
|
12489
|
-
el.instance.$emit('after-leave');
|
|
12490
|
-
} else {
|
|
12491
|
-
el.instance.visible = true;
|
|
12492
|
-
}
|
|
12493
|
-
});
|
|
12494
|
-
el.domInserted = true;
|
|
12495
|
-
} else if (el.domVisible && el.instance.hiding === true) {
|
|
12496
|
-
el.instance.visible = true;
|
|
12497
|
-
el.instance.hiding = false;
|
|
12498
|
-
}
|
|
12499
|
-
};
|
|
12500
|
-
|
|
12501
|
-
Vue.directive('loading', {
|
|
12502
|
-
bind: function bind(el, binding, vnode) {
|
|
12503
|
-
var textExr = el.getAttribute('element-loading-text');
|
|
12504
|
-
var spinnerExr = el.getAttribute('element-loading-spinner');
|
|
12505
|
-
var backgroundExr = el.getAttribute('element-loading-background');
|
|
12506
|
-
var customClassExr = el.getAttribute('element-loading-custom-class');
|
|
12507
|
-
var vm = vnode.context;
|
|
12508
|
-
var mask = new Mask({
|
|
12509
|
-
el: document.createElement('div'),
|
|
12510
|
-
data: {
|
|
12511
|
-
text: vm && vm[textExr] || textExr,
|
|
12512
|
-
spinner: vm && vm[spinnerExr] || spinnerExr,
|
|
12513
|
-
background: vm && vm[backgroundExr] || backgroundExr,
|
|
12514
|
-
customClass: vm && vm[customClassExr] || customClassExr,
|
|
12515
|
-
fullscreen: !!binding.modifiers.fullscreen
|
|
12516
|
-
}
|
|
12517
|
-
});
|
|
12518
|
-
el.instance = mask;
|
|
12519
|
-
el.mask = mask.$el;
|
|
12520
|
-
el.maskStyle = {};
|
|
12521
|
-
|
|
12522
|
-
binding.value && toggleLoading(el, binding);
|
|
12523
|
-
},
|
|
12524
|
-
|
|
12525
|
-
update: function update(el, binding) {
|
|
12526
|
-
el.instance.setText(el.getAttribute('element-loading-text'));
|
|
12527
|
-
if (binding.oldValue !== binding.value) {
|
|
12528
|
-
toggleLoading(el, binding);
|
|
12529
|
-
}
|
|
12530
|
-
},
|
|
12531
|
-
|
|
12532
|
-
unbind: function unbind(el, binding) {
|
|
12533
|
-
if (el.domInserted) {
|
|
12534
|
-
el.mask && el.mask.parentNode && el.mask.parentNode.removeChild(el.mask);
|
|
12535
|
-
toggleLoading(el, { value: false, modifiers: binding.modifiers });
|
|
12536
|
-
}
|
|
12537
|
-
el.instance && el.instance.$destroy();
|
|
12538
|
-
}
|
|
12539
|
-
});
|
|
12540
|
-
};
|
|
12541
|
-
|
|
12542
|
-
/* harmony default export */ var directive = (loadingDirective);
|
|
12543
|
-
// EXTERNAL MODULE: external "element-ui/lib/utils/merge"
|
|
12544
|
-
var merge_ = __webpack_require__(9);
|
|
12545
|
-
var merge_default = /*#__PURE__*/__webpack_require__.n(merge_);
|
|
12546
|
-
|
|
12547
|
-
// CONCATENATED MODULE: ./packages/loading/src/index.js
|
|
12548
|
-
|
|
12549
|
-
|
|
12550
|
-
|
|
12551
|
-
|
|
12552
|
-
|
|
12553
|
-
|
|
12554
|
-
|
|
12555
|
-
var LoadingConstructor = external_vue_default.a.extend(loading);
|
|
12556
|
-
|
|
12557
|
-
var defaults = {
|
|
12558
|
-
text: null,
|
|
12559
|
-
fullscreen: true,
|
|
12560
|
-
body: false,
|
|
12561
|
-
lock: false,
|
|
12562
|
-
customClass: ''
|
|
12563
|
-
};
|
|
12564
|
-
|
|
12565
|
-
var fullscreenLoading = void 0;
|
|
12566
|
-
|
|
12567
|
-
LoadingConstructor.prototype.originalPosition = '';
|
|
12568
|
-
LoadingConstructor.prototype.originalOverflow = '';
|
|
12569
|
-
|
|
12570
|
-
LoadingConstructor.prototype.close = function () {
|
|
12571
|
-
var _this = this;
|
|
12572
|
-
|
|
12573
|
-
if (this.fullscreen) {
|
|
12574
|
-
fullscreenLoading = undefined;
|
|
12575
|
-
}
|
|
12576
|
-
after_leave_default()(this, function (_) {
|
|
12577
|
-
var target = _this.fullscreen || _this.body ? document.body : _this.target;
|
|
12578
|
-
Object(dom_["removeClass"])(target, 'el-loading-parent--relative');
|
|
12579
|
-
Object(dom_["removeClass"])(target, 'el-loading-parent--hidden');
|
|
12580
|
-
if (_this.$el && _this.$el.parentNode) {
|
|
12581
|
-
_this.$el.parentNode.removeChild(_this.$el);
|
|
12582
|
-
}
|
|
12583
|
-
_this.$destroy();
|
|
12584
|
-
}, 300);
|
|
12585
|
-
this.visible = false;
|
|
12586
|
-
};
|
|
12587
|
-
|
|
12588
|
-
var src_addStyle = function addStyle(options, parent, instance) {
|
|
12589
|
-
var maskStyle = {};
|
|
12590
|
-
if (options.fullscreen) {
|
|
12591
|
-
instance.originalPosition = Object(dom_["getStyle"])(document.body, 'position');
|
|
12592
|
-
instance.originalOverflow = Object(dom_["getStyle"])(document.body, 'overflow');
|
|
12593
|
-
maskStyle.zIndex = popup_["PopupManager"].nextZIndex();
|
|
12594
|
-
} else if (options.body) {
|
|
12595
|
-
instance.originalPosition = Object(dom_["getStyle"])(document.body, 'position');
|
|
12596
|
-
['top', 'left'].forEach(function (property) {
|
|
12597
|
-
var scroll = property === 'top' ? 'scrollTop' : 'scrollLeft';
|
|
12598
|
-
maskStyle[property] = options.target.getBoundingClientRect()[property] + document.body[scroll] + document.documentElement[scroll] + 'px';
|
|
12599
|
-
});
|
|
12600
|
-
['height', 'width'].forEach(function (property) {
|
|
12601
|
-
maskStyle[property] = options.target.getBoundingClientRect()[property] + 'px';
|
|
12602
|
-
});
|
|
12603
|
-
} else {
|
|
12604
|
-
instance.originalPosition = Object(dom_["getStyle"])(parent, 'position');
|
|
12605
|
-
}
|
|
12606
|
-
Object.keys(maskStyle).forEach(function (property) {
|
|
12607
|
-
instance.$el.style[property] = maskStyle[property];
|
|
12608
|
-
});
|
|
12609
|
-
};
|
|
12610
|
-
|
|
12611
|
-
var src_Loading = function Loading() {
|
|
12612
|
-
var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
12613
|
-
|
|
12614
|
-
if (external_vue_default.a.prototype.$isServer) return;
|
|
12615
|
-
options = merge_default()({}, defaults, options);
|
|
12616
|
-
if (typeof options.target === 'string') {
|
|
12617
|
-
options.target = document.querySelector(options.target);
|
|
12618
|
-
}
|
|
12619
|
-
options.target = options.target || document.body;
|
|
12620
|
-
if (options.target !== document.body) {
|
|
12621
|
-
options.fullscreen = false;
|
|
12622
|
-
} else {
|
|
12623
|
-
options.body = true;
|
|
12624
|
-
}
|
|
12625
|
-
if (options.fullscreen && fullscreenLoading) {
|
|
12626
|
-
return fullscreenLoading;
|
|
12627
|
-
}
|
|
12628
|
-
|
|
12629
|
-
var parent = options.body ? document.body : options.target;
|
|
12630
|
-
var instance = new LoadingConstructor({
|
|
12631
|
-
el: document.createElement('div'),
|
|
12632
|
-
data: options
|
|
12633
|
-
});
|
|
12634
|
-
|
|
12635
|
-
src_addStyle(options, parent, instance);
|
|
12636
|
-
if (instance.originalPosition !== 'absolute' && instance.originalPosition !== 'fixed' && instance.originalPosition !== 'sticky') {
|
|
12637
|
-
Object(dom_["addClass"])(parent, 'el-loading-parent--relative');
|
|
12638
|
-
}
|
|
12639
|
-
if (options.fullscreen && options.lock) {
|
|
12640
|
-
Object(dom_["addClass"])(parent, 'el-loading-parent--hidden');
|
|
12641
|
-
}
|
|
12642
|
-
parent.appendChild(instance.$el);
|
|
12643
|
-
external_vue_default.a.nextTick(function () {
|
|
12644
|
-
instance.visible = true;
|
|
12645
|
-
});
|
|
12646
|
-
if (options.fullscreen) {
|
|
12647
|
-
fullscreenLoading = instance;
|
|
12648
|
-
}
|
|
12649
|
-
return instance;
|
|
12650
|
-
};
|
|
12651
|
-
|
|
12652
|
-
/* harmony default export */ var src = (src_Loading);
|
|
12653
|
-
// CONCATENATED MODULE: ./packages/loading/index.js
|
|
12654
|
-
|
|
12655
|
-
|
|
12656
|
-
|
|
12657
|
-
/* harmony default export */ var packages_loading = __webpack_exports__["default"] = ({
|
|
12658
|
-
install: function install(Vue) {
|
|
12659
|
-
Vue.use(directive);
|
|
12660
|
-
Vue.prototype.$loading = src;
|
|
12661
|
-
},
|
|
12662
|
-
|
|
12663
|
-
directive: directive,
|
|
12664
|
-
service: src
|
|
12665
|
-
});
|
|
12666
|
-
|
|
12667
|
-
/***/ }),
|
|
12668
|
-
|
|
12669
|
-
/***/ 9:
|
|
12670
|
-
/***/ (function(module, exports) {
|
|
12671
|
-
|
|
12672
|
-
module.exports = __webpack_require__("7f4d");
|
|
12673
|
-
|
|
12674
|
-
/***/ })
|
|
12675
|
-
|
|
12676
|
-
/******/ });
|
|
12677
|
-
|
|
12678
|
-
/***/ }),
|
|
12679
|
-
|
|
12680
|
-
/***/ "8bbc":
|
|
12681
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
12682
|
-
|
|
12683
|
-
module.exports =
|
|
12684
|
-
/******/ (function(modules) { // webpackBootstrap
|
|
12685
|
-
/******/ // The module cache
|
|
12686
|
-
/******/ var installedModules = {};
|
|
12687
|
-
/******/
|
|
12688
|
-
/******/ // The require function
|
|
12689
|
-
/******/ function __webpack_require__(moduleId) {
|
|
12690
|
-
/******/
|
|
12691
|
-
/******/ // Check if module is in cache
|
|
12692
|
-
/******/ if(installedModules[moduleId]) {
|
|
12693
|
-
/******/ return installedModules[moduleId].exports;
|
|
12694
|
-
/******/ }
|
|
12695
|
-
/******/ // Create a new module (and put it into the cache)
|
|
12696
|
-
/******/ var module = installedModules[moduleId] = {
|
|
12697
|
-
/******/ i: moduleId,
|
|
12698
|
-
/******/ l: false,
|
|
12699
|
-
/******/ exports: {}
|
|
12700
|
-
/******/ };
|
|
12701
|
-
/******/
|
|
12702
|
-
/******/ // Execute the module function
|
|
12703
|
-
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
|
12704
|
-
/******/
|
|
12705
|
-
/******/ // Flag the module as loaded
|
|
12706
|
-
/******/ module.l = true;
|
|
12707
|
-
/******/
|
|
12708
|
-
/******/ // Return the exports of the module
|
|
12709
|
-
/******/ return module.exports;
|
|
12710
|
-
/******/ }
|
|
12711
|
-
/******/
|
|
12712
|
-
/******/
|
|
12713
|
-
/******/ // expose the modules object (__webpack_modules__)
|
|
12714
|
-
/******/ __webpack_require__.m = modules;
|
|
12715
|
-
/******/
|
|
12716
|
-
/******/ // expose the module cache
|
|
12717
|
-
/******/ __webpack_require__.c = installedModules;
|
|
12718
|
-
/******/
|
|
12719
|
-
/******/ // define getter function for harmony exports
|
|
12720
|
-
/******/ __webpack_require__.d = function(exports, name, getter) {
|
|
12721
|
-
/******/ if(!__webpack_require__.o(exports, name)) {
|
|
12722
|
-
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
|
12723
|
-
/******/ }
|
|
12724
|
-
/******/ };
|
|
12725
|
-
/******/
|
|
12726
|
-
/******/ // define __esModule on exports
|
|
12727
|
-
/******/ __webpack_require__.r = function(exports) {
|
|
12728
|
-
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
12729
|
-
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
12730
|
-
/******/ }
|
|
12731
|
-
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
12732
|
-
/******/ };
|
|
12733
|
-
/******/
|
|
12734
|
-
/******/ // create a fake namespace object
|
|
12735
|
-
/******/ // mode & 1: value is a module id, require it
|
|
12736
|
-
/******/ // mode & 2: merge all properties of value into the ns
|
|
12737
|
-
/******/ // mode & 4: return value when already ns object
|
|
12738
|
-
/******/ // mode & 8|1: behave like require
|
|
12739
|
-
/******/ __webpack_require__.t = function(value, mode) {
|
|
12740
|
-
/******/ if(mode & 1) value = __webpack_require__(value);
|
|
12741
|
-
/******/ if(mode & 8) return value;
|
|
12742
|
-
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
|
12743
|
-
/******/ var ns = Object.create(null);
|
|
12744
|
-
/******/ __webpack_require__.r(ns);
|
|
12745
|
-
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
|
12746
|
-
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
|
12747
|
-
/******/ return ns;
|
|
12748
|
-
/******/ };
|
|
12749
|
-
/******/
|
|
12750
|
-
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
12751
|
-
/******/ __webpack_require__.n = function(module) {
|
|
12752
|
-
/******/ var getter = module && module.__esModule ?
|
|
12753
|
-
/******/ function getDefault() { return module['default']; } :
|
|
12754
|
-
/******/ function getModuleExports() { return module; };
|
|
12755
|
-
/******/ __webpack_require__.d(getter, 'a', getter);
|
|
12756
|
-
/******/ return getter;
|
|
12757
|
-
/******/ };
|
|
12758
|
-
/******/
|
|
12759
|
-
/******/ // Object.prototype.hasOwnProperty.call
|
|
12760
|
-
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
|
12761
|
-
/******/
|
|
12762
|
-
/******/ // __webpack_public_path__
|
|
12763
|
-
/******/ __webpack_require__.p = "/dist/";
|
|
12764
|
-
/******/
|
|
12765
|
-
/******/
|
|
12766
|
-
/******/ // Load entry module and return exports
|
|
12767
|
-
/******/ return __webpack_require__(__webpack_require__.s = 132);
|
|
12768
|
-
/******/ })
|
|
12769
|
-
/************************************************************************/
|
|
12770
|
-
/******/ ({
|
|
12771
|
-
|
|
12772
|
-
/***/ 0:
|
|
12773
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
12774
|
-
|
|
12775
|
-
"use strict";
|
|
12776
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return normalizeComponent; });
|
|
12777
|
-
/* globals __VUE_SSR_CONTEXT__ */
|
|
12778
|
-
|
|
12779
|
-
// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
|
|
12780
|
-
// This module is a runtime utility for cleaner component module output and will
|
|
12781
|
-
// be included in the final webpack user bundle.
|
|
12782
|
-
|
|
12783
|
-
function normalizeComponent (
|
|
12784
|
-
scriptExports,
|
|
12785
|
-
render,
|
|
12786
|
-
staticRenderFns,
|
|
12787
|
-
functionalTemplate,
|
|
12788
|
-
injectStyles,
|
|
12789
|
-
scopeId,
|
|
12790
|
-
moduleIdentifier, /* server only */
|
|
12791
|
-
shadowMode /* vue-cli only */
|
|
12792
|
-
) {
|
|
12793
|
-
// Vue.extend constructor export interop
|
|
12794
|
-
var options = typeof scriptExports === 'function'
|
|
12795
|
-
? scriptExports.options
|
|
12796
|
-
: scriptExports
|
|
12797
|
-
|
|
12798
|
-
// render functions
|
|
12799
|
-
if (render) {
|
|
12800
|
-
options.render = render
|
|
12801
|
-
options.staticRenderFns = staticRenderFns
|
|
12802
|
-
options._compiled = true
|
|
12803
|
-
}
|
|
12804
|
-
|
|
12805
|
-
// functional template
|
|
12806
|
-
if (functionalTemplate) {
|
|
12807
|
-
options.functional = true
|
|
12808
|
-
}
|
|
12809
|
-
|
|
12810
|
-
// scopedId
|
|
12811
|
-
if (scopeId) {
|
|
12812
|
-
options._scopeId = 'data-v-' + scopeId
|
|
12813
|
-
}
|
|
12814
|
-
|
|
12815
|
-
var hook
|
|
12816
|
-
if (moduleIdentifier) { // server build
|
|
12817
|
-
hook = function (context) {
|
|
12818
|
-
// 2.3 injection
|
|
12819
|
-
context =
|
|
12820
|
-
context || // cached call
|
|
12821
|
-
(this.$vnode && this.$vnode.ssrContext) || // stateful
|
|
12822
|
-
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
|
|
12823
|
-
// 2.2 with runInNewContext: true
|
|
12824
|
-
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
|
|
12825
|
-
context = __VUE_SSR_CONTEXT__
|
|
12826
|
-
}
|
|
12827
|
-
// inject component styles
|
|
12828
|
-
if (injectStyles) {
|
|
12829
|
-
injectStyles.call(this, context)
|
|
12830
|
-
}
|
|
12831
|
-
// register component module identifier for async chunk inferrence
|
|
12832
|
-
if (context && context._registeredComponents) {
|
|
12833
|
-
context._registeredComponents.add(moduleIdentifier)
|
|
12834
|
-
}
|
|
12835
|
-
}
|
|
12836
|
-
// used by ssr in case component is cached and beforeCreate
|
|
12837
|
-
// never gets called
|
|
12838
|
-
options._ssrRegister = hook
|
|
12839
|
-
} else if (injectStyles) {
|
|
12840
|
-
hook = shadowMode
|
|
12841
|
-
? function () { injectStyles.call(this, this.$root.$options.shadowRoot) }
|
|
12842
|
-
: injectStyles
|
|
12843
|
-
}
|
|
12844
|
-
|
|
12845
|
-
if (hook) {
|
|
12846
|
-
if (options.functional) {
|
|
12847
|
-
// for template-only hot-reload because in that case the render fn doesn't
|
|
12848
|
-
// go through the normalizer
|
|
12849
|
-
options._injectStyles = hook
|
|
12850
|
-
// register for functioal component in vue file
|
|
12851
|
-
var originalRender = options.render
|
|
12852
|
-
options.render = function renderWithStyleInjection (h, context) {
|
|
12853
|
-
hook.call(context)
|
|
12854
|
-
return originalRender(h, context)
|
|
12855
|
-
}
|
|
12856
|
-
} else {
|
|
12857
|
-
// inject component registration as beforeCreate hook
|
|
12858
|
-
var existing = options.beforeCreate
|
|
12859
|
-
options.beforeCreate = existing
|
|
12860
|
-
? [].concat(existing, hook)
|
|
12861
|
-
: [hook]
|
|
12862
|
-
}
|
|
12863
|
-
}
|
|
12864
|
-
|
|
12865
|
-
return {
|
|
12866
|
-
exports: scriptExports,
|
|
12867
|
-
options: options
|
|
12868
|
-
}
|
|
12869
|
-
}
|
|
12870
|
-
|
|
12871
|
-
|
|
12872
|
-
/***/ }),
|
|
12873
|
-
|
|
12874
|
-
/***/ 132:
|
|
12875
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
12876
|
-
|
|
12877
|
-
"use strict";
|
|
12878
|
-
__webpack_require__.r(__webpack_exports__);
|
|
12879
|
-
|
|
12880
|
-
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/tag/src/tag.vue?vue&type=script&lang=js&
|
|
12881
|
-
|
|
12882
|
-
/* harmony default export */ var tagvue_type_script_lang_js_ = ({
|
|
12883
|
-
name: 'ElTag',
|
|
12884
|
-
props: {
|
|
12885
|
-
text: String,
|
|
12886
|
-
closable: Boolean,
|
|
12887
|
-
type: String,
|
|
12888
|
-
hit: Boolean,
|
|
12889
|
-
disableTransitions: Boolean,
|
|
12890
|
-
color: String,
|
|
12891
|
-
size: String,
|
|
12892
|
-
effect: {
|
|
12893
|
-
type: String,
|
|
12894
|
-
default: 'light',
|
|
12895
|
-
validator: function validator(val) {
|
|
12896
|
-
return ['dark', 'light', 'plain'].indexOf(val) !== -1;
|
|
12897
|
-
}
|
|
12898
|
-
}
|
|
12899
|
-
},
|
|
12900
|
-
methods: {
|
|
12901
|
-
handleClose: function handleClose(event) {
|
|
12902
|
-
event.stopPropagation();
|
|
12903
|
-
this.$emit('close', event);
|
|
12904
|
-
},
|
|
12905
|
-
handleClick: function handleClick(event) {
|
|
12906
|
-
this.$emit('click', event);
|
|
12907
|
-
}
|
|
12908
|
-
},
|
|
12909
|
-
computed: {
|
|
12910
|
-
tagSize: function tagSize() {
|
|
12911
|
-
return this.size || (this.$ELEMENT || {}).size;
|
|
12912
|
-
}
|
|
12913
|
-
},
|
|
12914
|
-
render: function render(h) {
|
|
12915
|
-
var type = this.type,
|
|
12916
|
-
tagSize = this.tagSize,
|
|
12917
|
-
hit = this.hit,
|
|
12918
|
-
effect = this.effect;
|
|
12919
|
-
|
|
12920
|
-
var classes = ['el-tag', type ? 'el-tag--' + type : '', tagSize ? 'el-tag--' + tagSize : '', effect ? 'el-tag--' + effect : '', hit && 'is-hit'];
|
|
12921
|
-
var tagEl = h(
|
|
12922
|
-
'span',
|
|
12923
|
-
{
|
|
12924
|
-
'class': classes,
|
|
12925
|
-
style: { backgroundColor: this.color },
|
|
12926
|
-
on: {
|
|
12927
|
-
'click': this.handleClick
|
|
12928
|
-
}
|
|
12929
|
-
},
|
|
12930
|
-
[this.$slots.default, this.closable && h('i', { 'class': 'el-tag__close el-icon-close', on: {
|
|
12931
|
-
'click': this.handleClose
|
|
12932
|
-
}
|
|
12933
|
-
})]
|
|
12934
|
-
);
|
|
12935
|
-
|
|
12936
|
-
return this.disableTransitions ? tagEl : h(
|
|
12937
|
-
'transition',
|
|
12938
|
-
{
|
|
12939
|
-
attrs: { name: 'el-zoom-in-center' }
|
|
12940
|
-
},
|
|
12941
|
-
[tagEl]
|
|
12942
|
-
);
|
|
12943
|
-
}
|
|
12944
|
-
});
|
|
12945
|
-
// CONCATENATED MODULE: ./packages/tag/src/tag.vue?vue&type=script&lang=js&
|
|
12946
|
-
/* harmony default export */ var src_tagvue_type_script_lang_js_ = (tagvue_type_script_lang_js_);
|
|
12947
|
-
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
12948
|
-
var componentNormalizer = __webpack_require__(0);
|
|
12949
|
-
|
|
12950
|
-
// CONCATENATED MODULE: ./packages/tag/src/tag.vue
|
|
12951
|
-
var render, staticRenderFns
|
|
12952
|
-
|
|
12953
|
-
|
|
12954
|
-
|
|
12955
|
-
|
|
12956
|
-
/* normalize component */
|
|
12957
|
-
|
|
12958
|
-
var component = Object(componentNormalizer["a" /* default */])(
|
|
12959
|
-
src_tagvue_type_script_lang_js_,
|
|
12960
|
-
render,
|
|
12961
|
-
staticRenderFns,
|
|
12962
|
-
false,
|
|
12963
|
-
null,
|
|
12964
|
-
null,
|
|
12965
|
-
null
|
|
12966
|
-
|
|
12967
|
-
)
|
|
12968
|
-
|
|
12969
|
-
/* hot reload */
|
|
12970
|
-
if (false) { var api; }
|
|
12971
|
-
component.options.__file = "packages/tag/src/tag.vue"
|
|
12972
|
-
/* harmony default export */ var tag = (component.exports);
|
|
12973
|
-
// CONCATENATED MODULE: ./packages/tag/index.js
|
|
12974
|
-
|
|
12975
|
-
|
|
12976
|
-
/* istanbul ignore next */
|
|
12977
|
-
tag.install = function (Vue) {
|
|
12978
|
-
Vue.component(tag.name, tag);
|
|
12979
|
-
};
|
|
12980
|
-
|
|
12981
|
-
/* harmony default export */ var packages_tag = __webpack_exports__["default"] = (tag);
|
|
12982
|
-
|
|
12983
|
-
/***/ })
|
|
12984
|
-
|
|
12985
|
-
/******/ });
|
|
12986
|
-
|
|
12987
|
-
/***/ }),
|
|
12988
|
-
|
|
12989
|
-
/***/ "8bbf":
|
|
12990
|
-
/***/ (function(module, exports) {
|
|
12991
|
-
|
|
12992
|
-
module.exports = require("vue");
|
|
12993
|
-
|
|
12994
|
-
/***/ }),
|
|
12995
|
-
|
|
12996
|
-
/***/ "937c":
|
|
12997
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
12998
|
-
|
|
12999
|
-
// extracted by mini-css-extract-plugin
|
|
13000
|
-
|
|
13001
|
-
/***/ }),
|
|
13002
|
-
|
|
13003
|
-
/***/ "97d3":
|
|
13004
|
-
/***/ (function(module, exports) {
|
|
13005
|
-
|
|
13006
|
-
module.exports = require("core-js/modules/es.object.to-string.js");
|
|
13007
|
-
|
|
13008
|
-
/***/ }),
|
|
13009
|
-
|
|
13010
|
-
/***/ "9b22":
|
|
13011
|
-
/***/ (function(module, exports) {
|
|
13012
|
-
|
|
13013
|
-
module.exports = require("core-js/modules/es.symbol.js");
|
|
13014
|
-
|
|
13015
|
-
/***/ }),
|
|
13016
|
-
|
|
13017
|
-
/***/ "9bb0":
|
|
13018
|
-
/***/ (function(module, exports) {
|
|
13019
|
-
|
|
13020
|
-
module.exports = require("@soda/get-current-script");
|
|
13021
|
-
|
|
13022
|
-
/***/ }),
|
|
13023
|
-
|
|
13024
|
-
/***/ "9bb5":
|
|
13025
|
-
/***/ (function(module, exports) {
|
|
13026
|
-
|
|
13027
|
-
module.exports = require("core-js/modules/es.string.iterator.js");
|
|
13028
12803
|
|
|
13029
12804
|
/***/ }),
|
|
13030
12805
|
|
|
@@ -13091,13 +12866,6 @@ var RE_NARGS = /(%|)\{([0-9a-zA-Z_]+)\}/g;
|
|
|
13091
12866
|
|
|
13092
12867
|
/***/ }),
|
|
13093
12868
|
|
|
13094
|
-
/***/ "a168":
|
|
13095
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
13096
|
-
|
|
13097
|
-
// extracted by mini-css-extract-plugin
|
|
13098
|
-
|
|
13099
|
-
/***/ }),
|
|
13100
|
-
|
|
13101
12869
|
/***/ "a1cc":
|
|
13102
12870
|
/***/ (function(module, exports) {
|
|
13103
12871
|
|
|
@@ -13389,13 +13157,6 @@ icon.install = function (Vue) {
|
|
|
13389
13157
|
|
|
13390
13158
|
/***/ }),
|
|
13391
13159
|
|
|
13392
|
-
/***/ "a673":
|
|
13393
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
13394
|
-
|
|
13395
|
-
// extracted by mini-css-extract-plugin
|
|
13396
|
-
|
|
13397
|
-
/***/ }),
|
|
13398
|
-
|
|
13399
13160
|
/***/ "a742":
|
|
13400
13161
|
/***/ (function(module, exports, __webpack_require__) {
|
|
13401
13162
|
|
|
@@ -13467,17 +13228,6 @@ module.exports = require("core-js/modules/es.json.stringify.js");
|
|
|
13467
13228
|
|
|
13468
13229
|
// extracted by mini-css-extract-plugin
|
|
13469
13230
|
|
|
13470
|
-
/***/ }),
|
|
13471
|
-
|
|
13472
|
-
/***/ "abc6":
|
|
13473
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
13474
|
-
|
|
13475
|
-
"use strict";
|
|
13476
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_FlatmapVuer_vue_vue_type_style_index_0_id_30ab4c8a_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("a168");
|
|
13477
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_FlatmapVuer_vue_vue_type_style_index_0_id_30ab4c8a_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_FlatmapVuer_vue_vue_type_style_index_0_id_30ab4c8a_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
13478
|
-
/* unused harmony reexport * */
|
|
13479
|
-
|
|
13480
|
-
|
|
13481
13231
|
/***/ }),
|
|
13482
13232
|
|
|
13483
13233
|
/***/ "ac3f":
|
|
@@ -13645,11 +13395,29 @@ exports.default = {
|
|
|
13645
13395
|
|
|
13646
13396
|
/***/ }),
|
|
13647
13397
|
|
|
13398
|
+
/***/ "b94f":
|
|
13399
|
+
/***/ (function(module, exports) {
|
|
13400
|
+
|
|
13401
|
+
module.exports = require("core-js/modules/web.url.js");
|
|
13402
|
+
|
|
13403
|
+
/***/ }),
|
|
13404
|
+
|
|
13648
13405
|
/***/ "be4f":
|
|
13649
13406
|
/***/ (function(module, exports, __webpack_require__) {
|
|
13650
13407
|
|
|
13651
13408
|
// extracted by mini-css-extract-plugin
|
|
13652
13409
|
|
|
13410
|
+
/***/ }),
|
|
13411
|
+
|
|
13412
|
+
/***/ "bfd2":
|
|
13413
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
13414
|
+
|
|
13415
|
+
"use strict";
|
|
13416
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Tooltip_vue_vue_type_style_index_0_id_60f01bdc_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("316b");
|
|
13417
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Tooltip_vue_vue_type_style_index_0_id_60f01bdc_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Tooltip_vue_vue_type_style_index_0_id_60f01bdc_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
13418
|
+
/* unused harmony reexport * */
|
|
13419
|
+
|
|
13420
|
+
|
|
13653
13421
|
/***/ }),
|
|
13654
13422
|
|
|
13655
13423
|
/***/ "c2cc":
|
|
@@ -13874,6 +13642,17 @@ exports.default = function (instance, callback) {
|
|
|
13874
13642
|
* @param {Boolean} once weather bind after-leave once. default value is false.
|
|
13875
13643
|
*/
|
|
13876
13644
|
|
|
13645
|
+
/***/ }),
|
|
13646
|
+
|
|
13647
|
+
/***/ "c633":
|
|
13648
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
13649
|
+
|
|
13650
|
+
"use strict";
|
|
13651
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_FlatmapVuer_vue_vue_type_style_index_0_id_3560b642_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("667b");
|
|
13652
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_FlatmapVuer_vue_vue_type_style_index_0_id_3560b642_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_FlatmapVuer_vue_vue_type_style_index_0_id_3560b642_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
13653
|
+
/* unused harmony reexport * */
|
|
13654
|
+
|
|
13655
|
+
|
|
13877
13656
|
/***/ }),
|
|
13878
13657
|
|
|
13879
13658
|
/***/ "c69e":
|
|
@@ -14237,17 +14016,6 @@ function isKorean(text) {
|
|
|
14237
14016
|
|
|
14238
14017
|
// extracted by mini-css-extract-plugin
|
|
14239
14018
|
|
|
14240
|
-
/***/ }),
|
|
14241
|
-
|
|
14242
|
-
/***/ "d9b5":
|
|
14243
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
14244
|
-
|
|
14245
|
-
"use strict";
|
|
14246
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MultiFlatmapVuer_vue_vue_type_style_index_0_id_4cc67562_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("937c");
|
|
14247
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MultiFlatmapVuer_vue_vue_type_style_index_0_id_4cc67562_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MultiFlatmapVuer_vue_vue_type_style_index_0_id_4cc67562_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
14248
|
-
/* unused harmony reexport * */
|
|
14249
|
-
|
|
14250
|
-
|
|
14251
14019
|
/***/ }),
|
|
14252
14020
|
|
|
14253
14021
|
/***/ "da6e":
|
|
@@ -14910,11 +14678,29 @@ src_checkbox.install = function (Vue) {
|
|
|
14910
14678
|
|
|
14911
14679
|
/***/ }),
|
|
14912
14680
|
|
|
14681
|
+
/***/ "dd96":
|
|
14682
|
+
/***/ (function(module, exports) {
|
|
14683
|
+
|
|
14684
|
+
module.exports = require("@abi-software/sparc-annotation");
|
|
14685
|
+
|
|
14686
|
+
/***/ }),
|
|
14687
|
+
|
|
14913
14688
|
/***/ "de31":
|
|
14914
14689
|
/***/ (function(module, exports, __webpack_require__) {
|
|
14915
14690
|
|
|
14916
14691
|
// extracted by mini-css-extract-plugin
|
|
14917
14692
|
|
|
14693
|
+
/***/ }),
|
|
14694
|
+
|
|
14695
|
+
/***/ "e42b":
|
|
14696
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
14697
|
+
|
|
14698
|
+
"use strict";
|
|
14699
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_AnnotationTool_vue_vue_type_style_index_0_id_028138eb_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("f96b");
|
|
14700
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_AnnotationTool_vue_vue_type_style_index_0_id_028138eb_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_AnnotationTool_vue_vue_type_style_index_0_id_028138eb_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
14701
|
+
/* unused harmony reexport * */
|
|
14702
|
+
|
|
14703
|
+
|
|
14918
14704
|
/***/ }),
|
|
14919
14705
|
|
|
14920
14706
|
/***/ "e62d":
|
|
@@ -16042,14 +15828,10 @@ src_button.install = function (Vue) {
|
|
|
16042
15828
|
|
|
16043
15829
|
/***/ }),
|
|
16044
15830
|
|
|
16045
|
-
/***/ "
|
|
16046
|
-
/***/ (function(module,
|
|
16047
|
-
|
|
16048
|
-
"use strict";
|
|
16049
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Tooltip_vue_vue_type_style_index_0_id_2bc00d52_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("01ae");
|
|
16050
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Tooltip_vue_vue_type_style_index_0_id_2bc00d52_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Tooltip_vue_vue_type_style_index_0_id_2bc00d52_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
16051
|
-
/* unused harmony reexport * */
|
|
15831
|
+
/***/ "f029":
|
|
15832
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
16052
15833
|
|
|
15834
|
+
// extracted by mini-css-extract-plugin
|
|
16053
15835
|
|
|
16054
15836
|
/***/ }),
|
|
16055
15837
|
|
|
@@ -17189,6 +16971,13 @@ module.exports = __webpack_require__("7f4d");
|
|
|
17189
16971
|
|
|
17190
16972
|
/***/ }),
|
|
17191
16973
|
|
|
16974
|
+
/***/ "f3b8":
|
|
16975
|
+
/***/ (function(module, exports) {
|
|
16976
|
+
|
|
16977
|
+
module.exports = require("core-js/modules/es.array.splice.js");
|
|
16978
|
+
|
|
16979
|
+
/***/ }),
|
|
16980
|
+
|
|
17192
16981
|
/***/ "f494":
|
|
17193
16982
|
/***/ (function(module, exports, __webpack_require__) {
|
|
17194
16983
|
|
|
@@ -17698,6 +17487,13 @@ src_radio.install = function (Vue) {
|
|
|
17698
17487
|
|
|
17699
17488
|
/***/ }),
|
|
17700
17489
|
|
|
17490
|
+
/***/ "f96b":
|
|
17491
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
17492
|
+
|
|
17493
|
+
// extracted by mini-css-extract-plugin
|
|
17494
|
+
|
|
17495
|
+
/***/ }),
|
|
17496
|
+
|
|
17701
17497
|
/***/ "f989":
|
|
17702
17498
|
/***/ (function(module, exports) {
|
|
17703
17499
|
|
|
@@ -17740,7 +17536,7 @@ if (typeof window !== 'undefined') {
|
|
|
17740
17536
|
// Indicate to webpack that this file can be concatenated
|
|
17741
17537
|
/* harmony default export */ var setPublicPath = (null);
|
|
17742
17538
|
|
|
17743
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
17539
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"fcc0542a-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/FlatmapVuer.vue?vue&type=template&id=3560b642&scoped=true&
|
|
17744
17540
|
var render = function render() {
|
|
17745
17541
|
var _vm = this,
|
|
17746
17542
|
_c = _vm._self._c;
|
|
@@ -17857,7 +17653,7 @@ var render = function render() {
|
|
|
17857
17653
|
on: {
|
|
17858
17654
|
"click": _vm.viewLatestMap
|
|
17859
17655
|
}
|
|
17860
|
-
}, [_vm._v("Click here for the latest map")])] : [_c('span', {
|
|
17656
|
+
}, [_vm._v(" Click here for the latest map ")])] : [_c('span', {
|
|
17861
17657
|
staticClass: "warning-text"
|
|
17862
17658
|
}, [_vm._v("Beta")])]], 2) : _vm._e()], 1), _vm.displayLatestChanges ? _c('el-popover', {
|
|
17863
17659
|
ref: "latestChangesPopover",
|
|
@@ -18038,6 +17834,10 @@ var render = function render() {
|
|
|
18038
17834
|
arg: "checkBoxPopover"
|
|
18039
17835
|
}],
|
|
18040
17836
|
staticClass: "pathway-container",
|
|
17837
|
+
class: {
|
|
17838
|
+
open: _vm.drawerOpen,
|
|
17839
|
+
close: !_vm.drawerOpen
|
|
17840
|
+
},
|
|
18041
17841
|
style: {
|
|
18042
17842
|
'max-height': _vm.pathwaysMaxHeight + 'px'
|
|
18043
17843
|
}
|
|
@@ -18170,29 +17970,37 @@ var render = function render() {
|
|
|
18170
17970
|
}
|
|
18171
17971
|
}, [_c('el-row', {
|
|
18172
17972
|
staticClass: "backgroundText"
|
|
18173
|
-
}, [_vm._v("
|
|
17973
|
+
}, [_vm._v("Viewing Mode")]), _c('el-row', {
|
|
18174
17974
|
staticClass: "backgroundControl"
|
|
18175
|
-
}, [_c('el-
|
|
18176
|
-
staticClass: "
|
|
18177
|
-
|
|
18178
|
-
"
|
|
17975
|
+
}, [_c('el-select', {
|
|
17976
|
+
staticClass: "select-box",
|
|
17977
|
+
attrs: {
|
|
17978
|
+
"popper-append-to-body": false,
|
|
17979
|
+
"placeholder": "Select",
|
|
17980
|
+
"popper-class": "flatmap_dropdown"
|
|
18179
17981
|
},
|
|
18180
17982
|
model: {
|
|
18181
|
-
value: _vm.
|
|
17983
|
+
value: _vm.viewingMode,
|
|
18182
17984
|
callback: function callback($$v) {
|
|
18183
|
-
_vm.
|
|
17985
|
+
_vm.viewingMode = $$v;
|
|
18184
17986
|
},
|
|
18185
|
-
expression: "
|
|
18186
|
-
}
|
|
18187
|
-
}, [_c('el-radio', {
|
|
18188
|
-
attrs: {
|
|
18189
|
-
"label": true
|
|
18190
|
-
}
|
|
18191
|
-
}, [_vm._v("On")]), _c('el-radio', {
|
|
18192
|
-
attrs: {
|
|
18193
|
-
"label": false
|
|
17987
|
+
expression: "viewingMode"
|
|
18194
17988
|
}
|
|
18195
|
-
},
|
|
17989
|
+
}, _vm._l(_vm.viewingModes, function (item) {
|
|
17990
|
+
return _c('el-option', {
|
|
17991
|
+
key: item,
|
|
17992
|
+
attrs: {
|
|
17993
|
+
"label": item,
|
|
17994
|
+
"value": item
|
|
17995
|
+
}
|
|
17996
|
+
}, [_c('el-row', [_c('el-col', {
|
|
17997
|
+
attrs: {
|
|
17998
|
+
"span": 12
|
|
17999
|
+
}
|
|
18000
|
+
}, [_vm._v(_vm._s(item))])], 1)], 1);
|
|
18001
|
+
}), 1)], 1), _c('el-row', {
|
|
18002
|
+
staticClass: "backgroundSpacer"
|
|
18003
|
+
}), _c('el-row', {
|
|
18196
18004
|
staticClass: "backgroundText"
|
|
18197
18005
|
}, [_vm._v("Organs display")]), _c('el-row', {
|
|
18198
18006
|
staticClass: "backgroundControl"
|
|
@@ -18338,7 +18146,9 @@ var render = function render() {
|
|
|
18338
18146
|
ref: "tooltip",
|
|
18339
18147
|
staticClass: "tooltip",
|
|
18340
18148
|
attrs: {
|
|
18341
|
-
"
|
|
18149
|
+
"annotationEntry": _vm.annotationEntry,
|
|
18150
|
+
"entry": _vm.tooltipEntry,
|
|
18151
|
+
"annotationDisplay": _vm.viewingMode === 'Annotation'
|
|
18342
18152
|
},
|
|
18343
18153
|
on: {
|
|
18344
18154
|
"highlightConnectedPaths": _vm.highlightConnectedPaths,
|
|
@@ -18348,7 +18158,7 @@ var render = function render() {
|
|
|
18348
18158
|
};
|
|
18349
18159
|
var staticRenderFns = [];
|
|
18350
18160
|
|
|
18351
|
-
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=template&id=
|
|
18161
|
+
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=template&id=3560b642&scoped=true&
|
|
18352
18162
|
|
|
18353
18163
|
// EXTERNAL MODULE: external "core-js/modules/es.symbol.js"
|
|
18354
18164
|
var es_symbol_js_ = __webpack_require__("9b22");
|
|
@@ -18854,6 +18664,100 @@ function _regeneratorRuntime() {
|
|
|
18854
18664
|
}
|
|
18855
18665
|
}, exports;
|
|
18856
18666
|
}
|
|
18667
|
+
// EXTERNAL MODULE: external "core-js/modules/es.object.keys.js"
|
|
18668
|
+
var es_object_keys_js_ = __webpack_require__("ea64");
|
|
18669
|
+
|
|
18670
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.filter.js"
|
|
18671
|
+
var es_array_filter_js_ = __webpack_require__("1a89");
|
|
18672
|
+
|
|
18673
|
+
// EXTERNAL MODULE: external "core-js/modules/es.object.get-own-property-descriptor.js"
|
|
18674
|
+
var es_object_get_own_property_descriptor_js_ = __webpack_require__("6de0");
|
|
18675
|
+
|
|
18676
|
+
// EXTERNAL MODULE: external "core-js/modules/es.object.get-own-property-descriptors.js"
|
|
18677
|
+
var es_object_get_own_property_descriptors_js_ = __webpack_require__("7664");
|
|
18678
|
+
|
|
18679
|
+
// EXTERNAL MODULE: external "core-js/modules/es.symbol.to-primitive.js"
|
|
18680
|
+
var es_symbol_to_primitive_js_ = __webpack_require__("fb89");
|
|
18681
|
+
|
|
18682
|
+
// EXTERNAL MODULE: external "core-js/modules/es.date.to-primitive.js"
|
|
18683
|
+
var es_date_to_primitive_js_ = __webpack_require__("1f48");
|
|
18684
|
+
|
|
18685
|
+
// EXTERNAL MODULE: external "core-js/modules/es.number.constructor.js"
|
|
18686
|
+
var es_number_constructor_js_ = __webpack_require__("f989");
|
|
18687
|
+
|
|
18688
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
|
18689
|
+
|
|
18690
|
+
|
|
18691
|
+
|
|
18692
|
+
|
|
18693
|
+
|
|
18694
|
+
|
|
18695
|
+
|
|
18696
|
+
|
|
18697
|
+
function _toPrimitive(input, hint) {
|
|
18698
|
+
if (_typeof(input) !== "object" || input === null) return input;
|
|
18699
|
+
var prim = input[Symbol.toPrimitive];
|
|
18700
|
+
if (prim !== undefined) {
|
|
18701
|
+
var res = prim.call(input, hint || "default");
|
|
18702
|
+
if (_typeof(res) !== "object") return res;
|
|
18703
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
18704
|
+
}
|
|
18705
|
+
return (hint === "string" ? String : Number)(input);
|
|
18706
|
+
}
|
|
18707
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
|
18708
|
+
|
|
18709
|
+
|
|
18710
|
+
function _toPropertyKey(arg) {
|
|
18711
|
+
var key = _toPrimitive(arg, "string");
|
|
18712
|
+
return _typeof(key) === "symbol" ? key : String(key);
|
|
18713
|
+
}
|
|
18714
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
18715
|
+
|
|
18716
|
+
function _defineProperty(obj, key, value) {
|
|
18717
|
+
key = _toPropertyKey(key);
|
|
18718
|
+
if (key in obj) {
|
|
18719
|
+
Object.defineProperty(obj, key, {
|
|
18720
|
+
value: value,
|
|
18721
|
+
enumerable: true,
|
|
18722
|
+
configurable: true,
|
|
18723
|
+
writable: true
|
|
18724
|
+
});
|
|
18725
|
+
} else {
|
|
18726
|
+
obj[key] = value;
|
|
18727
|
+
}
|
|
18728
|
+
return obj;
|
|
18729
|
+
}
|
|
18730
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js
|
|
18731
|
+
|
|
18732
|
+
|
|
18733
|
+
|
|
18734
|
+
|
|
18735
|
+
|
|
18736
|
+
|
|
18737
|
+
|
|
18738
|
+
|
|
18739
|
+
|
|
18740
|
+
function ownKeys(object, enumerableOnly) {
|
|
18741
|
+
var keys = Object.keys(object);
|
|
18742
|
+
if (Object.getOwnPropertySymbols) {
|
|
18743
|
+
var symbols = Object.getOwnPropertySymbols(object);
|
|
18744
|
+
enumerableOnly && (symbols = symbols.filter(function (sym) {
|
|
18745
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
18746
|
+
})), keys.push.apply(keys, symbols);
|
|
18747
|
+
}
|
|
18748
|
+
return keys;
|
|
18749
|
+
}
|
|
18750
|
+
function _objectSpread2(target) {
|
|
18751
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
18752
|
+
var source = null != arguments[i] ? arguments[i] : {};
|
|
18753
|
+
i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {
|
|
18754
|
+
_defineProperty(target, key, source[key]);
|
|
18755
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {
|
|
18756
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
18757
|
+
});
|
|
18758
|
+
}
|
|
18759
|
+
return target;
|
|
18760
|
+
}
|
|
18857
18761
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
|
|
18858
18762
|
|
|
18859
18763
|
|
|
@@ -18880,120 +18784,688 @@ function _asyncToGenerator(fn) {
|
|
|
18880
18784
|
function _next(value) {
|
|
18881
18785
|
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
|
18882
18786
|
}
|
|
18883
|
-
function _throw(err) {
|
|
18884
|
-
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
|
18787
|
+
function _throw(err) {
|
|
18788
|
+
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
|
18789
|
+
}
|
|
18790
|
+
_next(undefined);
|
|
18791
|
+
});
|
|
18792
|
+
};
|
|
18793
|
+
}
|
|
18794
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
|
|
18795
|
+
|
|
18796
|
+
function _arrayWithoutHoles(arr) {
|
|
18797
|
+
if (Array.isArray(arr)) return _arrayLikeToArray(arr);
|
|
18798
|
+
}
|
|
18799
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js
|
|
18800
|
+
|
|
18801
|
+
|
|
18802
|
+
|
|
18803
|
+
|
|
18804
|
+
|
|
18805
|
+
|
|
18806
|
+
|
|
18807
|
+
|
|
18808
|
+
function _iterableToArray(iter) {
|
|
18809
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
18810
|
+
}
|
|
18811
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
|
18812
|
+
|
|
18813
|
+
function _nonIterableSpread() {
|
|
18814
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
18815
|
+
}
|
|
18816
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
|
|
18817
|
+
|
|
18818
|
+
|
|
18819
|
+
|
|
18820
|
+
|
|
18821
|
+
function _toConsumableArray(arr) {
|
|
18822
|
+
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
|
18823
|
+
}
|
|
18824
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/select.css
|
|
18825
|
+
var theme_chalk_select = __webpack_require__("1f1a");
|
|
18826
|
+
|
|
18827
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/base.css
|
|
18828
|
+
var base = __webpack_require__("450d");
|
|
18829
|
+
|
|
18830
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/select.js
|
|
18831
|
+
var lib_select = __webpack_require__("4e4b");
|
|
18832
|
+
var lib_select_default = /*#__PURE__*/__webpack_require__.n(lib_select);
|
|
18833
|
+
|
|
18834
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/row.css
|
|
18835
|
+
var row = __webpack_require__("7a0f");
|
|
18836
|
+
|
|
18837
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/row.js
|
|
18838
|
+
var lib_row = __webpack_require__("0f6c");
|
|
18839
|
+
var lib_row_default = /*#__PURE__*/__webpack_require__.n(lib_row);
|
|
18840
|
+
|
|
18841
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/radio-group.css
|
|
18842
|
+
var radio_group = __webpack_require__("fe07");
|
|
18843
|
+
|
|
18844
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/radio-group.js
|
|
18845
|
+
var lib_radio_group = __webpack_require__("6ac5");
|
|
18846
|
+
var lib_radio_group_default = /*#__PURE__*/__webpack_require__.n(lib_radio_group);
|
|
18847
|
+
|
|
18848
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/radio.css
|
|
18849
|
+
var theme_chalk_radio = __webpack_require__("b5d8");
|
|
18850
|
+
|
|
18851
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/radio.js
|
|
18852
|
+
var lib_radio = __webpack_require__("f494");
|
|
18853
|
+
var lib_radio_default = /*#__PURE__*/__webpack_require__.n(lib_radio);
|
|
18854
|
+
|
|
18855
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/loading.css
|
|
18856
|
+
var loading = __webpack_require__("be4f");
|
|
18857
|
+
|
|
18858
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/loading.js
|
|
18859
|
+
var lib_loading = __webpack_require__("896a");
|
|
18860
|
+
var lib_loading_default = /*#__PURE__*/__webpack_require__.n(lib_loading);
|
|
18861
|
+
|
|
18862
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/col.css
|
|
18863
|
+
var col = __webpack_require__("f4f9");
|
|
18864
|
+
|
|
18865
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/col.js
|
|
18866
|
+
var lib_col = __webpack_require__("c2cc");
|
|
18867
|
+
var lib_col_default = /*#__PURE__*/__webpack_require__.n(lib_col);
|
|
18868
|
+
|
|
18869
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/button.css
|
|
18870
|
+
var theme_chalk_button = __webpack_require__("1951");
|
|
18871
|
+
|
|
18872
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/button.js
|
|
18873
|
+
var lib_button = __webpack_require__("eedf");
|
|
18874
|
+
var lib_button_default = /*#__PURE__*/__webpack_require__.n(lib_button);
|
|
18875
|
+
|
|
18876
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.find-index.js"
|
|
18877
|
+
var es_array_find_index_js_ = __webpack_require__("4c7f");
|
|
18878
|
+
|
|
18879
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.concat.js"
|
|
18880
|
+
var es_array_concat_js_ = __webpack_require__("ccb0");
|
|
18881
|
+
|
|
18882
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.map.js"
|
|
18883
|
+
var es_array_map_js_ = __webpack_require__("4391");
|
|
18884
|
+
|
|
18885
|
+
// EXTERNAL MODULE: external "core-js/modules/es.set.js"
|
|
18886
|
+
var es_set_js_ = __webpack_require__("8535");
|
|
18887
|
+
|
|
18888
|
+
// EXTERNAL MODULE: external "core-js/modules/es.string.search.js"
|
|
18889
|
+
var es_string_search_js_ = __webpack_require__("1c32");
|
|
18890
|
+
|
|
18891
|
+
// EXTERNAL MODULE: external "vue"
|
|
18892
|
+
var external_vue_ = __webpack_require__("8bbf");
|
|
18893
|
+
var external_vue_default = /*#__PURE__*/__webpack_require__.n(external_vue_);
|
|
18894
|
+
|
|
18895
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"fcc0542a-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Tooltip.vue?vue&type=template&id=60f01bdc&scoped=true&
|
|
18896
|
+
var Tooltipvue_type_template_id_60f01bdc_scoped_true_render = function render() {
|
|
18897
|
+
var _vm = this,
|
|
18898
|
+
_c = _vm._self._c;
|
|
18899
|
+
return _c('div', {
|
|
18900
|
+
staticClass: "tooltip-container"
|
|
18901
|
+
}, [_vm.annotationDisplay ? [_c('annotation-tool', {
|
|
18902
|
+
attrs: {
|
|
18903
|
+
"annotationEntry": _vm.annotationEntry
|
|
18904
|
+
}
|
|
18905
|
+
})] : [_c('provenance-popup', {
|
|
18906
|
+
attrs: {
|
|
18907
|
+
"entry": _vm.entry
|
|
18908
|
+
},
|
|
18909
|
+
on: {
|
|
18910
|
+
"highlightConnectedPaths": function highlightConnectedPaths($event) {
|
|
18911
|
+
return _vm.$emit('highlightConnectedPaths', $event);
|
|
18912
|
+
},
|
|
18913
|
+
"onClose": function onClose($event) {
|
|
18914
|
+
return _vm.$emit('onClose');
|
|
18915
|
+
}
|
|
18916
|
+
}
|
|
18917
|
+
})]], 2);
|
|
18918
|
+
};
|
|
18919
|
+
var Tooltipvue_type_template_id_60f01bdc_scoped_true_staticRenderFns = [];
|
|
18920
|
+
|
|
18921
|
+
// CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=template&id=60f01bdc&scoped=true&
|
|
18922
|
+
|
|
18923
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"fcc0542a-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/AnnotationTool.vue?vue&type=template&id=028138eb&scoped=true&
|
|
18924
|
+
|
|
18925
|
+
var AnnotationToolvue_type_template_id_028138eb_scoped_true_render = function render() {
|
|
18926
|
+
var _vm = this,
|
|
18927
|
+
_c = _vm._self._c;
|
|
18928
|
+
return _c('el-main', {
|
|
18929
|
+
staticClass: "main"
|
|
18930
|
+
}, [_c('div', {
|
|
18931
|
+
staticClass: "block"
|
|
18932
|
+
}, [_c('el-row', {
|
|
18933
|
+
staticClass: "info-field"
|
|
18934
|
+
}, [_c('span', {
|
|
18935
|
+
staticClass: "title"
|
|
18936
|
+
}, [_vm._v("Feature Annotations")])]), _vm.annotationEntry ? [_vm._l(_vm.displayPair, function (key, label) {
|
|
18937
|
+
return _c('el-row', {
|
|
18938
|
+
directives: [{
|
|
18939
|
+
name: "show",
|
|
18940
|
+
rawName: "v-show",
|
|
18941
|
+
value: _vm.annotationEntry[key],
|
|
18942
|
+
expression: "annotationEntry[key]"
|
|
18943
|
+
}],
|
|
18944
|
+
key: key,
|
|
18945
|
+
staticClass: "dialog-text"
|
|
18946
|
+
}, [_c('strong', [_vm._v(_vm._s(label) + ": ")]), _vm._v(" " + _vm._s(_vm.annotationEntry[key]) + " ")]);
|
|
18947
|
+
}), _vm.prevSubs.length > 0 ? [_c('div', {
|
|
18948
|
+
directives: [{
|
|
18949
|
+
name: "show",
|
|
18950
|
+
rawName: "v-show",
|
|
18951
|
+
value: _vm.showSubmissions,
|
|
18952
|
+
expression: "showSubmissions"
|
|
18953
|
+
}],
|
|
18954
|
+
staticClass: "hide",
|
|
18955
|
+
on: {
|
|
18956
|
+
"click": function click($event) {
|
|
18957
|
+
_vm.showSubmissions = false;
|
|
18958
|
+
}
|
|
18959
|
+
}
|
|
18960
|
+
}, [_vm._v(" Hide previous submissions "), _c('i', {
|
|
18961
|
+
staticClass: "el-icon-arrow-up"
|
|
18962
|
+
})]), _c('div', {
|
|
18963
|
+
directives: [{
|
|
18964
|
+
name: "show",
|
|
18965
|
+
rawName: "v-show",
|
|
18966
|
+
value: !_vm.showSubmissions,
|
|
18967
|
+
expression: "!showSubmissions"
|
|
18968
|
+
}],
|
|
18969
|
+
staticClass: "hide",
|
|
18970
|
+
on: {
|
|
18971
|
+
"click": function click($event) {
|
|
18972
|
+
_vm.showSubmissions = true;
|
|
18973
|
+
}
|
|
18974
|
+
}
|
|
18975
|
+
}, [_vm._v(" Show previous " + _vm._s(_vm.prevSubs.length) + " submission(s) "), _c('i', {
|
|
18976
|
+
staticClass: "el-icon-arrow-down"
|
|
18977
|
+
})]), _vm.showSubmissions ? [_c('el-row', {
|
|
18978
|
+
staticClass: "dialog-spacer"
|
|
18979
|
+
}), _c('el-row', {
|
|
18980
|
+
staticClass: "dialog-text"
|
|
18981
|
+
}, [_c('strong', {
|
|
18982
|
+
staticClass: "sub-title"
|
|
18983
|
+
}, [_vm._v("Previous submissions:")])]), _vm._l(_vm.prevSubs, function (sub, index) {
|
|
18984
|
+
return _c('div', {
|
|
18985
|
+
key: index,
|
|
18986
|
+
staticClass: "entry"
|
|
18987
|
+
}, [_c('el-row', {
|
|
18988
|
+
staticClass: "dialog-text"
|
|
18989
|
+
}, [_c('strong', [_vm._v(_vm._s(_vm.formatTime(sub.created)))]), _vm._v(" " + _vm._s(sub.creator.name) + " ")]), _c('el-row', {
|
|
18990
|
+
staticClass: "dialog-text"
|
|
18991
|
+
}, [_c('strong', [_vm._v("Evidence: ")]), _vm._l(sub.evidence, function (evidence) {
|
|
18992
|
+
return _c('el-row', {
|
|
18993
|
+
key: evidence,
|
|
18994
|
+
staticClass: "dialog-text"
|
|
18995
|
+
}, [_c('a', {
|
|
18996
|
+
attrs: {
|
|
18997
|
+
"href": evidence,
|
|
18998
|
+
"target": "_blank"
|
|
18999
|
+
}
|
|
19000
|
+
}, [_vm._v(" " + _vm._s(evidence))])]);
|
|
19001
|
+
})], 2), _c('el-row', {
|
|
19002
|
+
staticClass: "dialog-text"
|
|
19003
|
+
}, [_c('strong', [_vm._v("Comment: ")]), _vm._v(" " + _vm._s(sub.comment) + " ")])], 1);
|
|
19004
|
+
})] : _vm._e()] : _vm._e(), _c('el-row', {
|
|
19005
|
+
staticClass: "dialog-spacer"
|
|
19006
|
+
}), _vm.authenticated ? [_vm.isEditable ? [!_vm.editing ? _c('el-row', [_c('i', {
|
|
19007
|
+
staticClass: "el-icon-edit standard-icon",
|
|
19008
|
+
on: {
|
|
19009
|
+
"click": function click($event) {
|
|
19010
|
+
_vm.editing = true;
|
|
19011
|
+
}
|
|
19012
|
+
}
|
|
19013
|
+
})]) : [_c('el-row', {
|
|
19014
|
+
staticClass: "dialog-text"
|
|
19015
|
+
}, [_c('strong', {
|
|
19016
|
+
staticClass: "sub-title"
|
|
19017
|
+
}, [_vm._v("Suggest changes:")])]), _c('el-row', {
|
|
19018
|
+
staticClass: "dialog-text"
|
|
19019
|
+
}, [_c('strong', [_vm._v("Evidvence:")])]), _vm._l(_vm.evidence, function (value, index) {
|
|
19020
|
+
return _c('el-row', {
|
|
19021
|
+
key: value
|
|
19022
|
+
}, [_c('el-col', {
|
|
19023
|
+
attrs: {
|
|
19024
|
+
"span": 20
|
|
19025
|
+
}
|
|
19026
|
+
}, [_vm._v(" " + _vm._s(_vm.evidence[index]) + " ")]), _c('el-col', {
|
|
19027
|
+
attrs: {
|
|
19028
|
+
"span": 4
|
|
19029
|
+
}
|
|
19030
|
+
}, [_c('i', {
|
|
19031
|
+
staticClass: "el-icon-close standard-icon",
|
|
19032
|
+
on: {
|
|
19033
|
+
"click": function click($event) {
|
|
19034
|
+
return _vm.removeEvidence(index);
|
|
19035
|
+
}
|
|
19036
|
+
}
|
|
19037
|
+
})])], 1);
|
|
19038
|
+
}), _c('el-row', [_c('el-input', {
|
|
19039
|
+
attrs: {
|
|
19040
|
+
"size": "mini",
|
|
19041
|
+
"placeholder": "Enter"
|
|
19042
|
+
},
|
|
19043
|
+
on: {
|
|
19044
|
+
"change": function change($event) {
|
|
19045
|
+
return _vm.evidenceEntered($event);
|
|
19046
|
+
}
|
|
19047
|
+
},
|
|
19048
|
+
model: {
|
|
19049
|
+
value: _vm.newEvidence,
|
|
19050
|
+
callback: function callback($$v) {
|
|
19051
|
+
_vm.newEvidence = $$v;
|
|
19052
|
+
},
|
|
19053
|
+
expression: "newEvidence"
|
|
19054
|
+
}
|
|
19055
|
+
}, [_c('el-select', {
|
|
19056
|
+
staticClass: "select-box",
|
|
19057
|
+
attrs: {
|
|
19058
|
+
"slot": "prepend",
|
|
19059
|
+
"popper-append-to-body": false,
|
|
19060
|
+
"placeholder": "Select",
|
|
19061
|
+
"popper-class": "flatmap_dropdown"
|
|
19062
|
+
},
|
|
19063
|
+
slot: "prepend",
|
|
19064
|
+
model: {
|
|
19065
|
+
value: _vm.evidencePrefix,
|
|
19066
|
+
callback: function callback($$v) {
|
|
19067
|
+
_vm.evidencePrefix = $$v;
|
|
19068
|
+
},
|
|
19069
|
+
expression: "evidencePrefix"
|
|
19070
|
+
}
|
|
19071
|
+
}, _vm._l(_vm.evidencePrefixes, function (item) {
|
|
19072
|
+
return _c('el-option', {
|
|
19073
|
+
key: item,
|
|
19074
|
+
attrs: {
|
|
19075
|
+
"label": item,
|
|
19076
|
+
"value": item
|
|
19077
|
+
}
|
|
19078
|
+
}, [_c('el-row', [_c('el-col', {
|
|
19079
|
+
attrs: {
|
|
19080
|
+
"span": 12
|
|
18885
19081
|
}
|
|
18886
|
-
|
|
18887
|
-
|
|
18888
|
-
|
|
18889
|
-
}
|
|
18890
|
-
|
|
19082
|
+
}, [_vm._v(_vm._s(item))])], 1)], 1);
|
|
19083
|
+
}), 1)], 1)], 1), _c('el-row', [_c('strong', [_vm._v("Comment:")])]), _c('el-row', {
|
|
19084
|
+
staticClass: "dialog-text"
|
|
19085
|
+
}, [_c('el-input', {
|
|
19086
|
+
attrs: {
|
|
19087
|
+
"type": "textarea",
|
|
19088
|
+
"autosize": {
|
|
19089
|
+
minRows: 2,
|
|
19090
|
+
maxRows: 4
|
|
19091
|
+
},
|
|
19092
|
+
"placeholder": "Enter"
|
|
19093
|
+
},
|
|
19094
|
+
model: {
|
|
19095
|
+
value: _vm.comment,
|
|
19096
|
+
callback: function callback($$v) {
|
|
19097
|
+
_vm.comment = $$v;
|
|
19098
|
+
},
|
|
19099
|
+
expression: "comment"
|
|
19100
|
+
}
|
|
19101
|
+
})], 1), _c('el-row', {
|
|
19102
|
+
staticClass: "dialog-text"
|
|
19103
|
+
}, [_c('el-button', {
|
|
19104
|
+
staticClass: "button",
|
|
19105
|
+
attrs: {
|
|
19106
|
+
"type": "primary",
|
|
19107
|
+
"plain": ""
|
|
19108
|
+
},
|
|
19109
|
+
on: {
|
|
19110
|
+
"click": _vm.submit
|
|
19111
|
+
}
|
|
19112
|
+
}, [_vm._v(" Submit ")])], 1)]] : _vm._e()] : _vm._e(), _vm.errorMessage ? _c('el-row', {
|
|
19113
|
+
staticClass: "dialog-text"
|
|
19114
|
+
}, [_c('strong', {
|
|
19115
|
+
staticClass: "sub-title"
|
|
19116
|
+
}, [_vm._v(" " + _vm._s(_vm.errorMessage) + " ")])]) : _vm._e()] : _vm._e()], 2)]);
|
|
19117
|
+
};
|
|
19118
|
+
var AnnotationToolvue_type_template_id_028138eb_scoped_true_staticRenderFns = [];
|
|
18891
19119
|
|
|
18892
|
-
|
|
18893
|
-
if (Array.isArray(arr)) return _arrayLikeToArray(arr);
|
|
18894
|
-
}
|
|
18895
|
-
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js
|
|
19120
|
+
// CONCATENATED MODULE: ./src/components/AnnotationTool.vue?vue&type=template&id=028138eb&scoped=true&
|
|
18896
19121
|
|
|
19122
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/main.css
|
|
19123
|
+
var main = __webpack_require__("de31");
|
|
18897
19124
|
|
|
19125
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/main.js
|
|
19126
|
+
var lib_main = __webpack_require__("c69e");
|
|
19127
|
+
var lib_main_default = /*#__PURE__*/__webpack_require__.n(lib_main);
|
|
18898
19128
|
|
|
19129
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/input.css
|
|
19130
|
+
var theme_chalk_input = __webpack_require__("10cb");
|
|
18899
19131
|
|
|
19132
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/input.js
|
|
19133
|
+
var lib_input = __webpack_require__("f3ad");
|
|
19134
|
+
var lib_input_default = /*#__PURE__*/__webpack_require__.n(lib_input);
|
|
18900
19135
|
|
|
19136
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.includes.js"
|
|
19137
|
+
var es_array_includes_js_ = __webpack_require__("85f7");
|
|
18901
19138
|
|
|
19139
|
+
// EXTERNAL MODULE: external "core-js/modules/es.string.includes.js"
|
|
19140
|
+
var es_string_includes_js_ = __webpack_require__("fd22");
|
|
18902
19141
|
|
|
19142
|
+
// EXTERNAL MODULE: external "core-js/modules/es.string.replace.js"
|
|
19143
|
+
var es_string_replace_js_ = __webpack_require__("6378");
|
|
18903
19144
|
|
|
18904
|
-
|
|
18905
|
-
|
|
18906
|
-
}
|
|
18907
|
-
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
|
19145
|
+
// EXTERNAL MODULE: external "core-js/modules/web.url.js"
|
|
19146
|
+
var web_url_js_ = __webpack_require__("b94f");
|
|
18908
19147
|
|
|
18909
|
-
|
|
18910
|
-
|
|
18911
|
-
}
|
|
18912
|
-
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
|
|
19148
|
+
// EXTERNAL MODULE: external "core-js/modules/web.url-search-params.js"
|
|
19149
|
+
var web_url_search_params_js_ = __webpack_require__("712c");
|
|
18913
19150
|
|
|
19151
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.splice.js"
|
|
19152
|
+
var es_array_splice_js_ = __webpack_require__("f3b8");
|
|
18914
19153
|
|
|
19154
|
+
// EXTERNAL MODULE: external "@abi-software/sparc-annotation"
|
|
19155
|
+
var sparc_annotation_ = __webpack_require__("dd96");
|
|
18915
19156
|
|
|
19157
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/locale/lang/en.js
|
|
19158
|
+
var en = __webpack_require__("b2d6");
|
|
19159
|
+
var en_default = /*#__PURE__*/__webpack_require__.n(en);
|
|
18916
19160
|
|
|
18917
|
-
|
|
18918
|
-
|
|
18919
|
-
|
|
18920
|
-
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/row.css
|
|
18921
|
-
var row = __webpack_require__("7a0f");
|
|
19161
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/locale/index.js
|
|
19162
|
+
var locale = __webpack_require__("4897");
|
|
19163
|
+
var locale_default = /*#__PURE__*/__webpack_require__.n(locale);
|
|
18922
19164
|
|
|
18923
|
-
//
|
|
18924
|
-
var base = __webpack_require__("450d");
|
|
19165
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/AnnotationTool.vue?vue&type=script&lang=js&
|
|
18925
19166
|
|
|
18926
|
-
// EXTERNAL MODULE: ./node_modules/element-ui/lib/row.js
|
|
18927
|
-
var lib_row = __webpack_require__("0f6c");
|
|
18928
|
-
var lib_row_default = /*#__PURE__*/__webpack_require__.n(lib_row);
|
|
18929
19167
|
|
|
18930
|
-
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/radio-group.css
|
|
18931
|
-
var radio_group = __webpack_require__("fe07");
|
|
18932
19168
|
|
|
18933
|
-
// EXTERNAL MODULE: ./node_modules/element-ui/lib/radio-group.js
|
|
18934
|
-
var lib_radio_group = __webpack_require__("6ac5");
|
|
18935
|
-
var lib_radio_group_default = /*#__PURE__*/__webpack_require__.n(lib_radio_group);
|
|
18936
19169
|
|
|
18937
|
-
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/radio.css
|
|
18938
|
-
var theme_chalk_radio = __webpack_require__("b5d8");
|
|
18939
19170
|
|
|
18940
|
-
// EXTERNAL MODULE: ./node_modules/element-ui/lib/radio.js
|
|
18941
|
-
var lib_radio = __webpack_require__("f494");
|
|
18942
|
-
var lib_radio_default = /*#__PURE__*/__webpack_require__.n(lib_radio);
|
|
18943
19171
|
|
|
18944
|
-
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/loading.css
|
|
18945
|
-
var loading = __webpack_require__("be4f");
|
|
18946
19172
|
|
|
18947
|
-
// EXTERNAL MODULE: ./node_modules/element-ui/lib/loading.js
|
|
18948
|
-
var lib_loading = __webpack_require__("896a");
|
|
18949
|
-
var lib_loading_default = /*#__PURE__*/__webpack_require__.n(lib_loading);
|
|
18950
19173
|
|
|
18951
|
-
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/col.css
|
|
18952
|
-
var col = __webpack_require__("f4f9");
|
|
18953
19174
|
|
|
18954
|
-
// EXTERNAL MODULE: ./node_modules/element-ui/lib/col.js
|
|
18955
|
-
var lib_col = __webpack_require__("c2cc");
|
|
18956
|
-
var lib_col_default = /*#__PURE__*/__webpack_require__.n(lib_col);
|
|
18957
19175
|
|
|
18958
|
-
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/button.css
|
|
18959
|
-
var theme_chalk_button = __webpack_require__("1951");
|
|
18960
19176
|
|
|
18961
|
-
// EXTERNAL MODULE: ./node_modules/element-ui/lib/button.js
|
|
18962
|
-
var lib_button = __webpack_require__("eedf");
|
|
18963
|
-
var lib_button_default = /*#__PURE__*/__webpack_require__.n(lib_button);
|
|
18964
19177
|
|
|
18965
|
-
// EXTERNAL MODULE: external "core-js/modules/es.array.filter.js"
|
|
18966
|
-
var es_array_filter_js_ = __webpack_require__("1a89");
|
|
18967
19178
|
|
|
18968
|
-
// EXTERNAL MODULE: external "core-js/modules/es.array.find-index.js"
|
|
18969
|
-
var es_array_find_index_js_ = __webpack_require__("4c7f");
|
|
18970
19179
|
|
|
18971
|
-
// EXTERNAL MODULE: external "core-js/modules/es.array.concat.js"
|
|
18972
|
-
var es_array_concat_js_ = __webpack_require__("ccb0");
|
|
18973
19180
|
|
|
18974
|
-
// EXTERNAL MODULE: external "core-js/modules/es.array.map.js"
|
|
18975
|
-
var es_array_map_js_ = __webpack_require__("4391");
|
|
18976
19181
|
|
|
18977
|
-
// EXTERNAL MODULE: external "core-js/modules/es.set.js"
|
|
18978
|
-
var es_set_js_ = __webpack_require__("8535");
|
|
18979
19182
|
|
|
18980
|
-
// EXTERNAL MODULE: external "core-js/modules/es.string.search.js"
|
|
18981
|
-
var es_string_search_js_ = __webpack_require__("1c32");
|
|
18982
19183
|
|
|
18983
|
-
// EXTERNAL MODULE: external "core-js/modules/es.number.constructor.js"
|
|
18984
|
-
var es_number_constructor_js_ = __webpack_require__("f989");
|
|
18985
19184
|
|
|
18986
|
-
// EXTERNAL MODULE: external "vue"
|
|
18987
|
-
var external_vue_ = __webpack_require__("8bbf");
|
|
18988
|
-
var external_vue_default = /*#__PURE__*/__webpack_require__.n(external_vue_);
|
|
18989
19185
|
|
|
18990
|
-
|
|
18991
|
-
|
|
19186
|
+
|
|
19187
|
+
|
|
19188
|
+
|
|
19189
|
+
|
|
19190
|
+
|
|
19191
|
+
|
|
19192
|
+
|
|
19193
|
+
|
|
19194
|
+
|
|
19195
|
+
|
|
19196
|
+
|
|
19197
|
+
|
|
19198
|
+
/* eslint-disable no-alert, no-console */
|
|
19199
|
+
/* eslint-disable no-alert, no-console */
|
|
19200
|
+
|
|
19201
|
+
|
|
19202
|
+
|
|
19203
|
+
|
|
19204
|
+
locale_default.a.use(en_default.a);
|
|
19205
|
+
external_vue_default.a.use(lib_button_default.a);
|
|
19206
|
+
external_vue_default.a.use(lib_col_default.a);
|
|
19207
|
+
external_vue_default.a.use(lib_input_default.a);
|
|
19208
|
+
external_vue_default.a.use(lib_main_default.a);
|
|
19209
|
+
external_vue_default.a.use(lib_row_default.a);
|
|
19210
|
+
external_vue_default.a.use(lib_select_default.a);
|
|
19211
|
+
/* harmony default export */ var AnnotationToolvue_type_script_lang_js_ = ({
|
|
19212
|
+
name: "AnnotationTool",
|
|
19213
|
+
props: {
|
|
19214
|
+
annotationEntry: {
|
|
19215
|
+
type: Object
|
|
19216
|
+
}
|
|
19217
|
+
},
|
|
19218
|
+
inject: ['flatmapAPI'],
|
|
19219
|
+
data: function data() {
|
|
19220
|
+
return {
|
|
19221
|
+
displayPair: {
|
|
19222
|
+
"Feature ID": "featureId",
|
|
19223
|
+
"Tooltip": "label",
|
|
19224
|
+
"Models": "models",
|
|
19225
|
+
"Name": "name",
|
|
19226
|
+
"Resource": "resourceId"
|
|
19227
|
+
},
|
|
19228
|
+
editing: false,
|
|
19229
|
+
evidencePrefixes: ["DOI:", "PMID:"],
|
|
19230
|
+
evidencePrefix: "DOI:",
|
|
19231
|
+
evidence: [],
|
|
19232
|
+
authenticated: false,
|
|
19233
|
+
newEvidence: '',
|
|
19234
|
+
comment: '',
|
|
19235
|
+
prevSubs: [],
|
|
19236
|
+
showSubmissions: true,
|
|
19237
|
+
errorMessage: ""
|
|
19238
|
+
};
|
|
19239
|
+
},
|
|
19240
|
+
computed: {
|
|
19241
|
+
isEditable: function isEditable() {
|
|
19242
|
+
return this.annotationEntry['resourceId'] && this.annotationEntry['featureId'];
|
|
19243
|
+
}
|
|
19244
|
+
},
|
|
19245
|
+
methods: {
|
|
19246
|
+
evidenceEntered: function evidenceEntered(value) {
|
|
19247
|
+
if (value) {
|
|
19248
|
+
this.evidence.push(this.evidencePrefix + value);
|
|
19249
|
+
this.newEvidence = "";
|
|
19250
|
+
}
|
|
19251
|
+
},
|
|
19252
|
+
formatTime: function formatTime(dateString) {
|
|
19253
|
+
var options = {
|
|
19254
|
+
year: "numeric",
|
|
19255
|
+
month: "long",
|
|
19256
|
+
day: "numeric",
|
|
19257
|
+
hour: "numeric",
|
|
19258
|
+
minute: "numeric",
|
|
19259
|
+
second: "numeric"
|
|
19260
|
+
};
|
|
19261
|
+
return new Date(dateString).toLocaleDateString(undefined, options);
|
|
19262
|
+
},
|
|
19263
|
+
updatePrevSubmissions: function updatePrevSubmissions() {
|
|
19264
|
+
var _this = this;
|
|
19265
|
+
if (this.$annotator) {
|
|
19266
|
+
if (this.annotationEntry['resourceId'] && this.annotationEntry['featureId']) {
|
|
19267
|
+
this.$annotator.itemAnnotations(this.annotationEntry['resourceId'], this.annotationEntry['featureId']).then(function (value) {
|
|
19268
|
+
_this.prevSubs = value;
|
|
19269
|
+
}).catch(function (reason) {
|
|
19270
|
+
console.log(reason); // Error!
|
|
19271
|
+
});
|
|
19272
|
+
}
|
|
19273
|
+
}
|
|
19274
|
+
},
|
|
19275
|
+
|
|
19276
|
+
submit: function submit() {
|
|
19277
|
+
var _this2 = this;
|
|
19278
|
+
if (this.evidence.length > 0 || this.comment) {
|
|
19279
|
+
if (this.annotationEntry['resourceId'] && this.annotationEntry['featureId']) {
|
|
19280
|
+
var evidenceURLs = [];
|
|
19281
|
+
this.evidence.forEach(function (evidence) {
|
|
19282
|
+
if (evidence.includes("DOI:")) {
|
|
19283
|
+
var link = evidence.replace("DOI:", "https://doi.org/");
|
|
19284
|
+
evidenceURLs.push(new URL(link));
|
|
19285
|
+
} else if (evidence.includes("PMID:")) {
|
|
19286
|
+
var _link = evidence.replace("PMID:", "https://pubmed.ncbi.nlm.nih.gov/");
|
|
19287
|
+
evidenceURLs.push(new URL(_link));
|
|
19288
|
+
}
|
|
19289
|
+
});
|
|
19290
|
+
var userAnnotation = {
|
|
19291
|
+
resource: this.annotationEntry['resourceId'],
|
|
19292
|
+
item: this.annotationEntry['featureId'],
|
|
19293
|
+
evidence: evidenceURLs,
|
|
19294
|
+
comment: this.comment
|
|
19295
|
+
};
|
|
19296
|
+
this.$annotator.addAnnotation(userAnnotation).then(function () {
|
|
19297
|
+
_this2.errorMessage = "";
|
|
19298
|
+
_this2.resetSubmission();
|
|
19299
|
+
_this2.updatePrevSubmissions();
|
|
19300
|
+
}).catch(function () {
|
|
19301
|
+
_this2.errorMessage = "There is a problem with the submission, please try again later";
|
|
19302
|
+
});
|
|
19303
|
+
}
|
|
19304
|
+
}
|
|
19305
|
+
},
|
|
19306
|
+
removeEvidence: function removeEvidence(index) {
|
|
19307
|
+
this.evidence.splice(index, 1);
|
|
19308
|
+
},
|
|
19309
|
+
resetSubmission: function resetSubmission() {
|
|
19310
|
+
this.editing = false;
|
|
19311
|
+
this.evidence = [];
|
|
19312
|
+
this.newFeature = '';
|
|
19313
|
+
this.comment = '';
|
|
19314
|
+
}
|
|
19315
|
+
},
|
|
19316
|
+
watch: {
|
|
19317
|
+
annotationEntry: {
|
|
19318
|
+
handler: function handler() {
|
|
19319
|
+
this.resetSubmission();
|
|
19320
|
+
this.updatePrevSubmissions();
|
|
19321
|
+
},
|
|
19322
|
+
immediate: false,
|
|
19323
|
+
deep: false
|
|
19324
|
+
}
|
|
19325
|
+
},
|
|
19326
|
+
mounted: function mounted() {
|
|
19327
|
+
var _this3 = this;
|
|
19328
|
+
if (!this.$annotator) {
|
|
19329
|
+
external_vue_default.a.prototype.$annotator = new sparc_annotation_["AnnotationService"]("".concat(this.flatmapAPI, "annotator"));
|
|
19330
|
+
}
|
|
19331
|
+
this.$annotator.authenticate().then(function (userData) {
|
|
19332
|
+
if (userData.name && userData.email) {
|
|
19333
|
+
_this3.authenticated = true;
|
|
19334
|
+
} else {
|
|
19335
|
+
_this3.errorMessage = "You cannot view some of the information as you are not logged in or without the correct permission.";
|
|
19336
|
+
}
|
|
19337
|
+
});
|
|
19338
|
+
}
|
|
19339
|
+
});
|
|
19340
|
+
// CONCATENATED MODULE: ./src/components/AnnotationTool.vue?vue&type=script&lang=js&
|
|
19341
|
+
/* harmony default export */ var components_AnnotationToolvue_type_script_lang_js_ = (AnnotationToolvue_type_script_lang_js_);
|
|
19342
|
+
// EXTERNAL MODULE: ./src/components/AnnotationTool.vue?vue&type=style&index=0&id=028138eb&prod&scoped=true&lang=scss&
|
|
19343
|
+
var AnnotationToolvue_type_style_index_0_id_028138eb_prod_scoped_true_lang_scss_ = __webpack_require__("e42b");
|
|
19344
|
+
|
|
19345
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
19346
|
+
/* globals __VUE_SSR_CONTEXT__ */
|
|
19347
|
+
|
|
19348
|
+
// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
|
|
19349
|
+
// This module is a runtime utility for cleaner component module output and will
|
|
19350
|
+
// be included in the final webpack user bundle.
|
|
19351
|
+
|
|
19352
|
+
function normalizeComponent(
|
|
19353
|
+
scriptExports,
|
|
19354
|
+
render,
|
|
19355
|
+
staticRenderFns,
|
|
19356
|
+
functionalTemplate,
|
|
19357
|
+
injectStyles,
|
|
19358
|
+
scopeId,
|
|
19359
|
+
moduleIdentifier /* server only */,
|
|
19360
|
+
shadowMode /* vue-cli only */
|
|
19361
|
+
) {
|
|
19362
|
+
// Vue.extend constructor export interop
|
|
19363
|
+
var options =
|
|
19364
|
+
typeof scriptExports === 'function' ? scriptExports.options : scriptExports
|
|
19365
|
+
|
|
19366
|
+
// render functions
|
|
19367
|
+
if (render) {
|
|
19368
|
+
options.render = render
|
|
19369
|
+
options.staticRenderFns = staticRenderFns
|
|
19370
|
+
options._compiled = true
|
|
19371
|
+
}
|
|
19372
|
+
|
|
19373
|
+
// functional template
|
|
19374
|
+
if (functionalTemplate) {
|
|
19375
|
+
options.functional = true
|
|
19376
|
+
}
|
|
19377
|
+
|
|
19378
|
+
// scopedId
|
|
19379
|
+
if (scopeId) {
|
|
19380
|
+
options._scopeId = 'data-v-' + scopeId
|
|
19381
|
+
}
|
|
19382
|
+
|
|
19383
|
+
var hook
|
|
19384
|
+
if (moduleIdentifier) {
|
|
19385
|
+
// server build
|
|
19386
|
+
hook = function (context) {
|
|
19387
|
+
// 2.3 injection
|
|
19388
|
+
context =
|
|
19389
|
+
context || // cached call
|
|
19390
|
+
(this.$vnode && this.$vnode.ssrContext) || // stateful
|
|
19391
|
+
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
|
|
19392
|
+
// 2.2 with runInNewContext: true
|
|
19393
|
+
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
|
|
19394
|
+
context = __VUE_SSR_CONTEXT__
|
|
19395
|
+
}
|
|
19396
|
+
// inject component styles
|
|
19397
|
+
if (injectStyles) {
|
|
19398
|
+
injectStyles.call(this, context)
|
|
19399
|
+
}
|
|
19400
|
+
// register component module identifier for async chunk inferrence
|
|
19401
|
+
if (context && context._registeredComponents) {
|
|
19402
|
+
context._registeredComponents.add(moduleIdentifier)
|
|
19403
|
+
}
|
|
19404
|
+
}
|
|
19405
|
+
// used by ssr in case component is cached and beforeCreate
|
|
19406
|
+
// never gets called
|
|
19407
|
+
options._ssrRegister = hook
|
|
19408
|
+
} else if (injectStyles) {
|
|
19409
|
+
hook = shadowMode
|
|
19410
|
+
? function () {
|
|
19411
|
+
injectStyles.call(
|
|
19412
|
+
this,
|
|
19413
|
+
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
19414
|
+
)
|
|
19415
|
+
}
|
|
19416
|
+
: injectStyles
|
|
19417
|
+
}
|
|
19418
|
+
|
|
19419
|
+
if (hook) {
|
|
19420
|
+
if (options.functional) {
|
|
19421
|
+
// for template-only hot-reload because in that case the render fn doesn't
|
|
19422
|
+
// go through the normalizer
|
|
19423
|
+
options._injectStyles = hook
|
|
19424
|
+
// register for functional component in vue file
|
|
19425
|
+
var originalRender = options.render
|
|
19426
|
+
options.render = function renderWithStyleInjection(h, context) {
|
|
19427
|
+
hook.call(context)
|
|
19428
|
+
return originalRender(h, context)
|
|
19429
|
+
}
|
|
19430
|
+
} else {
|
|
19431
|
+
// inject component registration as beforeCreate hook
|
|
19432
|
+
var existing = options.beforeCreate
|
|
19433
|
+
options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
|
|
19434
|
+
}
|
|
19435
|
+
}
|
|
19436
|
+
|
|
19437
|
+
return {
|
|
19438
|
+
exports: scriptExports,
|
|
19439
|
+
options: options
|
|
19440
|
+
}
|
|
19441
|
+
}
|
|
19442
|
+
|
|
19443
|
+
// CONCATENATED MODULE: ./src/components/AnnotationTool.vue
|
|
19444
|
+
|
|
19445
|
+
|
|
19446
|
+
|
|
19447
|
+
|
|
19448
|
+
|
|
19449
|
+
|
|
19450
|
+
/* normalize component */
|
|
19451
|
+
|
|
19452
|
+
var component = normalizeComponent(
|
|
19453
|
+
components_AnnotationToolvue_type_script_lang_js_,
|
|
19454
|
+
AnnotationToolvue_type_template_id_028138eb_scoped_true_render,
|
|
19455
|
+
AnnotationToolvue_type_template_id_028138eb_scoped_true_staticRenderFns,
|
|
19456
|
+
false,
|
|
19457
|
+
null,
|
|
19458
|
+
"028138eb",
|
|
19459
|
+
null
|
|
19460
|
+
|
|
19461
|
+
)
|
|
19462
|
+
|
|
19463
|
+
/* harmony default export */ var AnnotationTool = (component.exports);
|
|
19464
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"fcc0542a-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/ProvenancePopup.vue?vue&type=template&id=7f410a00&scoped=true&
|
|
19465
|
+
var ProvenancePopupvue_type_template_id_7f410a00_scoped_true_render = function render() {
|
|
18992
19466
|
var _vm = this,
|
|
18993
19467
|
_c = _vm._self._c;
|
|
18994
|
-
return _c('
|
|
18995
|
-
staticClass: "tooltip-container"
|
|
18996
|
-
}, [_vm.entry ? _c('el-main', {
|
|
19468
|
+
return _vm.entry ? _c('el-main', {
|
|
18997
19469
|
directives: [{
|
|
18998
19470
|
name: "loading",
|
|
18999
19471
|
rawName: "v-loading",
|
|
@@ -19161,18 +19633,11 @@ var Tooltipvue_type_template_id_2bc00d52_scoped_true_render = function render()
|
|
|
19161
19633
|
attrs: {
|
|
19162
19634
|
"resources": _vm.resources
|
|
19163
19635
|
}
|
|
19164
|
-
})], 1)])], 1) : _vm._e()
|
|
19636
|
+
})], 1)])], 1) : _vm._e();
|
|
19165
19637
|
};
|
|
19166
|
-
var
|
|
19167
|
-
|
|
19168
|
-
// CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=template&id=2bc00d52&scoped=true&
|
|
19169
|
-
|
|
19170
|
-
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/main.css
|
|
19171
|
-
var main = __webpack_require__("de31");
|
|
19638
|
+
var ProvenancePopupvue_type_template_id_7f410a00_scoped_true_staticRenderFns = [];
|
|
19172
19639
|
|
|
19173
|
-
//
|
|
19174
|
-
var lib_main = __webpack_require__("c69e");
|
|
19175
|
-
var lib_main_default = /*#__PURE__*/__webpack_require__.n(lib_main);
|
|
19640
|
+
// CONCATENATED MODULE: ./src/components/ProvenancePopup.vue?vue&type=template&id=7f410a00&scoped=true&
|
|
19176
19641
|
|
|
19177
19642
|
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/icon.css
|
|
19178
19643
|
var icon = __webpack_require__("aaa5");
|
|
@@ -19181,13 +19646,6 @@ var icon = __webpack_require__("aaa5");
|
|
|
19181
19646
|
var lib_icon = __webpack_require__("a578");
|
|
19182
19647
|
var lib_icon_default = /*#__PURE__*/__webpack_require__.n(lib_icon);
|
|
19183
19648
|
|
|
19184
|
-
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/header.css
|
|
19185
|
-
var header = __webpack_require__("a673");
|
|
19186
|
-
|
|
19187
|
-
// EXTERNAL MODULE: ./node_modules/element-ui/lib/header.js
|
|
19188
|
-
var lib_header = __webpack_require__("7b31");
|
|
19189
|
-
var lib_header_default = /*#__PURE__*/__webpack_require__.n(lib_header);
|
|
19190
|
-
|
|
19191
19649
|
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/container.css
|
|
19192
19650
|
var container = __webpack_require__("adec");
|
|
19193
19651
|
|
|
@@ -19195,28 +19653,11 @@ var container = __webpack_require__("adec");
|
|
|
19195
19653
|
var lib_container = __webpack_require__("3d2d");
|
|
19196
19654
|
var lib_container_default = /*#__PURE__*/__webpack_require__.n(lib_container);
|
|
19197
19655
|
|
|
19198
|
-
// EXTERNAL MODULE: external "core-js/modules/es.string.replace.js"
|
|
19199
|
-
var es_string_replace_js_ = __webpack_require__("6378");
|
|
19200
|
-
|
|
19201
|
-
// EXTERNAL MODULE: external "core-js/modules/es.array.includes.js"
|
|
19202
|
-
var es_array_includes_js_ = __webpack_require__("85f7");
|
|
19203
|
-
|
|
19204
|
-
// EXTERNAL MODULE: external "core-js/modules/es.string.includes.js"
|
|
19205
|
-
var es_string_includes_js_ = __webpack_require__("fd22");
|
|
19206
|
-
|
|
19207
|
-
// EXTERNAL MODULE: ./node_modules/element-ui/lib/locale/lang/en.js
|
|
19208
|
-
var en = __webpack_require__("b2d6");
|
|
19209
|
-
var en_default = /*#__PURE__*/__webpack_require__.n(en);
|
|
19210
|
-
|
|
19211
|
-
// EXTERNAL MODULE: ./node_modules/element-ui/lib/locale/index.js
|
|
19212
|
-
var locale = __webpack_require__("4897");
|
|
19213
|
-
var locale_default = /*#__PURE__*/__webpack_require__.n(locale);
|
|
19214
|
-
|
|
19215
19656
|
// CONCATENATED MODULE: ./src/components/EventBus.js
|
|
19216
19657
|
|
|
19217
19658
|
var EventBus = new external_vue_default.a();
|
|
19218
19659
|
/* harmony default export */ var components_EventBus = (EventBus);
|
|
19219
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
19660
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"fcc0542a-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/ExternalResourceCard.vue?vue&type=template&id=14172b61&scoped=true&
|
|
19220
19661
|
var ExternalResourceCardvue_type_template_id_14172b61_scoped_true_render = function render() {
|
|
19221
19662
|
var _vm = this,
|
|
19222
19663
|
_c = _vm._self._c;
|
|
@@ -19281,104 +19722,6 @@ external_vue_default.a.use(lib_button_default.a);
|
|
|
19281
19722
|
// EXTERNAL MODULE: ./src/components/ExternalResourceCard.vue?vue&type=style&index=0&id=14172b61&prod&scoped=true&lang=scss&
|
|
19282
19723
|
var ExternalResourceCardvue_type_style_index_0_id_14172b61_prod_scoped_true_lang_scss_ = __webpack_require__("4034");
|
|
19283
19724
|
|
|
19284
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
19285
|
-
/* globals __VUE_SSR_CONTEXT__ */
|
|
19286
|
-
|
|
19287
|
-
// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
|
|
19288
|
-
// This module is a runtime utility for cleaner component module output and will
|
|
19289
|
-
// be included in the final webpack user bundle.
|
|
19290
|
-
|
|
19291
|
-
function normalizeComponent(
|
|
19292
|
-
scriptExports,
|
|
19293
|
-
render,
|
|
19294
|
-
staticRenderFns,
|
|
19295
|
-
functionalTemplate,
|
|
19296
|
-
injectStyles,
|
|
19297
|
-
scopeId,
|
|
19298
|
-
moduleIdentifier /* server only */,
|
|
19299
|
-
shadowMode /* vue-cli only */
|
|
19300
|
-
) {
|
|
19301
|
-
// Vue.extend constructor export interop
|
|
19302
|
-
var options =
|
|
19303
|
-
typeof scriptExports === 'function' ? scriptExports.options : scriptExports
|
|
19304
|
-
|
|
19305
|
-
// render functions
|
|
19306
|
-
if (render) {
|
|
19307
|
-
options.render = render
|
|
19308
|
-
options.staticRenderFns = staticRenderFns
|
|
19309
|
-
options._compiled = true
|
|
19310
|
-
}
|
|
19311
|
-
|
|
19312
|
-
// functional template
|
|
19313
|
-
if (functionalTemplate) {
|
|
19314
|
-
options.functional = true
|
|
19315
|
-
}
|
|
19316
|
-
|
|
19317
|
-
// scopedId
|
|
19318
|
-
if (scopeId) {
|
|
19319
|
-
options._scopeId = 'data-v-' + scopeId
|
|
19320
|
-
}
|
|
19321
|
-
|
|
19322
|
-
var hook
|
|
19323
|
-
if (moduleIdentifier) {
|
|
19324
|
-
// server build
|
|
19325
|
-
hook = function (context) {
|
|
19326
|
-
// 2.3 injection
|
|
19327
|
-
context =
|
|
19328
|
-
context || // cached call
|
|
19329
|
-
(this.$vnode && this.$vnode.ssrContext) || // stateful
|
|
19330
|
-
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
|
|
19331
|
-
// 2.2 with runInNewContext: true
|
|
19332
|
-
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
|
|
19333
|
-
context = __VUE_SSR_CONTEXT__
|
|
19334
|
-
}
|
|
19335
|
-
// inject component styles
|
|
19336
|
-
if (injectStyles) {
|
|
19337
|
-
injectStyles.call(this, context)
|
|
19338
|
-
}
|
|
19339
|
-
// register component module identifier for async chunk inferrence
|
|
19340
|
-
if (context && context._registeredComponents) {
|
|
19341
|
-
context._registeredComponents.add(moduleIdentifier)
|
|
19342
|
-
}
|
|
19343
|
-
}
|
|
19344
|
-
// used by ssr in case component is cached and beforeCreate
|
|
19345
|
-
// never gets called
|
|
19346
|
-
options._ssrRegister = hook
|
|
19347
|
-
} else if (injectStyles) {
|
|
19348
|
-
hook = shadowMode
|
|
19349
|
-
? function () {
|
|
19350
|
-
injectStyles.call(
|
|
19351
|
-
this,
|
|
19352
|
-
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
19353
|
-
)
|
|
19354
|
-
}
|
|
19355
|
-
: injectStyles
|
|
19356
|
-
}
|
|
19357
|
-
|
|
19358
|
-
if (hook) {
|
|
19359
|
-
if (options.functional) {
|
|
19360
|
-
// for template-only hot-reload because in that case the render fn doesn't
|
|
19361
|
-
// go through the normalizer
|
|
19362
|
-
options._injectStyles = hook
|
|
19363
|
-
// register for functional component in vue file
|
|
19364
|
-
var originalRender = options.render
|
|
19365
|
-
options.render = function renderWithStyleInjection(h, context) {
|
|
19366
|
-
hook.call(context)
|
|
19367
|
-
return originalRender(h, context)
|
|
19368
|
-
}
|
|
19369
|
-
} else {
|
|
19370
|
-
// inject component registration as beforeCreate hook
|
|
19371
|
-
var existing = options.beforeCreate
|
|
19372
|
-
options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
|
|
19373
|
-
}
|
|
19374
|
-
}
|
|
19375
|
-
|
|
19376
|
-
return {
|
|
19377
|
-
exports: scriptExports,
|
|
19378
|
-
options: options
|
|
19379
|
-
}
|
|
19380
|
-
}
|
|
19381
|
-
|
|
19382
19725
|
// CONCATENATED MODULE: ./src/components/ExternalResourceCard.vue
|
|
19383
19726
|
|
|
19384
19727
|
|
|
@@ -19388,7 +19731,7 @@ function normalizeComponent(
|
|
|
19388
19731
|
|
|
19389
19732
|
/* normalize component */
|
|
19390
19733
|
|
|
19391
|
-
var
|
|
19734
|
+
var ExternalResourceCard_component = normalizeComponent(
|
|
19392
19735
|
components_ExternalResourceCardvue_type_script_lang_js_,
|
|
19393
19736
|
ExternalResourceCardvue_type_template_id_14172b61_scoped_true_render,
|
|
19394
19737
|
ExternalResourceCardvue_type_template_id_14172b61_scoped_true_staticRenderFns,
|
|
@@ -19399,11 +19742,8 @@ var component = normalizeComponent(
|
|
|
19399
19742
|
|
|
19400
19743
|
)
|
|
19401
19744
|
|
|
19402
|
-
/* harmony default export */ var ExternalResourceCard = (
|
|
19403
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/
|
|
19404
|
-
|
|
19405
|
-
|
|
19406
|
-
|
|
19745
|
+
/* harmony default export */ var ExternalResourceCard = (ExternalResourceCard_component.exports);
|
|
19746
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/ProvenancePopup.vue?vue&type=script&lang=js&
|
|
19407
19747
|
|
|
19408
19748
|
|
|
19409
19749
|
|
|
@@ -19432,7 +19772,6 @@ var component = normalizeComponent(
|
|
|
19432
19772
|
locale_default.a.use(en_default.a);
|
|
19433
19773
|
external_vue_default.a.use(lib_button_default.a);
|
|
19434
19774
|
external_vue_default.a.use(lib_container_default.a);
|
|
19435
|
-
external_vue_default.a.use(lib_header_default.a);
|
|
19436
19775
|
external_vue_default.a.use(lib_icon_default.a);
|
|
19437
19776
|
external_vue_default.a.use(lib_main_default.a);
|
|
19438
19777
|
|
|
@@ -19446,16 +19785,12 @@ var _capitalise = function capitalise(str) {
|
|
|
19446
19785
|
if (str) return str.charAt(0).toUpperCase() + str.slice(1);
|
|
19447
19786
|
return "";
|
|
19448
19787
|
};
|
|
19449
|
-
/* harmony default export */ var
|
|
19788
|
+
/* harmony default export */ var ProvenancePopupvue_type_script_lang_js_ = ({
|
|
19450
19789
|
components: {
|
|
19451
19790
|
ExternalResourceCard: ExternalResourceCard
|
|
19452
19791
|
},
|
|
19453
|
-
name: "
|
|
19792
|
+
name: "ProvenancePopup",
|
|
19454
19793
|
props: {
|
|
19455
|
-
visible: {
|
|
19456
|
-
type: Boolean,
|
|
19457
|
-
default: false
|
|
19458
|
-
},
|
|
19459
19794
|
entry: {
|
|
19460
19795
|
type: Object,
|
|
19461
19796
|
default: function _default() {
|
|
@@ -19562,10 +19897,59 @@ var _capitalise = function capitalise(str) {
|
|
|
19562
19897
|
}
|
|
19563
19898
|
}
|
|
19564
19899
|
});
|
|
19900
|
+
// CONCATENATED MODULE: ./src/components/ProvenancePopup.vue?vue&type=script&lang=js&
|
|
19901
|
+
/* harmony default export */ var components_ProvenancePopupvue_type_script_lang_js_ = (ProvenancePopupvue_type_script_lang_js_);
|
|
19902
|
+
// EXTERNAL MODULE: ./src/components/ProvenancePopup.vue?vue&type=style&index=0&id=7f410a00&prod&scoped=true&lang=scss&
|
|
19903
|
+
var ProvenancePopupvue_type_style_index_0_id_7f410a00_prod_scoped_true_lang_scss_ = __webpack_require__("0ecd");
|
|
19904
|
+
|
|
19905
|
+
// CONCATENATED MODULE: ./src/components/ProvenancePopup.vue
|
|
19906
|
+
|
|
19907
|
+
|
|
19908
|
+
|
|
19909
|
+
|
|
19910
|
+
|
|
19911
|
+
|
|
19912
|
+
/* normalize component */
|
|
19913
|
+
|
|
19914
|
+
var ProvenancePopup_component = normalizeComponent(
|
|
19915
|
+
components_ProvenancePopupvue_type_script_lang_js_,
|
|
19916
|
+
ProvenancePopupvue_type_template_id_7f410a00_scoped_true_render,
|
|
19917
|
+
ProvenancePopupvue_type_template_id_7f410a00_scoped_true_staticRenderFns,
|
|
19918
|
+
false,
|
|
19919
|
+
null,
|
|
19920
|
+
"7f410a00",
|
|
19921
|
+
null
|
|
19922
|
+
|
|
19923
|
+
)
|
|
19924
|
+
|
|
19925
|
+
/* harmony default export */ var ProvenancePopup = (ProvenancePopup_component.exports);
|
|
19926
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Tooltip.vue?vue&type=script&lang=js&
|
|
19927
|
+
/* eslint-disable no-alert, no-console */
|
|
19928
|
+
|
|
19929
|
+
|
|
19930
|
+
/* harmony default export */ var Tooltipvue_type_script_lang_js_ = ({
|
|
19931
|
+
name: "Tooltip",
|
|
19932
|
+
components: {
|
|
19933
|
+
AnnotationTool: AnnotationTool,
|
|
19934
|
+
ProvenancePopup: ProvenancePopup
|
|
19935
|
+
},
|
|
19936
|
+
props: {
|
|
19937
|
+
entry: {
|
|
19938
|
+
type: Object
|
|
19939
|
+
},
|
|
19940
|
+
annotationDisplay: {
|
|
19941
|
+
type: Boolean,
|
|
19942
|
+
default: false
|
|
19943
|
+
},
|
|
19944
|
+
annotationEntry: {
|
|
19945
|
+
type: Object
|
|
19946
|
+
}
|
|
19947
|
+
}
|
|
19948
|
+
});
|
|
19565
19949
|
// CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=script&lang=js&
|
|
19566
19950
|
/* harmony default export */ var components_Tooltipvue_type_script_lang_js_ = (Tooltipvue_type_script_lang_js_);
|
|
19567
|
-
// EXTERNAL MODULE: ./src/components/Tooltip.vue?vue&type=style&index=0&id=
|
|
19568
|
-
var
|
|
19951
|
+
// EXTERNAL MODULE: ./src/components/Tooltip.vue?vue&type=style&index=0&id=60f01bdc&prod&scoped=true&lang=scss&
|
|
19952
|
+
var Tooltipvue_type_style_index_0_id_60f01bdc_prod_scoped_true_lang_scss_ = __webpack_require__("bfd2");
|
|
19569
19953
|
|
|
19570
19954
|
// CONCATENATED MODULE: ./src/components/Tooltip.vue
|
|
19571
19955
|
|
|
@@ -19578,17 +19962,17 @@ var Tooltipvue_type_style_index_0_id_2bc00d52_prod_scoped_true_lang_scss_ = __we
|
|
|
19578
19962
|
|
|
19579
19963
|
var Tooltip_component = normalizeComponent(
|
|
19580
19964
|
components_Tooltipvue_type_script_lang_js_,
|
|
19581
|
-
|
|
19582
|
-
|
|
19965
|
+
Tooltipvue_type_template_id_60f01bdc_scoped_true_render,
|
|
19966
|
+
Tooltipvue_type_template_id_60f01bdc_scoped_true_staticRenderFns,
|
|
19583
19967
|
false,
|
|
19584
19968
|
null,
|
|
19585
|
-
"
|
|
19969
|
+
"60f01bdc",
|
|
19586
19970
|
null
|
|
19587
19971
|
|
|
19588
19972
|
)
|
|
19589
19973
|
|
|
19590
19974
|
/* harmony default export */ var Tooltip = (Tooltip_component.exports);
|
|
19591
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
19975
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"fcc0542a-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/SelectionsGroup.vue?vue&type=template&id=b125dcae&scoped=true&
|
|
19592
19976
|
var SelectionsGroupvue_type_template_id_b125dcae_scoped_true_render = function render() {
|
|
19593
19977
|
var _vm = this,
|
|
19594
19978
|
_c = _vm._self._c;
|
|
@@ -19721,9 +20105,9 @@ external_vue_default.a.use(lib_row_default.a);
|
|
|
19721
20105
|
/* harmony default export */ var SelectionsGroupvue_type_script_lang_js_ = ({
|
|
19722
20106
|
name: "SelectionsGroup",
|
|
19723
20107
|
methods: {
|
|
19724
|
-
/**
|
|
19725
|
-
* Function to toggle paths to default.
|
|
19726
|
-
* Also called when the associated button is pressed.
|
|
20108
|
+
/**
|
|
20109
|
+
* Function to toggle paths to default.
|
|
20110
|
+
* Also called when the associated button is pressed.
|
|
19727
20111
|
*/
|
|
19728
20112
|
reset: function reset() {
|
|
19729
20113
|
var _this = this;
|
|
@@ -19854,7 +20238,7 @@ var SelectionsGroup_component = normalizeComponent(
|
|
|
19854
20238
|
)
|
|
19855
20239
|
|
|
19856
20240
|
/* harmony default export */ var SelectionsGroup = (SelectionsGroup_component.exports);
|
|
19857
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
20241
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"fcc0542a-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/TreeControls.vue?vue&type=template&id=4c70eb11&scoped=true&
|
|
19858
20242
|
var TreeControlsvue_type_template_id_4c70eb11_scoped_true_render = function render() {
|
|
19859
20243
|
var _vm = this,
|
|
19860
20244
|
_c = _vm._self._c;
|
|
@@ -19954,8 +20338,8 @@ external_vue_default.a.use(lib_color_picker_default.a);
|
|
|
19954
20338
|
external_vue_default.a.use(lib_row_default.a);
|
|
19955
20339
|
external_vue_default.a.use(lib_tree_default.a);
|
|
19956
20340
|
|
|
19957
|
-
/**
|
|
19958
|
-
* A vue component for toggling visibility of various regions.
|
|
20341
|
+
/**
|
|
20342
|
+
* A vue component for toggling visibility of various regions.
|
|
19959
20343
|
*/
|
|
19960
20344
|
/* harmony default export */ var TreeControlsvue_type_script_lang_js_ = ({
|
|
19961
20345
|
name: "TreeControls",
|
|
@@ -20050,7 +20434,7 @@ var TreeControls_component = normalizeComponent(
|
|
|
20050
20434
|
// EXTERNAL MODULE: external "@abi-software/svg-sprite"
|
|
20051
20435
|
var svg_sprite_ = __webpack_require__("429c");
|
|
20052
20436
|
|
|
20053
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
20437
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"fcc0542a-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/legends/SvgLegends.vue?vue&type=template&id=863a3716&scoped=true&
|
|
20054
20438
|
var SvgLegendsvue_type_template_id_863a3716_scoped_true_render = function render() {
|
|
20055
20439
|
var _vm = this,
|
|
20056
20440
|
_c = _vm._self._c;
|
|
@@ -20175,9 +20559,6 @@ var es_array_flat_js_ = __webpack_require__("da6e");
|
|
|
20175
20559
|
// EXTERNAL MODULE: external "core-js/modules/es.array.unscopables.flat.js"
|
|
20176
20560
|
var es_array_unscopables_flat_js_ = __webpack_require__("722b");
|
|
20177
20561
|
|
|
20178
|
-
// EXTERNAL MODULE: external "core-js/modules/web.url-search-params.js"
|
|
20179
|
-
var web_url_search_params_js_ = __webpack_require__("712c");
|
|
20180
|
-
|
|
20181
20562
|
// EXTERNAL MODULE: external "core-js/modules/es.regexp.to-string.js"
|
|
20182
20563
|
var es_regexp_to_string_js_ = __webpack_require__("30df");
|
|
20183
20564
|
|
|
@@ -20728,6 +21109,10 @@ var flatmapQueries_FlatmapQueries = function FlatmapQueries() {
|
|
|
20728
21109
|
|
|
20729
21110
|
|
|
20730
21111
|
|
|
21112
|
+
|
|
21113
|
+
|
|
21114
|
+
|
|
21115
|
+
|
|
20731
21116
|
|
|
20732
21117
|
|
|
20733
21118
|
|
|
@@ -20751,6 +21136,7 @@ external_vue_default.a.use(lib_loading_default.a.directive);
|
|
|
20751
21136
|
external_vue_default.a.use(lib_radio_default.a);
|
|
20752
21137
|
external_vue_default.a.use(lib_radio_group_default.a);
|
|
20753
21138
|
external_vue_default.a.use(lib_row_default.a);
|
|
21139
|
+
external_vue_default.a.use(lib_select_default.a);
|
|
20754
21140
|
var ResizeSensor = __webpack_require__("ae66");
|
|
20755
21141
|
var FlatmapVuervue_type_script_lang_js_processTaxon = function processTaxon(flatmapAPI, taxonIdentifiers) {
|
|
20756
21142
|
var processed = [];
|
|
@@ -20864,8 +21250,8 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
20864
21250
|
toggleDrawer: function toggleDrawer() {
|
|
20865
21251
|
this.drawerOpen = !this.drawerOpen;
|
|
20866
21252
|
},
|
|
20867
|
-
/**
|
|
20868
|
-
* Function to toggle colour/greyscale of organs.
|
|
21253
|
+
/**
|
|
21254
|
+
* Function to toggle colour/greyscale of organs.
|
|
20869
21255
|
*/
|
|
20870
21256
|
setColour: function setColour(flag) {
|
|
20871
21257
|
this.colourRadio = flag;
|
|
@@ -20876,11 +21262,8 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
20876
21262
|
});
|
|
20877
21263
|
}
|
|
20878
21264
|
},
|
|
20879
|
-
|
|
20880
|
-
|
|
20881
|
-
},
|
|
20882
|
-
/**
|
|
20883
|
-
* Function to toggle outlines f organs.
|
|
21265
|
+
/**
|
|
21266
|
+
* Function to toggle outlines f organs.
|
|
20884
21267
|
*/
|
|
20885
21268
|
setOutlines: function setOutlines(flag) {
|
|
20886
21269
|
this.outlineRadio = flag;
|
|
@@ -20891,9 +21274,9 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
20891
21274
|
});
|
|
20892
21275
|
}
|
|
20893
21276
|
},
|
|
20894
|
-
/**
|
|
20895
|
-
* Function to toggle paths to default.
|
|
20896
|
-
* Also called when the associated button is pressed.
|
|
21277
|
+
/**
|
|
21278
|
+
* Function to toggle paths to default.
|
|
21279
|
+
* Also called when the associated button is pressed.
|
|
20897
21280
|
*/
|
|
20898
21281
|
resetView: function resetView() {
|
|
20899
21282
|
if (this.mapImp) {
|
|
@@ -20915,18 +21298,18 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
20915
21298
|
}
|
|
20916
21299
|
}
|
|
20917
21300
|
},
|
|
20918
|
-
/**
|
|
20919
|
-
* Function to zoom in.
|
|
20920
|
-
* Also called when the associated button is pressed.
|
|
21301
|
+
/**
|
|
21302
|
+
* Function to zoom in.
|
|
21303
|
+
* Also called when the associated button is pressed.
|
|
20921
21304
|
*/
|
|
20922
21305
|
zoomIn: function zoomIn() {
|
|
20923
21306
|
if (this.mapImp) {
|
|
20924
21307
|
this.mapImp.zoomIn();
|
|
20925
21308
|
}
|
|
20926
21309
|
},
|
|
20927
|
-
/**
|
|
20928
|
-
* Function to zoom out.
|
|
20929
|
-
* Also called when the associated button is pressed.
|
|
21310
|
+
/**
|
|
21311
|
+
* Function to zoom out.
|
|
21312
|
+
* Also called when the associated button is pressed.
|
|
20930
21313
|
*/
|
|
20931
21314
|
zoomOut: function zoomOut() {
|
|
20932
21315
|
if (this.mapImp) {
|
|
@@ -21053,17 +21436,15 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
21053
21436
|
provenanceTaxonomy: data.taxons ? JSON.parse(data.taxons) : undefined
|
|
21054
21437
|
};
|
|
21055
21438
|
if (eventType === "click") {
|
|
21056
|
-
if (_this7.
|
|
21439
|
+
if (_this7.viewingMode === "Network Discovery") {
|
|
21057
21440
|
_this7.highlightConnectedPaths([data.models]);
|
|
21058
21441
|
} else {
|
|
21059
|
-
console.log('active changed');
|
|
21060
21442
|
_this7.currentActive = data.models ? data.models : "";
|
|
21061
21443
|
}
|
|
21062
|
-
} else if (eventType === "mouseenter" && !_this7.
|
|
21063
|
-
console.log('active changed');
|
|
21444
|
+
} else if (eventType === "mouseenter" && !(_this7.viewingMode === "Network Discovery")) {
|
|
21064
21445
|
_this7.currentHover = data.models ? data.models : "";
|
|
21065
21446
|
}
|
|
21066
|
-
if (data && data.type !== "marker" && eventType === "click" && !_this7.
|
|
21447
|
+
if (data && data.type !== "marker" && eventType === "click" && !(_this7.viewingMode === "Network Discovery")) {
|
|
21067
21448
|
_this7.checkAndCreatePopups(payload);
|
|
21068
21449
|
}
|
|
21069
21450
|
_this7.$emit("resource-selected", payload);
|
|
@@ -21080,18 +21461,33 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
21080
21461
|
while (1) {
|
|
21081
21462
|
switch (_context.prev = _context.next) {
|
|
21082
21463
|
case 0:
|
|
21083
|
-
|
|
21464
|
+
if (!(this.viewingMode === "Annotation")) {
|
|
21465
|
+
_context.next = 4;
|
|
21466
|
+
break;
|
|
21467
|
+
}
|
|
21468
|
+
if (data.feature && data.feature.featureId && data.feature.models) {
|
|
21469
|
+
this.annotationEntry = _objectSpread2(_objectSpread2({}, data.feature), {}, {
|
|
21470
|
+
resourceId: this.serverUUID
|
|
21471
|
+
});
|
|
21472
|
+
this.displayTooltip(data.feature.models);
|
|
21473
|
+
} else {
|
|
21474
|
+
this.annotation = {};
|
|
21475
|
+
}
|
|
21476
|
+
_context.next = 8;
|
|
21477
|
+
break;
|
|
21478
|
+
case 4:
|
|
21479
|
+
_context.next = 6;
|
|
21084
21480
|
return this.flatmapQueries.retrieveFlatmapKnowledgeForEvent(data);
|
|
21085
|
-
case
|
|
21481
|
+
case 6:
|
|
21086
21482
|
results = _context.sent;
|
|
21087
|
-
// The line below only creates the tooltip if some data was found on the path
|
|
21483
|
+
// The line below only creates the tooltip if some data was found on the path
|
|
21088
21484
|
// result 0 is the connection, result 1 is the pubmed results from flatmap
|
|
21089
21485
|
if (results[0] || results[1] || data.feature.hyperlinks && data.feature.hyperlinks.length > 0) {
|
|
21090
21486
|
this.resourceForTooltip = data.resource[0];
|
|
21091
21487
|
data.resourceForTooltip = this.resourceForTooltip;
|
|
21092
21488
|
this.createTooltipFromNeuronCuration(data);
|
|
21093
21489
|
}
|
|
21094
|
-
case
|
|
21490
|
+
case 8:
|
|
21095
21491
|
case "end":
|
|
21096
21492
|
return _context.stop();
|
|
21097
21493
|
}
|
|
@@ -21115,7 +21511,7 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
21115
21511
|
},
|
|
21116
21512
|
closeTooltip: function closeTooltip() {
|
|
21117
21513
|
this.$refs.tooltip.$el.style.display = "none";
|
|
21118
|
-
document.querySelectorAll(
|
|
21514
|
+
document.querySelectorAll(".maplibregl-popup").forEach(function (item) {
|
|
21119
21515
|
item.style.display = "none";
|
|
21120
21516
|
});
|
|
21121
21517
|
},
|
|
@@ -21129,7 +21525,7 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
21129
21525
|
return this.flatmapQueries.createTooltipData(data);
|
|
21130
21526
|
case 2:
|
|
21131
21527
|
this.tooltipEntry = _context2.sent;
|
|
21132
|
-
this.displayTooltip();
|
|
21528
|
+
this.displayTooltip(data.resource[0]);
|
|
21133
21529
|
case 4:
|
|
21134
21530
|
case "end":
|
|
21135
21531
|
return _context2.stop();
|
|
@@ -21163,19 +21559,19 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
21163
21559
|
}
|
|
21164
21560
|
},
|
|
21165
21561
|
closeMinimap: function closeMinimap() {
|
|
21166
|
-
var minimapEl = this.$refs.flatmapContainer.querySelector(
|
|
21562
|
+
var minimapEl = this.$refs.flatmapContainer.querySelector(".maplibregl-ctrl-minimap"); // find minimap
|
|
21167
21563
|
if (this.minimapSmall) {
|
|
21168
21564
|
//switch the classes on the minimap
|
|
21169
|
-
minimapEl.classList.add(
|
|
21170
|
-
minimapEl.classList.remove(
|
|
21565
|
+
minimapEl.classList.add("enlarge");
|
|
21566
|
+
minimapEl.classList.remove("shrink");
|
|
21171
21567
|
} else {
|
|
21172
|
-
minimapEl.classList.add(
|
|
21173
|
-
minimapEl.classList.remove(
|
|
21568
|
+
minimapEl.classList.add("shrink");
|
|
21569
|
+
minimapEl.classList.remove("enlarge");
|
|
21174
21570
|
}
|
|
21175
21571
|
this.minimapSmall = !this.minimapSmall;
|
|
21176
21572
|
},
|
|
21177
21573
|
addResizeButtonToMinimap: function addResizeButtonToMinimap() {
|
|
21178
|
-
var minimapEl = this.$refs.flatmapContainer.querySelector(
|
|
21574
|
+
var minimapEl = this.$refs.flatmapContainer.querySelector(".maplibregl-ctrl-minimap");
|
|
21179
21575
|
if (minimapEl) {
|
|
21180
21576
|
this.$refs.minimapResize.parentNode.removeChild(this.$refs.minimapResize);
|
|
21181
21577
|
minimapEl.appendChild(this.$refs.minimapResize);
|
|
@@ -21215,8 +21611,8 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
21215
21611
|
}, 500);
|
|
21216
21612
|
}
|
|
21217
21613
|
},
|
|
21218
|
-
displayTooltip: function displayTooltip() {
|
|
21219
|
-
this.mapImp.showPopup(this.mapImp.modelFeatureIds(
|
|
21614
|
+
displayTooltip: function displayTooltip(feature) {
|
|
21615
|
+
this.mapImp.showPopup(this.mapImp.modelFeatureIds(feature)[0], this.$refs.tooltip.$el, {
|
|
21220
21616
|
className: "flatmapvuer-popover",
|
|
21221
21617
|
positionAtLastClick: true
|
|
21222
21618
|
});
|
|
@@ -21263,8 +21659,8 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
21263
21659
|
viewport: this.mapImp.getState()
|
|
21264
21660
|
};
|
|
21265
21661
|
var identifier = this.mapImp.getIdentifier();
|
|
21266
|
-
if (this.biologicalSex) state[
|
|
21267
|
-
if (identifier && identifier.uuid) state[
|
|
21662
|
+
if (this.biologicalSex) state["biologicalSex"] = this.biologicalSex;else if (identifier && identifier.biologicalSex) state["biologicalSex"] = identifier.biologicalSex;
|
|
21663
|
+
if (identifier && identifier.uuid) state["uuid"] = identifier.uuid;
|
|
21268
21664
|
return state;
|
|
21269
21665
|
}
|
|
21270
21666
|
return undefined;
|
|
@@ -21298,7 +21694,7 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
21298
21694
|
};
|
|
21299
21695
|
}
|
|
21300
21696
|
|
|
21301
|
-
//As for flatmap-viewer@2.2.7, see below for the documentation
|
|
21697
|
+
//As for flatmap-viewer@2.2.7, see below for the documentation
|
|
21302
21698
|
//for the identifier:
|
|
21303
21699
|
|
|
21304
21700
|
//@arg identifier {string|Object}
|
|
@@ -21307,7 +21703,7 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
21307
21703
|
// or taxon and biological sex identifiers of the species that the map
|
|
21308
21704
|
// represents. The latest version of a map is loaded unless it has been
|
|
21309
21705
|
// identified using a ``uuid`` (see below).
|
|
21310
|
-
// @arg identifier.taxon {string} The taxon identifier of the species
|
|
21706
|
+
// @arg identifier.taxon {string} The taxon identifier of the species
|
|
21311
21707
|
// represented by the map. This is specified as metadata in the map's source file.
|
|
21312
21708
|
// @arg identifier.biologicalSex {string} The biological sex of the species
|
|
21313
21709
|
// represented by the map. This is specified as metadatain the map's source file.
|
|
@@ -21356,6 +21752,7 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
21356
21752
|
});
|
|
21357
21753
|
promise1.then(function (returnedObject) {
|
|
21358
21754
|
_this10.mapImp = returnedObject;
|
|
21755
|
+
_this10.serverUUID = _this10.mapImp.getIdentifier().uuid;
|
|
21359
21756
|
_this10.onFlatmapReady();
|
|
21360
21757
|
if (_this10._stateToBeSet) _this10.restoreMapState(_this10._stateToBeSet);else {
|
|
21361
21758
|
_this10.restoreMapState(state);
|
|
@@ -21419,9 +21816,9 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
21419
21816
|
showPathwaysDrawer: function showPathwaysDrawer(flag) {
|
|
21420
21817
|
this.drawerOpen = flag;
|
|
21421
21818
|
},
|
|
21422
|
-
/**
|
|
21423
|
-
* Function to display features with annotation matching the provided term,
|
|
21424
|
-
* with the option to display the label using displayLabel flag.
|
|
21819
|
+
/**
|
|
21820
|
+
* Function to display features with annotation matching the provided term,
|
|
21821
|
+
* with the option to display the label using displayLabel flag.
|
|
21425
21822
|
*/
|
|
21426
21823
|
searchAndShowResult: function searchAndShowResult(term, displayLabel) {
|
|
21427
21824
|
if (this.mapImp) {
|
|
@@ -21446,8 +21843,8 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
21446
21843
|
}
|
|
21447
21844
|
return false;
|
|
21448
21845
|
},
|
|
21449
|
-
/**
|
|
21450
|
-
* Get the list of suggested terms
|
|
21846
|
+
/**
|
|
21847
|
+
* Get the list of suggested terms
|
|
21451
21848
|
*/
|
|
21452
21849
|
searchSuggestions: function searchSuggestions(term) {
|
|
21453
21850
|
if (this.mapImp) return this.mapImp.search(term);
|
|
@@ -21501,9 +21898,9 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
21501
21898
|
type: Boolean,
|
|
21502
21899
|
default: false
|
|
21503
21900
|
},
|
|
21504
|
-
/**
|
|
21505
|
-
* Flag to determine rather open map UI should be
|
|
21506
|
-
* presented or not.
|
|
21901
|
+
/**
|
|
21902
|
+
* Flag to determine rather open map UI should be
|
|
21903
|
+
* presented or not.
|
|
21507
21904
|
*/
|
|
21508
21905
|
enableOpenMapUI: {
|
|
21509
21906
|
type: Boolean,
|
|
@@ -21536,15 +21933,15 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
21536
21933
|
type: String,
|
|
21537
21934
|
default: "'Observed In' controls and information are now included in AC maps. System control with FTU information has been added to the FC map."
|
|
21538
21935
|
},
|
|
21539
|
-
/**
|
|
21540
|
-
* State containing state of the flatmap.
|
|
21936
|
+
/**
|
|
21937
|
+
* State containing state of the flatmap.
|
|
21541
21938
|
*/
|
|
21542
21939
|
state: {
|
|
21543
21940
|
type: Object,
|
|
21544
21941
|
default: undefined
|
|
21545
21942
|
},
|
|
21546
|
-
/**
|
|
21547
|
-
* Specify the endpoint of the flatmap server.
|
|
21943
|
+
/**
|
|
21944
|
+
* Specify the endpoint of the flatmap server.
|
|
21548
21945
|
*/
|
|
21549
21946
|
flatmapAPI: {
|
|
21550
21947
|
type: String,
|
|
@@ -21557,12 +21954,14 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
21557
21954
|
},
|
|
21558
21955
|
provide: function provide() {
|
|
21559
21956
|
return {
|
|
21560
|
-
|
|
21561
|
-
|
|
21957
|
+
flatmapAPI: this.flatmapAPI,
|
|
21958
|
+
sparcAPI: this.sparcAPI
|
|
21562
21959
|
};
|
|
21563
21960
|
},
|
|
21564
21961
|
data: function data() {
|
|
21565
21962
|
return {
|
|
21963
|
+
annotationEntry: {},
|
|
21964
|
+
serverUUID: undefined,
|
|
21566
21965
|
layers: [],
|
|
21567
21966
|
pathways: [],
|
|
21568
21967
|
sckanDisplay: [{
|
|
@@ -21601,18 +22000,19 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
21601
22000
|
currentBackground: "white",
|
|
21602
22001
|
availableBackground: ["white", "lightskyblue", "black"],
|
|
21603
22002
|
loading: false,
|
|
21604
|
-
highlightToolOn: false,
|
|
21605
22003
|
flatmapMarker: flatmap_marker,
|
|
21606
22004
|
tooltipEntry: createUnfilledTooltipData(),
|
|
21607
22005
|
connectivityTooltipVisible: false,
|
|
21608
|
-
resourceForTooltip: undefined,
|
|
21609
22006
|
drawerOpen: false,
|
|
22007
|
+
annotationRadio: false,
|
|
21610
22008
|
colourRadio: true,
|
|
21611
22009
|
outlinesRadio: true,
|
|
21612
22010
|
minimapResizeShow: false,
|
|
21613
22011
|
minimapSmall: false,
|
|
21614
22012
|
currentActive: "",
|
|
21615
|
-
currentHover: ""
|
|
22013
|
+
currentHover: "",
|
|
22014
|
+
viewingMode: "Exploration",
|
|
22015
|
+
viewingModes: ["Annotation", "Exploration", "Network Discovery"]
|
|
21616
22016
|
};
|
|
21617
22017
|
},
|
|
21618
22018
|
watch: {
|
|
@@ -21654,8 +22054,8 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
21654
22054
|
});
|
|
21655
22055
|
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=script&lang=js&
|
|
21656
22056
|
/* harmony default export */ var components_FlatmapVuervue_type_script_lang_js_ = (FlatmapVuervue_type_script_lang_js_);
|
|
21657
|
-
// EXTERNAL MODULE: ./src/components/FlatmapVuer.vue?vue&type=style&index=0&id=
|
|
21658
|
-
var
|
|
22057
|
+
// EXTERNAL MODULE: ./src/components/FlatmapVuer.vue?vue&type=style&index=0&id=3560b642&prod&scoped=true&lang=scss&
|
|
22058
|
+
var FlatmapVuervue_type_style_index_0_id_3560b642_prod_scoped_true_lang_scss_ = __webpack_require__("c633");
|
|
21659
22059
|
|
|
21660
22060
|
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue
|
|
21661
22061
|
|
|
@@ -21672,14 +22072,14 @@ var FlatmapVuer_component = normalizeComponent(
|
|
|
21672
22072
|
staticRenderFns,
|
|
21673
22073
|
false,
|
|
21674
22074
|
null,
|
|
21675
|
-
"
|
|
22075
|
+
"3560b642",
|
|
21676
22076
|
null
|
|
21677
22077
|
|
|
21678
22078
|
)
|
|
21679
22079
|
|
|
21680
22080
|
/* harmony default export */ var FlatmapVuer = (FlatmapVuer_component.exports);
|
|
21681
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
21682
|
-
var
|
|
22081
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"fcc0542a-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/MultiFlatmapVuer.vue?vue&type=template&id=c2cdb860&scoped=true&
|
|
22082
|
+
var MultiFlatmapVuervue_type_template_id_c2cdb860_scoped_true_render = function render() {
|
|
21683
22083
|
var _vm = this,
|
|
21684
22084
|
_c = _vm._self._c;
|
|
21685
22085
|
return _c('div', {
|
|
@@ -21797,9 +22197,9 @@ var MultiFlatmapVuervue_type_template_id_4cc67562_scoped_true_render = function
|
|
|
21797
22197
|
});
|
|
21798
22198
|
})], 2);
|
|
21799
22199
|
};
|
|
21800
|
-
var
|
|
22200
|
+
var MultiFlatmapVuervue_type_template_id_c2cdb860_scoped_true_staticRenderFns = [];
|
|
21801
22201
|
|
|
21802
|
-
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=template&id=
|
|
22202
|
+
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=template&id=c2cdb860&scoped=true&
|
|
21803
22203
|
|
|
21804
22204
|
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/popover.css
|
|
21805
22205
|
var popover = __webpack_require__("06f1");
|
|
@@ -21808,13 +22208,6 @@ var popover = __webpack_require__("06f1");
|
|
|
21808
22208
|
var lib_popover = __webpack_require__("6ac9");
|
|
21809
22209
|
var lib_popover_default = /*#__PURE__*/__webpack_require__.n(lib_popover);
|
|
21810
22210
|
|
|
21811
|
-
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/select.css
|
|
21812
|
-
var theme_chalk_select = __webpack_require__("1f1a");
|
|
21813
|
-
|
|
21814
|
-
// EXTERNAL MODULE: ./node_modules/element-ui/lib/select.js
|
|
21815
|
-
var lib_select = __webpack_require__("4e4b");
|
|
21816
|
-
var lib_select_default = /*#__PURE__*/__webpack_require__.n(lib_select);
|
|
21817
|
-
|
|
21818
22211
|
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/option.css
|
|
21819
22212
|
var theme_chalk_option = __webpack_require__("6611");
|
|
21820
22213
|
|
|
@@ -21822,9 +22215,6 @@ var theme_chalk_option = __webpack_require__("6611");
|
|
|
21822
22215
|
var lib_option = __webpack_require__("e772");
|
|
21823
22216
|
var lib_option_default = /*#__PURE__*/__webpack_require__.n(lib_option);
|
|
21824
22217
|
|
|
21825
|
-
// EXTERNAL MODULE: external "core-js/modules/es.object.keys.js"
|
|
21826
|
-
var es_object_keys_js_ = __webpack_require__("ea64");
|
|
21827
|
-
|
|
21828
22218
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/MultiFlatmapVuer.vue?vue&type=script&lang=js&
|
|
21829
22219
|
|
|
21830
22220
|
|
|
@@ -21993,11 +22383,11 @@ var TAXON_UUID = {
|
|
|
21993
22383
|
}
|
|
21994
22384
|
}
|
|
21995
22385
|
},
|
|
21996
|
-
/**
|
|
21997
|
-
* Function to switch to the latest existing map from
|
|
21998
|
-
* a legacy map of the same species.
|
|
21999
|
-
*
|
|
22000
|
-
* @private
|
|
22386
|
+
/**
|
|
22387
|
+
* Function to switch to the latest existing map from
|
|
22388
|
+
* a legacy map of the same species.
|
|
22389
|
+
*
|
|
22390
|
+
* @private
|
|
22001
22391
|
*/
|
|
22002
22392
|
viewLatestMap: function viewLatestMap(state) {
|
|
22003
22393
|
var keys = Object.keys(this.speciesList);
|
|
@@ -22009,10 +22399,10 @@ var TAXON_UUID = {
|
|
|
22009
22399
|
}
|
|
22010
22400
|
}
|
|
22011
22401
|
},
|
|
22012
|
-
/**
|
|
22013
|
-
* Create a legacy entry with the provided information
|
|
22014
|
-
*
|
|
22015
|
-
* @private
|
|
22402
|
+
/**
|
|
22403
|
+
* Create a legacy entry with the provided information
|
|
22404
|
+
*
|
|
22405
|
+
* @private
|
|
22016
22406
|
*/
|
|
22017
22407
|
createLegacyEntry: function createLegacyEntry(state, taxo, uuid) {
|
|
22018
22408
|
if (uuid && taxo) {
|
|
@@ -22036,11 +22426,11 @@ var TAXON_UUID = {
|
|
|
22036
22426
|
};
|
|
22037
22427
|
}
|
|
22038
22428
|
},
|
|
22039
|
-
/**
|
|
22040
|
-
* Function used to translate the legacy map state to one that can be used in current
|
|
22041
|
-
* flatmap if required. If it is a legacy, an Select entry will be added
|
|
22042
|
-
*
|
|
22043
|
-
* @private
|
|
22429
|
+
/**
|
|
22430
|
+
* Function used to translate the legacy map state to one that can be used in current
|
|
22431
|
+
* flatmap if required. If it is a legacy, an Select entry will be added
|
|
22432
|
+
*
|
|
22433
|
+
* @private
|
|
22044
22434
|
*/
|
|
22045
22435
|
updateState: function updateState(state) {
|
|
22046
22436
|
var _this4 = this;
|
|
@@ -22081,11 +22471,11 @@ var TAXON_UUID = {
|
|
|
22081
22471
|
resolve(state);
|
|
22082
22472
|
});
|
|
22083
22473
|
},
|
|
22084
|
-
/**
|
|
22085
|
-
* Function used for getting the current states of the scene. This exported states
|
|
22086
|
-
* can be imported using the importStates method.
|
|
22087
|
-
*
|
|
22088
|
-
* @public
|
|
22474
|
+
/**
|
|
22475
|
+
* Function used for getting the current states of the scene. This exported states
|
|
22476
|
+
* can be imported using the importStates method.
|
|
22477
|
+
*
|
|
22478
|
+
* @public
|
|
22089
22479
|
*/
|
|
22090
22480
|
getState: function getState() {
|
|
22091
22481
|
var state = {
|
|
@@ -22096,11 +22486,11 @@ var TAXON_UUID = {
|
|
|
22096
22486
|
state.state = map.getState();
|
|
22097
22487
|
return state;
|
|
22098
22488
|
},
|
|
22099
|
-
/**
|
|
22100
|
-
* Function used for importing the states of the scene. This exported states
|
|
22101
|
-
* can be imported using the read states method.
|
|
22102
|
-
*
|
|
22103
|
-
* @public
|
|
22489
|
+
/**
|
|
22490
|
+
* Function used for importing the states of the scene. This exported states
|
|
22491
|
+
* can be imported using the read states method.
|
|
22492
|
+
*
|
|
22493
|
+
* @public
|
|
22104
22494
|
*/
|
|
22105
22495
|
setState: function setState(state) {
|
|
22106
22496
|
var _this5 = this;
|
|
@@ -22143,9 +22533,9 @@ var TAXON_UUID = {
|
|
|
22143
22533
|
type: Boolean,
|
|
22144
22534
|
default: false
|
|
22145
22535
|
},
|
|
22146
|
-
/**
|
|
22147
|
-
* Initial species for the flatmap.
|
|
22148
|
-
* This value will be ignored if a valid state object is provided.
|
|
22536
|
+
/**
|
|
22537
|
+
* Initial species for the flatmap.
|
|
22538
|
+
* This value will be ignored if a valid state object is provided.
|
|
22149
22539
|
*/
|
|
22150
22540
|
initial: {
|
|
22151
22541
|
type: String,
|
|
@@ -22167,9 +22557,9 @@ var TAXON_UUID = {
|
|
|
22167
22557
|
type: Boolean,
|
|
22168
22558
|
default: false
|
|
22169
22559
|
},
|
|
22170
|
-
/**
|
|
22171
|
-
* Flag to determine rather open map UI should be
|
|
22172
|
-
* presented or not.
|
|
22560
|
+
/**
|
|
22561
|
+
* Flag to determine rather open map UI should be
|
|
22562
|
+
* presented or not.
|
|
22173
22563
|
*/
|
|
22174
22564
|
enableOpenMapUI: {
|
|
22175
22565
|
type: Boolean,
|
|
@@ -22217,15 +22607,15 @@ var TAXON_UUID = {
|
|
|
22217
22607
|
};
|
|
22218
22608
|
}
|
|
22219
22609
|
},
|
|
22220
|
-
/**
|
|
22221
|
-
* State containing state of the flatmap.
|
|
22610
|
+
/**
|
|
22611
|
+
* State containing state of the flatmap.
|
|
22222
22612
|
*/
|
|
22223
22613
|
state: {
|
|
22224
22614
|
type: Object,
|
|
22225
22615
|
default: undefined
|
|
22226
22616
|
},
|
|
22227
|
-
/**
|
|
22228
|
-
* Specify the endpoint of the flatmap server.
|
|
22617
|
+
/**
|
|
22618
|
+
* Specify the endpoint of the flatmap server.
|
|
22229
22619
|
*/
|
|
22230
22620
|
flatmapAPI: {
|
|
22231
22621
|
type: String,
|
|
@@ -22256,8 +22646,8 @@ var TAXON_UUID = {
|
|
|
22256
22646
|
});
|
|
22257
22647
|
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=script&lang=js&
|
|
22258
22648
|
/* harmony default export */ var components_MultiFlatmapVuervue_type_script_lang_js_ = (MultiFlatmapVuervue_type_script_lang_js_);
|
|
22259
|
-
// EXTERNAL MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=style&index=0&id=
|
|
22260
|
-
var
|
|
22649
|
+
// EXTERNAL MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=style&index=0&id=c2cdb860&prod&scoped=true&lang=scss&
|
|
22650
|
+
var MultiFlatmapVuervue_type_style_index_0_id_c2cdb860_prod_scoped_true_lang_scss_ = __webpack_require__("9c3a");
|
|
22261
22651
|
|
|
22262
22652
|
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue
|
|
22263
22653
|
|
|
@@ -22270,11 +22660,11 @@ var MultiFlatmapVuervue_type_style_index_0_id_4cc67562_prod_scoped_true_lang_scs
|
|
|
22270
22660
|
|
|
22271
22661
|
var MultiFlatmapVuer_component = normalizeComponent(
|
|
22272
22662
|
components_MultiFlatmapVuervue_type_script_lang_js_,
|
|
22273
|
-
|
|
22274
|
-
|
|
22663
|
+
MultiFlatmapVuervue_type_template_id_c2cdb860_scoped_true_render,
|
|
22664
|
+
MultiFlatmapVuervue_type_template_id_c2cdb860_scoped_true_staticRenderFns,
|
|
22275
22665
|
false,
|
|
22276
22666
|
null,
|
|
22277
|
-
"
|
|
22667
|
+
"c2cdb860",
|
|
22278
22668
|
null
|
|
22279
22669
|
|
|
22280
22670
|
)
|
|
@@ -22291,6 +22681,13 @@ var MultiFlatmapVuer_component = normalizeComponent(
|
|
|
22291
22681
|
|
|
22292
22682
|
|
|
22293
22683
|
|
|
22684
|
+
/***/ }),
|
|
22685
|
+
|
|
22686
|
+
/***/ "fb89":
|
|
22687
|
+
/***/ (function(module, exports) {
|
|
22688
|
+
|
|
22689
|
+
module.exports = require("core-js/modules/es.symbol.to-primitive.js");
|
|
22690
|
+
|
|
22294
22691
|
/***/ }),
|
|
22295
22692
|
|
|
22296
22693
|
/***/ "fd22":
|