@nsshunt/stsuxvue 1.0.23 → 1.0.25

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.mjs CHANGED
@@ -11,7 +11,7 @@ var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "
11
11
  var _socket, _observabilitySocketIOSubscriber, _logger, _observabilitySubscriptionManager, _store, _state, _modelId, _options2, _tinyEmitter, _id, _SocketIOConnect, _SetupObservabilitySubscriber, _SetupSocketIO, _SocketConnect, _ProcessSocketError, _ProcessSocketEvents;
12
12
  import { defineStore } from "pinia";
13
13
  import _cloneDeep from "lodash.clonedeep";
14
- import { defineComponent, defineAsyncComponent, ref, openBlock, createElementBlock, createVNode, unref, reactive, computed, watch, resolveComponent, createBlock, withCtx, createTextVNode, toDisplayString, createElementVNode, createCommentVNode, Fragment, renderList, onMounted, onBeforeUnmount, resolveDynamicComponent, isRef } from "vue";
14
+ import { defineComponent, defineAsyncComponent, ref, createElementBlock, openBlock, createVNode, unref, reactive, computed, watch, resolveComponent, createBlock, withCtx, createTextVNode, toDisplayString, createElementVNode, createCommentVNode, Fragment, renderList, onMounted, onBeforeUnmount, resolveDynamicComponent, isRef } from "vue";
15
15
  import { Gauge, ObservabilitySocketIOSubscriber, ObservabilityRESTAPISubscriber, ObservabilitySubscriptionManager, SubscriptionTopic } from "@nsshunt/stsobservability";
16
16
  import { defaultLogger } from "@nsshunt/stsutils";
17
17
  import { io } from "socket.io-client";
@@ -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.3 | (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.3/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,7 +5931,7 @@ 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);
5934
+ const TMPLIT_EXPR = seal(/\$\{[\w\W]*/gm);
5933
5935
  const DATA_ATTR = seal(/^data-[\-\w.\u00B7-\uFFFF]+$/);
5934
5936
  const ARIA_ATTR = seal(/^aria-[\-\w]+$/);
5935
5937
  const IS_ALLOWED_URI = seal(
@@ -5958,20 +5960,11 @@ var EXPRESSIONS = /* @__PURE__ */ Object.freeze({
5958
5960
  });
5959
5961
  const NODE_TYPE = {
5960
5962
  element: 1,
5961
- attribute: 2,
5962
5963
  text: 3,
5963
- cdataSection: 4,
5964
- entityReference: 5,
5965
- // Deprecated
5966
- entityNode: 6,
5967
5964
  // Deprecated
5968
5965
  progressingInstruction: 7,
5969
5966
  comment: 8,
5970
- document: 9,
5971
- documentType: 10,
5972
- documentFragment: 11,
5973
- notation: 12
5974
- // Deprecated
5967
+ document: 9
5975
5968
  };
5976
5969
  const getGlobal = function getGlobal2() {
5977
5970
  return typeof window === "undefined" ? null : window;
@@ -6016,9 +6009,9 @@ const _createHooksMap = function _createHooksMap2() {
6016
6009
  function createDOMPurify() {
6017
6010
  let window2 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : getGlobal();
6018
6011
  const DOMPurify = (root) => createDOMPurify(root);
6019
- DOMPurify.version = "3.2.3";
6012
+ DOMPurify.version = "3.2.4";
6020
6013
  DOMPurify.removed = [];
6021
- if (!window2 || !window2.document || window2.document.nodeType !== NODE_TYPE.document) {
6014
+ if (!window2 || !window2.document || window2.document.nodeType !== NODE_TYPE.document || !window2.Element) {
6022
6015
  DOMPurify.isSupported = false;
6023
6016
  return DOMPurify;
6024
6017
  }
@@ -6740,7 +6733,11 @@ function createDOMPurify() {
6740
6733
  }
6741
6734
  arrayPush(hooks[entryPoint], hookFunction);
6742
6735
  };
6743
- DOMPurify.removeHook = function(entryPoint) {
6736
+ DOMPurify.removeHook = function(entryPoint, hookFunction) {
6737
+ if (hookFunction !== void 0) {
6738
+ const index = arrayLastIndexOf(hooks[entryPoint], hookFunction);
6739
+ return index === -1 ? void 0 : arraySplice(hooks[entryPoint], index, 1)[0];
6740
+ }
6744
6741
  return arrayPop(hooks[entryPoint]);
6745
6742
  };
6746
6743
  DOMPurify.removeHooks = function(entryPoint) {
@@ -9949,7 +9946,7 @@ const randomUUID = typeof crypto !== "undefined" && crypto.randomUUID && crypto.
9949
9946
  const native = { randomUUID };
9950
9947
  function v4(options, buf, offset) {
9951
9948
  var _a;
9952
- if (native.randomUUID && !buf && !options) {
9949
+ if (native.randomUUID && true && !options) {
9953
9950
  return native.randomUUID();
9954
9951
  }
9955
9952
  options = options || {};