@zscreate/form-component 1.1.518 → 1.1.519-test.2

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.
@@ -4107,7 +4107,7 @@ module.exports = closest;
4107
4107
 
4108
4108
  /***/ }),
4109
4109
 
4110
- /***/ 9112:
4110
+ /***/ 5503:
4111
4111
  /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
4112
4112
 
4113
4113
  // CodeMirror, copyright (c) by Marijn Haverbeke and others
@@ -4117,7 +4117,7 @@ module.exports = closest;
4117
4117
 
4118
4118
  (function(mod) {
4119
4119
  if (true) // CommonJS
4120
- mod(__webpack_require__(6386));
4120
+ mod(__webpack_require__(4125));
4121
4121
  else {}
4122
4122
  })(function(CodeMirror) {
4123
4123
  "use strict";
@@ -4634,7 +4634,7 @@ module.exports = closest;
4634
4634
 
4635
4635
  /***/ }),
4636
4636
 
4637
- /***/ 4157:
4637
+ /***/ 3084:
4638
4638
  /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
4639
4639
 
4640
4640
  // CodeMirror, copyright (c) by Marijn Haverbeke and others
@@ -4642,7 +4642,7 @@ module.exports = closest;
4642
4642
 
4643
4643
  (function(mod) {
4644
4644
  if (true) // CommonJS
4645
- mod(__webpack_require__(6386));
4645
+ mod(__webpack_require__(4125));
4646
4646
  else {}
4647
4647
  })(function(CodeMirror) {
4648
4648
  "use strict";
@@ -4710,7 +4710,7 @@ module.exports = closest;
4710
4710
 
4711
4711
  /***/ }),
4712
4712
 
4713
- /***/ 6386:
4713
+ /***/ 4125:
4714
4714
  /***/ (function(module) {
4715
4715
 
4716
4716
  // CodeMirror, copyright (c) by Marijn Haverbeke and others
@@ -14591,7 +14591,7 @@ module.exports = closest;
14591
14591
 
14592
14592
  addLegacyProps(CodeMirror);
14593
14593
 
14594
- CodeMirror.version = "5.65.17";
14594
+ CodeMirror.version = "5.65.16";
14595
14595
 
14596
14596
  return CodeMirror;
14597
14597
 
@@ -14600,7 +14600,7 @@ module.exports = closest;
14600
14600
 
14601
14601
  /***/ }),
14602
14602
 
14603
- /***/ 4275:
14603
+ /***/ 2864:
14604
14604
  /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
14605
14605
 
14606
14606
  // CodeMirror, copyright (c) by Marijn Haverbeke and others
@@ -14608,7 +14608,7 @@ module.exports = closest;
14608
14608
 
14609
14609
  (function(mod) {
14610
14610
  if (true) // CommonJS
14611
- mod(__webpack_require__(6386));
14611
+ mod(__webpack_require__(4125));
14612
14612
  else {}
14613
14613
  })(function(CodeMirror) {
14614
14614
  "use strict";
@@ -17864,7 +17864,7 @@ module.exports = function isShallowEqual (a, b) {
17864
17864
 
17865
17865
  /***/ }),
17866
17866
 
17867
- /***/ 9365:
17867
+ /***/ 2210:
17868
17868
  /***/ (function(__unused_webpack_module, exports) {
17869
17869
 
17870
17870
  /**
@@ -19430,11 +19430,36 @@ module.exports = function isShallowEqual (a, b) {
19430
19430
  }
19431
19431
  };
19432
19432
 
19433
+ /**
19434
+ * Finds all elements matching the given selector, for the given parent. In order to support "scoped root" selectors,
19435
+ * ie. things like "> .someClass", that is .someClass elements that are direct children of `parentElement`, we have to
19436
+ * jump through a small hoop here: when a delegate draggable is registered, we write a `katavorio-draggable` attribute
19437
+ * on the element on which the draggable is registered. Then when this method runs, we grab the value of that attribute and
19438
+ * prepend it as part of the selector we're looking for. So "> .someClass" ends up being written as
19439
+ * "[katavorio-draggable='...' > .someClass]", which works with querySelectorAll.
19440
+ *
19441
+ * @param availableSelectors
19442
+ * @param parentElement
19443
+ * @param childElement
19444
+ * @returns {*}
19445
+ */
19433
19446
  var findMatchingSelector = function(availableSelectors, parentElement, childElement) {
19434
19447
  var el = null;
19448
+ var draggableId = parentElement.getAttribute("katavorio-draggable"),
19449
+ prefix = draggableId != null ? "[katavorio-draggable='" + draggableId + "'] " : "";
19450
+
19435
19451
  for (var i = 0; i < availableSelectors.length; i++) {
19436
- el = findDelegateElement(parentElement, childElement, availableSelectors[i].selector);
19452
+ el = findDelegateElement(parentElement, childElement, prefix + availableSelectors[i].selector);
19437
19453
  if (el != null) {
19454
+ if (availableSelectors[i].filter) {
19455
+ var matches = matchesSelector(childElement, availableSelectors[i].filter, el),
19456
+ exclude = availableSelectors[i].filterExclude === true;
19457
+
19458
+ if ( (exclude && !matches) || matches) {
19459
+ return null;
19460
+ }
19461
+
19462
+ }
19438
19463
  return [ availableSelectors[i], el ];
19439
19464
  }
19440
19465
  }
@@ -19593,6 +19618,12 @@ module.exports = function isShallowEqual (a, b) {
19593
19618
 
19594
19619
  // if an initial selector was provided, push the entire set of params as a selector config.
19595
19620
  if (params.selector) {
19621
+ var draggableId = el.getAttribute("katavorio-draggable");
19622
+ if (draggableId == null) {
19623
+ draggableId = "" + new Date().getTime();
19624
+ el.setAttribute("katavorio-draggable", draggableId);
19625
+ }
19626
+
19596
19627
  availableSelectors.push(params);
19597
19628
  }
19598
19629
 
@@ -19632,9 +19663,11 @@ module.exports = function isShallowEqual (a, b) {
19632
19663
  y = y || (this.params.grid ? this.params.grid[1] : DEFAULT_GRID_Y);
19633
19664
  var p = this.params.getPosition(dragEl),
19634
19665
  tx = this.params.grid ? this.params.grid[0] / 2 : snapThreshold,
19635
- ty = this.params.grid ? this.params.grid[1] / 2 : snapThreshold;
19666
+ ty = this.params.grid ? this.params.grid[1] / 2 : snapThreshold,
19667
+ snapped = _snap(p, x, y, tx, ty);
19636
19668
 
19637
- this.params.setPosition(dragEl, _snap(p, x, y, tx, ty));
19669
+ this.params.setPosition(dragEl, snapped);
19670
+ return snapped;
19638
19671
  };
19639
19672
 
19640
19673
  this.setUseGhostProxy = function(val) {
@@ -19677,6 +19710,10 @@ module.exports = function isShallowEqual (a, b) {
19677
19710
  revertFunction = fn;
19678
19711
  };
19679
19712
 
19713
+ if (this.params.revert) {
19714
+ revertFunction = this.params.revert;
19715
+ }
19716
+
19680
19717
  var _assignId = function(obj) {
19681
19718
  if (typeof obj === "function") {
19682
19719
  obj._katavorioId = _uuid();
@@ -19861,23 +19898,20 @@ module.exports = function isShallowEqual (a, b) {
19861
19898
  k.unmarkPosses(this, e);
19862
19899
  this.stop(e);
19863
19900
 
19864
- //k.notifySelectionDragStop(this, e); removed in 1.1.0 under the "leave it for one release in case it breaks" rule.
19865
- // it isnt necessary to fire this as the normal stop event now includes a `selection` member that has every dragged element.
19866
- // firing this event causes consumers who use the `selection` array to process a lot more drag stop events than is necessary
19867
-
19868
19901
  k.notifyPosseDragStop(this, e);
19869
19902
  moving = false;
19903
+ intersectingDroppables.length = 0;
19904
+
19870
19905
  if (clone) {
19871
19906
  dragEl && dragEl.parentNode && dragEl.parentNode.removeChild(dragEl);
19872
19907
  dragEl = null;
19908
+ } else {
19909
+ if (revertFunction && revertFunction(dragEl, this.params.getPosition(dragEl)) === true) {
19910
+ this.params.setPosition(dragEl, posAtDown);
19911
+ _dispatch("revert", dragEl);
19912
+ }
19873
19913
  }
19874
19914
 
19875
- intersectingDroppables.length = 0;
19876
-
19877
- if (revertFunction && revertFunction(this.el, this.params.getPosition(this.el)) === true) {
19878
- this.params.setPosition(this.el, posAtDown);
19879
- _dispatch("revert", this.el);
19880
- }
19881
19915
  }
19882
19916
  }.bind(this);
19883
19917
 
@@ -19925,7 +19959,7 @@ module.exports = function isShallowEqual (a, b) {
19925
19959
  var _dispatch = function(evt, value) {
19926
19960
  var result = null;
19927
19961
  if (activeSelectorParams && activeSelectorParams[evt]) {
19928
- activeSelectorParams[evt](value);
19962
+ result = activeSelectorParams[evt](value);
19929
19963
  } else if (listeners[evt]) {
19930
19964
  for (var i = 0; i < listeners[evt].length; i++) {
19931
19965
  try {
@@ -19950,9 +19984,14 @@ module.exports = function isShallowEqual (a, b) {
19950
19984
  sel = k.getSelection(),
19951
19985
  dPos = this.params.getPosition(dragEl);
19952
19986
 
19953
- for (var i = 0; i < sel.length; i++) {
19954
- var p = this.params.getPosition(sel[i].el);
19955
- positions.push([ sel[i].el, { left: p[0], top: p[1] }, sel[i] ]);
19987
+ if (sel.length > 0) {
19988
+ for (var i = 0; i < sel.length; i++) {
19989
+ var p = this.params.getPosition(sel[i].el);
19990
+ positions.push([ sel[i].el, { left: p[0], top: p[1] }, sel[i] ]);
19991
+ }
19992
+ }
19993
+ else {
19994
+ positions.push([ dragEl, {left:dPos[0], top:dPos[1]}, this ]);
19956
19995
  }
19957
19996
 
19958
19997
  _dispatch("stop", {
@@ -19994,7 +20033,7 @@ module.exports = function isShallowEqual (a, b) {
19994
20033
  this.unmark = function(e, doNotCheckDroppables) {
19995
20034
  _setDroppablesActive(matchingDroppables, false, true, this);
19996
20035
 
19997
- if (isConstrained && useGhostProxy(elementToDrag)) {
20036
+ if (isConstrained && useGhostProxy(elementToDrag, dragEl)) {
19998
20037
  ghostProxyOffsets = [dragEl.offsetLeft - ghostDx, dragEl.offsetTop - ghostDy];
19999
20038
  dragEl.parentNode.removeChild(dragEl);
20000
20039
  dragEl = elementToDrag;
@@ -20024,7 +20063,7 @@ module.exports = function isShallowEqual (a, b) {
20024
20063
  cPos = constrain(desiredLoc, dragEl, constrainRect, this.size);
20025
20064
 
20026
20065
  // if we should use a ghost proxy...
20027
- if (useGhostProxy(this.el)) {
20066
+ if (useGhostProxy(this.el, dragEl)) {
20028
20067
  // and the element has been dragged outside of its parent bounds
20029
20068
  if (desiredLoc[0] !== cPos[0] || desiredLoc[1] !== cPos[1]) {
20030
20069
 
@@ -20715,10 +20754,18 @@ module.exports = function isShallowEqual (a, b) {
20715
20754
  if (true) { exports.jsPlumbUtil = jsPlumbUtil;}
20716
20755
 
20717
20756
 
20757
+ /**
20758
+ * Tests if the given object is an Array.
20759
+ * @param a
20760
+ */
20718
20761
  function isArray(a) {
20719
20762
  return Object.prototype.toString.call(a) === "[object Array]";
20720
20763
  }
20721
20764
  jsPlumbUtil.isArray = isArray;
20765
+ /**
20766
+ * Tests if the given object is a Number.
20767
+ * @param n
20768
+ */
20722
20769
  function isNumber(n) {
20723
20770
  return Object.prototype.toString.call(n) === "[object Number]";
20724
20771
  }
@@ -20852,9 +20899,9 @@ module.exports = function isShallowEqual (a, b) {
20852
20899
  path.replace(/([^\.])+/g, function (term, lc, pos, str) {
20853
20900
  var array = term.match(/([^\[0-9]+){1}(\[)([0-9+])/), last = pos + term.length >= str.length, _getArray = function () {
20854
20901
  return t[array[1]] || (function () {
20855
- t[array[1]] = [];
20856
- return t[array[1]];
20857
- })();
20902
+ t[array[1]] = [];
20903
+ return t[array[1]];
20904
+ })();
20858
20905
  };
20859
20906
  if (last) {
20860
20907
  // set term = value on current t, creating term as array if necessary.
@@ -20870,15 +20917,15 @@ module.exports = function isShallowEqual (a, b) {
20870
20917
  if (array) {
20871
20918
  var a_1 = _getArray();
20872
20919
  t = a_1[array[3]] || (function () {
20873
- a_1[array[3]] = {};
20874
- return a_1[array[3]];
20875
- })();
20920
+ a_1[array[3]] = {};
20921
+ return a_1[array[3]];
20922
+ })();
20876
20923
  }
20877
20924
  else {
20878
20925
  t = t[term] || (function () {
20879
- t[term] = {};
20880
- return t[term];
20881
- })();
20926
+ t[term] = {};
20927
+ return t[term];
20928
+ })();
20882
20929
  }
20883
20930
  }
20884
20931
  return "";
@@ -20958,6 +21005,12 @@ module.exports = function isShallowEqual (a, b) {
20958
21005
  return _one(model);
20959
21006
  }
20960
21007
  jsPlumbUtil.populate = populate;
21008
+ /**
21009
+ * Find the index of a given object in an array.
21010
+ * @param a The array to search
21011
+ * @param f The function to run on each element. Return true if the element matches.
21012
+ * @returns {number} -1 if not found, otherwise the index in the array.
21013
+ */
20961
21014
  function findWithFunction(a, f) {
20962
21015
  if (a) {
20963
21016
  for (var i = 0; i < a.length; i++) {
@@ -20969,6 +21022,13 @@ module.exports = function isShallowEqual (a, b) {
20969
21022
  return -1;
20970
21023
  }
20971
21024
  jsPlumbUtil.findWithFunction = findWithFunction;
21025
+ /**
21026
+ * Remove some element from an array by matching each element in the array against some predicate function. Note that this
21027
+ * is an in-place removal; the array is altered.
21028
+ * @param a The array to search
21029
+ * @param f The function to run on each element. Return true if the element matches.
21030
+ * @returns {boolean} true if removed, false otherwise.
21031
+ */
20972
21032
  function removeWithFunction(a, f) {
20973
21033
  var idx = findWithFunction(a, f);
20974
21034
  if (idx > -1) {
@@ -20977,6 +21037,13 @@ module.exports = function isShallowEqual (a, b) {
20977
21037
  return idx !== -1;
20978
21038
  }
20979
21039
  jsPlumbUtil.removeWithFunction = removeWithFunction;
21040
+ /**
21041
+ * Remove some element from an array by simple lookup in the array for the given element. Note that this
21042
+ * is an in-place removal; the array is altered.
21043
+ * @param l The array to search
21044
+ * @param v The value to remove.
21045
+ * @returns {boolean} true if removed, false otherwise.
21046
+ */
20980
21047
  function remove(l, v) {
20981
21048
  var idx = l.indexOf(v);
20982
21049
  if (idx > -1) {
@@ -20985,12 +21052,25 @@ module.exports = function isShallowEqual (a, b) {
20985
21052
  return idx !== -1;
20986
21053
  }
20987
21054
  jsPlumbUtil.remove = remove;
21055
+ /**
21056
+ * Add some element to the given array, unless it is determined that it is already in the array.
21057
+ * @param list The array to add the element to.
21058
+ * @param item The item to add.
21059
+ * @param hashFunction A function to use to determine if the given item already exists in the array.
21060
+ */
20988
21061
  function addWithFunction(list, item, hashFunction) {
20989
21062
  if (findWithFunction(list, hashFunction) === -1) {
20990
21063
  list.push(item);
20991
21064
  }
20992
21065
  }
20993
21066
  jsPlumbUtil.addWithFunction = addWithFunction;
21067
+ /**
21068
+ * Add some element to a list that is contained in a map of lists.
21069
+ * @param map The map of [ key -> list ] entries
21070
+ * @param key The name of the list to insert into
21071
+ * @param value The value to insert
21072
+ * @param insertAtStart Whether or not to insert at the start; defaults to false.
21073
+ */
20994
21074
  function addToList(map, key, value, insertAtStart) {
20995
21075
  var l = map[key];
20996
21076
  if (l == null) {
@@ -21001,6 +21081,13 @@ module.exports = function isShallowEqual (a, b) {
21001
21081
  return l;
21002
21082
  }
21003
21083
  jsPlumbUtil.addToList = addToList;
21084
+ /**
21085
+ * Add an item to a list, unless it is already in the list. The test for pre-existence is a simple list lookup.
21086
+ * If you want to do something more complex, perhaps #addWithFunction might help.
21087
+ * @param list List to add the item to
21088
+ * @param item Item to add
21089
+ * @param insertAtHead Whether or not to insert at the start; defaults to false.
21090
+ */
21004
21091
  function suggest(list, item, insertAtHead) {
21005
21092
  if (list.indexOf(item) === -1) {
21006
21093
  if (insertAtHead) {
@@ -21014,10 +21101,12 @@ module.exports = function isShallowEqual (a, b) {
21014
21101
  return false;
21015
21102
  }
21016
21103
  jsPlumbUtil.suggest = suggest;
21017
- //
21018
- // extends the given obj (which can be an array) with the given constructor function, prototype functions, and
21019
- // class members, any of which may be null.
21020
- //
21104
+ /**
21105
+ * Extends the given obj (which can be an array) with the given constructor function, prototype functions, and class members, any of which may be null.
21106
+ * @param child
21107
+ * @param parent
21108
+ * @param _protoFn
21109
+ */
21021
21110
  function extend(child, parent, _protoFn) {
21022
21111
  var i;
21023
21112
  parent = isArray(parent) ? parent : [parent];
@@ -21068,6 +21157,9 @@ module.exports = function isShallowEqual (a, b) {
21068
21157
  return child;
21069
21158
  }
21070
21159
  jsPlumbUtil.extend = extend;
21160
+ /**
21161
+ * Generate a UUID.
21162
+ */
21071
21163
  function uuid() {
21072
21164
  return ('xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {
21073
21165
  var r = Math.random() * 16 | 0, v = c === 'x' ? r : (r & 0x3 | 0x8);
@@ -21075,6 +21167,11 @@ module.exports = function isShallowEqual (a, b) {
21075
21167
  }));
21076
21168
  }
21077
21169
  jsPlumbUtil.uuid = uuid;
21170
+ /**
21171
+ * Trim a string.
21172
+ * @param s String to trim
21173
+ * @returns the String with leading and trailing whitespace removed.
21174
+ */
21078
21175
  function fastTrim(s) {
21079
21176
  if (s == null) {
21080
21177
  return null;
@@ -21113,7 +21210,11 @@ module.exports = function isShallowEqual (a, b) {
21113
21210
  return def;
21114
21211
  }
21115
21212
  else {
21116
- var d_1 = merge(parent, def);
21213
+ var overrides = ["anchor", "anchors", "cssClass", "connector", "paintStyle", "hoverPaintStyle", "endpoint", "endpoints"];
21214
+ if (def.mergeStrategy === "override") {
21215
+ Array.prototype.push.apply(overrides, ["events", "overlays"]);
21216
+ }
21217
+ var d_1 = merge(parent, def, [], overrides);
21117
21218
  return _one(_parent(parent), d_1);
21118
21219
  }
21119
21220
  };
@@ -21381,6 +21482,231 @@ module.exports = function isShallowEqual (a, b) {
21381
21482
 
21382
21483
  }).call(typeof window !== 'undefined' ? window : this);
21383
21484
 
21485
+ ;(function() {
21486
+
21487
+ var DEFAULT_OPTIONS = {
21488
+ deriveAnchor:function(edge, index, ep, conn) {
21489
+ return {
21490
+ top:["TopRight", "TopLeft"],
21491
+ bottom:["BottomRight", "BottomLeft"]
21492
+ }[edge][index];
21493
+ }
21494
+ };
21495
+
21496
+ var root = this;
21497
+
21498
+ var ListManager = function(jsPlumbInstance) {
21499
+
21500
+ this.count = 0;
21501
+ this.instance = jsPlumbInstance;
21502
+ this.lists = {};
21503
+
21504
+ this.instance.addList = function(el, options) {
21505
+ return this.listManager.addList(el, options);
21506
+ };
21507
+
21508
+ this.instance.removeList = function(el) {
21509
+ this.listManager.removeList(el);
21510
+ };
21511
+
21512
+ this.instance.bind("manageElement", function(p) {
21513
+
21514
+ //look for [jtk-scrollable-list] elements and attach scroll listeners if necessary
21515
+ var scrollableLists = this.instance.getSelector(p.el, "[jtk-scrollable-list]");
21516
+ for (var i = 0; i < scrollableLists.length; i++) {
21517
+ this.addList(scrollableLists[i]);
21518
+ }
21519
+
21520
+ }.bind(this));
21521
+
21522
+ this.instance.bind("unmanageElement", function(p) {
21523
+ this.removeList(p.el);
21524
+ });
21525
+
21526
+
21527
+ this.instance.bind("connection", function(c, evt) {
21528
+ if (evt == null) {
21529
+ // not added by mouse. look for an ancestor of the source and/or target element that is a scrollable list, and run
21530
+ // its scroll method.
21531
+ this._maybeUpdateParentList(c.source);
21532
+ this._maybeUpdateParentList(c.target);
21533
+ }
21534
+ }.bind(this));
21535
+ };
21536
+
21537
+ root.jsPlumbListManager = ListManager;
21538
+
21539
+ ListManager.prototype = {
21540
+
21541
+ addList : function(el, options) {
21542
+ var dp = this.instance.extend({}, DEFAULT_OPTIONS);
21543
+ options = this.instance.extend(dp, options || {});
21544
+ var id = [this.instance.getInstanceIndex(), this.count++].join("_");
21545
+ this.lists[id] = new List(this.instance, el, options, id);
21546
+ },
21547
+
21548
+ removeList:function(el) {
21549
+ var list = this.lists[el._jsPlumbList];
21550
+ if (list) {
21551
+ list.destroy();
21552
+ delete this.lists[el._jsPlumbList];
21553
+ }
21554
+ },
21555
+
21556
+ _maybeUpdateParentList:function (el) {
21557
+ var parent = el.parentNode, container = this.instance.getContainer();
21558
+ while(parent != null && parent !== container) {
21559
+ if (parent._jsPlumbList != null && this.lists[parent._jsPlumbList] != null) {
21560
+ parent._jsPlumbScrollHandler();
21561
+ return
21562
+ }
21563
+ parent = parent.parentNode;
21564
+ }
21565
+ }
21566
+
21567
+
21568
+ };
21569
+
21570
+ var List = function(instance, el, options, id) {
21571
+
21572
+ el["_jsPlumbList"] = id;
21573
+
21574
+ //
21575
+ // Derive an anchor to use for the current situation. In contrast to the way we derive an endpoint, here we use `anchor` from the options, if present, as
21576
+ // our first choice, and then `deriveAnchor` as our next choice. There is a default `deriveAnchor` implementation that uses TopRight/TopLeft for top and
21577
+ // BottomRight/BottomLeft for bottom.
21578
+ //
21579
+ // edge - "top" or "bottom"
21580
+ // index - 0 when endpoint is connection source, 1 when endpoint is connection target
21581
+ // ep - the endpoint that is being proxied
21582
+ // conn - the connection that is being proxied
21583
+ //
21584
+ function deriveAnchor(edge, index, ep, conn) {
21585
+ return options.anchor ? options.anchor : options.deriveAnchor(edge, index, ep, conn);
21586
+ }
21587
+
21588
+ //
21589
+ // Derive an endpoint to use for the current situation. We'll use a `deriveEndpoint` function passed in to the options as our first choice,
21590
+ // followed by `endpoint` (an endpoint spec) from the options, and failing either of those we just use the `type` of the endpoint that is being proxied.
21591
+ //
21592
+ // edge - "top" or "bottom"
21593
+ // index - 0 when endpoint is connection source, 1 when endpoint is connection target
21594
+ // endpoint - the endpoint that is being proxied
21595
+ // connection - the connection that is being proxied
21596
+ //
21597
+ function deriveEndpoint(edge, index, ep, conn) {
21598
+ return options.deriveEndpoint ? options.deriveEndpoint(edge, index, ep, conn) : options.endpoint ? options.endpoint : ep.type;
21599
+ }
21600
+
21601
+ //
21602
+ // look for a parent of the given scrollable list that is draggable, and then update the child offsets for it. this should not
21603
+ // be necessary in the delegated drag stuff from the upcoming 3.0.0 release.
21604
+ //
21605
+ function _maybeUpdateDraggable(el) {
21606
+ var parent = el.parentNode, container = instance.getContainer();
21607
+ while(parent != null && parent !== container) {
21608
+ if (instance.hasClass(parent, "jtk-managed")) {
21609
+ instance.recalculateOffsets(parent);
21610
+ return
21611
+ }
21612
+ parent = parent.parentNode;
21613
+ }
21614
+ }
21615
+
21616
+ var scrollHandler = function(e) {
21617
+
21618
+ var children = instance.getSelector(el, ".jtk-managed");
21619
+ var elId = instance.getId(el);
21620
+
21621
+ for (var i = 0; i < children.length; i++) {
21622
+
21623
+ if (children[i].offsetTop < el.scrollTop) {
21624
+ if (!children[i]._jsPlumbProxies) {
21625
+ children[i]._jsPlumbProxies = children[i]._jsPlumbProxies || [];
21626
+ instance.select({source: children[i]}).each(function (c) {
21627
+
21628
+
21629
+ instance.proxyConnection(c, 0, el, elId, function () {
21630
+ return deriveEndpoint("top", 0, c.endpoints[0], c);
21631
+ }, function () {
21632
+ return deriveAnchor("top", 0, c.endpoints[0], c);
21633
+ });
21634
+ children[i]._jsPlumbProxies.push([c, 0]);
21635
+ });
21636
+
21637
+ instance.select({target: children[i]}).each(function (c) {
21638
+ instance.proxyConnection(c, 1, el, elId, function () {
21639
+ return deriveEndpoint("top", 1, c.endpoints[1], c);
21640
+ }, function () {
21641
+ return deriveAnchor("top", 1, c.endpoints[1], c);
21642
+ });
21643
+ children[i]._jsPlumbProxies.push([c, 1]);
21644
+ });
21645
+ }
21646
+ }
21647
+ //
21648
+ else if (children[i].offsetTop > el.scrollTop + el.offsetHeight) {
21649
+ if (!children[i]._jsPlumbProxies) {
21650
+ children[i]._jsPlumbProxies = children[i]._jsPlumbProxies || [];
21651
+
21652
+ instance.select({source: children[i]}).each(function (c) {
21653
+ instance.proxyConnection(c, 0, el, elId, function () {
21654
+ return deriveEndpoint("bottom", 0, c.endpoints[0], c);
21655
+ }, function () {
21656
+ return deriveAnchor("bottom", 0, c.endpoints[0], c);
21657
+ });
21658
+ children[i]._jsPlumbProxies.push([c, 0]);
21659
+ });
21660
+
21661
+ instance.select({target: children[i]}).each(function (c) {
21662
+ instance.proxyConnection(c, 1, el, elId, function () {
21663
+ return deriveEndpoint("bottom", 1, c.endpoints[1], c);
21664
+ }, function () {
21665
+ return deriveAnchor("bottom", 1, c.endpoints[1], c);
21666
+ });
21667
+ children[i]._jsPlumbProxies.push([c, 1]);
21668
+ });
21669
+ }
21670
+ } else if (children[i]._jsPlumbProxies) {
21671
+ for (var j = 0; j < children[i]._jsPlumbProxies.length; j++) {
21672
+ instance.unproxyConnection(children[i]._jsPlumbProxies[j][0], children[i]._jsPlumbProxies[j][1], elId);
21673
+ }
21674
+
21675
+ delete children[i]._jsPlumbProxies;
21676
+ }
21677
+
21678
+ instance.revalidate(children[i]);
21679
+ }
21680
+
21681
+ _maybeUpdateDraggable(el);
21682
+ };
21683
+
21684
+ instance.setAttribute(el, "jtk-scrollable-list", "true");
21685
+ el._jsPlumbScrollHandler = scrollHandler;
21686
+ instance.on(el, "scroll", scrollHandler);
21687
+ scrollHandler(); // run it once; there may be connections already.
21688
+
21689
+ this.destroy = function() {
21690
+ instance.off(el, "scroll", scrollHandler);
21691
+ delete el._jsPlumbScrollHandler;
21692
+
21693
+ var children = instance.getSelector(el, ".jtk-managed");
21694
+ var elId = instance.getId(el);
21695
+
21696
+ for (var i = 0; i < children.length; i++) {
21697
+ if (children[i]._jsPlumbProxies) {
21698
+ for (var j = 0; j < children[i]._jsPlumbProxies.length; j++) {
21699
+ instance.unproxyConnection(children[i]._jsPlumbProxies[j][0], children[i]._jsPlumbProxies[j][1], elId);
21700
+ }
21701
+
21702
+ delete children[i]._jsPlumbProxies;
21703
+ }
21704
+ }
21705
+ };
21706
+ };
21707
+
21708
+
21709
+ }).call(typeof window !== 'undefined' ? window : this);
21384
21710
  /*
21385
21711
  * This file contains the core code.
21386
21712
  *
@@ -21464,7 +21790,17 @@ module.exports = function isShallowEqual (a, b) {
21464
21790
  if (tid !== "__default") {
21465
21791
  var _t = component._jsPlumb.instance.getType(tid, td);
21466
21792
  if (_t != null) {
21467
- o = _ju.merge(o, _t, [ "cssClass" ], [ "connector" ]);
21793
+
21794
+ var overrides = ["anchor", "anchors", "connector", "paintStyle", "hoverPaintStyle", "endpoint", "endpoints", "connectorOverlays", "connectorStyle", "connectorHoverStyle", "endpointStyle", "endpointHoverStyle"];
21795
+ var collations = [ ];
21796
+
21797
+ if (_t.mergeStrategy === "override") {
21798
+ Array.prototype.push.apply(overrides, ["events", "overlays", "cssClass"]);
21799
+ } else {
21800
+ collations.push("cssClass");
21801
+ }
21802
+
21803
+ o = _ju.merge(o, _t, collations, overrides);
21468
21804
  _mapType(map, _t, tid);
21469
21805
  }
21470
21806
  }
@@ -21847,7 +22183,7 @@ module.exports = function isShallowEqual (a, b) {
21847
22183
 
21848
22184
  var jsPlumbInstance = root.jsPlumbInstance = function (_defaults) {
21849
22185
 
21850
- this.version = "2.9.2";
22186
+ this.version = "2.11.2";
21851
22187
 
21852
22188
  this.Defaults = {
21853
22189
  Anchor: "Bottom",
@@ -23311,6 +23647,7 @@ module.exports = function isShallowEqual (a, b) {
23311
23647
 
23312
23648
  managedElements[id].info = _updateOffset({ elId: id, timestamp: _suspendedAt });
23313
23649
  _currentInstance.addClass(element, "jtk-managed");
23650
+
23314
23651
  if (!_transient) {
23315
23652
  _currentInstance.fire("manageElement", { id:id, info:managedElements[id].info, el:element });
23316
23653
  }
@@ -23321,9 +23658,10 @@ module.exports = function isShallowEqual (a, b) {
23321
23658
 
23322
23659
  var _unmanage = _currentInstance.unmanage = function(id) {
23323
23660
  if (managedElements[id]) {
23324
- _currentInstance.removeClass(managedElements[id].el, "jtk-managed");
23661
+ var el = managedElements[id].el;
23662
+ _currentInstance.removeClass(el, "jtk-managed");
23325
23663
  delete managedElements[id];
23326
- _currentInstance.fire("unmanageElement", id);
23664
+ _currentInstance.fire("unmanageElement", {id:id, el:el});
23327
23665
  }
23328
23666
  };
23329
23667
 
@@ -23842,7 +24180,7 @@ module.exports = function isShallowEqual (a, b) {
23842
24180
  // the params passed in, because after a connection is established we're going to reset the endpoint
23843
24181
  // to have the anchor we were given.
23844
24182
  var tempEndpointParams = {};
23845
- root.jsPlumb.extend(tempEndpointParams, p);
24183
+ root.jsPlumb.extend(tempEndpointParams, def.def);
23846
24184
  tempEndpointParams.isTemporarySource = true;
23847
24185
  tempEndpointParams.anchor = [ elxy[0], elxy[1] , 0, 0];
23848
24186
  tempEndpointParams.dragOptions = dragOptions;
@@ -24460,6 +24798,8 @@ module.exports = function isShallowEqual (a, b) {
24460
24798
  this.getFloatingConnectionFor = function(id) {
24461
24799
  return floatingConnections[id];
24462
24800
  };
24801
+
24802
+ this.listManager = new root.jsPlumbListManager(this);
24463
24803
  };
24464
24804
 
24465
24805
  _ju.extend(root.jsPlumbInstance, _ju.EventGenerator, {
@@ -24550,6 +24890,86 @@ module.exports = function isShallowEqual (a, b) {
24550
24890
  floatingConnections: {},
24551
24891
  getFloatingAnchorIndex: function (jpc) {
24552
24892
  return jpc.endpoints[0].isFloating() ? 0 : jpc.endpoints[1].isFloating() ? 1 : -1;
24893
+ },
24894
+ proxyConnection :function(connection, index, proxyEl, proxyElId, endpointGenerator, anchorGenerator) {
24895
+ var proxyEp,
24896
+ originalElementId = connection.endpoints[index].elementId,
24897
+ originalEndpoint = connection.endpoints[index];
24898
+
24899
+ connection.proxies = connection.proxies || [];
24900
+ if(connection.proxies[index]) {
24901
+ proxyEp = connection.proxies[index].ep;
24902
+ }else {
24903
+ proxyEp = this.addEndpoint(proxyEl, {
24904
+ endpoint:endpointGenerator(connection, index),
24905
+ anchor:anchorGenerator(connection, index),
24906
+ parameters:{
24907
+ isProxyEndpoint:true
24908
+ }
24909
+ });
24910
+ }
24911
+ proxyEp.setDeleteOnEmpty(true);
24912
+
24913
+ // for this index, stash proxy info: the new EP, the original EP.
24914
+ connection.proxies[index] = { ep:proxyEp, originalEp: originalEndpoint };
24915
+
24916
+ // and advise the anchor manager
24917
+ if (index === 0) {
24918
+ // TODO why are there two differently named methods? Why is there not one method that says "some end of this
24919
+ // connection changed (you give the index), and here's the new element and element id."
24920
+ this.anchorManager.sourceChanged(originalElementId, proxyElId, connection, proxyEl);
24921
+ }
24922
+ else {
24923
+ this.anchorManager.updateOtherEndpoint(connection.endpoints[0].elementId, originalElementId, proxyElId, connection);
24924
+ connection.target = proxyEl;
24925
+ connection.targetId = proxyElId;
24926
+ }
24927
+
24928
+ // detach the original EP from the connection.
24929
+ originalEndpoint.detachFromConnection(connection, null, true);
24930
+
24931
+ // set the proxy as the new ep
24932
+ proxyEp.connections = [ connection ];
24933
+ connection.endpoints[index] = proxyEp;
24934
+
24935
+ originalEndpoint.setVisible(false);
24936
+
24937
+ connection.setVisible(true);
24938
+
24939
+ this.revalidate(proxyEl);
24940
+ },
24941
+ unproxyConnection : function(connection, index, proxyElId) {
24942
+ // if connection cleaned up, no proxies, or none for this end of the connection, abort.
24943
+ if (connection._jsPlumb == null || connection.proxies == null || connection.proxies[index] == null) {
24944
+ return;
24945
+ }
24946
+
24947
+ var originalElement = connection.proxies[index].originalEp.element,
24948
+ originalElementId = connection.proxies[index].originalEp.elementId;
24949
+
24950
+ connection.endpoints[index] = connection.proxies[index].originalEp;
24951
+ // and advise the anchor manager
24952
+ if (index === 0) {
24953
+ // TODO why are there two differently named methods? Why is there not one method that says "some end of this
24954
+ // connection changed (you give the index), and here's the new element and element id."
24955
+ this.anchorManager.sourceChanged(proxyElId, originalElementId, connection, originalElement);
24956
+ }
24957
+ else {
24958
+ this.anchorManager.updateOtherEndpoint(connection.endpoints[0].elementId, proxyElId, originalElementId, connection);
24959
+ connection.target = originalElement;
24960
+ connection.targetId = originalElementId;
24961
+ }
24962
+
24963
+ // detach the proxy EP from the connection (which will cause it to be removed as we no longer need it)
24964
+ connection.proxies[index].ep.detachFromConnection(connection, null);
24965
+
24966
+ connection.proxies[index].originalEp.addConnection(connection);
24967
+ if(connection.isVisible()) {
24968
+ connection.proxies[index].originalEp.setVisible(true);
24969
+ }
24970
+
24971
+ // cleanup
24972
+ delete connection.proxies[index];
24553
24973
  }
24554
24974
  });
24555
24975
 
@@ -26309,9 +26729,9 @@ module.exports = function isShallowEqual (a, b) {
26309
26729
 
26310
26730
  // INITIALISATION CODE
26311
26731
 
26312
- this.makeEndpoint = function (isSource, el, elId, ep) {
26732
+ this.makeEndpoint = function (isSource, el, elId, ep, definition) {
26313
26733
  elId = elId || this._jsPlumb.instance.getId(el);
26314
- return this.prepareEndpoint(_jsPlumb, _newEndpoint, this, ep, isSource ? 0 : 1, params, el, elId);
26734
+ return this.prepareEndpoint(_jsPlumb, _newEndpoint, this, ep, isSource ? 0 : 1, params, el, elId, definition);
26315
26735
  };
26316
26736
 
26317
26737
  // if type given, get the endpoint definitions mapping to that type from the jsplumb instance, and use those.
@@ -26632,6 +27052,8 @@ module.exports = function isShallowEqual (a, b) {
26632
27052
  this.canvas = this.connector.canvas;
26633
27053
  this.bgCanvas = this.connector.bgCanvas;
26634
27054
 
27055
+ this.connector.reattach(this._jsPlumb.instance);
27056
+
26635
27057
  // put classes from prior connector onto the canvas
26636
27058
  this.addClass(previousClasses);
26637
27059
 
@@ -26743,7 +27165,7 @@ module.exports = function isShallowEqual (a, b) {
26743
27165
  p.elId = this.sourceId;
26744
27166
  this.paint(p);
26745
27167
  },
26746
- prepareEndpoint: function (_jsPlumb, _newEndpoint, conn, existing, index, params, element, elementId) {
27168
+ prepareEndpoint: function (_jsPlumb, _newEndpoint, conn, existing, index, params, element, elementId, definition) {
26747
27169
  var e;
26748
27170
  if (existing) {
26749
27171
  conn.endpoints[index] = existing;
@@ -26752,7 +27174,7 @@ module.exports = function isShallowEqual (a, b) {
26752
27174
  if (!params.endpoints) {
26753
27175
  params.endpoints = [ null, null ];
26754
27176
  }
26755
- var ep = params.endpoints[index] || params.endpoint || _jsPlumb.Defaults.Endpoints[index] || _jp.Defaults.Endpoints[index] || _jsPlumb.Defaults.Endpoint || _jp.Defaults.Endpoint;
27177
+ var ep = definition || params.endpoints[index] || params.endpoint || _jsPlumb.Defaults.Endpoints[index] || _jp.Defaults.Endpoints[index] || _jsPlumb.Defaults.Endpoint || _jp.Defaults.Endpoint;
26756
27178
  if (!params.endpointStyles) {
26757
27179
  params.endpointStyles = [ null, null ];
26758
27180
  }
@@ -26807,6 +27229,23 @@ module.exports = function isShallowEqual (a, b) {
26807
27229
 
26808
27230
  }
26809
27231
  return e;
27232
+ },
27233
+ replaceEndpoint:function(idx, endpointDef) {
27234
+
27235
+ var current = this.endpoints[idx],
27236
+ elId = current.elementId,
27237
+ ebe = this._jsPlumb.instance.getEndpoints(elId),
27238
+ _idx = ebe.indexOf(current),
27239
+ _new = this.makeEndpoint(idx === 0, current.element, elId, null, endpointDef);
27240
+
27241
+ this.endpoints[idx] = _new;
27242
+
27243
+ ebe.splice(_idx, 1, _new);
27244
+ this._jsPlumb.instance.deleteObject({endpoint:current, deleteAttachedObjects:false});
27245
+ this._jsPlumb.instance.fire("endpointReplaced", {previous:current, current:_new});
27246
+
27247
+ this._jsPlumb.instance.anchorManager.updateOtherEndpoint(this.endpoints[0].elementId, this.endpoints[1].elementId, this.endpoints[1].elementId, this);
27248
+
26810
27249
  }
26811
27250
 
26812
27251
  }); // END Connection class
@@ -28024,15 +28463,15 @@ module.exports = function isShallowEqual (a, b) {
28024
28463
  },
28025
28464
  _path = function (segments) {
28026
28465
  var anchorsPerFace = anchorCount / segments.length, a = [],
28027
- _computeFace = function (x1, y1, x2, y2, fractionalLength) {
28466
+ _computeFace = function (x1, y1, x2, y2, fractionalLength, ox, oy) {
28028
28467
  anchorsPerFace = anchorCount * fractionalLength;
28029
28468
  var dx = (x2 - x1) / anchorsPerFace, dy = (y2 - y1) / anchorsPerFace;
28030
28469
  for (var i = 0; i < anchorsPerFace; i++) {
28031
28470
  a.push([
28032
28471
  x1 + (dx * i),
28033
28472
  y1 + (dy * i),
28034
- 0,
28035
- 0
28473
+ ox == null ? 0 : ox,
28474
+ oy == null ? 0 : oy
28036
28475
  ]);
28037
28476
  }
28038
28477
  };
@@ -28046,16 +28485,16 @@ module.exports = function isShallowEqual (a, b) {
28046
28485
  _shape = function (faces) {
28047
28486
  var s = [];
28048
28487
  for (var i = 0; i < faces.length; i++) {
28049
- s.push([faces[i][0], faces[i][1], faces[i][2], faces[i][3], 1 / faces.length]);
28488
+ s.push([faces[i][0], faces[i][1], faces[i][2], faces[i][3], 1 / faces.length, faces[i][4], faces[i][5]]);
28050
28489
  }
28051
28490
  return _path(s);
28052
28491
  },
28053
28492
  _rectangle = function () {
28054
28493
  return _shape([
28055
- [ 0, 0, 1, 0 ],
28056
- [ 1, 0, 1, 1 ],
28057
- [ 1, 1, 0, 1 ],
28058
- [ 0, 1, 0, 0 ]
28494
+ [ 0, 0, 1, 0, 0, -1 ],
28495
+ [ 1, 0, 1, 1, 1, 0 ],
28496
+ [ 1, 1, 0, 1, 0, 1 ],
28497
+ [ 0, 1, 0, 0, -1, 0 ]
28059
28498
  ]);
28060
28499
  };
28061
28500
 
@@ -29370,8 +29809,8 @@ module.exports = function isShallowEqual (a, b) {
29370
29809
  this.length = params.length || 20;
29371
29810
  this.width = params.width || 20;
29372
29811
  this.id = params.id;
29373
- var direction = (params.direction || 1) < 0 ? -1 : 1,
29374
- paintStyle = params.paintStyle || { "stroke-width": 1 },
29812
+ this.direction = (params.direction || 1) < 0 ? -1 : 1;
29813
+ var paintStyle = params.paintStyle || { "stroke-width": 1 },
29375
29814
  // how far along the arrow the lines folding back in come to. default is 62.3%.
29376
29815
  foldback = params.foldback || 0.623;
29377
29816
 
@@ -29397,7 +29836,7 @@ module.exports = function isShallowEqual (a, b) {
29397
29836
  var l = parseInt(this.loc, 10),
29398
29837
  fromLoc = this.loc < 0 ? 1 : 0;
29399
29838
  hxy = component.pointAlongPathFrom(fromLoc, l, false);
29400
- mid = component.pointAlongPathFrom(fromLoc, l - (direction * this.length / 2), false);
29839
+ mid = component.pointAlongPathFrom(fromLoc, l - (this.direction * this.length / 2), false);
29401
29840
  txy = _jg.pointOnLine(hxy, mid, this.length);
29402
29841
  }
29403
29842
  else if (this.loc === 1) {
@@ -29405,7 +29844,7 @@ module.exports = function isShallowEqual (a, b) {
29405
29844
  mid = component.pointAlongPathFrom(this.loc, -(this.length));
29406
29845
  txy = _jg.pointOnLine(hxy, mid, this.length);
29407
29846
 
29408
- if (direction === -1) {
29847
+ if (this.direction === -1) {
29409
29848
  var _ = txy;
29410
29849
  txy = hxy;
29411
29850
  hxy = _;
@@ -29415,14 +29854,14 @@ module.exports = function isShallowEqual (a, b) {
29415
29854
  txy = component.pointOnPath(this.loc);
29416
29855
  mid = component.pointAlongPathFrom(this.loc, this.length);
29417
29856
  hxy = _jg.pointOnLine(txy, mid, this.length);
29418
- if (direction === -1) {
29857
+ if (this.direction === -1) {
29419
29858
  var __ = txy;
29420
29859
  txy = hxy;
29421
29860
  hxy = __;
29422
29861
  }
29423
29862
  }
29424
29863
  else {
29425
- hxy = component.pointAlongPathFrom(this.loc, direction * this.length / 2);
29864
+ hxy = component.pointAlongPathFrom(this.loc, this.direction * this.length / 2);
29426
29865
  mid = component.pointOnPath(this.loc);
29427
29866
  txy = _jg.pointOnLine(hxy, mid, this.length);
29428
29867
  }
@@ -29956,11 +30395,11 @@ module.exports = function isShallowEqual (a, b) {
29956
30395
  c.setVisible(false);
29957
30396
  if (c.endpoints[oidx].element._jsPlumbGroup === group) {
29958
30397
  c.endpoints[oidx].setVisible(false);
29959
- self.expandConnection(c, oidx, group);
30398
+ _expandConnection(c, oidx, group);
29960
30399
  }
29961
30400
  else {
29962
30401
  c.endpoints[index].setVisible(false);
29963
- self.collapseConnection(c, index, group);
30402
+ _collapseConnection(c, index, group);
29964
30403
  }
29965
30404
  });
29966
30405
  };
@@ -29984,7 +30423,7 @@ module.exports = function isShallowEqual (a, b) {
29984
30423
  _jsPlumb.revalidate(elId);
29985
30424
 
29986
30425
  if (!doNotFireEvent) {
29987
- var p = {group: group, el: el};
30426
+ var p = {group: group, el: el, pos:newPosition};
29988
30427
  if (currentGroup) {
29989
30428
  p.sourceGroup = currentGroup;
29990
30429
  }
@@ -30044,54 +30483,16 @@ module.exports = function isShallowEqual (a, b) {
30044
30483
  }
30045
30484
  }
30046
30485
 
30047
- var _collapseConnection = this.collapseConnection = function(c, index, group) {
30048
-
30049
- var proxyEp, groupEl = group.getEl(), groupElId = _jsPlumb.getId(groupEl),
30050
- originalElementId = c.endpoints[index].elementId;
30486
+ var _collapseConnection = function(c, index, group) {
30051
30487
 
30052
30488
  var otherEl = c.endpoints[index === 0 ? 1 : 0].element;
30053
30489
  if (otherEl[GROUP] && (!otherEl[GROUP].shouldProxy() && otherEl[GROUP].collapsed)) {
30054
30490
  return;
30055
30491
  }
30056
30492
 
30057
- c.proxies = c.proxies || [];
30058
- if(c.proxies[index]) {
30059
- proxyEp = c.proxies[index].ep;
30060
- }else {
30061
- proxyEp = _jsPlumb.addEndpoint(groupEl, {
30062
- endpoint:group.getEndpoint(c, index),
30063
- anchor:group.getAnchor(c, index),
30064
- parameters:{
30065
- isProxyEndpoint:true
30066
- }
30067
- });
30068
- }
30069
- proxyEp.setDeleteOnEmpty(true);
30070
-
30071
- // for this index, stash proxy info: the new EP, the original EP.
30072
- c.proxies[index] = { ep:proxyEp, originalEp: c.endpoints[index] };
30073
-
30074
- // and advise the anchor manager
30075
- if (index === 0) {
30076
- // TODO why are there two differently named methods? Why is there not one method that says "some end of this
30077
- // connection changed (you give the index), and here's the new element and element id."
30078
- _jsPlumb.anchorManager.sourceChanged(originalElementId, groupElId, c, groupEl);
30079
- }
30080
- else {
30081
- _jsPlumb.anchorManager.updateOtherEndpoint(c.endpoints[0].elementId, originalElementId, groupElId, c);
30082
- c.target = groupEl;
30083
- c.targetId = groupElId;
30084
- }
30085
-
30086
-
30087
- // detach the original EP from the connection.
30088
- c.proxies[index].originalEp.detachFromConnection(c, null, true);
30493
+ var groupEl = group.getEl(), groupElId = _jsPlumb.getId(groupEl);
30089
30494
 
30090
- // set the proxy as the new ep
30091
- proxyEp.connections = [ c ];
30092
- c.endpoints[index] = proxyEp;
30093
-
30094
- c.setVisible(true);
30495
+ _jsPlumb.proxyConnection(c, index, groupEl, groupElId, function(c, index) { return group.getEndpoint(c, index); }, function(c, index) { return group.getAnchor(c, index); });
30095
30496
  };
30096
30497
 
30097
30498
  this.collapseGroup = function(group) {
@@ -30128,37 +30529,8 @@ module.exports = function isShallowEqual (a, b) {
30128
30529
  _jsPlumb.fire(EVT_COLLAPSE, { group:group });
30129
30530
  };
30130
30531
 
30131
- var _expandConnection = this.expandConnection = function(c, index, group) {
30132
-
30133
- // if no proxies or none for this end of the connection, abort.
30134
- if (c.proxies == null || c.proxies[index] == null) {
30135
- return;
30136
- }
30137
-
30138
- var groupElId = _jsPlumb.getId(group.getEl()),
30139
- originalElement = c.proxies[index].originalEp.element,
30140
- originalElementId = c.proxies[index].originalEp.elementId;
30141
-
30142
- c.endpoints[index] = c.proxies[index].originalEp;
30143
- // and advise the anchor manager
30144
- if (index === 0) {
30145
- // TODO why are there two differently named methods? Why is there not one method that says "some end of this
30146
- // connection changed (you give the index), and here's the new element and element id."
30147
- _jsPlumb.anchorManager.sourceChanged(groupElId, originalElementId, c, originalElement);
30148
- }
30149
- else {
30150
- _jsPlumb.anchorManager.updateOtherEndpoint(c.endpoints[0].elementId, groupElId, originalElementId, c);
30151
- c.target = originalElement;
30152
- c.targetId = originalElementId;
30153
- }
30154
-
30155
- // detach the proxy EP from the connection (which will cause it to be removed as we no longer need it)
30156
- c.proxies[index].ep.detachFromConnection(c, null);
30157
-
30158
- c.proxies[index].originalEp.addConnection(c);
30159
-
30160
- // cleanup
30161
- delete c.proxies[index];
30532
+ var _expandConnection = function(c, index, group) {
30533
+ _jsPlumb.unproxyConnection(c, index, _jsPlumb.getId(group.getEl()));
30162
30534
  };
30163
30535
 
30164
30536
  this.expandGroup = function(group, doNotFireEvent) {
@@ -32808,6 +33180,30 @@ module.exports = function isShallowEqual (a, b) {
32808
33180
  }.bind(this));
32809
33181
  return this;
32810
33182
  },
33183
+ snapToGrid : function(el, x, y) {
33184
+ var out = [];
33185
+ var _oneEl = function(_el) {
33186
+ var info = this.info(_el);
33187
+ if (info.el != null && info.el._katavorioDrag) {
33188
+ var snapped = info.el._katavorioDrag.snap(x, y);
33189
+ this.revalidate(info.el);
33190
+ out.push([info.el, snapped]);
33191
+ }
33192
+ }.bind(this);
33193
+
33194
+ // if you call this method with 0 arguments or 2 arguments it is assumed you want to snap all managed elements to
33195
+ // a grid. if you supply one argument or 3, then you are assumed to be specifying one element.
33196
+ if(arguments.length === 1 || arguments.length === 3) {
33197
+ _oneEl(el, x, y);
33198
+ } else {
33199
+ var _me = this.getManagedElements();
33200
+ for (var mel in _me) {
33201
+ _oneEl(mel, arguments[0], arguments[1]);
33202
+ }
33203
+ }
33204
+
33205
+ return out;
33206
+ },
32811
33207
  initDraggable: function (el, options, category) {
32812
33208
  _getDragManager(this, category).draggable(el, options);
32813
33209
  el._jsPlumbDragOptions = options;
@@ -33694,7 +34090,7 @@ module.exports = baseGetTag;
33694
34090
 
33695
34091
  /***/ }),
33696
34092
 
33697
- /***/ 4773:
34093
+ /***/ 9535:
33698
34094
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
33699
34095
 
33700
34096
  var trimmedEndIndex = __webpack_require__(437);
@@ -51585,7 +51981,7 @@ module.exports = throttle;
51585
51981
  /***/ 6119:
51586
51982
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
51587
51983
 
51588
- var baseTrim = __webpack_require__(4773),
51984
+ var baseTrim = __webpack_require__(9535),
51589
51985
  isObject = __webpack_require__(5464),
51590
51986
  isSymbol = __webpack_require__(8847);
51591
51987
 
@@ -66848,7 +67244,7 @@ let getFileExt = filename => {
66848
67244
  /* harmony import */ var _util_mathUtils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(9548);
66849
67245
  /* harmony import */ var _util_util__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(4063);
66850
67246
  /* harmony import */ var _layoutItem__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(1482);
66851
- /* harmony import */ var _components_index__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(9535);
67247
+ /* harmony import */ var _components_index__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(6020);
66852
67248
  /* harmony import */ var pubsub_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(1528);
66853
67249
  /* harmony import */ var pubsub_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(pubsub_js__WEBPACK_IMPORTED_MODULE_9__);
66854
67250
  /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(9274);
@@ -68760,7 +69156,7 @@ __webpack_require__.r(__webpack_exports__);
68760
69156
  if (typeof exports === 'object' && "object" === 'object')
68761
69157
  // CommonJS
68762
69158
  {
68763
- mod(__webpack_require__(6386));
69159
+ mod(__webpack_require__(4125));
68764
69160
  } else if (typeof define === 'function' && __webpack_require__.amdO)
68765
69161
  // AMD
68766
69162
  {
@@ -68932,7 +69328,7 @@ __webpack_require__.r(__webpack_exports__);
68932
69328
  if (true)
68933
69329
  // CommonJS
68934
69330
  {
68935
- mod(__webpack_require__(6386));
69331
+ mod(__webpack_require__(4125));
68936
69332
  } else {}
68937
69333
  })(function (CodeMirror) {
68938
69334
  'use strict';
@@ -69477,7 +69873,13 @@ __webpack_require__.g.dictData = {};
69477
69873
  this.publish_linkage = pubsub_js__WEBPACK_IMPORTED_MODULE_5___default().subscribe('formLinkage_' + this.widget.model, (key, data) => {
69478
69874
  // console.log(key, data)
69479
69875
  if (data.type === 'update') {
69480
- this.dataModel = data.updateValue;
69876
+ /** 某些值不能变为空字符串,只能变为空数组 */
69877
+ const updateArray = ["relateSub", "dataTable"];
69878
+ if (updateArray.includes(this.widget.type) && data.updateValue === "") {
69879
+ this.dataModel = [];
69880
+ } else {
69881
+ this.dataModel = data.updateValue;
69882
+ }
69481
69883
  }
69482
69884
  if (data.type === 'show') {
69483
69885
  this.widget.options.canView = data.updateValue;
@@ -69980,7 +70382,7 @@ module.exports = {
69980
70382
 
69981
70383
  /***/ }),
69982
70384
 
69983
- /***/ 9535:
70385
+ /***/ 6020:
69984
70386
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
69985
70387
 
69986
70388
  "use strict";
@@ -70814,8 +71216,8 @@ var JEllipsis_component = (0,componentNormalizer/* default */.A)(
70814
71216
  /* harmony default export */ const JEllipsis = (JEllipsis_component.exports);
70815
71217
  // EXTERNAL MODULE: ./node_modules/_vue-codemirror@4.0.6@vue-codemirror/dist/vue-codemirror.js
70816
71218
  var vue_codemirror = __webpack_require__(9366);
70817
- // EXTERNAL MODULE: ./node_modules/_codemirror@5.65.17@codemirror/addon/selection/active-line.js
70818
- var active_line = __webpack_require__(4157);
71219
+ // EXTERNAL MODULE: ./node_modules/_codemirror@5.65.16@codemirror/addon/selection/active-line.js
71220
+ var active_line = __webpack_require__(3084);
70819
71221
  ;// CONCATENATED MODULE: ./node_modules/_thread-loader@3.0.4@thread-loader/dist/cjs.js!./node_modules/_babel-loader@8.3.0@babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/_vue-loader@15.11.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/common/Modals/relateSubModal.vue?vue&type=script&lang=js
70820
71222
 
70821
71223
 
@@ -70961,7 +71363,7 @@ var active_line = __webpack_require__(4157);
70961
71363
 
70962
71364
 
70963
71365
  // language js
70964
- __webpack_require__(4275);
71366
+ __webpack_require__(2864);
70965
71367
  // theme css
70966
71368
  //光标行
70967
71369
  /* harmony default export */ const relateSubModalvue_type_script_lang_js = ({
@@ -82560,8 +82962,8 @@ var widgetSetupvue_type_template_id_b139f2ac_scoped_true_render = function () {v
82560
82962
  var widgetSetupvue_type_template_id_b139f2ac_scoped_true_staticRenderFns = []
82561
82963
 
82562
82964
 
82563
- // EXTERNAL MODULE: ./node_modules/_codemirror@5.65.17@codemirror/mode/javascript/javascript.js
82564
- var javascript = __webpack_require__(4275);
82965
+ // EXTERNAL MODULE: ./node_modules/_codemirror@5.65.16@codemirror/mode/javascript/javascript.js
82966
+ var javascript = __webpack_require__(2864);
82565
82967
  ;// CONCATENATED MODULE: ./node_modules/_thread-loader@3.0.4@thread-loader/dist/cjs.js!./node_modules/_babel-loader@8.3.0@babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/_vue-loader@15.11.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/components/CodeControl/widgetSetup.vue?vue&type=script&lang=js
82566
82968
  //
82567
82969
  //
@@ -85901,13 +86303,13 @@ var userSelectorByRole_widgetDesign_component = (0,componentNormalizer/* default
85901
86303
  widgetSetup: userSelectorByRole_widgetSetup,
85902
86304
  widgetDesign: userSelectorByRole_widgetDesign
85903
86305
  });
85904
- ;// CONCATENATED MODULE: ./node_modules/_vue-loader@15.11.1@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_vue-loader@15.11.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/components/ImgUpload/component.vue?vue&type=template&id=a8b77700&scoped=true
85905
- var componentvue_type_template_id_a8b77700_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.widget)?_c('div',{staticClass:"custom_form_item",style:({ height: _vm.currHeight })},[_c('a-form-model-item',{ref:_vm.widget.model,attrs:{"colon":false,"label-col":_vm.labelCol,"wrapperCol":_vm.wrapperCol,"prop":_vm.tableKey ? (_vm.tableKey + "." + _vm.tableIndex + "." + (_vm.widget.model)) : _vm.widget.model,"rules":_vm.tableKey ? _vm.rules[_vm.tableKey][_vm.widget.model] : _vm.rules[_vm.widget.model]}},[_c('drag-upload',{directives:[{name:"show",rawName:"v-show",value:(_vm.widget.options.uploadStyle === '1' && _vm.fileList.length < parseInt(_vm.widget.options.length) && (!_vm.widget.options.disabled || _vm.isdisabled)),expression:"widget.options.uploadStyle === '1' && fileList.length < parseInt(widget.options.length) && (!widget.options.disabled || isdisabled)"}],ref:"dragUpload",style:(("margin-bottom: " + (_vm.fileList.length ? '10px': 0))),attrs:{"maxLength":_vm.maxLength,"type":"image","model":_vm.widget.model,"QrData":_vm.QrData,"placeholder":_vm.widget.options.placeholder_1,"uploadRef":function () { return _vm.$refs.uploadRef; },"disabled":false,"QrUpload":_vm.widget.options.enableQrUpload},on:{"overLength":_vm.overLengthTip,"add":_vm.uploadAdd}}),_c('a-upload',{ref:"uploadRef",style:(_vm.size),attrs:{"action":_vm.actionUrl,"list-type":"picture-card","file-list":_vm.fileList,"headers":_vm.headers,"disabled":_vm.isdisabled ? _vm.show : _vm.widget.options.disabled,"beforeUpload":_vm.beforeUpload},on:{"preview":_vm.handlePreview,"change":_vm.handleChange}},[(_vm.widget.options.uploadStyle !== '1' && _vm.fileList.length < parseInt(_vm.widget.options.length) && (!_vm.widget.options.disabled || _vm.isdisabled))?_c('div',[_c('a-icon',{attrs:{"type":"plus"}}),_c('div',{staticClass:"ant-upload-text"},[_vm._v(_vm._s(_vm.widget.options.placeholder))])],1):_vm._e()]),_c('a-modal',{attrs:{"title":"预览","zIndex":100000,"visible":_vm.previewVisible,"footer":null},on:{"cancel":_vm.handleCancel}},[_c('div',{},[_c('img',{staticStyle:{"width":"100%"},attrs:{"alt":"example","src":_vm.previewImage}})])]),(_vm.widget.options.labelWidth !== 0)?_c('div',{class:[
86306
+ ;// CONCATENATED MODULE: ./node_modules/_vue-loader@15.11.1@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_vue-loader@15.11.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/components/ImgUpload/component.vue?vue&type=template&id=5f3be5aa&scoped=true
86307
+ var componentvue_type_template_id_5f3be5aa_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.widget)?_c('div',{staticClass:"custom_form_item",style:({ height: _vm.currHeight })},[_c('a-form-model-item',{ref:_vm.widget.model,attrs:{"colon":false,"label-col":_vm.labelCol,"wrapperCol":_vm.wrapperCol,"prop":_vm.tableKey ? (_vm.tableKey + "." + _vm.tableIndex + "." + (_vm.widget.model)) : _vm.widget.model,"rules":_vm.tableKey ? _vm.rules[_vm.tableKey][_vm.widget.model] : _vm.rules[_vm.widget.model]}},[_c('drag-upload',{directives:[{name:"show",rawName:"v-show",value:(_vm.widget.options.uploadStyle === '1' && _vm.fileList.length < parseInt(_vm.widget.options.length) && (!_vm.widget.options.disabled || _vm.isdisabled)),expression:"widget.options.uploadStyle === '1' && fileList.length < parseInt(widget.options.length) && (!widget.options.disabled || isdisabled)"}],ref:"dragUpload",style:(("margin-bottom: " + (_vm.fileList.length ? '10px': 0))),attrs:{"maxLength":_vm.maxLength,"type":"image","model":_vm.widget.model,"QrData":_vm.QrData,"placeholder":_vm.widget.options.placeholder_1,"uploadRef":function () { return _vm.$refs.uploadRef; },"disabled":false,"QrUpload":_vm.widget.options.enableQrUpload},on:{"overLength":_vm.overLengthTip,"add":_vm.uploadAdd}}),_c('a-upload',{ref:"uploadRef",style:(_vm.size),attrs:{"action":_vm.actionUrl,"list-type":"picture-card","file-list":_vm.fileList,"headers":_vm.headers,"disabled":_vm.isdisabled ? _vm.show : _vm.widget.options.disabled,"beforeUpload":_vm.beforeUpload},on:{"preview":_vm.handlePreview,"change":_vm.handleChange}},[(_vm.widget.options.uploadStyle !== '1' && _vm.fileList.length < parseInt(_vm.widget.options.length) && (!_vm.widget.options.disabled || _vm.isdisabled))?_c('div',[_c('a-icon',{attrs:{"type":"plus"}}),_c('div',{staticClass:"ant-upload-text"},[_vm._v(_vm._s(_vm.widget.options.placeholder))])],1):_vm._e()]),_c('a-modal',{attrs:{"title":"预览","zIndex":100000,"visible":_vm.previewVisible,"footer":null},on:{"cancel":_vm.handleCancel}},[_c('div',{},[_c('img',{staticStyle:{"width":"100%"},attrs:{"alt":"example","src":_vm.previewImage}})])]),(_vm.widget.options.labelWidth !== 0)?_c('div',{class:[
85906
86308
  _vm.config.align,
85907
86309
  _vm.config.validate === true && _vm.widget.options.required === true
85908
86310
  ? 'is_required'
85909
86311
  : 'no_required' ],style:({ color: this.config.color }),attrs:{"slot":"label"},slot:"label"},[_vm._v(" "+_vm._s(_vm.widget.name)+" ")]):_vm._e()],1)],1):_vm._e()}
85910
- var componentvue_type_template_id_a8b77700_scoped_true_staticRenderFns = []
86312
+ var componentvue_type_template_id_5f3be5aa_scoped_true_staticRenderFns = []
85911
86313
 
85912
86314
 
85913
86315
  // EXTERNAL MODULE: ./node_modules/_core-js@3.37.1@core-js/modules/es.array.sort.js
@@ -86553,6 +86955,7 @@ function getBase64(file) {
86553
86955
  if (!Array.isArray(val)) {
86554
86956
  val = [];
86555
86957
  this.dataModel = [];
86958
+ this.fileList = [];
86556
86959
  }
86557
86960
  this.pulishMsg(val);
86558
86961
  // console.log(this.widget.options.canView = false)
@@ -86563,10 +86966,10 @@ function getBase64(file) {
86563
86966
  });
86564
86967
  ;// CONCATENATED MODULE: ./src/form/modules/components/ImgUpload/component.vue?vue&type=script&lang=js
86565
86968
  /* harmony default export */ const components_ImgUpload_componentvue_type_script_lang_js = (ImgUpload_componentvue_type_script_lang_js);
86566
- ;// CONCATENATED MODULE: ./node_modules/_mini-css-extract-plugin@2.9.0@mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/_css-loader@6.11.0@css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/_vue-loader@15.11.1@vue-loader/lib/loaders/stylePostLoader.js!./node_modules/_postcss-loader@6.2.1@postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/_less-loader@5.0.0@less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/_vue-loader@15.11.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/components/ImgUpload/component.vue?vue&type=style&index=0&id=a8b77700&prod&lang=less&scoped=true
86969
+ ;// CONCATENATED MODULE: ./node_modules/_mini-css-extract-plugin@2.9.0@mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/_css-loader@6.11.0@css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/_vue-loader@15.11.1@vue-loader/lib/loaders/stylePostLoader.js!./node_modules/_postcss-loader@6.2.1@postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/_less-loader@5.0.0@less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/_vue-loader@15.11.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/components/ImgUpload/component.vue?vue&type=style&index=0&id=5f3be5aa&prod&lang=less&scoped=true
86567
86970
  // extracted by mini-css-extract-plugin
86568
86971
 
86569
- ;// CONCATENATED MODULE: ./src/form/modules/components/ImgUpload/component.vue?vue&type=style&index=0&id=a8b77700&prod&lang=less&scoped=true
86972
+ ;// CONCATENATED MODULE: ./src/form/modules/components/ImgUpload/component.vue?vue&type=style&index=0&id=5f3be5aa&prod&lang=less&scoped=true
86570
86973
 
86571
86974
  ;// CONCATENATED MODULE: ./src/form/modules/components/ImgUpload/component.vue
86572
86975
 
@@ -86579,11 +86982,11 @@ function getBase64(file) {
86579
86982
 
86580
86983
  var ImgUpload_component_component = (0,componentNormalizer/* default */.A)(
86581
86984
  components_ImgUpload_componentvue_type_script_lang_js,
86582
- componentvue_type_template_id_a8b77700_scoped_true_render,
86583
- componentvue_type_template_id_a8b77700_scoped_true_staticRenderFns,
86985
+ componentvue_type_template_id_5f3be5aa_scoped_true_render,
86986
+ componentvue_type_template_id_5f3be5aa_scoped_true_staticRenderFns,
86584
86987
  false,
86585
86988
  null,
86586
- "a8b77700",
86989
+ "5f3be5aa",
86587
86990
  null
86588
86991
 
86589
86992
  )
@@ -86941,15 +87344,15 @@ var ImgUpload_widgetDesign_component = (0,componentNormalizer/* default */.A)(
86941
87344
  widgetSetup: ImgUpload_widgetSetup,
86942
87345
  widgetDesign: ImgUpload_widgetDesign
86943
87346
  });
86944
- ;// CONCATENATED MODULE: ./node_modules/_vue-loader@15.11.1@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_vue-loader@15.11.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/components/FileUpload/component.vue?vue&type=template&id=99e59474&scoped=true
86945
- var componentvue_type_template_id_99e59474_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.widget)?_c('div',{staticClass:"custom_form_item",style:({ height: _vm.widget.options.height + 'px' })},[_c('a-form-model-item',{ref:_vm.widget.model,attrs:{"colon":false,"label-col":_vm.labelCol,"wrapperCol":_vm.wrapperCol,"prop":_vm.tableKey ? (_vm.tableKey + "." + _vm.tableIndex + "." + (_vm.widget.model)) : _vm.widget.model,"rules":_vm.tableKey ? _vm.rules[_vm.tableKey][_vm.widget.model] : _vm.rules[_vm.widget.model]}},[_c('drag-upload',{directives:[{name:"show",rawName:"v-show",value:(!_vm.widget.options.enableBigUpload && _vm.fileList.length < parseInt(_vm.widget.options.length) && (!_vm.widget.options.disabled || _vm.isdisabled)),expression:"!widget.options.enableBigUpload && fileList.length < parseInt(widget.options.length) && (!widget.options.disabled || isdisabled)"}],ref:"dragUpload",style:(("margin: 10px 0; margin-bottom: " + (_vm.fileList.length ? 0: '10px'))),attrs:{"maxLength":_vm.maxLength,"type":"file","model":_vm.widget.model,"QrData":_vm.QrData,"uploadRef":function () { return _vm.$refs.uploadRef; },"placeholder":_vm.widget.options.placeholder_1,"QrUpload":_vm.widget.options.enableQrUpload},on:{"overLength":_vm.overLengthTip,"add":_vm.uploadAdd}}),_c('a-upload',{ref:"uploadRef",attrs:{"action":_vm.actionUrl,"file-list":_vm.fileList,"headers":_vm.headers,"disabled":_vm.isdisabled ? _vm.show : _vm.widget.options.disabled,"beforeUpload":_vm.beforeUpload},on:{"change":_vm.handleChange,"preview":_vm.handlePreview}},[(_vm.widget.options.enableBigUpload && _vm.fileList.length < parseInt(_vm.widget.options.length) && (!_vm.widget.options.disabled || _vm.isdisabled))?_c('div',[_c('a-button',{on:{"click":function($event){return _vm.handleUploadBtnClick($event)}}},[_c('a-icon',{attrs:{"type":"upload"}}),_vm._v(" "+_vm._s(_vm.widget.options.placeholder)+" ")],1)],1):_vm._e()]),_c('FilePreview',{attrs:{"visible":_vm.previewVisible,"preview-type":_vm.previewType,"src":_vm.previewType === 'picture' ? _vm.previewImage : _vm.previewPdfSrc,"fileDownUrl":_vm.fileDownUrl},on:{"update:visible":function($event){_vm.previewVisible=$event}}}),(_vm.widget.options.labelWidth !== 0)?_c('div',{class:[
87347
+ ;// CONCATENATED MODULE: ./node_modules/_vue-loader@15.11.1@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_vue-loader@15.11.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/components/FileUpload/component.vue?vue&type=template&id=643b4d30&scoped=true
87348
+ var componentvue_type_template_id_643b4d30_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.widget)?_c('div',{staticClass:"custom_form_item",style:({ height: _vm.widget.options.height + 'px' })},[_c('a-form-model-item',{ref:_vm.widget.model,attrs:{"colon":false,"label-col":_vm.labelCol,"wrapperCol":_vm.wrapperCol,"prop":_vm.tableKey ? (_vm.tableKey + "." + _vm.tableIndex + "." + (_vm.widget.model)) : _vm.widget.model,"rules":_vm.tableKey ? _vm.rules[_vm.tableKey][_vm.widget.model] : _vm.rules[_vm.widget.model]}},[_c('drag-upload',{directives:[{name:"show",rawName:"v-show",value:(!_vm.widget.options.enableBigUpload && _vm.fileList.length < parseInt(_vm.widget.options.length) && (!_vm.widget.options.disabled || _vm.isdisabled)),expression:"!widget.options.enableBigUpload && fileList.length < parseInt(widget.options.length) && (!widget.options.disabled || isdisabled)"}],ref:"dragUpload",style:(("margin: 10px 0; margin-bottom: " + (_vm.fileList.length ? 0: '10px'))),attrs:{"maxLength":_vm.maxLength,"type":"file","model":_vm.widget.model,"QrData":_vm.QrData,"uploadRef":function () { return _vm.$refs.uploadRef; },"placeholder":_vm.widget.options.placeholder_1,"QrUpload":_vm.widget.options.enableQrUpload},on:{"overLength":_vm.overLengthTip,"add":_vm.uploadAdd}}),_c('a-upload',{ref:"uploadRef",attrs:{"action":_vm.actionUrl,"file-list":_vm.fileList,"headers":_vm.headers,"disabled":_vm.isdisabled ? _vm.show : _vm.widget.options.disabled,"beforeUpload":_vm.beforeUpload},on:{"change":_vm.handleChange,"preview":_vm.handlePreview}},[(_vm.widget.options.enableBigUpload && _vm.fileList.length < parseInt(_vm.widget.options.length) && (!_vm.widget.options.disabled || _vm.isdisabled))?_c('div',[_c('a-button',{on:{"click":function($event){return _vm.handleUploadBtnClick($event)}}},[_c('a-icon',{attrs:{"type":"upload"}}),_vm._v(" "+_vm._s(_vm.widget.options.placeholder)+" ")],1)],1):_vm._e()]),_c('FilePreview',{attrs:{"visible":_vm.previewVisible,"preview-type":_vm.previewType,"src":_vm.previewType === 'picture' ? _vm.previewImage : _vm.previewPdfSrc,"fileDownUrl":_vm.fileDownUrl},on:{"update:visible":function($event){_vm.previewVisible=$event}}}),(_vm.widget.options.labelWidth !== 0)?_c('div',{class:[
86946
87349
  _vm.config.align,
86947
87350
  _vm.config.validate === true && _vm.widget.options.required === true
86948
87351
  ? 'is_required'
86949
87352
  : 'no_required' ],style:({
86950
87353
  color:_vm.config.color,
86951
87354
  }),attrs:{"slot":"label"},slot:"label"},[_vm._v(_vm._s(_vm.widget.name))]):_vm._e()],1),_c('a-modal',{attrs:{"title":"下载认证","width":"600px","footer":null},model:{value:(_vm.downloadVisible),callback:function ($$v) {_vm.downloadVisible=$$v},expression:"downloadVisible"}},[_c('a-spin',{attrs:{"tip":"页面加载中","spinning":_vm.downloadPageLoading}},[(_vm.downloadVisible)?_c('iframe',{staticStyle:{"width":"100%","height":"400px","border":"none","outline":"none"},attrs:{"src":_vm.downloadPageUrl},on:{"load":function($event){_vm.downloadPageLoading = false}}}):_vm._e()])],1),_c('a-modal',{attrs:{"destroyOnClose":"","title":"文件上传","width":"900px","footer":null},on:{"cancel":function($event){_vm.bigUploadOpen = false; _vm.uppy.cancelAll()}},model:{value:(_vm.bigUploadOpen),callback:function ($$v) {_vm.bigUploadOpen=$$v},expression:"bigUploadOpen"}},[_c('div',{staticStyle:{"display":"flex","justify-content":"center"}},[_c('Dashboard',{attrs:{"uppy":_vm.uppy,"props":_vm.dashboardprops}})],1)])],1):_vm._e()}
86952
- var componentvue_type_template_id_99e59474_scoped_true_staticRenderFns = []
87355
+ var componentvue_type_template_id_643b4d30_scoped_true_staticRenderFns = []
86953
87356
 
86954
87357
 
86955
87358
  // EXTERNAL MODULE: ./node_modules/_core-js@3.37.1@core-js/modules/web.url.to-json.js
@@ -86960,8 +87363,8 @@ var web_url_search_params_delete = __webpack_require__(867);
86960
87363
  var web_url_search_params_has = __webpack_require__(5510);
86961
87364
  // EXTERNAL MODULE: ./node_modules/_core-js@3.37.1@core-js/modules/web.url-search-params.size.js
86962
87365
  var web_url_search_params_size = __webpack_require__(2137);
86963
- ;// CONCATENATED MODULE: ./node_modules/_preact@10.23.1@preact/dist/preact.module.js
86964
- var n,l,u,t,i,o,r,f,e,c,s,a,h={},p=[],v=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,y=Array.isArray;function d(n,l){for(var u in l)n[u]=l[u];return n}function w(n){var l=n.parentNode;l&&l.removeChild(n)}function _(l,u,t){var i,o,r,f={};for(r in u)"key"==r?i=u[r]:"ref"==r?o=u[r]:f[r]=u[r];if(arguments.length>2&&(f.children=arguments.length>3?n.call(arguments,2):t),"function"==typeof l&&null!=l.defaultProps)for(r in l.defaultProps)void 0===f[r]&&(f[r]=l.defaultProps[r]);return g(l,f,i,o,null)}function g(n,t,i,o,r){var f={type:n,props:t,key:i,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==r?++u:r,__i:-1,__u:0};return null==r&&null!=l.vnode&&l.vnode(f),f}function m(){return{current:null}}function k(n){return n.children}function b(n,l){this.props=n,this.context=l}function x(n,l){if(null==l)return n.__?x(n.__,n.__i+1):null;for(var u;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e)return u.__e;return"function"==typeof n.type?x(n):null}function C(n){var l,u;if(null!=(n=n.__)&&null!=n.__c){for(n.__e=n.__c.base=null,l=0;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e){n.__e=n.__c.base=u.__e;break}return C(n)}}function M(n){(!n.__d&&(n.__d=!0)&&i.push(n)&&!P.__r++||o!==l.debounceRendering)&&((o=l.debounceRendering)||r)(P)}function P(){var n,u,t,o,r,e,c,s;for(i.sort(f);n=i.shift();)n.__d&&(u=i.length,o=void 0,e=(r=(t=n).__v).__e,c=[],s=[],t.__P&&((o=d({},r)).__v=r.__v+1,l.vnode&&l.vnode(o),O(t.__P,o,r,t.__n,t.__P.namespaceURI,32&r.__u?[e]:null,c,null==e?x(r):e,!!(32&r.__u),s),o.__v=r.__v,o.__.__k[o.__i]=o,j(c,o,s),o.__e!=e&&C(o)),i.length>u&&i.sort(f));P.__r=0}function S(n,l,u,t,i,o,r,f,e,c,s){var a,v,y,d,w,_=t&&t.__k||p,g=l.length;for(u.__d=e,$(u,l,_),e=u.__d,a=0;a<g;a++)null!=(y=u.__k[a])&&"boolean"!=typeof y&&"function"!=typeof y&&(v=-1===y.__i?h:_[y.__i]||h,y.__i=a,O(n,y,v,i,o,r,f,e,c,s),d=y.__e,y.ref&&v.ref!=y.ref&&(v.ref&&N(v.ref,null,y),s.push(y.ref,y.__c||d,y)),null==w&&null!=d&&(w=d),65536&y.__u||v.__k===y.__k?e=I(y,e,n):"function"==typeof y.type&&void 0!==y.__d?e=y.__d:d&&(e=d.nextSibling),y.__d=void 0,y.__u&=-196609);u.__d=e,u.__e=w}function $(n,l,u){var t,i,o,r,f,e=l.length,c=u.length,s=c,a=0;for(n.__k=[],t=0;t<e;t++)r=t+a,null!=(i=n.__k[t]=null==(i=l[t])||"boolean"==typeof i||"function"==typeof i?null:"string"==typeof i||"number"==typeof i||"bigint"==typeof i||i.constructor==String?g(null,i,null,null,null):y(i)?g(k,{children:i},null,null,null):void 0===i.constructor&&i.__b>0?g(i.type,i.props,i.key,i.ref?i.ref:null,i.__v):i)?(i.__=n,i.__b=n.__b+1,f=L(i,u,r,s),i.__i=f,o=null,-1!==f&&(s--,(o=u[f])&&(o.__u|=131072)),null==o||null===o.__v?(-1==f&&a--,"function"!=typeof i.type&&(i.__u|=65536)):f!==r&&(f==r-1?a=f-r:f==r+1?a++:f>r?s>e-r?a+=f-r:a--:f<r&&a++,f!==t+a&&(i.__u|=65536))):(o=u[r])&&null==o.key&&o.__e&&0==(131072&o.__u)&&(o.__e==n.__d&&(n.__d=x(o)),V(o,o,!1),u[r]=null,s--);if(s)for(t=0;t<c;t++)null!=(o=u[t])&&0==(131072&o.__u)&&(o.__e==n.__d&&(n.__d=x(o)),V(o,o))}function I(n,l,u){var t,i;if("function"==typeof n.type){for(t=n.__k,i=0;t&&i<t.length;i++)t[i]&&(t[i].__=n,l=I(t[i],l,u));return l}n.__e!=l&&(l&&n.type&&!u.contains(l)&&(l=x(n)),u.insertBefore(n.__e,l||null),l=n.__e);do{l=l&&l.nextSibling}while(null!=l&&8===l.nodeType);return l}function H(n,l){return l=l||[],null==n||"boolean"==typeof n||(y(n)?n.some(function(n){H(n,l)}):l.push(n)),l}function L(n,l,u,t){var i=n.key,o=n.type,r=u-1,f=u+1,e=l[u];if(null===e||e&&i==e.key&&o===e.type&&0==(131072&e.__u))return u;if(t>(null!=e&&0==(131072&e.__u)?1:0))for(;r>=0||f<l.length;){if(r>=0){if((e=l[r])&&0==(131072&e.__u)&&i==e.key&&o===e.type)return r;r--}if(f<l.length){if((e=l[f])&&0==(131072&e.__u)&&i==e.key&&o===e.type)return f;f++}}return-1}function T(n,l,u){"-"===l[0]?n.setProperty(l,null==u?"":u):n[l]=null==u?"":"number"!=typeof u||v.test(l)?u:u+"px"}function A(n,l,u,t,i){var o;n:if("style"===l)if("string"==typeof u)n.style.cssText=u;else{if("string"==typeof t&&(n.style.cssText=t=""),t)for(l in t)u&&l in u||T(n.style,l,"");if(u)for(l in u)t&&u[l]===t[l]||T(n.style,l,u[l])}else if("o"===l[0]&&"n"===l[1])o=l!==(l=l.replace(/(PointerCapture)$|Capture$/i,"$1")),l=l.toLowerCase()in n||"onFocusOut"===l||"onFocusIn"===l?l.toLowerCase().slice(2):l.slice(2),n.l||(n.l={}),n.l[l+o]=u,u?t?u.u=t.u:(u.u=e,n.addEventListener(l,o?s:c,o)):n.removeEventListener(l,o?s:c,o);else{if("http://www.w3.org/2000/svg"==i)l=l.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=l&&"height"!=l&&"href"!=l&&"list"!=l&&"form"!=l&&"tabIndex"!=l&&"download"!=l&&"rowSpan"!=l&&"colSpan"!=l&&"role"!=l&&"popover"!=l&&l in n)try{n[l]=null==u?"":u;break n}catch(n){}"function"==typeof u||(null==u||!1===u&&"-"!==l[4]?n.removeAttribute(l):n.setAttribute(l,"popover"==l&&1==u?"":u))}}function F(n){return function(u){if(this.l){var t=this.l[u.type+n];if(null==u.t)u.t=e++;else if(u.t<t.u)return;return t(l.event?l.event(u):u)}}}function O(n,u,t,i,o,r,f,e,c,s){var a,h,p,v,w,_,g,m,x,C,M,P,$,I,H,L,T=u.type;if(void 0!==u.constructor)return null;128&t.__u&&(c=!!(32&t.__u),r=[e=u.__e=t.__e]),(a=l.__b)&&a(u);n:if("function"==typeof T)try{if(m=u.props,x="prototype"in T&&T.prototype.render,C=(a=T.contextType)&&i[a.__c],M=a?C?C.props.value:a.__:i,t.__c?g=(h=u.__c=t.__c).__=h.__E:(x?u.__c=h=new T(m,M):(u.__c=h=new b(m,M),h.constructor=T,h.render=q),C&&C.sub(h),h.props=m,h.state||(h.state={}),h.context=M,h.__n=i,p=h.__d=!0,h.__h=[],h._sb=[]),x&&null==h.__s&&(h.__s=h.state),x&&null!=T.getDerivedStateFromProps&&(h.__s==h.state&&(h.__s=d({},h.__s)),d(h.__s,T.getDerivedStateFromProps(m,h.__s))),v=h.props,w=h.state,h.__v=u,p)x&&null==T.getDerivedStateFromProps&&null!=h.componentWillMount&&h.componentWillMount(),x&&null!=h.componentDidMount&&h.__h.push(h.componentDidMount);else{if(x&&null==T.getDerivedStateFromProps&&m!==v&&null!=h.componentWillReceiveProps&&h.componentWillReceiveProps(m,M),!h.__e&&(null!=h.shouldComponentUpdate&&!1===h.shouldComponentUpdate(m,h.__s,M)||u.__v===t.__v)){for(u.__v!==t.__v&&(h.props=m,h.state=h.__s,h.__d=!1),u.__e=t.__e,u.__k=t.__k,u.__k.forEach(function(n){n&&(n.__=u)}),P=0;P<h._sb.length;P++)h.__h.push(h._sb[P]);h._sb=[],h.__h.length&&f.push(h);break n}null!=h.componentWillUpdate&&h.componentWillUpdate(m,h.__s,M),x&&null!=h.componentDidUpdate&&h.__h.push(function(){h.componentDidUpdate(v,w,_)})}if(h.context=M,h.props=m,h.__P=n,h.__e=!1,$=l.__r,I=0,x){for(h.state=h.__s,h.__d=!1,$&&$(u),a=h.render(h.props,h.state,h.context),H=0;H<h._sb.length;H++)h.__h.push(h._sb[H]);h._sb=[]}else do{h.__d=!1,$&&$(u),a=h.render(h.props,h.state,h.context),h.state=h.__s}while(h.__d&&++I<25);h.state=h.__s,null!=h.getChildContext&&(i=d(d({},i),h.getChildContext())),x&&!p&&null!=h.getSnapshotBeforeUpdate&&(_=h.getSnapshotBeforeUpdate(v,w)),S(n,y(L=null!=a&&a.type===k&&null==a.key?a.props.children:a)?L:[L],u,t,i,o,r,f,e,c,s),h.base=u.__e,u.__u&=-161,h.__h.length&&f.push(h),g&&(h.__E=h.__=null)}catch(n){if(u.__v=null,c||null!=r){for(u.__u|=c?160:32;e&&8===e.nodeType&&e.nextSibling;)e=e.nextSibling;r[r.indexOf(e)]=null,u.__e=e}else u.__e=t.__e,u.__k=t.__k;l.__e(n,u,t)}else null==r&&u.__v===t.__v?(u.__k=t.__k,u.__e=t.__e):u.__e=z(t.__e,u,t,i,o,r,f,c,s);(a=l.diffed)&&a(u)}function j(n,u,t){u.__d=void 0;for(var i=0;i<t.length;i++)N(t[i],t[++i],t[++i]);l.__c&&l.__c(u,n),n.some(function(u){try{n=u.__h,u.__h=[],n.some(function(n){n.call(u)})}catch(n){l.__e(n,u.__v)}})}function z(l,u,t,i,o,r,f,e,c){var s,a,p,v,d,_,g,m=t.props,k=u.props,b=u.type;if("svg"===b?o="http://www.w3.org/2000/svg":"math"===b?o="http://www.w3.org/1998/Math/MathML":o||(o="http://www.w3.org/1999/xhtml"),null!=r)for(s=0;s<r.length;s++)if((d=r[s])&&"setAttribute"in d==!!b&&(b?d.localName===b:3===d.nodeType)){l=d,r[s]=null;break}if(null==l){if(null===b)return document.createTextNode(k);l=document.createElementNS(o,b,k.is&&k),r=null,e=!1}if(null===b)m===k||e&&l.data===k||(l.data=k);else{if(r=r&&n.call(l.childNodes),m=t.props||h,!e&&null!=r)for(m={},s=0;s<l.attributes.length;s++)m[(d=l.attributes[s]).name]=d.value;for(s in m)if(d=m[s],"children"==s);else if("dangerouslySetInnerHTML"==s)p=d;else if("key"!==s&&!(s in k)){if("value"==s&&"defaultValue"in k||"checked"==s&&"defaultChecked"in k)continue;A(l,s,null,d,o)}for(s in k)d=k[s],"children"==s?v=d:"dangerouslySetInnerHTML"==s?a=d:"value"==s?_=d:"checked"==s?g=d:"key"===s||e&&"function"!=typeof d||m[s]===d||A(l,s,d,m[s],o);if(a)e||p&&(a.__html===p.__html||a.__html===l.innerHTML)||(l.innerHTML=a.__html),u.__k=[];else if(p&&(l.innerHTML=""),S(l,y(v)?v:[v],u,t,i,"foreignObject"===b?"http://www.w3.org/1999/xhtml":o,r,f,r?r[0]:t.__k&&x(t,0),e,c),null!=r)for(s=r.length;s--;)null!=r[s]&&w(r[s]);e||(s="value",void 0!==_&&(_!==l[s]||"progress"===b&&!_||"option"===b&&_!==m[s])&&A(l,s,_,m[s],o),s="checked",void 0!==g&&g!==l[s]&&A(l,s,g,m[s],o))}return l}function N(n,u,t){try{if("function"==typeof n){var i="function"==typeof n.__u;i&&n.__u(),i&&null==u||(n.__u=n(u))}else n.current=u}catch(n){l.__e(n,t)}}function V(n,u,t){var i,o;if(l.unmount&&l.unmount(n),(i=n.ref)&&(i.current&&i.current!==n.__e||N(i,null,u)),null!=(i=n.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(n){l.__e(n,u)}i.base=i.__P=null}if(i=n.__k)for(o=0;o<i.length;o++)i[o]&&V(i[o],u,t||"function"!=typeof n.type);t||null==n.__e||w(n.__e),n.__c=n.__=n.__e=n.__d=void 0}function q(n,l,u){return this.constructor(n,u)}function B(u,t,i){var o,r,f,e;l.__&&l.__(u,t),r=(o="function"==typeof i)?null:i&&i.__k||t.__k,f=[],e=[],O(t,u=(!o&&i||t).__k=_(k,null,[u]),r||h,h,t.namespaceURI,!o&&i?[i]:r?null:t.firstChild?n.call(t.childNodes):null,f,!o&&i?i:r?r.__e:t.firstChild,o,e),j(f,u,e)}function D(n,l){B(n,l,D)}function E(l,u,t){var i,o,r,f,e=d({},l.props);for(r in l.type&&l.type.defaultProps&&(f=l.type.defaultProps),u)"key"==r?i=u[r]:"ref"==r?o=u[r]:e[r]=void 0===u[r]&&void 0!==f?f[r]:u[r];return arguments.length>2&&(e.children=arguments.length>3?n.call(arguments,2):t),g(l.type,e,i||l.key,o||l.ref,null)}function G(n,l){var u={__c:l="__cC"+a++,__:n,Consumer:function(n,l){return n.children(l)},Provider:function(n){var u,t;return this.getChildContext||(u=[],(t={})[l]=this,this.getChildContext=function(){return t},this.componentWillUnmount=function(){u=null},this.shouldComponentUpdate=function(n){this.props.value!==n.value&&u.some(function(n){n.__e=!0,M(n)})},this.sub=function(n){u.push(n);var l=n.componentWillUnmount;n.componentWillUnmount=function(){u&&u.splice(u.indexOf(n),1),l&&l.call(n)}}),n.children}};return u.Provider.__=u.Consumer.contextType=u}n=p.slice,l={__e:function(n,l,u,t){for(var i,o,r;l=l.__;)if((i=l.__c)&&!i.__)try{if((o=i.constructor)&&null!=o.getDerivedStateFromError&&(i.setState(o.getDerivedStateFromError(n)),r=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(n,t||{}),r=i.__d),r)return i.__E=i}catch(l){n=l}throw n}},u=0,t=function(n){return null!=n&&null==n.constructor},b.prototype.setState=function(n,l){var u;u=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=d({},this.state),"function"==typeof n&&(n=n(d({},u),this.props)),n&&d(u,n),null!=n&&this.__v&&(l&&this._sb.push(l),M(this))},b.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),M(this))},b.prototype.render=k,i=[],r="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,f=function(n,l){return n.__v.__b-l.__v.__b},P.__r=0,e=0,c=F(!1),s=F(!0),a=0;
87366
+ ;// CONCATENATED MODULE: ./node_modules/_preact@10.22.0@preact/dist/preact.module.js
87367
+ var n,l,u,t,i,o,r,f,e,c,s,a,h={},p=[],v=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,y=Array.isArray;function d(n,l){for(var u in l)n[u]=l[u];return n}function w(n){var l=n.parentNode;l&&l.removeChild(n)}function _(l,u,t){var i,o,r,f={};for(r in u)"key"==r?i=u[r]:"ref"==r?o=u[r]:f[r]=u[r];if(arguments.length>2&&(f.children=arguments.length>3?n.call(arguments,2):t),"function"==typeof l&&null!=l.defaultProps)for(r in l.defaultProps)void 0===f[r]&&(f[r]=l.defaultProps[r]);return g(l,f,i,o,null)}function g(n,t,i,o,r){var f={type:n,props:t,key:i,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==r?++u:r,__i:-1,__u:0};return null==r&&null!=l.vnode&&l.vnode(f),f}function m(){return{current:null}}function k(n){return n.children}function b(n,l){this.props=n,this.context=l}function x(n,l){if(null==l)return n.__?x(n.__,n.__i+1):null;for(var u;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e)return u.__e;return"function"==typeof n.type?x(n):null}function C(n){var l,u;if(null!=(n=n.__)&&null!=n.__c){for(n.__e=n.__c.base=null,l=0;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e){n.__e=n.__c.base=u.__e;break}return C(n)}}function M(n){(!n.__d&&(n.__d=!0)&&i.push(n)&&!P.__r++||o!==l.debounceRendering)&&((o=l.debounceRendering)||r)(P)}function P(){var n,u,t,o,r,e,c,s;for(i.sort(f);n=i.shift();)n.__d&&(u=i.length,o=void 0,e=(r=(t=n).__v).__e,c=[],s=[],t.__P&&((o=d({},r)).__v=r.__v+1,l.vnode&&l.vnode(o),O(t.__P,o,r,t.__n,t.__P.namespaceURI,32&r.__u?[e]:null,c,null==e?x(r):e,!!(32&r.__u),s),o.__v=r.__v,o.__.__k[o.__i]=o,j(c,o,s),o.__e!=e&&C(o)),i.length>u&&i.sort(f));P.__r=0}function S(n,l,u,t,i,o,r,f,e,c,s){var a,v,y,d,w,_=t&&t.__k||p,g=l.length;for(u.__d=e,$(u,l,_),e=u.__d,a=0;a<g;a++)null!=(y=u.__k[a])&&"boolean"!=typeof y&&"function"!=typeof y&&(v=-1===y.__i?h:_[y.__i]||h,y.__i=a,O(n,y,v,i,o,r,f,e,c,s),d=y.__e,y.ref&&v.ref!=y.ref&&(v.ref&&N(v.ref,null,y),s.push(y.ref,y.__c||d,y)),null==w&&null!=d&&(w=d),65536&y.__u||v.__k===y.__k?(e&&!e.isConnected&&(e=x(v)),e=I(y,e,n)):"function"==typeof y.type&&void 0!==y.__d?e=y.__d:d&&(e=d.nextSibling),y.__d=void 0,y.__u&=-196609);u.__d=e,u.__e=w}function $(n,l,u){var t,i,o,r,f,e=l.length,c=u.length,s=c,a=0;for(n.__k=[],t=0;t<e;t++)r=t+a,null!=(i=n.__k[t]=null==(i=l[t])||"boolean"==typeof i||"function"==typeof i?null:"string"==typeof i||"number"==typeof i||"bigint"==typeof i||i.constructor==String?g(null,i,null,null,null):y(i)?g(k,{children:i},null,null,null):void 0===i.constructor&&i.__b>0?g(i.type,i.props,i.key,i.ref?i.ref:null,i.__v):i)?(i.__=n,i.__b=n.__b+1,f=L(i,u,r,s),i.__i=f,o=null,-1!==f&&(s--,(o=u[f])&&(o.__u|=131072)),null==o||null===o.__v?(-1==f&&a--,"function"!=typeof i.type&&(i.__u|=65536)):f!==r&&(f===r+1?a++:f>r?s>e-r?a+=f-r:a--:f<r?f==r-1&&(a=f-r):a=0,f!==t+a&&(i.__u|=65536))):(o=u[r])&&null==o.key&&o.__e&&0==(131072&o.__u)&&(o.__e==n.__d&&(n.__d=x(o)),V(o,o,!1),u[r]=null,s--);if(s)for(t=0;t<c;t++)null!=(o=u[t])&&0==(131072&o.__u)&&(o.__e==n.__d&&(n.__d=x(o)),V(o,o))}function I(n,l,u){var t,i;if("function"==typeof n.type){for(t=n.__k,i=0;t&&i<t.length;i++)t[i]&&(t[i].__=n,l=I(t[i],l,u));return l}n.__e!=l&&(u.insertBefore(n.__e,l||null),l=n.__e);do{l=l&&l.nextSibling}while(null!=l&&8===l.nodeType);return l}function H(n,l){return l=l||[],null==n||"boolean"==typeof n||(y(n)?n.some(function(n){H(n,l)}):l.push(n)),l}function L(n,l,u,t){var i=n.key,o=n.type,r=u-1,f=u+1,e=l[u];if(null===e||e&&i==e.key&&o===e.type&&0==(131072&e.__u))return u;if(t>(null!=e&&0==(131072&e.__u)?1:0))for(;r>=0||f<l.length;){if(r>=0){if((e=l[r])&&0==(131072&e.__u)&&i==e.key&&o===e.type)return r;r--}if(f<l.length){if((e=l[f])&&0==(131072&e.__u)&&i==e.key&&o===e.type)return f;f++}}return-1}function T(n,l,u){"-"===l[0]?n.setProperty(l,null==u?"":u):n[l]=null==u?"":"number"!=typeof u||v.test(l)?u:u+"px"}function A(n,l,u,t,i){var o;n:if("style"===l)if("string"==typeof u)n.style.cssText=u;else{if("string"==typeof t&&(n.style.cssText=t=""),t)for(l in t)u&&l in u||T(n.style,l,"");if(u)for(l in u)t&&u[l]===t[l]||T(n.style,l,u[l])}else if("o"===l[0]&&"n"===l[1])o=l!==(l=l.replace(/(PointerCapture)$|Capture$/i,"$1")),l=l.toLowerCase()in n||"onFocusOut"===l||"onFocusIn"===l?l.toLowerCase().slice(2):l.slice(2),n.l||(n.l={}),n.l[l+o]=u,u?t?u.u=t.u:(u.u=e,n.addEventListener(l,o?s:c,o)):n.removeEventListener(l,o?s:c,o);else{if("http://www.w3.org/2000/svg"==i)l=l.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=l&&"height"!=l&&"href"!=l&&"list"!=l&&"form"!=l&&"tabIndex"!=l&&"download"!=l&&"rowSpan"!=l&&"colSpan"!=l&&"role"!=l&&l in n)try{n[l]=null==u?"":u;break n}catch(n){}"function"==typeof u||(null==u||!1===u&&"-"!==l[4]?n.removeAttribute(l):n.setAttribute(l,u))}}function F(n){return function(u){if(this.l){var t=this.l[u.type+n];if(null==u.t)u.t=e++;else if(u.t<t.u)return;return t(l.event?l.event(u):u)}}}function O(n,u,t,i,o,r,f,e,c,s){var a,h,p,v,w,_,g,m,x,C,M,P,$,I,H,L=u.type;if(void 0!==u.constructor)return null;128&t.__u&&(c=!!(32&t.__u),r=[e=u.__e=t.__e]),(a=l.__b)&&a(u);n:if("function"==typeof L)try{if(m=u.props,x=(a=L.contextType)&&i[a.__c],C=a?x?x.props.value:a.__:i,t.__c?g=(h=u.__c=t.__c).__=h.__E:("prototype"in L&&L.prototype.render?u.__c=h=new L(m,C):(u.__c=h=new b(m,C),h.constructor=L,h.render=q),x&&x.sub(h),h.props=m,h.state||(h.state={}),h.context=C,h.__n=i,p=h.__d=!0,h.__h=[],h._sb=[]),null==h.__s&&(h.__s=h.state),null!=L.getDerivedStateFromProps&&(h.__s==h.state&&(h.__s=d({},h.__s)),d(h.__s,L.getDerivedStateFromProps(m,h.__s))),v=h.props,w=h.state,h.__v=u,p)null==L.getDerivedStateFromProps&&null!=h.componentWillMount&&h.componentWillMount(),null!=h.componentDidMount&&h.__h.push(h.componentDidMount);else{if(null==L.getDerivedStateFromProps&&m!==v&&null!=h.componentWillReceiveProps&&h.componentWillReceiveProps(m,C),!h.__e&&(null!=h.shouldComponentUpdate&&!1===h.shouldComponentUpdate(m,h.__s,C)||u.__v===t.__v)){for(u.__v!==t.__v&&(h.props=m,h.state=h.__s,h.__d=!1),u.__e=t.__e,u.__k=t.__k,u.__k.forEach(function(n){n&&(n.__=u)}),M=0;M<h._sb.length;M++)h.__h.push(h._sb[M]);h._sb=[],h.__h.length&&f.push(h);break n}null!=h.componentWillUpdate&&h.componentWillUpdate(m,h.__s,C),null!=h.componentDidUpdate&&h.__h.push(function(){h.componentDidUpdate(v,w,_)})}if(h.context=C,h.props=m,h.__P=n,h.__e=!1,P=l.__r,$=0,"prototype"in L&&L.prototype.render){for(h.state=h.__s,h.__d=!1,P&&P(u),a=h.render(h.props,h.state,h.context),I=0;I<h._sb.length;I++)h.__h.push(h._sb[I]);h._sb=[]}else do{h.__d=!1,P&&P(u),a=h.render(h.props,h.state,h.context),h.state=h.__s}while(h.__d&&++$<25);h.state=h.__s,null!=h.getChildContext&&(i=d(d({},i),h.getChildContext())),p||null==h.getSnapshotBeforeUpdate||(_=h.getSnapshotBeforeUpdate(v,w)),S(n,y(H=null!=a&&a.type===k&&null==a.key?a.props.children:a)?H:[H],u,t,i,o,r,f,e,c,s),h.base=u.__e,u.__u&=-161,h.__h.length&&f.push(h),g&&(h.__E=h.__=null)}catch(n){u.__v=null,c||null!=r?(u.__e=e,u.__u|=c?160:32,r[r.indexOf(e)]=null):(u.__e=t.__e,u.__k=t.__k),l.__e(n,u,t)}else null==r&&u.__v===t.__v?(u.__k=t.__k,u.__e=t.__e):u.__e=z(t.__e,u,t,i,o,r,f,c,s);(a=l.diffed)&&a(u)}function j(n,u,t){u.__d=void 0;for(var i=0;i<t.length;i++)N(t[i],t[++i],t[++i]);l.__c&&l.__c(u,n),n.some(function(u){try{n=u.__h,u.__h=[],n.some(function(n){n.call(u)})}catch(n){l.__e(n,u.__v)}})}function z(l,u,t,i,o,r,f,e,c){var s,a,p,v,d,_,g,m=t.props,k=u.props,b=u.type;if("svg"===b?o="http://www.w3.org/2000/svg":"math"===b?o="http://www.w3.org/1998/Math/MathML":o||(o="http://www.w3.org/1999/xhtml"),null!=r)for(s=0;s<r.length;s++)if((d=r[s])&&"setAttribute"in d==!!b&&(b?d.localName===b:3===d.nodeType)){l=d,r[s]=null;break}if(null==l){if(null===b)return document.createTextNode(k);l=document.createElementNS(o,b,k.is&&k),r=null,e=!1}if(null===b)m===k||e&&l.data===k||(l.data=k);else{if(r=r&&n.call(l.childNodes),m=t.props||h,!e&&null!=r)for(m={},s=0;s<l.attributes.length;s++)m[(d=l.attributes[s]).name]=d.value;for(s in m)if(d=m[s],"children"==s);else if("dangerouslySetInnerHTML"==s)p=d;else if("key"!==s&&!(s in k)){if("value"==s&&"defaultValue"in k||"checked"==s&&"defaultChecked"in k)continue;A(l,s,null,d,o)}for(s in k)d=k[s],"children"==s?v=d:"dangerouslySetInnerHTML"==s?a=d:"value"==s?_=d:"checked"==s?g=d:"key"===s||e&&"function"!=typeof d||m[s]===d||A(l,s,d,m[s],o);if(a)e||p&&(a.__html===p.__html||a.__html===l.innerHTML)||(l.innerHTML=a.__html),u.__k=[];else if(p&&(l.innerHTML=""),S(l,y(v)?v:[v],u,t,i,"foreignObject"===b?"http://www.w3.org/1999/xhtml":o,r,f,r?r[0]:t.__k&&x(t,0),e,c),null!=r)for(s=r.length;s--;)null!=r[s]&&w(r[s]);e||(s="value",void 0!==_&&(_!==l[s]||"progress"===b&&!_||"option"===b&&_!==m[s])&&A(l,s,_,m[s],o),s="checked",void 0!==g&&g!==l[s]&&A(l,s,g,m[s],o))}return l}function N(n,u,t){try{"function"==typeof n?n(u):n.current=u}catch(n){l.__e(n,t)}}function V(n,u,t){var i,o;if(l.unmount&&l.unmount(n),(i=n.ref)&&(i.current&&i.current!==n.__e||N(i,null,u)),null!=(i=n.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(n){l.__e(n,u)}i.base=i.__P=null}if(i=n.__k)for(o=0;o<i.length;o++)i[o]&&V(i[o],u,t||"function"!=typeof n.type);t||null==n.__e||w(n.__e),n.__c=n.__=n.__e=n.__d=void 0}function q(n,l,u){return this.constructor(n,u)}function B(u,t,i){var o,r,f,e;l.__&&l.__(u,t),r=(o="function"==typeof i)?null:i&&i.__k||t.__k,f=[],e=[],O(t,u=(!o&&i||t).__k=_(k,null,[u]),r||h,h,t.namespaceURI,!o&&i?[i]:r?null:t.firstChild?n.call(t.childNodes):null,f,!o&&i?i:r?r.__e:t.firstChild,o,e),j(f,u,e)}function D(n,l){B(n,l,D)}function E(l,u,t){var i,o,r,f,e=d({},l.props);for(r in l.type&&l.type.defaultProps&&(f=l.type.defaultProps),u)"key"==r?i=u[r]:"ref"==r?o=u[r]:e[r]=void 0===u[r]&&void 0!==f?f[r]:u[r];return arguments.length>2&&(e.children=arguments.length>3?n.call(arguments,2):t),g(l.type,e,i||l.key,o||l.ref,null)}function G(n,l){var u={__c:l="__cC"+a++,__:n,Consumer:function(n,l){return n.children(l)},Provider:function(n){var u,t;return this.getChildContext||(u=[],(t={})[l]=this,this.getChildContext=function(){return t},this.shouldComponentUpdate=function(n){this.props.value!==n.value&&u.some(function(n){n.__e=!0,M(n)})},this.sub=function(n){u.push(n);var l=n.componentWillUnmount;n.componentWillUnmount=function(){u.splice(u.indexOf(n),1),l&&l.call(n)}}),n.children}};return u.Provider.__=u.Consumer.contextType=u}n=p.slice,l={__e:function(n,l,u,t){for(var i,o,r;l=l.__;)if((i=l.__c)&&!i.__)try{if((o=i.constructor)&&null!=o.getDerivedStateFromError&&(i.setState(o.getDerivedStateFromError(n)),r=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(n,t||{}),r=i.__d),r)return i.__E=i}catch(l){n=l}throw n}},u=0,t=function(n){return null!=n&&null==n.constructor},b.prototype.setState=function(n,l){var u;u=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=d({},this.state),"function"==typeof n&&(n=n(d({},u),this.props)),n&&d(u,n),null!=n&&this.__v&&(l&&this._sb.push(l),M(this))},b.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),M(this))},b.prototype.render=k,i=[],r="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,f=function(n,l){return n.__v.__b-l.__v.__b},P.__r=0,e=0,c=F(!1),s=F(!0),a=0;
86965
87368
  //# sourceMappingURL=preact.module.js.map
86966
87369
 
86967
87370
  ;// CONCATENATED MODULE: ./node_modules/_@uppy_utils@5.9.0@@uppy/utils/lib/isDOMElement.js
@@ -87166,7 +87569,7 @@ function _apply2(locale) {
87166
87569
  pluralize: locale.pluralize || prevLocale.pluralize
87167
87570
  });
87168
87571
  }
87169
- ;// CONCATENATED MODULE: ./node_modules/_@uppy_core@3.13.1@@uppy/core/lib/BasePlugin.js
87572
+ ;// CONCATENATED MODULE: ./node_modules/_@uppy_core@3.11.3@@uppy/core/lib/BasePlugin.js
87170
87573
  /* eslint-disable class-methods-use-this */
87171
87574
 
87172
87575
  /**
@@ -87244,7 +87647,7 @@ class BasePlugin {
87244
87647
  // Called after every state update, after everything's mounted. Debounced.
87245
87648
  afterUpdate() {}
87246
87649
  }
87247
- ;// CONCATENATED MODULE: ./node_modules/_@uppy_core@3.13.1@@uppy/core/lib/UIPlugin.js
87650
+ ;// CONCATENATED MODULE: ./node_modules/_@uppy_core@3.11.3@@uppy/core/lib/UIPlugin.js
87248
87651
  function UIPlugin_classPrivateFieldLooseBase(receiver, privateKey) { if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) { throw new TypeError("attempted to use private field on non-instance"); } return receiver; }
87249
87652
  var UIPlugin_id = 0;
87250
87653
  function UIPlugin_classPrivateFieldLooseKey(name) { return "__private_" + UIPlugin_id++ + "_" + name; }
@@ -90006,11 +90409,11 @@ function getSafeFileId(file, instanceId) {
90006
90409
  type: fileType
90007
90410
  }, instanceId);
90008
90411
  }
90009
- ;// CONCATENATED MODULE: ./node_modules/_preact@10.23.1@preact/hooks/dist/hooks.module.js
90010
- var hooks_module_t,hooks_module_r,hooks_module_u,hooks_module_i,hooks_module_o=0,hooks_module_f=[],hooks_module_c=l,hooks_module_e=hooks_module_c.__b,hooks_module_a=hooks_module_c.__r,hooks_module_v=hooks_module_c.diffed,hooks_module_l=hooks_module_c.__c,hooks_module_m=hooks_module_c.unmount,hooks_module_s=hooks_module_c.__;function hooks_module_d(n,t){hooks_module_c.__h&&hooks_module_c.__h(hooks_module_r,n,hooks_module_o||t),hooks_module_o=0;var u=hooks_module_r.__H||(hooks_module_r.__H={__:[],__h:[]});return n>=u.__.length&&u.__.push({}),u.__[n]}function hooks_module_h(n){return hooks_module_o=1,hooks_module_p(hooks_module_D,n)}function hooks_module_p(n,u,i){var o=hooks_module_d(hooks_module_t++,2);if(o.t=n,!o.__c&&(o.__=[i?i(u):hooks_module_D(void 0,u),function(n){var t=o.__N?o.__N[0]:o.__[0],r=o.t(t,n);t!==r&&(o.__N=[r,o.__[1]],o.__c.setState({}))}],o.__c=hooks_module_r,!hooks_module_r.u)){var f=function(n,t,r){if(!o.__c.__H)return!0;var u=o.__c.__H.__.filter(function(n){return!!n.__c});if(u.every(function(n){return!n.__N}))return!c||c.call(this,n,t,r);var i=!1;return u.forEach(function(n){if(n.__N){var t=n.__[0];n.__=n.__N,n.__N=void 0,t!==n.__[0]&&(i=!0)}}),!(!i&&o.__c.props===n)&&(!c||c.call(this,n,t,r))};hooks_module_r.u=!0;var c=hooks_module_r.shouldComponentUpdate,e=hooks_module_r.componentWillUpdate;hooks_module_r.componentWillUpdate=function(n,t,r){if(this.__e){var u=c;c=void 0,f(n,t,r),c=u}e&&e.call(this,n,t,r)},hooks_module_r.shouldComponentUpdate=f}return o.__N||o.__}function hooks_module_y(n,u){var i=hooks_module_d(hooks_module_t++,3);!hooks_module_c.__s&&hooks_module_C(i.__H,u)&&(i.__=n,i.i=u,hooks_module_r.__H.__h.push(i))}function hooks_module_(n,u){var i=hooks_module_d(hooks_module_t++,4);!hooks_module_c.__s&&hooks_module_C(i.__H,u)&&(i.__=n,i.i=u,hooks_module_r.__h.push(i))}function hooks_module_A(n){return hooks_module_o=5,hooks_module_T(function(){return{current:n}},[])}function hooks_module_F(n,t,r){hooks_module_o=6,hooks_module_(function(){return"function"==typeof n?(n(t()),function(){return n(null)}):n?(n.current=t(),function(){return n.current=null}):void 0},null==r?r:r.concat(n))}function hooks_module_T(n,r){var u=hooks_module_d(hooks_module_t++,7);return hooks_module_C(u.__H,r)&&(u.__=n(),u.__H=r,u.__h=n),u.__}function hooks_module_q(n,t){return hooks_module_o=8,hooks_module_T(function(){return n},t)}function hooks_module_x(n){var u=hooks_module_r.context[n.__c],i=hooks_module_d(hooks_module_t++,9);return i.c=n,u?(null==i.__&&(i.__=!0,u.sub(hooks_module_r)),u.props.value):n.__}function hooks_module_P(n,t){hooks_module_c.useDebugValue&&hooks_module_c.useDebugValue(t?t(n):n)}function hooks_module_b(n){var u=hooks_module_d(hooks_module_t++,10),i=hooks_module_h();return u.__=n,hooks_module_r.componentDidCatch||(hooks_module_r.componentDidCatch=function(n,t){u.__&&u.__(n,t),i[1](n)}),[i[0],function(){i[1](void 0)}]}function hooks_module_g(){var n=hooks_module_d(hooks_module_t++,11);if(!n.__){for(var u=hooks_module_r.__v;null!==u&&!u.__m&&null!==u.__;)u=u.__;var i=u.__m||(u.__m=[0,0]);n.__="P"+i[0]+"-"+i[1]++}return n.__}function hooks_module_j(){for(var n;n=hooks_module_f.shift();)if(n.__P&&n.__H)try{n.__H.__h.forEach(hooks_module_z),n.__H.__h.forEach(hooks_module_B),n.__H.__h=[]}catch(t){n.__H.__h=[],hooks_module_c.__e(t,n.__v)}}hooks_module_c.__b=function(n){hooks_module_r=null,hooks_module_e&&hooks_module_e(n)},hooks_module_c.__=function(n,t){n&&t.__k&&t.__k.__m&&(n.__m=t.__k.__m),hooks_module_s&&hooks_module_s(n,t)},hooks_module_c.__r=function(n){hooks_module_a&&hooks_module_a(n),hooks_module_t=0;var i=(hooks_module_r=n.__c).__H;i&&(hooks_module_u===hooks_module_r?(i.__h=[],hooks_module_r.__h=[],i.__.forEach(function(n){n.__N&&(n.__=n.__N),n.i=n.__N=void 0})):(i.__h.forEach(hooks_module_z),i.__h.forEach(hooks_module_B),i.__h=[],hooks_module_t=0)),hooks_module_u=hooks_module_r},hooks_module_c.diffed=function(n){hooks_module_v&&hooks_module_v(n);var t=n.__c;t&&t.__H&&(t.__H.__h.length&&(1!==hooks_module_f.push(t)&&hooks_module_i===hooks_module_c.requestAnimationFrame||((hooks_module_i=hooks_module_c.requestAnimationFrame)||hooks_module_w)(hooks_module_j)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.i=void 0})),hooks_module_u=hooks_module_r=null},hooks_module_c.__c=function(n,t){t.some(function(n){try{n.__h.forEach(hooks_module_z),n.__h=n.__h.filter(function(n){return!n.__||hooks_module_B(n)})}catch(r){t.some(function(n){n.__h&&(n.__h=[])}),t=[],hooks_module_c.__e(r,n.__v)}}),hooks_module_l&&hooks_module_l(n,t)},hooks_module_c.unmount=function(n){hooks_module_m&&hooks_module_m(n);var t,r=n.__c;r&&r.__H&&(r.__H.__.forEach(function(n){try{hooks_module_z(n)}catch(n){t=n}}),r.__H=void 0,t&&hooks_module_c.__e(t,r.__v))};var hooks_module_k="function"==typeof requestAnimationFrame;function hooks_module_w(n){var t,r=function(){clearTimeout(u),hooks_module_k&&cancelAnimationFrame(t),setTimeout(n)},u=setTimeout(r,100);hooks_module_k&&(t=requestAnimationFrame(r))}function hooks_module_z(n){var t=hooks_module_r,u=n.__c;"function"==typeof u&&(n.__c=void 0,u()),hooks_module_r=t}function hooks_module_B(n){var t=hooks_module_r;n.__c=n.__(),hooks_module_r=t}function hooks_module_C(n,t){return!n||n.length!==t.length||t.some(function(t,r){return t!==n[r]})}function hooks_module_D(n,t){return"function"==typeof t?t(n):t}
90412
+ ;// CONCATENATED MODULE: ./node_modules/_preact@10.22.0@preact/hooks/dist/hooks.module.js
90413
+ var hooks_module_t,hooks_module_r,hooks_module_u,hooks_module_i,hooks_module_o=0,hooks_module_f=[],hooks_module_c=[],hooks_module_e=l,hooks_module_a=hooks_module_e.__b,hooks_module_v=hooks_module_e.__r,hooks_module_l=hooks_module_e.diffed,hooks_module_m=hooks_module_e.__c,hooks_module_s=hooks_module_e.unmount,hooks_module_d=hooks_module_e.__;function hooks_module_h(n,t){hooks_module_e.__h&&hooks_module_e.__h(hooks_module_r,n,hooks_module_o||t),hooks_module_o=0;var u=hooks_module_r.__H||(hooks_module_r.__H={__:[],__h:[]});return n>=u.__.length&&u.__.push({__V:hooks_module_c}),u.__[n]}function hooks_module_p(n){return hooks_module_o=1,hooks_module_y(hooks_module_D,n)}function hooks_module_y(n,u,i){var o=hooks_module_h(hooks_module_t++,2);if(o.t=n,!o.__c&&(o.__=[i?i(u):hooks_module_D(void 0,u),function(n){var t=o.__N?o.__N[0]:o.__[0],r=o.t(t,n);t!==r&&(o.__N=[r,o.__[1]],o.__c.setState({}))}],o.__c=hooks_module_r,!hooks_module_r.u)){var f=function(n,t,r){if(!o.__c.__H)return!0;var u=o.__c.__H.__.filter(function(n){return!!n.__c});if(u.every(function(n){return!n.__N}))return!c||c.call(this,n,t,r);var i=!1;return u.forEach(function(n){if(n.__N){var t=n.__[0];n.__=n.__N,n.__N=void 0,t!==n.__[0]&&(i=!0)}}),!(!i&&o.__c.props===n)&&(!c||c.call(this,n,t,r))};hooks_module_r.u=!0;var c=hooks_module_r.shouldComponentUpdate,e=hooks_module_r.componentWillUpdate;hooks_module_r.componentWillUpdate=function(n,t,r){if(this.__e){var u=c;c=void 0,f(n,t,r),c=u}e&&e.call(this,n,t,r)},hooks_module_r.shouldComponentUpdate=f}return o.__N||o.__}function hooks_module_(n,u){var i=hooks_module_h(hooks_module_t++,3);!hooks_module_e.__s&&hooks_module_C(i.__H,u)&&(i.__=n,i.i=u,hooks_module_r.__H.__h.push(i))}function hooks_module_A(n,u){var i=hooks_module_h(hooks_module_t++,4);!hooks_module_e.__s&&hooks_module_C(i.__H,u)&&(i.__=n,i.i=u,hooks_module_r.__h.push(i))}function hooks_module_F(n){return hooks_module_o=5,hooks_module_q(function(){return{current:n}},[])}function hooks_module_T(n,t,r){hooks_module_o=6,hooks_module_A(function(){return"function"==typeof n?(n(t()),function(){return n(null)}):n?(n.current=t(),function(){return n.current=null}):void 0},null==r?r:r.concat(n))}function hooks_module_q(n,r){var u=hooks_module_h(hooks_module_t++,7);return hooks_module_C(u.__H,r)?(u.__V=n(),u.i=r,u.__h=n,u.__V):u.__}function hooks_module_x(n,t){return hooks_module_o=8,hooks_module_q(function(){return n},t)}function hooks_module_P(n){var u=hooks_module_r.context[n.__c],i=hooks_module_h(hooks_module_t++,9);return i.c=n,u?(null==i.__&&(i.__=!0,u.sub(hooks_module_r)),u.props.value):n.__}function hooks_module_V(n,t){hooks_module_e.useDebugValue&&hooks_module_e.useDebugValue(t?t(n):n)}function hooks_module_b(n){var u=hooks_module_h(hooks_module_t++,10),i=hooks_module_p();return u.__=n,hooks_module_r.componentDidCatch||(hooks_module_r.componentDidCatch=function(n,t){u.__&&u.__(n,t),i[1](n)}),[i[0],function(){i[1](void 0)}]}function hooks_module_g(){var n=hooks_module_h(hooks_module_t++,11);if(!n.__){for(var u=hooks_module_r.__v;null!==u&&!u.__m&&null!==u.__;)u=u.__;var i=u.__m||(u.__m=[0,0]);n.__="P"+i[0]+"-"+i[1]++}return n.__}function hooks_module_j(){for(var n;n=hooks_module_f.shift();)if(n.__P&&n.__H)try{n.__H.__h.forEach(hooks_module_z),n.__H.__h.forEach(hooks_module_B),n.__H.__h=[]}catch(t){n.__H.__h=[],hooks_module_e.__e(t,n.__v)}}hooks_module_e.__b=function(n){hooks_module_r=null,hooks_module_a&&hooks_module_a(n)},hooks_module_e.__=function(n,t){n&&t.__k&&t.__k.__m&&(n.__m=t.__k.__m),hooks_module_d&&hooks_module_d(n,t)},hooks_module_e.__r=function(n){hooks_module_v&&hooks_module_v(n),hooks_module_t=0;var i=(hooks_module_r=n.__c).__H;i&&(hooks_module_u===hooks_module_r?(i.__h=[],hooks_module_r.__h=[],i.__.forEach(function(n){n.__N&&(n.__=n.__N),n.__V=hooks_module_c,n.__N=n.i=void 0})):(i.__h.forEach(hooks_module_z),i.__h.forEach(hooks_module_B),i.__h=[],hooks_module_t=0)),hooks_module_u=hooks_module_r},hooks_module_e.diffed=function(n){hooks_module_l&&hooks_module_l(n);var t=n.__c;t&&t.__H&&(t.__H.__h.length&&(1!==hooks_module_f.push(t)&&hooks_module_i===hooks_module_e.requestAnimationFrame||((hooks_module_i=hooks_module_e.requestAnimationFrame)||hooks_module_w)(hooks_module_j)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.__V!==hooks_module_c&&(n.__=n.__V),n.i=void 0,n.__V=hooks_module_c})),hooks_module_u=hooks_module_r=null},hooks_module_e.__c=function(n,t){t.some(function(n){try{n.__h.forEach(hooks_module_z),n.__h=n.__h.filter(function(n){return!n.__||hooks_module_B(n)})}catch(r){t.some(function(n){n.__h&&(n.__h=[])}),t=[],hooks_module_e.__e(r,n.__v)}}),hooks_module_m&&hooks_module_m(n,t)},hooks_module_e.unmount=function(n){hooks_module_s&&hooks_module_s(n);var t,r=n.__c;r&&r.__H&&(r.__H.__.forEach(function(n){try{hooks_module_z(n)}catch(n){t=n}}),r.__H=void 0,t&&hooks_module_e.__e(t,r.__v))};var hooks_module_k="function"==typeof requestAnimationFrame;function hooks_module_w(n){var t,r=function(){clearTimeout(u),hooks_module_k&&cancelAnimationFrame(t),setTimeout(n)},u=setTimeout(r,100);hooks_module_k&&(t=requestAnimationFrame(r))}function hooks_module_z(n){var t=hooks_module_r,u=n.__c;"function"==typeof u&&(n.__c=void 0,u()),hooks_module_r=t}function hooks_module_B(n){var t=hooks_module_r;n.__c=n.__(),hooks_module_r=t}function hooks_module_C(n,t){return!n||n.length!==t.length||t.some(function(t,r){return t!==n[r]})}function hooks_module_D(n,t){return"function"==typeof t?t(n):t}
90011
90414
  //# sourceMappingURL=hooks.module.js.map
90012
90415
 
90013
- ;// CONCATENATED MODULE: ./node_modules/_@uppy_provider-views@3.13.0@@uppy/provider-views/lib/ProviderView/AuthView.js
90416
+ ;// CONCATENATED MODULE: ./node_modules/_@uppy_provider-views@3.12.0@@uppy/provider-views/lib/ProviderView/AuthView.js
90014
90417
  /* eslint-disable react/require-default-props */
90015
90418
 
90016
90419
 
@@ -90057,7 +90460,7 @@ function DefaultForm(_ref) {
90057
90460
  // In order to comply with Google's brand we need to create a different button
90058
90461
  // for the Google Drive plugin
90059
90462
  const isGoogleDrive = pluginName === 'Google Drive';
90060
- const onSubmit = hooks_module_q(e => {
90463
+ const onSubmit = hooks_module_x(e => {
90061
90464
  e.preventDefault();
90062
90465
  onAuth();
90063
90466
  }, [onAuth]);
@@ -90113,7 +90516,7 @@ function AuthView(props) {
90113
90516
  onAuth: handleAuth
90114
90517
  })));
90115
90518
  }
90116
- ;// CONCATENATED MODULE: ./node_modules/_@uppy_provider-views@3.13.0@@uppy/provider-views/lib/ProviderView/User.js
90519
+ ;// CONCATENATED MODULE: ./node_modules/_@uppy_provider-views@3.12.0@@uppy/provider-views/lib/ProviderView/User.js
90117
90520
 
90118
90521
  function User(_ref) {
90119
90522
  let {
@@ -90131,7 +90534,7 @@ function User(_ref) {
90131
90534
  key: "logout"
90132
90535
  }, i18n('logOut')));
90133
90536
  }
90134
- ;// CONCATENATED MODULE: ./node_modules/_@uppy_provider-views@3.13.0@@uppy/provider-views/lib/Breadcrumbs.js
90537
+ ;// CONCATENATED MODULE: ./node_modules/_@uppy_provider-views@3.12.0@@uppy/provider-views/lib/Breadcrumbs.js
90135
90538
 
90136
90539
  const Breadcrumb = props => {
90137
90540
  const {
@@ -90163,7 +90566,7 @@ function Breadcrumbs(props) {
90163
90566
  isLast: i + 1 === breadcrumbs.length
90164
90567
  })));
90165
90568
  }
90166
- ;// CONCATENATED MODULE: ./node_modules/_@uppy_provider-views@3.13.0@@uppy/provider-views/lib/ProviderView/Header.js
90569
+ ;// CONCATENATED MODULE: ./node_modules/_@uppy_provider-views@3.12.0@@uppy/provider-views/lib/ProviderView/Header.js
90167
90570
  /* eslint-disable react/destructuring-assignment */
90168
90571
 
90169
90572
 
@@ -90372,7 +90775,7 @@ let nanoid = (size = 21) => {
90372
90775
  return id
90373
90776
  }
90374
90777
 
90375
- ;// CONCATENATED MODULE: ./node_modules/_@uppy_provider-views@3.13.0@@uppy/provider-views/lib/SearchFilterInput.js
90778
+ ;// CONCATENATED MODULE: ./node_modules/_@uppy_provider-views@3.12.0@@uppy/provider-views/lib/SearchFilterInput.js
90376
90779
  /* eslint-disable react/require-default-props */
90377
90780
 
90378
90781
 
@@ -90390,14 +90793,14 @@ function SearchFilterInput(props) {
90390
90793
  inputClassName,
90391
90794
  buttonCSSClassName
90392
90795
  } = props;
90393
- const [searchText, setSearchText] = hooks_module_h(searchTerm != null ? searchTerm : '');
90796
+ const [searchText, setSearchText] = hooks_module_p(searchTerm != null ? searchTerm : '');
90394
90797
  // const debouncedSearch = debounce((q) => search(q), 1000)
90395
90798
 
90396
- const validateAndSearch = hooks_module_q(ev => {
90799
+ const validateAndSearch = hooks_module_x(ev => {
90397
90800
  ev.preventDefault();
90398
90801
  search(searchText);
90399
90802
  }, [search, searchText]);
90400
- const handleInput = hooks_module_q(ev => {
90803
+ const handleInput = hooks_module_x(ev => {
90401
90804
  const inputValue = ev.target.value;
90402
90805
  setSearchText(inputValue);
90403
90806
  if (searchOnInput) search(inputValue);
@@ -90406,13 +90809,13 @@ function SearchFilterInput(props) {
90406
90809
  setSearchText('');
90407
90810
  if (clearSearch) clearSearch();
90408
90811
  };
90409
- const [form] = hooks_module_h(() => {
90812
+ const [form] = hooks_module_p(() => {
90410
90813
  const formEl = document.createElement('form');
90411
90814
  formEl.setAttribute('tabindex', '-1');
90412
90815
  formEl.id = nanoid();
90413
90816
  return formEl;
90414
90817
  });
90415
- hooks_module_y(() => {
90818
+ hooks_module_(() => {
90416
90819
  document.body.appendChild(form);
90417
90820
  form.addEventListener('submit', validateAndSearch);
90418
90821
  return () => {
@@ -90457,7 +90860,7 @@ function SearchFilterInput(props) {
90457
90860
  form: form.id
90458
90861
  }, buttonLabel));
90459
90862
  }
90460
- ;// CONCATENATED MODULE: ./node_modules/_@uppy_provider-views@3.13.0@@uppy/provider-views/lib/FooterActions.js
90863
+ ;// CONCATENATED MODULE: ./node_modules/_@uppy_provider-views@3.12.0@@uppy/provider-views/lib/FooterActions.js
90461
90864
 
90462
90865
  function FooterActions(_ref) {
90463
90866
  let {
@@ -90480,7 +90883,7 @@ function FooterActions(_ref) {
90480
90883
  type: "button"
90481
90884
  }, i18n('cancel')));
90482
90885
  }
90483
- ;// CONCATENATED MODULE: ./node_modules/_@uppy_provider-views@3.13.0@@uppy/provider-views/lib/Item/components/ItemIcon.js
90886
+ ;// CONCATENATED MODULE: ./node_modules/_@uppy_provider-views@3.12.0@@uppy/provider-views/lib/Item/components/ItemIcon.js
90484
90887
  /* eslint-disable react/require-default-props */
90485
90888
 
90486
90889
  function FileIcon() {
@@ -90554,7 +90957,7 @@ function ItemIcon(props) {
90554
90957
  }
90555
90958
  }
90556
90959
  }
90557
- ;// CONCATENATED MODULE: ./node_modules/_@uppy_provider-views@3.13.0@@uppy/provider-views/lib/Item/components/GridLi.js
90960
+ ;// CONCATENATED MODULE: ./node_modules/_@uppy_provider-views@3.12.0@@uppy/provider-views/lib/Item/components/GridLi.js
90558
90961
  /* eslint-disable react/require-default-props */
90559
90962
 
90560
90963
 
@@ -90598,7 +91001,7 @@ function GridListItem(props) {
90598
91001
  }, itemIconEl, showTitles && title, children));
90599
91002
  }
90600
91003
  /* harmony default export */ const GridLi = (GridListItem);
90601
- ;// CONCATENATED MODULE: ./node_modules/_@uppy_provider-views@3.13.0@@uppy/provider-views/lib/Item/components/ListLi.js
91004
+ ;// CONCATENATED MODULE: ./node_modules/_@uppy_provider-views@3.12.0@@uppy/provider-views/lib/Item/components/ListLi.js
90602
91005
  /* eslint-disable react/require-default-props */
90603
91006
 
90604
91007
 
@@ -90664,9 +91067,9 @@ function ListItem(props) {
90664
91067
  })
90665
91068
  }, _("div", {
90666
91069
  className: "uppy-ProviderBrowserItem-iconWrap"
90667
- }, itemIconEl), showTitles && title ? _("span", null, title) : i18n('unnamed')));
91070
+ }, itemIconEl), showTitles && _("span", null, title)));
90668
91071
  }
90669
- ;// CONCATENATED MODULE: ./node_modules/_@uppy_provider-views@3.13.0@@uppy/provider-views/lib/Item/index.js
91072
+ ;// CONCATENATED MODULE: ./node_modules/_@uppy_provider-views@3.12.0@@uppy/provider-views/lib/Item/index.js
90670
91073
  function Item_extends() { Item_extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return Item_extends.apply(this, arguments); }
90671
91074
  /* eslint-disable react/require-default-props */
90672
91075
 
@@ -90719,7 +91122,7 @@ function Item(props) {
90719
91122
  throw new Error(`There is no such type ${viewType}`);
90720
91123
  }
90721
91124
  }
90722
- ;// CONCATENATED MODULE: ./node_modules/_@uppy_provider-views@3.13.0@@uppy/provider-views/lib/Browser.js
91125
+ ;// CONCATENATED MODULE: ./node_modules/_@uppy_provider-views@3.12.0@@uppy/provider-views/lib/Browser.js
90723
91126
  /* eslint-disable react/require-default-props */
90724
91127
 
90725
91128
 
@@ -90770,7 +91173,7 @@ function Browser_ListItem(props) {
90770
91173
  id: f.id,
90771
91174
  title: f.name,
90772
91175
  author: f.author,
90773
- getItemIcon: () => viewType === 'grid' && f.thumbnail ? f.thumbnail : f.icon,
91176
+ getItemIcon: () => f.icon,
90774
91177
  isChecked: isChecked(f),
90775
91178
  toggleCheckbox: event => toggleCheckbox(event, f),
90776
91179
  isCheckboxDisabled: false,
@@ -90811,10 +91214,10 @@ function Browser(props) {
90811
91214
  cancel,
90812
91215
  done,
90813
91216
  noResultsLabel,
90814
- virtualList
91217
+ loadAllFiles
90815
91218
  } = props;
90816
91219
  const selected = currentSelection.length;
90817
- const rows = hooks_module_T(() => [...folders, ...files], [folders, files]);
91220
+ const rows = hooks_module_q(() => [...folders, ...files], [folders, files]);
90818
91221
  return _("div", {
90819
91222
  className: _classnames_2_5_1_classnames('uppy-ProviderBrowser', `uppy-ProviderBrowser-viewType--${viewType}`)
90820
91223
  }, headerComponent && _("div", {
@@ -90842,7 +91245,7 @@ function Browser(props) {
90842
91245
  className: "uppy-Provider-empty"
90843
91246
  }, noResultsLabel);
90844
91247
  }
90845
- if (virtualList) {
91248
+ if (loadAllFiles) {
90846
91249
  return _("div", {
90847
91250
  className: "uppy-ProviderBrowser-body"
90848
91251
  }, _("ul", {
@@ -90895,7 +91298,7 @@ function Browser(props) {
90895
91298
  }));
90896
91299
  }
90897
91300
  /* harmony default export */ const lib_Browser = (Browser);
90898
- ;// CONCATENATED MODULE: ./node_modules/_@uppy_provider-views@3.13.0@@uppy/provider-views/lib/CloseWrapper.js
91301
+ ;// CONCATENATED MODULE: ./node_modules/_@uppy_provider-views@3.12.0@@uppy/provider-views/lib/CloseWrapper.js
90899
91302
 
90900
91303
  class CloseWrapper extends b {
90901
91304
  componentWillUnmount() {
@@ -90911,7 +91314,9 @@ class CloseWrapper extends b {
90911
91314
  return H(children)[0];
90912
91315
  }
90913
91316
  }
90914
- ;// CONCATENATED MODULE: ./node_modules/_@uppy_provider-views@3.13.0@@uppy/provider-views/lib/View.js
91317
+ ;// CONCATENATED MODULE: ./node_modules/_@uppy_provider-views@3.12.0@@uppy/provider-views/lib/View.js
91318
+
91319
+
90915
91320
 
90916
91321
 
90917
91322
  // Conditional type for selecting the plugin
@@ -91027,7 +91432,10 @@ class View {
91027
91432
  requestClientId: this.requestClientId
91028
91433
  }
91029
91434
  };
91030
- if (file.thumbnail) {
91435
+ const fileType = getFileType(tagFile);
91436
+
91437
+ // TODO Should we just always use the thumbnail URL if it exists?
91438
+ if (fileType && isPreviewSupported(fileType)) {
91031
91439
  tagFile.preview = file.thumbnail;
91032
91440
  }
91033
91441
  if (file.author) {
@@ -91108,7 +91516,7 @@ class View {
91108
91516
  });
91109
91517
  }
91110
91518
  }
91111
- ;// CONCATENATED MODULE: ./node_modules/_@uppy_provider-views@3.13.0@@uppy/provider-views/lib/ProviderView/ProviderView.js
91519
+ ;// CONCATENATED MODULE: ./node_modules/_@uppy_provider-views@3.12.0@@uppy/provider-views/lib/ProviderView/ProviderView.js
91112
91520
  function ProviderView_classPrivateFieldLooseBase(receiver, privateKey) { if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) { throw new TypeError("attempted to use private field on non-instance"); } return receiver; }
91113
91521
  var ProviderView_id = 0;
91114
91522
  function ProviderView_classPrivateFieldLooseKey(name) { return "__private_" + ProviderView_id++ + "_" + name; }
@@ -91124,7 +91532,7 @@ function ProviderView_classPrivateFieldLooseKey(name) { return "__private_" + Pr
91124
91532
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
91125
91533
  // @ts-ignore We don't want TS to generate types for the package.json
91126
91534
  const ProviderView_packageJson = {
91127
- "version": "3.13.0"
91535
+ "version": "3.12.0"
91128
91536
  };
91129
91537
  function formatBreadcrumbs(breadcrumbs) {
91130
91538
  return breadcrumbs.slice(1).map(directory => directory.name).join('/');
@@ -91149,8 +91557,7 @@ const ProviderView_defaultOptions = {
91149
91557
  showTitles: true,
91150
91558
  showFilter: true,
91151
91559
  showBreadcrumbs: true,
91152
- loadAllFiles: false,
91153
- virtualList: false
91560
+ loadAllFiles: false
91154
91561
  };
91155
91562
  var _abortController = /*#__PURE__*/ProviderView_classPrivateFieldLooseKey("abortController");
91156
91563
  var _withAbort = /*#__PURE__*/ProviderView_classPrivateFieldLooseKey("withAbort");
@@ -91533,7 +91940,6 @@ class ProviderView extends View {
91533
91940
  getNextFolder: this.getNextFolder,
91534
91941
  getFolder: this.getFolder,
91535
91942
  loadAllFiles: this.opts.loadAllFiles,
91536
- virtualList: this.opts.virtualList,
91537
91943
  // For SearchFilterInput component
91538
91944
  showSearchFilter: targetViewOptions.showFilter,
91539
91945
  search: this.filterQuery,
@@ -91689,9 +92095,9 @@ async function _recursivelyListAllFiles2(_ref3) {
91689
92095
  }
91690
92096
  }
91691
92097
  ProviderView.VERSION = ProviderView_packageJson.version;
91692
- ;// CONCATENATED MODULE: ./node_modules/_@uppy_provider-views@3.13.0@@uppy/provider-views/lib/ProviderView/index.js
92098
+ ;// CONCATENATED MODULE: ./node_modules/_@uppy_provider-views@3.12.0@@uppy/provider-views/lib/ProviderView/index.js
91693
92099
 
91694
- ;// CONCATENATED MODULE: ./node_modules/_@uppy_provider-views@3.13.0@@uppy/provider-views/lib/SearchProviderView/SearchProviderView.js
92100
+ ;// CONCATENATED MODULE: ./node_modules/_@uppy_provider-views@3.12.0@@uppy/provider-views/lib/SearchProviderView/SearchProviderView.js
91695
92101
  function SearchProviderView_classPrivateFieldLooseBase(receiver, privateKey) { if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) { throw new TypeError("attempted to use private field on non-instance"); } return receiver; }
91696
92102
  var SearchProviderView_id = 0;
91697
92103
  function SearchProviderView_classPrivateFieldLooseKey(name) { return "__private_" + SearchProviderView_id++ + "_" + name; }
@@ -91704,7 +92110,7 @@ function SearchProviderView_classPrivateFieldLooseKey(name) { return "__private_
91704
92110
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
91705
92111
  // @ts-ignore We don't want TS to generate types for the package.json
91706
92112
  const SearchProviderView_packageJson = {
91707
- "version": "3.13.0"
92113
+ "version": "3.12.0"
91708
92114
  };
91709
92115
  const defaultState = {
91710
92116
  isInputMode: true,
@@ -91901,9 +92307,9 @@ function _updateFilesAndInputMode2(res, files) {
91901
92307
  });
91902
92308
  }
91903
92309
  SearchProviderView.VERSION = SearchProviderView_packageJson.version;
91904
- ;// CONCATENATED MODULE: ./node_modules/_@uppy_provider-views@3.13.0@@uppy/provider-views/lib/SearchProviderView/index.js
92310
+ ;// CONCATENATED MODULE: ./node_modules/_@uppy_provider-views@3.12.0@@uppy/provider-views/lib/SearchProviderView/index.js
91905
92311
 
91906
- ;// CONCATENATED MODULE: ./node_modules/_@uppy_provider-views@3.13.0@@uppy/provider-views/lib/index.js
92312
+ ;// CONCATENATED MODULE: ./node_modules/_@uppy_provider-views@3.12.0@@uppy/provider-views/lib/index.js
91907
92313
 
91908
92314
 
91909
92315
  ;// CONCATENATED MODULE: ./node_modules/_memoize-one@6.0.0@memoize-one/dist/memoize-one.esm.js
@@ -91961,7 +92367,7 @@ function memoizeOne(resultFn, isEqual) {
91961
92367
 
91962
92368
  ;// CONCATENATED MODULE: ./node_modules/_@uppy_utils@5.9.0@@uppy/utils/lib/FOCUSABLE_ELEMENTS.js
91963
92369
  /* harmony default export */ const FOCUSABLE_ELEMENTS = (['a[href]:not([tabindex^="-"]):not([inert]):not([aria-hidden])', 'area[href]:not([tabindex^="-"]):not([inert]):not([aria-hidden])', 'input:not([disabled]):not([inert]):not([aria-hidden])', 'select:not([disabled]):not([inert]):not([aria-hidden])', 'textarea:not([disabled]):not([inert]):not([aria-hidden])', 'button:not([disabled]):not([inert]):not([aria-hidden])', 'iframe:not([tabindex^="-"]):not([inert]):not([aria-hidden])', 'object:not([tabindex^="-"]):not([inert]):not([aria-hidden])', 'embed:not([tabindex^="-"]):not([inert]):not([aria-hidden])', '[contenteditable]:not([tabindex^="-"]):not([inert]):not([aria-hidden])', '[tabindex]:not([tabindex^="-"]):not([inert]):not([aria-hidden])']);
91964
- ;// CONCATENATED MODULE: ./node_modules/_@uppy_dashboard@3.9.1@@uppy/dashboard/lib/utils/getActiveOverlayEl.js
92370
+ ;// CONCATENATED MODULE: ./node_modules/_@uppy_dashboard@3.8.3@@uppy/dashboard/lib/utils/getActiveOverlayEl.js
91965
92371
  /**
91966
92372
  * @returns {HTMLElement} - either dashboard element, or the overlay that's most on top
91967
92373
  */
@@ -91973,7 +92379,7 @@ function getActiveOverlayEl(dashboardEl, activeOverlayType) {
91973
92379
  }
91974
92380
  return dashboardEl;
91975
92381
  }
91976
- ;// CONCATENATED MODULE: ./node_modules/_@uppy_dashboard@3.9.1@@uppy/dashboard/lib/utils/trapFocus.js
92382
+ ;// CONCATENATED MODULE: ./node_modules/_@uppy_dashboard@3.8.3@@uppy/dashboard/lib/utils/trapFocus.js
91977
92383
 
91978
92384
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
91979
92385
  // @ts-ignore untyped
@@ -92041,7 +92447,7 @@ function forInline(event, activeOverlayType, dashboardEl) {
92041
92447
  }
92042
92448
  // EXTERNAL MODULE: ./node_modules/_lodash@4.17.21@lodash/debounce.js
92043
92449
  var _lodash_4_17_21_lodash_debounce = __webpack_require__(5748);
92044
- ;// CONCATENATED MODULE: ./node_modules/_@uppy_dashboard@3.9.1@@uppy/dashboard/lib/utils/createSuperFocus.js
92450
+ ;// CONCATENATED MODULE: ./node_modules/_@uppy_dashboard@3.8.3@@uppy/dashboard/lib/utils/createSuperFocus.js
92045
92451
 
92046
92452
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
92047
92453
  // @ts-ignore untyped
@@ -92112,7 +92518,7 @@ function isDragDropSupported() {
92112
92518
  }
92113
92519
  // EXTERNAL MODULE: ./node_modules/_is-shallow-equal@1.0.1@is-shallow-equal/index.js
92114
92520
  var _is_shallow_equal_1_0_1_is_shallow_equal = __webpack_require__(9902);
92115
- ;// CONCATENATED MODULE: ./node_modules/_@uppy_dashboard@3.9.1@@uppy/dashboard/lib/utils/getFileTypeIcon.js
92521
+ ;// CONCATENATED MODULE: ./node_modules/_@uppy_dashboard@3.8.3@@uppy/dashboard/lib/utils/getFileTypeIcon.js
92116
92522
 
92117
92523
  function iconImage() {
92118
92524
  return _("svg", {
@@ -92281,7 +92687,7 @@ function getIconByMime(fileType) {
92281
92687
  }
92282
92688
  return defaultChoice;
92283
92689
  }
92284
- ;// CONCATENATED MODULE: ./node_modules/_@uppy_dashboard@3.9.1@@uppy/dashboard/lib/components/FilePreview.js
92690
+ ;// CONCATENATED MODULE: ./node_modules/_@uppy_dashboard@3.8.3@@uppy/dashboard/lib/components/FilePreview.js
92285
92691
 
92286
92692
 
92287
92693
  function FilePreview_FilePreview(props) {
@@ -92321,7 +92727,7 @@ function FilePreview_FilePreview(props) {
92321
92727
  fillRule: "evenodd"
92322
92728
  })));
92323
92729
  }
92324
- ;// CONCATENATED MODULE: ./node_modules/_@uppy_dashboard@3.9.1@@uppy/dashboard/lib/components/FileItem/MetaErrorMessage.js
92730
+ ;// CONCATENATED MODULE: ./node_modules/_@uppy_dashboard@3.8.3@@uppy/dashboard/lib/components/FileItem/MetaErrorMessage.js
92325
92731
 
92326
92732
  const metaFieldIdToName = (metaFieldId, metaFields) => {
92327
92733
  const fields = typeof metaFields === 'function' ? metaFields() : metaFields;
@@ -92353,7 +92759,7 @@ function MetaErrorMessage(props) {
92353
92759
  onClick: () => toggleFileCard(true, file.id)
92354
92760
  }, i18n('editFile')));
92355
92761
  }
92356
- ;// CONCATENATED MODULE: ./node_modules/_@uppy_dashboard@3.9.1@@uppy/dashboard/lib/components/FileItem/FilePreviewAndLink/index.js
92762
+ ;// CONCATENATED MODULE: ./node_modules/_@uppy_dashboard@3.8.3@@uppy/dashboard/lib/components/FileItem/FilePreviewAndLink/index.js
92357
92763
 
92358
92764
 
92359
92765
 
@@ -92390,7 +92796,7 @@ function FilePreviewAndLink(props) {
92390
92796
  metaFields: metaFields
92391
92797
  }));
92392
92798
  }
92393
- ;// CONCATENATED MODULE: ./node_modules/_@uppy_dashboard@3.9.1@@uppy/dashboard/lib/components/FileItem/FileProgress/index.js
92799
+ ;// CONCATENATED MODULE: ./node_modules/_@uppy_dashboard@3.8.3@@uppy/dashboard/lib/components/FileItem/FileProgress/index.js
92394
92800
  /* eslint-disable react/destructuring-assignment */
92395
92801
 
92396
92802
  function onPauseResumeCancelRetry(props) {
@@ -92592,7 +92998,7 @@ function truncateString(string, maxLength) {
92592
92998
  const backChars = Math.floor(charsToShow / 2);
92593
92999
  return string.slice(0, frontChars) + separator + string.slice(-backChars);
92594
93000
  }
92595
- ;// CONCATENATED MODULE: ./node_modules/_@uppy_dashboard@3.9.1@@uppy/dashboard/lib/components/FileItem/FileInfo/index.js
93001
+ ;// CONCATENATED MODULE: ./node_modules/_@uppy_dashboard@3.8.3@@uppy/dashboard/lib/components/FileItem/FileInfo/index.js
92596
93002
  /* eslint-disable react/destructuring-assignment */
92597
93003
 
92598
93004
 
@@ -92689,7 +93095,7 @@ function FileInfo(props) {
92689
93095
  metaFields: props.metaFields
92690
93096
  }));
92691
93097
  }
92692
- ;// CONCATENATED MODULE: ./node_modules/_@uppy_dashboard@3.9.1@@uppy/dashboard/lib/utils/copyToClipboard.js
93098
+ ;// CONCATENATED MODULE: ./node_modules/_@uppy_dashboard@3.8.3@@uppy/dashboard/lib/utils/copyToClipboard.js
92693
93099
  /**
92694
93100
  * Copies text to clipboard by creating an almost invisible textarea,
92695
93101
  * adding text there, then running execCommand('copy').
@@ -92722,7 +93128,7 @@ function copyToClipboard(textToCopy, fallbackString) {
92722
93128
  textArea.value = textToCopy;
92723
93129
  document.body.appendChild(textArea);
92724
93130
  textArea.select();
92725
- const magicCopyFailed = () => {
93131
+ const magicCopyFailed = cause => {
92726
93132
  document.body.removeChild(textArea);
92727
93133
  // eslint-disable-next-line no-alert
92728
93134
  window.prompt(fallbackString, textToCopy);
@@ -92731,17 +93137,17 @@ function copyToClipboard(textToCopy, fallbackString) {
92731
93137
  try {
92732
93138
  const successful = document.execCommand('copy');
92733
93139
  if (!successful) {
92734
- return magicCopyFailed();
93140
+ return magicCopyFailed('copy command unavailable');
92735
93141
  }
92736
93142
  document.body.removeChild(textArea);
92737
93143
  return resolve();
92738
93144
  } catch (err) {
92739
93145
  document.body.removeChild(textArea);
92740
- return magicCopyFailed();
93146
+ return magicCopyFailed(err);
92741
93147
  }
92742
93148
  });
92743
93149
  }
92744
- ;// CONCATENATED MODULE: ./node_modules/_@uppy_dashboard@3.9.1@@uppy/dashboard/lib/components/FileItem/Buttons/index.js
93150
+ ;// CONCATENATED MODULE: ./node_modules/_@uppy_dashboard@3.8.3@@uppy/dashboard/lib/components/FileItem/Buttons/index.js
92745
93151
 
92746
93152
 
92747
93153
  function EditButton(_ref) {
@@ -92890,7 +93296,7 @@ function Buttons(props) {
92890
93296
  onClick: () => uppy.removeFile(file.id, 'removed-by-user')
92891
93297
  }) : null);
92892
93298
  }
92893
- ;// CONCATENATED MODULE: ./node_modules/_@uppy_dashboard@3.9.1@@uppy/dashboard/lib/components/FileItem/index.js
93299
+ ;// CONCATENATED MODULE: ./node_modules/_@uppy_dashboard@3.8.3@@uppy/dashboard/lib/components/FileItem/index.js
92894
93300
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
92895
93301
  // @ts-nocheck Typing this file requires more work, skipping it to unblock the rest of the transition.
92896
93302
 
@@ -93014,7 +93420,7 @@ class FileItem extends b {
93014
93420
  })));
93015
93421
  }
93016
93422
  }
93017
- ;// CONCATENATED MODULE: ./node_modules/_@uppy_dashboard@3.9.1@@uppy/dashboard/lib/components/FileList.js
93423
+ ;// CONCATENATED MODULE: ./node_modules/_@uppy_dashboard@3.8.3@@uppy/dashboard/lib/components/FileList.js
93018
93424
 
93019
93425
 
93020
93426
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
@@ -93073,7 +93479,7 @@ function FileList(_ref) {
93073
93479
  : 200;
93074
93480
 
93075
93481
  // Sort files by file.isGhost, ghost files first, only if recoveredState is present
93076
- const rows = hooks_module_T(() => {
93482
+ const rows = hooks_module_q(() => {
93077
93483
  const sortByGhostComesFirst = (file1, file2) => files[file2].isGhost - files[file1].isGhost;
93078
93484
  const fileIds = Object.keys(files);
93079
93485
  if (recoveredState) fileIds.sort(sortByGhostComesFirst);
@@ -93141,7 +93547,7 @@ function FileList(_ref) {
93141
93547
  rowHeight: rowHeight
93142
93548
  });
93143
93549
  }
93144
- ;// CONCATENATED MODULE: ./node_modules/_@uppy_dashboard@3.9.1@@uppy/dashboard/lib/components/AddFiles.js
93550
+ ;// CONCATENATED MODULE: ./node_modules/_@uppy_dashboard@3.8.3@@uppy/dashboard/lib/components/AddFiles.js
93145
93551
  let _Symbol$for;
93146
93552
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
93147
93553
  // @ts-nocheck Typing this file requires more work, skipping it to unblock the rest of the transition.
@@ -93471,7 +93877,7 @@ class AddFiles extends b {
93471
93877
  }
93472
93878
  }
93473
93879
  /* harmony default export */ const components_AddFiles = (AddFiles);
93474
- ;// CONCATENATED MODULE: ./node_modules/_@uppy_dashboard@3.9.1@@uppy/dashboard/lib/components/AddFilesPanel.js
93880
+ ;// CONCATENATED MODULE: ./node_modules/_@uppy_dashboard@3.8.3@@uppy/dashboard/lib/components/AddFilesPanel.js
93475
93881
  /* eslint-disable react/destructuring-assignment */
93476
93882
 
93477
93883
 
@@ -93494,7 +93900,7 @@ const AddFilesPanel = props => {
93494
93900
  }, props.i18n('back'))), _(components_AddFiles, props));
93495
93901
  };
93496
93902
  /* harmony default export */ const components_AddFilesPanel = (AddFilesPanel);
93497
- ;// CONCATENATED MODULE: ./node_modules/_@uppy_dashboard@3.9.1@@uppy/dashboard/lib/utils/ignoreEvent.js
93903
+ ;// CONCATENATED MODULE: ./node_modules/_@uppy_dashboard@3.8.3@@uppy/dashboard/lib/utils/ignoreEvent.js
93498
93904
  // ignore drop/paste events if they are not in input or textarea —
93499
93905
  // otherwise when Url plugin adds drop/paste listeners to this.el,
93500
93906
  // draging UI elements or pasting anything into any field triggers those events —
@@ -93512,7 +93918,7 @@ function ignoreEvent(ev) {
93512
93918
  ev.stopPropagation();
93513
93919
  }
93514
93920
  /* harmony default export */ const utils_ignoreEvent = (ignoreEvent);
93515
- ;// CONCATENATED MODULE: ./node_modules/_@uppy_dashboard@3.9.1@@uppy/dashboard/lib/components/PickerPanelContent.js
93921
+ ;// CONCATENATED MODULE: ./node_modules/_@uppy_dashboard@3.8.3@@uppy/dashboard/lib/components/PickerPanelContent.js
93516
93922
 
93517
93923
 
93518
93924
 
@@ -93551,7 +93957,7 @@ function PickerPanelContent(_ref) {
93551
93957
  }, uppy.getPlugin(activePickerPanel.id).render(state)));
93552
93958
  }
93553
93959
  /* harmony default export */ const components_PickerPanelContent = (PickerPanelContent);
93554
- ;// CONCATENATED MODULE: ./node_modules/_@uppy_dashboard@3.9.1@@uppy/dashboard/lib/components/EditorPanel.js
93960
+ ;// CONCATENATED MODULE: ./node_modules/_@uppy_dashboard@3.8.3@@uppy/dashboard/lib/components/EditorPanel.js
93555
93961
  /* eslint-disable react/destructuring-assignment */
93556
93962
 
93557
93963
 
@@ -93591,7 +93997,7 @@ function EditorPanel(props) {
93591
93997
  })));
93592
93998
  }
93593
93999
  /* harmony default export */ const components_EditorPanel = (EditorPanel);
93594
- ;// CONCATENATED MODULE: ./node_modules/_@uppy_dashboard@3.9.1@@uppy/dashboard/lib/components/PickerPanelTopBar.js
94000
+ ;// CONCATENATED MODULE: ./node_modules/_@uppy_dashboard@3.8.3@@uppy/dashboard/lib/components/PickerPanelTopBar.js
93595
94001
 
93596
94002
  const uploadStates = {
93597
94003
  STATE_ERROR: 'error',
@@ -93720,7 +94126,7 @@ function PanelTopBar(props) {
93720
94126
  }, i18n('addMore'))) : _("div", null));
93721
94127
  }
93722
94128
  /* harmony default export */ const PickerPanelTopBar = (PanelTopBar);
93723
- ;// CONCATENATED MODULE: ./node_modules/_@uppy_dashboard@3.9.1@@uppy/dashboard/lib/components/FileCard/RenderMetaFields.js
94129
+ ;// CONCATENATED MODULE: ./node_modules/_@uppy_dashboard@3.8.3@@uppy/dashboard/lib/components/FileCard/RenderMetaFields.js
93724
94130
 
93725
94131
  function RenderMetaFields(props) {
93726
94132
  const {
@@ -93761,7 +94167,7 @@ function RenderMetaFields(props) {
93761
94167
  }));
93762
94168
  });
93763
94169
  }
93764
- ;// CONCATENATED MODULE: ./node_modules/_@uppy_dashboard@3.9.1@@uppy/dashboard/lib/components/FileCard/index.js
94170
+ ;// CONCATENATED MODULE: ./node_modules/_@uppy_dashboard@3.8.3@@uppy/dashboard/lib/components/FileCard/index.js
93765
94171
 
93766
94172
 
93767
94173
 
@@ -93796,8 +94202,8 @@ function FileCard(props) {
93796
94202
  var _file$meta$field$id;
93797
94203
  storedMetaData[field.id] = (_file$meta$field$id = file.meta[field.id]) != null ? _file$meta$field$id : '';
93798
94204
  });
93799
- const [formState, setFormState] = hooks_module_h(storedMetaData);
93800
- const handleSave = hooks_module_q(ev => {
94205
+ const [formState, setFormState] = hooks_module_p(storedMetaData);
94206
+ const handleSave = hooks_module_x(ev => {
93801
94207
  ev.preventDefault();
93802
94208
  saveFileCard(formState, fileCardFor);
93803
94209
  }, [saveFileCard, formState, fileCardFor]);
@@ -93810,13 +94216,13 @@ function FileCard(props) {
93810
94216
  const handleCancel = () => {
93811
94217
  toggleFileCard(false);
93812
94218
  };
93813
- const [form] = hooks_module_h(() => {
94219
+ const [form] = hooks_module_p(() => {
93814
94220
  const formEl = document.createElement('form');
93815
94221
  formEl.setAttribute('tabindex', '-1');
93816
94222
  formEl.id = nanoid();
93817
94223
  return formEl;
93818
94224
  });
93819
- hooks_module_y(() => {
94225
+ hooks_module_(() => {
93820
94226
  document.body.appendChild(form);
93821
94227
  form.addEventListener('submit', handleSave);
93822
94228
  return () => {
@@ -93891,7 +94297,7 @@ function FileCard(props) {
93891
94297
  form: form.id
93892
94298
  }, i18n('cancel')))));
93893
94299
  }
93894
- ;// CONCATENATED MODULE: ./node_modules/_@uppy_dashboard@3.9.1@@uppy/dashboard/lib/components/Slide.js
94300
+ ;// CONCATENATED MODULE: ./node_modules/_@uppy_dashboard@3.8.3@@uppy/dashboard/lib/components/Slide.js
93895
94301
 
93896
94302
 
93897
94303
 
@@ -93911,11 +94317,11 @@ function Slide(_ref) {
93911
94317
  let {
93912
94318
  children
93913
94319
  } = _ref;
93914
- const [cachedChildren, setCachedChildren] = hooks_module_h(null);
93915
- const [className, setClassName] = hooks_module_h('');
93916
- const enterTimeoutRef = hooks_module_A();
93917
- const leaveTimeoutRef = hooks_module_A();
93918
- const animationFrameRef = hooks_module_A();
94320
+ const [cachedChildren, setCachedChildren] = hooks_module_p(null);
94321
+ const [className, setClassName] = hooks_module_p('');
94322
+ const enterTimeoutRef = hooks_module_F();
94323
+ const leaveTimeoutRef = hooks_module_F();
94324
+ const animationFrameRef = hooks_module_F();
93919
94325
  const handleEnterTransition = () => {
93920
94326
  setClassName(`${transitionName}-enter`);
93921
94327
  cancelAnimationFrame(animationFrameRef.current);
@@ -93941,7 +94347,7 @@ function Slide(_ref) {
93941
94347
  }, duration);
93942
94348
  });
93943
94349
  };
93944
- hooks_module_y(() => {
94350
+ hooks_module_(() => {
93945
94351
  const child = H(children)[0];
93946
94352
  if (cachedChildren === child) return;
93947
94353
  if (child && !cachedChildren) {
@@ -93952,7 +94358,7 @@ function Slide(_ref) {
93952
94358
  setCachedChildren(child);
93953
94359
  }, [children, cachedChildren]); // Dependency array to trigger effect on children change
93954
94360
 
93955
- hooks_module_y(() => {
94361
+ hooks_module_(() => {
93956
94362
  return () => {
93957
94363
  clearTimeout(enterTimeoutRef.current);
93958
94364
  clearTimeout(leaveTimeoutRef.current);
@@ -93966,7 +94372,7 @@ function Slide(_ref) {
93966
94372
  });
93967
94373
  }
93968
94374
  /* harmony default export */ const components_Slide = (Slide);
93969
- ;// CONCATENATED MODULE: ./node_modules/_@uppy_dashboard@3.9.1@@uppy/dashboard/lib/components/Dashboard.js
94375
+ ;// CONCATENATED MODULE: ./node_modules/_@uppy_dashboard@3.8.3@@uppy/dashboard/lib/components/Dashboard.js
93970
94376
  function Dashboard_extends() { Dashboard_extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return Dashboard_extends.apply(this, arguments); }
93971
94377
  /* eslint-disable react/destructuring-assignment, react/jsx-props-no-spreading */
93972
94378
 
@@ -94148,7 +94554,7 @@ function Dashboard_Dashboard(props) {
94148
94554
  })))));
94149
94555
  return dashboard;
94150
94556
  }
94151
- ;// CONCATENATED MODULE: ./node_modules/_@uppy_dashboard@3.9.1@@uppy/dashboard/lib/locale.js
94557
+ ;// CONCATENATED MODULE: ./node_modules/_@uppy_dashboard@3.8.3@@uppy/dashboard/lib/locale.js
94152
94558
  /* harmony default export */ const dashboard_lib_locale = ({
94153
94559
  strings: {
94154
94560
  // When `inline: false`, used as the screen reader label for the button that closes the modal.
@@ -94242,7 +94648,7 @@ function Dashboard_Dashboard(props) {
94242
94648
  recordVideoBtn: 'Record Video'
94243
94649
  }
94244
94650
  });
94245
- ;// CONCATENATED MODULE: ./node_modules/_@uppy_dashboard@3.9.1@@uppy/dashboard/lib/Dashboard.js
94651
+ ;// CONCATENATED MODULE: ./node_modules/_@uppy_dashboard@3.8.3@@uppy/dashboard/lib/Dashboard.js
94246
94652
  function Dashboard_classPrivateFieldLooseBase(receiver, privateKey) { if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) { throw new TypeError("attempted to use private field on non-instance"); } return receiver; }
94247
94653
  var Dashboard_id = 0;
94248
94654
  function Dashboard_classPrivateFieldLooseKey(name) { return "__private_" + Dashboard_id++ + "_" + name; }
@@ -94263,7 +94669,7 @@ function Dashboard_classPrivateFieldLooseKey(name) { return "__private_" + Dashb
94263
94669
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
94264
94670
  // @ts-ignore We don't want TS to generate types for the package.json
94265
94671
  const Dashboard_packageJson = {
94266
- "version": "3.9.1"
94672
+ "version": "3.8.3"
94267
94673
  };
94268
94674
 
94269
94675
  const memoize = memoizeOne["default"] || memoizeOne;
@@ -94319,7 +94725,7 @@ const Dashboard_defaultOptions = {
94319
94725
  // Dynamic default options, they have to be defined in the constructor (because
94320
94726
  // they require access to the `this` keyword), but we still want them to
94321
94727
  // appear in the default options so TS knows they'll be defined.
94322
- doneButtonHandler: undefined,
94728
+ doneButtonHandler: null,
94323
94729
  onRequestCloseModal: null
94324
94730
  };
94325
94731
 
@@ -94341,7 +94747,7 @@ class Dashboard extends lib_UIPlugin {
94341
94747
  // Timeouts
94342
94748
 
94343
94749
  constructor(uppy, _opts) {
94344
- var _this$opts4, _this$opts4$onRequest;
94750
+ var _this$opts4, _this$opts4$doneButto, _this$opts5, _this$opts5$onRequest;
94345
94751
  // support for the legacy `autoOpenFileEditor` option,
94346
94752
  // TODO: we can remove this code when we update the Uppy major version
94347
94753
  let autoOpen;
@@ -95386,20 +95792,16 @@ class Dashboard extends lib_UIPlugin {
95386
95792
  this.defaultLocale = dashboard_lib_locale;
95387
95793
 
95388
95794
  // Dynamic default options:
95389
- if (this.opts.doneButtonHandler === undefined) {
95390
- // `null` means "do not display a Done button", while `undefined` means
95391
- // "I want the default behavior". For this reason, we need to differentiate `null` and `undefined`.
95392
- this.opts.doneButtonHandler = () => {
95393
- this.uppy.clearUploadedFiles();
95394
- this.requestCloseModal();
95395
- };
95396
- }
95397
- (_this$opts4$onRequest = (_this$opts4 = this.opts).onRequestCloseModal) != null ? _this$opts4$onRequest : _this$opts4.onRequestCloseModal = () => this.closeModal();
95795
+ (_this$opts4$doneButto = (_this$opts4 = this.opts).doneButtonHandler) != null ? _this$opts4$doneButto : _this$opts4.doneButtonHandler = () => {
95796
+ this.uppy.clearUploadedFiles();
95797
+ this.requestCloseModal();
95798
+ };
95799
+ (_this$opts5$onRequest = (_this$opts5 = this.opts).onRequestCloseModal) != null ? _this$opts5$onRequest : _this$opts5.onRequestCloseModal = () => this.closeModal();
95398
95800
  this.i18nInit();
95399
95801
  }
95400
95802
  }
95401
95803
  Dashboard.VERSION = Dashboard_packageJson.version;
95402
- ;// CONCATENATED MODULE: ./node_modules/_@uppy_dashboard@3.9.1@@uppy/dashboard/lib/index.js
95804
+ ;// CONCATENATED MODULE: ./node_modules/_@uppy_dashboard@3.8.3@@uppy/dashboard/lib/index.js
95403
95805
 
95404
95806
  ;// CONCATENATED MODULE: ./node_modules/_shallow-equal@1.2.1@shallow-equal/dist/index.esm.js
95405
95807
  function shallowEqualObjects(objA, objB) {
@@ -95645,7 +96047,7 @@ const isVue2 = function () {
95645
96047
  });
95646
96048
  }
95647
96049
  });
95648
- ;// CONCATENATED MODULE: ./node_modules/_@uppy_drag-drop@3.1.1@@uppy/drag-drop/lib/locale.js
96050
+ ;// CONCATENATED MODULE: ./node_modules/_@uppy_drag-drop@3.1.0@@uppy/drag-drop/lib/locale.js
95649
96051
  /* harmony default export */ const drag_drop_lib_locale = ({
95650
96052
  strings: {
95651
96053
  // Text to show on the droppable area.
@@ -95655,7 +96057,7 @@ const isVue2 = function () {
95655
96057
  browse: 'browse'
95656
96058
  }
95657
96059
  });
95658
- ;// CONCATENATED MODULE: ./node_modules/_@uppy_drag-drop@3.1.1@@uppy/drag-drop/lib/DragDrop.js
96060
+ ;// CONCATENATED MODULE: ./node_modules/_@uppy_drag-drop@3.1.0@@uppy/drag-drop/lib/DragDrop.js
95659
96061
 
95660
96062
 
95661
96063
 
@@ -95665,7 +96067,7 @@ const isVue2 = function () {
95665
96067
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
95666
96068
  // @ts-ignore We don't want TS to generate types for the package.json
95667
96069
  const DragDrop_packageJson = {
95668
- "version": "3.1.1"
96070
+ "version": "3.1.0"
95669
96071
  };
95670
96072
 
95671
96073
  // Default options, must be kept in sync with @uppy/react/src/DragDrop.js.
@@ -95882,7 +96284,7 @@ class DragDrop extends lib_UIPlugin {
95882
96284
  }
95883
96285
  }
95884
96286
  DragDrop.VERSION = DragDrop_packageJson.version;
95885
- ;// CONCATENATED MODULE: ./node_modules/_@uppy_drag-drop@3.1.1@@uppy/drag-drop/lib/index.js
96287
+ ;// CONCATENATED MODULE: ./node_modules/_@uppy_drag-drop@3.1.0@@uppy/drag-drop/lib/index.js
95886
96288
 
95887
96289
  ;// CONCATENATED MODULE: ./node_modules/_@uppy_vue@1.1.2@@uppy/vue/lib/drag-drop.js
95888
96290
 
@@ -96452,7 +96854,7 @@ function _publish2() {
96452
96854
  }
96453
96855
  DefaultStore.VERSION = store_default_lib_packageJson.version;
96454
96856
  /* harmony default export */ const lib = (DefaultStore);
96455
- ;// CONCATENATED MODULE: ./node_modules/_@uppy_core@3.13.1@@uppy/core/lib/supportsUploadProgress.js
96857
+ ;// CONCATENATED MODULE: ./node_modules/_@uppy_core@3.11.3@@uppy/core/lib/supportsUploadProgress.js
96456
96858
  // Edge 15.x does not fire 'progress' events on uploads.
96457
96859
  // See https://github.com/transloadit/uppy/issues/945
96458
96860
  // And https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/12224510/
@@ -96487,7 +96889,7 @@ function supportsUploadProgress(userAgent) {
96487
96889
  // other versions don't work.
96488
96890
  return false;
96489
96891
  }
96490
- ;// CONCATENATED MODULE: ./node_modules/_@uppy_core@3.13.1@@uppy/core/lib/getFileName.js
96892
+ ;// CONCATENATED MODULE: ./node_modules/_@uppy_core@3.11.3@@uppy/core/lib/getFileName.js
96491
96893
  function getFileName(fileType, fileDescriptor) {
96492
96894
  if (fileDescriptor.name) {
96493
96895
  return fileDescriptor.name;
@@ -96515,7 +96917,7 @@ function getTimeStamp() {
96515
96917
  const seconds = pad(date.getSeconds());
96516
96918
  return `${hours}:${minutes}:${seconds}`;
96517
96919
  }
96518
- ;// CONCATENATED MODULE: ./node_modules/_@uppy_core@3.13.1@@uppy/core/lib/loggers.js
96920
+ ;// CONCATENATED MODULE: ./node_modules/_@uppy_core@3.11.3@@uppy/core/lib/loggers.js
96519
96921
  /* eslint-disable no-console */
96520
96922
 
96521
96923
 
@@ -96557,7 +96959,7 @@ const debugLogger = {
96557
96959
 
96558
96960
  // EXTERNAL MODULE: ./node_modules/_mime-match@1.0.2@mime-match/index.js
96559
96961
  var _mime_match_1_0_2_mime_match = __webpack_require__(9769);
96560
- ;// CONCATENATED MODULE: ./node_modules/_@uppy_core@3.13.1@@uppy/core/lib/Restricter.js
96962
+ ;// CONCATENATED MODULE: ./node_modules/_@uppy_core@3.11.3@@uppy/core/lib/Restricter.js
96561
96963
  /* eslint-disable @typescript-eslint/ban-ts-comment */
96562
96964
  /* eslint-disable max-classes-per-file, class-methods-use-this */
96563
96965
 
@@ -96616,15 +97018,21 @@ class Restricter {
96616
97018
  }
96617
97019
  }
96618
97020
  if (maxTotalFileSize) {
96619
- const totalFilesSize = [...existingFiles, ...addingFiles].reduce((total, f) => {
97021
+ let totalFilesSize = existingFiles.reduce((total, f) => {
96620
97022
  var _f$size;
96621
97023
  return total + ((_f$size = f.size) != null ? _f$size : 0);
96622
97024
  }, 0);
96623
- if (totalFilesSize > maxTotalFileSize) {
96624
- throw new RestrictionError(this.getI18n()('aggregateExceedsSize', {
96625
- sizeAllowed: prettierBytes(maxTotalFileSize),
96626
- size: prettierBytes(totalFilesSize)
96627
- }));
97025
+ for (const addingFile of addingFiles) {
97026
+ if (addingFile.size != null) {
97027
+ // We can't check maxTotalFileSize if the size is unknown.
97028
+ totalFilesSize += addingFile.size;
97029
+ if (totalFilesSize > maxTotalFileSize) {
97030
+ throw new RestrictionError(this.getI18n()('exceedsSize', {
97031
+ size: prettierBytes(maxTotalFileSize),
97032
+ file: addingFile.name
97033
+ }));
97034
+ }
97035
+ }
96628
97036
  }
96629
97037
  }
96630
97038
  }
@@ -96713,7 +97121,7 @@ class Restricter {
96713
97121
  }
96714
97122
  }
96715
97123
 
96716
- ;// CONCATENATED MODULE: ./node_modules/_@uppy_core@3.13.1@@uppy/core/lib/locale.js
97124
+ ;// CONCATENATED MODULE: ./node_modules/_@uppy_core@3.11.3@@uppy/core/lib/locale.js
96717
97125
  /* harmony default export */ const core_lib_locale = ({
96718
97126
  strings: {
96719
97127
  addBulkFilesFailed: {
@@ -96728,7 +97136,6 @@ class Restricter {
96728
97136
  0: 'You have to select at least %{smart_count} file',
96729
97137
  1: 'You have to select at least %{smart_count} files'
96730
97138
  },
96731
- aggregateExceedsSize: 'You selected %{size} of files, but maximum allowed size is %{sizeAllowed}',
96732
97139
  exceedsSize: '%{file} exceeds maximum allowed size of %{size}',
96733
97140
  missingRequiredMetaField: 'Missing required meta fields',
96734
97141
  missingRequiredMetaFieldOnFile: 'Missing required meta fields in %{fileName}',
@@ -96771,11 +97178,10 @@ class Restricter {
96771
97178
  0: 'Added %{smart_count} file from %{folder}',
96772
97179
  1: 'Added %{smart_count} files from %{folder}'
96773
97180
  },
96774
- additionalRestrictionsFailed: '%{count} additional restrictions were not fulfilled',
96775
- unnamed: 'Unnamed'
97181
+ additionalRestrictionsFailed: '%{count} additional restrictions were not fulfilled'
96776
97182
  }
96777
97183
  });
96778
- ;// CONCATENATED MODULE: ./node_modules/_@uppy_core@3.13.1@@uppy/core/lib/Uppy.js
97184
+ ;// CONCATENATED MODULE: ./node_modules/_@uppy_core@3.11.3@@uppy/core/lib/Uppy.js
96779
97185
  let Uppy_Symbol$for, _Symbol$for2;
96780
97186
  function Uppy_classPrivateFieldLooseBase(receiver, privateKey) { if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) { throw new TypeError("attempted to use private field on non-instance"); } return receiver; }
96781
97187
  var Uppy_id = 0;
@@ -96802,7 +97208,7 @@ function Uppy_classPrivateFieldLooseKey(name) { return "__private_" + Uppy_id++
96802
97208
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
96803
97209
  // @ts-ignore We don't want TS to generate types for the package.json
96804
97210
  const Uppy_packageJson = {
96805
- "version": "3.13.1"
97211
+ "version": "3.11.3"
96806
97212
  };
96807
97213
 
96808
97214
 
@@ -97220,13 +97626,6 @@ class Uppy {
97220
97626
  // @todo next major: rename to `clear()`, make it also cancel ongoing uploads
97221
97627
  // or throw and say you need to cancel manually
97222
97628
  clearUploadedFiles() {
97223
- const {
97224
- capabilities,
97225
- currentUploads
97226
- } = this.getState();
97227
- if (Object.keys(currentUploads).length > 0 && !capabilities.individualCancellation) {
97228
- throw new Error('The installed uploader plugin does not allow removing files during an upload.');
97229
- }
97230
97629
  this.setState({
97231
97630
  ...defaultUploadState,
97232
97631
  files: {}
@@ -97519,7 +97918,7 @@ class Uppy {
97519
97918
  capabilities
97520
97919
  } = this.getState();
97521
97920
  if (newFileIDs.length !== currentUploads[uploadID].fileIDs.length && !capabilities.individualCancellation) {
97522
- throw new Error('The installed uploader plugin does not allow removing files during an upload.');
97921
+ throw new Error('individualCancellation is disabled');
97523
97922
  }
97524
97923
  updatedUploads[uploadID] = {
97525
97924
  ...currentUploads[uploadID],
@@ -98558,7 +98957,7 @@ async function _runUpload2(uploadID) {
98558
98957
  }
98559
98958
  Uppy.VERSION = Uppy_packageJson.version;
98560
98959
  /* harmony default export */ const lib_Uppy = (Uppy);
98561
- ;// CONCATENATED MODULE: ./node_modules/_@uppy_core@3.13.1@@uppy/core/dist/style.min.css
98960
+ ;// CONCATENATED MODULE: ./node_modules/_@uppy_core@3.11.3@@uppy/core/dist/style.min.css
98562
98961
  // extracted by mini-css-extract-plugin
98563
98962
 
98564
98963
  ;// CONCATENATED MODULE: ./node_modules/_js-base64@3.7.7@js-base64/base64.mjs
@@ -100601,7 +101000,7 @@ var _window = window,
100601
101000
  browser_Blob = _window.Blob;
100602
101001
  var isSupported = browser_XMLHttpRequest && browser_Blob && typeof browser_Blob.prototype.slice === 'function';
100603
101002
 
100604
- ;// CONCATENATED MODULE: ./node_modules/_@uppy_core@3.13.1@@uppy/core/lib/EventManager.js
101003
+ ;// CONCATENATED MODULE: ./node_modules/_@uppy_core@3.11.3@@uppy/core/lib/EventManager.js
100605
101004
  function EventManager_classPrivateFieldLooseBase(receiver, privateKey) { if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) { throw new TypeError("attempted to use private field on non-instance"); } return receiver; }
100606
101005
  var EventManager_id = 0;
100607
101006
  function EventManager_classPrivateFieldLooseKey(name) { return "__private_" + EventManager_id++ + "_" + name; }
@@ -102094,6 +102493,7 @@ function componentvue_type_script_lang_js_getBase64(file) {
102094
102493
  if (!Array.isArray(val)) {
102095
102494
  val = [];
102096
102495
  this.dataModel = [];
102496
+ this.fileList = [];
102097
102497
  }
102098
102498
  // val = val
102099
102499
  this.pulishMsg(val);
@@ -102104,10 +102504,10 @@ function componentvue_type_script_lang_js_getBase64(file) {
102104
102504
  });
102105
102505
  ;// CONCATENATED MODULE: ./src/form/modules/components/FileUpload/component.vue?vue&type=script&lang=js
102106
102506
  /* harmony default export */ const components_FileUpload_componentvue_type_script_lang_js = (FileUpload_componentvue_type_script_lang_js);
102107
- ;// CONCATENATED MODULE: ./node_modules/_mini-css-extract-plugin@2.9.0@mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/_css-loader@6.11.0@css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/_vue-loader@15.11.1@vue-loader/lib/loaders/stylePostLoader.js!./node_modules/_postcss-loader@6.2.1@postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/_less-loader@5.0.0@less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/_vue-loader@15.11.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/components/FileUpload/component.vue?vue&type=style&index=0&id=99e59474&prod&lang=less&scoped=true
102507
+ ;// CONCATENATED MODULE: ./node_modules/_mini-css-extract-plugin@2.9.0@mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/_css-loader@6.11.0@css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/_vue-loader@15.11.1@vue-loader/lib/loaders/stylePostLoader.js!./node_modules/_postcss-loader@6.2.1@postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/_less-loader@5.0.0@less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/_vue-loader@15.11.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/components/FileUpload/component.vue?vue&type=style&index=0&id=643b4d30&prod&lang=less&scoped=true
102108
102508
  // extracted by mini-css-extract-plugin
102109
102509
 
102110
- ;// CONCATENATED MODULE: ./src/form/modules/components/FileUpload/component.vue?vue&type=style&index=0&id=99e59474&prod&lang=less&scoped=true
102510
+ ;// CONCATENATED MODULE: ./src/form/modules/components/FileUpload/component.vue?vue&type=style&index=0&id=643b4d30&prod&lang=less&scoped=true
102111
102511
 
102112
102512
  ;// CONCATENATED MODULE: ./src/form/modules/components/FileUpload/component.vue
102113
102513
 
@@ -102120,11 +102520,11 @@ function componentvue_type_script_lang_js_getBase64(file) {
102120
102520
 
102121
102521
  var FileUpload_component_component = (0,componentNormalizer/* default */.A)(
102122
102522
  components_FileUpload_componentvue_type_script_lang_js,
102123
- componentvue_type_template_id_99e59474_scoped_true_render,
102124
- componentvue_type_template_id_99e59474_scoped_true_staticRenderFns,
102523
+ componentvue_type_template_id_643b4d30_scoped_true_render,
102524
+ componentvue_type_template_id_643b4d30_scoped_true_staticRenderFns,
102125
102525
  false,
102126
102526
  null,
102127
- "99e59474",
102527
+ "643b4d30",
102128
102528
  null
102129
102529
 
102130
102530
  )
@@ -121018,7 +121418,7 @@ module.exports = Url;
121018
121418
  /***/ 9366:
121019
121419
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
121020
121420
 
121021
- !function(e,t){ true?module.exports=t(__webpack_require__(6386)):0}(this,function(e){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s=3)}([function(t,n){t.exports=e},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),o=function(e){return e&&e.__esModule?e:{default:e}}(r),i=window.CodeMirror||o.default;"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(e,t){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(e),r=1;r<arguments.length;r++){var o=arguments[r];if(null!=o)for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(n[i]=o[i])}return n},writable:!0,configurable:!0}),t.default={name:"codemirror",data:function(){return{content:"",codemirror:null,cminstance:null}},props:{code:String,value:String,marker:Function,unseenLines:Array,name:{type:String,default:"codemirror"},placeholder:{type:String,default:""},merge:{type:Boolean,default:!1},options:{type:Object,default:function(){return{}}},events:{type:Array,default:function(){return[]}},globalOptions:{type:Object,default:function(){return{}}},globalEvents:{type:Array,default:function(){return[]}}},watch:{options:{deep:!0,handler:function(e){for(var t in e)this.cminstance.setOption(t,e[t])}},merge:function(){this.$nextTick(this.switchMerge)},code:function(e){this.handerCodeChange(e)},value:function(e){this.handerCodeChange(e)}},methods:{initialize:function(){var e=this,t=Object.assign({},this.globalOptions,this.options);this.merge?(this.codemirror=i.MergeView(this.$refs.mergeview,t),this.cminstance=this.codemirror.edit):(this.codemirror=i.fromTextArea(this.$refs.textarea,t),this.cminstance=this.codemirror,this.cminstance.setValue(this.code||this.value||this.content)),this.cminstance.on("change",function(t){e.content=t.getValue(),e.$emit&&e.$emit("input",e.content)});var n={};["scroll","changes","beforeChange","cursorActivity","keyHandled","inputRead","electricInput","beforeSelectionChange","viewportChange","swapDoc","gutterClick","gutterContextMenu","focus","blur","refresh","optionChange","scrollCursorIntoView","update"].concat(this.events).concat(this.globalEvents).filter(function(e){return!n[e]&&(n[e]=!0)}).forEach(function(t){e.cminstance.on(t,function(){for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];e.$emit.apply(e,[t].concat(r));var i=t.replace(/([A-Z])/g,"-$1").toLowerCase();i!==t&&e.$emit.apply(e,[i].concat(r))})});this.$emit("ready",this.codemirror),this.unseenLineMarkers(),this.refresh()},refresh:function(){var e=this;this.$nextTick(function(){e.cminstance.refresh()})},destroy:function(){var e=this.cminstance.doc.cm.getWrapperElement();e&&e.remove&&e.remove()},handerCodeChange:function(e){if(e!==this.cminstance.getValue()){var t=this.cminstance.getScrollInfo();this.cminstance.setValue(e),this.content=e,this.cminstance.scrollTo(t.left,t.top)}this.unseenLineMarkers()},unseenLineMarkers:function(){var e=this;void 0!==this.unseenLines&&void 0!==this.marker&&this.unseenLines.forEach(function(t){var n=e.cminstance.lineInfo(t);e.cminstance.setGutterMarker(t,"breakpoints",n.gutterMarkers?null:e.marker())})},switchMerge:function(){var e=this.cminstance.doc.history,t=this.cminstance.doc.cleanGeneration;this.options.value=this.cminstance.getValue(),this.destroy(),this.initialize(),this.cminstance.doc.history=e,this.cminstance.doc.cleanGeneration=t}},mounted:function(){this.initialize()},beforeDestroy:function(){this.destroy()}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),o=n.n(r);for(var i in r)["default","default"].indexOf(i)<0&&function(e){n.d(t,e,function(){return r[e]})}(i);var s=n(5),c=n(4),a=c(o.a,s.a,!1,null,null,null);t.default=a.exports},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.install=t.codemirror=t.CodeMirror=void 0;var o=n(0),i=r(o),s=n(2),c=r(s),a=window.CodeMirror||i.default,u=function(e,t){t&&(t.options&&(c.default.props.globalOptions.default=function(){return t.options}),t.events&&(c.default.props.globalEvents.default=function(){return t.events})),e.component(c.default.name,c.default)},l={CodeMirror:a,codemirror:c.default,install:u};t.default=l,t.CodeMirror=a,t.codemirror=c.default,t.install=u},function(e,t){e.exports=function(e,t,n,r,o,i){var s,c=e=e||{},a=typeof e.default;"object"!==a&&"function"!==a||(s=e,c=e.default);var u="function"==typeof c?c.options:c;t&&(u.render=t.render,u.staticRenderFns=t.staticRenderFns,u._compiled=!0),n&&(u.functional=!0),o&&(u._scopeId=o);var l;if(i?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},u._ssrRegister=l):r&&(l=r),l){var f=u.functional,d=f?u.render:u.beforeCreate;f?(u._injectStyles=l,u.render=function(e,t){return l.call(t),d(e,t)}):u.beforeCreate=d?[].concat(d,l):[l]}return{esModule:s,exports:c,options:u}}},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vue-codemirror",class:{merge:e.merge}},[e.merge?n("div",{ref:"mergeview"}):n("textarea",{ref:"textarea",attrs:{name:e.name,placeholder:e.placeholder}})])},o=[],i={render:r,staticRenderFns:o};t.a=i}])});
121421
+ !function(e,t){ true?module.exports=t(__webpack_require__(4125)):0}(this,function(e){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s=3)}([function(t,n){t.exports=e},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),o=function(e){return e&&e.__esModule?e:{default:e}}(r),i=window.CodeMirror||o.default;"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(e,t){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(e),r=1;r<arguments.length;r++){var o=arguments[r];if(null!=o)for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(n[i]=o[i])}return n},writable:!0,configurable:!0}),t.default={name:"codemirror",data:function(){return{content:"",codemirror:null,cminstance:null}},props:{code:String,value:String,marker:Function,unseenLines:Array,name:{type:String,default:"codemirror"},placeholder:{type:String,default:""},merge:{type:Boolean,default:!1},options:{type:Object,default:function(){return{}}},events:{type:Array,default:function(){return[]}},globalOptions:{type:Object,default:function(){return{}}},globalEvents:{type:Array,default:function(){return[]}}},watch:{options:{deep:!0,handler:function(e){for(var t in e)this.cminstance.setOption(t,e[t])}},merge:function(){this.$nextTick(this.switchMerge)},code:function(e){this.handerCodeChange(e)},value:function(e){this.handerCodeChange(e)}},methods:{initialize:function(){var e=this,t=Object.assign({},this.globalOptions,this.options);this.merge?(this.codemirror=i.MergeView(this.$refs.mergeview,t),this.cminstance=this.codemirror.edit):(this.codemirror=i.fromTextArea(this.$refs.textarea,t),this.cminstance=this.codemirror,this.cminstance.setValue(this.code||this.value||this.content)),this.cminstance.on("change",function(t){e.content=t.getValue(),e.$emit&&e.$emit("input",e.content)});var n={};["scroll","changes","beforeChange","cursorActivity","keyHandled","inputRead","electricInput","beforeSelectionChange","viewportChange","swapDoc","gutterClick","gutterContextMenu","focus","blur","refresh","optionChange","scrollCursorIntoView","update"].concat(this.events).concat(this.globalEvents).filter(function(e){return!n[e]&&(n[e]=!0)}).forEach(function(t){e.cminstance.on(t,function(){for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];e.$emit.apply(e,[t].concat(r));var i=t.replace(/([A-Z])/g,"-$1").toLowerCase();i!==t&&e.$emit.apply(e,[i].concat(r))})});this.$emit("ready",this.codemirror),this.unseenLineMarkers(),this.refresh()},refresh:function(){var e=this;this.$nextTick(function(){e.cminstance.refresh()})},destroy:function(){var e=this.cminstance.doc.cm.getWrapperElement();e&&e.remove&&e.remove()},handerCodeChange:function(e){if(e!==this.cminstance.getValue()){var t=this.cminstance.getScrollInfo();this.cminstance.setValue(e),this.content=e,this.cminstance.scrollTo(t.left,t.top)}this.unseenLineMarkers()},unseenLineMarkers:function(){var e=this;void 0!==this.unseenLines&&void 0!==this.marker&&this.unseenLines.forEach(function(t){var n=e.cminstance.lineInfo(t);e.cminstance.setGutterMarker(t,"breakpoints",n.gutterMarkers?null:e.marker())})},switchMerge:function(){var e=this.cminstance.doc.history,t=this.cminstance.doc.cleanGeneration;this.options.value=this.cminstance.getValue(),this.destroy(),this.initialize(),this.cminstance.doc.history=e,this.cminstance.doc.cleanGeneration=t}},mounted:function(){this.initialize()},beforeDestroy:function(){this.destroy()}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),o=n.n(r);for(var i in r)["default","default"].indexOf(i)<0&&function(e){n.d(t,e,function(){return r[e]})}(i);var s=n(5),c=n(4),a=c(o.a,s.a,!1,null,null,null);t.default=a.exports},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.install=t.codemirror=t.CodeMirror=void 0;var o=n(0),i=r(o),s=n(2),c=r(s),a=window.CodeMirror||i.default,u=function(e,t){t&&(t.options&&(c.default.props.globalOptions.default=function(){return t.options}),t.events&&(c.default.props.globalEvents.default=function(){return t.events})),e.component(c.default.name,c.default)},l={CodeMirror:a,codemirror:c.default,install:u};t.default=l,t.CodeMirror=a,t.codemirror=c.default,t.install=u},function(e,t){e.exports=function(e,t,n,r,o,i){var s,c=e=e||{},a=typeof e.default;"object"!==a&&"function"!==a||(s=e,c=e.default);var u="function"==typeof c?c.options:c;t&&(u.render=t.render,u.staticRenderFns=t.staticRenderFns,u._compiled=!0),n&&(u.functional=!0),o&&(u._scopeId=o);var l;if(i?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},u._ssrRegister=l):r&&(l=r),l){var f=u.functional,d=f?u.render:u.beforeCreate;f?(u._injectStyles=l,u.render=function(e,t){return l.call(t),d(e,t)}):u.beforeCreate=d?[].concat(d,l):[l]}return{esModule:s,exports:c,options:u}}},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vue-codemirror",class:{merge:e.merge}},[e.merge?n("div",{ref:"mergeview"}):n("textarea",{ref:"textarea",attrs:{name:e.name,placeholder:e.placeholder}})])},o=[],i={render:r,staticRenderFns:o};t.a=i}])});
121022
121422
 
121023
121423
  /***/ }),
121024
121424
 
@@ -135606,7 +136006,7 @@ var staticRenderFns = []
135606
136006
 
135607
136007
 
135608
136008
  // EXTERNAL MODULE: ./src/form/modules/components/index.js + 974 modules
135609
- var components = __webpack_require__(9535);
136009
+ var components = __webpack_require__(6020);
135610
136010
  ;// CONCATENATED MODULE: ./node_modules/_thread-loader@3.0.4@thread-loader/dist/cjs.js!./node_modules/_babel-loader@8.3.0@babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/_vue-loader@15.11.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/common/Modals/CorrectionItem.vue?vue&type=script&lang=js
135611
136011
  //
135612
136012
  //
@@ -137652,7 +138052,7 @@ var component = (0,componentNormalizer/* default */.A)(
137652
138052
 
137653
138053
  /* harmony default export */ const CorrectionModal = (component.exports);
137654
138054
  // EXTERNAL MODULE: ./src/form/modules/components/index.js + 974 modules
137655
- var components = __webpack_require__(9535);
138055
+ var components = __webpack_require__(6020);
137656
138056
  // EXTERNAL MODULE: ./node_modules/_pubsub-js@1.9.4@pubsub-js/src/pubsub.js
137657
138057
  var pubsub = __webpack_require__(1528);
137658
138058
  var pubsub_default = /*#__PURE__*/__webpack_require__.n(pubsub);
@@ -138822,7 +139222,7 @@ var vuedraggable_umd_default = /*#__PURE__*/__webpack_require__.n(vuedraggable_u
138822
139222
  // EXTERNAL MODULE: ./src/api/manage.js
138823
139223
  var manage = __webpack_require__(8501);
138824
139224
  // EXTERNAL MODULE: ./src/form/modules/components/index.js + 974 modules
138825
- var components = __webpack_require__(9535);
139225
+ var components = __webpack_require__(6020);
138826
139226
  // EXTERNAL MODULE: ./src/form/util/Bus.js
138827
139227
  var Bus = __webpack_require__(1509);
138828
139228
  // EXTERNAL MODULE: ./src/form/modules/config/hnkj.js
@@ -154695,7 +155095,7 @@ function toString(value) {
154695
155095
  /***/ ((module) => {
154696
155096
 
154697
155097
  "use strict";
154698
- module.exports = {"rE":"1.1.518"};
155098
+ module.exports = /*#__PURE__*/JSON.parse('{"rE":"1.1.519-test.2"}');
154699
155099
 
154700
155100
  /***/ })
154701
155101
 
@@ -156648,8 +157048,8 @@ var staticRenderFns = []
156648
157048
  var es_array_push = __webpack_require__(6538);
156649
157049
  // EXTERNAL MODULE: ./node_modules/_core-js@3.37.1@core-js/modules/es.json.stringify.js
156650
157050
  var es_json_stringify = __webpack_require__(8446);
156651
- // EXTERNAL MODULE: ./node_modules/_jsplumb@2.9.2@jsplumb/dist/js/jsplumb.js
156652
- var jsplumb = __webpack_require__(9365);
157051
+ // EXTERNAL MODULE: ./node_modules/_jsplumb@2.11.2@jsplumb/dist/js/jsplumb.js
157052
+ var jsplumb = __webpack_require__(2210);
156653
157053
  ;// CONCATENATED MODULE: ./node_modules/_vue-loader@15.11.1@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_vue-loader@15.11.1@vue-loader/lib/index.js??vue-loader-options!./src/flow/node.vue?vue&type=template&id=791fbca8&scoped=true
156654
157054
  var nodevue_type_template_id_791fbca8_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('vdr',{ref:"aa",staticClass:"vdr-no-border",attrs:{"w":_vm.node.width ? _vm.node.width : _vm.flowNodeContainer.width,"h":_vm.node.height ? _vm.node.height : _vm.flowNodeContainer.height,"x":_vm.flowNodeContainer.left,"y":_vm.flowNodeContainer.top,"draggable":_vm.flag && _vm.isFlowPanelMain,"resizable":false,"snap":true,"snap-tolerance":20},on:{"resizing":_vm.onResizing,"resizestop":_vm.onResizstop}},[_c('div',{ref:"node",staticClass:"flow-view",on:{"mouseenter":_vm.showDelete,"mouseleave":_vm.hideDelete,"dblclick":function($event){$event.stopPropagation();return _vm.clickNode.apply(null, arguments)},"mouseup":_vm.changeNodeSite,"contextmenu":function($event){$event.preventDefault();return _vm.editMenu.apply(null, arguments)},"click":function($event){$event.stopPropagation();return _vm.clickNodeOne.apply(null, arguments)}}},[_c('div',{class:_vm.node.info.cls},[_c('div',{staticClass:"inner",style:({backgroundColor: _vm.$route.query.nodeId && _vm.$route.query.nodeId === _vm.node.id ? 'red' : 'orange'})},[(_vm.node.info.type == 'comm')?_c('svg-icon',{staticStyle:{"height":"28px","font-size":"18px","margin":"0 5px"},attrs:{"iconName":"icon-icon-user"}}):_vm._e(),(_vm.lineTodo)?_c('i',{class:_vm.nodeClass}):_vm._e(),(_vm.lineTodo)?_c('i',{class:_vm.nodeClass}):_vm._e(),(_vm.lineTodo)?_c('i',{class:_vm.nodeClass}):_vm._e(),(_vm.lineTodo)?_c('i',{class:_vm.nodeClass}):_vm._e(),(_vm.node.info.type == 'comm')?_c('span',[_vm._v(_vm._s(_vm.node.info.title))]):_vm._e()],1),(_vm.node.info && _vm.node.info.type == 'comm' && _vm.node.info.taskAssigneeList && _vm.node.info.taskAssigneeList.length > 0 && _vm.node.info.taskAssigneeList.some(function (item) { return item.title; }))?_c('div',{staticClass:"text",attrs:{"title":_vm.node.info.taskAssigneeList.map(function (item) { return item.title; }).join(',')}},[_vm._v(" "+_vm._s(_vm.node.info.taskAssigneeList.map(function (item) { return item.title; }).join(','))+" ")]):_vm._e()]),(_vm.dropMenu)?_c('ul',{staticClass:"dropMenu"},[_c('li',{staticStyle:{"font-size":"16px"},on:{"click":_vm.editNode}},[_c('svg-icon',{attrs:{"iconName":"icon-shezhi"}})],1),_c('li',{on:{"click":_vm.deleteNode}},[_c('svg-icon',{staticStyle:{"font-size":"14px"},attrs:{"iconName":"icon-shanchu"}})],1)]):_vm._e(),(_vm.node.info.name === '普通' && _vm.addBtn)?_c('div',_vm._l((_vm.addButtonList),function(item,index){return _c('div',{staticClass:"dropMenuItem",style:({ top: item.top, right: item.right, display: 'block !important', opacity: 1 }),attrs:{"tabindex":index},on:{"click":function($event){$event.stopPropagation();return _vm.clickMenuItem(index)}}},[_c('a-icon',{attrs:{"type":"plus-circle"}}),(item.flag)?_c('div',{staticStyle:{"width":"105px","padding":"10px 6px","background-color":"#fff","color":"#333","font-size":"14px","border-radius":"10px","overflow":"hidden","box-shadow":"0px 3px 6px rgba(0,0,0,0.04)"}},[_c('div',{staticClass:"h-model-item",on:{"click":function($event){$event.stopPropagation();return _vm.addNodeListItem(item.type, index, 'yh')}}},[_vm._v("用户任务")]),(!_vm.nodeList.some(function (info) { return info.id === 'EndEvent'; }))?_c('div',{staticClass:"h-model-item",on:{"click":function($event){$event.stopPropagation();return _vm.addNodeListItem(item.type, index, 'js')}}},[_vm._v("结束节点")]):_vm._e()]):_vm._e()],1)}),0):_vm._e()])])}
156655
157055
  var nodevue_type_template_id_791fbca8_scoped_true_staticRenderFns = []
@@ -157302,7 +157702,7 @@ var vue_codemirror = __webpack_require__(9366);
157302
157702
  //
157303
157703
 
157304
157704
 
157305
- __webpack_require__(4275);
157705
+ __webpack_require__(2864);
157306
157706
  /* harmony default export */ const infovue_type_script_lang_js = ({
157307
157707
  data() {
157308
157708
  return {
@@ -158326,8 +158726,8 @@ var flow_panel_component = (0,componentNormalizer/* default */.A)(
158326
158726
  )
158327
158727
 
158328
158728
  /* harmony default export */ const flow_panel = (flow_panel_component.exports);
158329
- ;// CONCATENATED MODULE: ./node_modules/_vue-loader@15.11.1@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_vue-loader@15.11.1@vue-loader/lib/index.js??vue-loader-options!./src/flow/sider-panel.vue?vue&type=template&id=d7970872&scoped=true
158330
- var sider_panelvue_type_template_id_d7970872_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"sider-pannel"},[_c('a',{staticClass:"sider-open",attrs:{"href":"javascript:void(0);"},on:{"click":_vm.openOrClose}},[_vm._v("关闭")]),_c('div',{staticClass:"sider-panel-inner"},[_c('h3',{staticClass:"panel-hd"},[_vm._v("节点:"+_vm._s(_vm.node.info.title))]),_c('a-form',{staticClass:"panel-form",attrs:{"model":_vm.node}},[_c('a-form-item',{attrs:{"label":"节点ID:","label-col":{ span: 8 },"wrapper-col":{ span: 16 }}},[_c('a-input',{attrs:{"disabled":""},model:{value:(_vm.node.id),callback:function ($$v) {_vm.$set(_vm.node, "id", $$v)},expression:"node.id"}})],1),_c('a-form-item',{attrs:{"label":"节点名称:","label-col":{ span: 8 },"wrapper-col":{ span: 16 }}},[_c('a-input',{attrs:{"max-length":10,"disabled":_vm.node.info.type == 'gate' ||
158729
+ ;// CONCATENATED MODULE: ./node_modules/_vue-loader@15.11.1@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_vue-loader@15.11.1@vue-loader/lib/index.js??vue-loader-options!./src/flow/sider-panel.vue?vue&type=template&id=08c073c2&scoped=true
158730
+ var sider_panelvue_type_template_id_08c073c2_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"sider-pannel"},[_c('a',{staticClass:"sider-open",attrs:{"href":"javascript:void(0);"},on:{"click":_vm.openOrClose}},[_vm._v("关闭")]),_c('div',{staticClass:"sider-panel-inner"},[_c('h3',{staticClass:"panel-hd"},[_vm._v("节点:"+_vm._s(_vm.node.info.title))]),_c('a-form',{staticClass:"panel-form",attrs:{"model":_vm.node}},[_c('a-form-item',{attrs:{"label":"节点ID:","label-col":{ span: 8 },"wrapper-col":{ span: 16 }}},[_c('a-input',{attrs:{"disabled":""},model:{value:(_vm.node.id),callback:function ($$v) {_vm.$set(_vm.node, "id", $$v)},expression:"node.id"}})],1),_c('a-form-item',{attrs:{"label":"节点名称:","label-col":{ span: 8 },"wrapper-col":{ span: 16 }}},[_c('a-input',{attrs:{"max-length":10,"disabled":_vm.node.info.type == 'gate' ||
158331
158731
  _vm.node.info.type == 'start' ||
158332
158732
  _vm.node.info.type == 'end'},on:{"change":_vm.changeNodeTitle},model:{value:(_vm.node.info.title),callback:function ($$v) {_vm.$set(_vm.node.info, "title", $$v)},expression:"node.info.title"}})],1),_c('a-form-item',{attrs:{"label":"是否抄送:","label-col":{ span: 8 },"wrapper-col":{ span: 16 }}},[_c('a-radio-group',{attrs:{"name":"isCopy"},model:{value:(_vm.node.info.isCopy),callback:function ($$v) {_vm.$set(_vm.node.info, "isCopy", $$v)},expression:"node.info.isCopy"}},[_c('a-radio',{attrs:{"value":1}},[_vm._v("是")]),_c('a-radio',{attrs:{"value":0}},[_vm._v("否")])],1)],1),(_vm.node.info.isCopy == '1' && !_vm.isFlowPanelZJAF)?_c('a-form-item',{attrs:{"label":"抄送人:","label-col":{ span: 8 },"wrapper-col":{ span: 16 }}},[(_vm.node.info.copyMap.activitiId == '')?_c('a-button',{attrs:{"type":"primary"},on:{"click":function($event){return _vm.handleCopyChangeType('Assingee')}}},[_vm._v("选择抄送人")]):_vm._e(),(_vm.node.info.copyMap.assigneeType == 'Assingee')?_c('a-button',{attrs:{"type":"primary"},on:{"click":function($event){return _vm.handleCopyChangeType('Assingee')}}},[_vm._v("单人")]):_vm._e(),(_vm.node.info.copyMap.assigneeType == 'CandidateUsers')?_c('a-button',{attrs:{"type":"primary"},on:{"click":function($event){return _vm.handleCopyChangeType('CandidateUsers')}}},[_vm._v("多人")]):_vm._e(),(_vm.node.info.copyMap.assigneeType == 'CandidateGroups')?_c('a-button',{attrs:{"type":"primary"},on:{"click":function($event){return _vm.handleCopyChangeType('CandidateGroups')}}},[_vm._v("角色")]):_vm._e(),(_vm.node.info.copyMap.assigneeType == 'CandidateFormUsers')?_c('a-button',{attrs:{"type":"primary"},on:{"click":function($event){return _vm.handleCopyChangeType('CandidateFormUsers')}}},[_vm._v("表单用户")]):_vm._e(),(_vm.node.info.copyMap.assigneeType == 'relationMatrix')?_c('a-button',{attrs:{"type":"primary"},on:{"click":function($event){return _vm.handleCopyChangeType('relationMatrix')}}},[_vm._v("关系矩阵")]):_vm._e(),(_vm.node.info.copyMap.assigneeType == 'Script')?_c('a-button',{attrs:{"type":"primary"},on:{"click":function($event){return _vm.handleCopyChangeType('Script')}}},[_vm._v("脚本")]):_vm._e()],1):_vm._e(),(_vm.node.info.isCopy == '1' && _vm.isFlowPanelZJAF)?_c('a-form-item',{attrs:{"label":"抄送配置:","label-col":{ span: 8 },"wrapper-col":{ span: 16 }}},[_c('a-button',{attrs:{"type":"primary"},on:{"click":_vm.addCopyDesign}},[_vm._v("+添加抄送人")]),_vm._l((_vm.node.info.copyDesignList),function(item,index){return _c('div',{key:item.title},[_c('div',{staticStyle:{"display":"flex","align-items":"center","margin-bottom":"4px"}},[_c('a-button',{directives:[{name:"ellipsis",rawName:"v-ellipsis",value:(1),expression:"1"}],staticClass:"copy-design-btn",attrs:{"type":"primary"},on:{"click":function($event){return _vm.handleCopyDesign(index)}}},[_vm._v(_vm._s(item.title))]),_c('a-icon',{staticClass:"delete-icon-sider",attrs:{"type":"delete"},on:{"click":function($event){return _vm.deleteCopyDesign(index)}}})],1)])})],2):_vm._e(),(_vm.node.info.type == 'comm')?_c('a-form-item',{attrs:{"label":"审批组件:","label-col":{ span: 8 },"wrapper-col":{ span: 16 }}},[_c('a-select',{staticStyle:{"width":"100%"},attrs:{"placeholder":"选择审批组件"},model:{value:(_vm.node.info.verify),callback:function ($$v) {_vm.$set(_vm.node.info, "verify", $$v)},expression:"node.info.verify"}},_vm._l((_vm.verifyList),function(verifyObj){return _c('a-select-option',{key:verifyObj.model,attrs:{"value":verifyObj.model}},[_vm._v(" "+_vm._s(verifyObj.name)+" ")])}),1)],1):_vm._e(),(_vm.node.info.type == 'comm')?_c('a-form-item',{attrs:{"label":"审核结果:","label-col":{ span: 8 },"wrapper-col":{ span: 16 }}},[_c('a-select',{staticStyle:{"width":"100%"},attrs:{"placeholder":"选择审核结果"},model:{value:(_vm.node.info.auditDict),callback:function ($$v) {_vm.$set(_vm.node.info, "auditDict", $$v)},expression:"node.info.auditDict"}},_vm._l((_vm.auditDictList),function(verifyObj){return _c('a-select-option',{key:verifyObj.dictCode,attrs:{"value":verifyObj.dictCode}},[_vm._v(" "+_vm._s(verifyObj.dictName)+" ")])}),1)],1):_vm._e(),(_vm.node.info.type != 'end')?_c('a-form-item',{attrs:{"label":"执行脚本","label-col":{ span: 8 },"wrapper-col":{ span: 16 }}},[_c('a-radio-group',{attrs:{"name":"status"},model:{value:(_vm.node.info.status),callback:function ($$v) {_vm.$set(_vm.node.info, "status", $$v)},expression:"node.info.status"}},[_c('a-radio',{attrs:{"value":1}},[_vm._v("是")]),_c('a-radio',{attrs:{"value":0}},[_vm._v("否")])],1)],1):_vm._e(),(_vm.node.info.type != 'end' && _vm.node.info.status == '1')?_c('a-form-item',{attrs:{"label":"选择脚本","label-col":{ span: 8 },"wrapper-col":{ span: 16 }}},[_c('a-select',{staticStyle:{"width":"100%"},attrs:{"placeholder":"选择流程脚本"},model:{value:(_vm.node.info.scriptManageId),callback:function ($$v) {_vm.$set(_vm.node.info, "scriptManageId", $$v)},expression:"node.info.scriptManageId"}},_vm._l((_vm.processList),function(process){return _c('a-select-option',{key:process.id,attrs:{"value":process.id}},[_vm._v(" "+_vm._s(process.formScriptName)+" ")])}),1)],1):_vm._e(),(_vm.node.info.type == 'comm')?_c('a-form-item',{attrs:{"label":"允许撤销:","label-col":{ span: 8 },"wrapper-col":{ span: 16 }}},[_c('a-radio-group',{attrs:{"name":"ableCancel"},model:{value:(_vm.node.info.ableCancel),callback:function ($$v) {_vm.$set(_vm.node.info, "ableCancel", $$v)},expression:"node.info.ableCancel"}},[_c('a-radio',{attrs:{"value":1}},[_vm._v("是")]),_c('a-radio',{attrs:{"value":0}},[_vm._v("否")])],1)],1):_vm._e(),(_vm.node.info.type == 'comm')?_c('a-form-item',{attrs:{"label":"关联审核:","label-col":{ span: 8 },"wrapper-col":{ span: 16 }}},[_c('a-radio-group',{attrs:{"name":"shgl"},model:{value:(_vm.node.info.shgl),callback:function ($$v) {_vm.$set(_vm.node.info, "shgl", $$v)},expression:"node.info.shgl"}},[_c('a-radio',{attrs:{"value":1}},[_vm._v("是")]),_c('a-radio',{attrs:{"value":0}},[_vm._v("否")])],1)],1):_vm._e(),(_vm.node.info.type == 'comm' && !_vm.isFlowPanelZJAF)?_c('a-form-item',{attrs:{"label":"人员类型:","label-col":{ span: 8 },"wrapper-col":{ span: 16 }}},[(_vm.node.info.taskAssignee.activitiId == '')?_c('a-button',{attrs:{"type":"primary"},on:{"click":function($event){return _vm.handleChangeType('Assingee')}}},[_vm._v("选择处理类型")]):_vm._e(),(_vm.node.info.taskAssignee.assigneeType == 'Assingee')?_c('a-button',{attrs:{"type":"primary"},on:{"click":function($event){return _vm.handleChangeType('Assingee')}}},[_vm._v("个人类型")]):_vm._e(),(_vm.node.info.taskAssignee.assigneeType == 'CandidateUsers')?_c('a-button',{attrs:{"type":"primary"},on:{"click":function($event){return _vm.handleChangeType('CandidateUsers')}}},[_vm._v("候选人")]):_vm._e(),(_vm.node.info.taskAssignee.assigneeType == 'CandidateGroups')?_c('a-button',{attrs:{"type":"primary"},on:{"click":function($event){return _vm.handleChangeType('CandidateGroups')}}},[_vm._v("候选组")]):_vm._e(),(_vm.node.info.taskAssignee.assigneeType == 'CandidateFormUsers')?_c('a-button',{attrs:{"type":"primary"},on:{"click":function($event){return _vm.handleChangeType('CandidateFormUsers')}}},[_vm._v("表单用户")]):_vm._e(),(_vm.node.info.taskAssignee.assigneeType == 'relationMatrix')?_c('a-button',{attrs:{"type":"primary"},on:{"click":function($event){return _vm.handleChangeType('relationMatrix')}}},[_vm._v("关系矩阵")]):_vm._e(),(_vm.node.info.taskAssignee.assigneeType == 'Script')?_c('a-button',{attrs:{"type":"primary"},on:{"click":function($event){return _vm.handleChangeType('Script')}}},[_vm._v("脚本")]):_vm._e()],1):_vm._e(),(_vm.node.info.type == 'comm' && _vm.isFlowPanelZJAF)?_c('a-form-item',{attrs:{"label":"人员配置:","label-col":{ span: 8 },"wrapper-col":{ span: 16 }}},[_c('a-button',{attrs:{"type":"primary"},on:{"click":_vm.addTaskAssigneeList}},[_vm._v("+添加人员")]),_vm._l((_vm.node.info.taskAssigneeList),function(item,index){return _c('div',{key:item.title},[_c('div',{staticStyle:{"display":"flex","align-items":"center","margin-bottom":"4px"}},[_c('a-button',{directives:[{name:"ellipsis",rawName:"v-ellipsis",value:(1),expression:"1"}],staticClass:"copy-design-btn",attrs:{"type":"primary"},on:{"click":function($event){return _vm.handleTaskAssigneeList(index)}}},[_vm._v(_vm._s(item.title))]),_c('a-icon',{staticClass:"delete-icon-sider",attrs:{"type":"delete"},on:{"click":function($event){return _vm.deleteTaskAssigneeList(index)}}})],1)])})],2):_vm._e(),(
158333
158733
  _vm.node.info.type == 'comm' &&
@@ -158335,8 +158735,8 @@ var sider_panelvue_type_template_id_d7970872_scoped_true_render = function () {v
158335
158735
  )?_c('a-form-item',{attrs:{"label":"执行类型:","label-col":{ span: 8 },"wrapper-col":{ span: 16 }}},[_c('a-radio-group',{attrs:{"name":"executeType"},model:{value:(_vm.node.info.taskAssignee.executeType),callback:function ($$v) {_vm.$set(_vm.node.info.taskAssignee, "executeType", $$v)},expression:"node.info.taskAssignee.executeType"}},[_c('a-radio',{attrs:{"value":1}},[_vm._v("任意审批")]),_c('a-radio',{attrs:{"value":0}},[_vm._v("全部审批")])],1)],1):_vm._e()],1),(!_vm.formUrlVisible && _vm.node.info.type == 'comm' && _vm.zjafFlowDeaign)?_c('div',{staticClass:"panel-box",staticStyle:{"margin-top":"30px"}},[_c('div',{staticClass:"node-branch"},[_c('span',{staticClass:"title"},[_vm._v("节点按钮设置")]),_c('a-icon',{staticClass:"add-btn",attrs:{"type":"plus-circle"},on:{"click":_vm.handleOpenFormBtns}}),(
158336
158736
  _vm.node.info.nodeForm.buttons &&
158337
158737
  _vm.node.info.nodeForm.buttons.length > 0
158338
- )?_c('div',{staticClass:"node-list_btn"},_vm._l((_vm.node.info.nodeForm.buttons),function(item,index){return _c('a-button',{directives:[{name:"ellipsis",rawName:"v-ellipsis",value:(1),expression:"1"}],key:index,staticClass:"tag-design-btn",class:("ant-btn-" + (item.type)),attrs:{"icon":item.icon}},[_vm._v(" "+_vm._s(item.name + '1')+" ")])}),1):_vm._e()],1)]):_vm._e(),(_vm.node.info.type == 'comm' && !_vm.isFlowPanelMain)?_c('div',{staticClass:"panel-box",staticStyle:{"padding-top":"15px"}}):_vm._e(),(_vm.node.info.filter == 'exclude_gateway')?_c('div',{staticClass:"panel-box"},[_c('h3',{staticClass:"panel-hd"},[_vm._v("节点流转条件设置")]),_vm._l((_vm.node.info.conditions),function(item,key){return _c('div',{key:key,staticStyle:{"margin-top":"35px"}},[_c('div',{staticClass:"node-branch"},[_c('span',{staticClass:"title"},[_vm._v(_vm._s(item.title))]),_c('div',[_c('a-input',{attrs:{"placeholder":"设置条件表达式"},model:{value:(item.condition),callback:function ($$v) {_vm.$set(item, "condition", $$v)},expression:"item.condition"}})],1)])])})],2):_vm._e(),(_vm.workId && _vm.node.info.type != 'end')?_c('h3',{staticClass:"panel-hd",staticStyle:{"margin-top":"15px"}},[_vm._v(" 表单权限编辑: ")]):_vm._e(),(_vm.workId && _vm.node.info.type != 'end')?_c('div',{staticStyle:{"margin-top":"15px"}},[_c('a-button',{attrs:{"type":"primary"},on:{"click":_vm.editFormAuthor}},[_vm._v("编辑")])],1):_vm._e(),_c('select-type',{ref:"selectType",attrs:{"isFlowPanelZJAF":_vm.isFlowPanelZJAF,"formDesigerData":_vm.formDesigerData},on:{"selectActivi":_vm.selectActivi}}),_c('select-type',{ref:"selectCopyType",on:{"selectActivi":_vm.selectCopyActivi}}),_c('form-author-modal',{ref:"FormAuthor"}),_c('OnlineFormModel',{ref:"OnlineFormModel",attrs:{"node":_vm.node.info.nodeForm}}),_c('OnlineForm',{ref:"OnlineForm"}),(_vm.node.info.yiCHangActions && _vm.node.info.yiCHangActions.length > 0)?_c('div',{staticClass:"panel-box"},_vm._l((_vm.node.info.yiCHangActions),function(item,key){return _c('div',{directives:[{name:"show",rawName:"v-show",value:(item.filterType == 'false'),expression:"item.filterType == 'false'"}],key:key,staticStyle:{"margin-top":"35px"}},[_c('div',{staticClass:"node-branch"},[_c('span',{staticClass:"title"},[_vm._v(_vm._s(item.targetNodeName))]),_c('div',[_c('textarea',{directives:[{name:"model",rawName:"v-model",value:(item.condition),expression:"item.condition"}],staticStyle:{"width":"100%"},attrs:{"placeholder":"设置条件表达式","rows":2},domProps:{"value":(item.condition)},on:{"input":function($event){if($event.target.composing){ return; }_vm.$set(item, "condition", $event.target.value)}}})])])])}),0):_vm._e()],1)])}
158339
- var sider_panelvue_type_template_id_d7970872_scoped_true_staticRenderFns = []
158738
+ )?_c('div',{staticClass:"node-list_btn"},_vm._l((_vm.node.info.nodeForm.buttons),function(item,index){return _c('a-button',{directives:[{name:"ellipsis",rawName:"v-ellipsis",value:(1),expression:"1"}],key:index,staticClass:"tag-design-btn",class:("ant-btn-" + (item.type)),attrs:{"icon":item.icon}},[_vm._v(" "+_vm._s(item.name)+" ")])}),1):_vm._e()],1)]):_vm._e(),(_vm.node.info.type == 'comm' && !_vm.isFlowPanelMain)?_c('div',{staticClass:"panel-box",staticStyle:{"padding-top":"15px"}}):_vm._e(),(_vm.node.info.filter == 'exclude_gateway')?_c('div',{staticClass:"panel-box"},[_c('h3',{staticClass:"panel-hd"},[_vm._v("节点流转条件设置")]),_vm._l((_vm.node.info.conditions),function(item,key){return _c('div',{key:key,staticStyle:{"margin-top":"35px"}},[_c('div',{staticClass:"node-branch"},[_c('span',{staticClass:"title"},[_vm._v(_vm._s(item.title))]),_c('div',[_c('a-input',{attrs:{"placeholder":"设置条件表达式"},model:{value:(item.condition),callback:function ($$v) {_vm.$set(item, "condition", $$v)},expression:"item.condition"}})],1)])])})],2):_vm._e(),(_vm.workId && _vm.node.info.type != 'end')?_c('h3',{staticClass:"panel-hd",staticStyle:{"margin-top":"15px"}},[_vm._v(" 表单权限编辑: ")]):_vm._e(),(_vm.workId && _vm.node.info.type != 'end')?_c('div',{staticStyle:{"margin-top":"15px"}},[_c('a-button',{attrs:{"type":"primary"},on:{"click":_vm.editFormAuthor}},[_vm._v("编辑")])],1):_vm._e(),_c('select-type',{ref:"selectType",attrs:{"isFlowPanelZJAF":_vm.isFlowPanelZJAF,"formDesigerData":_vm.formDesigerData},on:{"selectActivi":_vm.selectActivi}}),_c('select-type',{ref:"selectCopyType",on:{"selectActivi":_vm.selectCopyActivi}}),_c('form-author-modal',{ref:"FormAuthor"}),_c('OnlineFormModel',{ref:"OnlineFormModel",attrs:{"node":_vm.node.info.nodeForm}}),_c('OnlineForm',{ref:"OnlineForm"}),(_vm.node.info.yiCHangActions && _vm.node.info.yiCHangActions.length > 0)?_c('div',{staticClass:"panel-box"},_vm._l((_vm.node.info.yiCHangActions),function(item,key){return _c('div',{directives:[{name:"show",rawName:"v-show",value:(item.filterType == 'false'),expression:"item.filterType == 'false'"}],key:key,staticStyle:{"margin-top":"35px"}},[_c('div',{staticClass:"node-branch"},[_c('span',{staticClass:"title"},[_vm._v(_vm._s(item.targetNodeName))]),_c('div',[_c('textarea',{directives:[{name:"model",rawName:"v-model",value:(item.condition),expression:"item.condition"}],staticStyle:{"width":"100%"},attrs:{"placeholder":"设置条件表达式","rows":2},domProps:{"value":(item.condition)},on:{"input":function($event){if($event.target.composing){ return; }_vm.$set(item, "condition", $event.target.value)}}})])])])}),0):_vm._e()],1)])}
158739
+ var sider_panelvue_type_template_id_08c073c2_scoped_true_staticRenderFns = []
158340
158740
 
158341
158741
 
158342
158742
  ;// CONCATENATED MODULE: ./node_modules/_vue-loader@15.11.1@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_vue-loader@15.11.1@vue-loader/lib/index.js??vue-loader-options!./src/flow/select_type.vue?vue&type=template&id=352b0db0
@@ -160914,15 +161314,15 @@ var FormAuthorModal_component = (0,componentNormalizer/* default */.A)(
160914
161314
  });
160915
161315
  ;// CONCATENATED MODULE: ./src/flow/sider-panel.vue?vue&type=script&lang=js
160916
161316
  /* harmony default export */ const flow_sider_panelvue_type_script_lang_js = (sider_panelvue_type_script_lang_js);
160917
- ;// CONCATENATED MODULE: ./node_modules/_mini-css-extract-plugin@2.9.0@mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/_css-loader@6.11.0@css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/_vue-loader@15.11.1@vue-loader/lib/loaders/stylePostLoader.js!./node_modules/_postcss-loader@6.2.1@postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/_less-loader@5.0.0@less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/_vue-loader@15.11.1@vue-loader/lib/index.js??vue-loader-options!./src/flow/sider-panel.vue?vue&type=style&index=0&id=d7970872&prod&lang=less
161317
+ ;// CONCATENATED MODULE: ./node_modules/_mini-css-extract-plugin@2.9.0@mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/_css-loader@6.11.0@css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/_vue-loader@15.11.1@vue-loader/lib/loaders/stylePostLoader.js!./node_modules/_postcss-loader@6.2.1@postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/_less-loader@5.0.0@less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/_vue-loader@15.11.1@vue-loader/lib/index.js??vue-loader-options!./src/flow/sider-panel.vue?vue&type=style&index=0&id=08c073c2&prod&lang=less
160918
161318
  // extracted by mini-css-extract-plugin
160919
161319
 
160920
- ;// CONCATENATED MODULE: ./src/flow/sider-panel.vue?vue&type=style&index=0&id=d7970872&prod&lang=less
161320
+ ;// CONCATENATED MODULE: ./src/flow/sider-panel.vue?vue&type=style&index=0&id=08c073c2&prod&lang=less
160921
161321
 
160922
- ;// CONCATENATED MODULE: ./node_modules/_mini-css-extract-plugin@2.9.0@mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/_css-loader@6.11.0@css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/_vue-loader@15.11.1@vue-loader/lib/loaders/stylePostLoader.js!./node_modules/_postcss-loader@6.2.1@postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/_less-loader@5.0.0@less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/_vue-loader@15.11.1@vue-loader/lib/index.js??vue-loader-options!./src/flow/sider-panel.vue?vue&type=style&index=1&id=d7970872&prod&lang=less&scoped=true
161322
+ ;// CONCATENATED MODULE: ./node_modules/_mini-css-extract-plugin@2.9.0@mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/_css-loader@6.11.0@css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/_vue-loader@15.11.1@vue-loader/lib/loaders/stylePostLoader.js!./node_modules/_postcss-loader@6.2.1@postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/_less-loader@5.0.0@less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/_vue-loader@15.11.1@vue-loader/lib/index.js??vue-loader-options!./src/flow/sider-panel.vue?vue&type=style&index=1&id=08c073c2&prod&lang=less&scoped=true
160923
161323
  // extracted by mini-css-extract-plugin
160924
161324
 
160925
- ;// CONCATENATED MODULE: ./src/flow/sider-panel.vue?vue&type=style&index=1&id=d7970872&prod&lang=less&scoped=true
161325
+ ;// CONCATENATED MODULE: ./src/flow/sider-panel.vue?vue&type=style&index=1&id=08c073c2&prod&lang=less&scoped=true
160926
161326
 
160927
161327
  ;// CONCATENATED MODULE: ./src/flow/sider-panel.vue
160928
161328
 
@@ -160936,11 +161336,11 @@ var FormAuthorModal_component = (0,componentNormalizer/* default */.A)(
160936
161336
 
160937
161337
  var sider_panel_component = (0,componentNormalizer/* default */.A)(
160938
161338
  flow_sider_panelvue_type_script_lang_js,
160939
- sider_panelvue_type_template_id_d7970872_scoped_true_render,
160940
- sider_panelvue_type_template_id_d7970872_scoped_true_staticRenderFns,
161339
+ sider_panelvue_type_template_id_08c073c2_scoped_true_render,
161340
+ sider_panelvue_type_template_id_08c073c2_scoped_true_staticRenderFns,
160941
161341
  false,
160942
161342
  null,
160943
- "d7970872",
161343
+ "08c073c2",
160944
161344
  null
160945
161345
 
160946
161346
  )
@@ -169306,7 +169706,7 @@ var es_array_unshift = __webpack_require__(5041);
169306
169706
  // EXTERNAL MODULE: ./src/form/util/util.js
169307
169707
  var util_util = __webpack_require__(4063);
169308
169708
  // EXTERNAL MODULE: ./src/form/modules/components/index.js + 974 modules
169309
- var components = __webpack_require__(9535);
169709
+ var components = __webpack_require__(6020);
169310
169710
  // EXTERNAL MODULE: ./src/form/modules/widgetFormItem.vue + 6 modules
169311
169711
  var widgetFormItem = __webpack_require__(2895);
169312
169712
  // EXTERNAL MODULE: ./src/form/modules/WidgetIdeaSignItem.vue + 5 modules
@@ -173174,7 +173574,7 @@ var clipboard_default = /*#__PURE__*/__webpack_require__.n(clipboard);
173174
173574
 
173175
173575
 
173176
173576
 
173177
- __webpack_require__(4275);
173577
+ __webpack_require__(2864);
173178
173578
 
173179
173579
 
173180
173580
 
@@ -179899,8 +180299,8 @@ window.Formula = dist_formula.Formula;
179899
180299
 
179900
180300
 
179901
180301
 
179902
- const entry_lib_CodeMirror = window.CodeMirror = __webpack_require__(6386);
179903
- __webpack_require__(9112);
180302
+ const CodeMirror = window.CodeMirror = __webpack_require__(4125);
180303
+ __webpack_require__(5503);
179904
180304
  __webpack_require__(2177);
179905
180305
  __webpack_require__(9719);
179906
180306
 
@@ -180372,10 +180772,10 @@ list_2.forEach(item => {
180372
180772
  initCodeMirror() {
180373
180773
  this.initFormula = this.data.formula;
180374
180774
  this.form = this.data;
180375
- entry_lib_CodeMirror.keywords = keywords;
180376
- entry_lib_CodeMirror.keywordsMap = keywordsMap;
180377
- entry_lib_CodeMirror.feildKeywords = this.boData;
180378
- this.editor = entry_lib_CodeMirror.fromTextArea(this.$refs.formula, {
180775
+ CodeMirror.keywords = keywords;
180776
+ CodeMirror.keywordsMap = keywordsMap;
180777
+ CodeMirror.feildKeywords = this.boData;
180778
+ this.editor = CodeMirror.fromTextArea(this.$refs.formula, {
180379
180779
  line: true,
180380
180780
  autoCloseTags: true,
180381
180781
  autofocus: false,
@@ -180400,7 +180800,7 @@ list_2.forEach(item => {
180400
180800
  if (token.type === 'field') {
180401
180801
  // 删除字段 || "keyword" == token.type
180402
180802
  const line = cm.getCursor().line;
180403
- cm.setSelection(new entry_lib_CodeMirror.Pos(line, token.start), new entry_lib_CodeMirror.Pos(line, token.end));
180803
+ cm.setSelection(new CodeMirror.Pos(line, token.start), new CodeMirror.Pos(line, token.end));
180404
180804
  cm.replaceSelection('', null, '+delete');
180405
180805
  } else {
180406
180806
  cm.execCommand('delCharBefore');
@@ -180416,7 +180816,7 @@ list_2.forEach(item => {
180416
180816
  });
180417
180817
  this.editor.setSize('100%', '180px');
180418
180818
  this.editor.on('cursorActivity', function (editor, b) {
180419
- entry_lib_CodeMirror.showHint(editor, entry_lib_CodeMirror.formulaHint, {
180819
+ CodeMirror.showHint(editor, CodeMirror.formulaHint, {
180420
180820
  completeSingle: false
180421
180821
  });
180422
180822
  });
@@ -180522,9 +180922,9 @@ list_2.forEach(item => {
180522
180922
  const g = c.replace('$', '').split('#');
180523
180923
  const field = g[0];
180524
180924
  const entry = g[1];
180525
- const from = entry_lib_CodeMirror.Pos(a, e.length);
180925
+ const from = CodeMirror.Pos(a, e.length);
180526
180926
  e += '​' + label + '​';
180527
- const to = entry_lib_CodeMirror.Pos(a, e.length);
180927
+ const to = CodeMirror.Pos(a, e.length);
180528
180928
  d.push({
180529
180929
  from: from,
180530
180930
  to: to,