tx-sider 2.2.20 → 2.2.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/TXUI.mjs CHANGED
@@ -4,7 +4,7 @@ var __publicField = (obj, key2, value) => {
4
4
  __defNormalProp(obj, typeof key2 !== "symbol" ? key2 + "" : key2, value);
5
5
  return value;
6
6
  };
7
- import t$3, { Fragment, isVNode, Comment, Text, defineComponent, reactive, getCurrentInstance, onMounted, onUpdated, onUnmounted, watch, inject, computed, unref, createVNode, provide, Transition as Transition$2, nextTick, TransitionGroup as TransitionGroup$1, Teleport, ref, render, h as h$2, watchEffect, withDirectives, resolveDirective, onBeforeUnmount, cloneVNode, toRef, withModifiers, vShow, onBeforeMount, toRaw, onBeforeUpdate, shallowRef, resolveComponent, openBlock, createBlock, isRef, withCtx, renderSlot, createElementVNode, createElementBlock, toDisplayString, renderList, normalizeClass, pushScopeId, popScopeId, createCommentVNode, toRefs, normalizeStyle, createTextVNode } from "vue";
7
+ import { Fragment, isVNode, Comment, Text, defineComponent, reactive, getCurrentInstance, onMounted, onUpdated, onUnmounted, watch, inject, computed, unref, createVNode, provide, Transition as Transition$2, nextTick, TransitionGroup as TransitionGroup$1, Teleport, ref, render, h as h$2, watchEffect, withDirectives, resolveDirective, onBeforeUnmount, cloneVNode, toRef, withModifiers, vShow, onBeforeMount, toRaw, onBeforeUpdate, shallowRef, resolveComponent, openBlock, createBlock, isRef, withCtx, renderSlot, createElementBlock, createElementVNode, toDisplayString, renderList, normalizeClass, pushScopeId, popScopeId, createCommentVNode, toRefs, normalizeStyle, createTextVNode } from "vue";
8
8
  const index$d = "";
9
9
  function _defineProperty$q(obj, key2, value) {
10
10
  if (key2 in obj) {
@@ -973,17 +973,17 @@ function getEvents() {
973
973
  }
974
974
  function getStyle(ele2, camel) {
975
975
  var props = (isVNode(ele2) ? ele2.props : ele2.$attrs) || {};
976
- var style = props.style || {};
977
- if (typeof style === "string") {
978
- style = parseStyleText(style, camel);
979
- } else if (camel && style) {
976
+ var style2 = props.style || {};
977
+ if (typeof style2 === "string") {
978
+ style2 = parseStyleText(style2, camel);
979
+ } else if (camel && style2) {
980
980
  var res = {};
981
- Object.keys(style).forEach(function(k10) {
982
- return res[camelize(k10)] = style[k10];
981
+ Object.keys(style2).forEach(function(k10) {
982
+ return res[camelize(k10)] = style2[k10];
983
983
  });
984
984
  return res;
985
985
  }
986
- return style;
986
+ return style2;
987
987
  }
988
988
  function isEmptyElement(c10) {
989
989
  return c10 && (c10.type === Comment || c10.type === Fragment && c10.children.length === 0 || c10.type === Text && c10.children.trim() === "");
@@ -1517,8 +1517,8 @@ function e$2(e10, t10) {
1517
1517
  function t$2(t10, n10, r2) {
1518
1518
  return n10 && e$2(t10.prototype, n10), r2 && e$2(t10, r2), t10;
1519
1519
  }
1520
- function n$3() {
1521
- return (n$3 = Object.assign || function(e10) {
1520
+ function n$2() {
1521
+ return (n$2 = Object.assign || function(e10) {
1522
1522
  for (var t10 = 1; t10 < arguments.length; t10++) {
1523
1523
  var n10 = arguments[t10];
1524
1524
  for (var r2 in n10)
@@ -1530,7 +1530,7 @@ function n$3() {
1530
1530
  function r$2(e10, t10) {
1531
1531
  e10.prototype = Object.create(t10.prototype), e10.prototype.constructor = e10, e10.__proto__ = t10;
1532
1532
  }
1533
- function i$2(e10, t10) {
1533
+ function i$1(e10, t10) {
1534
1534
  if (null == e10)
1535
1535
  return {};
1536
1536
  var n10, r2, i2 = {}, o2 = Object.keys(e10);
@@ -1542,7 +1542,7 @@ function o$1(e10) {
1542
1542
  return 1 == (null != (t10 = e10) && "object" == typeof t10 && false === Array.isArray(t10)) && "[object Object]" === Object.prototype.toString.call(e10);
1543
1543
  var t10;
1544
1544
  }
1545
- var u$2 = Object.prototype, a$2 = u$2.toString, f$1 = u$2.hasOwnProperty, c$1 = /^\s*function (\w+)/;
1545
+ var u$1 = Object.prototype, a$1 = u$1.toString, f$1 = u$1.hasOwnProperty, c$1 = /^\s*function (\w+)/;
1546
1546
  function l$1(e10) {
1547
1547
  var t10, n10 = null !== (t10 = null == e10 ? void 0 : e10.type) && void 0 !== t10 ? t10 : e10;
1548
1548
  if (n10) {
@@ -1568,9 +1568,9 @@ var d$1 = function(e10, t10) {
1568
1568
  }, h$1 = Number.isInteger || function(e10) {
1569
1569
  return "number" == typeof e10 && isFinite(e10) && Math.floor(e10) === e10;
1570
1570
  }, b$1 = Array.isArray || function(e10) {
1571
- return "[object Array]" === a$2.call(e10);
1571
+ return "[object Array]" === a$1.call(e10);
1572
1572
  }, O$1 = function(e10) {
1573
- return "[object Function]" === a$2.call(e10);
1573
+ return "[object Function]" === a$1.call(e10);
1574
1574
  }, g$1 = function(e10) {
1575
1575
  return s$1(e10) && d$1(e10, "_vueTypes_name");
1576
1576
  }, m$1 = function(e10) {
@@ -1642,7 +1642,7 @@ function k$1(e10, t10, n10) {
1642
1642
  }), Object.defineProperties({}, o2));
1643
1643
  if (u2._vueTypes_name = e10, !s$1(n10))
1644
1644
  return u2;
1645
- var a2, f10, c10 = n10.validator, l10 = i$2(n10, ["validator"]);
1645
+ var a2, f10, c10 = n10.validator, l10 = i$1(n10, ["validator"]);
1646
1646
  if (O$1(c10)) {
1647
1647
  var v10 = u2.validator;
1648
1648
  v10 && (v10 = null !== (f10 = (a2 = v10).__original) && void 0 !== f10 ? f10 : a2), u2.validator = j$1(v10 ? function(e11) {
@@ -1783,7 +1783,7 @@ var $$1 = function() {
1783
1783
  return e11.forEach(function(e12) {
1784
1784
  return t10.extend(e12);
1785
1785
  }), this;
1786
- var n10 = e11.name, r2 = e11.validate, o2 = void 0 !== r2 && r2, u2 = e11.getter, a2 = void 0 !== u2 && u2, f10 = i$2(e11, ["name", "validate", "getter"]);
1786
+ var n10 = e11.name, r2 = e11.validate, o2 = void 0 !== r2 && r2, u2 = e11.getter, a2 = void 0 !== u2 && u2, f10 = i$1(e11, ["name", "validate", "getter"]);
1787
1787
  if (d$1(this, n10))
1788
1788
  throw new TypeError('[VueTypes error]: Type "' + n10 + '" already defined');
1789
1789
  var c10, l10 = f10.type;
@@ -1831,11 +1831,11 @@ function z$1(e10) {
1831
1831
  return i10.apply(this, arguments) || this;
1832
1832
  }
1833
1833
  return r$2(o2, i10), t$2(o2, null, [{ key: "sensibleDefaults", get: function() {
1834
- return n$3({}, this.defaults);
1834
+ return n$2({}, this.defaults);
1835
1835
  }, set: function(t10) {
1836
- this.defaults = false !== t10 ? n$3({}, true !== t10 ? t10 : e10) : {};
1836
+ this.defaults = false !== t10 ? n$2({}, true !== t10 ? t10 : e10) : {};
1837
1837
  } }]), o2;
1838
- }($$1)).defaults = n$3({}, e10), i2;
1838
+ }($$1)).defaults = n$2({}, e10), i2;
1839
1839
  }
1840
1840
  $$1.defaults = {}, $$1.custom = L$1, $$1.oneOf = Y$1, $$1.instanceOf = J$1, $$1.oneOfType = B$1, $$1.arrayOf = I$1, $$1.objectOf = M$1, $$1.shape = R$1, $$1.utils = { validate: function(e10, t10) {
1841
1841
  return true === _$1(t10, e10, true);
@@ -2201,7 +2201,7 @@ const Notice = defineComponent({
2201
2201
  return function() {
2202
2202
  var _a2, _b2;
2203
2203
  var prefixCls = props.prefixCls, closable = props.closable, _props$closeIcon = props.closeIcon, closeIcon = _props$closeIcon === void 0 ? (_a2 = slots.closeIcon) === null || _a2 === void 0 ? void 0 : _a2.call(slots) : _props$closeIcon, onClick2 = props.onClick, holder = props.holder;
2204
- var className = attrs.class, style = attrs.style;
2204
+ var className = attrs.class, style2 = attrs.style;
2205
2205
  var componentClass = "".concat(prefixCls, "-notice");
2206
2206
  var dataOrAriaAttributeProps = Object.keys(attrs).reduce(function(acc, key2) {
2207
2207
  if (key2.substr(0, 5) === "data-" || key2.substr(0, 5) === "aria-" || key2 === "role") {
@@ -2211,7 +2211,7 @@ const Notice = defineComponent({
2211
2211
  }, {});
2212
2212
  var node = createVNode("div", _objectSpread2$1({
2213
2213
  "class": classNames(componentClass, className, _defineProperty$q({}, "".concat(componentClass, "-closable"), closable)),
2214
- "style": style,
2214
+ "style": style2,
2215
2215
  "onMouseenter": clearCloseTimer,
2216
2216
  "onMouseleave": startCloseTimer,
2217
2217
  "onClick": onClick2
@@ -4880,38 +4880,38 @@ function setNotificationConfig(options) {
4880
4880
  function getPlacementStyle(placement) {
4881
4881
  var top = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : defaultTop;
4882
4882
  var bottom = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : defaultBottom;
4883
- var style;
4883
+ var style2;
4884
4884
  switch (placement) {
4885
4885
  case "topLeft":
4886
- style = {
4886
+ style2 = {
4887
4887
  left: "0px",
4888
4888
  top,
4889
4889
  bottom: "auto"
4890
4890
  };
4891
4891
  break;
4892
4892
  case "topRight":
4893
- style = {
4893
+ style2 = {
4894
4894
  right: "0px",
4895
4895
  top,
4896
4896
  bottom: "auto"
4897
4897
  };
4898
4898
  break;
4899
4899
  case "bottomLeft":
4900
- style = {
4900
+ style2 = {
4901
4901
  left: "0px",
4902
4902
  top: "auto",
4903
4903
  bottom
4904
4904
  };
4905
4905
  break;
4906
4906
  default:
4907
- style = {
4907
+ style2 = {
4908
4908
  right: "0px",
4909
4909
  top: "auto",
4910
4910
  bottom
4911
4911
  };
4912
4912
  break;
4913
4913
  }
4914
- return style;
4914
+ return style2;
4915
4915
  }
4916
4916
  function getNotificationInstance(_ref, callback) {
4917
4917
  var customizePrefixCls = _ref.prefixCls, _ref$placement = _ref.placement, placement = _ref$placement === void 0 ? defaultPlacement : _ref$placement, _ref$getContainer = _ref.getContainer, getContainer4 = _ref$getContainer === void 0 ? defaultGetContainer : _ref$getContainer, top = _ref.top, bottom = _ref.bottom, _ref$closeIcon = _ref.closeIcon, _closeIcon = _ref$closeIcon === void 0 ? defaultCloseIcon : _ref$closeIcon, appContext = _ref.appContext;
@@ -5801,7 +5801,7 @@ const useStretchStyle = function(stretch) {
5801
5801
  height: element.offsetHeight
5802
5802
  };
5803
5803
  }
5804
- var style = computed(function() {
5804
+ var style2 = computed(function() {
5805
5805
  var sizeStyle = {};
5806
5806
  if (stretch.value) {
5807
5807
  var _targetSize$value = targetSize.value, width = _targetSize$value.width, height = _targetSize$value.height;
@@ -5818,7 +5818,7 @@ const useStretchStyle = function(stretch) {
5818
5818
  }
5819
5819
  return sizeStyle;
5820
5820
  });
5821
- return [style, measureStretch];
5821
+ return [style2, measureStretch];
5822
5822
  };
5823
5823
  function ownKeys(object4, enumerableOnly) {
5824
5824
  var keys2 = Object.keys(object4);
@@ -5889,10 +5889,10 @@ function getVendorPrefix() {
5889
5889
  return vendorPrefix;
5890
5890
  }
5891
5891
  vendorPrefix = "";
5892
- var style = document.createElement("p").style;
5892
+ var style2 = document.createElement("p").style;
5893
5893
  var testProp = "Transform";
5894
5894
  for (var key2 in jsCssMap) {
5895
- if (key2 + testProp in style) {
5895
+ if (key2 + testProp in style2) {
5896
5896
  vendorPrefix = key2;
5897
5897
  }
5898
5898
  }
@@ -5926,8 +5926,8 @@ function getTransitionProperty(node) {
5926
5926
  return node.style.transitionProperty || node.style[getTransitionName2()];
5927
5927
  }
5928
5928
  function getTransformXY(node) {
5929
- var style = window.getComputedStyle(node, null);
5930
- var transform = style.getPropertyValue("transform") || style.getPropertyValue(getTransformName());
5929
+ var style2 = window.getComputedStyle(node, null);
5930
+ var transform = style2.getPropertyValue("transform") || style2.getPropertyValue(getTransformName());
5931
5931
  if (transform && transform !== "none") {
5932
5932
  var matrix = transform.replace(/[^0-9\-.,]/g, "").split(",");
5933
5933
  return {
@@ -5943,8 +5943,8 @@ function getTransformXY(node) {
5943
5943
  var matrix2d = /matrix\((.*)\)/;
5944
5944
  var matrix3d = /matrix3d\((.*)\)/;
5945
5945
  function setTransformXY(node, xy2) {
5946
- var style = window.getComputedStyle(node, null);
5947
- var transform = style.getPropertyValue("transform") || style.getPropertyValue(getTransformName());
5946
+ var style2 = window.getComputedStyle(node, null);
5947
+ var transform = style2.getPropertyValue("transform") || style2.getPropertyValue(getTransformName());
5948
5948
  if (transform && transform !== "none") {
5949
5949
  var arr;
5950
5950
  var match2d = transform.match(matrix2d);
@@ -6070,13 +6070,13 @@ var PX$1 = "px";
6070
6070
  function _getComputedStyleIE(elem, name2) {
6071
6071
  var ret = elem[CURRENT_STYLE] && elem[CURRENT_STYLE][name2];
6072
6072
  if (_RE_NUM_NO_PX.test(ret) && !RE_POS.test(name2)) {
6073
- var style = elem.style;
6074
- var left = style[LEFT];
6073
+ var style2 = elem.style;
6074
+ var left = style2[LEFT];
6075
6075
  var rsLeft = elem[RUNTIME_STYLE][LEFT];
6076
6076
  elem[RUNTIME_STYLE][LEFT] = elem[CURRENT_STYLE][LEFT];
6077
- style[LEFT] = name2 === "fontSize" ? "1em" : ret || 0;
6078
- ret = style.pixelLeft + PX$1;
6079
- style[LEFT] = left;
6077
+ style2[LEFT] = name2 === "fontSize" ? "1em" : ret || 0;
6078
+ ret = style2.pixelLeft + PX$1;
6079
+ style2[LEFT] = left;
6080
6080
  elem[RUNTIME_STYLE][LEFT] = rsLeft;
6081
6081
  }
6082
6082
  return ret === "" ? "auto" : ret;
@@ -6214,18 +6214,18 @@ var BORDER_INDEX = 1;
6214
6214
  var MARGIN_INDEX = 0;
6215
6215
  function swap(elem, options, callback) {
6216
6216
  var old = {};
6217
- var style = elem.style;
6217
+ var style2 = elem.style;
6218
6218
  var name2;
6219
6219
  for (name2 in options) {
6220
6220
  if (options.hasOwnProperty(name2)) {
6221
- old[name2] = style[name2];
6222
- style[name2] = options[name2];
6221
+ old[name2] = style2[name2];
6222
+ style2[name2] = options[name2];
6223
6223
  }
6224
6224
  }
6225
6225
  callback.call(elem);
6226
6226
  for (name2 in options) {
6227
6227
  if (options.hasOwnProperty(name2)) {
6228
- style[name2] = old[name2];
6228
+ style2[name2] = old[name2];
6229
6229
  }
6230
6230
  }
6231
6231
  }
@@ -10118,16 +10118,16 @@ const ToolTip = defineComponent({
10118
10118
  const Tooltip = withInstall(ToolTip);
10119
10119
  function UnitNumber(_ref) {
10120
10120
  var prefixCls = _ref.prefixCls, value = _ref.value, current = _ref.current, _ref$offset = _ref.offset, offset3 = _ref$offset === void 0 ? 0 : _ref$offset;
10121
- var style;
10121
+ var style2;
10122
10122
  if (offset3) {
10123
- style = {
10123
+ style2 = {
10124
10124
  position: "absolute",
10125
10125
  top: "".concat(offset3, "00%"),
10126
10126
  left: 0
10127
10127
  };
10128
10128
  }
10129
10129
  return createVNode("p", {
10130
- "style": style,
10130
+ "style": style2,
10131
10131
  "class": classNames("".concat(prefixCls, "-only-unit"), {
10132
10132
  current
10133
10133
  })
@@ -10253,9 +10253,9 @@ const ScrollNumber = defineComponent({
10253
10253
  _b2.prefixCls;
10254
10254
  var count = _b2.count, title = _b2.title;
10255
10255
  _b2.show;
10256
- var _b$component = _b2.component, Tag = _b$component === void 0 ? "sup" : _b$component, className = _b2.class, style = _b2.style, restProps = __rest$8(_b2, ["prefixCls", "count", "title", "show", "component", "class", "style"]);
10256
+ var _b$component = _b2.component, Tag = _b$component === void 0 ? "sup" : _b$component, className = _b2.class, style2 = _b2.style, restProps = __rest$8(_b2, ["prefixCls", "count", "title", "show", "component", "class", "style"]);
10257
10257
  var newProps = _extends$1(_extends$1({}, restProps), {
10258
- style,
10258
+ style: style2,
10259
10259
  "data-show": props.show,
10260
10260
  class: classNames(prefixCls.value, className),
10261
10261
  title
@@ -10272,9 +10272,9 @@ const ScrollNumber = defineComponent({
10272
10272
  }, null);
10273
10273
  });
10274
10274
  }
10275
- if (style && style.borderColor) {
10276
- newProps.style = _extends$1(_extends$1({}, style), {
10277
- boxShadow: "0 0 0 1px ".concat(style.borderColor, " inset")
10275
+ if (style2 && style2.borderColor) {
10276
+ newProps.style = _extends$1(_extends$1({}, style2), {
10277
+ boxShadow: "0 0 0 1px ".concat(style2.borderColor, " inset")
10278
10278
  });
10279
10279
  }
10280
10280
  var children = filterEmpty((_a2 = slots.default) === null || _a2 === void 0 ? void 0 : _a2.call(slots));
@@ -10337,7 +10337,7 @@ const Ribbon = defineComponent({
10337
10337
  });
10338
10338
  return function() {
10339
10339
  var _a2, _b2;
10340
- var className = attrs.class, style = attrs.style, restAttrs = __rest$7(attrs, ["class", "style"]);
10340
+ var className = attrs.class, style2 = attrs.style, restAttrs = __rest$7(attrs, ["class", "style"]);
10341
10341
  var colorStyle = {};
10342
10342
  var cornerColorStyle = {};
10343
10343
  if (props.color && !colorInPreset.value) {
@@ -10348,7 +10348,7 @@ const Ribbon = defineComponent({
10348
10348
  "class": "".concat(prefixCls.value, "-wrapper")
10349
10349
  }, restAttrs), [(_a2 = slots.default) === null || _a2 === void 0 ? void 0 : _a2.call(slots), createVNode("div", {
10350
10350
  "class": [ribbonCls.value, className],
10351
- "style": _extends$1(_extends$1({}, colorStyle), style)
10351
+ "style": _extends$1(_extends$1({}, colorStyle), style2)
10352
10352
  }, [createVNode("span", {
10353
10353
  "class": "".concat(prefixCls.value, "-text")
10354
10354
  }, [props.text || ((_b2 = slots.text) === null || _b2 === void 0 ? void 0 : _b2.call(slots))]), createVNode("div", {
@@ -10462,7 +10462,7 @@ const Badge = defineComponent({
10462
10462
  var _classNames;
10463
10463
  var _a2, _b2;
10464
10464
  var offset3 = props.offset, title = props.title, color = props.color;
10465
- var style = attrs.style;
10465
+ var style2 = attrs.style;
10466
10466
  var text = getPropsSlot(slots, props, "text");
10467
10467
  var pre2 = prefixCls.value;
10468
10468
  var count = livingCount.value;
@@ -10471,7 +10471,7 @@ const Badge = defineComponent({
10471
10471
  var visible = !!(!isHidden2.value || slots.count);
10472
10472
  var mergedStyle = function() {
10473
10473
  if (!offset3) {
10474
- return _extends$1({}, style);
10474
+ return _extends$1({}, style2);
10475
10475
  }
10476
10476
  var offsetStyle = {
10477
10477
  marginTop: isNumeric$1(offset3[1]) ? "".concat(offset3[1], "px") : offset3[1]
@@ -10481,7 +10481,7 @@ const Badge = defineComponent({
10481
10481
  } else {
10482
10482
  offsetStyle.right = "".concat(-parseInt(offset3[0], 10), "px");
10483
10483
  }
10484
- return _extends$1(_extends$1({}, offsetStyle), style);
10484
+ return _extends$1(_extends$1({}, offsetStyle), style2);
10485
10485
  }();
10486
10486
  var titleNode = title !== null && title !== void 0 ? title : typeof count === "string" || typeof count === "number" ? count : void 0;
10487
10487
  var statusTextNode = visible || !text ? null : createVNode("span", {
@@ -10577,7 +10577,7 @@ var startEvents = [];
10577
10577
  var endEvents = [];
10578
10578
  function detectEvents() {
10579
10579
  var testEl = document.createElement("div");
10580
- var style = testEl.style;
10580
+ var style2 = testEl.style;
10581
10581
  if (!("AnimationEvent" in window)) {
10582
10582
  delete START_EVENT_NAME_MAP.animationstart.animation;
10583
10583
  delete END_EVENT_NAME_MAP.animationend.animation;
@@ -10591,7 +10591,7 @@ function detectEvents() {
10591
10591
  if (EVENT_NAME_MAP.hasOwnProperty(baseEventName)) {
10592
10592
  var baseEvents = EVENT_NAME_MAP[baseEventName];
10593
10593
  for (var styleName in baseEvents) {
10594
- if (styleName in style) {
10594
+ if (styleName in style2) {
10595
10595
  events.push(baseEvents[styleName]);
10596
10596
  break;
10597
10597
  }
@@ -12260,20 +12260,20 @@ var ARow = defineComponent({
12260
12260
  });
12261
12261
  var rowStyle = computed(function() {
12262
12262
  var gt2 = gutter.value;
12263
- var style = {};
12263
+ var style2 = {};
12264
12264
  var horizontalGutter = gt2[0] > 0 ? "".concat(gt2[0] / -2, "px") : void 0;
12265
12265
  var verticalGutter = gt2[1] > 0 ? "".concat(gt2[1] / -2, "px") : void 0;
12266
12266
  if (horizontalGutter) {
12267
- style.marginLeft = horizontalGutter;
12268
- style.marginRight = horizontalGutter;
12267
+ style2.marginLeft = horizontalGutter;
12268
+ style2.marginRight = horizontalGutter;
12269
12269
  }
12270
12270
  if (supportFlexGap.value) {
12271
- style.rowGap = "".concat(gt2[1], "px");
12271
+ style2.rowGap = "".concat(gt2[1], "px");
12272
12272
  } else if (verticalGutter) {
12273
- style.marginTop = verticalGutter;
12274
- style.marginBottom = verticalGutter;
12273
+ style2.marginTop = verticalGutter;
12274
+ style2.marginBottom = verticalGutter;
12275
12275
  }
12276
- return style;
12276
+ return style2;
12277
12277
  });
12278
12278
  return function() {
12279
12279
  var _a2;
@@ -12361,24 +12361,24 @@ const Col = defineComponent({
12361
12361
  var mergedStyle = computed(function() {
12362
12362
  var flex = props.flex;
12363
12363
  var gutterVal = gutter.value;
12364
- var style = {};
12364
+ var style2 = {};
12365
12365
  if (gutterVal && gutterVal[0] > 0) {
12366
12366
  var horizontalGutter = "".concat(gutterVal[0] / 2, "px");
12367
- style.paddingLeft = horizontalGutter;
12368
- style.paddingRight = horizontalGutter;
12367
+ style2.paddingLeft = horizontalGutter;
12368
+ style2.paddingRight = horizontalGutter;
12369
12369
  }
12370
12370
  if (gutterVal && gutterVal[1] > 0 && !supportFlexGap.value) {
12371
12371
  var verticalGutter = "".concat(gutterVal[1] / 2, "px");
12372
- style.paddingTop = verticalGutter;
12373
- style.paddingBottom = verticalGutter;
12372
+ style2.paddingTop = verticalGutter;
12373
+ style2.paddingBottom = verticalGutter;
12374
12374
  }
12375
12375
  if (flex) {
12376
- style.flex = parseFlex(flex);
12377
- if (wrap.value === false && !style.minWidth) {
12378
- style.minWidth = 0;
12376
+ style2.flex = parseFlex(flex);
12377
+ if (wrap.value === false && !style2.minWidth) {
12378
+ style2.minWidth = 0;
12379
12379
  }
12380
12380
  }
12381
- return style;
12381
+ return style2;
12382
12382
  });
12383
12383
  return function() {
12384
12384
  var _a2;
@@ -15216,7 +15216,7 @@ function t$1(t10) {
15216
15216
  function e$1(t10, e10) {
15217
15217
  return (!e10 || "hidden" !== t10) && "visible" !== t10 && "clip" !== t10;
15218
15218
  }
15219
- function n$2(t10, n10) {
15219
+ function n$1(t10, n10) {
15220
15220
  if (t10.clientHeight < t10.scrollHeight || t10.clientWidth < t10.scrollWidth) {
15221
15221
  var r2 = getComputedStyle(t10, null);
15222
15222
  return e$1(r2.overflowY, n10) || e$1(r2.overflowX, n10) || function(t11) {
@@ -15248,7 +15248,7 @@ function compute(e10, i2) {
15248
15248
  s10.push(p10);
15249
15249
  break;
15250
15250
  }
15251
- null != p10 && p10 === document.body && n$2(p10) && !n$2(document.documentElement) || null != p10 && n$2(p10, a2) && s10.push(p10);
15251
+ null != p10 && p10 === document.body && n$1(p10) && !n$1(document.documentElement) || null != p10 && n$1(p10, a2) && s10.push(p10);
15252
15252
  }
15253
15253
  for (var m10 = o2.visualViewport ? o2.visualViewport.width : innerWidth, g10 = o2.visualViewport ? o2.visualViewport.height : innerHeight, w10 = window.scrollX || pageXOffset, v10 = window.scrollY || pageYOffset, W8 = e10.getBoundingClientRect(), b10 = W8.height, H10 = W8.width, y10 = W8.top, E10 = W8.right, M10 = W8.bottom, V10 = W8.left, x10 = "start" === d10 || "nearest" === d10 ? y10 : "end" === d10 ? M10 : y10 + b10 / 2, I10 = "center" === u2 ? V10 + H10 / 2 : "end" === u2 ? E10 : V10, C10 = [], T10 = 0; T10 < s10.length; T10++) {
15254
15254
  var k10 = s10[T10], B10 = k10.getBoundingClientRect(), D10 = B10.height, O10 = B10.width, R10 = B10.top, X10 = B10.right, Y10 = B10.bottom, L10 = B10.left;
@@ -16139,16 +16139,16 @@ function getScrollBarSize(fresh) {
16139
16139
  }
16140
16140
  return cached;
16141
16141
  }
16142
- function setStyle(style) {
16142
+ function setStyle(style2) {
16143
16143
  var options = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
16144
16144
  var _options$element = options.element, element = _options$element === void 0 ? document.body : _options$element;
16145
16145
  var oldStyle = {};
16146
- var styleKeys = Object.keys(style);
16146
+ var styleKeys = Object.keys(style2);
16147
16147
  styleKeys.forEach(function(key2) {
16148
16148
  oldStyle[key2] = element.style[key2];
16149
16149
  });
16150
16150
  styleKeys.forEach(function(key2) {
16151
- element.style[key2] = style[key2];
16151
+ element.style[key2] = style2[key2];
16152
16152
  });
16153
16153
  return oldStyle;
16154
16154
  }
@@ -17260,12 +17260,12 @@ function calculateNodeStyling(node) {
17260
17260
  if (useCache && computedStyleCache[nodeRef]) {
17261
17261
  return computedStyleCache[nodeRef];
17262
17262
  }
17263
- var style = window.getComputedStyle(node);
17264
- var boxSizing = style.getPropertyValue("box-sizing") || style.getPropertyValue("-moz-box-sizing") || style.getPropertyValue("-webkit-box-sizing");
17265
- var paddingSize = parseFloat(style.getPropertyValue("padding-bottom")) + parseFloat(style.getPropertyValue("padding-top"));
17266
- var borderSize = parseFloat(style.getPropertyValue("border-bottom-width")) + parseFloat(style.getPropertyValue("border-top-width"));
17263
+ var style2 = window.getComputedStyle(node);
17264
+ var boxSizing = style2.getPropertyValue("box-sizing") || style2.getPropertyValue("-moz-box-sizing") || style2.getPropertyValue("-webkit-box-sizing");
17265
+ var paddingSize = parseFloat(style2.getPropertyValue("padding-bottom")) + parseFloat(style2.getPropertyValue("padding-top"));
17266
+ var borderSize = parseFloat(style2.getPropertyValue("border-bottom-width")) + parseFloat(style2.getPropertyValue("border-top-width"));
17267
17267
  var sizingStyle = SIZING_STYLE.map(function(name2) {
17268
- return "".concat(name2, ":").concat(style.getPropertyValue(name2));
17268
+ return "".concat(name2, ":").concat(style2.getPropertyValue(name2));
17269
17269
  }).join(";");
17270
17270
  var nodeInfo = {
17271
17271
  sizingStyle,
@@ -17396,12 +17396,12 @@ var ResizableTextArea = defineComponent({
17396
17396
  var prefixCls = props.prefixCls, autoSize = props.autoSize, autosize = props.autosize, disabled = props.disabled;
17397
17397
  var otherProps = omit$3(props, ["prefixCls", "onPressEnter", "autoSize", "autosize", "defaultValue", "allowClear", "type", "lazy", "maxlength", "valueModifiers"]);
17398
17398
  var cls = classNames(prefixCls, attrs.class, _defineProperty$q({}, "".concat(prefixCls, "-disabled"), disabled));
17399
- var style = [attrs.style, textareaStyles.value, resizeStatus.value === RESIZE_STATUS_RESIZING ? {
17399
+ var style2 = [attrs.style, textareaStyles.value, resizeStatus.value === RESIZE_STATUS_RESIZING ? {
17400
17400
  overflowX: "hidden",
17401
17401
  overflowY: "hidden"
17402
17402
  } : null];
17403
17403
  var textareaProps = _extends$1(_extends$1(_extends$1({}, otherProps), attrs), {
17404
- style,
17404
+ style: style2,
17405
17405
  class: cls
17406
17406
  });
17407
17407
  if (!textareaProps.autofocus) {
@@ -17572,10 +17572,10 @@ const TextArea = defineComponent({
17572
17572
  var renderTextArea = function renderTextArea2() {
17573
17573
  var _class;
17574
17574
  var _a2, _b2;
17575
- var style = attrs.style, customClass = attrs.class;
17575
+ var style2 = attrs.style, customClass = attrs.class;
17576
17576
  var _props$bordered = props.bordered, bordered = _props$bordered === void 0 ? true : _props$bordered;
17577
17577
  var resizeProps = _extends$1(_extends$1(_extends$1({}, omit$3(props, ["allowClear"])), attrs), {
17578
- style: showCount.value ? {} : style,
17578
+ style: showCount.value ? {} : style2,
17579
17579
  class: (_class = {}, _defineProperty$q(_class, "".concat(prefixCls.value, "-borderless"), !bordered), _defineProperty$q(_class, "".concat(customClass), customClass && !showCount.value), _defineProperty$q(_class, "".concat(prefixCls.value, "-sm"), size.value === "small"), _defineProperty$q(_class, "".concat(prefixCls.value, "-lg"), size.value === "large"), _class),
17580
17580
  showCount: null,
17581
17581
  prefixCls: prefixCls.value,
@@ -17616,14 +17616,14 @@ const TextArea = defineComponent({
17616
17616
  });
17617
17617
  return function() {
17618
17618
  var maxlength = props.maxlength, _props$bordered2 = props.bordered, bordered = _props$bordered2 === void 0 ? true : _props$bordered2, hidden = props.hidden;
17619
- var style = attrs.style, customClass = attrs.class;
17619
+ var style2 = attrs.style, customClass = attrs.class;
17620
17620
  var inputProps3 = _extends$1(_extends$1(_extends$1({}, props), attrs), {
17621
17621
  prefixCls: prefixCls.value,
17622
17622
  inputType: "text",
17623
17623
  handleReset,
17624
17624
  direction: direction.value,
17625
17625
  bordered,
17626
- style: showCount.value ? void 0 : style
17626
+ style: showCount.value ? void 0 : style2
17627
17627
  });
17628
17628
  var textareaNode = createVNode(ClearableLabeledInput, _objectSpread2$1(_objectSpread2$1({}, inputProps3), {}, {
17629
17629
  "value": mergedValue.value
@@ -17644,7 +17644,7 @@ const TextArea = defineComponent({
17644
17644
  textareaNode = createVNode("div", {
17645
17645
  "hidden": hidden,
17646
17646
  "class": classNames("".concat(prefixCls.value, "-textarea"), _defineProperty$q({}, "".concat(prefixCls.value, "-textarea-rtl"), direction.value === "rtl"), "".concat(prefixCls.value, "-textarea-show-count"), customClass),
17647
- "style": style,
17647
+ "style": style2,
17648
17648
  "data-count": _typeof$2(dataCount) !== "object" ? dataCount : void 0
17649
17649
  }, [textareaNode]);
17650
17650
  }
@@ -18146,7 +18146,7 @@ const Dialog = defineComponent({
18146
18146
  });
18147
18147
  return function() {
18148
18148
  var prefixCls = props.prefixCls, mask = props.mask, visible = props.visible, maskTransitionName = props.maskTransitionName, maskAnimation = props.maskAnimation, zIndex = props.zIndex, wrapClassName = props.wrapClassName, rootClassName = props.rootClassName, wrapStyle = props.wrapStyle, closable = props.closable, maskProps = props.maskProps, maskStyle = props.maskStyle, transitionName2 = props.transitionName, animation = props.animation, wrapProps = props.wrapProps, _props$title = props.title, title = _props$title === void 0 ? slots.title : _props$title;
18149
- var style = attrs.style, className = attrs.class;
18149
+ var style2 = attrs.style, className = attrs.class;
18150
18150
  return createVNode("div", _objectSpread2$1({
18151
18151
  "class": ["".concat(prefixCls, "-root"), rootClassName]
18152
18152
  }, pickAttrs(props, {
@@ -18173,7 +18173,7 @@ const Dialog = defineComponent({
18173
18173
  display: !animatedVisible.value ? "none" : null
18174
18174
  })
18175
18175
  }, wrapProps), [createVNode(Content, _objectSpread2$1(_objectSpread2$1({}, omit$3(props, ["scrollLocker"])), {}, {
18176
- "style": style,
18176
+ "style": style2,
18177
18177
  "class": className,
18178
18178
  "onMousedown": onContentMouseDown,
18179
18179
  "onMouseup": onContentMouseUp,
@@ -18546,7 +18546,7 @@ const ConfirmDialog = defineComponent({
18546
18546
  var okType = props.okType || "primary";
18547
18547
  var prefixCls = props.prefixCls || "ant-modal";
18548
18548
  var contentPrefixCls = "".concat(prefixCls, "-confirm");
18549
- var style = attrs.style || {};
18549
+ var style2 = attrs.style || {};
18550
18550
  var okText = renderSomeContent(props.okText) || (okCancel ? locale2.value.okText : locale2.value.justOkText);
18551
18551
  var cancelText = renderSomeContent(props.cancelText) || locale2.value.cancelText;
18552
18552
  var autoFocusButton = props.autoFocusButton === null ? false : props.autoFocusButton || "ok";
@@ -18579,7 +18579,7 @@ const ConfirmDialog = defineComponent({
18579
18579
  "mask": mask,
18580
18580
  "maskClosable": maskClosable,
18581
18581
  "maskStyle": maskStyle,
18582
- "style": style,
18582
+ "style": style2,
18583
18583
  "bodyStyle": bodyStyle,
18584
18584
  "width": width,
18585
18585
  "zIndex": zIndex,
@@ -20279,7 +20279,7 @@ const ListItem = defineComponent({
20279
20279
  var _infoUploadingClass, _listContainerNameCla;
20280
20280
  var _a2, _b2;
20281
20281
  var prefixCls = props.prefixCls, locale2 = props.locale, listType = props.listType, file = props.file, items = props.items, progressProps3 = props.progress, _props$iconRender = props.iconRender, iconRender = _props$iconRender === void 0 ? slots.iconRender : _props$iconRender, _props$actionIconRend = props.actionIconRender, actionIconRender = _props$actionIconRend === void 0 ? slots.actionIconRender : _props$actionIconRend, _props$itemRender = props.itemRender, itemRender = _props$itemRender === void 0 ? slots.itemRender : _props$itemRender, isImgUrl = props.isImgUrl, showPreviewIcon = props.showPreviewIcon, showRemoveIcon = props.showRemoveIcon, showDownloadIcon = props.showDownloadIcon, _props$previewIcon = props.previewIcon, customPreviewIcon = _props$previewIcon === void 0 ? slots.previewIcon : _props$previewIcon, _props$removeIcon = props.removeIcon, customRemoveIcon = _props$removeIcon === void 0 ? slots.removeIcon : _props$removeIcon, _props$downloadIcon = props.downloadIcon, customDownloadIcon = _props$downloadIcon === void 0 ? slots.downloadIcon : _props$downloadIcon, onPreview = props.onPreview, onDownload = props.onDownload, onClose = props.onClose;
20282
- var className = attrs.class, style = attrs.style;
20282
+ var className = attrs.class, style2 = attrs.style;
20283
20283
  var spanClassName = "".concat(prefixCls, "-span");
20284
20284
  var iconNode = iconRender({
20285
20285
  file
@@ -20416,7 +20416,7 @@ const ListItem = defineComponent({
20416
20416
  }) : dom;
20417
20417
  return createVNode("div", {
20418
20418
  "class": listContainerNameClass,
20419
- "style": style,
20419
+ "style": style2,
20420
20420
  "ref": ref
20421
20421
  }, [itemRender ? itemRender({
20422
20422
  originNode: item,
@@ -20968,10 +20968,10 @@ const Dragger = defineComponent({
20968
20968
  var slots = _ref.slots, attrs = _ref.attrs;
20969
20969
  return function() {
20970
20970
  var height = props.height, restProps = __rest(props, ["height"]);
20971
- var style = attrs.style, restAttrs = __rest(attrs, ["style"]);
20971
+ var style2 = attrs.style, restAttrs = __rest(attrs, ["style"]);
20972
20972
  var draggerProps = _extends$1(_extends$1(_extends$1({}, restProps), restAttrs), {
20973
20973
  type: "drag",
20974
- style: _extends$1(_extends$1({}, style), {
20974
+ style: _extends$1(_extends$1({}, style2), {
20975
20975
  height: typeof height === "number" ? "".concat(height, "px") : height
20976
20976
  })
20977
20977
  });
@@ -20993,7 +20993,7 @@ const index$a = "";
20993
20993
  const index$9 = "";
20994
20994
  const index$8 = "";
20995
20995
  const index$7 = "";
20996
- const _sfc_main$3 = /* @__PURE__ */ defineComponent({
20996
+ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
20997
20997
  __name: "MrpModal",
20998
20998
  props: {
20999
20999
  show: {
@@ -27966,15 +27966,15 @@ var e = "undefined" != typeof globalThis ? globalThis : "undefined" != typeof wi
27966
27966
  function t(e10) {
27967
27967
  return e10 && e10.__esModule && Object.prototype.hasOwnProperty.call(e10, "default") ? e10.default : e10;
27968
27968
  }
27969
- function n$1(e10) {
27969
+ function n(e10) {
27970
27970
  var t10 = { exports: {} };
27971
27971
  return e10(t10, t10.exports), t10.exports;
27972
27972
  }
27973
- var r, o, i$1 = function(e10) {
27973
+ var r, o, i = function(e10) {
27974
27974
  return e10 && e10.Math == Math && e10;
27975
- }, a$1 = i$1("object" == typeof globalThis && globalThis) || i$1("object" == typeof window && window) || i$1("object" == typeof self && self) || i$1("object" == typeof e && e) || function() {
27975
+ }, a = i("object" == typeof globalThis && globalThis) || i("object" == typeof window && window) || i("object" == typeof self && self) || i("object" == typeof e && e) || function() {
27976
27976
  return this;
27977
- }() || Function("return this")(), u$1 = Function.prototype, s = u$1.apply, l = u$1.bind, c = u$1.call, f = "object" == typeof Reflect && Reflect.apply || (l ? c.bind(s) : function() {
27977
+ }() || Function("return this")(), u = Function.prototype, s = u.apply, l = u.bind, c = u.call, f = "object" == typeof Reflect && Reflect.apply || (l ? c.bind(s) : function() {
27978
27978
  return c.apply(s, arguments);
27979
27979
  }), d = Function.prototype, p = d.bind, h = d.call, g = p && p.bind(h), v = p ? function(e10) {
27980
27980
  return e10 && g(h, e10);
@@ -28003,11 +28003,11 @@ var r, o, i$1 = function(e10) {
28003
28003
  return { enumerable: !(1 & e10), configurable: !(2 & e10), writable: !(4 & e10), value: t10 };
28004
28004
  }, O = v({}.toString), k = v("".slice), B = function(e10) {
28005
28005
  return k(O(e10), 8, -1);
28006
- }, F = a$1.Object, T = v("".split), _ = m(function() {
28006
+ }, F = a.Object, T = v("".split), _ = m(function() {
28007
28007
  return !F("z").propertyIsEnumerable(0);
28008
28008
  }) ? function(e10) {
28009
28009
  return "String" == B(e10) ? T(e10, "") : F(e10);
28010
- } : F, P = a$1.TypeError, j = function(e10) {
28010
+ } : F, P = a.TypeError, j = function(e10) {
28011
28011
  if (null == e10)
28012
28012
  throw P("Can't call method on " + e10);
28013
28013
  return e10;
@@ -28018,54 +28018,54 @@ var r, o, i$1 = function(e10) {
28018
28018
  }, L = {}, R = function(e10) {
28019
28019
  return y(e10) ? e10 : void 0;
28020
28020
  }, M = function(e10, t10) {
28021
- return arguments.length < 2 ? R(L[e10]) || R(a$1[e10]) : L[e10] && L[e10][t10] || a$1[e10] && a$1[e10][t10];
28022
- }, z = v({}.isPrototypeOf), $ = M("navigator", "userAgent") || "", H = a$1.process, V = a$1.Deno, U = H && H.versions || V && V.version, W = U && U.v8;
28021
+ return arguments.length < 2 ? R(L[e10]) || R(a[e10]) : L[e10] && L[e10][t10] || a[e10] && a[e10][t10];
28022
+ }, z = v({}.isPrototypeOf), $ = M("navigator", "userAgent") || "", H = a.process, V = a.Deno, U = H && H.versions || V && V.version, W = U && U.v8;
28023
28023
  W && (o = (r = W.split("."))[0] > 0 && r[0] < 4 ? 1 : +(r[0] + r[1])), !o && $ && (!(r = $.match(/Edge\/(\d+)/)) || r[1] >= 74) && (r = $.match(/Chrome\/(\d+)/)) && (o = +r[1]);
28024
28024
  var G, q = o, K = !!Object.getOwnPropertySymbols && !m(function() {
28025
28025
  var e10 = Symbol();
28026
28026
  return !String(e10) || !(Object(e10) instanceof Symbol) || !Symbol.sham && q && q < 41;
28027
- }), Y = K && !Symbol.sham && "symbol" == typeof Symbol.iterator, X = a$1.Object, Z = Y ? function(e10) {
28027
+ }), Y = K && !Symbol.sham && "symbol" == typeof Symbol.iterator, X = a.Object, Z = Y ? function(e10) {
28028
28028
  return "symbol" == typeof e10;
28029
28029
  } : function(e10) {
28030
28030
  var t10 = M("Symbol");
28031
28031
  return y(t10) && z(t10.prototype, X(e10));
28032
- }, J = a$1.String, Q = function(e10) {
28032
+ }, J = a.String, Q = function(e10) {
28033
28033
  try {
28034
28034
  return J(e10);
28035
28035
  } catch (e11) {
28036
28036
  return "Object";
28037
28037
  }
28038
- }, ee = a$1.TypeError, te = function(e10) {
28038
+ }, ee = a.TypeError, te = function(e10) {
28039
28039
  if (y(e10))
28040
28040
  return e10;
28041
28041
  throw ee(Q(e10) + " is not a function");
28042
28042
  }, ne = function(e10, t10) {
28043
28043
  var n10 = e10[t10];
28044
28044
  return null == n10 ? void 0 : te(n10);
28045
- }, re = a$1.TypeError, oe = Object.defineProperty, ie = a$1["__core-js_shared__"] || function(e10, t10) {
28045
+ }, re = a.TypeError, oe = Object.defineProperty, ie = a["__core-js_shared__"] || function(e10, t10) {
28046
28046
  try {
28047
- oe(a$1, e10, { value: t10, configurable: true, writable: true });
28047
+ oe(a, e10, { value: t10, configurable: true, writable: true });
28048
28048
  } catch (n10) {
28049
- a$1[e10] = t10;
28049
+ a[e10] = t10;
28050
28050
  }
28051
28051
  return t10;
28052
- }("__core-js_shared__", {}), ae = n$1(function(e10) {
28052
+ }("__core-js_shared__", {}), ae = n(function(e10) {
28053
28053
  (e10.exports = function(e11, t10) {
28054
28054
  return ie[e11] || (ie[e11] = void 0 !== t10 ? t10 : {});
28055
28055
  })("versions", []).push({ version: "3.19.3", mode: "pure", copyright: "© 2021 Denis Pushkarev (zloirock.ru)" });
28056
- }), ue = a$1.Object, se = function(e10) {
28056
+ }), ue = a.Object, se = function(e10) {
28057
28057
  return ue(j(e10));
28058
28058
  }, le = v({}.hasOwnProperty), ce = Object.hasOwn || function(e10, t10) {
28059
28059
  return le(se(e10), t10);
28060
28060
  }, fe = 0, de = Math.random(), pe = v(1 .toString), he = function(e10) {
28061
28061
  return "Symbol(" + (void 0 === e10 ? "" : e10) + ")_" + pe(++fe + de, 36);
28062
- }, ge = ae("wks"), ve = a$1.Symbol, ye = ve && ve.for, me = Y ? ve : ve && ve.withoutSetter || he, be = function(e10) {
28062
+ }, ge = ae("wks"), ve = a.Symbol, ye = ve && ve.for, me = Y ? ve : ve && ve.withoutSetter || he, be = function(e10) {
28063
28063
  if (!ce(ge, e10) || !K && "string" != typeof ge[e10]) {
28064
28064
  var t10 = "Symbol." + e10;
28065
28065
  K && ce(ve, e10) ? ge[e10] = ve[e10] : ge[e10] = Y && ye ? ye(t10) : me(t10);
28066
28066
  }
28067
28067
  return ge[e10];
28068
- }, we = a$1.TypeError, Ee = be("toPrimitive"), De = function(e10, t10) {
28068
+ }, we = a.TypeError, Ee = be("toPrimitive"), De = function(e10, t10) {
28069
28069
  if (!I(e10) || Z(e10))
28070
28070
  return e10;
28071
28071
  var n10, r2 = ne(e10, Ee);
@@ -28087,7 +28087,7 @@ var G, q = o, K = !!Object.getOwnPropertySymbols && !m(function() {
28087
28087
  }, Se = function(e10) {
28088
28088
  var t10 = De(e10, "string");
28089
28089
  return Z(t10) ? t10 : t10 + "";
28090
- }, xe = a$1.document, Ce = I(xe) && I(xe.createElement), Ae = function(e10) {
28090
+ }, xe = a.document, Ce = I(xe) && I(xe.createElement), Ae = function(e10) {
28091
28091
  return Ce ? xe.createElement(e10) : {};
28092
28092
  }, Oe = !b && !m(function() {
28093
28093
  return 7 != Object.defineProperty(Ae("div"), "a", { get: function() {
@@ -28110,11 +28110,11 @@ var G, q = o, K = !!Object.getOwnPropertySymbols && !m(function() {
28110
28110
  return te(e10), void 0 === t10 ? e10 : Re ? Re(e10, t10) : function() {
28111
28111
  return e10.apply(t10, arguments);
28112
28112
  };
28113
- }, ze = a$1.String, $e = a$1.TypeError, He = function(e10) {
28113
+ }, ze = a.String, $e = a.TypeError, He = function(e10) {
28114
28114
  if (I(e10))
28115
28115
  return e10;
28116
28116
  throw $e(ze(e10) + " is not an object");
28117
- }, Ve = a$1.TypeError, Ue = Object.defineProperty, We = b ? Ue : function(e10, t10, n10) {
28117
+ }, Ve = a.TypeError, Ue = Object.defineProperty, We = b ? Ue : function(e10, t10, n10) {
28118
28118
  if (He(e10), t10 = Se(t10), He(n10), Oe)
28119
28119
  try {
28120
28120
  return Ue(e10, t10, n10);
@@ -28144,22 +28144,22 @@ var G, q = o, K = !!Object.getOwnPropertySymbols && !m(function() {
28144
28144
  };
28145
28145
  return t10.prototype = e10.prototype, t10;
28146
28146
  }, Xe = function(e10, t10) {
28147
- var n10, r2, o2, i2, u2, s10, l10, c10, f10 = e10.target, d10 = e10.global, p10 = e10.stat, h10 = e10.proto, g10 = d10 ? a$1 : p10 ? a$1[f10] : (a$1[f10] || {}).prototype, m10 = d10 ? L : L[f10] || qe(L, f10, {})[f10], b10 = m10.prototype;
28147
+ var n10, r2, o2, i2, u2, s10, l10, c10, f10 = e10.target, d10 = e10.global, p10 = e10.stat, h10 = e10.proto, g10 = d10 ? a : p10 ? a[f10] : (a[f10] || {}).prototype, m10 = d10 ? L : L[f10] || qe(L, f10, {})[f10], b10 = m10.prototype;
28148
28148
  for (o2 in t10)
28149
- n10 = !Le(d10 ? o2 : f10 + (p10 ? "." : "#") + o2, e10.forced) && g10 && ce(g10, o2), u2 = m10[o2], n10 && (s10 = e10.noTargetGet ? (c10 = Ke(g10, o2)) && c10.value : g10[o2]), i2 = n10 && s10 ? s10 : t10[o2], n10 && typeof u2 == typeof i2 || (l10 = e10.bind && n10 ? Me(i2, a$1) : e10.wrap && n10 ? Ye(i2) : h10 && y(i2) ? v(i2) : i2, (e10.sham || i2 && i2.sham || u2 && u2.sham) && qe(l10, "sham", true), qe(m10, o2, l10), h10 && (ce(L, r2 = f10 + "Prototype") || qe(L, r2, {}), qe(L[r2], o2, i2), e10.real && b10 && !b10[o2] && qe(b10, o2, i2)));
28149
+ n10 = !Le(d10 ? o2 : f10 + (p10 ? "." : "#") + o2, e10.forced) && g10 && ce(g10, o2), u2 = m10[o2], n10 && (s10 = e10.noTargetGet ? (c10 = Ke(g10, o2)) && c10.value : g10[o2]), i2 = n10 && s10 ? s10 : t10[o2], n10 && typeof u2 == typeof i2 || (l10 = e10.bind && n10 ? Me(i2, a) : e10.wrap && n10 ? Ye(i2) : h10 && y(i2) ? v(i2) : i2, (e10.sham || i2 && i2.sham || u2 && u2.sham) && qe(l10, "sham", true), qe(m10, o2, l10), h10 && (ce(L, r2 = f10 + "Prototype") || qe(L, r2, {}), qe(L[r2], o2, i2), e10.real && b10 && !b10[o2] && qe(b10, o2, i2)));
28150
28150
  }, Ze = ae("keys"), Je = function(e10) {
28151
28151
  return Ze[e10] || (Ze[e10] = he(e10));
28152
28152
  }, Qe = !m(function() {
28153
28153
  function e10() {
28154
28154
  }
28155
28155
  return e10.prototype.constructor = null, Object.getPrototypeOf(new e10()) !== e10.prototype;
28156
- }), et = Je("IE_PROTO"), tt = a$1.Object, nt = tt.prototype, rt = Qe ? tt.getPrototypeOf : function(e10) {
28156
+ }), et = Je("IE_PROTO"), tt = a.Object, nt = tt.prototype, rt = Qe ? tt.getPrototypeOf : function(e10) {
28157
28157
  var t10 = se(e10);
28158
28158
  if (ce(t10, et))
28159
28159
  return t10[et];
28160
28160
  var n10 = t10.constructor;
28161
28161
  return y(n10) && t10 instanceof n10 ? n10.prototype : t10 instanceof tt ? nt : null;
28162
- }, ot = a$1.String, it = a$1.TypeError, at = Object.setPrototypeOf || ("__proto__" in {} ? function() {
28162
+ }, ot = a.String, it = a.TypeError, at = Object.setPrototypeOf || ("__proto__" in {} ? function() {
28163
28163
  var e10, t10 = false, n10 = {};
28164
28164
  try {
28165
28165
  (e10 = v(Object.getOwnPropertyDescriptor(Object.prototype, "__proto__").set))(n10, []), t10 = n10 instanceof Array;
@@ -28238,7 +28238,7 @@ var It = Object.create || function(e10, t10) {
28238
28238
  }, Lt = function(e10, t10, n10) {
28239
28239
  var r2 = Se(t10);
28240
28240
  r2 in e10 ? Ge.f(e10, r2, A(0, n10)) : e10[r2] = n10;
28241
- }, Rt = a$1.Array, Mt = Math.max, zt = function(e10, t10, n10) {
28241
+ }, Rt = a.Array, Mt = Math.max, zt = function(e10, t10, n10) {
28242
28242
  for (var r2 = ht(e10), o2 = dt(t10, r2), i2 = dt(void 0 === n10 ? r2 : n10, r2), a2 = Rt(Mt(i2 - o2, 0)), u2 = 0; o2 < i2; o2++, u2++)
28243
28243
  Lt(a2, u2, e10[o2]);
28244
28244
  return a2.length = u2, a2;
@@ -28255,7 +28255,7 @@ var It = Object.create || function(e10, t10) {
28255
28255
  I(t10) && "cause" in t10 && qe(e10, "cause", t10.cause);
28256
28256
  }, Xt = {}, Zt = be("iterator"), Jt = Array.prototype, Qt = {};
28257
28257
  Qt[be("toStringTag")] = "z";
28258
- var en = "[object z]" === String(Qt), tn = be("toStringTag"), nn = a$1.Object, rn = "Arguments" == B(function() {
28258
+ var en = "[object z]" === String(Qt), tn = be("toStringTag"), nn = a.Object, rn = "Arguments" == B(function() {
28259
28259
  return arguments;
28260
28260
  }()), on = en ? B : function(e10) {
28261
28261
  var t10, n10, r2;
@@ -28268,7 +28268,7 @@ var en = "[object z]" === String(Qt), tn = be("toStringTag"), nn = a$1.Object, r
28268
28268
  }, an = be("iterator"), un = function(e10) {
28269
28269
  if (null != e10)
28270
28270
  return ne(e10, an) || ne(e10, "@@iterator") || Xt[on(e10)];
28271
- }, sn = a$1.TypeError, ln = function(e10, t10, n10) {
28271
+ }, sn = a.TypeError, ln = function(e10, t10, n10) {
28272
28272
  var r2, o2;
28273
28273
  He(e10);
28274
28274
  try {
@@ -28286,7 +28286,7 @@ var en = "[object z]" === String(Qt), tn = be("toStringTag"), nn = a$1.Object, r
28286
28286
  if (o2)
28287
28287
  throw r2;
28288
28288
  return He(r2), n10;
28289
- }, cn = a$1.TypeError, fn = function(e10, t10) {
28289
+ }, cn = a.TypeError, fn = function(e10, t10) {
28290
28290
  this.stopped = e10, this.result = t10;
28291
28291
  }, dn = fn.prototype, pn = function(e10, t10, n10) {
28292
28292
  var r2, o2, i2, a2, u2, s10, l10, c10 = n10 && n10.that, f10 = !(!n10 || !n10.AS_ENTRIES), d10 = !(!n10 || !n10.IS_ITERATOR), p10 = !(!n10 || !n10.INTERRUPTED), h10 = Me(t10, c10), g10 = function(e11) {
@@ -28324,7 +28324,7 @@ var en = "[object z]" === String(Qt), tn = be("toStringTag"), nn = a$1.Object, r
28324
28324
  return u2;
28325
28325
  }
28326
28326
  return new fn(false);
28327
- }, hn = a$1.String, gn = function(e10) {
28327
+ }, hn = a.String, gn = function(e10) {
28328
28328
  if ("Symbol" === on(e10))
28329
28329
  throw TypeError("Cannot convert a Symbol value to a string");
28330
28330
  return hn(e10);
@@ -28333,7 +28333,7 @@ var en = "[object z]" === String(Qt), tn = be("toStringTag"), nn = a$1.Object, r
28333
28333
  }, yn = !m(function() {
28334
28334
  var e10 = Error("a");
28335
28335
  return !("stack" in e10) || (Object.defineProperty(e10, "stack", A(1, 7)), 7 !== e10.stack);
28336
- }), mn = be("toStringTag"), bn = a$1.Error, wn = [].push, En = function(e10, t10) {
28336
+ }), mn = be("toStringTag"), bn = a.Error, wn = [].push, En = function(e10, t10) {
28337
28337
  var n10, r2 = arguments.length > 2 ? arguments[2] : void 0, o2 = z(Dn, this);
28338
28338
  at ? n10 = at(new bn(void 0), o2 ? rt(this) : Dn) : (n10 = o2 ? this : It(Dn), qe(n10, mn, "Error")), qe(n10, "message", vn(t10, "")), yn && qe(n10, "stack", Kt(n10.stack, 1)), Yt(n10, r2);
28339
28339
  var i2 = [];
@@ -28351,7 +28351,7 @@ var Sn = v(Function.toString);
28351
28351
  y(ie.inspectSource) || (ie.inspectSource = function(e10) {
28352
28352
  return Sn(e10);
28353
28353
  });
28354
- var xn, Cn, An, On = ie.inspectSource, kn = a$1.WeakMap, Bn = y(kn) && /native code/.test(On(kn)), Fn = a$1.TypeError, Tn = a$1.WeakMap;
28354
+ var xn, Cn, An, On = ie.inspectSource, kn = a.WeakMap, Bn = y(kn) && /native code/.test(On(kn)), Fn = a.TypeError, Tn = a.WeakMap;
28355
28355
  if (Bn || ie.state) {
28356
28356
  var _n = ie.state || (ie.state = new Tn()), Pn = v(_n.get), jn = v(_n.has), Nn = v(_n.set);
28357
28357
  xn = function(e10, t10) {
@@ -28459,7 +28459,7 @@ ar(String, "String", function(e10) {
28459
28459
  });
28460
28460
  var vr = L.AggregateError, yr = be("toStringTag");
28461
28461
  for (var mr in { CSSRuleList: 0, CSSStyleDeclaration: 0, CSSValueList: 0, ClientRectList: 0, DOMRectList: 0, DOMStringList: 0, DOMTokenList: 1, DataTransferItemList: 0, FileList: 0, HTMLAllCollection: 0, HTMLCollection: 0, HTMLFormElement: 0, HTMLSelectElement: 0, MediaList: 0, MimeTypeArray: 0, NamedNodeMap: 0, NodeList: 1, PaintRequestList: 0, Plugin: 0, PluginArray: 0, SVGLengthList: 0, SVGNumberList: 0, SVGPathSegList: 0, SVGPointList: 0, SVGStringList: 0, SVGTransformList: 0, SourceBufferList: 0, StyleSheetList: 0, TextTrackCueList: 0, TextTrackList: 0, TouchList: 0 }) {
28462
- var br = a$1[mr], wr = br && br.prototype;
28462
+ var br = a[mr], wr = br && br.prototype;
28463
28463
  wr && on(wr) !== yr && qe(wr, yr, mr), Xt[mr] = Xt.Array;
28464
28464
  }
28465
28465
  var Er, Dr, Sr = vr, xr = function(e10) {
@@ -28539,7 +28539,7 @@ var io = Dr, ao = !!Object.getOwnPropertySymbols && !Ar(function() {
28539
28539
  Cr[e10] = t10;
28540
28540
  }
28541
28541
  return t10;
28542
- }, bo = Cr["__core-js_shared__"] || mo("__core-js_shared__", {}), wo = n$1(function(e10) {
28542
+ }, bo = Cr["__core-js_shared__"] || mo("__core-js_shared__", {}), wo = n(function(e10) {
28543
28543
  (e10.exports = function(e11, t10) {
28544
28544
  return bo[e11] || (bo[e11] = void 0 !== t10 ? t10 : {});
28545
28545
  })("versions", []).push({ version: "3.19.3", mode: "global", copyright: "© 2021 Denis Pushkarev (zloirock.ru)" });
@@ -28648,7 +28648,7 @@ var vi = { set: ei, get: ti, has: ni, enforce: function(e10) {
28648
28648
  return n10;
28649
28649
  };
28650
28650
  } }, yi = Function.prototype, mi = Or && Object.getOwnPropertyDescriptor, bi = xo(yi, "name"), wi = { EXISTS: bi, PROPER: bi && "something" === (function() {
28651
- }).name, CONFIGURABLE: bi && (!Or || Or && mi(yi, "name").configurable) }, Ei = n$1(function(e10) {
28651
+ }).name, CONFIGURABLE: bi && (!Or || Or && mi(yi, "name").configurable) }, Ei = n(function(e10) {
28652
28652
  var t10 = wi.CONFIGURABLE, n10 = vi.get, r2 = vi.enforce, o2 = String(String).split("String");
28653
28653
  (e10.exports = function(e11, n11, i2, a2) {
28654
28654
  var u2, s10 = !!a2 && !!a2.unsafe, l10 = !!a2 && !!a2.enumerable, c10 = !!a2 && !!a2.noTargetGet, f10 = a2 && void 0 !== a2.name ? a2.name : n11;
@@ -29090,12 +29090,12 @@ var Ds, Ss = Array.isArray || function(e10) {
29090
29090
  return false;
29091
29091
  }
29092
29092
  return Bs || !!ks(Os, On(e10));
29093
- } : Fs, _s = be("species"), Ps = a$1.Array, js = function(e10, t10) {
29093
+ } : Fs, _s = be("species"), Ps = a.Array, js = function(e10, t10) {
29094
29094
  return new (function(e11) {
29095
29095
  var t11;
29096
29096
  return Ss(e11) && (t11 = e11.constructor, (Ts(t11) && (t11 === Ps || Ss(t11.prototype)) || I(t11) && null === (t11 = t11[_s])) && (t11 = void 0)), void 0 === t11 ? Ps : t11;
29097
29097
  }(e10))(0 === t10 ? 0 : t10);
29098
- }, Ns = be("species"), Is = be("isConcatSpreadable"), Ls = a$1.TypeError, Rs = q >= 51 || !m(function() {
29098
+ }, Ns = be("species"), Is = be("isConcatSpreadable"), Ls = a.TypeError, Rs = q >= 51 || !m(function() {
29099
29099
  var e10 = [];
29100
29100
  return e10[Is] = false, e10.concat()[0] !== e10;
29101
29101
  }), Ms = (Ds = "concat", q >= 51 || !m(function() {
@@ -29162,7 +29162,7 @@ var $s = xt.f, Hs = "object" == typeof window && window && Object.getOwnProperty
29162
29162
  }
29163
29163
  return i2 ? -1 : r2 || o2 ? o2 : w10;
29164
29164
  };
29165
- }, Xs = { forEach: Ys(0), map: Ys(1), filter: Ys(2), some: Ys(3), every: Ys(4), find: Ys(5), findIndex: Ys(6), filterReject: Ys(7) }.forEach, Zs = Je("hidden"), Js = be("toPrimitive"), Qs = zn.set, el = zn.getterFor("Symbol"), tl = Object.prototype, nl = a$1.Symbol, rl = nl && nl.prototype, ol = a$1.TypeError, il = a$1.QObject, al = M("JSON", "stringify"), ul = Fe.f, sl = Ge.f, ll = Vs.f, cl = C.f, fl = v([].push), dl = ae("symbols"), pl = ae("op-symbols"), hl = ae("string-to-symbol-registry"), gl = ae("symbol-to-string-registry"), vl = ae("wks"), yl = !il || !il.prototype || !il.prototype.findChild, ml = b && m(function() {
29165
+ }, Xs = { forEach: Ys(0), map: Ys(1), filter: Ys(2), some: Ys(3), every: Ys(4), find: Ys(5), findIndex: Ys(6), filterReject: Ys(7) }.forEach, Zs = Je("hidden"), Js = be("toPrimitive"), Qs = zn.set, el = zn.getterFor("Symbol"), tl = Object.prototype, nl = a.Symbol, rl = nl && nl.prototype, ol = a.TypeError, il = a.QObject, al = M("JSON", "stringify"), ul = Fe.f, sl = Ge.f, ll = Vs.f, cl = C.f, fl = v([].push), dl = ae("symbols"), pl = ae("op-symbols"), hl = ae("string-to-symbol-registry"), gl = ae("symbol-to-string-registry"), vl = ae("wks"), yl = !il || !il.prototype || !il.prototype.findChild, ml = b && m(function() {
29166
29166
  return 7 != It(sl({}, "a", { get: function() {
29167
29167
  return sl(this, "a", { value: 7 }).a;
29168
29168
  } })).a;
@@ -29260,10 +29260,10 @@ if (!rl[Js]) {
29260
29260
  return E(Ol, this);
29261
29261
  });
29262
29262
  }
29263
- Qn(nl, "Symbol"), yt[Zs] = true, qs("asyncIterator"), qs("hasInstance"), qs("isConcatSpreadable"), qs("iterator"), qs("match"), qs("matchAll"), qs("replace"), qs("search"), qs("species"), qs("split"), qs("toPrimitive"), qs("toStringTag"), qs("unscopables"), Qn(a$1.JSON, "JSON", true);
29263
+ Qn(nl, "Symbol"), yt[Zs] = true, qs("asyncIterator"), qs("hasInstance"), qs("isConcatSpreadable"), qs("iterator"), qs("match"), qs("matchAll"), qs("replace"), qs("search"), qs("species"), qs("split"), qs("toPrimitive"), qs("toStringTag"), qs("unscopables"), Qn(a.JSON, "JSON", true);
29264
29264
  var kl = L.Symbol;
29265
29265
  qs("asyncDispose"), qs("dispose"), qs("matcher"), qs("metadata"), qs("observable"), qs("patternMatch"), qs("replaceAll");
29266
- var Bl = kl, Fl = Ws.f("iterator"), Tl = n$1(function(e10) {
29266
+ var Bl = kl, Fl = Ws.f("iterator"), Tl = n(function(e10) {
29267
29267
  function t10(n10) {
29268
29268
  return "function" == typeof Bl && "symbol" == typeof Fl ? (e10.exports = t10 = function(e11) {
29269
29269
  return typeof e11;
@@ -32818,7 +32818,7 @@ var Xv, Zv = function(e10, t10, n10) {
32818
32818
  }, m10.flush = function() {
32819
32819
  return void 0 === u2 ? a2 : y10(qv());
32820
32820
  }, m10;
32821
- }, Jv = n$1(function(t10, n10) {
32821
+ }, Jv = n(function(t10, n10) {
32822
32822
  var r2 = "__lodash_hash_undefined__", o2 = 9007199254740991, i2 = "[object Arguments]", a2 = "[object Boolean]", u2 = "[object Date]", s10 = "[object Function]", l10 = "[object GeneratorFunction]", c10 = "[object Map]", f10 = "[object Number]", d10 = "[object Object]", p10 = "[object Promise]", h10 = "[object RegExp]", g10 = "[object Set]", v10 = "[object String]", y10 = "[object Symbol]", m10 = "[object WeakMap]", b10 = "[object ArrayBuffer]", w10 = "[object DataView]", E10 = "[object Float32Array]", D10 = "[object Float64Array]", S10 = "[object Int8Array]", x10 = "[object Int16Array]", C10 = "[object Int32Array]", A10 = "[object Uint8Array]", O10 = "[object Uint8ClampedArray]", k10 = "[object Uint16Array]", B10 = "[object Uint32Array]", F10 = /\w*$/, T10 = /^\[object .+?Constructor\]$/, _10 = /^(?:0|[1-9]\d*)$/, P10 = {};
32823
32823
  P10[i2] = P10["[object Array]"] = P10[b10] = P10[w10] = P10[a2] = P10[u2] = P10[E10] = P10[D10] = P10[S10] = P10[x10] = P10[C10] = P10[c10] = P10[f10] = P10[d10] = P10[h10] = P10[g10] = P10[v10] = P10[y10] = P10[A10] = P10[O10] = P10[k10] = P10[B10] = true, P10["[object Error]"] = P10[s10] = P10[m10] = false;
32824
32824
  var j10 = "object" == typeof e && e && e.Object === Object && e, N10 = "object" == typeof self && self && self.Object === Object && self, I10 = j10 || N10 || Function("return this")(), L10 = n10 && !n10.nodeType && n10, R10 = L10 && t10 && !t10.nodeType && t10, M10 = R10 && R10.exports === L10;
@@ -33981,7 +33981,7 @@ async function bm(e10) {
33981
33981
  return n10 && (i2 = n10.result, this.emit("complete", i2), _y(this, om)[om](e10)), null == i2 && this.log(`Not setting result for an upload that has been removed: ${e10}`), i2;
33982
33982
  }
33983
33983
  am.VERSION = "2.1.3";
33984
- var wm = am, Em = n$1(function(e10, t10) {
33984
+ var wm = am, Em = n(function(e10, t10) {
33985
33985
  var n10, r2, o2, i2, a2, u2, s10, l10, c10 = {}, f10 = [], d10 = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;
33986
33986
  function p10(e11, t11) {
33987
33987
  for (var n11 in t11)
@@ -44569,7 +44569,7 @@ var g0 = { renderElems: [ZJ], editorPlugin: function(e10) {
44569
44569
  return t11 - 1;
44570
44570
  }(r2);
44571
44571
  return { type: "list-item", ordered: o2, level: i2, children: t10 };
44572
- } }] }, v0 = n$1(function(t10, n10) {
44572
+ } }] }, v0 = n(function(t10, n10) {
44573
44573
  var r2 = "__lodash_hash_undefined__", o2 = 9007199254740991, i2 = "[object Arguments]", a2 = "[object Array]", u2 = "[object Boolean]", s10 = "[object Date]", l10 = "[object Error]", c10 = "[object Function]", f10 = "[object Map]", d10 = "[object Number]", p10 = "[object Object]", h10 = "[object Promise]", g10 = "[object RegExp]", v10 = "[object Set]", y10 = "[object String]", m10 = "[object Symbol]", b10 = "[object WeakMap]", w10 = "[object ArrayBuffer]", E10 = "[object DataView]", D10 = /^\[object .+?Constructor\]$/, S10 = /^(?:0|[1-9]\d*)$/, x10 = {};
44574
44574
  x10["[object Float32Array]"] = x10["[object Float64Array]"] = x10["[object Int8Array]"] = x10["[object Int16Array]"] = x10["[object Int32Array]"] = x10["[object Uint8Array]"] = x10["[object Uint8ClampedArray]"] = x10["[object Uint16Array]"] = x10["[object Uint32Array]"] = true, x10[i2] = x10[a2] = x10[w10] = x10[u2] = x10[E10] = x10[s10] = x10[l10] = x10[c10] = x10[f10] = x10[d10] = x10[p10] = x10[g10] = x10[v10] = x10[y10] = x10[b10] = false;
44575
44575
  var C10 = "object" == typeof e && e && e.Object === Object && e, A10 = "object" == typeof self && self && self.Object === Object && self, O10 = C10 || A10 || Function("return this")(), k10 = n10 && !n10.nodeType && n10, B10 = k10 && t10 && !t10.nodeType && t10, F10 = B10 && B10.exports === k10, T10 = F10 && C10.process, _10 = function() {
@@ -50600,101 +50600,215 @@ function aye(e10) {
50600
50600
  return s10;
50601
50601
  }
50602
50602
  Zve.setSimpleToolbarConfig(oye);
50603
- /*! *****************************************************************************
50604
- Copyright (c) Microsoft Corporation.
50605
-
50606
- Permission to use, copy, modify, and/or distribute this software for any
50607
- purpose with or without fee is hereby granted.
50608
-
50609
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
50610
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
50611
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
50612
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
50613
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
50614
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
50615
- PERFORMANCE OF THIS SOFTWARE.
50616
- ***************************************************************************** */
50617
- var n = function() {
50618
- return n = Object.assign || function(t10) {
50619
- for (var e10, o2 = 1, r2 = arguments.length; o2 < r2; o2++)
50620
- for (var n10 in e10 = arguments[o2])
50621
- Object.prototype.hasOwnProperty.call(e10, n10) && (t10[n10] = e10[n10]);
50622
- return t10;
50623
- }, n.apply(this, arguments);
50624
- };
50625
- function i(t10) {
50626
- var e10 = "请使用 '@".concat(t10, "' 事件,不要放在 props 中");
50627
- return e10 += "\nPlease use '@".concat(t10, "' event instead of props");
50628
- }
50629
- var a = t$3.extend({ render: function(t10) {
50630
- return t10("div", { ref: "box" });
50631
- }, name: "Editor", data: function() {
50632
- return { curValue: "", editor: null };
50633
- }, props: ["defaultContent", "defaultConfig", "mode", "defaultHtml", "value"], mounted: function() {
50634
- this.create();
50635
- }, watch: { value: function(t10) {
50636
- t10 === this.curValue || this.setHtml(t10);
50637
- } }, methods: { setHtml: function(t10) {
50638
- var e10 = this.editor;
50639
- null != e10 && e10.setHtml(t10);
50640
- }, create: function() {
50641
- var t10 = this;
50642
- if (null != this.$refs.box) {
50643
- var o2 = this.defaultConfig || {}, r2 = JSON.stringify(Array.isArray(this.defaultContent) ? this.defaultContent : []);
50644
- iye({ selector: this.$refs.box, html: this.defaultHtml || this.value || "", config: n(n({}, o2), { onCreated: function(e10) {
50645
- if (t10.editor = Object.seal(e10), t10.$emit("onCreated", e10), o2.onCreated) {
50646
- var r10 = i("onCreated");
50647
- throw new Error(r10);
50648
- }
50649
- }, onChange: function(e10) {
50650
- var r10 = e10.getHtml();
50651
- if (t10.curValue = r10, t10.$emit("input", r10), t10.$emit("onChange", e10), o2.onChange) {
50652
- var n10 = i("onChange");
50653
- throw new Error(n10);
50654
- }
50655
- }, onDestroyed: function(e10) {
50656
- if (t10.$emit("onDestroyed", e10), o2.onDestroyed) {
50657
- var r10 = i("onDestroyed");
50658
- throw new Error(r10);
50659
- }
50660
- }, onMaxLength: function(e10) {
50661
- if (t10.$emit("onMaxLength", e10), o2.onMaxLength) {
50662
- var r10 = i("onMaxLength");
50663
- throw new Error(r10);
50664
- }
50665
- }, onFocus: function(e10) {
50666
- if (t10.$emit("onFocus", e10), o2.onFocus) {
50667
- var r10 = i("onFocus");
50668
- throw new Error(r10);
50669
- }
50670
- }, onBlur: function(e10) {
50671
- if (t10.$emit("onBlur", e10), o2.onBlur) {
50672
- var r10 = i("onBlur");
50673
- throw new Error(r10);
50674
- }
50675
- }, customAlert: function(e10, r10) {
50676
- if (t10.$emit("customAlert", e10, r10), o2.customAlert) {
50677
- var n10 = i("customAlert");
50678
- throw new Error(n10);
50679
- }
50680
- }, customPaste: function(e10, r10) {
50681
- if (o2.customPaste) {
50682
- var n10 = i("customPaste");
50683
- throw new Error(n10);
50603
+ var __defProp2 = Object.defineProperty;
50604
+ var __defProps = Object.defineProperties;
50605
+ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
50606
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
50607
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
50608
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
50609
+ var __defNormalProp2 = (obj, key2, value) => key2 in obj ? __defProp2(obj, key2, { enumerable: true, configurable: true, writable: true, value }) : obj[key2] = value;
50610
+ var __spreadValues = (a2, b10) => {
50611
+ for (var prop in b10 || (b10 = {}))
50612
+ if (__hasOwnProp.call(b10, prop))
50613
+ __defNormalProp2(a2, prop, b10[prop]);
50614
+ if (__getOwnPropSymbols)
50615
+ for (var prop of __getOwnPropSymbols(b10)) {
50616
+ if (__propIsEnum.call(b10, prop))
50617
+ __defNormalProp2(a2, prop, b10[prop]);
50618
+ }
50619
+ return a2;
50620
+ };
50621
+ var __spreadProps = (a2, b10) => __defProps(a2, __getOwnPropDescs(b10));
50622
+ function genErrorInfo(fnName) {
50623
+ let info = `请使用 '@${fnName}' 事件,不要放在 props 中`;
50624
+ info += `
50625
+ Please use '@${fnName}' event instead of props`;
50626
+ return info;
50627
+ }
50628
+ var _export_sfc$1 = (sfc, props) => {
50629
+ for (const [key2, val] of props) {
50630
+ sfc[key2] = val;
50631
+ }
50632
+ return sfc;
50633
+ };
50634
+ const _sfc_main$1$1 = defineComponent({
50635
+ props: {
50636
+ mode: {
50637
+ type: String,
50638
+ default: "default"
50639
+ },
50640
+ defaultContent: {
50641
+ type: Array,
50642
+ default: []
50643
+ },
50644
+ defaultHtml: {
50645
+ type: String,
50646
+ default: ""
50647
+ },
50648
+ defaultConfig: {
50649
+ type: Object,
50650
+ default: {}
50651
+ },
50652
+ modelValue: {
50653
+ type: String,
50654
+ default: ""
50655
+ }
50656
+ },
50657
+ setup(props, context) {
50658
+ const box = ref(null);
50659
+ const editorRef = shallowRef(null);
50660
+ const curValue = ref("");
50661
+ const initEditor = () => {
50662
+ if (!box.value)
50663
+ return;
50664
+ const defaultContent = toRaw(props.defaultContent);
50665
+ iye({
50666
+ selector: box.value,
50667
+ mode: props.mode,
50668
+ content: defaultContent || [],
50669
+ html: props.defaultHtml || props.modelValue || "",
50670
+ config: __spreadProps(__spreadValues({}, props.defaultConfig), {
50671
+ onCreated(editor) {
50672
+ editorRef.value = editor;
50673
+ context.emit("onCreated", editor);
50674
+ if (props.defaultConfig.onCreated) {
50675
+ const info = genErrorInfo("onCreated");
50676
+ throw new Error(info);
50677
+ }
50678
+ },
50679
+ onChange(editor) {
50680
+ const editorHtml = editor.getHtml();
50681
+ curValue.value = editorHtml;
50682
+ context.emit("update:modelValue", editorHtml);
50683
+ context.emit("onChange", editor);
50684
+ if (props.defaultConfig.onChange) {
50685
+ const info = genErrorInfo("onChange");
50686
+ throw new Error(info);
50687
+ }
50688
+ },
50689
+ onDestroyed(editor) {
50690
+ context.emit("onDestroyed", editor);
50691
+ if (props.defaultConfig.onDestroyed) {
50692
+ const info = genErrorInfo("onDestroyed");
50693
+ throw new Error(info);
50694
+ }
50695
+ },
50696
+ onMaxLength(editor) {
50697
+ context.emit("onMaxLength", editor);
50698
+ if (props.defaultConfig.onMaxLength) {
50699
+ const info = genErrorInfo("onMaxLength");
50700
+ throw new Error(info);
50701
+ }
50702
+ },
50703
+ onFocus(editor) {
50704
+ context.emit("onFocus", editor);
50705
+ if (props.defaultConfig.onFocus) {
50706
+ const info = genErrorInfo("onFocus");
50707
+ throw new Error(info);
50708
+ }
50709
+ },
50710
+ onBlur(editor) {
50711
+ context.emit("onBlur", editor);
50712
+ if (props.defaultConfig.onBlur) {
50713
+ const info = genErrorInfo("onBlur");
50714
+ throw new Error(info);
50715
+ }
50716
+ },
50717
+ customAlert(info, type4) {
50718
+ context.emit("customAlert", info, type4);
50719
+ if (props.defaultConfig.customAlert) {
50720
+ const info2 = genErrorInfo("customAlert");
50721
+ throw new Error(info2);
50722
+ }
50723
+ },
50724
+ customPaste: (editor, event) => {
50725
+ if (props.defaultConfig.customPaste) {
50726
+ const info = genErrorInfo("customPaste");
50727
+ throw new Error(info);
50728
+ }
50729
+ let res;
50730
+ context.emit("customPaste", editor, event, (val) => {
50731
+ res = val;
50732
+ });
50733
+ return res;
50734
+ }
50735
+ })
50736
+ });
50737
+ };
50738
+ function setHtml(newHtml) {
50739
+ const editor = editorRef.value;
50740
+ if (editor == null)
50741
+ return;
50742
+ editor.setHtml(newHtml);
50743
+ }
50744
+ onMounted(() => {
50745
+ initEditor();
50746
+ });
50747
+ watch(() => props.modelValue, (newVal) => {
50748
+ if (newVal === curValue.value)
50749
+ return;
50750
+ setHtml(newVal);
50751
+ });
50752
+ return {
50753
+ box
50754
+ };
50755
+ }
50756
+ });
50757
+ const _hoisted_1$1$1 = {
50758
+ ref: "box",
50759
+ style: { "height": "100%" }
50760
+ };
50761
+ function _sfc_render$1$1(_ctx, _cache, $props, $setup, $data, $options) {
50762
+ return openBlock(), createElementBlock("div", _hoisted_1$1$1, null, 512);
50763
+ }
50764
+ var Editor = /* @__PURE__ */ _export_sfc$1(_sfc_main$1$1, [["render", _sfc_render$1$1]]);
50765
+ const _sfc_main$3 = defineComponent({
50766
+ props: {
50767
+ editor: {
50768
+ type: Object
50769
+ },
50770
+ mode: {
50771
+ type: String,
50772
+ default: "default"
50773
+ },
50774
+ defaultConfig: {
50775
+ type: Object,
50776
+ default: {}
50777
+ }
50778
+ },
50779
+ setup(props) {
50780
+ const selector = ref(null);
50781
+ const create = (editor) => {
50782
+ if (!selector.value)
50783
+ return;
50784
+ if (editor == null) {
50785
+ throw new Error("Not found instance of Editor when create <Toolbar/> component");
50684
50786
  }
50685
- var a2;
50686
- return t10.$emit("customPaste", e10, r10, function(t11) {
50687
- a2 = t11;
50688
- }), a2;
50689
- } }), content: JSON.parse(r2), mode: this.mode || "default" });
50690
- }
50691
- } } }), u = t$3.extend({ name: "Toolbar", render: function(t10) {
50692
- return t10("div", { ref: "box" });
50693
- }, props: ["editor", "defaultConfig", "mode"], methods: { create: function(t10) {
50694
- null != this.$refs.box && null != t10 && (QO.getToolbar(t10) || aye({ editor: t10, selector: this.$refs.box, config: this.defaultConfig || {}, mode: this.mode || "default" }));
50695
- } }, watch: { editor: { handler: function(t10) {
50696
- null != t10 && this.create(t10);
50697
- }, immediate: true } } });
50787
+ if (QO.getToolbar(editor))
50788
+ return;
50789
+ aye({
50790
+ editor,
50791
+ selector: selector.value || "<div></div>",
50792
+ mode: props.mode,
50793
+ config: props.defaultConfig
50794
+ });
50795
+ };
50796
+ watchEffect(() => {
50797
+ const { editor } = props;
50798
+ if (editor == null)
50799
+ return;
50800
+ create(editor);
50801
+ });
50802
+ return {
50803
+ selector
50804
+ };
50805
+ }
50806
+ });
50807
+ const _hoisted_1$3 = { ref: "selector" };
50808
+ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
50809
+ return openBlock(), createElementBlock("div", _hoisted_1$3, null, 512);
50810
+ }
50811
+ var Toolbar = /* @__PURE__ */ _export_sfc$1(_sfc_main$3, [["render", _sfc_render$2]]);
50698
50812
  const ModuleVersionModal_vue_vue_type_style_index_0_scoped_true_lang = "";
50699
50813
  const _export_sfc = (sfc, props) => {
50700
50814
  const target = sfc.__vccOpts || sfc;
@@ -50805,7 +50919,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
50805
50919
  const _component_a_col = __unplugin_components_7;
50806
50920
  const _component_a_divider = __unplugin_components_8;
50807
50921
  const _component_a_row = __unplugin_components_9;
50808
- const _component_MrpModal = _sfc_main$3;
50922
+ const _component_MrpModal = _sfc_main$4;
50809
50923
  return openBlock(), createBlock(_component_MrpModal, {
50810
50924
  show: unref(inputV),
50811
50925
  "onUpdate:show": _cache[1] || (_cache[1] = ($event) => isRef(inputV) ? inputV.value = $event : null),
@@ -50853,12 +50967,12 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
50853
50967
  }),
50854
50968
  createElementVNode("div", _hoisted_12$2, [
50855
50969
  createElementVNode("div", _hoisted_13$1, [
50856
- createVNode(unref(u), {
50970
+ createVNode(unref(Toolbar), {
50857
50971
  editor: editorRef.value,
50858
50972
  defaultConfig: { readOnly: true },
50859
50973
  mode: "simple"
50860
50974
  }, null, 8, ["editor"]),
50861
- createVNode(unref(a), {
50975
+ createVNode(unref(Editor), {
50862
50976
  modelValue: content.value.description,
50863
50977
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => content.value.description = $event),
50864
50978
  defaultConfig: { readOnly: true },
@@ -54357,7 +54471,7 @@ const _imports_0 = "data:image/svg+xml;base64,77u/PD94bWwgdmVyc2lvbj0iMS4wIiBlbm
54357
54471
  const TSider_vue_vue_type_style_index_0_scoped_true_lang = "";
54358
54472
  const _sfc_main = {
54359
54473
  name: "Tx-Sider",
54360
- components: { EconomicsSider, CloseCircleOutlined: CloseCircleOutlined$1, Editor: a, Toolbar: u },
54474
+ components: { EconomicsSider, CloseCircleOutlined: CloseCircleOutlined$1, Editor, Toolbar },
54361
54475
  props: {
54362
54476
  setofbooksShow: Boolean,
54363
54477
  // 是否显示功能账套
@@ -55250,7 +55364,7 @@ const _sfc_main = {
55250
55364
  };
55251
55365
  }
55252
55366
  };
55253
- const _withScopeId = (n10) => (pushScopeId("data-v-bbb16032"), n10 = n10(), popScopeId(), n10);
55367
+ const _withScopeId = (n10) => (pushScopeId("data-v-e61409e4"), n10 = n10(), popScopeId(), n10);
55254
55368
  const _hoisted_1 = {
55255
55369
  class: "bg-white defaultTS funcTC relative",
55256
55370
  style: { "padding-bottom": "10px", "margin-bottom": "10px" }
@@ -55680,7 +55794,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
55680
55794
  const _component_a_input_password = __unplugin_components_2;
55681
55795
  const _component_a_form_item = __unplugin_components_3;
55682
55796
  const _component_a_form = Form$1;
55683
- const _component_MrpModal = _sfc_main$3;
55797
+ const _component_MrpModal = _sfc_main$4;
55684
55798
  const _component_check_circle_outlined = resolveComponent("check-circle-outlined");
55685
55799
  const _component_ModuleVersionModal = __unplugin_components_6;
55686
55800
  const _component_a_col = __unplugin_components_7;
@@ -56370,7 +56484,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
56370
56484
  }, 8, ["show"])
56371
56485
  ], 64);
56372
56486
  }
56373
- const TSider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-bbb16032"]]);
56487
+ const TSider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-e61409e4"]]);
56488
+ const style = "";
56374
56489
  const components = [TSider];
56375
56490
  installComponents();
56376
56491
  function installComponents() {