@nsshunt/stsuxvue 1.0.22 → 1.0.24

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.
Files changed (32) hide show
  1. package/dist/stsuxvue.mjs +22 -16
  2. package/dist/stsuxvue.mjs.map +1 -1
  3. package/dist/stsuxvue.umd.js +22 -16
  4. package/dist/stsuxvue.umd.js.map +1 -1
  5. package/package.json +18 -18
  6. package/types/Views/LandingView.vue.d.ts.map +1 -1
  7. package/types/Views/UXModelNavigatorView.vue.d.ts +39 -1
  8. package/types/Views/UXModelNavigatorView.vue.d.ts.map +1 -1
  9. package/types/Views/UXModelNavigatorViewSingle.vue.d.ts +21 -1
  10. package/types/Views/UXModelNavigatorViewSingle.vue.d.ts.map +1 -1
  11. package/types/components/UXBarChart.vue.d.ts +3 -1
  12. package/types/components/UXBarChart.vue.d.ts.map +1 -1
  13. package/types/components/UXLineChart.vue.d.ts +3 -1
  14. package/types/components/UXLineChart.vue.d.ts.map +1 -1
  15. package/types/components/UXModelInstrumentAgentCommon.vue.d.ts +20 -11
  16. package/types/components/UXModelInstrumentAgentCommon.vue.d.ts.map +1 -1
  17. package/types/components/UXModelInstrumentServiceCommon.vue.d.ts +34 -11
  18. package/types/components/UXModelInstrumentServiceCommon.vue.d.ts.map +1 -1
  19. package/types/components/UXModelInstrumentServiceSmall.vue.d.ts +4 -10
  20. package/types/components/UXModelInstrumentServiceSmall.vue.d.ts.map +1 -1
  21. package/types/components/UXModelNavigator.vue.d.ts +4 -5
  22. package/types/components/UXModelNavigator.vue.d.ts.map +1 -1
  23. package/types/components/UXModelNode.vue.d.ts +4 -7
  24. package/types/components/UXModelNode.vue.d.ts.map +1 -1
  25. package/types/components/UXMultiBarChart.vue.d.ts +6 -6
  26. package/types/components/UXMultiBarChart.vue.d.ts.map +1 -1
  27. package/types/components/UXRadialChart.vue.d.ts +6 -6
  28. package/types/components/UXRadialChart.vue.d.ts.map +1 -1
  29. package/types/components/UXTestForm.vue.d.ts +4 -5
  30. package/types/components/UXTestForm.vue.d.ts.map +1 -1
  31. package/types/Views/AppView.vue.d.ts +0 -3
  32. package/types/Views/AppView.vue.d.ts.map +0 -1
package/dist/stsuxvue.mjs CHANGED
@@ -5787,7 +5787,7 @@ function requireAnsi_to_html() {
5787
5787
  }
5788
5788
  var ansi_to_htmlExports = requireAnsi_to_html();
5789
5789
  const Convert = /* @__PURE__ */ getDefaultExportFromCjs(ansi_to_htmlExports);
5790
- /*! @license DOMPurify 3.2.2 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.2/LICENSE */
5790
+ /*! @license DOMPurify 3.2.4 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.4/LICENSE */
5791
5791
  const {
5792
5792
  entries,
5793
5793
  setPrototypeOf,
@@ -5825,8 +5825,10 @@ if (!construct) {
5825
5825
  };
5826
5826
  }
5827
5827
  const arrayForEach = unapply(Array.prototype.forEach);
5828
+ const arrayLastIndexOf = unapply(Array.prototype.lastIndexOf);
5828
5829
  const arrayPop = unapply(Array.prototype.pop);
5829
5830
  const arrayPush = unapply(Array.prototype.push);
5831
+ const arraySplice = unapply(Array.prototype.splice);
5830
5832
  const stringToLowerCase = unapply(String.prototype.toLowerCase);
5831
5833
  const stringToString = unapply(String.prototype.toString);
5832
5834
  const stringMatch = unapply(String.prototype.match);
@@ -5929,8 +5931,8 @@ const mathMl = freeze(["accent", "accentunder", "align", "bevelled", "close", "c
5929
5931
  const xml = freeze(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]);
5930
5932
  const MUSTACHE_EXPR = seal(/\{\{[\w\W]*|[\w\W]*\}\}/gm);
5931
5933
  const ERB_EXPR = seal(/<%[\w\W]*|[\w\W]*%>/gm);
5932
- const TMPLIT_EXPR = seal(/\${[\w\W]*}/gm);
5933
- const DATA_ATTR = seal(/^data-[\-\w.\u00B7-\uFFFF]/);
5934
+ const TMPLIT_EXPR = seal(/\$\{[\w\W]*/gm);
5935
+ const DATA_ATTR = seal(/^data-[\-\w.\u00B7-\uFFFF]+$/);
5934
5936
  const ARIA_ATTR = seal(/^aria-[\-\w]+$/);
5935
5937
  const IS_ALLOWED_URI = seal(
5936
5938
  /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
@@ -6016,9 +6018,9 @@ const _createHooksMap = function _createHooksMap2() {
6016
6018
  function createDOMPurify() {
6017
6019
  let window2 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : getGlobal();
6018
6020
  const DOMPurify = (root) => createDOMPurify(root);
6019
- DOMPurify.version = "3.2.2";
6021
+ DOMPurify.version = "3.2.4";
6020
6022
  DOMPurify.removed = [];
6021
- if (!window2 || !window2.document || window2.document.nodeType !== NODE_TYPE.document) {
6023
+ if (!window2 || !window2.document || window2.document.nodeType !== NODE_TYPE.document || !window2.Element) {
6022
6024
  DOMPurify.isSupported = false;
6023
6025
  return DOMPurify;
6024
6026
  }
@@ -6522,7 +6524,7 @@ function createDOMPurify() {
6522
6524
  const {
6523
6525
  attributes
6524
6526
  } = currentNode;
6525
- if (!attributes) {
6527
+ if (!attributes || _isClobbered(currentNode)) {
6526
6528
  return;
6527
6529
  }
6528
6530
  const hookEvent = {
@@ -6613,13 +6615,11 @@ function createDOMPurify() {
6613
6615
  _executeHooks(hooks.beforeSanitizeShadowDOM, fragment, null);
6614
6616
  while (shadowNode = shadowIterator.nextNode()) {
6615
6617
  _executeHooks(hooks.uponSanitizeShadowNode, shadowNode, null);
6616
- if (_sanitizeElements(shadowNode)) {
6617
- continue;
6618
- }
6618
+ _sanitizeElements(shadowNode);
6619
+ _sanitizeAttributes(shadowNode);
6619
6620
  if (shadowNode.content instanceof DocumentFragment) {
6620
6621
  _sanitizeShadowDOM2(shadowNode.content);
6621
6622
  }
6622
- _sanitizeAttributes(shadowNode);
6623
6623
  }
6624
6624
  _executeHooks(hooks.afterSanitizeShadowDOM, fragment, null);
6625
6625
  };
@@ -6685,13 +6685,11 @@ function createDOMPurify() {
6685
6685
  }
6686
6686
  const nodeIterator = _createNodeIterator(IN_PLACE ? dirty : body);
6687
6687
  while (currentNode = nodeIterator.nextNode()) {
6688
- if (_sanitizeElements(currentNode)) {
6689
- continue;
6690
- }
6688
+ _sanitizeElements(currentNode);
6689
+ _sanitizeAttributes(currentNode);
6691
6690
  if (currentNode.content instanceof DocumentFragment) {
6692
6691
  _sanitizeShadowDOM(currentNode.content);
6693
6692
  }
6694
- _sanitizeAttributes(currentNode);
6695
6693
  }
6696
6694
  if (IN_PLACE) {
6697
6695
  return dirty;
@@ -6744,7 +6742,11 @@ function createDOMPurify() {
6744
6742
  }
6745
6743
  arrayPush(hooks[entryPoint], hookFunction);
6746
6744
  };
6747
- DOMPurify.removeHook = function(entryPoint) {
6745
+ DOMPurify.removeHook = function(entryPoint, hookFunction) {
6746
+ if (hookFunction !== void 0) {
6747
+ const index = arrayLastIndexOf(hooks[entryPoint], hookFunction);
6748
+ return index === -1 ? void 0 : arraySplice(hooks[entryPoint], index, 1)[0];
6749
+ }
6748
6750
  return arrayPop(hooks[entryPoint]);
6749
6751
  };
6750
6752
  DOMPurify.removeHooks = function(entryPoint) {
@@ -9952,11 +9954,15 @@ function rng() {
9952
9954
  const randomUUID = typeof crypto !== "undefined" && crypto.randomUUID && crypto.randomUUID.bind(crypto);
9953
9955
  const native = { randomUUID };
9954
9956
  function v4(options, buf, offset) {
9957
+ var _a;
9955
9958
  if (native.randomUUID && !buf && !options) {
9956
9959
  return native.randomUUID();
9957
9960
  }
9958
9961
  options = options || {};
9959
- const rnds = options.random || (options.rng || rng)();
9962
+ const rnds = options.random ?? ((_a = options.rng) == null ? void 0 : _a.call(options)) ?? rng();
9963
+ if (rnds.length < 16) {
9964
+ throw new Error("Random bytes length must be >= 16");
9965
+ }
9960
9966
  rnds[6] = rnds[6] & 15 | 64;
9961
9967
  rnds[8] = rnds[8] & 63 | 128;
9962
9968
  return unsafeStringify(rnds);