@nsshunt/stsuxvue 1.0.138 → 1.0.139

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/dist/stsuxvue.cjs CHANGED
@@ -6043,7 +6043,10 @@ var import_ansi_to_html = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin
6043
6043
  return Filter;
6044
6044
  }();
6045
6045
  })))(), 1);
6046
- /*! @license DOMPurify 3.4.15 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.15/LICENSE */
6046
+ /*! @license DOMPurify 3.4.16 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.16/LICENSE */
6047
+ function _OverloadYield(e, d) {
6048
+ this.v = e, this.k = d;
6049
+ }
6047
6050
  function _arrayLikeToArray(r, a) {
6048
6051
  (null == a || a > r.length) && (a = r.length);
6049
6052
  for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
@@ -6055,12 +6058,14 @@ function _arrayWithHoles(r) {
6055
6058
  function _iterableToArrayLimit(r, l) {
6056
6059
  var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
6057
6060
  if (null != t) {
6058
- var e, n, i, u, a = [], f = true, o = false;
6061
+ var e, n, i, u, a = [], f = !0, o = !1;
6059
6062
  try {
6060
- if (i = (t = t.call(r)).next, 0 === l);
6061
- else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
6063
+ if (i = (t = t.call(r)).next, 0 === l) {
6064
+ if (Object(t) !== t) return;
6065
+ f = !1;
6066
+ } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
6062
6067
  } catch (r) {
6063
- o = true, n = r;
6068
+ o = !0, n = r;
6064
6069
  } finally {
6065
6070
  try {
6066
6071
  if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return;
@@ -6074,6 +6079,7 @@ function _iterableToArrayLimit(r, l) {
6074
6079
  function _nonIterableRest() {
6075
6080
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
6076
6081
  }
6082
+ /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
6077
6083
  function _slicedToArray(r, e) {
6078
6084
  return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
6079
6085
  }
@@ -6084,6 +6090,53 @@ function _unsupportedIterableToArray(r, a) {
6084
6090
  return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
6085
6091
  }
6086
6092
  }
6093
+ function AsyncGenerator(e) {
6094
+ var t, n;
6095
+ function resume(t, n) {
6096
+ try {
6097
+ var r = e[t](n), o = r.value, u = o instanceof _OverloadYield;
6098
+ Promise.resolve(u ? o.v : o).then(function(n) {
6099
+ if (u) {
6100
+ var i = "return" === t && o.k ? t : "next";
6101
+ if (!o.k || n.done) return resume(i, n);
6102
+ n = e[i](n).value;
6103
+ }
6104
+ settle(!!r.done, n);
6105
+ }, function(e) {
6106
+ resume("throw", e);
6107
+ });
6108
+ } catch (e) {
6109
+ settle(2, e);
6110
+ }
6111
+ }
6112
+ function settle(e, r) {
6113
+ 2 === e ? t.reject(r) : t.resolve({
6114
+ value: r,
6115
+ done: e
6116
+ }), (t = t.next) ? resume(t.key, t.arg) : n = null;
6117
+ }
6118
+ this._invoke = function(e, r) {
6119
+ return new Promise(function(o, u) {
6120
+ var i = {
6121
+ key: e,
6122
+ arg: r,
6123
+ resolve: o,
6124
+ reject: u,
6125
+ next: null
6126
+ };
6127
+ n ? n = n.next = i : (t = n = i, resume(e, r));
6128
+ });
6129
+ }, "function" != typeof e.return && (this.return = void 0);
6130
+ }
6131
+ AsyncGenerator.prototype["function" == typeof Symbol && Symbol.asyncIterator || "@@asyncIterator"] = function() {
6132
+ return this;
6133
+ }, AsyncGenerator.prototype.next = function(e) {
6134
+ return this._invoke("next", e);
6135
+ }, AsyncGenerator.prototype.throw = function(e) {
6136
+ return this._invoke("throw", e);
6137
+ }, AsyncGenerator.prototype.return = function(e) {
6138
+ return this._invoke("return", e);
6139
+ };
6087
6140
  var entries = Object.entries;
6088
6141
  var setPrototypeOf = Object.setPrototypeOf;
6089
6142
  var isFrozen = Object.isFrozen;
@@ -6110,9 +6163,11 @@ if (!construct) construct = function construct(Func) {
6110
6163
  return new Func(...args);
6111
6164
  };
6112
6165
  var arrayForEach = unapply(Array.prototype.forEach);
6166
+ Array.prototype.indexOf;
6113
6167
  var arrayLastIndexOf = unapply(Array.prototype.lastIndexOf);
6114
6168
  var arrayPop = unapply(Array.prototype.pop);
6115
6169
  var arrayPush = unapply(Array.prototype.push);
6170
+ Array.prototype.slice;
6116
6171
  var arraySplice = unapply(Array.prototype.splice);
6117
6172
  var arrayIsArray = Array.isArray;
6118
6173
  var stringToLowerCase = unapply(String.prototype.toLowerCase);
@@ -7038,7 +7093,7 @@ var _resolveObjectOption = function _resolveObjectOption(cfg, key, makeFallback)
7038
7093
  function createDOMPurify() {
7039
7094
  let window = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : getGlobal$1();
7040
7095
  const DOMPurify = (root) => createDOMPurify(root);
7041
- DOMPurify.version = "3.4.15";
7096
+ DOMPurify.version = "3.4.16";
7042
7097
  DOMPurify.removed = [];
7043
7098
  if (!window || !window.document || window.document.nodeType !== NODE_TYPE.document || !window.Element) {
7044
7099
  DOMPurify.isSupported = false;
@@ -8028,7 +8083,10 @@ function createDOMPurify() {
8028
8083
  }
8029
8084
  if (FORBID_TAGS[tagName] || !(EXTRA_ELEMENT_HANDLING.tagCheck instanceof Function && EXTRA_ELEMENT_HANDLING.tagCheck(tagName)) && !ALLOWED_TAGS[tagName]) {
8030
8085
  const removed = _sanitizeDisallowedNode(currentNode, tagName, root);
8031
- if (removed === false) _executeHooks(hooks.afterSanitizeElements, currentNode, null);
8086
+ if (removed === false) {
8087
+ _executeHooks(hooks.afterSanitizeElements, currentNode, null);
8088
+ if (_handleHookDetachedNode(currentNode, root)) return true;
8089
+ }
8032
8090
  return removed;
8033
8091
  }
8034
8092
  if (_readNodeType(currentNode) === NODE_TYPE.element && !_checkValidNamespace(currentNode)) {
@@ -8047,7 +8105,7 @@ function createDOMPurify() {
8047
8105
  }
8048
8106
  }
8049
8107
  _executeHooks(hooks.afterSanitizeElements, currentNode, null);
8050
- return false;
8108
+ return _handleHookDetachedNode(currentNode, root);
8051
8109
  };
8052
8110
  /**
8053
8111
  * _isValidAttribute
@@ -8157,9 +8215,11 @@ function createDOMPurify() {
8157
8215
  * @protect setAttribute
8158
8216
  *
8159
8217
  * @param currentNode to sanitize
8218
+ * @param root the current walk root
8160
8219
  */
8161
- const _sanitizeAttributes = function _sanitizeAttributes(currentNode) {
8220
+ const _sanitizeAttributes = function _sanitizeAttributes(currentNode, root) {
8162
8221
  _executeHooks(hooks.beforeSanitizeAttributes, currentNode, null);
8222
+ if (_handleHookDetachedNode(currentNode, root)) return;
8163
8223
  const attributes = currentNode.attributes;
8164
8224
  if (!attributes || _isClobbered(currentNode)) return;
8165
8225
  ALLOWED_ATTR = _forkSharedAllowlist(hooks.uponSanitizeAttribute, ALLOWED_ATTR, DEFAULT_ALLOWED_ATTR, SET_CONFIG_ALLOWED_ATTR);
@@ -8218,6 +8278,7 @@ function createDOMPurify() {
8218
8278
  }
8219
8279
  }
8220
8280
  _executeHooks(hooks.afterSanitizeAttributes, currentNode, null);
8281
+ _handleHookDetachedNode(currentNode, root);
8221
8282
  };
8222
8283
  /**
8223
8284
  * _sanitizeShadowDOM
@@ -8231,7 +8292,7 @@ function createDOMPurify() {
8231
8292
  while (shadowNode = shadowIterator.nextNode()) {
8232
8293
  _executeHooks(hooks.uponSanitizeShadowNode, shadowNode, null);
8233
8294
  _sanitizeElements(shadowNode, fragment);
8234
- _sanitizeAttributes(shadowNode);
8295
+ _sanitizeAttributes(shadowNode, fragment);
8235
8296
  if (_isDocumentFragment(shadowNode.content)) _sanitizeShadowDOM2(shadowNode.content);
8236
8297
  if (_readNodeType(shadowNode) === NODE_TYPE.element) {
8237
8298
  const innerSr = getShadowRoot(shadowNode);
@@ -8361,7 +8422,7 @@ function createDOMPurify() {
8361
8422
  const nodeIterator = _createNodeIterator(walkRoot);
8362
8423
  while (currentNode = nodeIterator.nextNode()) {
8363
8424
  _sanitizeElements(currentNode, walkRoot);
8364
- _sanitizeAttributes(currentNode);
8425
+ _sanitizeAttributes(currentNode, walkRoot);
8365
8426
  if (_isDocumentFragment(currentNode.content)) _sanitizeShadowDOM2(currentNode.content);
8366
8427
  }
8367
8428
  } catch (error) {
@@ -8374,9 +8435,14 @@ function createDOMPurify() {
8374
8435
  throw error;
8375
8436
  }
8376
8437
  if (inPlace) {
8438
+ let rootWasRemoved = false;
8377
8439
  arrayForEach(DOMPurify.removed, (entry) => {
8378
- if (entry.element) _neutralizeSubtree(entry.element);
8440
+ if (entry.element) {
8441
+ if (entry.element === dirty) rootWasRemoved = true;
8442
+ _neutralizeSubtree(entry.element);
8443
+ }
8379
8444
  });
8445
+ if (rootWasRemoved) throw typeErrorCreate("a node selected for removal could not be safely returned; refusing to sanitize in place");
8380
8446
  if (SAFE_FOR_TEMPLATES) _scrubTemplateExpressions2(dirty);
8381
8447
  return dirty;
8382
8448
  }
@@ -8437,7 +8503,7 @@ function createDOMPurify() {
8437
8503
  };
8438
8504
  return DOMPurify;
8439
8505
  }
8440
- var purify = createDOMPurify();
8506
+ var purify_default = createDOMPurify();
8441
8507
  //#endregion
8442
8508
  //#region src/components/UXModelInstrumentAgentCommon.vue?vue&type=script&setup=true&lang.ts
8443
8509
  var _hoisted_1$5 = { class: "instDisplay text-right" };
@@ -8553,7 +8619,7 @@ var UXModelInstrumentAgentCommon_vue_vue_type_script_setup_true_lang_default = /
8553
8619
  return (d + "." + pad(h) + ":" + pad(m) + ":" + pad(s)).padStart(12);
8554
8620
  };
8555
8621
  const convertHtml = function(value) {
8556
- return purify.sanitize(convert.toHtml(value));
8622
+ return purify_default.sanitize(convert.toHtml(value));
8557
8623
  };
8558
8624
  const detailMode = (0, vue.computed)({
8559
8625
  get: () => {
@@ -9245,7 +9311,7 @@ var UXModelInstrumentServiceCommon_default = /*#__PURE__*/ _plugin_vue_export_he
9245
9311
  return (d + "." + pad(h) + ":" + pad(m) + ":" + pad(s)).padStart(12);
9246
9312
  };
9247
9313
  const convertHtml = function(value) {
9248
- return purify.sanitize(convert.toHtml(value));
9314
+ return purify_default.sanitize(convert.toHtml(value));
9249
9315
  };
9250
9316
  (0, vue.computed)({
9251
9317
  get: () => {