@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
package/dist/flatmapvuer.umd.js
CHANGED
|
@@ -96,13 +96,6 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
96
96
|
/************************************************************************/
|
|
97
97
|
/******/ ({
|
|
98
98
|
|
|
99
|
-
/***/ "01ae":
|
|
100
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
101
|
-
|
|
102
|
-
// extracted by mini-css-extract-plugin
|
|
103
|
-
|
|
104
|
-
/***/ }),
|
|
105
|
-
|
|
106
99
|
/***/ "06f1":
|
|
107
100
|
/***/ (function(module, exports, __webpack_require__) {
|
|
108
101
|
|
|
@@ -119,6 +112,17 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
119
112
|
/* unused harmony reexport * */
|
|
120
113
|
|
|
121
114
|
|
|
115
|
+
/***/ }),
|
|
116
|
+
|
|
117
|
+
/***/ "0ecd":
|
|
118
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
119
|
+
|
|
120
|
+
"use strict";
|
|
121
|
+
/* 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");
|
|
122
|
+
/* 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__);
|
|
123
|
+
/* unused harmony reexport * */
|
|
124
|
+
|
|
125
|
+
|
|
122
126
|
/***/ }),
|
|
123
127
|
|
|
124
128
|
/***/ "0f6c":
|
|
@@ -275,6 +279,13 @@ row.install = function (Vue) {
|
|
|
275
279
|
|
|
276
280
|
/***/ }),
|
|
277
281
|
|
|
282
|
+
/***/ "10cb":
|
|
283
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
284
|
+
|
|
285
|
+
// extracted by mini-css-extract-plugin
|
|
286
|
+
|
|
287
|
+
/***/ }),
|
|
288
|
+
|
|
278
289
|
/***/ "12f2":
|
|
279
290
|
/***/ (function(module, exports, __webpack_require__) {
|
|
280
291
|
|
|
@@ -781,6 +792,13 @@ module.exports = require("core-js/modules/es.string.search.js");
|
|
|
781
792
|
|
|
782
793
|
/***/ }),
|
|
783
794
|
|
|
795
|
+
/***/ "1f48":
|
|
796
|
+
/***/ (function(module, exports) {
|
|
797
|
+
|
|
798
|
+
module.exports = require("core-js/modules/es.date.to-primitive.js");
|
|
799
|
+
|
|
800
|
+
/***/ }),
|
|
801
|
+
|
|
784
802
|
/***/ "2277":
|
|
785
803
|
/***/ (function(module, exports, __webpack_require__) {
|
|
786
804
|
|
|
@@ -937,6 +955,13 @@ module.exports = require("core-js/modules/es.regexp.to-string.js");
|
|
|
937
955
|
|
|
938
956
|
/***/ }),
|
|
939
957
|
|
|
958
|
+
/***/ "316b":
|
|
959
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
960
|
+
|
|
961
|
+
// extracted by mini-css-extract-plugin
|
|
962
|
+
|
|
963
|
+
/***/ }),
|
|
964
|
+
|
|
940
965
|
/***/ "362b":
|
|
941
966
|
/***/ (function(module, exports) {
|
|
942
967
|
|
|
@@ -5808,6 +5833,13 @@ module.exports = require("core-js/modules/es.string.replace.js");
|
|
|
5808
5833
|
|
|
5809
5834
|
/***/ }),
|
|
5810
5835
|
|
|
5836
|
+
/***/ "667b":
|
|
5837
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
5838
|
+
|
|
5839
|
+
// extracted by mini-css-extract-plugin
|
|
5840
|
+
|
|
5841
|
+
/***/ }),
|
|
5842
|
+
|
|
5811
5843
|
/***/ "6721":
|
|
5812
5844
|
/***/ (function(module, exports, __webpack_require__) {
|
|
5813
5845
|
|
|
@@ -9121,6 +9153,13 @@ exports.default = {
|
|
|
9121
9153
|
|
|
9122
9154
|
/***/ }),
|
|
9123
9155
|
|
|
9156
|
+
/***/ "6de0":
|
|
9157
|
+
/***/ (function(module, exports) {
|
|
9158
|
+
|
|
9159
|
+
module.exports = require("core-js/modules/es.object.get-own-property-descriptor.js");
|
|
9160
|
+
|
|
9161
|
+
/***/ }),
|
|
9162
|
+
|
|
9124
9163
|
/***/ "712c":
|
|
9125
9164
|
/***/ (function(module, exports) {
|
|
9126
9165
|
|
|
@@ -11112,6 +11151,13 @@ module.exports = __webpack_require__("8bbf");
|
|
|
11112
11151
|
|
|
11113
11152
|
/***/ }),
|
|
11114
11153
|
|
|
11154
|
+
/***/ "7664":
|
|
11155
|
+
/***/ (function(module, exports) {
|
|
11156
|
+
|
|
11157
|
+
module.exports = require("core-js/modules/es.object.get-own-property-descriptors.js");
|
|
11158
|
+
|
|
11159
|
+
/***/ }),
|
|
11160
|
+
|
|
11115
11161
|
/***/ "7949":
|
|
11116
11162
|
/***/ (function(module, exports) {
|
|
11117
11163
|
|
|
@@ -11126,7 +11172,35 @@ module.exports = require("core-js/modules/es.object.proto.js");
|
|
|
11126
11172
|
|
|
11127
11173
|
/***/ }),
|
|
11128
11174
|
|
|
11129
|
-
/***/ "
|
|
11175
|
+
/***/ "7f4d":
|
|
11176
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
11177
|
+
|
|
11178
|
+
"use strict";
|
|
11179
|
+
|
|
11180
|
+
|
|
11181
|
+
exports.__esModule = true;
|
|
11182
|
+
|
|
11183
|
+
exports.default = function (target) {
|
|
11184
|
+
for (var i = 1, j = arguments.length; i < j; i++) {
|
|
11185
|
+
var source = arguments[i] || {};
|
|
11186
|
+
for (var prop in source) {
|
|
11187
|
+
if (source.hasOwnProperty(prop)) {
|
|
11188
|
+
var value = source[prop];
|
|
11189
|
+
if (value !== undefined) {
|
|
11190
|
+
target[prop] = value;
|
|
11191
|
+
}
|
|
11192
|
+
}
|
|
11193
|
+
}
|
|
11194
|
+
}
|
|
11195
|
+
|
|
11196
|
+
return target;
|
|
11197
|
+
};
|
|
11198
|
+
|
|
11199
|
+
;
|
|
11200
|
+
|
|
11201
|
+
/***/ }),
|
|
11202
|
+
|
|
11203
|
+
/***/ "7fc1":
|
|
11130
11204
|
/***/ (function(module, exports, __webpack_require__) {
|
|
11131
11205
|
|
|
11132
11206
|
module.exports =
|
|
@@ -11213,7 +11287,7 @@ module.exports =
|
|
|
11213
11287
|
/******/
|
|
11214
11288
|
/******/
|
|
11215
11289
|
/******/ // Load entry module and return exports
|
|
11216
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
11290
|
+
/******/ return __webpack_require__(__webpack_require__.s = 93);
|
|
11217
11291
|
/******/ })
|
|
11218
11292
|
/************************************************************************/
|
|
11219
11293
|
/******/ ({
|
|
@@ -11320,20 +11394,30 @@ function normalizeComponent (
|
|
|
11320
11394
|
|
|
11321
11395
|
/***/ }),
|
|
11322
11396
|
|
|
11323
|
-
/***/
|
|
11397
|
+
/***/ 4:
|
|
11398
|
+
/***/ (function(module, exports) {
|
|
11399
|
+
|
|
11400
|
+
module.exports = __webpack_require__("d010");
|
|
11401
|
+
|
|
11402
|
+
/***/ }),
|
|
11403
|
+
|
|
11404
|
+
/***/ 93:
|
|
11324
11405
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
11325
11406
|
|
|
11326
11407
|
"use strict";
|
|
11327
11408
|
__webpack_require__.r(__webpack_exports__);
|
|
11328
11409
|
|
|
11329
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/
|
|
11410
|
+
// 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&
|
|
11330
11411
|
var render = function() {
|
|
11331
11412
|
var _vm = this
|
|
11332
11413
|
var _h = _vm.$createElement
|
|
11333
11414
|
var _c = _vm._self._c || _h
|
|
11334
11415
|
return _c(
|
|
11335
|
-
"
|
|
11336
|
-
{
|
|
11416
|
+
"div",
|
|
11417
|
+
{
|
|
11418
|
+
staticClass: "el-checkbox-group",
|
|
11419
|
+
attrs: { role: "group", "aria-label": "checkbox-group" }
|
|
11420
|
+
},
|
|
11337
11421
|
[_vm._t("default")],
|
|
11338
11422
|
2
|
|
11339
11423
|
)
|
|
@@ -11342,34 +11426,60 @@ var staticRenderFns = []
|
|
|
11342
11426
|
render._withStripped = true
|
|
11343
11427
|
|
|
11344
11428
|
|
|
11345
|
-
// CONCATENATED MODULE: ./packages/
|
|
11429
|
+
// CONCATENATED MODULE: ./packages/checkbox/src/checkbox-group.vue?vue&type=template&id=7289a290&
|
|
11346
11430
|
|
|
11347
|
-
//
|
|
11348
|
-
|
|
11349
|
-
|
|
11350
|
-
//
|
|
11351
|
-
//
|
|
11352
|
-
//
|
|
11353
|
-
//
|
|
11431
|
+
// EXTERNAL MODULE: external "element-ui/lib/mixins/emitter"
|
|
11432
|
+
var emitter_ = __webpack_require__(4);
|
|
11433
|
+
var emitter_default = /*#__PURE__*/__webpack_require__.n(emitter_);
|
|
11354
11434
|
|
|
11355
|
-
|
|
11356
|
-
|
|
11435
|
+
// 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&
|
|
11436
|
+
|
|
11437
|
+
|
|
11438
|
+
|
|
11439
|
+
/* harmony default export */ var checkbox_groupvue_type_script_lang_js_ = ({
|
|
11440
|
+
name: 'ElCheckboxGroup',
|
|
11441
|
+
|
|
11442
|
+
componentName: 'ElCheckboxGroup',
|
|
11443
|
+
|
|
11444
|
+
mixins: [emitter_default.a],
|
|
11357
11445
|
|
|
11358
|
-
|
|
11446
|
+
inject: {
|
|
11447
|
+
elFormItem: {
|
|
11448
|
+
default: ''
|
|
11449
|
+
}
|
|
11450
|
+
},
|
|
11359
11451
|
|
|
11360
11452
|
props: {
|
|
11361
|
-
|
|
11362
|
-
|
|
11363
|
-
|
|
11453
|
+
value: {},
|
|
11454
|
+
disabled: Boolean,
|
|
11455
|
+
min: Number,
|
|
11456
|
+
max: Number,
|
|
11457
|
+
size: String,
|
|
11458
|
+
fill: String,
|
|
11459
|
+
textColor: String
|
|
11460
|
+
},
|
|
11461
|
+
|
|
11462
|
+
computed: {
|
|
11463
|
+
_elFormItemSize: function _elFormItemSize() {
|
|
11464
|
+
return (this.elFormItem || {}).elFormItemSize;
|
|
11465
|
+
},
|
|
11466
|
+
checkboxGroupSize: function checkboxGroupSize() {
|
|
11467
|
+
return this.size || this._elFormItemSize || (this.$ELEMENT || {}).size;
|
|
11468
|
+
}
|
|
11469
|
+
},
|
|
11470
|
+
|
|
11471
|
+
watch: {
|
|
11472
|
+
value: function value(_value) {
|
|
11473
|
+
this.dispatch('ElFormItem', 'el.form.change', [_value]);
|
|
11364
11474
|
}
|
|
11365
11475
|
}
|
|
11366
11476
|
});
|
|
11367
|
-
// CONCATENATED MODULE: ./packages/
|
|
11368
|
-
/* harmony default export */ var
|
|
11477
|
+
// CONCATENATED MODULE: ./packages/checkbox/src/checkbox-group.vue?vue&type=script&lang=js&
|
|
11478
|
+
/* harmony default export */ var src_checkbox_groupvue_type_script_lang_js_ = (checkbox_groupvue_type_script_lang_js_);
|
|
11369
11479
|
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
11370
11480
|
var componentNormalizer = __webpack_require__(0);
|
|
11371
11481
|
|
|
11372
|
-
// CONCATENATED MODULE: ./packages/
|
|
11482
|
+
// CONCATENATED MODULE: ./packages/checkbox/src/checkbox-group.vue
|
|
11373
11483
|
|
|
11374
11484
|
|
|
11375
11485
|
|
|
@@ -11378,7 +11488,7 @@ var componentNormalizer = __webpack_require__(0);
|
|
|
11378
11488
|
/* normalize component */
|
|
11379
11489
|
|
|
11380
11490
|
var component = Object(componentNormalizer["a" /* default */])(
|
|
11381
|
-
|
|
11491
|
+
src_checkbox_groupvue_type_script_lang_js_,
|
|
11382
11492
|
render,
|
|
11383
11493
|
staticRenderFns,
|
|
11384
11494
|
false,
|
|
@@ -11390,17 +11500,17 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
11390
11500
|
|
|
11391
11501
|
/* hot reload */
|
|
11392
11502
|
if (false) { var api; }
|
|
11393
|
-
component.options.__file = "packages/
|
|
11394
|
-
/* harmony default export */ var
|
|
11395
|
-
// CONCATENATED MODULE: ./packages/
|
|
11503
|
+
component.options.__file = "packages/checkbox/src/checkbox-group.vue"
|
|
11504
|
+
/* harmony default export */ var checkbox_group = (component.exports);
|
|
11505
|
+
// CONCATENATED MODULE: ./packages/checkbox-group/index.js
|
|
11396
11506
|
|
|
11397
11507
|
|
|
11398
11508
|
/* istanbul ignore next */
|
|
11399
|
-
|
|
11400
|
-
Vue.component(
|
|
11509
|
+
checkbox_group.install = function (Vue) {
|
|
11510
|
+
Vue.component(checkbox_group.name, checkbox_group);
|
|
11401
11511
|
};
|
|
11402
11512
|
|
|
11403
|
-
/* harmony default export */ var
|
|
11513
|
+
/* harmony default export */ var packages_checkbox_group = __webpack_exports__["default"] = (checkbox_group);
|
|
11404
11514
|
|
|
11405
11515
|
/***/ })
|
|
11406
11516
|
|
|
@@ -11408,39 +11518,307 @@ main.install = function (Vue) {
|
|
|
11408
11518
|
|
|
11409
11519
|
/***/ }),
|
|
11410
11520
|
|
|
11411
|
-
/***/ "
|
|
11521
|
+
/***/ "8122":
|
|
11412
11522
|
/***/ (function(module, exports, __webpack_require__) {
|
|
11413
11523
|
|
|
11414
11524
|
"use strict";
|
|
11415
11525
|
|
|
11416
11526
|
|
|
11417
11527
|
exports.__esModule = true;
|
|
11528
|
+
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;
|
|
11418
11529
|
|
|
11419
|
-
|
|
11420
|
-
|
|
11421
|
-
|
|
11422
|
-
|
|
11423
|
-
|
|
11424
|
-
|
|
11425
|
-
|
|
11426
|
-
|
|
11427
|
-
|
|
11428
|
-
|
|
11530
|
+
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; };
|
|
11531
|
+
|
|
11532
|
+
exports.noop = noop;
|
|
11533
|
+
exports.hasOwn = hasOwn;
|
|
11534
|
+
exports.toObject = toObject;
|
|
11535
|
+
exports.getPropByPath = getPropByPath;
|
|
11536
|
+
exports.rafThrottle = rafThrottle;
|
|
11537
|
+
exports.objToArray = objToArray;
|
|
11538
|
+
|
|
11539
|
+
var _vue = __webpack_require__("8bbf");
|
|
11540
|
+
|
|
11541
|
+
var _vue2 = _interopRequireDefault(_vue);
|
|
11542
|
+
|
|
11543
|
+
var _types = __webpack_require__("a742");
|
|
11544
|
+
|
|
11545
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11546
|
+
|
|
11547
|
+
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
11548
|
+
|
|
11549
|
+
function noop() {};
|
|
11550
|
+
|
|
11551
|
+
function hasOwn(obj, key) {
|
|
11552
|
+
return hasOwnProperty.call(obj, key);
|
|
11553
|
+
};
|
|
11554
|
+
|
|
11555
|
+
function extend(to, _from) {
|
|
11556
|
+
for (var key in _from) {
|
|
11557
|
+
to[key] = _from[key];
|
|
11558
|
+
}
|
|
11559
|
+
return to;
|
|
11560
|
+
};
|
|
11561
|
+
|
|
11562
|
+
function toObject(arr) {
|
|
11563
|
+
var res = {};
|
|
11564
|
+
for (var i = 0; i < arr.length; i++) {
|
|
11565
|
+
if (arr[i]) {
|
|
11566
|
+
extend(res, arr[i]);
|
|
11429
11567
|
}
|
|
11430
11568
|
}
|
|
11569
|
+
return res;
|
|
11570
|
+
};
|
|
11431
11571
|
|
|
11432
|
-
|
|
11572
|
+
var getValueByPath = exports.getValueByPath = function getValueByPath(object, prop) {
|
|
11573
|
+
prop = prop || '';
|
|
11574
|
+
var paths = prop.split('.');
|
|
11575
|
+
var current = object;
|
|
11576
|
+
var result = null;
|
|
11577
|
+
for (var i = 0, j = paths.length; i < j; i++) {
|
|
11578
|
+
var path = paths[i];
|
|
11579
|
+
if (!current) break;
|
|
11580
|
+
|
|
11581
|
+
if (i === j - 1) {
|
|
11582
|
+
result = current[path];
|
|
11583
|
+
break;
|
|
11584
|
+
}
|
|
11585
|
+
current = current[path];
|
|
11586
|
+
}
|
|
11587
|
+
return result;
|
|
11433
11588
|
};
|
|
11434
11589
|
|
|
11435
|
-
|
|
11590
|
+
function getPropByPath(obj, path, strict) {
|
|
11591
|
+
var tempObj = obj;
|
|
11592
|
+
path = path.replace(/\[(\w+)\]/g, '.$1');
|
|
11593
|
+
path = path.replace(/^\./, '');
|
|
11436
11594
|
|
|
11437
|
-
|
|
11595
|
+
var keyArr = path.split('.');
|
|
11596
|
+
var i = 0;
|
|
11597
|
+
for (var len = keyArr.length; i < len - 1; ++i) {
|
|
11598
|
+
if (!tempObj && !strict) break;
|
|
11599
|
+
var key = keyArr[i];
|
|
11600
|
+
if (key in tempObj) {
|
|
11601
|
+
tempObj = tempObj[key];
|
|
11602
|
+
} else {
|
|
11603
|
+
if (strict) {
|
|
11604
|
+
throw new Error('please transfer a valid prop path to form item!');
|
|
11605
|
+
}
|
|
11606
|
+
break;
|
|
11607
|
+
}
|
|
11608
|
+
}
|
|
11609
|
+
return {
|
|
11610
|
+
o: tempObj,
|
|
11611
|
+
k: keyArr[i],
|
|
11612
|
+
v: tempObj ? tempObj[keyArr[i]] : null
|
|
11613
|
+
};
|
|
11614
|
+
};
|
|
11438
11615
|
|
|
11439
|
-
|
|
11440
|
-
|
|
11616
|
+
var generateId = exports.generateId = function generateId() {
|
|
11617
|
+
return Math.floor(Math.random() * 10000);
|
|
11618
|
+
};
|
|
11441
11619
|
|
|
11442
|
-
|
|
11443
|
-
|
|
11620
|
+
var valueEquals = exports.valueEquals = function valueEquals(a, b) {
|
|
11621
|
+
// see: https://stackoverflow.com/questions/3115982/how-to-check-if-two-arrays-are-equal-with-javascript
|
|
11622
|
+
if (a === b) return true;
|
|
11623
|
+
if (!(a instanceof Array)) return false;
|
|
11624
|
+
if (!(b instanceof Array)) return false;
|
|
11625
|
+
if (a.length !== b.length) return false;
|
|
11626
|
+
for (var i = 0; i !== a.length; ++i) {
|
|
11627
|
+
if (a[i] !== b[i]) return false;
|
|
11628
|
+
}
|
|
11629
|
+
return true;
|
|
11630
|
+
};
|
|
11631
|
+
|
|
11632
|
+
var escapeRegexpString = exports.escapeRegexpString = function escapeRegexpString() {
|
|
11633
|
+
var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
|
|
11634
|
+
return String(value).replace(/[|\\{}()[\]^$+*?.]/g, '\\$&');
|
|
11635
|
+
};
|
|
11636
|
+
|
|
11637
|
+
// TODO: use native Array.find, Array.findIndex when IE support is dropped
|
|
11638
|
+
var arrayFindIndex = exports.arrayFindIndex = function arrayFindIndex(arr, pred) {
|
|
11639
|
+
for (var i = 0; i !== arr.length; ++i) {
|
|
11640
|
+
if (pred(arr[i])) {
|
|
11641
|
+
return i;
|
|
11642
|
+
}
|
|
11643
|
+
}
|
|
11644
|
+
return -1;
|
|
11645
|
+
};
|
|
11646
|
+
|
|
11647
|
+
var arrayFind = exports.arrayFind = function arrayFind(arr, pred) {
|
|
11648
|
+
var idx = arrayFindIndex(arr, pred);
|
|
11649
|
+
return idx !== -1 ? arr[idx] : undefined;
|
|
11650
|
+
};
|
|
11651
|
+
|
|
11652
|
+
// coerce truthy value to array
|
|
11653
|
+
var coerceTruthyValueToArray = exports.coerceTruthyValueToArray = function coerceTruthyValueToArray(val) {
|
|
11654
|
+
if (Array.isArray(val)) {
|
|
11655
|
+
return val;
|
|
11656
|
+
} else if (val) {
|
|
11657
|
+
return [val];
|
|
11658
|
+
} else {
|
|
11659
|
+
return [];
|
|
11660
|
+
}
|
|
11661
|
+
};
|
|
11662
|
+
|
|
11663
|
+
var isIE = exports.isIE = function isIE() {
|
|
11664
|
+
return !_vue2.default.prototype.$isServer && !isNaN(Number(document.documentMode));
|
|
11665
|
+
};
|
|
11666
|
+
|
|
11667
|
+
var isEdge = exports.isEdge = function isEdge() {
|
|
11668
|
+
return !_vue2.default.prototype.$isServer && navigator.userAgent.indexOf('Edge') > -1;
|
|
11669
|
+
};
|
|
11670
|
+
|
|
11671
|
+
var isFirefox = exports.isFirefox = function isFirefox() {
|
|
11672
|
+
return !_vue2.default.prototype.$isServer && !!window.navigator.userAgent.match(/firefox/i);
|
|
11673
|
+
};
|
|
11674
|
+
|
|
11675
|
+
var autoprefixer = exports.autoprefixer = function autoprefixer(style) {
|
|
11676
|
+
if ((typeof style === 'undefined' ? 'undefined' : _typeof(style)) !== 'object') return style;
|
|
11677
|
+
var rules = ['transform', 'transition', 'animation'];
|
|
11678
|
+
var prefixes = ['ms-', 'webkit-'];
|
|
11679
|
+
rules.forEach(function (rule) {
|
|
11680
|
+
var value = style[rule];
|
|
11681
|
+
if (rule && value) {
|
|
11682
|
+
prefixes.forEach(function (prefix) {
|
|
11683
|
+
style[prefix + rule] = value;
|
|
11684
|
+
});
|
|
11685
|
+
}
|
|
11686
|
+
});
|
|
11687
|
+
return style;
|
|
11688
|
+
};
|
|
11689
|
+
|
|
11690
|
+
var kebabCase = exports.kebabCase = function kebabCase(str) {
|
|
11691
|
+
var hyphenateRE = /([^-])([A-Z])/g;
|
|
11692
|
+
return str.replace(hyphenateRE, '$1-$2').replace(hyphenateRE, '$1-$2').toLowerCase();
|
|
11693
|
+
};
|
|
11694
|
+
|
|
11695
|
+
var capitalize = exports.capitalize = function capitalize(str) {
|
|
11696
|
+
if (!(0, _types.isString)(str)) return str;
|
|
11697
|
+
return str.charAt(0).toUpperCase() + str.slice(1);
|
|
11698
|
+
};
|
|
11699
|
+
|
|
11700
|
+
var looseEqual = exports.looseEqual = function looseEqual(a, b) {
|
|
11701
|
+
var isObjectA = (0, _types.isObject)(a);
|
|
11702
|
+
var isObjectB = (0, _types.isObject)(b);
|
|
11703
|
+
if (isObjectA && isObjectB) {
|
|
11704
|
+
return JSON.stringify(a) === JSON.stringify(b);
|
|
11705
|
+
} else if (!isObjectA && !isObjectB) {
|
|
11706
|
+
return String(a) === String(b);
|
|
11707
|
+
} else {
|
|
11708
|
+
return false;
|
|
11709
|
+
}
|
|
11710
|
+
};
|
|
11711
|
+
|
|
11712
|
+
var arrayEquals = exports.arrayEquals = function arrayEquals(arrayA, arrayB) {
|
|
11713
|
+
arrayA = arrayA || [];
|
|
11714
|
+
arrayB = arrayB || [];
|
|
11715
|
+
|
|
11716
|
+
if (arrayA.length !== arrayB.length) {
|
|
11717
|
+
return false;
|
|
11718
|
+
}
|
|
11719
|
+
|
|
11720
|
+
for (var i = 0; i < arrayA.length; i++) {
|
|
11721
|
+
if (!looseEqual(arrayA[i], arrayB[i])) {
|
|
11722
|
+
return false;
|
|
11723
|
+
}
|
|
11724
|
+
}
|
|
11725
|
+
|
|
11726
|
+
return true;
|
|
11727
|
+
};
|
|
11728
|
+
|
|
11729
|
+
var isEqual = exports.isEqual = function isEqual(value1, value2) {
|
|
11730
|
+
if (Array.isArray(value1) && Array.isArray(value2)) {
|
|
11731
|
+
return arrayEquals(value1, value2);
|
|
11732
|
+
}
|
|
11733
|
+
return looseEqual(value1, value2);
|
|
11734
|
+
};
|
|
11735
|
+
|
|
11736
|
+
var isEmpty = exports.isEmpty = function isEmpty(val) {
|
|
11737
|
+
// null or undefined
|
|
11738
|
+
if (val == null) return true;
|
|
11739
|
+
|
|
11740
|
+
if (typeof val === 'boolean') return false;
|
|
11741
|
+
|
|
11742
|
+
if (typeof val === 'number') return !val;
|
|
11743
|
+
|
|
11744
|
+
if (val instanceof Error) return val.message === '';
|
|
11745
|
+
|
|
11746
|
+
switch (Object.prototype.toString.call(val)) {
|
|
11747
|
+
// String or Array
|
|
11748
|
+
case '[object String]':
|
|
11749
|
+
case '[object Array]':
|
|
11750
|
+
return !val.length;
|
|
11751
|
+
|
|
11752
|
+
// Map or Set or File
|
|
11753
|
+
case '[object File]':
|
|
11754
|
+
case '[object Map]':
|
|
11755
|
+
case '[object Set]':
|
|
11756
|
+
{
|
|
11757
|
+
return !val.size;
|
|
11758
|
+
}
|
|
11759
|
+
// Plain Object
|
|
11760
|
+
case '[object Object]':
|
|
11761
|
+
{
|
|
11762
|
+
return !Object.keys(val).length;
|
|
11763
|
+
}
|
|
11764
|
+
}
|
|
11765
|
+
|
|
11766
|
+
return false;
|
|
11767
|
+
};
|
|
11768
|
+
|
|
11769
|
+
function rafThrottle(fn) {
|
|
11770
|
+
var locked = false;
|
|
11771
|
+
return function () {
|
|
11772
|
+
var _this = this;
|
|
11773
|
+
|
|
11774
|
+
for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
|
|
11775
|
+
args[_key] = arguments[_key];
|
|
11776
|
+
}
|
|
11777
|
+
|
|
11778
|
+
if (locked) return;
|
|
11779
|
+
locked = true;
|
|
11780
|
+
window.requestAnimationFrame(function (_) {
|
|
11781
|
+
fn.apply(_this, args);
|
|
11782
|
+
locked = false;
|
|
11783
|
+
});
|
|
11784
|
+
};
|
|
11785
|
+
}
|
|
11786
|
+
|
|
11787
|
+
function objToArray(obj) {
|
|
11788
|
+
if (Array.isArray(obj)) {
|
|
11789
|
+
return obj;
|
|
11790
|
+
}
|
|
11791
|
+
return isEmpty(obj) ? [] : [obj];
|
|
11792
|
+
}
|
|
11793
|
+
|
|
11794
|
+
/***/ }),
|
|
11795
|
+
|
|
11796
|
+
/***/ "831f":
|
|
11797
|
+
/***/ (function(module, exports) {
|
|
11798
|
+
|
|
11799
|
+
module.exports = require("throttle-debounce");
|
|
11800
|
+
|
|
11801
|
+
/***/ }),
|
|
11802
|
+
|
|
11803
|
+
/***/ "8535":
|
|
11804
|
+
/***/ (function(module, exports) {
|
|
11805
|
+
|
|
11806
|
+
module.exports = require("core-js/modules/es.set.js");
|
|
11807
|
+
|
|
11808
|
+
/***/ }),
|
|
11809
|
+
|
|
11810
|
+
/***/ "85f7":
|
|
11811
|
+
/***/ (function(module, exports) {
|
|
11812
|
+
|
|
11813
|
+
module.exports = require("core-js/modules/es.array.includes.js");
|
|
11814
|
+
|
|
11815
|
+
/***/ }),
|
|
11816
|
+
|
|
11817
|
+
/***/ "896a":
|
|
11818
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
11819
|
+
|
|
11820
|
+
module.exports =
|
|
11821
|
+
/******/ (function(modules) { // webpackBootstrap
|
|
11444
11822
|
/******/ // The module cache
|
|
11445
11823
|
/******/ var installedModules = {};
|
|
11446
11824
|
/******/
|
|
@@ -11523,7 +11901,7 @@ module.exports =
|
|
|
11523
11901
|
/******/
|
|
11524
11902
|
/******/
|
|
11525
11903
|
/******/ // Load entry module and return exports
|
|
11526
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
11904
|
+
/******/ return __webpack_require__(__webpack_require__.s = 73);
|
|
11527
11905
|
/******/ })
|
|
11528
11906
|
/************************************************************************/
|
|
11529
11907
|
/******/ ({
|
|
@@ -11630,92 +12008,153 @@ function normalizeComponent (
|
|
|
11630
12008
|
|
|
11631
12009
|
/***/ }),
|
|
11632
12010
|
|
|
11633
|
-
/***/
|
|
12011
|
+
/***/ 13:
|
|
11634
12012
|
/***/ (function(module, exports) {
|
|
11635
12013
|
|
|
11636
|
-
module.exports = __webpack_require__("
|
|
12014
|
+
module.exports = __webpack_require__("5128");
|
|
11637
12015
|
|
|
11638
12016
|
/***/ }),
|
|
11639
12017
|
|
|
11640
|
-
/***/
|
|
12018
|
+
/***/ 2:
|
|
12019
|
+
/***/ (function(module, exports) {
|
|
12020
|
+
|
|
12021
|
+
module.exports = __webpack_require__("5924");
|
|
12022
|
+
|
|
12023
|
+
/***/ }),
|
|
12024
|
+
|
|
12025
|
+
/***/ 42:
|
|
12026
|
+
/***/ (function(module, exports) {
|
|
12027
|
+
|
|
12028
|
+
module.exports = __webpack_require__("c56a");
|
|
12029
|
+
|
|
12030
|
+
/***/ }),
|
|
12031
|
+
|
|
12032
|
+
/***/ 7:
|
|
12033
|
+
/***/ (function(module, exports) {
|
|
12034
|
+
|
|
12035
|
+
module.exports = __webpack_require__("8bbf");
|
|
12036
|
+
|
|
12037
|
+
/***/ }),
|
|
12038
|
+
|
|
12039
|
+
/***/ 73:
|
|
11641
12040
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
11642
12041
|
|
|
11643
12042
|
"use strict";
|
|
11644
12043
|
__webpack_require__.r(__webpack_exports__);
|
|
11645
12044
|
|
|
11646
|
-
//
|
|
12045
|
+
// EXTERNAL MODULE: external "vue"
|
|
12046
|
+
var external_vue_ = __webpack_require__(7);
|
|
12047
|
+
var external_vue_default = /*#__PURE__*/__webpack_require__.n(external_vue_);
|
|
12048
|
+
|
|
12049
|
+
// 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&
|
|
11647
12050
|
var render = function() {
|
|
11648
12051
|
var _vm = this
|
|
11649
12052
|
var _h = _vm.$createElement
|
|
11650
12053
|
var _c = _vm._self._c || _h
|
|
11651
12054
|
return _c(
|
|
11652
|
-
"
|
|
12055
|
+
"transition",
|
|
11653
12056
|
{
|
|
11654
|
-
|
|
11655
|
-
|
|
12057
|
+
attrs: { name: "el-loading-fade" },
|
|
12058
|
+
on: { "after-leave": _vm.handleAfterLeave }
|
|
11656
12059
|
},
|
|
11657
|
-
[
|
|
11658
|
-
|
|
11659
|
-
|
|
11660
|
-
|
|
11661
|
-
|
|
11662
|
-
|
|
11663
|
-
|
|
11664
|
-
|
|
11665
|
-
|
|
11666
|
-
|
|
11667
|
-
|
|
11668
|
-
|
|
11669
|
-
|
|
11670
|
-
|
|
11671
|
-
|
|
11672
|
-
|
|
11673
|
-
|
|
12060
|
+
[
|
|
12061
|
+
_c(
|
|
12062
|
+
"div",
|
|
12063
|
+
{
|
|
12064
|
+
directives: [
|
|
12065
|
+
{
|
|
12066
|
+
name: "show",
|
|
12067
|
+
rawName: "v-show",
|
|
12068
|
+
value: _vm.visible,
|
|
12069
|
+
expression: "visible"
|
|
12070
|
+
}
|
|
12071
|
+
],
|
|
12072
|
+
staticClass: "el-loading-mask",
|
|
12073
|
+
class: [_vm.customClass, { "is-fullscreen": _vm.fullscreen }],
|
|
12074
|
+
style: { backgroundColor: _vm.background || "" }
|
|
12075
|
+
},
|
|
12076
|
+
[
|
|
12077
|
+
_c("div", { staticClass: "el-loading-spinner" }, [
|
|
12078
|
+
!_vm.spinner
|
|
12079
|
+
? _c(
|
|
12080
|
+
"svg",
|
|
12081
|
+
{
|
|
12082
|
+
staticClass: "circular",
|
|
12083
|
+
attrs: { viewBox: "25 25 50 50" }
|
|
12084
|
+
},
|
|
12085
|
+
[
|
|
12086
|
+
_c("circle", {
|
|
12087
|
+
staticClass: "path",
|
|
12088
|
+
attrs: { cx: "50", cy: "50", r: "20", fill: "none" }
|
|
12089
|
+
})
|
|
12090
|
+
]
|
|
12091
|
+
)
|
|
12092
|
+
: _c("i", { class: _vm.spinner }),
|
|
12093
|
+
_vm.text
|
|
12094
|
+
? _c("p", { staticClass: "el-loading-text" }, [
|
|
12095
|
+
_vm._v(_vm._s(_vm.text))
|
|
12096
|
+
])
|
|
12097
|
+
: _vm._e()
|
|
12098
|
+
])
|
|
12099
|
+
]
|
|
12100
|
+
)
|
|
12101
|
+
]
|
|
12102
|
+
)
|
|
12103
|
+
}
|
|
12104
|
+
var staticRenderFns = []
|
|
12105
|
+
render._withStripped = true
|
|
11674
12106
|
|
|
11675
|
-
/* harmony default export */ var checkbox_groupvue_type_script_lang_js_ = ({
|
|
11676
|
-
name: 'ElCheckboxGroup',
|
|
11677
12107
|
|
|
11678
|
-
|
|
12108
|
+
// CONCATENATED MODULE: ./packages/loading/src/loading.vue?vue&type=template&id=eee0a7ac&
|
|
11679
12109
|
|
|
11680
|
-
|
|
12110
|
+
// 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&
|
|
12111
|
+
//
|
|
12112
|
+
//
|
|
12113
|
+
//
|
|
12114
|
+
//
|
|
12115
|
+
//
|
|
12116
|
+
//
|
|
12117
|
+
//
|
|
12118
|
+
//
|
|
12119
|
+
//
|
|
12120
|
+
//
|
|
12121
|
+
//
|
|
12122
|
+
//
|
|
12123
|
+
//
|
|
12124
|
+
//
|
|
12125
|
+
//
|
|
12126
|
+
//
|
|
12127
|
+
//
|
|
12128
|
+
//
|
|
11681
12129
|
|
|
11682
|
-
|
|
11683
|
-
|
|
11684
|
-
|
|
11685
|
-
|
|
12130
|
+
/* harmony default export */ var loadingvue_type_script_lang_js_ = ({
|
|
12131
|
+
data: function data() {
|
|
12132
|
+
return {
|
|
12133
|
+
text: null,
|
|
12134
|
+
spinner: null,
|
|
12135
|
+
background: null,
|
|
12136
|
+
fullscreen: true,
|
|
12137
|
+
visible: false,
|
|
12138
|
+
customClass: ''
|
|
12139
|
+
};
|
|
11686
12140
|
},
|
|
11687
12141
|
|
|
11688
|
-
props: {
|
|
11689
|
-
value: {},
|
|
11690
|
-
disabled: Boolean,
|
|
11691
|
-
min: Number,
|
|
11692
|
-
max: Number,
|
|
11693
|
-
size: String,
|
|
11694
|
-
fill: String,
|
|
11695
|
-
textColor: String
|
|
11696
|
-
},
|
|
11697
12142
|
|
|
11698
|
-
|
|
11699
|
-
|
|
11700
|
-
|
|
12143
|
+
methods: {
|
|
12144
|
+
handleAfterLeave: function handleAfterLeave() {
|
|
12145
|
+
this.$emit('after-leave');
|
|
11701
12146
|
},
|
|
11702
|
-
|
|
11703
|
-
|
|
11704
|
-
}
|
|
11705
|
-
},
|
|
11706
|
-
|
|
11707
|
-
watch: {
|
|
11708
|
-
value: function value(_value) {
|
|
11709
|
-
this.dispatch('ElFormItem', 'el.form.change', [_value]);
|
|
12147
|
+
setText: function setText(text) {
|
|
12148
|
+
this.text = text;
|
|
11710
12149
|
}
|
|
11711
12150
|
}
|
|
11712
12151
|
});
|
|
11713
|
-
// CONCATENATED MODULE: ./packages/
|
|
11714
|
-
/* harmony default export */ var
|
|
12152
|
+
// CONCATENATED MODULE: ./packages/loading/src/loading.vue?vue&type=script&lang=js&
|
|
12153
|
+
/* harmony default export */ var src_loadingvue_type_script_lang_js_ = (loadingvue_type_script_lang_js_);
|
|
11715
12154
|
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
11716
12155
|
var componentNormalizer = __webpack_require__(0);
|
|
11717
12156
|
|
|
11718
|
-
// CONCATENATED MODULE: ./packages/
|
|
12157
|
+
// CONCATENATED MODULE: ./packages/loading/src/loading.vue
|
|
11719
12158
|
|
|
11720
12159
|
|
|
11721
12160
|
|
|
@@ -11724,7 +12163,7 @@ var componentNormalizer = __webpack_require__(0);
|
|
|
11724
12163
|
/* normalize component */
|
|
11725
12164
|
|
|
11726
12165
|
var component = Object(componentNormalizer["a" /* default */])(
|
|
11727
|
-
|
|
12166
|
+
src_loadingvue_type_script_lang_js_,
|
|
11728
12167
|
render,
|
|
11729
12168
|
staticRenderFns,
|
|
11730
12169
|
false,
|
|
@@ -11736,321 +12175,282 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
11736
12175
|
|
|
11737
12176
|
/* hot reload */
|
|
11738
12177
|
if (false) { var api; }
|
|
11739
|
-
component.options.__file = "packages/
|
|
11740
|
-
/* harmony default export */ var
|
|
11741
|
-
//
|
|
11742
|
-
|
|
12178
|
+
component.options.__file = "packages/loading/src/loading.vue"
|
|
12179
|
+
/* harmony default export */ var loading = (component.exports);
|
|
12180
|
+
// EXTERNAL MODULE: external "element-ui/lib/utils/dom"
|
|
12181
|
+
var dom_ = __webpack_require__(2);
|
|
11743
12182
|
|
|
11744
|
-
|
|
11745
|
-
|
|
11746
|
-
Vue.component(checkbox_group.name, checkbox_group);
|
|
11747
|
-
};
|
|
12183
|
+
// EXTERNAL MODULE: external "element-ui/lib/utils/popup"
|
|
12184
|
+
var popup_ = __webpack_require__(13);
|
|
11748
12185
|
|
|
11749
|
-
|
|
12186
|
+
// EXTERNAL MODULE: external "element-ui/lib/utils/after-leave"
|
|
12187
|
+
var after_leave_ = __webpack_require__(42);
|
|
12188
|
+
var after_leave_default = /*#__PURE__*/__webpack_require__.n(after_leave_);
|
|
11750
12189
|
|
|
11751
|
-
|
|
12190
|
+
// CONCATENATED MODULE: ./packages/loading/src/directive.js
|
|
11752
12191
|
|
|
11753
|
-
/******/ });
|
|
11754
12192
|
|
|
11755
|
-
/***/ }),
|
|
11756
12193
|
|
|
11757
|
-
/***/ "8122":
|
|
11758
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
11759
12194
|
|
|
11760
|
-
"use strict";
|
|
11761
12195
|
|
|
12196
|
+
var Mask = external_vue_default.a.extend(loading);
|
|
11762
12197
|
|
|
11763
|
-
|
|
11764
|
-
|
|
12198
|
+
var loadingDirective = {};
|
|
12199
|
+
loadingDirective.install = function (Vue) {
|
|
12200
|
+
if (Vue.prototype.$isServer) return;
|
|
12201
|
+
var toggleLoading = function toggleLoading(el, binding) {
|
|
12202
|
+
if (binding.value) {
|
|
12203
|
+
Vue.nextTick(function () {
|
|
12204
|
+
if (binding.modifiers.fullscreen) {
|
|
12205
|
+
el.originalPosition = Object(dom_["getStyle"])(document.body, 'position');
|
|
12206
|
+
el.originalOverflow = Object(dom_["getStyle"])(document.body, 'overflow');
|
|
12207
|
+
el.maskStyle.zIndex = popup_["PopupManager"].nextZIndex();
|
|
11765
12208
|
|
|
11766
|
-
|
|
12209
|
+
Object(dom_["addClass"])(el.mask, 'is-fullscreen');
|
|
12210
|
+
insertDom(document.body, el, binding);
|
|
12211
|
+
} else {
|
|
12212
|
+
Object(dom_["removeClass"])(el.mask, 'is-fullscreen');
|
|
11767
12213
|
|
|
11768
|
-
|
|
11769
|
-
|
|
11770
|
-
exports.toObject = toObject;
|
|
11771
|
-
exports.getPropByPath = getPropByPath;
|
|
11772
|
-
exports.rafThrottle = rafThrottle;
|
|
11773
|
-
exports.objToArray = objToArray;
|
|
12214
|
+
if (binding.modifiers.body) {
|
|
12215
|
+
el.originalPosition = Object(dom_["getStyle"])(document.body, 'position');
|
|
11774
12216
|
|
|
11775
|
-
|
|
12217
|
+
['top', 'left'].forEach(function (property) {
|
|
12218
|
+
var scroll = property === 'top' ? 'scrollTop' : 'scrollLeft';
|
|
12219
|
+
el.maskStyle[property] = el.getBoundingClientRect()[property] + document.body[scroll] + document.documentElement[scroll] - parseInt(Object(dom_["getStyle"])(document.body, 'margin-' + property), 10) + 'px';
|
|
12220
|
+
});
|
|
12221
|
+
['height', 'width'].forEach(function (property) {
|
|
12222
|
+
el.maskStyle[property] = el.getBoundingClientRect()[property] + 'px';
|
|
12223
|
+
});
|
|
11776
12224
|
|
|
11777
|
-
|
|
12225
|
+
insertDom(document.body, el, binding);
|
|
12226
|
+
} else {
|
|
12227
|
+
el.originalPosition = Object(dom_["getStyle"])(el, 'position');
|
|
12228
|
+
insertDom(el, el, binding);
|
|
12229
|
+
}
|
|
12230
|
+
}
|
|
12231
|
+
});
|
|
12232
|
+
} else {
|
|
12233
|
+
after_leave_default()(el.instance, function (_) {
|
|
12234
|
+
if (!el.instance.hiding) return;
|
|
12235
|
+
el.domVisible = false;
|
|
12236
|
+
var target = binding.modifiers.fullscreen || binding.modifiers.body ? document.body : el;
|
|
12237
|
+
Object(dom_["removeClass"])(target, 'el-loading-parent--relative');
|
|
12238
|
+
Object(dom_["removeClass"])(target, 'el-loading-parent--hidden');
|
|
12239
|
+
el.instance.hiding = false;
|
|
12240
|
+
}, 300, true);
|
|
12241
|
+
el.instance.visible = false;
|
|
12242
|
+
el.instance.hiding = true;
|
|
12243
|
+
}
|
|
12244
|
+
};
|
|
12245
|
+
var insertDom = function insertDom(parent, el, binding) {
|
|
12246
|
+
if (!el.domVisible && Object(dom_["getStyle"])(el, 'display') !== 'none' && Object(dom_["getStyle"])(el, 'visibility') !== 'hidden') {
|
|
12247
|
+
Object.keys(el.maskStyle).forEach(function (property) {
|
|
12248
|
+
el.mask.style[property] = el.maskStyle[property];
|
|
12249
|
+
});
|
|
11778
12250
|
|
|
11779
|
-
|
|
12251
|
+
if (el.originalPosition !== 'absolute' && el.originalPosition !== 'fixed' && el.originalPosition !== 'sticky') {
|
|
12252
|
+
Object(dom_["addClass"])(parent, 'el-loading-parent--relative');
|
|
12253
|
+
}
|
|
12254
|
+
if (binding.modifiers.fullscreen && binding.modifiers.lock) {
|
|
12255
|
+
Object(dom_["addClass"])(parent, 'el-loading-parent--hidden');
|
|
12256
|
+
}
|
|
12257
|
+
el.domVisible = true;
|
|
11780
12258
|
|
|
11781
|
-
|
|
12259
|
+
parent.appendChild(el.mask);
|
|
12260
|
+
Vue.nextTick(function () {
|
|
12261
|
+
if (el.instance.hiding) {
|
|
12262
|
+
el.instance.$emit('after-leave');
|
|
12263
|
+
} else {
|
|
12264
|
+
el.instance.visible = true;
|
|
12265
|
+
}
|
|
12266
|
+
});
|
|
12267
|
+
el.domInserted = true;
|
|
12268
|
+
} else if (el.domVisible && el.instance.hiding === true) {
|
|
12269
|
+
el.instance.visible = true;
|
|
12270
|
+
el.instance.hiding = false;
|
|
12271
|
+
}
|
|
12272
|
+
};
|
|
11782
12273
|
|
|
11783
|
-
|
|
12274
|
+
Vue.directive('loading', {
|
|
12275
|
+
bind: function bind(el, binding, vnode) {
|
|
12276
|
+
var textExr = el.getAttribute('element-loading-text');
|
|
12277
|
+
var spinnerExr = el.getAttribute('element-loading-spinner');
|
|
12278
|
+
var backgroundExr = el.getAttribute('element-loading-background');
|
|
12279
|
+
var customClassExr = el.getAttribute('element-loading-custom-class');
|
|
12280
|
+
var vm = vnode.context;
|
|
12281
|
+
var mask = new Mask({
|
|
12282
|
+
el: document.createElement('div'),
|
|
12283
|
+
data: {
|
|
12284
|
+
text: vm && vm[textExr] || textExr,
|
|
12285
|
+
spinner: vm && vm[spinnerExr] || spinnerExr,
|
|
12286
|
+
background: vm && vm[backgroundExr] || backgroundExr,
|
|
12287
|
+
customClass: vm && vm[customClassExr] || customClassExr,
|
|
12288
|
+
fullscreen: !!binding.modifiers.fullscreen
|
|
12289
|
+
}
|
|
12290
|
+
});
|
|
12291
|
+
el.instance = mask;
|
|
12292
|
+
el.mask = mask.$el;
|
|
12293
|
+
el.maskStyle = {};
|
|
11784
12294
|
|
|
11785
|
-
|
|
12295
|
+
binding.value && toggleLoading(el, binding);
|
|
12296
|
+
},
|
|
11786
12297
|
|
|
11787
|
-
function
|
|
11788
|
-
|
|
11789
|
-
|
|
11790
|
-
|
|
11791
|
-
|
|
11792
|
-
|
|
11793
|
-
to[key] = _from[key];
|
|
11794
|
-
}
|
|
11795
|
-
return to;
|
|
11796
|
-
};
|
|
12298
|
+
update: function update(el, binding) {
|
|
12299
|
+
el.instance.setText(el.getAttribute('element-loading-text'));
|
|
12300
|
+
if (binding.oldValue !== binding.value) {
|
|
12301
|
+
toggleLoading(el, binding);
|
|
12302
|
+
}
|
|
12303
|
+
},
|
|
11797
12304
|
|
|
11798
|
-
function
|
|
11799
|
-
|
|
11800
|
-
|
|
11801
|
-
|
|
11802
|
-
|
|
12305
|
+
unbind: function unbind(el, binding) {
|
|
12306
|
+
if (el.domInserted) {
|
|
12307
|
+
el.mask && el.mask.parentNode && el.mask.parentNode.removeChild(el.mask);
|
|
12308
|
+
toggleLoading(el, { value: false, modifiers: binding.modifiers });
|
|
12309
|
+
}
|
|
12310
|
+
el.instance && el.instance.$destroy();
|
|
11803
12311
|
}
|
|
11804
|
-
}
|
|
11805
|
-
return res;
|
|
12312
|
+
});
|
|
11806
12313
|
};
|
|
11807
12314
|
|
|
11808
|
-
|
|
11809
|
-
|
|
11810
|
-
|
|
11811
|
-
|
|
11812
|
-
var result = null;
|
|
11813
|
-
for (var i = 0, j = paths.length; i < j; i++) {
|
|
11814
|
-
var path = paths[i];
|
|
11815
|
-
if (!current) break;
|
|
12315
|
+
/* harmony default export */ var directive = (loadingDirective);
|
|
12316
|
+
// EXTERNAL MODULE: external "element-ui/lib/utils/merge"
|
|
12317
|
+
var merge_ = __webpack_require__(9);
|
|
12318
|
+
var merge_default = /*#__PURE__*/__webpack_require__.n(merge_);
|
|
11816
12319
|
|
|
11817
|
-
|
|
11818
|
-
result = current[path];
|
|
11819
|
-
break;
|
|
11820
|
-
}
|
|
11821
|
-
current = current[path];
|
|
11822
|
-
}
|
|
11823
|
-
return result;
|
|
11824
|
-
};
|
|
12320
|
+
// CONCATENATED MODULE: ./packages/loading/src/index.js
|
|
11825
12321
|
|
|
11826
|
-
function getPropByPath(obj, path, strict) {
|
|
11827
|
-
var tempObj = obj;
|
|
11828
|
-
path = path.replace(/\[(\w+)\]/g, '.$1');
|
|
11829
|
-
path = path.replace(/^\./, '');
|
|
11830
12322
|
|
|
11831
|
-
var keyArr = path.split('.');
|
|
11832
|
-
var i = 0;
|
|
11833
|
-
for (var len = keyArr.length; i < len - 1; ++i) {
|
|
11834
|
-
if (!tempObj && !strict) break;
|
|
11835
|
-
var key = keyArr[i];
|
|
11836
|
-
if (key in tempObj) {
|
|
11837
|
-
tempObj = tempObj[key];
|
|
11838
|
-
} else {
|
|
11839
|
-
if (strict) {
|
|
11840
|
-
throw new Error('please transfer a valid prop path to form item!');
|
|
11841
|
-
}
|
|
11842
|
-
break;
|
|
11843
|
-
}
|
|
11844
|
-
}
|
|
11845
|
-
return {
|
|
11846
|
-
o: tempObj,
|
|
11847
|
-
k: keyArr[i],
|
|
11848
|
-
v: tempObj ? tempObj[keyArr[i]] : null
|
|
11849
|
-
};
|
|
11850
|
-
};
|
|
11851
12323
|
|
|
11852
|
-
var generateId = exports.generateId = function generateId() {
|
|
11853
|
-
return Math.floor(Math.random() * 10000);
|
|
11854
|
-
};
|
|
11855
12324
|
|
|
11856
|
-
var valueEquals = exports.valueEquals = function valueEquals(a, b) {
|
|
11857
|
-
// see: https://stackoverflow.com/questions/3115982/how-to-check-if-two-arrays-are-equal-with-javascript
|
|
11858
|
-
if (a === b) return true;
|
|
11859
|
-
if (!(a instanceof Array)) return false;
|
|
11860
|
-
if (!(b instanceof Array)) return false;
|
|
11861
|
-
if (a.length !== b.length) return false;
|
|
11862
|
-
for (var i = 0; i !== a.length; ++i) {
|
|
11863
|
-
if (a[i] !== b[i]) return false;
|
|
11864
|
-
}
|
|
11865
|
-
return true;
|
|
11866
|
-
};
|
|
11867
12325
|
|
|
11868
|
-
var escapeRegexpString = exports.escapeRegexpString = function escapeRegexpString() {
|
|
11869
|
-
var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
|
|
11870
|
-
return String(value).replace(/[|\\{}()[\]^$+*?.]/g, '\\$&');
|
|
11871
|
-
};
|
|
11872
12326
|
|
|
11873
|
-
// TODO: use native Array.find, Array.findIndex when IE support is dropped
|
|
11874
|
-
var arrayFindIndex = exports.arrayFindIndex = function arrayFindIndex(arr, pred) {
|
|
11875
|
-
for (var i = 0; i !== arr.length; ++i) {
|
|
11876
|
-
if (pred(arr[i])) {
|
|
11877
|
-
return i;
|
|
11878
|
-
}
|
|
11879
|
-
}
|
|
11880
|
-
return -1;
|
|
11881
|
-
};
|
|
11882
12327
|
|
|
11883
|
-
var
|
|
11884
|
-
var idx = arrayFindIndex(arr, pred);
|
|
11885
|
-
return idx !== -1 ? arr[idx] : undefined;
|
|
11886
|
-
};
|
|
12328
|
+
var LoadingConstructor = external_vue_default.a.extend(loading);
|
|
11887
12329
|
|
|
11888
|
-
|
|
11889
|
-
|
|
11890
|
-
|
|
11891
|
-
|
|
11892
|
-
|
|
11893
|
-
|
|
11894
|
-
} else {
|
|
11895
|
-
return [];
|
|
11896
|
-
}
|
|
12330
|
+
var defaults = {
|
|
12331
|
+
text: null,
|
|
12332
|
+
fullscreen: true,
|
|
12333
|
+
body: false,
|
|
12334
|
+
lock: false,
|
|
12335
|
+
customClass: ''
|
|
11897
12336
|
};
|
|
11898
12337
|
|
|
11899
|
-
var
|
|
11900
|
-
return !_vue2.default.prototype.$isServer && !isNaN(Number(document.documentMode));
|
|
11901
|
-
};
|
|
12338
|
+
var fullscreenLoading = void 0;
|
|
11902
12339
|
|
|
11903
|
-
|
|
11904
|
-
|
|
11905
|
-
};
|
|
12340
|
+
LoadingConstructor.prototype.originalPosition = '';
|
|
12341
|
+
LoadingConstructor.prototype.originalOverflow = '';
|
|
11906
12342
|
|
|
11907
|
-
|
|
11908
|
-
|
|
11909
|
-
};
|
|
12343
|
+
LoadingConstructor.prototype.close = function () {
|
|
12344
|
+
var _this = this;
|
|
11910
12345
|
|
|
11911
|
-
|
|
11912
|
-
|
|
11913
|
-
|
|
11914
|
-
|
|
11915
|
-
|
|
11916
|
-
|
|
11917
|
-
|
|
11918
|
-
|
|
11919
|
-
|
|
11920
|
-
});
|
|
12346
|
+
if (this.fullscreen) {
|
|
12347
|
+
fullscreenLoading = undefined;
|
|
12348
|
+
}
|
|
12349
|
+
after_leave_default()(this, function (_) {
|
|
12350
|
+
var target = _this.fullscreen || _this.body ? document.body : _this.target;
|
|
12351
|
+
Object(dom_["removeClass"])(target, 'el-loading-parent--relative');
|
|
12352
|
+
Object(dom_["removeClass"])(target, 'el-loading-parent--hidden');
|
|
12353
|
+
if (_this.$el && _this.$el.parentNode) {
|
|
12354
|
+
_this.$el.parentNode.removeChild(_this.$el);
|
|
11921
12355
|
}
|
|
11922
|
-
|
|
11923
|
-
|
|
11924
|
-
|
|
11925
|
-
|
|
11926
|
-
var kebabCase = exports.kebabCase = function kebabCase(str) {
|
|
11927
|
-
var hyphenateRE = /([^-])([A-Z])/g;
|
|
11928
|
-
return str.replace(hyphenateRE, '$1-$2').replace(hyphenateRE, '$1-$2').toLowerCase();
|
|
11929
|
-
};
|
|
11930
|
-
|
|
11931
|
-
var capitalize = exports.capitalize = function capitalize(str) {
|
|
11932
|
-
if (!(0, _types.isString)(str)) return str;
|
|
11933
|
-
return str.charAt(0).toUpperCase() + str.slice(1);
|
|
12356
|
+
_this.$destroy();
|
|
12357
|
+
}, 300);
|
|
12358
|
+
this.visible = false;
|
|
11934
12359
|
};
|
|
11935
12360
|
|
|
11936
|
-
var
|
|
11937
|
-
var
|
|
11938
|
-
|
|
11939
|
-
|
|
11940
|
-
|
|
11941
|
-
|
|
11942
|
-
|
|
12361
|
+
var src_addStyle = function addStyle(options, parent, instance) {
|
|
12362
|
+
var maskStyle = {};
|
|
12363
|
+
if (options.fullscreen) {
|
|
12364
|
+
instance.originalPosition = Object(dom_["getStyle"])(document.body, 'position');
|
|
12365
|
+
instance.originalOverflow = Object(dom_["getStyle"])(document.body, 'overflow');
|
|
12366
|
+
maskStyle.zIndex = popup_["PopupManager"].nextZIndex();
|
|
12367
|
+
} else if (options.body) {
|
|
12368
|
+
instance.originalPosition = Object(dom_["getStyle"])(document.body, 'position');
|
|
12369
|
+
['top', 'left'].forEach(function (property) {
|
|
12370
|
+
var scroll = property === 'top' ? 'scrollTop' : 'scrollLeft';
|
|
12371
|
+
maskStyle[property] = options.target.getBoundingClientRect()[property] + document.body[scroll] + document.documentElement[scroll] + 'px';
|
|
12372
|
+
});
|
|
12373
|
+
['height', 'width'].forEach(function (property) {
|
|
12374
|
+
maskStyle[property] = options.target.getBoundingClientRect()[property] + 'px';
|
|
12375
|
+
});
|
|
11943
12376
|
} else {
|
|
11944
|
-
|
|
12377
|
+
instance.originalPosition = Object(dom_["getStyle"])(parent, 'position');
|
|
11945
12378
|
}
|
|
12379
|
+
Object.keys(maskStyle).forEach(function (property) {
|
|
12380
|
+
instance.$el.style[property] = maskStyle[property];
|
|
12381
|
+
});
|
|
11946
12382
|
};
|
|
11947
12383
|
|
|
11948
|
-
var
|
|
11949
|
-
|
|
11950
|
-
arrayB = arrayB || [];
|
|
12384
|
+
var src_Loading = function Loading() {
|
|
12385
|
+
var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
11951
12386
|
|
|
11952
|
-
if (
|
|
11953
|
-
|
|
12387
|
+
if (external_vue_default.a.prototype.$isServer) return;
|
|
12388
|
+
options = merge_default()({}, defaults, options);
|
|
12389
|
+
if (typeof options.target === 'string') {
|
|
12390
|
+
options.target = document.querySelector(options.target);
|
|
11954
12391
|
}
|
|
11955
|
-
|
|
11956
|
-
|
|
11957
|
-
|
|
11958
|
-
|
|
11959
|
-
|
|
12392
|
+
options.target = options.target || document.body;
|
|
12393
|
+
if (options.target !== document.body) {
|
|
12394
|
+
options.fullscreen = false;
|
|
12395
|
+
} else {
|
|
12396
|
+
options.body = true;
|
|
12397
|
+
}
|
|
12398
|
+
if (options.fullscreen && fullscreenLoading) {
|
|
12399
|
+
return fullscreenLoading;
|
|
11960
12400
|
}
|
|
11961
12401
|
|
|
11962
|
-
|
|
11963
|
-
|
|
12402
|
+
var parent = options.body ? document.body : options.target;
|
|
12403
|
+
var instance = new LoadingConstructor({
|
|
12404
|
+
el: document.createElement('div'),
|
|
12405
|
+
data: options
|
|
12406
|
+
});
|
|
11964
12407
|
|
|
11965
|
-
|
|
11966
|
-
if (
|
|
11967
|
-
|
|
12408
|
+
src_addStyle(options, parent, instance);
|
|
12409
|
+
if (instance.originalPosition !== 'absolute' && instance.originalPosition !== 'fixed' && instance.originalPosition !== 'sticky') {
|
|
12410
|
+
Object(dom_["addClass"])(parent, 'el-loading-parent--relative');
|
|
11968
12411
|
}
|
|
11969
|
-
|
|
12412
|
+
if (options.fullscreen && options.lock) {
|
|
12413
|
+
Object(dom_["addClass"])(parent, 'el-loading-parent--hidden');
|
|
12414
|
+
}
|
|
12415
|
+
parent.appendChild(instance.$el);
|
|
12416
|
+
external_vue_default.a.nextTick(function () {
|
|
12417
|
+
instance.visible = true;
|
|
12418
|
+
});
|
|
12419
|
+
if (options.fullscreen) {
|
|
12420
|
+
fullscreenLoading = instance;
|
|
12421
|
+
}
|
|
12422
|
+
return instance;
|
|
11970
12423
|
};
|
|
11971
12424
|
|
|
11972
|
-
|
|
11973
|
-
|
|
11974
|
-
if (val == null) return true;
|
|
12425
|
+
/* harmony default export */ var src = (src_Loading);
|
|
12426
|
+
// CONCATENATED MODULE: ./packages/loading/index.js
|
|
11975
12427
|
|
|
11976
|
-
if (typeof val === 'boolean') return false;
|
|
11977
12428
|
|
|
11978
|
-
if (typeof val === 'number') return !val;
|
|
11979
12429
|
|
|
11980
|
-
|
|
12430
|
+
/* harmony default export */ var packages_loading = __webpack_exports__["default"] = ({
|
|
12431
|
+
install: function install(Vue) {
|
|
12432
|
+
Vue.use(directive);
|
|
12433
|
+
Vue.prototype.$loading = src;
|
|
12434
|
+
},
|
|
11981
12435
|
|
|
11982
|
-
|
|
11983
|
-
|
|
11984
|
-
|
|
11985
|
-
case '[object Array]':
|
|
11986
|
-
return !val.length;
|
|
11987
|
-
|
|
11988
|
-
// Map or Set or File
|
|
11989
|
-
case '[object File]':
|
|
11990
|
-
case '[object Map]':
|
|
11991
|
-
case '[object Set]':
|
|
11992
|
-
{
|
|
11993
|
-
return !val.size;
|
|
11994
|
-
}
|
|
11995
|
-
// Plain Object
|
|
11996
|
-
case '[object Object]':
|
|
11997
|
-
{
|
|
11998
|
-
return !Object.keys(val).length;
|
|
11999
|
-
}
|
|
12000
|
-
}
|
|
12001
|
-
|
|
12002
|
-
return false;
|
|
12003
|
-
};
|
|
12004
|
-
|
|
12005
|
-
function rafThrottle(fn) {
|
|
12006
|
-
var locked = false;
|
|
12007
|
-
return function () {
|
|
12008
|
-
var _this = this;
|
|
12009
|
-
|
|
12010
|
-
for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
|
|
12011
|
-
args[_key] = arguments[_key];
|
|
12012
|
-
}
|
|
12013
|
-
|
|
12014
|
-
if (locked) return;
|
|
12015
|
-
locked = true;
|
|
12016
|
-
window.requestAnimationFrame(function (_) {
|
|
12017
|
-
fn.apply(_this, args);
|
|
12018
|
-
locked = false;
|
|
12019
|
-
});
|
|
12020
|
-
};
|
|
12021
|
-
}
|
|
12022
|
-
|
|
12023
|
-
function objToArray(obj) {
|
|
12024
|
-
if (Array.isArray(obj)) {
|
|
12025
|
-
return obj;
|
|
12026
|
-
}
|
|
12027
|
-
return isEmpty(obj) ? [] : [obj];
|
|
12028
|
-
}
|
|
12029
|
-
|
|
12030
|
-
/***/ }),
|
|
12031
|
-
|
|
12032
|
-
/***/ "831f":
|
|
12033
|
-
/***/ (function(module, exports) {
|
|
12034
|
-
|
|
12035
|
-
module.exports = require("throttle-debounce");
|
|
12436
|
+
directive: directive,
|
|
12437
|
+
service: src
|
|
12438
|
+
});
|
|
12036
12439
|
|
|
12037
12440
|
/***/ }),
|
|
12038
12441
|
|
|
12039
|
-
/***/
|
|
12442
|
+
/***/ 9:
|
|
12040
12443
|
/***/ (function(module, exports) {
|
|
12041
12444
|
|
|
12042
|
-
module.exports =
|
|
12043
|
-
|
|
12044
|
-
/***/ }),
|
|
12445
|
+
module.exports = __webpack_require__("7f4d");
|
|
12045
12446
|
|
|
12046
|
-
/***/
|
|
12047
|
-
/***/ (function(module, exports) {
|
|
12447
|
+
/***/ })
|
|
12048
12448
|
|
|
12049
|
-
|
|
12449
|
+
/******/ });
|
|
12050
12450
|
|
|
12051
12451
|
/***/ }),
|
|
12052
12452
|
|
|
12053
|
-
/***/ "
|
|
12453
|
+
/***/ "8bbc":
|
|
12054
12454
|
/***/ (function(module, exports, __webpack_require__) {
|
|
12055
12455
|
|
|
12056
12456
|
module.exports =
|
|
@@ -12137,7 +12537,7 @@ module.exports =
|
|
|
12137
12537
|
/******/
|
|
12138
12538
|
/******/
|
|
12139
12539
|
/******/ // Load entry module and return exports
|
|
12140
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
12540
|
+
/******/ return __webpack_require__(__webpack_require__.s = 132);
|
|
12141
12541
|
/******/ })
|
|
12142
12542
|
/************************************************************************/
|
|
12143
12543
|
/******/ ({
|
|
@@ -12244,796 +12644,171 @@ function normalizeComponent (
|
|
|
12244
12644
|
|
|
12245
12645
|
/***/ }),
|
|
12246
12646
|
|
|
12247
|
-
/***/
|
|
12647
|
+
/***/ 132:
|
|
12648
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
12649
|
+
|
|
12650
|
+
"use strict";
|
|
12651
|
+
__webpack_require__.r(__webpack_exports__);
|
|
12652
|
+
|
|
12653
|
+
// 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&
|
|
12654
|
+
|
|
12655
|
+
/* harmony default export */ var tagvue_type_script_lang_js_ = ({
|
|
12656
|
+
name: 'ElTag',
|
|
12657
|
+
props: {
|
|
12658
|
+
text: String,
|
|
12659
|
+
closable: Boolean,
|
|
12660
|
+
type: String,
|
|
12661
|
+
hit: Boolean,
|
|
12662
|
+
disableTransitions: Boolean,
|
|
12663
|
+
color: String,
|
|
12664
|
+
size: String,
|
|
12665
|
+
effect: {
|
|
12666
|
+
type: String,
|
|
12667
|
+
default: 'light',
|
|
12668
|
+
validator: function validator(val) {
|
|
12669
|
+
return ['dark', 'light', 'plain'].indexOf(val) !== -1;
|
|
12670
|
+
}
|
|
12671
|
+
}
|
|
12672
|
+
},
|
|
12673
|
+
methods: {
|
|
12674
|
+
handleClose: function handleClose(event) {
|
|
12675
|
+
event.stopPropagation();
|
|
12676
|
+
this.$emit('close', event);
|
|
12677
|
+
},
|
|
12678
|
+
handleClick: function handleClick(event) {
|
|
12679
|
+
this.$emit('click', event);
|
|
12680
|
+
}
|
|
12681
|
+
},
|
|
12682
|
+
computed: {
|
|
12683
|
+
tagSize: function tagSize() {
|
|
12684
|
+
return this.size || (this.$ELEMENT || {}).size;
|
|
12685
|
+
}
|
|
12686
|
+
},
|
|
12687
|
+
render: function render(h) {
|
|
12688
|
+
var type = this.type,
|
|
12689
|
+
tagSize = this.tagSize,
|
|
12690
|
+
hit = this.hit,
|
|
12691
|
+
effect = this.effect;
|
|
12692
|
+
|
|
12693
|
+
var classes = ['el-tag', type ? 'el-tag--' + type : '', tagSize ? 'el-tag--' + tagSize : '', effect ? 'el-tag--' + effect : '', hit && 'is-hit'];
|
|
12694
|
+
var tagEl = h(
|
|
12695
|
+
'span',
|
|
12696
|
+
{
|
|
12697
|
+
'class': classes,
|
|
12698
|
+
style: { backgroundColor: this.color },
|
|
12699
|
+
on: {
|
|
12700
|
+
'click': this.handleClick
|
|
12701
|
+
}
|
|
12702
|
+
},
|
|
12703
|
+
[this.$slots.default, this.closable && h('i', { 'class': 'el-tag__close el-icon-close', on: {
|
|
12704
|
+
'click': this.handleClose
|
|
12705
|
+
}
|
|
12706
|
+
})]
|
|
12707
|
+
);
|
|
12708
|
+
|
|
12709
|
+
return this.disableTransitions ? tagEl : h(
|
|
12710
|
+
'transition',
|
|
12711
|
+
{
|
|
12712
|
+
attrs: { name: 'el-zoom-in-center' }
|
|
12713
|
+
},
|
|
12714
|
+
[tagEl]
|
|
12715
|
+
);
|
|
12716
|
+
}
|
|
12717
|
+
});
|
|
12718
|
+
// CONCATENATED MODULE: ./packages/tag/src/tag.vue?vue&type=script&lang=js&
|
|
12719
|
+
/* harmony default export */ var src_tagvue_type_script_lang_js_ = (tagvue_type_script_lang_js_);
|
|
12720
|
+
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
12721
|
+
var componentNormalizer = __webpack_require__(0);
|
|
12722
|
+
|
|
12723
|
+
// CONCATENATED MODULE: ./packages/tag/src/tag.vue
|
|
12724
|
+
var render, staticRenderFns
|
|
12725
|
+
|
|
12726
|
+
|
|
12727
|
+
|
|
12728
|
+
|
|
12729
|
+
/* normalize component */
|
|
12730
|
+
|
|
12731
|
+
var component = Object(componentNormalizer["a" /* default */])(
|
|
12732
|
+
src_tagvue_type_script_lang_js_,
|
|
12733
|
+
render,
|
|
12734
|
+
staticRenderFns,
|
|
12735
|
+
false,
|
|
12736
|
+
null,
|
|
12737
|
+
null,
|
|
12738
|
+
null
|
|
12739
|
+
|
|
12740
|
+
)
|
|
12741
|
+
|
|
12742
|
+
/* hot reload */
|
|
12743
|
+
if (false) { var api; }
|
|
12744
|
+
component.options.__file = "packages/tag/src/tag.vue"
|
|
12745
|
+
/* harmony default export */ var tag = (component.exports);
|
|
12746
|
+
// CONCATENATED MODULE: ./packages/tag/index.js
|
|
12747
|
+
|
|
12748
|
+
|
|
12749
|
+
/* istanbul ignore next */
|
|
12750
|
+
tag.install = function (Vue) {
|
|
12751
|
+
Vue.component(tag.name, tag);
|
|
12752
|
+
};
|
|
12753
|
+
|
|
12754
|
+
/* harmony default export */ var packages_tag = __webpack_exports__["default"] = (tag);
|
|
12755
|
+
|
|
12756
|
+
/***/ })
|
|
12757
|
+
|
|
12758
|
+
/******/ });
|
|
12759
|
+
|
|
12760
|
+
/***/ }),
|
|
12761
|
+
|
|
12762
|
+
/***/ "8bbf":
|
|
12248
12763
|
/***/ (function(module, exports) {
|
|
12249
12764
|
|
|
12250
|
-
module.exports =
|
|
12765
|
+
module.exports = require("vue");
|
|
12251
12766
|
|
|
12252
12767
|
/***/ }),
|
|
12253
12768
|
|
|
12254
|
-
/***/
|
|
12769
|
+
/***/ "97d3":
|
|
12255
12770
|
/***/ (function(module, exports) {
|
|
12256
12771
|
|
|
12257
|
-
module.exports =
|
|
12772
|
+
module.exports = require("core-js/modules/es.object.to-string.js");
|
|
12258
12773
|
|
|
12259
12774
|
/***/ }),
|
|
12260
12775
|
|
|
12261
|
-
/***/
|
|
12776
|
+
/***/ "9b22":
|
|
12262
12777
|
/***/ (function(module, exports) {
|
|
12263
12778
|
|
|
12264
|
-
module.exports =
|
|
12779
|
+
module.exports = require("core-js/modules/es.symbol.js");
|
|
12265
12780
|
|
|
12266
12781
|
/***/ }),
|
|
12267
12782
|
|
|
12268
|
-
/***/
|
|
12783
|
+
/***/ "9b89":
|
|
12784
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
12785
|
+
|
|
12786
|
+
// extracted by mini-css-extract-plugin
|
|
12787
|
+
|
|
12788
|
+
/***/ }),
|
|
12789
|
+
|
|
12790
|
+
/***/ "9bb0":
|
|
12269
12791
|
/***/ (function(module, exports) {
|
|
12270
12792
|
|
|
12271
|
-
module.exports =
|
|
12793
|
+
module.exports = require("@soda/get-current-script");
|
|
12272
12794
|
|
|
12273
12795
|
/***/ }),
|
|
12274
12796
|
|
|
12275
|
-
/***/
|
|
12797
|
+
/***/ "9bb5":
|
|
12798
|
+
/***/ (function(module, exports) {
|
|
12799
|
+
|
|
12800
|
+
module.exports = require("core-js/modules/es.string.iterator.js");
|
|
12801
|
+
|
|
12802
|
+
/***/ }),
|
|
12803
|
+
|
|
12804
|
+
/***/ "9c3a":
|
|
12276
12805
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
12277
12806
|
|
|
12278
12807
|
"use strict";
|
|
12279
|
-
__webpack_require__
|
|
12808
|
+
/* 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");
|
|
12809
|
+
/* 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__);
|
|
12810
|
+
/* unused harmony reexport * */
|
|
12280
12811
|
|
|
12281
|
-
// EXTERNAL MODULE: external "vue"
|
|
12282
|
-
var external_vue_ = __webpack_require__(7);
|
|
12283
|
-
var external_vue_default = /*#__PURE__*/__webpack_require__.n(external_vue_);
|
|
12284
|
-
|
|
12285
|
-
// 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&
|
|
12286
|
-
var render = function() {
|
|
12287
|
-
var _vm = this
|
|
12288
|
-
var _h = _vm.$createElement
|
|
12289
|
-
var _c = _vm._self._c || _h
|
|
12290
|
-
return _c(
|
|
12291
|
-
"transition",
|
|
12292
|
-
{
|
|
12293
|
-
attrs: { name: "el-loading-fade" },
|
|
12294
|
-
on: { "after-leave": _vm.handleAfterLeave }
|
|
12295
|
-
},
|
|
12296
|
-
[
|
|
12297
|
-
_c(
|
|
12298
|
-
"div",
|
|
12299
|
-
{
|
|
12300
|
-
directives: [
|
|
12301
|
-
{
|
|
12302
|
-
name: "show",
|
|
12303
|
-
rawName: "v-show",
|
|
12304
|
-
value: _vm.visible,
|
|
12305
|
-
expression: "visible"
|
|
12306
|
-
}
|
|
12307
|
-
],
|
|
12308
|
-
staticClass: "el-loading-mask",
|
|
12309
|
-
class: [_vm.customClass, { "is-fullscreen": _vm.fullscreen }],
|
|
12310
|
-
style: { backgroundColor: _vm.background || "" }
|
|
12311
|
-
},
|
|
12312
|
-
[
|
|
12313
|
-
_c("div", { staticClass: "el-loading-spinner" }, [
|
|
12314
|
-
!_vm.spinner
|
|
12315
|
-
? _c(
|
|
12316
|
-
"svg",
|
|
12317
|
-
{
|
|
12318
|
-
staticClass: "circular",
|
|
12319
|
-
attrs: { viewBox: "25 25 50 50" }
|
|
12320
|
-
},
|
|
12321
|
-
[
|
|
12322
|
-
_c("circle", {
|
|
12323
|
-
staticClass: "path",
|
|
12324
|
-
attrs: { cx: "50", cy: "50", r: "20", fill: "none" }
|
|
12325
|
-
})
|
|
12326
|
-
]
|
|
12327
|
-
)
|
|
12328
|
-
: _c("i", { class: _vm.spinner }),
|
|
12329
|
-
_vm.text
|
|
12330
|
-
? _c("p", { staticClass: "el-loading-text" }, [
|
|
12331
|
-
_vm._v(_vm._s(_vm.text))
|
|
12332
|
-
])
|
|
12333
|
-
: _vm._e()
|
|
12334
|
-
])
|
|
12335
|
-
]
|
|
12336
|
-
)
|
|
12337
|
-
]
|
|
12338
|
-
)
|
|
12339
|
-
}
|
|
12340
|
-
var staticRenderFns = []
|
|
12341
|
-
render._withStripped = true
|
|
12342
|
-
|
|
12343
|
-
|
|
12344
|
-
// CONCATENATED MODULE: ./packages/loading/src/loading.vue?vue&type=template&id=eee0a7ac&
|
|
12345
|
-
|
|
12346
|
-
// 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&
|
|
12347
|
-
//
|
|
12348
|
-
//
|
|
12349
|
-
//
|
|
12350
|
-
//
|
|
12351
|
-
//
|
|
12352
|
-
//
|
|
12353
|
-
//
|
|
12354
|
-
//
|
|
12355
|
-
//
|
|
12356
|
-
//
|
|
12357
|
-
//
|
|
12358
|
-
//
|
|
12359
|
-
//
|
|
12360
|
-
//
|
|
12361
|
-
//
|
|
12362
|
-
//
|
|
12363
|
-
//
|
|
12364
|
-
//
|
|
12365
|
-
|
|
12366
|
-
/* harmony default export */ var loadingvue_type_script_lang_js_ = ({
|
|
12367
|
-
data: function data() {
|
|
12368
|
-
return {
|
|
12369
|
-
text: null,
|
|
12370
|
-
spinner: null,
|
|
12371
|
-
background: null,
|
|
12372
|
-
fullscreen: true,
|
|
12373
|
-
visible: false,
|
|
12374
|
-
customClass: ''
|
|
12375
|
-
};
|
|
12376
|
-
},
|
|
12377
|
-
|
|
12378
|
-
|
|
12379
|
-
methods: {
|
|
12380
|
-
handleAfterLeave: function handleAfterLeave() {
|
|
12381
|
-
this.$emit('after-leave');
|
|
12382
|
-
},
|
|
12383
|
-
setText: function setText(text) {
|
|
12384
|
-
this.text = text;
|
|
12385
|
-
}
|
|
12386
|
-
}
|
|
12387
|
-
});
|
|
12388
|
-
// CONCATENATED MODULE: ./packages/loading/src/loading.vue?vue&type=script&lang=js&
|
|
12389
|
-
/* harmony default export */ var src_loadingvue_type_script_lang_js_ = (loadingvue_type_script_lang_js_);
|
|
12390
|
-
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
12391
|
-
var componentNormalizer = __webpack_require__(0);
|
|
12392
|
-
|
|
12393
|
-
// CONCATENATED MODULE: ./packages/loading/src/loading.vue
|
|
12394
|
-
|
|
12395
|
-
|
|
12396
|
-
|
|
12397
|
-
|
|
12398
|
-
|
|
12399
|
-
/* normalize component */
|
|
12400
|
-
|
|
12401
|
-
var component = Object(componentNormalizer["a" /* default */])(
|
|
12402
|
-
src_loadingvue_type_script_lang_js_,
|
|
12403
|
-
render,
|
|
12404
|
-
staticRenderFns,
|
|
12405
|
-
false,
|
|
12406
|
-
null,
|
|
12407
|
-
null,
|
|
12408
|
-
null
|
|
12409
|
-
|
|
12410
|
-
)
|
|
12411
|
-
|
|
12412
|
-
/* hot reload */
|
|
12413
|
-
if (false) { var api; }
|
|
12414
|
-
component.options.__file = "packages/loading/src/loading.vue"
|
|
12415
|
-
/* harmony default export */ var loading = (component.exports);
|
|
12416
|
-
// EXTERNAL MODULE: external "element-ui/lib/utils/dom"
|
|
12417
|
-
var dom_ = __webpack_require__(2);
|
|
12418
|
-
|
|
12419
|
-
// EXTERNAL MODULE: external "element-ui/lib/utils/popup"
|
|
12420
|
-
var popup_ = __webpack_require__(13);
|
|
12421
|
-
|
|
12422
|
-
// EXTERNAL MODULE: external "element-ui/lib/utils/after-leave"
|
|
12423
|
-
var after_leave_ = __webpack_require__(42);
|
|
12424
|
-
var after_leave_default = /*#__PURE__*/__webpack_require__.n(after_leave_);
|
|
12425
|
-
|
|
12426
|
-
// CONCATENATED MODULE: ./packages/loading/src/directive.js
|
|
12427
|
-
|
|
12428
|
-
|
|
12429
|
-
|
|
12430
|
-
|
|
12431
|
-
|
|
12432
|
-
var Mask = external_vue_default.a.extend(loading);
|
|
12433
|
-
|
|
12434
|
-
var loadingDirective = {};
|
|
12435
|
-
loadingDirective.install = function (Vue) {
|
|
12436
|
-
if (Vue.prototype.$isServer) return;
|
|
12437
|
-
var toggleLoading = function toggleLoading(el, binding) {
|
|
12438
|
-
if (binding.value) {
|
|
12439
|
-
Vue.nextTick(function () {
|
|
12440
|
-
if (binding.modifiers.fullscreen) {
|
|
12441
|
-
el.originalPosition = Object(dom_["getStyle"])(document.body, 'position');
|
|
12442
|
-
el.originalOverflow = Object(dom_["getStyle"])(document.body, 'overflow');
|
|
12443
|
-
el.maskStyle.zIndex = popup_["PopupManager"].nextZIndex();
|
|
12444
|
-
|
|
12445
|
-
Object(dom_["addClass"])(el.mask, 'is-fullscreen');
|
|
12446
|
-
insertDom(document.body, el, binding);
|
|
12447
|
-
} else {
|
|
12448
|
-
Object(dom_["removeClass"])(el.mask, 'is-fullscreen');
|
|
12449
|
-
|
|
12450
|
-
if (binding.modifiers.body) {
|
|
12451
|
-
el.originalPosition = Object(dom_["getStyle"])(document.body, 'position');
|
|
12452
|
-
|
|
12453
|
-
['top', 'left'].forEach(function (property) {
|
|
12454
|
-
var scroll = property === 'top' ? 'scrollTop' : 'scrollLeft';
|
|
12455
|
-
el.maskStyle[property] = el.getBoundingClientRect()[property] + document.body[scroll] + document.documentElement[scroll] - parseInt(Object(dom_["getStyle"])(document.body, 'margin-' + property), 10) + 'px';
|
|
12456
|
-
});
|
|
12457
|
-
['height', 'width'].forEach(function (property) {
|
|
12458
|
-
el.maskStyle[property] = el.getBoundingClientRect()[property] + 'px';
|
|
12459
|
-
});
|
|
12460
|
-
|
|
12461
|
-
insertDom(document.body, el, binding);
|
|
12462
|
-
} else {
|
|
12463
|
-
el.originalPosition = Object(dom_["getStyle"])(el, 'position');
|
|
12464
|
-
insertDom(el, el, binding);
|
|
12465
|
-
}
|
|
12466
|
-
}
|
|
12467
|
-
});
|
|
12468
|
-
} else {
|
|
12469
|
-
after_leave_default()(el.instance, function (_) {
|
|
12470
|
-
if (!el.instance.hiding) return;
|
|
12471
|
-
el.domVisible = false;
|
|
12472
|
-
var target = binding.modifiers.fullscreen || binding.modifiers.body ? document.body : el;
|
|
12473
|
-
Object(dom_["removeClass"])(target, 'el-loading-parent--relative');
|
|
12474
|
-
Object(dom_["removeClass"])(target, 'el-loading-parent--hidden');
|
|
12475
|
-
el.instance.hiding = false;
|
|
12476
|
-
}, 300, true);
|
|
12477
|
-
el.instance.visible = false;
|
|
12478
|
-
el.instance.hiding = true;
|
|
12479
|
-
}
|
|
12480
|
-
};
|
|
12481
|
-
var insertDom = function insertDom(parent, el, binding) {
|
|
12482
|
-
if (!el.domVisible && Object(dom_["getStyle"])(el, 'display') !== 'none' && Object(dom_["getStyle"])(el, 'visibility') !== 'hidden') {
|
|
12483
|
-
Object.keys(el.maskStyle).forEach(function (property) {
|
|
12484
|
-
el.mask.style[property] = el.maskStyle[property];
|
|
12485
|
-
});
|
|
12486
|
-
|
|
12487
|
-
if (el.originalPosition !== 'absolute' && el.originalPosition !== 'fixed' && el.originalPosition !== 'sticky') {
|
|
12488
|
-
Object(dom_["addClass"])(parent, 'el-loading-parent--relative');
|
|
12489
|
-
}
|
|
12490
|
-
if (binding.modifiers.fullscreen && binding.modifiers.lock) {
|
|
12491
|
-
Object(dom_["addClass"])(parent, 'el-loading-parent--hidden');
|
|
12492
|
-
}
|
|
12493
|
-
el.domVisible = true;
|
|
12494
|
-
|
|
12495
|
-
parent.appendChild(el.mask);
|
|
12496
|
-
Vue.nextTick(function () {
|
|
12497
|
-
if (el.instance.hiding) {
|
|
12498
|
-
el.instance.$emit('after-leave');
|
|
12499
|
-
} else {
|
|
12500
|
-
el.instance.visible = true;
|
|
12501
|
-
}
|
|
12502
|
-
});
|
|
12503
|
-
el.domInserted = true;
|
|
12504
|
-
} else if (el.domVisible && el.instance.hiding === true) {
|
|
12505
|
-
el.instance.visible = true;
|
|
12506
|
-
el.instance.hiding = false;
|
|
12507
|
-
}
|
|
12508
|
-
};
|
|
12509
|
-
|
|
12510
|
-
Vue.directive('loading', {
|
|
12511
|
-
bind: function bind(el, binding, vnode) {
|
|
12512
|
-
var textExr = el.getAttribute('element-loading-text');
|
|
12513
|
-
var spinnerExr = el.getAttribute('element-loading-spinner');
|
|
12514
|
-
var backgroundExr = el.getAttribute('element-loading-background');
|
|
12515
|
-
var customClassExr = el.getAttribute('element-loading-custom-class');
|
|
12516
|
-
var vm = vnode.context;
|
|
12517
|
-
var mask = new Mask({
|
|
12518
|
-
el: document.createElement('div'),
|
|
12519
|
-
data: {
|
|
12520
|
-
text: vm && vm[textExr] || textExr,
|
|
12521
|
-
spinner: vm && vm[spinnerExr] || spinnerExr,
|
|
12522
|
-
background: vm && vm[backgroundExr] || backgroundExr,
|
|
12523
|
-
customClass: vm && vm[customClassExr] || customClassExr,
|
|
12524
|
-
fullscreen: !!binding.modifiers.fullscreen
|
|
12525
|
-
}
|
|
12526
|
-
});
|
|
12527
|
-
el.instance = mask;
|
|
12528
|
-
el.mask = mask.$el;
|
|
12529
|
-
el.maskStyle = {};
|
|
12530
|
-
|
|
12531
|
-
binding.value && toggleLoading(el, binding);
|
|
12532
|
-
},
|
|
12533
|
-
|
|
12534
|
-
update: function update(el, binding) {
|
|
12535
|
-
el.instance.setText(el.getAttribute('element-loading-text'));
|
|
12536
|
-
if (binding.oldValue !== binding.value) {
|
|
12537
|
-
toggleLoading(el, binding);
|
|
12538
|
-
}
|
|
12539
|
-
},
|
|
12540
|
-
|
|
12541
|
-
unbind: function unbind(el, binding) {
|
|
12542
|
-
if (el.domInserted) {
|
|
12543
|
-
el.mask && el.mask.parentNode && el.mask.parentNode.removeChild(el.mask);
|
|
12544
|
-
toggleLoading(el, { value: false, modifiers: binding.modifiers });
|
|
12545
|
-
}
|
|
12546
|
-
el.instance && el.instance.$destroy();
|
|
12547
|
-
}
|
|
12548
|
-
});
|
|
12549
|
-
};
|
|
12550
|
-
|
|
12551
|
-
/* harmony default export */ var directive = (loadingDirective);
|
|
12552
|
-
// EXTERNAL MODULE: external "element-ui/lib/utils/merge"
|
|
12553
|
-
var merge_ = __webpack_require__(9);
|
|
12554
|
-
var merge_default = /*#__PURE__*/__webpack_require__.n(merge_);
|
|
12555
|
-
|
|
12556
|
-
// CONCATENATED MODULE: ./packages/loading/src/index.js
|
|
12557
|
-
|
|
12558
|
-
|
|
12559
|
-
|
|
12560
|
-
|
|
12561
|
-
|
|
12562
|
-
|
|
12563
|
-
|
|
12564
|
-
var LoadingConstructor = external_vue_default.a.extend(loading);
|
|
12565
|
-
|
|
12566
|
-
var defaults = {
|
|
12567
|
-
text: null,
|
|
12568
|
-
fullscreen: true,
|
|
12569
|
-
body: false,
|
|
12570
|
-
lock: false,
|
|
12571
|
-
customClass: ''
|
|
12572
|
-
};
|
|
12573
|
-
|
|
12574
|
-
var fullscreenLoading = void 0;
|
|
12575
|
-
|
|
12576
|
-
LoadingConstructor.prototype.originalPosition = '';
|
|
12577
|
-
LoadingConstructor.prototype.originalOverflow = '';
|
|
12578
|
-
|
|
12579
|
-
LoadingConstructor.prototype.close = function () {
|
|
12580
|
-
var _this = this;
|
|
12581
|
-
|
|
12582
|
-
if (this.fullscreen) {
|
|
12583
|
-
fullscreenLoading = undefined;
|
|
12584
|
-
}
|
|
12585
|
-
after_leave_default()(this, function (_) {
|
|
12586
|
-
var target = _this.fullscreen || _this.body ? document.body : _this.target;
|
|
12587
|
-
Object(dom_["removeClass"])(target, 'el-loading-parent--relative');
|
|
12588
|
-
Object(dom_["removeClass"])(target, 'el-loading-parent--hidden');
|
|
12589
|
-
if (_this.$el && _this.$el.parentNode) {
|
|
12590
|
-
_this.$el.parentNode.removeChild(_this.$el);
|
|
12591
|
-
}
|
|
12592
|
-
_this.$destroy();
|
|
12593
|
-
}, 300);
|
|
12594
|
-
this.visible = false;
|
|
12595
|
-
};
|
|
12596
|
-
|
|
12597
|
-
var src_addStyle = function addStyle(options, parent, instance) {
|
|
12598
|
-
var maskStyle = {};
|
|
12599
|
-
if (options.fullscreen) {
|
|
12600
|
-
instance.originalPosition = Object(dom_["getStyle"])(document.body, 'position');
|
|
12601
|
-
instance.originalOverflow = Object(dom_["getStyle"])(document.body, 'overflow');
|
|
12602
|
-
maskStyle.zIndex = popup_["PopupManager"].nextZIndex();
|
|
12603
|
-
} else if (options.body) {
|
|
12604
|
-
instance.originalPosition = Object(dom_["getStyle"])(document.body, 'position');
|
|
12605
|
-
['top', 'left'].forEach(function (property) {
|
|
12606
|
-
var scroll = property === 'top' ? 'scrollTop' : 'scrollLeft';
|
|
12607
|
-
maskStyle[property] = options.target.getBoundingClientRect()[property] + document.body[scroll] + document.documentElement[scroll] + 'px';
|
|
12608
|
-
});
|
|
12609
|
-
['height', 'width'].forEach(function (property) {
|
|
12610
|
-
maskStyle[property] = options.target.getBoundingClientRect()[property] + 'px';
|
|
12611
|
-
});
|
|
12612
|
-
} else {
|
|
12613
|
-
instance.originalPosition = Object(dom_["getStyle"])(parent, 'position');
|
|
12614
|
-
}
|
|
12615
|
-
Object.keys(maskStyle).forEach(function (property) {
|
|
12616
|
-
instance.$el.style[property] = maskStyle[property];
|
|
12617
|
-
});
|
|
12618
|
-
};
|
|
12619
|
-
|
|
12620
|
-
var src_Loading = function Loading() {
|
|
12621
|
-
var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
12622
|
-
|
|
12623
|
-
if (external_vue_default.a.prototype.$isServer) return;
|
|
12624
|
-
options = merge_default()({}, defaults, options);
|
|
12625
|
-
if (typeof options.target === 'string') {
|
|
12626
|
-
options.target = document.querySelector(options.target);
|
|
12627
|
-
}
|
|
12628
|
-
options.target = options.target || document.body;
|
|
12629
|
-
if (options.target !== document.body) {
|
|
12630
|
-
options.fullscreen = false;
|
|
12631
|
-
} else {
|
|
12632
|
-
options.body = true;
|
|
12633
|
-
}
|
|
12634
|
-
if (options.fullscreen && fullscreenLoading) {
|
|
12635
|
-
return fullscreenLoading;
|
|
12636
|
-
}
|
|
12637
|
-
|
|
12638
|
-
var parent = options.body ? document.body : options.target;
|
|
12639
|
-
var instance = new LoadingConstructor({
|
|
12640
|
-
el: document.createElement('div'),
|
|
12641
|
-
data: options
|
|
12642
|
-
});
|
|
12643
|
-
|
|
12644
|
-
src_addStyle(options, parent, instance);
|
|
12645
|
-
if (instance.originalPosition !== 'absolute' && instance.originalPosition !== 'fixed' && instance.originalPosition !== 'sticky') {
|
|
12646
|
-
Object(dom_["addClass"])(parent, 'el-loading-parent--relative');
|
|
12647
|
-
}
|
|
12648
|
-
if (options.fullscreen && options.lock) {
|
|
12649
|
-
Object(dom_["addClass"])(parent, 'el-loading-parent--hidden');
|
|
12650
|
-
}
|
|
12651
|
-
parent.appendChild(instance.$el);
|
|
12652
|
-
external_vue_default.a.nextTick(function () {
|
|
12653
|
-
instance.visible = true;
|
|
12654
|
-
});
|
|
12655
|
-
if (options.fullscreen) {
|
|
12656
|
-
fullscreenLoading = instance;
|
|
12657
|
-
}
|
|
12658
|
-
return instance;
|
|
12659
|
-
};
|
|
12660
|
-
|
|
12661
|
-
/* harmony default export */ var src = (src_Loading);
|
|
12662
|
-
// CONCATENATED MODULE: ./packages/loading/index.js
|
|
12663
|
-
|
|
12664
|
-
|
|
12665
|
-
|
|
12666
|
-
/* harmony default export */ var packages_loading = __webpack_exports__["default"] = ({
|
|
12667
|
-
install: function install(Vue) {
|
|
12668
|
-
Vue.use(directive);
|
|
12669
|
-
Vue.prototype.$loading = src;
|
|
12670
|
-
},
|
|
12671
|
-
|
|
12672
|
-
directive: directive,
|
|
12673
|
-
service: src
|
|
12674
|
-
});
|
|
12675
|
-
|
|
12676
|
-
/***/ }),
|
|
12677
|
-
|
|
12678
|
-
/***/ 9:
|
|
12679
|
-
/***/ (function(module, exports) {
|
|
12680
|
-
|
|
12681
|
-
module.exports = __webpack_require__("7f4d");
|
|
12682
|
-
|
|
12683
|
-
/***/ })
|
|
12684
|
-
|
|
12685
|
-
/******/ });
|
|
12686
|
-
|
|
12687
|
-
/***/ }),
|
|
12688
|
-
|
|
12689
|
-
/***/ "8bbc":
|
|
12690
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
12691
|
-
|
|
12692
|
-
module.exports =
|
|
12693
|
-
/******/ (function(modules) { // webpackBootstrap
|
|
12694
|
-
/******/ // The module cache
|
|
12695
|
-
/******/ var installedModules = {};
|
|
12696
|
-
/******/
|
|
12697
|
-
/******/ // The require function
|
|
12698
|
-
/******/ function __webpack_require__(moduleId) {
|
|
12699
|
-
/******/
|
|
12700
|
-
/******/ // Check if module is in cache
|
|
12701
|
-
/******/ if(installedModules[moduleId]) {
|
|
12702
|
-
/******/ return installedModules[moduleId].exports;
|
|
12703
|
-
/******/ }
|
|
12704
|
-
/******/ // Create a new module (and put it into the cache)
|
|
12705
|
-
/******/ var module = installedModules[moduleId] = {
|
|
12706
|
-
/******/ i: moduleId,
|
|
12707
|
-
/******/ l: false,
|
|
12708
|
-
/******/ exports: {}
|
|
12709
|
-
/******/ };
|
|
12710
|
-
/******/
|
|
12711
|
-
/******/ // Execute the module function
|
|
12712
|
-
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
|
12713
|
-
/******/
|
|
12714
|
-
/******/ // Flag the module as loaded
|
|
12715
|
-
/******/ module.l = true;
|
|
12716
|
-
/******/
|
|
12717
|
-
/******/ // Return the exports of the module
|
|
12718
|
-
/******/ return module.exports;
|
|
12719
|
-
/******/ }
|
|
12720
|
-
/******/
|
|
12721
|
-
/******/
|
|
12722
|
-
/******/ // expose the modules object (__webpack_modules__)
|
|
12723
|
-
/******/ __webpack_require__.m = modules;
|
|
12724
|
-
/******/
|
|
12725
|
-
/******/ // expose the module cache
|
|
12726
|
-
/******/ __webpack_require__.c = installedModules;
|
|
12727
|
-
/******/
|
|
12728
|
-
/******/ // define getter function for harmony exports
|
|
12729
|
-
/******/ __webpack_require__.d = function(exports, name, getter) {
|
|
12730
|
-
/******/ if(!__webpack_require__.o(exports, name)) {
|
|
12731
|
-
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
|
12732
|
-
/******/ }
|
|
12733
|
-
/******/ };
|
|
12734
|
-
/******/
|
|
12735
|
-
/******/ // define __esModule on exports
|
|
12736
|
-
/******/ __webpack_require__.r = function(exports) {
|
|
12737
|
-
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
12738
|
-
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
12739
|
-
/******/ }
|
|
12740
|
-
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
12741
|
-
/******/ };
|
|
12742
|
-
/******/
|
|
12743
|
-
/******/ // create a fake namespace object
|
|
12744
|
-
/******/ // mode & 1: value is a module id, require it
|
|
12745
|
-
/******/ // mode & 2: merge all properties of value into the ns
|
|
12746
|
-
/******/ // mode & 4: return value when already ns object
|
|
12747
|
-
/******/ // mode & 8|1: behave like require
|
|
12748
|
-
/******/ __webpack_require__.t = function(value, mode) {
|
|
12749
|
-
/******/ if(mode & 1) value = __webpack_require__(value);
|
|
12750
|
-
/******/ if(mode & 8) return value;
|
|
12751
|
-
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
|
12752
|
-
/******/ var ns = Object.create(null);
|
|
12753
|
-
/******/ __webpack_require__.r(ns);
|
|
12754
|
-
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
|
12755
|
-
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
|
12756
|
-
/******/ return ns;
|
|
12757
|
-
/******/ };
|
|
12758
|
-
/******/
|
|
12759
|
-
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
12760
|
-
/******/ __webpack_require__.n = function(module) {
|
|
12761
|
-
/******/ var getter = module && module.__esModule ?
|
|
12762
|
-
/******/ function getDefault() { return module['default']; } :
|
|
12763
|
-
/******/ function getModuleExports() { return module; };
|
|
12764
|
-
/******/ __webpack_require__.d(getter, 'a', getter);
|
|
12765
|
-
/******/ return getter;
|
|
12766
|
-
/******/ };
|
|
12767
|
-
/******/
|
|
12768
|
-
/******/ // Object.prototype.hasOwnProperty.call
|
|
12769
|
-
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
|
12770
|
-
/******/
|
|
12771
|
-
/******/ // __webpack_public_path__
|
|
12772
|
-
/******/ __webpack_require__.p = "/dist/";
|
|
12773
|
-
/******/
|
|
12774
|
-
/******/
|
|
12775
|
-
/******/ // Load entry module and return exports
|
|
12776
|
-
/******/ return __webpack_require__(__webpack_require__.s = 132);
|
|
12777
|
-
/******/ })
|
|
12778
|
-
/************************************************************************/
|
|
12779
|
-
/******/ ({
|
|
12780
|
-
|
|
12781
|
-
/***/ 0:
|
|
12782
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
12783
|
-
|
|
12784
|
-
"use strict";
|
|
12785
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return normalizeComponent; });
|
|
12786
|
-
/* globals __VUE_SSR_CONTEXT__ */
|
|
12787
|
-
|
|
12788
|
-
// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
|
|
12789
|
-
// This module is a runtime utility for cleaner component module output and will
|
|
12790
|
-
// be included in the final webpack user bundle.
|
|
12791
|
-
|
|
12792
|
-
function normalizeComponent (
|
|
12793
|
-
scriptExports,
|
|
12794
|
-
render,
|
|
12795
|
-
staticRenderFns,
|
|
12796
|
-
functionalTemplate,
|
|
12797
|
-
injectStyles,
|
|
12798
|
-
scopeId,
|
|
12799
|
-
moduleIdentifier, /* server only */
|
|
12800
|
-
shadowMode /* vue-cli only */
|
|
12801
|
-
) {
|
|
12802
|
-
// Vue.extend constructor export interop
|
|
12803
|
-
var options = typeof scriptExports === 'function'
|
|
12804
|
-
? scriptExports.options
|
|
12805
|
-
: scriptExports
|
|
12806
|
-
|
|
12807
|
-
// render functions
|
|
12808
|
-
if (render) {
|
|
12809
|
-
options.render = render
|
|
12810
|
-
options.staticRenderFns = staticRenderFns
|
|
12811
|
-
options._compiled = true
|
|
12812
|
-
}
|
|
12813
|
-
|
|
12814
|
-
// functional template
|
|
12815
|
-
if (functionalTemplate) {
|
|
12816
|
-
options.functional = true
|
|
12817
|
-
}
|
|
12818
|
-
|
|
12819
|
-
// scopedId
|
|
12820
|
-
if (scopeId) {
|
|
12821
|
-
options._scopeId = 'data-v-' + scopeId
|
|
12822
|
-
}
|
|
12823
|
-
|
|
12824
|
-
var hook
|
|
12825
|
-
if (moduleIdentifier) { // server build
|
|
12826
|
-
hook = function (context) {
|
|
12827
|
-
// 2.3 injection
|
|
12828
|
-
context =
|
|
12829
|
-
context || // cached call
|
|
12830
|
-
(this.$vnode && this.$vnode.ssrContext) || // stateful
|
|
12831
|
-
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
|
|
12832
|
-
// 2.2 with runInNewContext: true
|
|
12833
|
-
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
|
|
12834
|
-
context = __VUE_SSR_CONTEXT__
|
|
12835
|
-
}
|
|
12836
|
-
// inject component styles
|
|
12837
|
-
if (injectStyles) {
|
|
12838
|
-
injectStyles.call(this, context)
|
|
12839
|
-
}
|
|
12840
|
-
// register component module identifier for async chunk inferrence
|
|
12841
|
-
if (context && context._registeredComponents) {
|
|
12842
|
-
context._registeredComponents.add(moduleIdentifier)
|
|
12843
|
-
}
|
|
12844
|
-
}
|
|
12845
|
-
// used by ssr in case component is cached and beforeCreate
|
|
12846
|
-
// never gets called
|
|
12847
|
-
options._ssrRegister = hook
|
|
12848
|
-
} else if (injectStyles) {
|
|
12849
|
-
hook = shadowMode
|
|
12850
|
-
? function () { injectStyles.call(this, this.$root.$options.shadowRoot) }
|
|
12851
|
-
: injectStyles
|
|
12852
|
-
}
|
|
12853
|
-
|
|
12854
|
-
if (hook) {
|
|
12855
|
-
if (options.functional) {
|
|
12856
|
-
// for template-only hot-reload because in that case the render fn doesn't
|
|
12857
|
-
// go through the normalizer
|
|
12858
|
-
options._injectStyles = hook
|
|
12859
|
-
// register for functioal component in vue file
|
|
12860
|
-
var originalRender = options.render
|
|
12861
|
-
options.render = function renderWithStyleInjection (h, context) {
|
|
12862
|
-
hook.call(context)
|
|
12863
|
-
return originalRender(h, context)
|
|
12864
|
-
}
|
|
12865
|
-
} else {
|
|
12866
|
-
// inject component registration as beforeCreate hook
|
|
12867
|
-
var existing = options.beforeCreate
|
|
12868
|
-
options.beforeCreate = existing
|
|
12869
|
-
? [].concat(existing, hook)
|
|
12870
|
-
: [hook]
|
|
12871
|
-
}
|
|
12872
|
-
}
|
|
12873
|
-
|
|
12874
|
-
return {
|
|
12875
|
-
exports: scriptExports,
|
|
12876
|
-
options: options
|
|
12877
|
-
}
|
|
12878
|
-
}
|
|
12879
|
-
|
|
12880
|
-
|
|
12881
|
-
/***/ }),
|
|
12882
|
-
|
|
12883
|
-
/***/ 132:
|
|
12884
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
12885
|
-
|
|
12886
|
-
"use strict";
|
|
12887
|
-
__webpack_require__.r(__webpack_exports__);
|
|
12888
|
-
|
|
12889
|
-
// 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&
|
|
12890
|
-
|
|
12891
|
-
/* harmony default export */ var tagvue_type_script_lang_js_ = ({
|
|
12892
|
-
name: 'ElTag',
|
|
12893
|
-
props: {
|
|
12894
|
-
text: String,
|
|
12895
|
-
closable: Boolean,
|
|
12896
|
-
type: String,
|
|
12897
|
-
hit: Boolean,
|
|
12898
|
-
disableTransitions: Boolean,
|
|
12899
|
-
color: String,
|
|
12900
|
-
size: String,
|
|
12901
|
-
effect: {
|
|
12902
|
-
type: String,
|
|
12903
|
-
default: 'light',
|
|
12904
|
-
validator: function validator(val) {
|
|
12905
|
-
return ['dark', 'light', 'plain'].indexOf(val) !== -1;
|
|
12906
|
-
}
|
|
12907
|
-
}
|
|
12908
|
-
},
|
|
12909
|
-
methods: {
|
|
12910
|
-
handleClose: function handleClose(event) {
|
|
12911
|
-
event.stopPropagation();
|
|
12912
|
-
this.$emit('close', event);
|
|
12913
|
-
},
|
|
12914
|
-
handleClick: function handleClick(event) {
|
|
12915
|
-
this.$emit('click', event);
|
|
12916
|
-
}
|
|
12917
|
-
},
|
|
12918
|
-
computed: {
|
|
12919
|
-
tagSize: function tagSize() {
|
|
12920
|
-
return this.size || (this.$ELEMENT || {}).size;
|
|
12921
|
-
}
|
|
12922
|
-
},
|
|
12923
|
-
render: function render(h) {
|
|
12924
|
-
var type = this.type,
|
|
12925
|
-
tagSize = this.tagSize,
|
|
12926
|
-
hit = this.hit,
|
|
12927
|
-
effect = this.effect;
|
|
12928
|
-
|
|
12929
|
-
var classes = ['el-tag', type ? 'el-tag--' + type : '', tagSize ? 'el-tag--' + tagSize : '', effect ? 'el-tag--' + effect : '', hit && 'is-hit'];
|
|
12930
|
-
var tagEl = h(
|
|
12931
|
-
'span',
|
|
12932
|
-
{
|
|
12933
|
-
'class': classes,
|
|
12934
|
-
style: { backgroundColor: this.color },
|
|
12935
|
-
on: {
|
|
12936
|
-
'click': this.handleClick
|
|
12937
|
-
}
|
|
12938
|
-
},
|
|
12939
|
-
[this.$slots.default, this.closable && h('i', { 'class': 'el-tag__close el-icon-close', on: {
|
|
12940
|
-
'click': this.handleClose
|
|
12941
|
-
}
|
|
12942
|
-
})]
|
|
12943
|
-
);
|
|
12944
|
-
|
|
12945
|
-
return this.disableTransitions ? tagEl : h(
|
|
12946
|
-
'transition',
|
|
12947
|
-
{
|
|
12948
|
-
attrs: { name: 'el-zoom-in-center' }
|
|
12949
|
-
},
|
|
12950
|
-
[tagEl]
|
|
12951
|
-
);
|
|
12952
|
-
}
|
|
12953
|
-
});
|
|
12954
|
-
// CONCATENATED MODULE: ./packages/tag/src/tag.vue?vue&type=script&lang=js&
|
|
12955
|
-
/* harmony default export */ var src_tagvue_type_script_lang_js_ = (tagvue_type_script_lang_js_);
|
|
12956
|
-
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
12957
|
-
var componentNormalizer = __webpack_require__(0);
|
|
12958
|
-
|
|
12959
|
-
// CONCATENATED MODULE: ./packages/tag/src/tag.vue
|
|
12960
|
-
var render, staticRenderFns
|
|
12961
|
-
|
|
12962
|
-
|
|
12963
|
-
|
|
12964
|
-
|
|
12965
|
-
/* normalize component */
|
|
12966
|
-
|
|
12967
|
-
var component = Object(componentNormalizer["a" /* default */])(
|
|
12968
|
-
src_tagvue_type_script_lang_js_,
|
|
12969
|
-
render,
|
|
12970
|
-
staticRenderFns,
|
|
12971
|
-
false,
|
|
12972
|
-
null,
|
|
12973
|
-
null,
|
|
12974
|
-
null
|
|
12975
|
-
|
|
12976
|
-
)
|
|
12977
|
-
|
|
12978
|
-
/* hot reload */
|
|
12979
|
-
if (false) { var api; }
|
|
12980
|
-
component.options.__file = "packages/tag/src/tag.vue"
|
|
12981
|
-
/* harmony default export */ var tag = (component.exports);
|
|
12982
|
-
// CONCATENATED MODULE: ./packages/tag/index.js
|
|
12983
|
-
|
|
12984
|
-
|
|
12985
|
-
/* istanbul ignore next */
|
|
12986
|
-
tag.install = function (Vue) {
|
|
12987
|
-
Vue.component(tag.name, tag);
|
|
12988
|
-
};
|
|
12989
|
-
|
|
12990
|
-
/* harmony default export */ var packages_tag = __webpack_exports__["default"] = (tag);
|
|
12991
|
-
|
|
12992
|
-
/***/ })
|
|
12993
|
-
|
|
12994
|
-
/******/ });
|
|
12995
|
-
|
|
12996
|
-
/***/ }),
|
|
12997
|
-
|
|
12998
|
-
/***/ "8bbf":
|
|
12999
|
-
/***/ (function(module, exports) {
|
|
13000
|
-
|
|
13001
|
-
module.exports = require("vue");
|
|
13002
|
-
|
|
13003
|
-
/***/ }),
|
|
13004
|
-
|
|
13005
|
-
/***/ "937c":
|
|
13006
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
13007
|
-
|
|
13008
|
-
// extracted by mini-css-extract-plugin
|
|
13009
|
-
|
|
13010
|
-
/***/ }),
|
|
13011
|
-
|
|
13012
|
-
/***/ "97d3":
|
|
13013
|
-
/***/ (function(module, exports) {
|
|
13014
|
-
|
|
13015
|
-
module.exports = require("core-js/modules/es.object.to-string.js");
|
|
13016
|
-
|
|
13017
|
-
/***/ }),
|
|
13018
|
-
|
|
13019
|
-
/***/ "9b22":
|
|
13020
|
-
/***/ (function(module, exports) {
|
|
13021
|
-
|
|
13022
|
-
module.exports = require("core-js/modules/es.symbol.js");
|
|
13023
|
-
|
|
13024
|
-
/***/ }),
|
|
13025
|
-
|
|
13026
|
-
/***/ "9bb0":
|
|
13027
|
-
/***/ (function(module, exports) {
|
|
13028
|
-
|
|
13029
|
-
module.exports = require("@soda/get-current-script");
|
|
13030
|
-
|
|
13031
|
-
/***/ }),
|
|
13032
|
-
|
|
13033
|
-
/***/ "9bb5":
|
|
13034
|
-
/***/ (function(module, exports) {
|
|
13035
|
-
|
|
13036
|
-
module.exports = require("core-js/modules/es.string.iterator.js");
|
|
13037
12812
|
|
|
13038
12813
|
/***/ }),
|
|
13039
12814
|
|
|
@@ -13100,13 +12875,6 @@ var RE_NARGS = /(%|)\{([0-9a-zA-Z_]+)\}/g;
|
|
|
13100
12875
|
|
|
13101
12876
|
/***/ }),
|
|
13102
12877
|
|
|
13103
|
-
/***/ "a168":
|
|
13104
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
13105
|
-
|
|
13106
|
-
// extracted by mini-css-extract-plugin
|
|
13107
|
-
|
|
13108
|
-
/***/ }),
|
|
13109
|
-
|
|
13110
12878
|
/***/ "a1cc":
|
|
13111
12879
|
/***/ (function(module, exports) {
|
|
13112
12880
|
|
|
@@ -13398,13 +13166,6 @@ icon.install = function (Vue) {
|
|
|
13398
13166
|
|
|
13399
13167
|
/***/ }),
|
|
13400
13168
|
|
|
13401
|
-
/***/ "a673":
|
|
13402
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
13403
|
-
|
|
13404
|
-
// extracted by mini-css-extract-plugin
|
|
13405
|
-
|
|
13406
|
-
/***/ }),
|
|
13407
|
-
|
|
13408
13169
|
/***/ "a742":
|
|
13409
13170
|
/***/ (function(module, exports, __webpack_require__) {
|
|
13410
13171
|
|
|
@@ -13476,17 +13237,6 @@ module.exports = require("core-js/modules/es.json.stringify.js");
|
|
|
13476
13237
|
|
|
13477
13238
|
// extracted by mini-css-extract-plugin
|
|
13478
13239
|
|
|
13479
|
-
/***/ }),
|
|
13480
|
-
|
|
13481
|
-
/***/ "abc6":
|
|
13482
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
13483
|
-
|
|
13484
|
-
"use strict";
|
|
13485
|
-
/* 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");
|
|
13486
|
-
/* 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__);
|
|
13487
|
-
/* unused harmony reexport * */
|
|
13488
|
-
|
|
13489
|
-
|
|
13490
13240
|
/***/ }),
|
|
13491
13241
|
|
|
13492
13242
|
/***/ "ac3f":
|
|
@@ -13654,11 +13404,29 @@ exports.default = {
|
|
|
13654
13404
|
|
|
13655
13405
|
/***/ }),
|
|
13656
13406
|
|
|
13407
|
+
/***/ "b94f":
|
|
13408
|
+
/***/ (function(module, exports) {
|
|
13409
|
+
|
|
13410
|
+
module.exports = require("core-js/modules/web.url.js");
|
|
13411
|
+
|
|
13412
|
+
/***/ }),
|
|
13413
|
+
|
|
13657
13414
|
/***/ "be4f":
|
|
13658
13415
|
/***/ (function(module, exports, __webpack_require__) {
|
|
13659
13416
|
|
|
13660
13417
|
// extracted by mini-css-extract-plugin
|
|
13661
13418
|
|
|
13419
|
+
/***/ }),
|
|
13420
|
+
|
|
13421
|
+
/***/ "bfd2":
|
|
13422
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
13423
|
+
|
|
13424
|
+
"use strict";
|
|
13425
|
+
/* 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");
|
|
13426
|
+
/* 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__);
|
|
13427
|
+
/* unused harmony reexport * */
|
|
13428
|
+
|
|
13429
|
+
|
|
13662
13430
|
/***/ }),
|
|
13663
13431
|
|
|
13664
13432
|
/***/ "c2cc":
|
|
@@ -13883,6 +13651,17 @@ exports.default = function (instance, callback) {
|
|
|
13883
13651
|
* @param {Boolean} once weather bind after-leave once. default value is false.
|
|
13884
13652
|
*/
|
|
13885
13653
|
|
|
13654
|
+
/***/ }),
|
|
13655
|
+
|
|
13656
|
+
/***/ "c633":
|
|
13657
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
13658
|
+
|
|
13659
|
+
"use strict";
|
|
13660
|
+
/* 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");
|
|
13661
|
+
/* 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__);
|
|
13662
|
+
/* unused harmony reexport * */
|
|
13663
|
+
|
|
13664
|
+
|
|
13886
13665
|
/***/ }),
|
|
13887
13666
|
|
|
13888
13667
|
/***/ "c69e":
|
|
@@ -14246,17 +14025,6 @@ function isKorean(text) {
|
|
|
14246
14025
|
|
|
14247
14026
|
// extracted by mini-css-extract-plugin
|
|
14248
14027
|
|
|
14249
|
-
/***/ }),
|
|
14250
|
-
|
|
14251
|
-
/***/ "d9b5":
|
|
14252
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
14253
|
-
|
|
14254
|
-
"use strict";
|
|
14255
|
-
/* 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");
|
|
14256
|
-
/* 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__);
|
|
14257
|
-
/* unused harmony reexport * */
|
|
14258
|
-
|
|
14259
|
-
|
|
14260
14028
|
/***/ }),
|
|
14261
14029
|
|
|
14262
14030
|
/***/ "da6e":
|
|
@@ -14919,11 +14687,29 @@ src_checkbox.install = function (Vue) {
|
|
|
14919
14687
|
|
|
14920
14688
|
/***/ }),
|
|
14921
14689
|
|
|
14690
|
+
/***/ "dd96":
|
|
14691
|
+
/***/ (function(module, exports) {
|
|
14692
|
+
|
|
14693
|
+
module.exports = require("@abi-software/sparc-annotation");
|
|
14694
|
+
|
|
14695
|
+
/***/ }),
|
|
14696
|
+
|
|
14922
14697
|
/***/ "de31":
|
|
14923
14698
|
/***/ (function(module, exports, __webpack_require__) {
|
|
14924
14699
|
|
|
14925
14700
|
// extracted by mini-css-extract-plugin
|
|
14926
14701
|
|
|
14702
|
+
/***/ }),
|
|
14703
|
+
|
|
14704
|
+
/***/ "e42b":
|
|
14705
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
14706
|
+
|
|
14707
|
+
"use strict";
|
|
14708
|
+
/* 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");
|
|
14709
|
+
/* 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__);
|
|
14710
|
+
/* unused harmony reexport * */
|
|
14711
|
+
|
|
14712
|
+
|
|
14927
14713
|
/***/ }),
|
|
14928
14714
|
|
|
14929
14715
|
/***/ "e62d":
|
|
@@ -16051,14 +15837,10 @@ src_button.install = function (Vue) {
|
|
|
16051
15837
|
|
|
16052
15838
|
/***/ }),
|
|
16053
15839
|
|
|
16054
|
-
/***/ "
|
|
16055
|
-
/***/ (function(module,
|
|
16056
|
-
|
|
16057
|
-
"use strict";
|
|
16058
|
-
/* 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");
|
|
16059
|
-
/* 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__);
|
|
16060
|
-
/* unused harmony reexport * */
|
|
15840
|
+
/***/ "f029":
|
|
15841
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
16061
15842
|
|
|
15843
|
+
// extracted by mini-css-extract-plugin
|
|
16062
15844
|
|
|
16063
15845
|
/***/ }),
|
|
16064
15846
|
|
|
@@ -17198,6 +16980,13 @@ module.exports = __webpack_require__("7f4d");
|
|
|
17198
16980
|
|
|
17199
16981
|
/***/ }),
|
|
17200
16982
|
|
|
16983
|
+
/***/ "f3b8":
|
|
16984
|
+
/***/ (function(module, exports) {
|
|
16985
|
+
|
|
16986
|
+
module.exports = require("core-js/modules/es.array.splice.js");
|
|
16987
|
+
|
|
16988
|
+
/***/ }),
|
|
16989
|
+
|
|
17201
16990
|
/***/ "f494":
|
|
17202
16991
|
/***/ (function(module, exports, __webpack_require__) {
|
|
17203
16992
|
|
|
@@ -17707,6 +17496,13 @@ src_radio.install = function (Vue) {
|
|
|
17707
17496
|
|
|
17708
17497
|
/***/ }),
|
|
17709
17498
|
|
|
17499
|
+
/***/ "f96b":
|
|
17500
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
17501
|
+
|
|
17502
|
+
// extracted by mini-css-extract-plugin
|
|
17503
|
+
|
|
17504
|
+
/***/ }),
|
|
17505
|
+
|
|
17710
17506
|
/***/ "f989":
|
|
17711
17507
|
/***/ (function(module, exports) {
|
|
17712
17508
|
|
|
@@ -17749,7 +17545,7 @@ if (typeof window !== 'undefined') {
|
|
|
17749
17545
|
// Indicate to webpack that this file can be concatenated
|
|
17750
17546
|
/* harmony default export */ var setPublicPath = (null);
|
|
17751
17547
|
|
|
17752
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
17548
|
+
// 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&
|
|
17753
17549
|
var render = function render() {
|
|
17754
17550
|
var _vm = this,
|
|
17755
17551
|
_c = _vm._self._c;
|
|
@@ -17866,7 +17662,7 @@ var render = function render() {
|
|
|
17866
17662
|
on: {
|
|
17867
17663
|
"click": _vm.viewLatestMap
|
|
17868
17664
|
}
|
|
17869
|
-
}, [_vm._v("Click here for the latest map")])] : [_c('span', {
|
|
17665
|
+
}, [_vm._v(" Click here for the latest map ")])] : [_c('span', {
|
|
17870
17666
|
staticClass: "warning-text"
|
|
17871
17667
|
}, [_vm._v("Beta")])]], 2) : _vm._e()], 1), _vm.displayLatestChanges ? _c('el-popover', {
|
|
17872
17668
|
ref: "latestChangesPopover",
|
|
@@ -18047,6 +17843,10 @@ var render = function render() {
|
|
|
18047
17843
|
arg: "checkBoxPopover"
|
|
18048
17844
|
}],
|
|
18049
17845
|
staticClass: "pathway-container",
|
|
17846
|
+
class: {
|
|
17847
|
+
open: _vm.drawerOpen,
|
|
17848
|
+
close: !_vm.drawerOpen
|
|
17849
|
+
},
|
|
18050
17850
|
style: {
|
|
18051
17851
|
'max-height': _vm.pathwaysMaxHeight + 'px'
|
|
18052
17852
|
}
|
|
@@ -18179,29 +17979,37 @@ var render = function render() {
|
|
|
18179
17979
|
}
|
|
18180
17980
|
}, [_c('el-row', {
|
|
18181
17981
|
staticClass: "backgroundText"
|
|
18182
|
-
}, [_vm._v("
|
|
17982
|
+
}, [_vm._v("Viewing Mode")]), _c('el-row', {
|
|
18183
17983
|
staticClass: "backgroundControl"
|
|
18184
|
-
}, [_c('el-
|
|
18185
|
-
staticClass: "
|
|
18186
|
-
|
|
18187
|
-
"
|
|
17984
|
+
}, [_c('el-select', {
|
|
17985
|
+
staticClass: "select-box",
|
|
17986
|
+
attrs: {
|
|
17987
|
+
"popper-append-to-body": false,
|
|
17988
|
+
"placeholder": "Select",
|
|
17989
|
+
"popper-class": "flatmap_dropdown"
|
|
18188
17990
|
},
|
|
18189
17991
|
model: {
|
|
18190
|
-
value: _vm.
|
|
17992
|
+
value: _vm.viewingMode,
|
|
18191
17993
|
callback: function callback($$v) {
|
|
18192
|
-
_vm.
|
|
17994
|
+
_vm.viewingMode = $$v;
|
|
18193
17995
|
},
|
|
18194
|
-
expression: "
|
|
18195
|
-
}
|
|
18196
|
-
}, [_c('el-radio', {
|
|
18197
|
-
attrs: {
|
|
18198
|
-
"label": true
|
|
18199
|
-
}
|
|
18200
|
-
}, [_vm._v("On")]), _c('el-radio', {
|
|
18201
|
-
attrs: {
|
|
18202
|
-
"label": false
|
|
17996
|
+
expression: "viewingMode"
|
|
18203
17997
|
}
|
|
18204
|
-
},
|
|
17998
|
+
}, _vm._l(_vm.viewingModes, function (item) {
|
|
17999
|
+
return _c('el-option', {
|
|
18000
|
+
key: item,
|
|
18001
|
+
attrs: {
|
|
18002
|
+
"label": item,
|
|
18003
|
+
"value": item
|
|
18004
|
+
}
|
|
18005
|
+
}, [_c('el-row', [_c('el-col', {
|
|
18006
|
+
attrs: {
|
|
18007
|
+
"span": 12
|
|
18008
|
+
}
|
|
18009
|
+
}, [_vm._v(_vm._s(item))])], 1)], 1);
|
|
18010
|
+
}), 1)], 1), _c('el-row', {
|
|
18011
|
+
staticClass: "backgroundSpacer"
|
|
18012
|
+
}), _c('el-row', {
|
|
18205
18013
|
staticClass: "backgroundText"
|
|
18206
18014
|
}, [_vm._v("Organs display")]), _c('el-row', {
|
|
18207
18015
|
staticClass: "backgroundControl"
|
|
@@ -18347,7 +18155,9 @@ var render = function render() {
|
|
|
18347
18155
|
ref: "tooltip",
|
|
18348
18156
|
staticClass: "tooltip",
|
|
18349
18157
|
attrs: {
|
|
18350
|
-
"
|
|
18158
|
+
"annotationEntry": _vm.annotationEntry,
|
|
18159
|
+
"entry": _vm.tooltipEntry,
|
|
18160
|
+
"annotationDisplay": _vm.viewingMode === 'Annotation'
|
|
18351
18161
|
},
|
|
18352
18162
|
on: {
|
|
18353
18163
|
"highlightConnectedPaths": _vm.highlightConnectedPaths,
|
|
@@ -18357,7 +18167,7 @@ var render = function render() {
|
|
|
18357
18167
|
};
|
|
18358
18168
|
var staticRenderFns = [];
|
|
18359
18169
|
|
|
18360
|
-
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=template&id=
|
|
18170
|
+
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=template&id=3560b642&scoped=true&
|
|
18361
18171
|
|
|
18362
18172
|
// EXTERNAL MODULE: external "core-js/modules/es.symbol.js"
|
|
18363
18173
|
var es_symbol_js_ = __webpack_require__("9b22");
|
|
@@ -18863,6 +18673,100 @@ function _regeneratorRuntime() {
|
|
|
18863
18673
|
}
|
|
18864
18674
|
}, exports;
|
|
18865
18675
|
}
|
|
18676
|
+
// EXTERNAL MODULE: external "core-js/modules/es.object.keys.js"
|
|
18677
|
+
var es_object_keys_js_ = __webpack_require__("ea64");
|
|
18678
|
+
|
|
18679
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.filter.js"
|
|
18680
|
+
var es_array_filter_js_ = __webpack_require__("1a89");
|
|
18681
|
+
|
|
18682
|
+
// EXTERNAL MODULE: external "core-js/modules/es.object.get-own-property-descriptor.js"
|
|
18683
|
+
var es_object_get_own_property_descriptor_js_ = __webpack_require__("6de0");
|
|
18684
|
+
|
|
18685
|
+
// EXTERNAL MODULE: external "core-js/modules/es.object.get-own-property-descriptors.js"
|
|
18686
|
+
var es_object_get_own_property_descriptors_js_ = __webpack_require__("7664");
|
|
18687
|
+
|
|
18688
|
+
// EXTERNAL MODULE: external "core-js/modules/es.symbol.to-primitive.js"
|
|
18689
|
+
var es_symbol_to_primitive_js_ = __webpack_require__("fb89");
|
|
18690
|
+
|
|
18691
|
+
// EXTERNAL MODULE: external "core-js/modules/es.date.to-primitive.js"
|
|
18692
|
+
var es_date_to_primitive_js_ = __webpack_require__("1f48");
|
|
18693
|
+
|
|
18694
|
+
// EXTERNAL MODULE: external "core-js/modules/es.number.constructor.js"
|
|
18695
|
+
var es_number_constructor_js_ = __webpack_require__("f989");
|
|
18696
|
+
|
|
18697
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
|
18698
|
+
|
|
18699
|
+
|
|
18700
|
+
|
|
18701
|
+
|
|
18702
|
+
|
|
18703
|
+
|
|
18704
|
+
|
|
18705
|
+
|
|
18706
|
+
function _toPrimitive(input, hint) {
|
|
18707
|
+
if (_typeof(input) !== "object" || input === null) return input;
|
|
18708
|
+
var prim = input[Symbol.toPrimitive];
|
|
18709
|
+
if (prim !== undefined) {
|
|
18710
|
+
var res = prim.call(input, hint || "default");
|
|
18711
|
+
if (_typeof(res) !== "object") return res;
|
|
18712
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
18713
|
+
}
|
|
18714
|
+
return (hint === "string" ? String : Number)(input);
|
|
18715
|
+
}
|
|
18716
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
|
18717
|
+
|
|
18718
|
+
|
|
18719
|
+
function _toPropertyKey(arg) {
|
|
18720
|
+
var key = _toPrimitive(arg, "string");
|
|
18721
|
+
return _typeof(key) === "symbol" ? key : String(key);
|
|
18722
|
+
}
|
|
18723
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
18724
|
+
|
|
18725
|
+
function _defineProperty(obj, key, value) {
|
|
18726
|
+
key = _toPropertyKey(key);
|
|
18727
|
+
if (key in obj) {
|
|
18728
|
+
Object.defineProperty(obj, key, {
|
|
18729
|
+
value: value,
|
|
18730
|
+
enumerable: true,
|
|
18731
|
+
configurable: true,
|
|
18732
|
+
writable: true
|
|
18733
|
+
});
|
|
18734
|
+
} else {
|
|
18735
|
+
obj[key] = value;
|
|
18736
|
+
}
|
|
18737
|
+
return obj;
|
|
18738
|
+
}
|
|
18739
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js
|
|
18740
|
+
|
|
18741
|
+
|
|
18742
|
+
|
|
18743
|
+
|
|
18744
|
+
|
|
18745
|
+
|
|
18746
|
+
|
|
18747
|
+
|
|
18748
|
+
|
|
18749
|
+
function ownKeys(object, enumerableOnly) {
|
|
18750
|
+
var keys = Object.keys(object);
|
|
18751
|
+
if (Object.getOwnPropertySymbols) {
|
|
18752
|
+
var symbols = Object.getOwnPropertySymbols(object);
|
|
18753
|
+
enumerableOnly && (symbols = symbols.filter(function (sym) {
|
|
18754
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
18755
|
+
})), keys.push.apply(keys, symbols);
|
|
18756
|
+
}
|
|
18757
|
+
return keys;
|
|
18758
|
+
}
|
|
18759
|
+
function _objectSpread2(target) {
|
|
18760
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
18761
|
+
var source = null != arguments[i] ? arguments[i] : {};
|
|
18762
|
+
i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {
|
|
18763
|
+
_defineProperty(target, key, source[key]);
|
|
18764
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {
|
|
18765
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
18766
|
+
});
|
|
18767
|
+
}
|
|
18768
|
+
return target;
|
|
18769
|
+
}
|
|
18866
18770
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
|
|
18867
18771
|
|
|
18868
18772
|
|
|
@@ -18889,120 +18793,688 @@ function _asyncToGenerator(fn) {
|
|
|
18889
18793
|
function _next(value) {
|
|
18890
18794
|
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
|
18891
18795
|
}
|
|
18892
|
-
function _throw(err) {
|
|
18893
|
-
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
|
18796
|
+
function _throw(err) {
|
|
18797
|
+
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
|
18798
|
+
}
|
|
18799
|
+
_next(undefined);
|
|
18800
|
+
});
|
|
18801
|
+
};
|
|
18802
|
+
}
|
|
18803
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
|
|
18804
|
+
|
|
18805
|
+
function _arrayWithoutHoles(arr) {
|
|
18806
|
+
if (Array.isArray(arr)) return _arrayLikeToArray(arr);
|
|
18807
|
+
}
|
|
18808
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js
|
|
18809
|
+
|
|
18810
|
+
|
|
18811
|
+
|
|
18812
|
+
|
|
18813
|
+
|
|
18814
|
+
|
|
18815
|
+
|
|
18816
|
+
|
|
18817
|
+
function _iterableToArray(iter) {
|
|
18818
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
18819
|
+
}
|
|
18820
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
|
18821
|
+
|
|
18822
|
+
function _nonIterableSpread() {
|
|
18823
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
18824
|
+
}
|
|
18825
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
|
|
18826
|
+
|
|
18827
|
+
|
|
18828
|
+
|
|
18829
|
+
|
|
18830
|
+
function _toConsumableArray(arr) {
|
|
18831
|
+
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
|
18832
|
+
}
|
|
18833
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/select.css
|
|
18834
|
+
var theme_chalk_select = __webpack_require__("1f1a");
|
|
18835
|
+
|
|
18836
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/base.css
|
|
18837
|
+
var base = __webpack_require__("450d");
|
|
18838
|
+
|
|
18839
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/select.js
|
|
18840
|
+
var lib_select = __webpack_require__("4e4b");
|
|
18841
|
+
var lib_select_default = /*#__PURE__*/__webpack_require__.n(lib_select);
|
|
18842
|
+
|
|
18843
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/row.css
|
|
18844
|
+
var row = __webpack_require__("7a0f");
|
|
18845
|
+
|
|
18846
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/row.js
|
|
18847
|
+
var lib_row = __webpack_require__("0f6c");
|
|
18848
|
+
var lib_row_default = /*#__PURE__*/__webpack_require__.n(lib_row);
|
|
18849
|
+
|
|
18850
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/radio-group.css
|
|
18851
|
+
var radio_group = __webpack_require__("fe07");
|
|
18852
|
+
|
|
18853
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/radio-group.js
|
|
18854
|
+
var lib_radio_group = __webpack_require__("6ac5");
|
|
18855
|
+
var lib_radio_group_default = /*#__PURE__*/__webpack_require__.n(lib_radio_group);
|
|
18856
|
+
|
|
18857
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/radio.css
|
|
18858
|
+
var theme_chalk_radio = __webpack_require__("b5d8");
|
|
18859
|
+
|
|
18860
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/radio.js
|
|
18861
|
+
var lib_radio = __webpack_require__("f494");
|
|
18862
|
+
var lib_radio_default = /*#__PURE__*/__webpack_require__.n(lib_radio);
|
|
18863
|
+
|
|
18864
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/loading.css
|
|
18865
|
+
var loading = __webpack_require__("be4f");
|
|
18866
|
+
|
|
18867
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/loading.js
|
|
18868
|
+
var lib_loading = __webpack_require__("896a");
|
|
18869
|
+
var lib_loading_default = /*#__PURE__*/__webpack_require__.n(lib_loading);
|
|
18870
|
+
|
|
18871
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/col.css
|
|
18872
|
+
var col = __webpack_require__("f4f9");
|
|
18873
|
+
|
|
18874
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/col.js
|
|
18875
|
+
var lib_col = __webpack_require__("c2cc");
|
|
18876
|
+
var lib_col_default = /*#__PURE__*/__webpack_require__.n(lib_col);
|
|
18877
|
+
|
|
18878
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/button.css
|
|
18879
|
+
var theme_chalk_button = __webpack_require__("1951");
|
|
18880
|
+
|
|
18881
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/button.js
|
|
18882
|
+
var lib_button = __webpack_require__("eedf");
|
|
18883
|
+
var lib_button_default = /*#__PURE__*/__webpack_require__.n(lib_button);
|
|
18884
|
+
|
|
18885
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.find-index.js"
|
|
18886
|
+
var es_array_find_index_js_ = __webpack_require__("4c7f");
|
|
18887
|
+
|
|
18888
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.concat.js"
|
|
18889
|
+
var es_array_concat_js_ = __webpack_require__("ccb0");
|
|
18890
|
+
|
|
18891
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.map.js"
|
|
18892
|
+
var es_array_map_js_ = __webpack_require__("4391");
|
|
18893
|
+
|
|
18894
|
+
// EXTERNAL MODULE: external "core-js/modules/es.set.js"
|
|
18895
|
+
var es_set_js_ = __webpack_require__("8535");
|
|
18896
|
+
|
|
18897
|
+
// EXTERNAL MODULE: external "core-js/modules/es.string.search.js"
|
|
18898
|
+
var es_string_search_js_ = __webpack_require__("1c32");
|
|
18899
|
+
|
|
18900
|
+
// EXTERNAL MODULE: external "vue"
|
|
18901
|
+
var external_vue_ = __webpack_require__("8bbf");
|
|
18902
|
+
var external_vue_default = /*#__PURE__*/__webpack_require__.n(external_vue_);
|
|
18903
|
+
|
|
18904
|
+
// 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&
|
|
18905
|
+
var Tooltipvue_type_template_id_60f01bdc_scoped_true_render = function render() {
|
|
18906
|
+
var _vm = this,
|
|
18907
|
+
_c = _vm._self._c;
|
|
18908
|
+
return _c('div', {
|
|
18909
|
+
staticClass: "tooltip-container"
|
|
18910
|
+
}, [_vm.annotationDisplay ? [_c('annotation-tool', {
|
|
18911
|
+
attrs: {
|
|
18912
|
+
"annotationEntry": _vm.annotationEntry
|
|
18913
|
+
}
|
|
18914
|
+
})] : [_c('provenance-popup', {
|
|
18915
|
+
attrs: {
|
|
18916
|
+
"entry": _vm.entry
|
|
18917
|
+
},
|
|
18918
|
+
on: {
|
|
18919
|
+
"highlightConnectedPaths": function highlightConnectedPaths($event) {
|
|
18920
|
+
return _vm.$emit('highlightConnectedPaths', $event);
|
|
18921
|
+
},
|
|
18922
|
+
"onClose": function onClose($event) {
|
|
18923
|
+
return _vm.$emit('onClose');
|
|
18924
|
+
}
|
|
18925
|
+
}
|
|
18926
|
+
})]], 2);
|
|
18927
|
+
};
|
|
18928
|
+
var Tooltipvue_type_template_id_60f01bdc_scoped_true_staticRenderFns = [];
|
|
18929
|
+
|
|
18930
|
+
// CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=template&id=60f01bdc&scoped=true&
|
|
18931
|
+
|
|
18932
|
+
// 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&
|
|
18933
|
+
|
|
18934
|
+
var AnnotationToolvue_type_template_id_028138eb_scoped_true_render = function render() {
|
|
18935
|
+
var _vm = this,
|
|
18936
|
+
_c = _vm._self._c;
|
|
18937
|
+
return _c('el-main', {
|
|
18938
|
+
staticClass: "main"
|
|
18939
|
+
}, [_c('div', {
|
|
18940
|
+
staticClass: "block"
|
|
18941
|
+
}, [_c('el-row', {
|
|
18942
|
+
staticClass: "info-field"
|
|
18943
|
+
}, [_c('span', {
|
|
18944
|
+
staticClass: "title"
|
|
18945
|
+
}, [_vm._v("Feature Annotations")])]), _vm.annotationEntry ? [_vm._l(_vm.displayPair, function (key, label) {
|
|
18946
|
+
return _c('el-row', {
|
|
18947
|
+
directives: [{
|
|
18948
|
+
name: "show",
|
|
18949
|
+
rawName: "v-show",
|
|
18950
|
+
value: _vm.annotationEntry[key],
|
|
18951
|
+
expression: "annotationEntry[key]"
|
|
18952
|
+
}],
|
|
18953
|
+
key: key,
|
|
18954
|
+
staticClass: "dialog-text"
|
|
18955
|
+
}, [_c('strong', [_vm._v(_vm._s(label) + ": ")]), _vm._v(" " + _vm._s(_vm.annotationEntry[key]) + " ")]);
|
|
18956
|
+
}), _vm.prevSubs.length > 0 ? [_c('div', {
|
|
18957
|
+
directives: [{
|
|
18958
|
+
name: "show",
|
|
18959
|
+
rawName: "v-show",
|
|
18960
|
+
value: _vm.showSubmissions,
|
|
18961
|
+
expression: "showSubmissions"
|
|
18962
|
+
}],
|
|
18963
|
+
staticClass: "hide",
|
|
18964
|
+
on: {
|
|
18965
|
+
"click": function click($event) {
|
|
18966
|
+
_vm.showSubmissions = false;
|
|
18967
|
+
}
|
|
18968
|
+
}
|
|
18969
|
+
}, [_vm._v(" Hide previous submissions "), _c('i', {
|
|
18970
|
+
staticClass: "el-icon-arrow-up"
|
|
18971
|
+
})]), _c('div', {
|
|
18972
|
+
directives: [{
|
|
18973
|
+
name: "show",
|
|
18974
|
+
rawName: "v-show",
|
|
18975
|
+
value: !_vm.showSubmissions,
|
|
18976
|
+
expression: "!showSubmissions"
|
|
18977
|
+
}],
|
|
18978
|
+
staticClass: "hide",
|
|
18979
|
+
on: {
|
|
18980
|
+
"click": function click($event) {
|
|
18981
|
+
_vm.showSubmissions = true;
|
|
18982
|
+
}
|
|
18983
|
+
}
|
|
18984
|
+
}, [_vm._v(" Show previous " + _vm._s(_vm.prevSubs.length) + " submission(s) "), _c('i', {
|
|
18985
|
+
staticClass: "el-icon-arrow-down"
|
|
18986
|
+
})]), _vm.showSubmissions ? [_c('el-row', {
|
|
18987
|
+
staticClass: "dialog-spacer"
|
|
18988
|
+
}), _c('el-row', {
|
|
18989
|
+
staticClass: "dialog-text"
|
|
18990
|
+
}, [_c('strong', {
|
|
18991
|
+
staticClass: "sub-title"
|
|
18992
|
+
}, [_vm._v("Previous submissions:")])]), _vm._l(_vm.prevSubs, function (sub, index) {
|
|
18993
|
+
return _c('div', {
|
|
18994
|
+
key: index,
|
|
18995
|
+
staticClass: "entry"
|
|
18996
|
+
}, [_c('el-row', {
|
|
18997
|
+
staticClass: "dialog-text"
|
|
18998
|
+
}, [_c('strong', [_vm._v(_vm._s(_vm.formatTime(sub.created)))]), _vm._v(" " + _vm._s(sub.creator.name) + " ")]), _c('el-row', {
|
|
18999
|
+
staticClass: "dialog-text"
|
|
19000
|
+
}, [_c('strong', [_vm._v("Evidence: ")]), _vm._l(sub.evidence, function (evidence) {
|
|
19001
|
+
return _c('el-row', {
|
|
19002
|
+
key: evidence,
|
|
19003
|
+
staticClass: "dialog-text"
|
|
19004
|
+
}, [_c('a', {
|
|
19005
|
+
attrs: {
|
|
19006
|
+
"href": evidence,
|
|
19007
|
+
"target": "_blank"
|
|
19008
|
+
}
|
|
19009
|
+
}, [_vm._v(" " + _vm._s(evidence))])]);
|
|
19010
|
+
})], 2), _c('el-row', {
|
|
19011
|
+
staticClass: "dialog-text"
|
|
19012
|
+
}, [_c('strong', [_vm._v("Comment: ")]), _vm._v(" " + _vm._s(sub.comment) + " ")])], 1);
|
|
19013
|
+
})] : _vm._e()] : _vm._e(), _c('el-row', {
|
|
19014
|
+
staticClass: "dialog-spacer"
|
|
19015
|
+
}), _vm.authenticated ? [_vm.isEditable ? [!_vm.editing ? _c('el-row', [_c('i', {
|
|
19016
|
+
staticClass: "el-icon-edit standard-icon",
|
|
19017
|
+
on: {
|
|
19018
|
+
"click": function click($event) {
|
|
19019
|
+
_vm.editing = true;
|
|
19020
|
+
}
|
|
19021
|
+
}
|
|
19022
|
+
})]) : [_c('el-row', {
|
|
19023
|
+
staticClass: "dialog-text"
|
|
19024
|
+
}, [_c('strong', {
|
|
19025
|
+
staticClass: "sub-title"
|
|
19026
|
+
}, [_vm._v("Suggest changes:")])]), _c('el-row', {
|
|
19027
|
+
staticClass: "dialog-text"
|
|
19028
|
+
}, [_c('strong', [_vm._v("Evidvence:")])]), _vm._l(_vm.evidence, function (value, index) {
|
|
19029
|
+
return _c('el-row', {
|
|
19030
|
+
key: value
|
|
19031
|
+
}, [_c('el-col', {
|
|
19032
|
+
attrs: {
|
|
19033
|
+
"span": 20
|
|
19034
|
+
}
|
|
19035
|
+
}, [_vm._v(" " + _vm._s(_vm.evidence[index]) + " ")]), _c('el-col', {
|
|
19036
|
+
attrs: {
|
|
19037
|
+
"span": 4
|
|
19038
|
+
}
|
|
19039
|
+
}, [_c('i', {
|
|
19040
|
+
staticClass: "el-icon-close standard-icon",
|
|
19041
|
+
on: {
|
|
19042
|
+
"click": function click($event) {
|
|
19043
|
+
return _vm.removeEvidence(index);
|
|
19044
|
+
}
|
|
19045
|
+
}
|
|
19046
|
+
})])], 1);
|
|
19047
|
+
}), _c('el-row', [_c('el-input', {
|
|
19048
|
+
attrs: {
|
|
19049
|
+
"size": "mini",
|
|
19050
|
+
"placeholder": "Enter"
|
|
19051
|
+
},
|
|
19052
|
+
on: {
|
|
19053
|
+
"change": function change($event) {
|
|
19054
|
+
return _vm.evidenceEntered($event);
|
|
19055
|
+
}
|
|
19056
|
+
},
|
|
19057
|
+
model: {
|
|
19058
|
+
value: _vm.newEvidence,
|
|
19059
|
+
callback: function callback($$v) {
|
|
19060
|
+
_vm.newEvidence = $$v;
|
|
19061
|
+
},
|
|
19062
|
+
expression: "newEvidence"
|
|
19063
|
+
}
|
|
19064
|
+
}, [_c('el-select', {
|
|
19065
|
+
staticClass: "select-box",
|
|
19066
|
+
attrs: {
|
|
19067
|
+
"slot": "prepend",
|
|
19068
|
+
"popper-append-to-body": false,
|
|
19069
|
+
"placeholder": "Select",
|
|
19070
|
+
"popper-class": "flatmap_dropdown"
|
|
19071
|
+
},
|
|
19072
|
+
slot: "prepend",
|
|
19073
|
+
model: {
|
|
19074
|
+
value: _vm.evidencePrefix,
|
|
19075
|
+
callback: function callback($$v) {
|
|
19076
|
+
_vm.evidencePrefix = $$v;
|
|
19077
|
+
},
|
|
19078
|
+
expression: "evidencePrefix"
|
|
19079
|
+
}
|
|
19080
|
+
}, _vm._l(_vm.evidencePrefixes, function (item) {
|
|
19081
|
+
return _c('el-option', {
|
|
19082
|
+
key: item,
|
|
19083
|
+
attrs: {
|
|
19084
|
+
"label": item,
|
|
19085
|
+
"value": item
|
|
19086
|
+
}
|
|
19087
|
+
}, [_c('el-row', [_c('el-col', {
|
|
19088
|
+
attrs: {
|
|
19089
|
+
"span": 12
|
|
18894
19090
|
}
|
|
18895
|
-
|
|
18896
|
-
|
|
18897
|
-
|
|
18898
|
-
}
|
|
18899
|
-
|
|
19091
|
+
}, [_vm._v(_vm._s(item))])], 1)], 1);
|
|
19092
|
+
}), 1)], 1)], 1), _c('el-row', [_c('strong', [_vm._v("Comment:")])]), _c('el-row', {
|
|
19093
|
+
staticClass: "dialog-text"
|
|
19094
|
+
}, [_c('el-input', {
|
|
19095
|
+
attrs: {
|
|
19096
|
+
"type": "textarea",
|
|
19097
|
+
"autosize": {
|
|
19098
|
+
minRows: 2,
|
|
19099
|
+
maxRows: 4
|
|
19100
|
+
},
|
|
19101
|
+
"placeholder": "Enter"
|
|
19102
|
+
},
|
|
19103
|
+
model: {
|
|
19104
|
+
value: _vm.comment,
|
|
19105
|
+
callback: function callback($$v) {
|
|
19106
|
+
_vm.comment = $$v;
|
|
19107
|
+
},
|
|
19108
|
+
expression: "comment"
|
|
19109
|
+
}
|
|
19110
|
+
})], 1), _c('el-row', {
|
|
19111
|
+
staticClass: "dialog-text"
|
|
19112
|
+
}, [_c('el-button', {
|
|
19113
|
+
staticClass: "button",
|
|
19114
|
+
attrs: {
|
|
19115
|
+
"type": "primary",
|
|
19116
|
+
"plain": ""
|
|
19117
|
+
},
|
|
19118
|
+
on: {
|
|
19119
|
+
"click": _vm.submit
|
|
19120
|
+
}
|
|
19121
|
+
}, [_vm._v(" Submit ")])], 1)]] : _vm._e()] : _vm._e(), _vm.errorMessage ? _c('el-row', {
|
|
19122
|
+
staticClass: "dialog-text"
|
|
19123
|
+
}, [_c('strong', {
|
|
19124
|
+
staticClass: "sub-title"
|
|
19125
|
+
}, [_vm._v(" " + _vm._s(_vm.errorMessage) + " ")])]) : _vm._e()] : _vm._e()], 2)]);
|
|
19126
|
+
};
|
|
19127
|
+
var AnnotationToolvue_type_template_id_028138eb_scoped_true_staticRenderFns = [];
|
|
18900
19128
|
|
|
18901
|
-
|
|
18902
|
-
if (Array.isArray(arr)) return _arrayLikeToArray(arr);
|
|
18903
|
-
}
|
|
18904
|
-
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js
|
|
19129
|
+
// CONCATENATED MODULE: ./src/components/AnnotationTool.vue?vue&type=template&id=028138eb&scoped=true&
|
|
18905
19130
|
|
|
19131
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/main.css
|
|
19132
|
+
var main = __webpack_require__("de31");
|
|
18906
19133
|
|
|
19134
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/main.js
|
|
19135
|
+
var lib_main = __webpack_require__("c69e");
|
|
19136
|
+
var lib_main_default = /*#__PURE__*/__webpack_require__.n(lib_main);
|
|
18907
19137
|
|
|
19138
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/input.css
|
|
19139
|
+
var theme_chalk_input = __webpack_require__("10cb");
|
|
18908
19140
|
|
|
19141
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/input.js
|
|
19142
|
+
var lib_input = __webpack_require__("f3ad");
|
|
19143
|
+
var lib_input_default = /*#__PURE__*/__webpack_require__.n(lib_input);
|
|
18909
19144
|
|
|
19145
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.includes.js"
|
|
19146
|
+
var es_array_includes_js_ = __webpack_require__("85f7");
|
|
18910
19147
|
|
|
19148
|
+
// EXTERNAL MODULE: external "core-js/modules/es.string.includes.js"
|
|
19149
|
+
var es_string_includes_js_ = __webpack_require__("fd22");
|
|
18911
19150
|
|
|
19151
|
+
// EXTERNAL MODULE: external "core-js/modules/es.string.replace.js"
|
|
19152
|
+
var es_string_replace_js_ = __webpack_require__("6378");
|
|
18912
19153
|
|
|
18913
|
-
|
|
18914
|
-
|
|
18915
|
-
}
|
|
18916
|
-
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
|
19154
|
+
// EXTERNAL MODULE: external "core-js/modules/web.url.js"
|
|
19155
|
+
var web_url_js_ = __webpack_require__("b94f");
|
|
18917
19156
|
|
|
18918
|
-
|
|
18919
|
-
|
|
18920
|
-
}
|
|
18921
|
-
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
|
|
19157
|
+
// EXTERNAL MODULE: external "core-js/modules/web.url-search-params.js"
|
|
19158
|
+
var web_url_search_params_js_ = __webpack_require__("712c");
|
|
18922
19159
|
|
|
19160
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.splice.js"
|
|
19161
|
+
var es_array_splice_js_ = __webpack_require__("f3b8");
|
|
18923
19162
|
|
|
19163
|
+
// EXTERNAL MODULE: external "@abi-software/sparc-annotation"
|
|
19164
|
+
var sparc_annotation_ = __webpack_require__("dd96");
|
|
18924
19165
|
|
|
19166
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/locale/lang/en.js
|
|
19167
|
+
var en = __webpack_require__("b2d6");
|
|
19168
|
+
var en_default = /*#__PURE__*/__webpack_require__.n(en);
|
|
18925
19169
|
|
|
18926
|
-
|
|
18927
|
-
|
|
18928
|
-
|
|
18929
|
-
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/row.css
|
|
18930
|
-
var row = __webpack_require__("7a0f");
|
|
19170
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/locale/index.js
|
|
19171
|
+
var locale = __webpack_require__("4897");
|
|
19172
|
+
var locale_default = /*#__PURE__*/__webpack_require__.n(locale);
|
|
18931
19173
|
|
|
18932
|
-
//
|
|
18933
|
-
var base = __webpack_require__("450d");
|
|
19174
|
+
// 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&
|
|
18934
19175
|
|
|
18935
|
-
// EXTERNAL MODULE: ./node_modules/element-ui/lib/row.js
|
|
18936
|
-
var lib_row = __webpack_require__("0f6c");
|
|
18937
|
-
var lib_row_default = /*#__PURE__*/__webpack_require__.n(lib_row);
|
|
18938
19176
|
|
|
18939
|
-
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/radio-group.css
|
|
18940
|
-
var radio_group = __webpack_require__("fe07");
|
|
18941
19177
|
|
|
18942
|
-
// EXTERNAL MODULE: ./node_modules/element-ui/lib/radio-group.js
|
|
18943
|
-
var lib_radio_group = __webpack_require__("6ac5");
|
|
18944
|
-
var lib_radio_group_default = /*#__PURE__*/__webpack_require__.n(lib_radio_group);
|
|
18945
19178
|
|
|
18946
|
-
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/radio.css
|
|
18947
|
-
var theme_chalk_radio = __webpack_require__("b5d8");
|
|
18948
19179
|
|
|
18949
|
-
// EXTERNAL MODULE: ./node_modules/element-ui/lib/radio.js
|
|
18950
|
-
var lib_radio = __webpack_require__("f494");
|
|
18951
|
-
var lib_radio_default = /*#__PURE__*/__webpack_require__.n(lib_radio);
|
|
18952
19180
|
|
|
18953
|
-
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/loading.css
|
|
18954
|
-
var loading = __webpack_require__("be4f");
|
|
18955
19181
|
|
|
18956
|
-
// EXTERNAL MODULE: ./node_modules/element-ui/lib/loading.js
|
|
18957
|
-
var lib_loading = __webpack_require__("896a");
|
|
18958
|
-
var lib_loading_default = /*#__PURE__*/__webpack_require__.n(lib_loading);
|
|
18959
19182
|
|
|
18960
|
-
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/col.css
|
|
18961
|
-
var col = __webpack_require__("f4f9");
|
|
18962
19183
|
|
|
18963
|
-
// EXTERNAL MODULE: ./node_modules/element-ui/lib/col.js
|
|
18964
|
-
var lib_col = __webpack_require__("c2cc");
|
|
18965
|
-
var lib_col_default = /*#__PURE__*/__webpack_require__.n(lib_col);
|
|
18966
19184
|
|
|
18967
|
-
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/button.css
|
|
18968
|
-
var theme_chalk_button = __webpack_require__("1951");
|
|
18969
19185
|
|
|
18970
|
-
// EXTERNAL MODULE: ./node_modules/element-ui/lib/button.js
|
|
18971
|
-
var lib_button = __webpack_require__("eedf");
|
|
18972
|
-
var lib_button_default = /*#__PURE__*/__webpack_require__.n(lib_button);
|
|
18973
19186
|
|
|
18974
|
-
// EXTERNAL MODULE: external "core-js/modules/es.array.filter.js"
|
|
18975
|
-
var es_array_filter_js_ = __webpack_require__("1a89");
|
|
18976
19187
|
|
|
18977
|
-
// EXTERNAL MODULE: external "core-js/modules/es.array.find-index.js"
|
|
18978
|
-
var es_array_find_index_js_ = __webpack_require__("4c7f");
|
|
18979
19188
|
|
|
18980
|
-
// EXTERNAL MODULE: external "core-js/modules/es.array.concat.js"
|
|
18981
|
-
var es_array_concat_js_ = __webpack_require__("ccb0");
|
|
18982
19189
|
|
|
18983
|
-
// EXTERNAL MODULE: external "core-js/modules/es.array.map.js"
|
|
18984
|
-
var es_array_map_js_ = __webpack_require__("4391");
|
|
18985
19190
|
|
|
18986
|
-
// EXTERNAL MODULE: external "core-js/modules/es.set.js"
|
|
18987
|
-
var es_set_js_ = __webpack_require__("8535");
|
|
18988
19191
|
|
|
18989
|
-
// EXTERNAL MODULE: external "core-js/modules/es.string.search.js"
|
|
18990
|
-
var es_string_search_js_ = __webpack_require__("1c32");
|
|
18991
19192
|
|
|
18992
|
-
// EXTERNAL MODULE: external "core-js/modules/es.number.constructor.js"
|
|
18993
|
-
var es_number_constructor_js_ = __webpack_require__("f989");
|
|
18994
19193
|
|
|
18995
|
-
// EXTERNAL MODULE: external "vue"
|
|
18996
|
-
var external_vue_ = __webpack_require__("8bbf");
|
|
18997
|
-
var external_vue_default = /*#__PURE__*/__webpack_require__.n(external_vue_);
|
|
18998
19194
|
|
|
18999
|
-
|
|
19000
|
-
|
|
19195
|
+
|
|
19196
|
+
|
|
19197
|
+
|
|
19198
|
+
|
|
19199
|
+
|
|
19200
|
+
|
|
19201
|
+
|
|
19202
|
+
|
|
19203
|
+
|
|
19204
|
+
|
|
19205
|
+
|
|
19206
|
+
|
|
19207
|
+
/* eslint-disable no-alert, no-console */
|
|
19208
|
+
/* eslint-disable no-alert, no-console */
|
|
19209
|
+
|
|
19210
|
+
|
|
19211
|
+
|
|
19212
|
+
|
|
19213
|
+
locale_default.a.use(en_default.a);
|
|
19214
|
+
external_vue_default.a.use(lib_button_default.a);
|
|
19215
|
+
external_vue_default.a.use(lib_col_default.a);
|
|
19216
|
+
external_vue_default.a.use(lib_input_default.a);
|
|
19217
|
+
external_vue_default.a.use(lib_main_default.a);
|
|
19218
|
+
external_vue_default.a.use(lib_row_default.a);
|
|
19219
|
+
external_vue_default.a.use(lib_select_default.a);
|
|
19220
|
+
/* harmony default export */ var AnnotationToolvue_type_script_lang_js_ = ({
|
|
19221
|
+
name: "AnnotationTool",
|
|
19222
|
+
props: {
|
|
19223
|
+
annotationEntry: {
|
|
19224
|
+
type: Object
|
|
19225
|
+
}
|
|
19226
|
+
},
|
|
19227
|
+
inject: ['flatmapAPI'],
|
|
19228
|
+
data: function data() {
|
|
19229
|
+
return {
|
|
19230
|
+
displayPair: {
|
|
19231
|
+
"Feature ID": "featureId",
|
|
19232
|
+
"Tooltip": "label",
|
|
19233
|
+
"Models": "models",
|
|
19234
|
+
"Name": "name",
|
|
19235
|
+
"Resource": "resourceId"
|
|
19236
|
+
},
|
|
19237
|
+
editing: false,
|
|
19238
|
+
evidencePrefixes: ["DOI:", "PMID:"],
|
|
19239
|
+
evidencePrefix: "DOI:",
|
|
19240
|
+
evidence: [],
|
|
19241
|
+
authenticated: false,
|
|
19242
|
+
newEvidence: '',
|
|
19243
|
+
comment: '',
|
|
19244
|
+
prevSubs: [],
|
|
19245
|
+
showSubmissions: true,
|
|
19246
|
+
errorMessage: ""
|
|
19247
|
+
};
|
|
19248
|
+
},
|
|
19249
|
+
computed: {
|
|
19250
|
+
isEditable: function isEditable() {
|
|
19251
|
+
return this.annotationEntry['resourceId'] && this.annotationEntry['featureId'];
|
|
19252
|
+
}
|
|
19253
|
+
},
|
|
19254
|
+
methods: {
|
|
19255
|
+
evidenceEntered: function evidenceEntered(value) {
|
|
19256
|
+
if (value) {
|
|
19257
|
+
this.evidence.push(this.evidencePrefix + value);
|
|
19258
|
+
this.newEvidence = "";
|
|
19259
|
+
}
|
|
19260
|
+
},
|
|
19261
|
+
formatTime: function formatTime(dateString) {
|
|
19262
|
+
var options = {
|
|
19263
|
+
year: "numeric",
|
|
19264
|
+
month: "long",
|
|
19265
|
+
day: "numeric",
|
|
19266
|
+
hour: "numeric",
|
|
19267
|
+
minute: "numeric",
|
|
19268
|
+
second: "numeric"
|
|
19269
|
+
};
|
|
19270
|
+
return new Date(dateString).toLocaleDateString(undefined, options);
|
|
19271
|
+
},
|
|
19272
|
+
updatePrevSubmissions: function updatePrevSubmissions() {
|
|
19273
|
+
var _this = this;
|
|
19274
|
+
if (this.$annotator) {
|
|
19275
|
+
if (this.annotationEntry['resourceId'] && this.annotationEntry['featureId']) {
|
|
19276
|
+
this.$annotator.itemAnnotations(this.annotationEntry['resourceId'], this.annotationEntry['featureId']).then(function (value) {
|
|
19277
|
+
_this.prevSubs = value;
|
|
19278
|
+
}).catch(function (reason) {
|
|
19279
|
+
console.log(reason); // Error!
|
|
19280
|
+
});
|
|
19281
|
+
}
|
|
19282
|
+
}
|
|
19283
|
+
},
|
|
19284
|
+
|
|
19285
|
+
submit: function submit() {
|
|
19286
|
+
var _this2 = this;
|
|
19287
|
+
if (this.evidence.length > 0 || this.comment) {
|
|
19288
|
+
if (this.annotationEntry['resourceId'] && this.annotationEntry['featureId']) {
|
|
19289
|
+
var evidenceURLs = [];
|
|
19290
|
+
this.evidence.forEach(function (evidence) {
|
|
19291
|
+
if (evidence.includes("DOI:")) {
|
|
19292
|
+
var link = evidence.replace("DOI:", "https://doi.org/");
|
|
19293
|
+
evidenceURLs.push(new URL(link));
|
|
19294
|
+
} else if (evidence.includes("PMID:")) {
|
|
19295
|
+
var _link = evidence.replace("PMID:", "https://pubmed.ncbi.nlm.nih.gov/");
|
|
19296
|
+
evidenceURLs.push(new URL(_link));
|
|
19297
|
+
}
|
|
19298
|
+
});
|
|
19299
|
+
var userAnnotation = {
|
|
19300
|
+
resource: this.annotationEntry['resourceId'],
|
|
19301
|
+
item: this.annotationEntry['featureId'],
|
|
19302
|
+
evidence: evidenceURLs,
|
|
19303
|
+
comment: this.comment
|
|
19304
|
+
};
|
|
19305
|
+
this.$annotator.addAnnotation(userAnnotation).then(function () {
|
|
19306
|
+
_this2.errorMessage = "";
|
|
19307
|
+
_this2.resetSubmission();
|
|
19308
|
+
_this2.updatePrevSubmissions();
|
|
19309
|
+
}).catch(function () {
|
|
19310
|
+
_this2.errorMessage = "There is a problem with the submission, please try again later";
|
|
19311
|
+
});
|
|
19312
|
+
}
|
|
19313
|
+
}
|
|
19314
|
+
},
|
|
19315
|
+
removeEvidence: function removeEvidence(index) {
|
|
19316
|
+
this.evidence.splice(index, 1);
|
|
19317
|
+
},
|
|
19318
|
+
resetSubmission: function resetSubmission() {
|
|
19319
|
+
this.editing = false;
|
|
19320
|
+
this.evidence = [];
|
|
19321
|
+
this.newFeature = '';
|
|
19322
|
+
this.comment = '';
|
|
19323
|
+
}
|
|
19324
|
+
},
|
|
19325
|
+
watch: {
|
|
19326
|
+
annotationEntry: {
|
|
19327
|
+
handler: function handler() {
|
|
19328
|
+
this.resetSubmission();
|
|
19329
|
+
this.updatePrevSubmissions();
|
|
19330
|
+
},
|
|
19331
|
+
immediate: false,
|
|
19332
|
+
deep: false
|
|
19333
|
+
}
|
|
19334
|
+
},
|
|
19335
|
+
mounted: function mounted() {
|
|
19336
|
+
var _this3 = this;
|
|
19337
|
+
if (!this.$annotator) {
|
|
19338
|
+
external_vue_default.a.prototype.$annotator = new sparc_annotation_["AnnotationService"]("".concat(this.flatmapAPI, "annotator"));
|
|
19339
|
+
}
|
|
19340
|
+
this.$annotator.authenticate().then(function (userData) {
|
|
19341
|
+
if (userData.name && userData.email) {
|
|
19342
|
+
_this3.authenticated = true;
|
|
19343
|
+
} else {
|
|
19344
|
+
_this3.errorMessage = "You cannot view some of the information as you are not logged in or without the correct permission.";
|
|
19345
|
+
}
|
|
19346
|
+
});
|
|
19347
|
+
}
|
|
19348
|
+
});
|
|
19349
|
+
// CONCATENATED MODULE: ./src/components/AnnotationTool.vue?vue&type=script&lang=js&
|
|
19350
|
+
/* harmony default export */ var components_AnnotationToolvue_type_script_lang_js_ = (AnnotationToolvue_type_script_lang_js_);
|
|
19351
|
+
// EXTERNAL MODULE: ./src/components/AnnotationTool.vue?vue&type=style&index=0&id=028138eb&prod&scoped=true&lang=scss&
|
|
19352
|
+
var AnnotationToolvue_type_style_index_0_id_028138eb_prod_scoped_true_lang_scss_ = __webpack_require__("e42b");
|
|
19353
|
+
|
|
19354
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
19355
|
+
/* globals __VUE_SSR_CONTEXT__ */
|
|
19356
|
+
|
|
19357
|
+
// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
|
|
19358
|
+
// This module is a runtime utility for cleaner component module output and will
|
|
19359
|
+
// be included in the final webpack user bundle.
|
|
19360
|
+
|
|
19361
|
+
function normalizeComponent(
|
|
19362
|
+
scriptExports,
|
|
19363
|
+
render,
|
|
19364
|
+
staticRenderFns,
|
|
19365
|
+
functionalTemplate,
|
|
19366
|
+
injectStyles,
|
|
19367
|
+
scopeId,
|
|
19368
|
+
moduleIdentifier /* server only */,
|
|
19369
|
+
shadowMode /* vue-cli only */
|
|
19370
|
+
) {
|
|
19371
|
+
// Vue.extend constructor export interop
|
|
19372
|
+
var options =
|
|
19373
|
+
typeof scriptExports === 'function' ? scriptExports.options : scriptExports
|
|
19374
|
+
|
|
19375
|
+
// render functions
|
|
19376
|
+
if (render) {
|
|
19377
|
+
options.render = render
|
|
19378
|
+
options.staticRenderFns = staticRenderFns
|
|
19379
|
+
options._compiled = true
|
|
19380
|
+
}
|
|
19381
|
+
|
|
19382
|
+
// functional template
|
|
19383
|
+
if (functionalTemplate) {
|
|
19384
|
+
options.functional = true
|
|
19385
|
+
}
|
|
19386
|
+
|
|
19387
|
+
// scopedId
|
|
19388
|
+
if (scopeId) {
|
|
19389
|
+
options._scopeId = 'data-v-' + scopeId
|
|
19390
|
+
}
|
|
19391
|
+
|
|
19392
|
+
var hook
|
|
19393
|
+
if (moduleIdentifier) {
|
|
19394
|
+
// server build
|
|
19395
|
+
hook = function (context) {
|
|
19396
|
+
// 2.3 injection
|
|
19397
|
+
context =
|
|
19398
|
+
context || // cached call
|
|
19399
|
+
(this.$vnode && this.$vnode.ssrContext) || // stateful
|
|
19400
|
+
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
|
|
19401
|
+
// 2.2 with runInNewContext: true
|
|
19402
|
+
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
|
|
19403
|
+
context = __VUE_SSR_CONTEXT__
|
|
19404
|
+
}
|
|
19405
|
+
// inject component styles
|
|
19406
|
+
if (injectStyles) {
|
|
19407
|
+
injectStyles.call(this, context)
|
|
19408
|
+
}
|
|
19409
|
+
// register component module identifier for async chunk inferrence
|
|
19410
|
+
if (context && context._registeredComponents) {
|
|
19411
|
+
context._registeredComponents.add(moduleIdentifier)
|
|
19412
|
+
}
|
|
19413
|
+
}
|
|
19414
|
+
// used by ssr in case component is cached and beforeCreate
|
|
19415
|
+
// never gets called
|
|
19416
|
+
options._ssrRegister = hook
|
|
19417
|
+
} else if (injectStyles) {
|
|
19418
|
+
hook = shadowMode
|
|
19419
|
+
? function () {
|
|
19420
|
+
injectStyles.call(
|
|
19421
|
+
this,
|
|
19422
|
+
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
19423
|
+
)
|
|
19424
|
+
}
|
|
19425
|
+
: injectStyles
|
|
19426
|
+
}
|
|
19427
|
+
|
|
19428
|
+
if (hook) {
|
|
19429
|
+
if (options.functional) {
|
|
19430
|
+
// for template-only hot-reload because in that case the render fn doesn't
|
|
19431
|
+
// go through the normalizer
|
|
19432
|
+
options._injectStyles = hook
|
|
19433
|
+
// register for functional component in vue file
|
|
19434
|
+
var originalRender = options.render
|
|
19435
|
+
options.render = function renderWithStyleInjection(h, context) {
|
|
19436
|
+
hook.call(context)
|
|
19437
|
+
return originalRender(h, context)
|
|
19438
|
+
}
|
|
19439
|
+
} else {
|
|
19440
|
+
// inject component registration as beforeCreate hook
|
|
19441
|
+
var existing = options.beforeCreate
|
|
19442
|
+
options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
|
|
19443
|
+
}
|
|
19444
|
+
}
|
|
19445
|
+
|
|
19446
|
+
return {
|
|
19447
|
+
exports: scriptExports,
|
|
19448
|
+
options: options
|
|
19449
|
+
}
|
|
19450
|
+
}
|
|
19451
|
+
|
|
19452
|
+
// CONCATENATED MODULE: ./src/components/AnnotationTool.vue
|
|
19453
|
+
|
|
19454
|
+
|
|
19455
|
+
|
|
19456
|
+
|
|
19457
|
+
|
|
19458
|
+
|
|
19459
|
+
/* normalize component */
|
|
19460
|
+
|
|
19461
|
+
var component = normalizeComponent(
|
|
19462
|
+
components_AnnotationToolvue_type_script_lang_js_,
|
|
19463
|
+
AnnotationToolvue_type_template_id_028138eb_scoped_true_render,
|
|
19464
|
+
AnnotationToolvue_type_template_id_028138eb_scoped_true_staticRenderFns,
|
|
19465
|
+
false,
|
|
19466
|
+
null,
|
|
19467
|
+
"028138eb",
|
|
19468
|
+
null
|
|
19469
|
+
|
|
19470
|
+
)
|
|
19471
|
+
|
|
19472
|
+
/* harmony default export */ var AnnotationTool = (component.exports);
|
|
19473
|
+
// 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&
|
|
19474
|
+
var ProvenancePopupvue_type_template_id_7f410a00_scoped_true_render = function render() {
|
|
19001
19475
|
var _vm = this,
|
|
19002
19476
|
_c = _vm._self._c;
|
|
19003
|
-
return _c('
|
|
19004
|
-
staticClass: "tooltip-container"
|
|
19005
|
-
}, [_vm.entry ? _c('el-main', {
|
|
19477
|
+
return _vm.entry ? _c('el-main', {
|
|
19006
19478
|
directives: [{
|
|
19007
19479
|
name: "loading",
|
|
19008
19480
|
rawName: "v-loading",
|
|
@@ -19170,18 +19642,11 @@ var Tooltipvue_type_template_id_2bc00d52_scoped_true_render = function render()
|
|
|
19170
19642
|
attrs: {
|
|
19171
19643
|
"resources": _vm.resources
|
|
19172
19644
|
}
|
|
19173
|
-
})], 1)])], 1) : _vm._e()
|
|
19645
|
+
})], 1)])], 1) : _vm._e();
|
|
19174
19646
|
};
|
|
19175
|
-
var
|
|
19176
|
-
|
|
19177
|
-
// CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=template&id=2bc00d52&scoped=true&
|
|
19178
|
-
|
|
19179
|
-
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/main.css
|
|
19180
|
-
var main = __webpack_require__("de31");
|
|
19647
|
+
var ProvenancePopupvue_type_template_id_7f410a00_scoped_true_staticRenderFns = [];
|
|
19181
19648
|
|
|
19182
|
-
//
|
|
19183
|
-
var lib_main = __webpack_require__("c69e");
|
|
19184
|
-
var lib_main_default = /*#__PURE__*/__webpack_require__.n(lib_main);
|
|
19649
|
+
// CONCATENATED MODULE: ./src/components/ProvenancePopup.vue?vue&type=template&id=7f410a00&scoped=true&
|
|
19185
19650
|
|
|
19186
19651
|
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/icon.css
|
|
19187
19652
|
var icon = __webpack_require__("aaa5");
|
|
@@ -19190,13 +19655,6 @@ var icon = __webpack_require__("aaa5");
|
|
|
19190
19655
|
var lib_icon = __webpack_require__("a578");
|
|
19191
19656
|
var lib_icon_default = /*#__PURE__*/__webpack_require__.n(lib_icon);
|
|
19192
19657
|
|
|
19193
|
-
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/header.css
|
|
19194
|
-
var header = __webpack_require__("a673");
|
|
19195
|
-
|
|
19196
|
-
// EXTERNAL MODULE: ./node_modules/element-ui/lib/header.js
|
|
19197
|
-
var lib_header = __webpack_require__("7b31");
|
|
19198
|
-
var lib_header_default = /*#__PURE__*/__webpack_require__.n(lib_header);
|
|
19199
|
-
|
|
19200
19658
|
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/container.css
|
|
19201
19659
|
var container = __webpack_require__("adec");
|
|
19202
19660
|
|
|
@@ -19204,28 +19662,11 @@ var container = __webpack_require__("adec");
|
|
|
19204
19662
|
var lib_container = __webpack_require__("3d2d");
|
|
19205
19663
|
var lib_container_default = /*#__PURE__*/__webpack_require__.n(lib_container);
|
|
19206
19664
|
|
|
19207
|
-
// EXTERNAL MODULE: external "core-js/modules/es.string.replace.js"
|
|
19208
|
-
var es_string_replace_js_ = __webpack_require__("6378");
|
|
19209
|
-
|
|
19210
|
-
// EXTERNAL MODULE: external "core-js/modules/es.array.includes.js"
|
|
19211
|
-
var es_array_includes_js_ = __webpack_require__("85f7");
|
|
19212
|
-
|
|
19213
|
-
// EXTERNAL MODULE: external "core-js/modules/es.string.includes.js"
|
|
19214
|
-
var es_string_includes_js_ = __webpack_require__("fd22");
|
|
19215
|
-
|
|
19216
|
-
// EXTERNAL MODULE: ./node_modules/element-ui/lib/locale/lang/en.js
|
|
19217
|
-
var en = __webpack_require__("b2d6");
|
|
19218
|
-
var en_default = /*#__PURE__*/__webpack_require__.n(en);
|
|
19219
|
-
|
|
19220
|
-
// EXTERNAL MODULE: ./node_modules/element-ui/lib/locale/index.js
|
|
19221
|
-
var locale = __webpack_require__("4897");
|
|
19222
|
-
var locale_default = /*#__PURE__*/__webpack_require__.n(locale);
|
|
19223
|
-
|
|
19224
19665
|
// CONCATENATED MODULE: ./src/components/EventBus.js
|
|
19225
19666
|
|
|
19226
19667
|
var EventBus = new external_vue_default.a();
|
|
19227
19668
|
/* harmony default export */ var components_EventBus = (EventBus);
|
|
19228
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
19669
|
+
// 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&
|
|
19229
19670
|
var ExternalResourceCardvue_type_template_id_14172b61_scoped_true_render = function render() {
|
|
19230
19671
|
var _vm = this,
|
|
19231
19672
|
_c = _vm._self._c;
|
|
@@ -19290,104 +19731,6 @@ external_vue_default.a.use(lib_button_default.a);
|
|
|
19290
19731
|
// EXTERNAL MODULE: ./src/components/ExternalResourceCard.vue?vue&type=style&index=0&id=14172b61&prod&scoped=true&lang=scss&
|
|
19291
19732
|
var ExternalResourceCardvue_type_style_index_0_id_14172b61_prod_scoped_true_lang_scss_ = __webpack_require__("4034");
|
|
19292
19733
|
|
|
19293
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
19294
|
-
/* globals __VUE_SSR_CONTEXT__ */
|
|
19295
|
-
|
|
19296
|
-
// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
|
|
19297
|
-
// This module is a runtime utility for cleaner component module output and will
|
|
19298
|
-
// be included in the final webpack user bundle.
|
|
19299
|
-
|
|
19300
|
-
function normalizeComponent(
|
|
19301
|
-
scriptExports,
|
|
19302
|
-
render,
|
|
19303
|
-
staticRenderFns,
|
|
19304
|
-
functionalTemplate,
|
|
19305
|
-
injectStyles,
|
|
19306
|
-
scopeId,
|
|
19307
|
-
moduleIdentifier /* server only */,
|
|
19308
|
-
shadowMode /* vue-cli only */
|
|
19309
|
-
) {
|
|
19310
|
-
// Vue.extend constructor export interop
|
|
19311
|
-
var options =
|
|
19312
|
-
typeof scriptExports === 'function' ? scriptExports.options : scriptExports
|
|
19313
|
-
|
|
19314
|
-
// render functions
|
|
19315
|
-
if (render) {
|
|
19316
|
-
options.render = render
|
|
19317
|
-
options.staticRenderFns = staticRenderFns
|
|
19318
|
-
options._compiled = true
|
|
19319
|
-
}
|
|
19320
|
-
|
|
19321
|
-
// functional template
|
|
19322
|
-
if (functionalTemplate) {
|
|
19323
|
-
options.functional = true
|
|
19324
|
-
}
|
|
19325
|
-
|
|
19326
|
-
// scopedId
|
|
19327
|
-
if (scopeId) {
|
|
19328
|
-
options._scopeId = 'data-v-' + scopeId
|
|
19329
|
-
}
|
|
19330
|
-
|
|
19331
|
-
var hook
|
|
19332
|
-
if (moduleIdentifier) {
|
|
19333
|
-
// server build
|
|
19334
|
-
hook = function (context) {
|
|
19335
|
-
// 2.3 injection
|
|
19336
|
-
context =
|
|
19337
|
-
context || // cached call
|
|
19338
|
-
(this.$vnode && this.$vnode.ssrContext) || // stateful
|
|
19339
|
-
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
|
|
19340
|
-
// 2.2 with runInNewContext: true
|
|
19341
|
-
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
|
|
19342
|
-
context = __VUE_SSR_CONTEXT__
|
|
19343
|
-
}
|
|
19344
|
-
// inject component styles
|
|
19345
|
-
if (injectStyles) {
|
|
19346
|
-
injectStyles.call(this, context)
|
|
19347
|
-
}
|
|
19348
|
-
// register component module identifier for async chunk inferrence
|
|
19349
|
-
if (context && context._registeredComponents) {
|
|
19350
|
-
context._registeredComponents.add(moduleIdentifier)
|
|
19351
|
-
}
|
|
19352
|
-
}
|
|
19353
|
-
// used by ssr in case component is cached and beforeCreate
|
|
19354
|
-
// never gets called
|
|
19355
|
-
options._ssrRegister = hook
|
|
19356
|
-
} else if (injectStyles) {
|
|
19357
|
-
hook = shadowMode
|
|
19358
|
-
? function () {
|
|
19359
|
-
injectStyles.call(
|
|
19360
|
-
this,
|
|
19361
|
-
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
19362
|
-
)
|
|
19363
|
-
}
|
|
19364
|
-
: injectStyles
|
|
19365
|
-
}
|
|
19366
|
-
|
|
19367
|
-
if (hook) {
|
|
19368
|
-
if (options.functional) {
|
|
19369
|
-
// for template-only hot-reload because in that case the render fn doesn't
|
|
19370
|
-
// go through the normalizer
|
|
19371
|
-
options._injectStyles = hook
|
|
19372
|
-
// register for functional component in vue file
|
|
19373
|
-
var originalRender = options.render
|
|
19374
|
-
options.render = function renderWithStyleInjection(h, context) {
|
|
19375
|
-
hook.call(context)
|
|
19376
|
-
return originalRender(h, context)
|
|
19377
|
-
}
|
|
19378
|
-
} else {
|
|
19379
|
-
// inject component registration as beforeCreate hook
|
|
19380
|
-
var existing = options.beforeCreate
|
|
19381
|
-
options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
|
|
19382
|
-
}
|
|
19383
|
-
}
|
|
19384
|
-
|
|
19385
|
-
return {
|
|
19386
|
-
exports: scriptExports,
|
|
19387
|
-
options: options
|
|
19388
|
-
}
|
|
19389
|
-
}
|
|
19390
|
-
|
|
19391
19734
|
// CONCATENATED MODULE: ./src/components/ExternalResourceCard.vue
|
|
19392
19735
|
|
|
19393
19736
|
|
|
@@ -19397,7 +19740,7 @@ function normalizeComponent(
|
|
|
19397
19740
|
|
|
19398
19741
|
/* normalize component */
|
|
19399
19742
|
|
|
19400
|
-
var
|
|
19743
|
+
var ExternalResourceCard_component = normalizeComponent(
|
|
19401
19744
|
components_ExternalResourceCardvue_type_script_lang_js_,
|
|
19402
19745
|
ExternalResourceCardvue_type_template_id_14172b61_scoped_true_render,
|
|
19403
19746
|
ExternalResourceCardvue_type_template_id_14172b61_scoped_true_staticRenderFns,
|
|
@@ -19408,11 +19751,8 @@ var component = normalizeComponent(
|
|
|
19408
19751
|
|
|
19409
19752
|
)
|
|
19410
19753
|
|
|
19411
|
-
/* harmony default export */ var ExternalResourceCard = (
|
|
19412
|
-
// 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/
|
|
19413
|
-
|
|
19414
|
-
|
|
19415
|
-
|
|
19754
|
+
/* harmony default export */ var ExternalResourceCard = (ExternalResourceCard_component.exports);
|
|
19755
|
+
// 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&
|
|
19416
19756
|
|
|
19417
19757
|
|
|
19418
19758
|
|
|
@@ -19441,7 +19781,6 @@ var component = normalizeComponent(
|
|
|
19441
19781
|
locale_default.a.use(en_default.a);
|
|
19442
19782
|
external_vue_default.a.use(lib_button_default.a);
|
|
19443
19783
|
external_vue_default.a.use(lib_container_default.a);
|
|
19444
|
-
external_vue_default.a.use(lib_header_default.a);
|
|
19445
19784
|
external_vue_default.a.use(lib_icon_default.a);
|
|
19446
19785
|
external_vue_default.a.use(lib_main_default.a);
|
|
19447
19786
|
|
|
@@ -19455,16 +19794,12 @@ var _capitalise = function capitalise(str) {
|
|
|
19455
19794
|
if (str) return str.charAt(0).toUpperCase() + str.slice(1);
|
|
19456
19795
|
return "";
|
|
19457
19796
|
};
|
|
19458
|
-
/* harmony default export */ var
|
|
19797
|
+
/* harmony default export */ var ProvenancePopupvue_type_script_lang_js_ = ({
|
|
19459
19798
|
components: {
|
|
19460
19799
|
ExternalResourceCard: ExternalResourceCard
|
|
19461
19800
|
},
|
|
19462
|
-
name: "
|
|
19801
|
+
name: "ProvenancePopup",
|
|
19463
19802
|
props: {
|
|
19464
|
-
visible: {
|
|
19465
|
-
type: Boolean,
|
|
19466
|
-
default: false
|
|
19467
|
-
},
|
|
19468
19803
|
entry: {
|
|
19469
19804
|
type: Object,
|
|
19470
19805
|
default: function _default() {
|
|
@@ -19571,10 +19906,59 @@ var _capitalise = function capitalise(str) {
|
|
|
19571
19906
|
}
|
|
19572
19907
|
}
|
|
19573
19908
|
});
|
|
19909
|
+
// CONCATENATED MODULE: ./src/components/ProvenancePopup.vue?vue&type=script&lang=js&
|
|
19910
|
+
/* harmony default export */ var components_ProvenancePopupvue_type_script_lang_js_ = (ProvenancePopupvue_type_script_lang_js_);
|
|
19911
|
+
// EXTERNAL MODULE: ./src/components/ProvenancePopup.vue?vue&type=style&index=0&id=7f410a00&prod&scoped=true&lang=scss&
|
|
19912
|
+
var ProvenancePopupvue_type_style_index_0_id_7f410a00_prod_scoped_true_lang_scss_ = __webpack_require__("0ecd");
|
|
19913
|
+
|
|
19914
|
+
// CONCATENATED MODULE: ./src/components/ProvenancePopup.vue
|
|
19915
|
+
|
|
19916
|
+
|
|
19917
|
+
|
|
19918
|
+
|
|
19919
|
+
|
|
19920
|
+
|
|
19921
|
+
/* normalize component */
|
|
19922
|
+
|
|
19923
|
+
var ProvenancePopup_component = normalizeComponent(
|
|
19924
|
+
components_ProvenancePopupvue_type_script_lang_js_,
|
|
19925
|
+
ProvenancePopupvue_type_template_id_7f410a00_scoped_true_render,
|
|
19926
|
+
ProvenancePopupvue_type_template_id_7f410a00_scoped_true_staticRenderFns,
|
|
19927
|
+
false,
|
|
19928
|
+
null,
|
|
19929
|
+
"7f410a00",
|
|
19930
|
+
null
|
|
19931
|
+
|
|
19932
|
+
)
|
|
19933
|
+
|
|
19934
|
+
/* harmony default export */ var ProvenancePopup = (ProvenancePopup_component.exports);
|
|
19935
|
+
// 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&
|
|
19936
|
+
/* eslint-disable no-alert, no-console */
|
|
19937
|
+
|
|
19938
|
+
|
|
19939
|
+
/* harmony default export */ var Tooltipvue_type_script_lang_js_ = ({
|
|
19940
|
+
name: "Tooltip",
|
|
19941
|
+
components: {
|
|
19942
|
+
AnnotationTool: AnnotationTool,
|
|
19943
|
+
ProvenancePopup: ProvenancePopup
|
|
19944
|
+
},
|
|
19945
|
+
props: {
|
|
19946
|
+
entry: {
|
|
19947
|
+
type: Object
|
|
19948
|
+
},
|
|
19949
|
+
annotationDisplay: {
|
|
19950
|
+
type: Boolean,
|
|
19951
|
+
default: false
|
|
19952
|
+
},
|
|
19953
|
+
annotationEntry: {
|
|
19954
|
+
type: Object
|
|
19955
|
+
}
|
|
19956
|
+
}
|
|
19957
|
+
});
|
|
19574
19958
|
// CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=script&lang=js&
|
|
19575
19959
|
/* harmony default export */ var components_Tooltipvue_type_script_lang_js_ = (Tooltipvue_type_script_lang_js_);
|
|
19576
|
-
// EXTERNAL MODULE: ./src/components/Tooltip.vue?vue&type=style&index=0&id=
|
|
19577
|
-
var
|
|
19960
|
+
// EXTERNAL MODULE: ./src/components/Tooltip.vue?vue&type=style&index=0&id=60f01bdc&prod&scoped=true&lang=scss&
|
|
19961
|
+
var Tooltipvue_type_style_index_0_id_60f01bdc_prod_scoped_true_lang_scss_ = __webpack_require__("bfd2");
|
|
19578
19962
|
|
|
19579
19963
|
// CONCATENATED MODULE: ./src/components/Tooltip.vue
|
|
19580
19964
|
|
|
@@ -19587,17 +19971,17 @@ var Tooltipvue_type_style_index_0_id_2bc00d52_prod_scoped_true_lang_scss_ = __we
|
|
|
19587
19971
|
|
|
19588
19972
|
var Tooltip_component = normalizeComponent(
|
|
19589
19973
|
components_Tooltipvue_type_script_lang_js_,
|
|
19590
|
-
|
|
19591
|
-
|
|
19974
|
+
Tooltipvue_type_template_id_60f01bdc_scoped_true_render,
|
|
19975
|
+
Tooltipvue_type_template_id_60f01bdc_scoped_true_staticRenderFns,
|
|
19592
19976
|
false,
|
|
19593
19977
|
null,
|
|
19594
|
-
"
|
|
19978
|
+
"60f01bdc",
|
|
19595
19979
|
null
|
|
19596
19980
|
|
|
19597
19981
|
)
|
|
19598
19982
|
|
|
19599
19983
|
/* harmony default export */ var Tooltip = (Tooltip_component.exports);
|
|
19600
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
19984
|
+
// 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&
|
|
19601
19985
|
var SelectionsGroupvue_type_template_id_b125dcae_scoped_true_render = function render() {
|
|
19602
19986
|
var _vm = this,
|
|
19603
19987
|
_c = _vm._self._c;
|
|
@@ -19730,9 +20114,9 @@ external_vue_default.a.use(lib_row_default.a);
|
|
|
19730
20114
|
/* harmony default export */ var SelectionsGroupvue_type_script_lang_js_ = ({
|
|
19731
20115
|
name: "SelectionsGroup",
|
|
19732
20116
|
methods: {
|
|
19733
|
-
/**
|
|
19734
|
-
* Function to toggle paths to default.
|
|
19735
|
-
* Also called when the associated button is pressed.
|
|
20117
|
+
/**
|
|
20118
|
+
* Function to toggle paths to default.
|
|
20119
|
+
* Also called when the associated button is pressed.
|
|
19736
20120
|
*/
|
|
19737
20121
|
reset: function reset() {
|
|
19738
20122
|
var _this = this;
|
|
@@ -19863,7 +20247,7 @@ var SelectionsGroup_component = normalizeComponent(
|
|
|
19863
20247
|
)
|
|
19864
20248
|
|
|
19865
20249
|
/* harmony default export */ var SelectionsGroup = (SelectionsGroup_component.exports);
|
|
19866
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
20250
|
+
// 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&
|
|
19867
20251
|
var TreeControlsvue_type_template_id_4c70eb11_scoped_true_render = function render() {
|
|
19868
20252
|
var _vm = this,
|
|
19869
20253
|
_c = _vm._self._c;
|
|
@@ -19963,8 +20347,8 @@ external_vue_default.a.use(lib_color_picker_default.a);
|
|
|
19963
20347
|
external_vue_default.a.use(lib_row_default.a);
|
|
19964
20348
|
external_vue_default.a.use(lib_tree_default.a);
|
|
19965
20349
|
|
|
19966
|
-
/**
|
|
19967
|
-
* A vue component for toggling visibility of various regions.
|
|
20350
|
+
/**
|
|
20351
|
+
* A vue component for toggling visibility of various regions.
|
|
19968
20352
|
*/
|
|
19969
20353
|
/* harmony default export */ var TreeControlsvue_type_script_lang_js_ = ({
|
|
19970
20354
|
name: "TreeControls",
|
|
@@ -20059,7 +20443,7 @@ var TreeControls_component = normalizeComponent(
|
|
|
20059
20443
|
// EXTERNAL MODULE: external "@abi-software/svg-sprite"
|
|
20060
20444
|
var svg_sprite_ = __webpack_require__("429c");
|
|
20061
20445
|
|
|
20062
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
20446
|
+
// 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&
|
|
20063
20447
|
var SvgLegendsvue_type_template_id_863a3716_scoped_true_render = function render() {
|
|
20064
20448
|
var _vm = this,
|
|
20065
20449
|
_c = _vm._self._c;
|
|
@@ -20184,9 +20568,6 @@ var es_array_flat_js_ = __webpack_require__("da6e");
|
|
|
20184
20568
|
// EXTERNAL MODULE: external "core-js/modules/es.array.unscopables.flat.js"
|
|
20185
20569
|
var es_array_unscopables_flat_js_ = __webpack_require__("722b");
|
|
20186
20570
|
|
|
20187
|
-
// EXTERNAL MODULE: external "core-js/modules/web.url-search-params.js"
|
|
20188
|
-
var web_url_search_params_js_ = __webpack_require__("712c");
|
|
20189
|
-
|
|
20190
20571
|
// EXTERNAL MODULE: external "core-js/modules/es.regexp.to-string.js"
|
|
20191
20572
|
var es_regexp_to_string_js_ = __webpack_require__("30df");
|
|
20192
20573
|
|
|
@@ -20737,6 +21118,10 @@ var flatmapQueries_FlatmapQueries = function FlatmapQueries() {
|
|
|
20737
21118
|
|
|
20738
21119
|
|
|
20739
21120
|
|
|
21121
|
+
|
|
21122
|
+
|
|
21123
|
+
|
|
21124
|
+
|
|
20740
21125
|
|
|
20741
21126
|
|
|
20742
21127
|
|
|
@@ -20760,6 +21145,7 @@ external_vue_default.a.use(lib_loading_default.a.directive);
|
|
|
20760
21145
|
external_vue_default.a.use(lib_radio_default.a);
|
|
20761
21146
|
external_vue_default.a.use(lib_radio_group_default.a);
|
|
20762
21147
|
external_vue_default.a.use(lib_row_default.a);
|
|
21148
|
+
external_vue_default.a.use(lib_select_default.a);
|
|
20763
21149
|
var ResizeSensor = __webpack_require__("ae66");
|
|
20764
21150
|
var FlatmapVuervue_type_script_lang_js_processTaxon = function processTaxon(flatmapAPI, taxonIdentifiers) {
|
|
20765
21151
|
var processed = [];
|
|
@@ -20873,8 +21259,8 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
20873
21259
|
toggleDrawer: function toggleDrawer() {
|
|
20874
21260
|
this.drawerOpen = !this.drawerOpen;
|
|
20875
21261
|
},
|
|
20876
|
-
/**
|
|
20877
|
-
* Function to toggle colour/greyscale of organs.
|
|
21262
|
+
/**
|
|
21263
|
+
* Function to toggle colour/greyscale of organs.
|
|
20878
21264
|
*/
|
|
20879
21265
|
setColour: function setColour(flag) {
|
|
20880
21266
|
this.colourRadio = flag;
|
|
@@ -20885,11 +21271,8 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
20885
21271
|
});
|
|
20886
21272
|
}
|
|
20887
21273
|
},
|
|
20888
|
-
|
|
20889
|
-
|
|
20890
|
-
},
|
|
20891
|
-
/**
|
|
20892
|
-
* Function to toggle outlines f organs.
|
|
21274
|
+
/**
|
|
21275
|
+
* Function to toggle outlines f organs.
|
|
20893
21276
|
*/
|
|
20894
21277
|
setOutlines: function setOutlines(flag) {
|
|
20895
21278
|
this.outlineRadio = flag;
|
|
@@ -20900,9 +21283,9 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
20900
21283
|
});
|
|
20901
21284
|
}
|
|
20902
21285
|
},
|
|
20903
|
-
/**
|
|
20904
|
-
* Function to toggle paths to default.
|
|
20905
|
-
* Also called when the associated button is pressed.
|
|
21286
|
+
/**
|
|
21287
|
+
* Function to toggle paths to default.
|
|
21288
|
+
* Also called when the associated button is pressed.
|
|
20906
21289
|
*/
|
|
20907
21290
|
resetView: function resetView() {
|
|
20908
21291
|
if (this.mapImp) {
|
|
@@ -20924,18 +21307,18 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
20924
21307
|
}
|
|
20925
21308
|
}
|
|
20926
21309
|
},
|
|
20927
|
-
/**
|
|
20928
|
-
* Function to zoom in.
|
|
20929
|
-
* Also called when the associated button is pressed.
|
|
21310
|
+
/**
|
|
21311
|
+
* Function to zoom in.
|
|
21312
|
+
* Also called when the associated button is pressed.
|
|
20930
21313
|
*/
|
|
20931
21314
|
zoomIn: function zoomIn() {
|
|
20932
21315
|
if (this.mapImp) {
|
|
20933
21316
|
this.mapImp.zoomIn();
|
|
20934
21317
|
}
|
|
20935
21318
|
},
|
|
20936
|
-
/**
|
|
20937
|
-
* Function to zoom out.
|
|
20938
|
-
* Also called when the associated button is pressed.
|
|
21319
|
+
/**
|
|
21320
|
+
* Function to zoom out.
|
|
21321
|
+
* Also called when the associated button is pressed.
|
|
20939
21322
|
*/
|
|
20940
21323
|
zoomOut: function zoomOut() {
|
|
20941
21324
|
if (this.mapImp) {
|
|
@@ -21062,17 +21445,15 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
21062
21445
|
provenanceTaxonomy: data.taxons ? JSON.parse(data.taxons) : undefined
|
|
21063
21446
|
};
|
|
21064
21447
|
if (eventType === "click") {
|
|
21065
|
-
if (_this7.
|
|
21448
|
+
if (_this7.viewingMode === "Network Discovery") {
|
|
21066
21449
|
_this7.highlightConnectedPaths([data.models]);
|
|
21067
21450
|
} else {
|
|
21068
|
-
console.log('active changed');
|
|
21069
21451
|
_this7.currentActive = data.models ? data.models : "";
|
|
21070
21452
|
}
|
|
21071
|
-
} else if (eventType === "mouseenter" && !_this7.
|
|
21072
|
-
console.log('active changed');
|
|
21453
|
+
} else if (eventType === "mouseenter" && !(_this7.viewingMode === "Network Discovery")) {
|
|
21073
21454
|
_this7.currentHover = data.models ? data.models : "";
|
|
21074
21455
|
}
|
|
21075
|
-
if (data && data.type !== "marker" && eventType === "click" && !_this7.
|
|
21456
|
+
if (data && data.type !== "marker" && eventType === "click" && !(_this7.viewingMode === "Network Discovery")) {
|
|
21076
21457
|
_this7.checkAndCreatePopups(payload);
|
|
21077
21458
|
}
|
|
21078
21459
|
_this7.$emit("resource-selected", payload);
|
|
@@ -21089,18 +21470,33 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
21089
21470
|
while (1) {
|
|
21090
21471
|
switch (_context.prev = _context.next) {
|
|
21091
21472
|
case 0:
|
|
21092
|
-
|
|
21473
|
+
if (!(this.viewingMode === "Annotation")) {
|
|
21474
|
+
_context.next = 4;
|
|
21475
|
+
break;
|
|
21476
|
+
}
|
|
21477
|
+
if (data.feature && data.feature.featureId && data.feature.models) {
|
|
21478
|
+
this.annotationEntry = _objectSpread2(_objectSpread2({}, data.feature), {}, {
|
|
21479
|
+
resourceId: this.serverUUID
|
|
21480
|
+
});
|
|
21481
|
+
this.displayTooltip(data.feature.models);
|
|
21482
|
+
} else {
|
|
21483
|
+
this.annotation = {};
|
|
21484
|
+
}
|
|
21485
|
+
_context.next = 8;
|
|
21486
|
+
break;
|
|
21487
|
+
case 4:
|
|
21488
|
+
_context.next = 6;
|
|
21093
21489
|
return this.flatmapQueries.retrieveFlatmapKnowledgeForEvent(data);
|
|
21094
|
-
case
|
|
21490
|
+
case 6:
|
|
21095
21491
|
results = _context.sent;
|
|
21096
|
-
// The line below only creates the tooltip if some data was found on the path
|
|
21492
|
+
// The line below only creates the tooltip if some data was found on the path
|
|
21097
21493
|
// result 0 is the connection, result 1 is the pubmed results from flatmap
|
|
21098
21494
|
if (results[0] || results[1] || data.feature.hyperlinks && data.feature.hyperlinks.length > 0) {
|
|
21099
21495
|
this.resourceForTooltip = data.resource[0];
|
|
21100
21496
|
data.resourceForTooltip = this.resourceForTooltip;
|
|
21101
21497
|
this.createTooltipFromNeuronCuration(data);
|
|
21102
21498
|
}
|
|
21103
|
-
case
|
|
21499
|
+
case 8:
|
|
21104
21500
|
case "end":
|
|
21105
21501
|
return _context.stop();
|
|
21106
21502
|
}
|
|
@@ -21124,7 +21520,7 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
21124
21520
|
},
|
|
21125
21521
|
closeTooltip: function closeTooltip() {
|
|
21126
21522
|
this.$refs.tooltip.$el.style.display = "none";
|
|
21127
|
-
document.querySelectorAll(
|
|
21523
|
+
document.querySelectorAll(".maplibregl-popup").forEach(function (item) {
|
|
21128
21524
|
item.style.display = "none";
|
|
21129
21525
|
});
|
|
21130
21526
|
},
|
|
@@ -21138,7 +21534,7 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
21138
21534
|
return this.flatmapQueries.createTooltipData(data);
|
|
21139
21535
|
case 2:
|
|
21140
21536
|
this.tooltipEntry = _context2.sent;
|
|
21141
|
-
this.displayTooltip();
|
|
21537
|
+
this.displayTooltip(data.resource[0]);
|
|
21142
21538
|
case 4:
|
|
21143
21539
|
case "end":
|
|
21144
21540
|
return _context2.stop();
|
|
@@ -21172,19 +21568,19 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
21172
21568
|
}
|
|
21173
21569
|
},
|
|
21174
21570
|
closeMinimap: function closeMinimap() {
|
|
21175
|
-
var minimapEl = this.$refs.flatmapContainer.querySelector(
|
|
21571
|
+
var minimapEl = this.$refs.flatmapContainer.querySelector(".maplibregl-ctrl-minimap"); // find minimap
|
|
21176
21572
|
if (this.minimapSmall) {
|
|
21177
21573
|
//switch the classes on the minimap
|
|
21178
|
-
minimapEl.classList.add(
|
|
21179
|
-
minimapEl.classList.remove(
|
|
21574
|
+
minimapEl.classList.add("enlarge");
|
|
21575
|
+
minimapEl.classList.remove("shrink");
|
|
21180
21576
|
} else {
|
|
21181
|
-
minimapEl.classList.add(
|
|
21182
|
-
minimapEl.classList.remove(
|
|
21577
|
+
minimapEl.classList.add("shrink");
|
|
21578
|
+
minimapEl.classList.remove("enlarge");
|
|
21183
21579
|
}
|
|
21184
21580
|
this.minimapSmall = !this.minimapSmall;
|
|
21185
21581
|
},
|
|
21186
21582
|
addResizeButtonToMinimap: function addResizeButtonToMinimap() {
|
|
21187
|
-
var minimapEl = this.$refs.flatmapContainer.querySelector(
|
|
21583
|
+
var minimapEl = this.$refs.flatmapContainer.querySelector(".maplibregl-ctrl-minimap");
|
|
21188
21584
|
if (minimapEl) {
|
|
21189
21585
|
this.$refs.minimapResize.parentNode.removeChild(this.$refs.minimapResize);
|
|
21190
21586
|
minimapEl.appendChild(this.$refs.minimapResize);
|
|
@@ -21224,8 +21620,8 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
21224
21620
|
}, 500);
|
|
21225
21621
|
}
|
|
21226
21622
|
},
|
|
21227
|
-
displayTooltip: function displayTooltip() {
|
|
21228
|
-
this.mapImp.showPopup(this.mapImp.modelFeatureIds(
|
|
21623
|
+
displayTooltip: function displayTooltip(feature) {
|
|
21624
|
+
this.mapImp.showPopup(this.mapImp.modelFeatureIds(feature)[0], this.$refs.tooltip.$el, {
|
|
21229
21625
|
className: "flatmapvuer-popover",
|
|
21230
21626
|
positionAtLastClick: true
|
|
21231
21627
|
});
|
|
@@ -21272,8 +21668,8 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
21272
21668
|
viewport: this.mapImp.getState()
|
|
21273
21669
|
};
|
|
21274
21670
|
var identifier = this.mapImp.getIdentifier();
|
|
21275
|
-
if (this.biologicalSex) state[
|
|
21276
|
-
if (identifier && identifier.uuid) state[
|
|
21671
|
+
if (this.biologicalSex) state["biologicalSex"] = this.biologicalSex;else if (identifier && identifier.biologicalSex) state["biologicalSex"] = identifier.biologicalSex;
|
|
21672
|
+
if (identifier && identifier.uuid) state["uuid"] = identifier.uuid;
|
|
21277
21673
|
return state;
|
|
21278
21674
|
}
|
|
21279
21675
|
return undefined;
|
|
@@ -21307,7 +21703,7 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
21307
21703
|
};
|
|
21308
21704
|
}
|
|
21309
21705
|
|
|
21310
|
-
//As for flatmap-viewer@2.2.7, see below for the documentation
|
|
21706
|
+
//As for flatmap-viewer@2.2.7, see below for the documentation
|
|
21311
21707
|
//for the identifier:
|
|
21312
21708
|
|
|
21313
21709
|
//@arg identifier {string|Object}
|
|
@@ -21316,7 +21712,7 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
21316
21712
|
// or taxon and biological sex identifiers of the species that the map
|
|
21317
21713
|
// represents. The latest version of a map is loaded unless it has been
|
|
21318
21714
|
// identified using a ``uuid`` (see below).
|
|
21319
|
-
// @arg identifier.taxon {string} The taxon identifier of the species
|
|
21715
|
+
// @arg identifier.taxon {string} The taxon identifier of the species
|
|
21320
21716
|
// represented by the map. This is specified as metadata in the map's source file.
|
|
21321
21717
|
// @arg identifier.biologicalSex {string} The biological sex of the species
|
|
21322
21718
|
// represented by the map. This is specified as metadatain the map's source file.
|
|
@@ -21365,6 +21761,7 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
21365
21761
|
});
|
|
21366
21762
|
promise1.then(function (returnedObject) {
|
|
21367
21763
|
_this10.mapImp = returnedObject;
|
|
21764
|
+
_this10.serverUUID = _this10.mapImp.getIdentifier().uuid;
|
|
21368
21765
|
_this10.onFlatmapReady();
|
|
21369
21766
|
if (_this10._stateToBeSet) _this10.restoreMapState(_this10._stateToBeSet);else {
|
|
21370
21767
|
_this10.restoreMapState(state);
|
|
@@ -21428,9 +21825,9 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
21428
21825
|
showPathwaysDrawer: function showPathwaysDrawer(flag) {
|
|
21429
21826
|
this.drawerOpen = flag;
|
|
21430
21827
|
},
|
|
21431
|
-
/**
|
|
21432
|
-
* Function to display features with annotation matching the provided term,
|
|
21433
|
-
* with the option to display the label using displayLabel flag.
|
|
21828
|
+
/**
|
|
21829
|
+
* Function to display features with annotation matching the provided term,
|
|
21830
|
+
* with the option to display the label using displayLabel flag.
|
|
21434
21831
|
*/
|
|
21435
21832
|
searchAndShowResult: function searchAndShowResult(term, displayLabel) {
|
|
21436
21833
|
if (this.mapImp) {
|
|
@@ -21455,8 +21852,8 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
21455
21852
|
}
|
|
21456
21853
|
return false;
|
|
21457
21854
|
},
|
|
21458
|
-
/**
|
|
21459
|
-
* Get the list of suggested terms
|
|
21855
|
+
/**
|
|
21856
|
+
* Get the list of suggested terms
|
|
21460
21857
|
*/
|
|
21461
21858
|
searchSuggestions: function searchSuggestions(term) {
|
|
21462
21859
|
if (this.mapImp) return this.mapImp.search(term);
|
|
@@ -21510,9 +21907,9 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
21510
21907
|
type: Boolean,
|
|
21511
21908
|
default: false
|
|
21512
21909
|
},
|
|
21513
|
-
/**
|
|
21514
|
-
* Flag to determine rather open map UI should be
|
|
21515
|
-
* presented or not.
|
|
21910
|
+
/**
|
|
21911
|
+
* Flag to determine rather open map UI should be
|
|
21912
|
+
* presented or not.
|
|
21516
21913
|
*/
|
|
21517
21914
|
enableOpenMapUI: {
|
|
21518
21915
|
type: Boolean,
|
|
@@ -21545,15 +21942,15 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
21545
21942
|
type: String,
|
|
21546
21943
|
default: "'Observed In' controls and information are now included in AC maps. System control with FTU information has been added to the FC map."
|
|
21547
21944
|
},
|
|
21548
|
-
/**
|
|
21549
|
-
* State containing state of the flatmap.
|
|
21945
|
+
/**
|
|
21946
|
+
* State containing state of the flatmap.
|
|
21550
21947
|
*/
|
|
21551
21948
|
state: {
|
|
21552
21949
|
type: Object,
|
|
21553
21950
|
default: undefined
|
|
21554
21951
|
},
|
|
21555
|
-
/**
|
|
21556
|
-
* Specify the endpoint of the flatmap server.
|
|
21952
|
+
/**
|
|
21953
|
+
* Specify the endpoint of the flatmap server.
|
|
21557
21954
|
*/
|
|
21558
21955
|
flatmapAPI: {
|
|
21559
21956
|
type: String,
|
|
@@ -21566,12 +21963,14 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
21566
21963
|
},
|
|
21567
21964
|
provide: function provide() {
|
|
21568
21965
|
return {
|
|
21569
|
-
|
|
21570
|
-
|
|
21966
|
+
flatmapAPI: this.flatmapAPI,
|
|
21967
|
+
sparcAPI: this.sparcAPI
|
|
21571
21968
|
};
|
|
21572
21969
|
},
|
|
21573
21970
|
data: function data() {
|
|
21574
21971
|
return {
|
|
21972
|
+
annotationEntry: {},
|
|
21973
|
+
serverUUID: undefined,
|
|
21575
21974
|
layers: [],
|
|
21576
21975
|
pathways: [],
|
|
21577
21976
|
sckanDisplay: [{
|
|
@@ -21610,18 +22009,19 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
21610
22009
|
currentBackground: "white",
|
|
21611
22010
|
availableBackground: ["white", "lightskyblue", "black"],
|
|
21612
22011
|
loading: false,
|
|
21613
|
-
highlightToolOn: false,
|
|
21614
22012
|
flatmapMarker: flatmap_marker,
|
|
21615
22013
|
tooltipEntry: createUnfilledTooltipData(),
|
|
21616
22014
|
connectivityTooltipVisible: false,
|
|
21617
|
-
resourceForTooltip: undefined,
|
|
21618
22015
|
drawerOpen: false,
|
|
22016
|
+
annotationRadio: false,
|
|
21619
22017
|
colourRadio: true,
|
|
21620
22018
|
outlinesRadio: true,
|
|
21621
22019
|
minimapResizeShow: false,
|
|
21622
22020
|
minimapSmall: false,
|
|
21623
22021
|
currentActive: "",
|
|
21624
|
-
currentHover: ""
|
|
22022
|
+
currentHover: "",
|
|
22023
|
+
viewingMode: "Exploration",
|
|
22024
|
+
viewingModes: ["Annotation", "Exploration", "Network Discovery"]
|
|
21625
22025
|
};
|
|
21626
22026
|
},
|
|
21627
22027
|
watch: {
|
|
@@ -21663,8 +22063,8 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
21663
22063
|
});
|
|
21664
22064
|
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=script&lang=js&
|
|
21665
22065
|
/* harmony default export */ var components_FlatmapVuervue_type_script_lang_js_ = (FlatmapVuervue_type_script_lang_js_);
|
|
21666
|
-
// EXTERNAL MODULE: ./src/components/FlatmapVuer.vue?vue&type=style&index=0&id=
|
|
21667
|
-
var
|
|
22066
|
+
// EXTERNAL MODULE: ./src/components/FlatmapVuer.vue?vue&type=style&index=0&id=3560b642&prod&scoped=true&lang=scss&
|
|
22067
|
+
var FlatmapVuervue_type_style_index_0_id_3560b642_prod_scoped_true_lang_scss_ = __webpack_require__("c633");
|
|
21668
22068
|
|
|
21669
22069
|
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue
|
|
21670
22070
|
|
|
@@ -21681,14 +22081,14 @@ var FlatmapVuer_component = normalizeComponent(
|
|
|
21681
22081
|
staticRenderFns,
|
|
21682
22082
|
false,
|
|
21683
22083
|
null,
|
|
21684
|
-
"
|
|
22084
|
+
"3560b642",
|
|
21685
22085
|
null
|
|
21686
22086
|
|
|
21687
22087
|
)
|
|
21688
22088
|
|
|
21689
22089
|
/* harmony default export */ var FlatmapVuer = (FlatmapVuer_component.exports);
|
|
21690
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
21691
|
-
var
|
|
22090
|
+
// 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&
|
|
22091
|
+
var MultiFlatmapVuervue_type_template_id_c2cdb860_scoped_true_render = function render() {
|
|
21692
22092
|
var _vm = this,
|
|
21693
22093
|
_c = _vm._self._c;
|
|
21694
22094
|
return _c('div', {
|
|
@@ -21806,9 +22206,9 @@ var MultiFlatmapVuervue_type_template_id_4cc67562_scoped_true_render = function
|
|
|
21806
22206
|
});
|
|
21807
22207
|
})], 2);
|
|
21808
22208
|
};
|
|
21809
|
-
var
|
|
22209
|
+
var MultiFlatmapVuervue_type_template_id_c2cdb860_scoped_true_staticRenderFns = [];
|
|
21810
22210
|
|
|
21811
|
-
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=template&id=
|
|
22211
|
+
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=template&id=c2cdb860&scoped=true&
|
|
21812
22212
|
|
|
21813
22213
|
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/popover.css
|
|
21814
22214
|
var popover = __webpack_require__("06f1");
|
|
@@ -21817,13 +22217,6 @@ var popover = __webpack_require__("06f1");
|
|
|
21817
22217
|
var lib_popover = __webpack_require__("6ac9");
|
|
21818
22218
|
var lib_popover_default = /*#__PURE__*/__webpack_require__.n(lib_popover);
|
|
21819
22219
|
|
|
21820
|
-
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/select.css
|
|
21821
|
-
var theme_chalk_select = __webpack_require__("1f1a");
|
|
21822
|
-
|
|
21823
|
-
// EXTERNAL MODULE: ./node_modules/element-ui/lib/select.js
|
|
21824
|
-
var lib_select = __webpack_require__("4e4b");
|
|
21825
|
-
var lib_select_default = /*#__PURE__*/__webpack_require__.n(lib_select);
|
|
21826
|
-
|
|
21827
22220
|
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/option.css
|
|
21828
22221
|
var theme_chalk_option = __webpack_require__("6611");
|
|
21829
22222
|
|
|
@@ -21831,9 +22224,6 @@ var theme_chalk_option = __webpack_require__("6611");
|
|
|
21831
22224
|
var lib_option = __webpack_require__("e772");
|
|
21832
22225
|
var lib_option_default = /*#__PURE__*/__webpack_require__.n(lib_option);
|
|
21833
22226
|
|
|
21834
|
-
// EXTERNAL MODULE: external "core-js/modules/es.object.keys.js"
|
|
21835
|
-
var es_object_keys_js_ = __webpack_require__("ea64");
|
|
21836
|
-
|
|
21837
22227
|
// 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&
|
|
21838
22228
|
|
|
21839
22229
|
|
|
@@ -22002,11 +22392,11 @@ var TAXON_UUID = {
|
|
|
22002
22392
|
}
|
|
22003
22393
|
}
|
|
22004
22394
|
},
|
|
22005
|
-
/**
|
|
22006
|
-
* Function to switch to the latest existing map from
|
|
22007
|
-
* a legacy map of the same species.
|
|
22008
|
-
*
|
|
22009
|
-
* @private
|
|
22395
|
+
/**
|
|
22396
|
+
* Function to switch to the latest existing map from
|
|
22397
|
+
* a legacy map of the same species.
|
|
22398
|
+
*
|
|
22399
|
+
* @private
|
|
22010
22400
|
*/
|
|
22011
22401
|
viewLatestMap: function viewLatestMap(state) {
|
|
22012
22402
|
var keys = Object.keys(this.speciesList);
|
|
@@ -22018,10 +22408,10 @@ var TAXON_UUID = {
|
|
|
22018
22408
|
}
|
|
22019
22409
|
}
|
|
22020
22410
|
},
|
|
22021
|
-
/**
|
|
22022
|
-
* Create a legacy entry with the provided information
|
|
22023
|
-
*
|
|
22024
|
-
* @private
|
|
22411
|
+
/**
|
|
22412
|
+
* Create a legacy entry with the provided information
|
|
22413
|
+
*
|
|
22414
|
+
* @private
|
|
22025
22415
|
*/
|
|
22026
22416
|
createLegacyEntry: function createLegacyEntry(state, taxo, uuid) {
|
|
22027
22417
|
if (uuid && taxo) {
|
|
@@ -22045,11 +22435,11 @@ var TAXON_UUID = {
|
|
|
22045
22435
|
};
|
|
22046
22436
|
}
|
|
22047
22437
|
},
|
|
22048
|
-
/**
|
|
22049
|
-
* Function used to translate the legacy map state to one that can be used in current
|
|
22050
|
-
* flatmap if required. If it is a legacy, an Select entry will be added
|
|
22051
|
-
*
|
|
22052
|
-
* @private
|
|
22438
|
+
/**
|
|
22439
|
+
* Function used to translate the legacy map state to one that can be used in current
|
|
22440
|
+
* flatmap if required. If it is a legacy, an Select entry will be added
|
|
22441
|
+
*
|
|
22442
|
+
* @private
|
|
22053
22443
|
*/
|
|
22054
22444
|
updateState: function updateState(state) {
|
|
22055
22445
|
var _this4 = this;
|
|
@@ -22090,11 +22480,11 @@ var TAXON_UUID = {
|
|
|
22090
22480
|
resolve(state);
|
|
22091
22481
|
});
|
|
22092
22482
|
},
|
|
22093
|
-
/**
|
|
22094
|
-
* Function used for getting the current states of the scene. This exported states
|
|
22095
|
-
* can be imported using the importStates method.
|
|
22096
|
-
*
|
|
22097
|
-
* @public
|
|
22483
|
+
/**
|
|
22484
|
+
* Function used for getting the current states of the scene. This exported states
|
|
22485
|
+
* can be imported using the importStates method.
|
|
22486
|
+
*
|
|
22487
|
+
* @public
|
|
22098
22488
|
*/
|
|
22099
22489
|
getState: function getState() {
|
|
22100
22490
|
var state = {
|
|
@@ -22105,11 +22495,11 @@ var TAXON_UUID = {
|
|
|
22105
22495
|
state.state = map.getState();
|
|
22106
22496
|
return state;
|
|
22107
22497
|
},
|
|
22108
|
-
/**
|
|
22109
|
-
* Function used for importing the states of the scene. This exported states
|
|
22110
|
-
* can be imported using the read states method.
|
|
22111
|
-
*
|
|
22112
|
-
* @public
|
|
22498
|
+
/**
|
|
22499
|
+
* Function used for importing the states of the scene. This exported states
|
|
22500
|
+
* can be imported using the read states method.
|
|
22501
|
+
*
|
|
22502
|
+
* @public
|
|
22113
22503
|
*/
|
|
22114
22504
|
setState: function setState(state) {
|
|
22115
22505
|
var _this5 = this;
|
|
@@ -22152,9 +22542,9 @@ var TAXON_UUID = {
|
|
|
22152
22542
|
type: Boolean,
|
|
22153
22543
|
default: false
|
|
22154
22544
|
},
|
|
22155
|
-
/**
|
|
22156
|
-
* Initial species for the flatmap.
|
|
22157
|
-
* This value will be ignored if a valid state object is provided.
|
|
22545
|
+
/**
|
|
22546
|
+
* Initial species for the flatmap.
|
|
22547
|
+
* This value will be ignored if a valid state object is provided.
|
|
22158
22548
|
*/
|
|
22159
22549
|
initial: {
|
|
22160
22550
|
type: String,
|
|
@@ -22176,9 +22566,9 @@ var TAXON_UUID = {
|
|
|
22176
22566
|
type: Boolean,
|
|
22177
22567
|
default: false
|
|
22178
22568
|
},
|
|
22179
|
-
/**
|
|
22180
|
-
* Flag to determine rather open map UI should be
|
|
22181
|
-
* presented or not.
|
|
22569
|
+
/**
|
|
22570
|
+
* Flag to determine rather open map UI should be
|
|
22571
|
+
* presented or not.
|
|
22182
22572
|
*/
|
|
22183
22573
|
enableOpenMapUI: {
|
|
22184
22574
|
type: Boolean,
|
|
@@ -22226,15 +22616,15 @@ var TAXON_UUID = {
|
|
|
22226
22616
|
};
|
|
22227
22617
|
}
|
|
22228
22618
|
},
|
|
22229
|
-
/**
|
|
22230
|
-
* State containing state of the flatmap.
|
|
22619
|
+
/**
|
|
22620
|
+
* State containing state of the flatmap.
|
|
22231
22621
|
*/
|
|
22232
22622
|
state: {
|
|
22233
22623
|
type: Object,
|
|
22234
22624
|
default: undefined
|
|
22235
22625
|
},
|
|
22236
|
-
/**
|
|
22237
|
-
* Specify the endpoint of the flatmap server.
|
|
22626
|
+
/**
|
|
22627
|
+
* Specify the endpoint of the flatmap server.
|
|
22238
22628
|
*/
|
|
22239
22629
|
flatmapAPI: {
|
|
22240
22630
|
type: String,
|
|
@@ -22265,8 +22655,8 @@ var TAXON_UUID = {
|
|
|
22265
22655
|
});
|
|
22266
22656
|
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=script&lang=js&
|
|
22267
22657
|
/* harmony default export */ var components_MultiFlatmapVuervue_type_script_lang_js_ = (MultiFlatmapVuervue_type_script_lang_js_);
|
|
22268
|
-
// EXTERNAL MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=style&index=0&id=
|
|
22269
|
-
var
|
|
22658
|
+
// EXTERNAL MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=style&index=0&id=c2cdb860&prod&scoped=true&lang=scss&
|
|
22659
|
+
var MultiFlatmapVuervue_type_style_index_0_id_c2cdb860_prod_scoped_true_lang_scss_ = __webpack_require__("9c3a");
|
|
22270
22660
|
|
|
22271
22661
|
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue
|
|
22272
22662
|
|
|
@@ -22279,11 +22669,11 @@ var MultiFlatmapVuervue_type_style_index_0_id_4cc67562_prod_scoped_true_lang_scs
|
|
|
22279
22669
|
|
|
22280
22670
|
var MultiFlatmapVuer_component = normalizeComponent(
|
|
22281
22671
|
components_MultiFlatmapVuervue_type_script_lang_js_,
|
|
22282
|
-
|
|
22283
|
-
|
|
22672
|
+
MultiFlatmapVuervue_type_template_id_c2cdb860_scoped_true_render,
|
|
22673
|
+
MultiFlatmapVuervue_type_template_id_c2cdb860_scoped_true_staticRenderFns,
|
|
22284
22674
|
false,
|
|
22285
22675
|
null,
|
|
22286
|
-
"
|
|
22676
|
+
"c2cdb860",
|
|
22287
22677
|
null
|
|
22288
22678
|
|
|
22289
22679
|
)
|
|
@@ -22300,6 +22690,13 @@ var MultiFlatmapVuer_component = normalizeComponent(
|
|
|
22300
22690
|
|
|
22301
22691
|
|
|
22302
22692
|
|
|
22693
|
+
/***/ }),
|
|
22694
|
+
|
|
22695
|
+
/***/ "fb89":
|
|
22696
|
+
/***/ (function(module, exports) {
|
|
22697
|
+
|
|
22698
|
+
module.exports = require("core-js/modules/es.symbol.to-primitive.js");
|
|
22699
|
+
|
|
22303
22700
|
/***/ }),
|
|
22304
22701
|
|
|
22305
22702
|
/***/ "fd22":
|