@nsshunt/stsuxvue 1.0.45 → 1.0.47
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 +376 -409
- package/dist/stsuxvue.mjs.map +1 -1
- package/dist/stsuxvue.umd.js +379 -412
- package/dist/stsuxvue.umd.js.map +1 -1
- package/package.json +20 -20
- package/types/Views/AppView.vue.d.ts +2 -1
- package/types/Views/AppView.vue.d.ts.map +1 -1
- package/types/Views/LandingView.vue.d.ts +2 -1
- package/types/Views/LandingView.vue.d.ts.map +1 -1
- package/types/Views/UXModelNavigatorView.vue.d.ts +2 -1
- package/types/Views/UXModelNavigatorView.vue.d.ts.map +1 -1
- package/types/Views/UXModelNavigatorViewSingle.vue.d.ts +2 -1
- package/types/Views/UXModelNavigatorViewSingle.vue.d.ts.map +1 -1
- package/types/components/UXBarChart.vue.d.ts +2 -1
- package/types/components/UXBarChart.vue.d.ts.map +1 -1
- package/types/components/UXLineChart.vue.d.ts +2 -1
- package/types/components/UXLineChart.vue.d.ts.map +1 -1
- package/types/components/UXModelInstrumentAgentCommon.vue.d.ts +2 -1
- package/types/components/UXModelInstrumentAgentCommon.vue.d.ts.map +1 -1
- package/types/components/UXModelInstrumentServiceCommon.vue.d.ts +2 -1
- package/types/components/UXModelInstrumentServiceCommon.vue.d.ts.map +1 -1
- package/types/components/UXModelInstrumentServiceSmall.vue.d.ts +2 -1
- package/types/components/UXModelInstrumentServiceSmall.vue.d.ts.map +1 -1
- package/types/components/UXModelNavigator.vue.d.ts +2 -1
- package/types/components/UXModelNavigator.vue.d.ts.map +1 -1
- package/types/components/UXModelNode.vue.d.ts +2 -1
- package/types/components/UXModelNode.vue.d.ts.map +1 -1
- package/types/components/UXMultiBarChart.vue.d.ts +2 -1
- package/types/components/UXMultiBarChart.vue.d.ts.map +1 -1
- package/types/components/UXRadialChart.vue.d.ts +2 -1
- package/types/components/UXRadialChart.vue.d.ts.map +1 -1
- package/types/components/UXTestForm.vue.d.ts +2 -1
- package/types/components/UXTestForm.vue.d.ts.map +1 -1
- package/types/plugins/vuetify.d.ts +14 -14
- package/types/plugins/vuetify.d.ts.map +1 -1
package/dist/stsuxvue.mjs
CHANGED
|
@@ -1,14 +1,3 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __typeError = (msg) => {
|
|
3
|
-
throw TypeError(msg);
|
|
4
|
-
};
|
|
5
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6
|
-
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
7
|
-
var __accessCheck = (obj, member, msg) => member.has(obj) || __typeError("Cannot " + msg);
|
|
8
|
-
var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read from private field"), getter ? getter.call(obj) : member.get(obj));
|
|
9
|
-
var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
|
|
10
|
-
var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), setter ? setter.call(obj, value) : member.set(obj, value), value);
|
|
11
|
-
var _socket, _observabilitySocketIOSubscriber, _logger, _observabilitySubscriptionManager, _store, _state, _modelId, _options2, _tinyEmitter, _id, _SocketIOConnect, _SetupObservabilitySubscriber, _SetupSocketIO, _SocketConnect, _ProcessSocketError, _ProcessSocketEvents;
|
|
12
1
|
import { defineStore } from "pinia";
|
|
13
2
|
import _cloneDeep from "lodash.clonedeep";
|
|
14
3
|
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";
|
|
@@ -431,7 +420,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
431
420
|
height: "100",
|
|
432
421
|
width: "100%",
|
|
433
422
|
options,
|
|
434
|
-
series:
|
|
423
|
+
series: __props.series,
|
|
435
424
|
style: { "background": "red" }
|
|
436
425
|
}, null, 8, ["series"])
|
|
437
426
|
]);
|
|
@@ -511,7 +500,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
511
500
|
height: "140",
|
|
512
501
|
width: "100%",
|
|
513
502
|
options: options.value,
|
|
514
|
-
series:
|
|
503
|
+
series: __props.series
|
|
515
504
|
}, null, 8, ["options", "series"])
|
|
516
505
|
]);
|
|
517
506
|
};
|
|
@@ -5088,7 +5077,7 @@ function requireDecode() {
|
|
|
5088
5077
|
var sorter = function(a, b) {
|
|
5089
5078
|
return a < b ? 1 : -1;
|
|
5090
5079
|
};
|
|
5091
|
-
decode.decodeHTML = function() {
|
|
5080
|
+
decode.decodeHTML = (function() {
|
|
5092
5081
|
var legacy = Object.keys(legacy_json_1.default).sort(sorter);
|
|
5093
5082
|
var keys = Object.keys(entities_json_1.default).sort(sorter);
|
|
5094
5083
|
for (var i = 0, j = 0; i < keys.length; i++) {
|
|
@@ -5109,7 +5098,7 @@ function requireDecode() {
|
|
|
5109
5098
|
return function(str) {
|
|
5110
5099
|
return String(str).replace(re, replacer);
|
|
5111
5100
|
};
|
|
5112
|
-
}();
|
|
5101
|
+
})();
|
|
5113
5102
|
function getReplacer(map2) {
|
|
5114
5103
|
return function replace(str) {
|
|
5115
5104
|
if (str.charAt(1) === "#") {
|
|
@@ -5733,7 +5722,7 @@ function requireAnsi_to_html() {
|
|
|
5733
5722
|
}
|
|
5734
5723
|
return stickyStack;
|
|
5735
5724
|
}
|
|
5736
|
-
var Filter = /* @__PURE__ */ function() {
|
|
5725
|
+
var Filter = /* @__PURE__ */ (function() {
|
|
5737
5726
|
function Filter2(options) {
|
|
5738
5727
|
_classCallCheck(this, Filter2);
|
|
5739
5728
|
options = options || {};
|
|
@@ -5773,13 +5762,13 @@ function requireAnsi_to_html() {
|
|
|
5773
5762
|
}
|
|
5774
5763
|
}]);
|
|
5775
5764
|
return Filter2;
|
|
5776
|
-
}();
|
|
5765
|
+
})();
|
|
5777
5766
|
ansi_to_html = Filter;
|
|
5778
5767
|
return ansi_to_html;
|
|
5779
5768
|
}
|
|
5780
5769
|
var ansi_to_htmlExports = requireAnsi_to_html();
|
|
5781
5770
|
const Convert = /* @__PURE__ */ getDefaultExportFromCjs(ansi_to_htmlExports);
|
|
5782
|
-
/*! @license DOMPurify 3.2.
|
|
5771
|
+
/*! @license DOMPurify 3.2.7 | (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.7/LICENSE */
|
|
5783
5772
|
const {
|
|
5784
5773
|
entries,
|
|
5785
5774
|
setPrototypeOf,
|
|
@@ -5807,12 +5796,18 @@ if (!seal) {
|
|
|
5807
5796
|
};
|
|
5808
5797
|
}
|
|
5809
5798
|
if (!apply) {
|
|
5810
|
-
apply = function apply2(
|
|
5811
|
-
|
|
5799
|
+
apply = function apply2(func, thisArg) {
|
|
5800
|
+
for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
|
|
5801
|
+
args[_key - 2] = arguments[_key];
|
|
5802
|
+
}
|
|
5803
|
+
return func.apply(thisArg, args);
|
|
5812
5804
|
};
|
|
5813
5805
|
}
|
|
5814
5806
|
if (!construct) {
|
|
5815
|
-
construct = function construct2(Func
|
|
5807
|
+
construct = function construct2(Func) {
|
|
5808
|
+
for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
|
|
5809
|
+
args[_key2 - 1] = arguments[_key2];
|
|
5810
|
+
}
|
|
5816
5811
|
return new Func(...args);
|
|
5817
5812
|
};
|
|
5818
5813
|
}
|
|
@@ -5835,18 +5830,18 @@ function unapply(func) {
|
|
|
5835
5830
|
if (thisArg instanceof RegExp) {
|
|
5836
5831
|
thisArg.lastIndex = 0;
|
|
5837
5832
|
}
|
|
5838
|
-
for (var
|
|
5839
|
-
args[
|
|
5833
|
+
for (var _len3 = arguments.length, args = new Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++) {
|
|
5834
|
+
args[_key3 - 1] = arguments[_key3];
|
|
5840
5835
|
}
|
|
5841
5836
|
return apply(func, thisArg, args);
|
|
5842
5837
|
};
|
|
5843
5838
|
}
|
|
5844
|
-
function unconstruct(
|
|
5839
|
+
function unconstruct(Func) {
|
|
5845
5840
|
return function() {
|
|
5846
|
-
for (var
|
|
5847
|
-
args[
|
|
5841
|
+
for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
|
|
5842
|
+
args[_key4] = arguments[_key4];
|
|
5848
5843
|
}
|
|
5849
|
-
return construct(
|
|
5844
|
+
return construct(Func, args);
|
|
5850
5845
|
};
|
|
5851
5846
|
}
|
|
5852
5847
|
function addToSet(set, array) {
|
|
@@ -5913,14 +5908,14 @@ function lookupGetter(object, prop2) {
|
|
|
5913
5908
|
}
|
|
5914
5909
|
return fallbackValue;
|
|
5915
5910
|
}
|
|
5916
|
-
const html$1 = freeze(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]);
|
|
5917
|
-
const svg$1 = freeze(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]);
|
|
5911
|
+
const html$1 = freeze(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "search", "section", "select", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]);
|
|
5912
|
+
const svg$1 = freeze(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "enterkeyhint", "exportparts", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "inputmode", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "part", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "slot", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]);
|
|
5918
5913
|
const svgFilters = freeze(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]);
|
|
5919
5914
|
const svgDisallowed = freeze(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]);
|
|
5920
5915
|
const mathMl$1 = freeze(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]);
|
|
5921
5916
|
const mathMlDisallowed = freeze(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]);
|
|
5922
5917
|
const text = freeze(["#text"]);
|
|
5923
|
-
const html = freeze(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]);
|
|
5918
|
+
const html = freeze(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "exportparts", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inert", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "part", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "slot", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]);
|
|
5924
5919
|
const svg = freeze(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]);
|
|
5925
5920
|
const mathMl = freeze(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]);
|
|
5926
5921
|
const xml = freeze(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]);
|
|
@@ -6004,7 +5999,7 @@ const _createHooksMap = function _createHooksMap2() {
|
|
|
6004
5999
|
function createDOMPurify() {
|
|
6005
6000
|
let window2 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : getGlobal();
|
|
6006
6001
|
const DOMPurify = (root) => createDOMPurify(root);
|
|
6007
|
-
DOMPurify.version = "3.2.
|
|
6002
|
+
DOMPurify.version = "3.2.7";
|
|
6008
6003
|
DOMPurify.removed = [];
|
|
6009
6004
|
if (!window2 || !window2.document || window2.document.nodeType !== NODE_TYPE.document || !window2.Element) {
|
|
6010
6005
|
DOMPurify.isSupported = false;
|
|
@@ -6486,7 +6481,7 @@ function createDOMPurify() {
|
|
|
6486
6481
|
// First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
|
6487
6482
|
// b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
6488
6483
|
// and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
|
|
6489
|
-
_isBasicCustomElement(lcTag) && (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, lcTag) || CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(lcTag)) && (CUSTOM_ELEMENT_HANDLING.attributeNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.attributeNameCheck, lcName) || CUSTOM_ELEMENT_HANDLING.attributeNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.attributeNameCheck(lcName)) || // Alternative, second condition checks if it's an `is`-attribute, AND
|
|
6484
|
+
_isBasicCustomElement(lcTag) && (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, lcTag) || CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(lcTag)) && (CUSTOM_ELEMENT_HANDLING.attributeNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.attributeNameCheck, lcName) || CUSTOM_ELEMENT_HANDLING.attributeNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.attributeNameCheck(lcName, lcTag)) || // Alternative, second condition checks if it's an `is`-attribute, AND
|
|
6490
6485
|
// the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
6491
6486
|
lcName === "is" && CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements && (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, value) || CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(value))
|
|
6492
6487
|
) ;
|
|
@@ -6541,7 +6536,11 @@ function createDOMPurify() {
|
|
|
6541
6536
|
_removeAttribute(name, currentNode);
|
|
6542
6537
|
value = SANITIZE_NAMED_PROPS_PREFIX + value;
|
|
6543
6538
|
}
|
|
6544
|
-
if (SAFE_FOR_XML && regExpTest(/((--!?|])>)|<\/(style|title)/i, value)) {
|
|
6539
|
+
if (SAFE_FOR_XML && regExpTest(/((--!?|])>)|<\/(style|title|textarea)/i, value)) {
|
|
6540
|
+
_removeAttribute(name, currentNode);
|
|
6541
|
+
continue;
|
|
6542
|
+
}
|
|
6543
|
+
if (lcName === "attributename" && stringMatch(value, "href")) {
|
|
6545
6544
|
_removeAttribute(name, currentNode);
|
|
6546
6545
|
continue;
|
|
6547
6546
|
}
|
|
@@ -6921,10 +6920,10 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
6921
6920
|
color: "#002255",
|
|
6922
6921
|
theme: "dark",
|
|
6923
6922
|
"prepend-icon": "mdi-desktop-tower",
|
|
6924
|
-
title: `${
|
|
6923
|
+
title: `${__props.title}`
|
|
6925
6924
|
}, {
|
|
6926
6925
|
text: withCtx(() => [
|
|
6927
|
-
createTextVNode(" [" + toDisplayString(
|
|
6926
|
+
createTextVNode(" [" + toDisplayString(__props.nodeid) + "] ", 1),
|
|
6928
6927
|
createVNode(_component_v_switch, {
|
|
6929
6928
|
modelValue: detailMode.value,
|
|
6930
6929
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => detailMode.value = $event),
|
|
@@ -6940,8 +6939,8 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
6940
6939
|
}),
|
|
6941
6940
|
createVNode(_component_v_col, { md: "10" }, {
|
|
6942
6941
|
default: withCtx(() => [
|
|
6943
|
-
createElementVNode("span", _hoisted_1$5, toDisplayString(round2Places(
|
|
6944
|
-
|
|
6942
|
+
createElementVNode("span", _hoisted_1$5, toDisplayString(round2Places(__props.instrumentData[`${unref(Gauge).DURATION_GAUGE}`].val)), 1),
|
|
6943
|
+
__props.isLeafNode === false ? (openBlock(), createElementBlock("span", _hoisted_2$4, toDisplayString(round2PlacesArray(__props.instrumentData[`${unref(Gauge).DURATION_GAUGE}`].percentile)), 1)) : createCommentVNode("", true)
|
|
6945
6944
|
]),
|
|
6946
6945
|
_: 1
|
|
6947
6946
|
})
|
|
@@ -6959,7 +6958,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
6959
6958
|
createVNode(_component_v_col, { md: "10" }, {
|
|
6960
6959
|
default: withCtx(() => [
|
|
6961
6960
|
createElementVNode("div", _hoisted_3$2, [
|
|
6962
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(
|
|
6961
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.instrumentData[`${unref(Gauge).DURATION_HISTOGRAM_GAUGE}`].hist, (histo, index) => {
|
|
6963
6962
|
return openBlock(), createElementBlock("div", { key: index }, [
|
|
6964
6963
|
createElementVNode("div", _hoisted_4$2, toDisplayString(histo[1]), 1),
|
|
6965
6964
|
createElementVNode("div", _hoisted_5$2, toDisplayString(histo[0]), 1)
|
|
@@ -6982,8 +6981,8 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
6982
6981
|
}),
|
|
6983
6982
|
createVNode(_component_v_col, { md: "10" }, {
|
|
6984
6983
|
default: withCtx(() => [
|
|
6985
|
-
createElementVNode("span", _hoisted_6$2, toDisplayString(round2Places(
|
|
6986
|
-
|
|
6984
|
+
createElementVNode("span", _hoisted_6$2, toDisplayString(round2Places(__props.instrumentData[`${unref(Gauge).LATENCY_GAUGE}`].val)), 1),
|
|
6985
|
+
__props.isLeafNode === false ? (openBlock(), createElementBlock("span", _hoisted_7$2, toDisplayString(round2PlacesArray(__props.instrumentData[`${unref(Gauge).LATENCY_GAUGE}`].percentile)), 1)) : createCommentVNode("", true)
|
|
6987
6986
|
]),
|
|
6988
6987
|
_: 1
|
|
6989
6988
|
})
|
|
@@ -7001,7 +7000,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
7001
7000
|
createVNode(_component_v_col, { md: "10" }, {
|
|
7002
7001
|
default: withCtx(() => [
|
|
7003
7002
|
createElementVNode("div", _hoisted_8$2, [
|
|
7004
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(
|
|
7003
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.instrumentData[`${unref(Gauge).LATENCY_HISTOGRAM_GAUGE}`].hist, (histo, index) => {
|
|
7005
7004
|
return openBlock(), createElementBlock("div", { key: index }, [
|
|
7006
7005
|
createElementVNode("div", _hoisted_9$2, toDisplayString(histo[1]), 1),
|
|
7007
7006
|
createElementVNode("div", _hoisted_10$2, toDisplayString(histo[0]), 1)
|
|
@@ -7040,9 +7039,9 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
7040
7039
|
}),
|
|
7041
7040
|
createVNode(_component_v_col, { md: "10" }, {
|
|
7042
7041
|
default: withCtx(() => [
|
|
7043
|
-
createElementVNode("span", _hoisted_11$2, toDisplayString(
|
|
7044
|
-
createElementVNode("span", _hoisted_12$2, "Error: " + toDisplayString(
|
|
7045
|
-
createElementVNode("span", _hoisted_13$2, "Retry: " + toDisplayString(
|
|
7042
|
+
createElementVNode("span", _hoisted_11$2, toDisplayString(__props.instrumentData[`${unref(Gauge).REQUEST_COUNT_GAUGE}`].val), 1),
|
|
7043
|
+
createElementVNode("span", _hoisted_12$2, "Error: " + toDisplayString(__props.instrumentData[`${unref(Gauge).ERROR_COUNT_GAUGE}`].val), 1),
|
|
7044
|
+
createElementVNode("span", _hoisted_13$2, "Retry: " + toDisplayString(__props.instrumentData[`${unref(Gauge).RETRY_COUNT_GAUGE}`].val), 1)
|
|
7046
7045
|
]),
|
|
7047
7046
|
_: 1
|
|
7048
7047
|
})
|
|
@@ -7059,9 +7058,9 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
7059
7058
|
}),
|
|
7060
7059
|
createVNode(_component_v_col, { md: "10" }, {
|
|
7061
7060
|
default: withCtx(() => [
|
|
7062
|
-
createElementVNode("span", _hoisted_14$2, toDisplayString(
|
|
7063
|
-
createElementVNode("span", _hoisted_15$2, "Error: " + toDisplayString(
|
|
7064
|
-
createElementVNode("span", _hoisted_16$1, "Retry: " + toDisplayString(
|
|
7061
|
+
createElementVNode("span", _hoisted_14$2, toDisplayString(__props.instrumentData[`${unref(Gauge).AUTHENTICATION_COUNT_GAUGE}`].val), 1),
|
|
7062
|
+
createElementVNode("span", _hoisted_15$2, "Error: " + toDisplayString(__props.instrumentData[`${unref(Gauge).AUTHENTICATION_ERROR_COUNT_GAUGE}`].val), 1),
|
|
7063
|
+
createElementVNode("span", _hoisted_16$1, "Retry: " + toDisplayString(__props.instrumentData[`${unref(Gauge).AUTHENTICATION_RETRY_COUNT_GAUGE}`].val), 1)
|
|
7065
7064
|
]),
|
|
7066
7065
|
_: 1
|
|
7067
7066
|
})
|
|
@@ -7079,11 +7078,11 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
7079
7078
|
createVNode(_component_v_col, { md: "10" }, {
|
|
7080
7079
|
default: withCtx(() => [
|
|
7081
7080
|
createElementVNode("span", _hoisted_17$1, [
|
|
7082
|
-
createTextVNode(toDisplayString(velocityFormat(
|
|
7083
|
-
createElementVNode("span", _hoisted_18$1, "[" + toDisplayString(velocityFormat(
|
|
7081
|
+
createTextVNode(toDisplayString(velocityFormat(__props.instrumentData[`${unref(Gauge).VELOCITY_GAUGE}`].va)) + " ", 1),
|
|
7082
|
+
createElementVNode("span", _hoisted_18$1, "[" + toDisplayString(velocityFormat(__props.instrumentData[`${unref(Gauge).VELOCITY_GAUGE}`].velocity)) + "]", 1)
|
|
7084
7083
|
]),
|
|
7085
|
-
createElementVNode("span", _hoisted_19$1, "Delta: " + toDisplayString(velocityFormat(
|
|
7086
|
-
createElementVNode("span", _hoisted_20$1, "Max: " + toDisplayString(velocityFormat(
|
|
7084
|
+
createElementVNode("span", _hoisted_19$1, "Delta: " + toDisplayString(velocityFormat(__props.instrumentData[`${unref(Gauge).VELOCITY_GAUGE}`].delta)), 1),
|
|
7085
|
+
createElementVNode("span", _hoisted_20$1, "Max: " + toDisplayString(velocityFormat(__props.instrumentData[`${unref(Gauge).VELOCITY_GAUGE}`].maxVelocity)), 1)
|
|
7087
7086
|
]),
|
|
7088
7087
|
_: 1
|
|
7089
7088
|
})
|
|
@@ -7100,8 +7099,8 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
7100
7099
|
}),
|
|
7101
7100
|
createVNode(_component_v_col, { md: "10" }, {
|
|
7102
7101
|
default: withCtx(() => [
|
|
7103
|
-
createElementVNode("span", _hoisted_21$1, toDisplayString(
|
|
7104
|
-
|
|
7102
|
+
createElementVNode("span", _hoisted_21$1, toDisplayString(__props.instrumentData[`${unref(Gauge).ACTIVE_REQUEST_GAUGE}`].val), 1),
|
|
7103
|
+
__props.isLeafNode === false ? (openBlock(), createElementBlock("span", _hoisted_22$1, toDisplayString(round0PlacesArray(__props.instrumentData[`${unref(Gauge).ACTIVE_REQUEST_GAUGE}`].percentile)), 1)) : createCommentVNode("", true)
|
|
7105
7104
|
]),
|
|
7106
7105
|
_: 1
|
|
7107
7106
|
})
|
|
@@ -7118,7 +7117,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
7118
7117
|
}),
|
|
7119
7118
|
createVNode(_component_v_col, { md: "10" }, {
|
|
7120
7119
|
default: withCtx(() => [
|
|
7121
|
-
createElementVNode("span", _hoisted_23$1, toDisplayString(
|
|
7120
|
+
createElementVNode("span", _hoisted_23$1, toDisplayString(__props.instrumentData[`${unref(Gauge).CORE_COUNT_GAUGE}`].val), 1)
|
|
7122
7121
|
]),
|
|
7123
7122
|
_: 1
|
|
7124
7123
|
})
|
|
@@ -7135,7 +7134,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
7135
7134
|
}),
|
|
7136
7135
|
createVNode(_component_v_col, { md: "10" }, {
|
|
7137
7136
|
default: withCtx(() => [
|
|
7138
|
-
createElementVNode("span", _hoisted_24$1, toDisplayString(convertMS(
|
|
7137
|
+
createElementVNode("span", _hoisted_24$1, toDisplayString(convertMS(__props.instrumentData[`${unref(Gauge).TIMER_GAUGE}`].val)), 1)
|
|
7139
7138
|
]),
|
|
7140
7139
|
_: 1
|
|
7141
7140
|
})
|
|
@@ -7153,7 +7152,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
7153
7152
|
createVNode(_component_v_col, { md: "10" }, {
|
|
7154
7153
|
default: withCtx(() => [
|
|
7155
7154
|
createElementVNode("div", _hoisted_25$1, [
|
|
7156
|
-
|
|
7155
|
+
__props.isLeafNode ? (openBlock(), createElementBlock("div", _hoisted_26$1, [
|
|
7157
7156
|
(openBlock(true), createElementBlock(Fragment, null, renderList(LogDataCopy.value, (logLine, index) => {
|
|
7158
7157
|
return openBlock(), createElementBlock("div", {
|
|
7159
7158
|
key: `ln-${index}`,
|
|
@@ -8849,14 +8848,14 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
8849
8848
|
rounded: "lg",
|
|
8850
8849
|
class: "mx-2 mt-2 mb-4 pa-2 pr-4",
|
|
8851
8850
|
elevation: 10,
|
|
8852
|
-
onClick: _cache[0] || (_cache[0] = ($event) => clicked(
|
|
8851
|
+
onClick: _cache[0] || (_cache[0] = ($event) => clicked(__props.nodeid))
|
|
8853
8852
|
}, {
|
|
8854
8853
|
default: withCtx(() => [
|
|
8855
8854
|
createElementVNode("div", _hoisted_1$4, [
|
|
8856
|
-
createTextVNode(toDisplayString(friendlyTitle(
|
|
8857
|
-
|
|
8858
|
-
createTextVNode(toDisplayString(
|
|
8859
|
-
createElementVNode("div", null, toDisplayString(
|
|
8855
|
+
createTextVNode(toDisplayString(friendlyTitle(__props.title)) + " ", 1),
|
|
8856
|
+
__props.title.length > 30 ? (openBlock(), createElementBlock("div", _hoisted_2$3, [
|
|
8857
|
+
createTextVNode(toDisplayString(__props.title.split("@")[0]) + " ", 1),
|
|
8858
|
+
createElementVNode("div", null, toDisplayString(__props.title.split("@")[1]), 1)
|
|
8860
8859
|
])) : createCommentVNode("", true)
|
|
8861
8860
|
]),
|
|
8862
8861
|
createVNode(_component_v_row, {
|
|
@@ -8875,7 +8874,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
8875
8874
|
default: withCtx(() => [
|
|
8876
8875
|
createElementVNode("div", _hoisted_3$1, [
|
|
8877
8876
|
createElementVNode("div", _hoisted_4$1, toDisplayString(CPU.value), 1),
|
|
8878
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(
|
|
8877
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.instrumentdata[`${unref(Gauge).CPU_LOAD_GAUGE}`].percentile, (perc, index) => {
|
|
8879
8878
|
return openBlock(), createElementBlock("div", { key: index }, [
|
|
8880
8879
|
createElementVNode("div", _hoisted_5$1, toDisplayString(perc[0]), 1),
|
|
8881
8880
|
createElementVNode("div", _hoisted_6$1, toDisplayString(perc[1].toFixed(2)), 1)
|
|
@@ -8926,8 +8925,8 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
8926
8925
|
createVNode(_component_v_col, { cols: "10" }, {
|
|
8927
8926
|
default: withCtx(() => [
|
|
8928
8927
|
createElementVNode("div", _hoisted_7$1, [
|
|
8929
|
-
createElementVNode("div", _hoisted_8$1, toDisplayString(round2Places(
|
|
8930
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(
|
|
8928
|
+
createElementVNode("div", _hoisted_8$1, toDisplayString(round2Places(__props.instrumentdata[`${unref(Gauge).DURATION_GAUGE}`].val)), 1),
|
|
8929
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.instrumentdata[`${unref(Gauge).DURATION_GAUGE}`].percentile, (perc, index) => {
|
|
8931
8930
|
return openBlock(), createElementBlock("div", { key: index }, [
|
|
8932
8931
|
createElementVNode("div", _hoisted_9$1, toDisplayString(perc[0]), 1),
|
|
8933
8932
|
createElementVNode("div", _hoisted_10$1, toDisplayString(perc[1].toFixed(2)), 1)
|
|
@@ -8954,7 +8953,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
8954
8953
|
createVNode(_component_v_col, { cols: "10" }, {
|
|
8955
8954
|
default: withCtx(() => [
|
|
8956
8955
|
createElementVNode("div", _hoisted_11$1, [
|
|
8957
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(
|
|
8956
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.instrumentdata[`${unref(Gauge).DURATION_HISTOGRAM_GAUGE}`].hist, (histo, index) => {
|
|
8958
8957
|
return openBlock(), createElementBlock("div", { key: index }, [
|
|
8959
8958
|
createElementVNode("div", _hoisted_12$1, toDisplayString(histo[1]), 1),
|
|
8960
8959
|
createElementVNode("div", _hoisted_13$1, toDisplayString(histo[0]), 1)
|
|
@@ -8981,8 +8980,8 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
8981
8980
|
createVNode(_component_v_col, { md: "10" }, {
|
|
8982
8981
|
default: withCtx(() => [
|
|
8983
8982
|
createElementVNode("div", _hoisted_14$1, [
|
|
8984
|
-
createElementVNode("div", _hoisted_15$1, toDisplayString(round2Places(
|
|
8985
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(
|
|
8983
|
+
createElementVNode("div", _hoisted_15$1, toDisplayString(round2Places(__props.instrumentdata[`${unref(Gauge).LATENCY_GAUGE}`].val)), 1),
|
|
8984
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.instrumentdata[`${unref(Gauge).LATENCY_GAUGE}`].percentile, (perc, index) => {
|
|
8986
8985
|
return openBlock(), createElementBlock("div", { key: index }, [
|
|
8987
8986
|
createElementVNode("div", _hoisted_16, toDisplayString(perc[0]), 1),
|
|
8988
8987
|
createElementVNode("div", _hoisted_17, toDisplayString(perc[1].toFixed(2)), 1)
|
|
@@ -9009,7 +9008,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
9009
9008
|
createVNode(_component_v_col, { md: "10" }, {
|
|
9010
9009
|
default: withCtx(() => [
|
|
9011
9010
|
createElementVNode("div", _hoisted_18, [
|
|
9012
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(
|
|
9011
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.instrumentdata[`${unref(Gauge).LATENCY_HISTOGRAM_GAUGE}`].hist, (histo, index) => {
|
|
9013
9012
|
return openBlock(), createElementBlock("div", { key: index }, [
|
|
9014
9013
|
createElementVNode("div", _hoisted_19, toDisplayString(histo[1]), 1),
|
|
9015
9014
|
createElementVNode("div", _hoisted_20, toDisplayString(histo[0]), 1)
|
|
@@ -9097,9 +9096,9 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
9097
9096
|
}),
|
|
9098
9097
|
createVNode(_component_v_col, { md: "9" }, {
|
|
9099
9098
|
default: withCtx(() => [
|
|
9100
|
-
createElementVNode("span", _hoisted_23, toDisplayString(
|
|
9101
|
-
createElementVNode("span", _hoisted_24, "Error: " + toDisplayString(
|
|
9102
|
-
createElementVNode("span", _hoisted_25, "Retry: " + toDisplayString(
|
|
9099
|
+
createElementVNode("span", _hoisted_23, toDisplayString(__props.instrumentdata[`${unref(Gauge).REQUEST_COUNT_GAUGE}`].val), 1),
|
|
9100
|
+
createElementVNode("span", _hoisted_24, "Error: " + toDisplayString(__props.instrumentdata[`${unref(Gauge).ERROR_COUNT_GAUGE}`].val), 1),
|
|
9101
|
+
createElementVNode("span", _hoisted_25, "Retry: " + toDisplayString(__props.instrumentdata[`${unref(Gauge).RETRY_COUNT_GAUGE}`].val), 1)
|
|
9103
9102
|
]),
|
|
9104
9103
|
_: 1
|
|
9105
9104
|
})
|
|
@@ -9119,9 +9118,9 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
9119
9118
|
}),
|
|
9120
9119
|
createVNode(_component_v_col, { md: "9" }, {
|
|
9121
9120
|
default: withCtx(() => [
|
|
9122
|
-
createElementVNode("span", _hoisted_26, toDisplayString(
|
|
9123
|
-
createElementVNode("span", _hoisted_27, "Error: " + toDisplayString(
|
|
9124
|
-
createElementVNode("span", _hoisted_28, "Retry: " + toDisplayString(
|
|
9121
|
+
createElementVNode("span", _hoisted_26, toDisplayString(__props.instrumentdata[`${unref(Gauge).AUTHENTICATION_COUNT_GAUGE}`].val), 1),
|
|
9122
|
+
createElementVNode("span", _hoisted_27, "Error: " + toDisplayString(__props.instrumentdata[`${unref(Gauge).AUTHENTICATION_ERROR_COUNT_GAUGE}`].val), 1),
|
|
9123
|
+
createElementVNode("span", _hoisted_28, "Retry: " + toDisplayString(__props.instrumentdata[`${unref(Gauge).AUTHENTICATION_RETRY_COUNT_GAUGE}`].val), 1)
|
|
9125
9124
|
]),
|
|
9126
9125
|
_: 1
|
|
9127
9126
|
})
|
|
@@ -9141,7 +9140,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
9141
9140
|
}),
|
|
9142
9141
|
createVNode(_component_v_col, { md: "9" }, {
|
|
9143
9142
|
default: withCtx(() => [
|
|
9144
|
-
createElementVNode("div", _hoisted_29, toDisplayString(velocityFormat(
|
|
9143
|
+
createElementVNode("div", _hoisted_29, toDisplayString(velocityFormat(__props.instrumentdata[`${unref(Gauge).VELOCITY_GAUGE}`].val)), 1)
|
|
9145
9144
|
]),
|
|
9146
9145
|
_: 1
|
|
9147
9146
|
})
|
|
@@ -9161,8 +9160,8 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
9161
9160
|
}),
|
|
9162
9161
|
createVNode(_component_v_col, { md: "9" }, {
|
|
9163
9162
|
default: withCtx(() => [
|
|
9164
|
-
createElementVNode("span", _hoisted_30, toDisplayString(
|
|
9165
|
-
|
|
9163
|
+
createElementVNode("span", _hoisted_30, toDisplayString(__props.instrumentdata[`${unref(Gauge).ACTIVE_REQUEST_GAUGE}`].val), 1),
|
|
9164
|
+
__props.isleafnode === false ? (openBlock(), createElementBlock("span", _hoisted_31, toDisplayString(round0PlacesArray(__props.instrumentdata[`${unref(Gauge).ACTIVE_REQUEST_GAUGE}`].percentile)), 1)) : createCommentVNode("", true)
|
|
9166
9165
|
]),
|
|
9167
9166
|
_: 1
|
|
9168
9167
|
})
|
|
@@ -9182,7 +9181,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
9182
9181
|
}),
|
|
9183
9182
|
createVNode(_component_v_col, { md: "9" }, {
|
|
9184
9183
|
default: withCtx(() => [
|
|
9185
|
-
createElementVNode("span", _hoisted_32, toDisplayString(
|
|
9184
|
+
createElementVNode("span", _hoisted_32, toDisplayString(__props.instrumentdata[`${unref(Gauge).CORE_COUNT_GAUGE}`].val), 1)
|
|
9186
9185
|
]),
|
|
9187
9186
|
_: 1
|
|
9188
9187
|
})
|
|
@@ -9202,8 +9201,8 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
9202
9201
|
}),
|
|
9203
9202
|
createVNode(_component_v_col, { md: "9" }, {
|
|
9204
9203
|
default: withCtx(() => [
|
|
9205
|
-
createElementVNode("span", _hoisted_33, toDisplayString(
|
|
9206
|
-
|
|
9204
|
+
createElementVNode("span", _hoisted_33, toDisplayString(__props.instrumentdata[`${unref(Gauge).CONNECTION_COUNT_GAUGE}`].val), 1),
|
|
9205
|
+
__props.isleafnode === false ? (openBlock(), createElementBlock("span", _hoisted_34, toDisplayString(round0PlacesArray(__props.instrumentdata[`${unref(Gauge).CONNECTION_COUNT_GAUGE}`].percentile)), 1)) : createCommentVNode("", true)
|
|
9207
9206
|
]),
|
|
9208
9207
|
_: 1
|
|
9209
9208
|
})
|
|
@@ -9223,9 +9222,9 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
9223
9222
|
}),
|
|
9224
9223
|
createVNode(_component_v_col, { md: "9" }, {
|
|
9225
9224
|
default: withCtx(() => [
|
|
9226
|
-
createElementVNode("span", _hoisted_35, toDisplayString(
|
|
9227
|
-
createElementVNode("span", _hoisted_36, "Idle: " + toDisplayString(velocityFormat(
|
|
9228
|
-
createElementVNode("span", _hoisted_37, "Wait: " + toDisplayString(velocityFormat(
|
|
9225
|
+
createElementVNode("span", _hoisted_35, toDisplayString(__props.instrumentdata[`${unref(Gauge).CONNECTION_POOL_TOTAL_GAUGE}`].val), 1),
|
|
9226
|
+
createElementVNode("span", _hoisted_36, "Idle: " + toDisplayString(velocityFormat(__props.instrumentdata[`${unref(Gauge).CONNECTION_POOL_IDLE_GAUGE}`].val)), 1),
|
|
9227
|
+
createElementVNode("span", _hoisted_37, "Wait: " + toDisplayString(velocityFormat(__props.instrumentdata[`${unref(Gauge).CONNECTION_POOL_WAITING_GAUGE}`].val)), 1)
|
|
9229
9228
|
]),
|
|
9230
9229
|
_: 1
|
|
9231
9230
|
})
|
|
@@ -9245,7 +9244,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
9245
9244
|
}),
|
|
9246
9245
|
createVNode(_component_v_col, { md: "9" }, {
|
|
9247
9246
|
default: withCtx(() => [
|
|
9248
|
-
createElementVNode("span", _hoisted_38, toDisplayString(convertMS(
|
|
9247
|
+
createElementVNode("span", _hoisted_38, toDisplayString(convertMS(__props.instrumentdata[`${unref(Gauge).TIMER_GAUGE}`].val)), 1)
|
|
9249
9248
|
]),
|
|
9250
9249
|
_: 1
|
|
9251
9250
|
})
|
|
@@ -9266,7 +9265,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
9266
9265
|
createVNode(_component_v_col, { md: "9" }, {
|
|
9267
9266
|
default: withCtx(() => [
|
|
9268
9267
|
createElementVNode("div", _hoisted_39, [
|
|
9269
|
-
|
|
9268
|
+
__props.isleafnode ? (openBlock(), createElementBlock("div", _hoisted_40, [
|
|
9270
9269
|
(openBlock(true), createElementBlock(Fragment, null, renderList(LogDataCopy.value, (logLine, index) => {
|
|
9271
9270
|
return openBlock(), createElementBlock("div", {
|
|
9272
9271
|
key: `ln-${index}`,
|
|
@@ -9607,14 +9606,14 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
9607
9606
|
rounded: "lg",
|
|
9608
9607
|
class: "mx-2 mt-2 mb-4 pa-2",
|
|
9609
9608
|
elevation: 10,
|
|
9610
|
-
onClick: _cache[0] || (_cache[0] = ($event) => clicked(
|
|
9609
|
+
onClick: _cache[0] || (_cache[0] = ($event) => clicked(__props.nodeid))
|
|
9611
9610
|
}, {
|
|
9612
9611
|
default: withCtx(() => [
|
|
9613
9612
|
createElementVNode("div", _hoisted_1$3, [
|
|
9614
|
-
createTextVNode(toDisplayString(friendlyTitle(
|
|
9615
|
-
|
|
9616
|
-
createTextVNode(toDisplayString(
|
|
9617
|
-
createElementVNode("div", null, toDisplayString(
|
|
9613
|
+
createTextVNode(toDisplayString(friendlyTitle(__props.title)) + " ", 1),
|
|
9614
|
+
__props.title.length > 30 ? (openBlock(), createElementBlock("div", _hoisted_2$2, [
|
|
9615
|
+
createTextVNode(toDisplayString(__props.title.split("@")[0]) + " ", 1),
|
|
9616
|
+
createElementVNode("div", null, toDisplayString(__props.title.split("@")[1]), 1)
|
|
9618
9617
|
])) : createCommentVNode("", true)
|
|
9619
9618
|
]),
|
|
9620
9619
|
createVNode(_component_v_row, {
|
|
@@ -9909,7 +9908,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
9909
9908
|
class: "d-inline-flex align-center justify-center ma-0 pa-0"
|
|
9910
9909
|
}, [
|
|
9911
9910
|
cpu(svc) > 0 ? (openBlock(), createElementBlock("div", _hoisted_2$1, [
|
|
9912
|
-
(openBlock(), createBlock(resolveDynamicComponent(
|
|
9911
|
+
(openBlock(), createBlock(resolveDynamicComponent(__props.smallMode ? UXModelInstrumentServiceSmall : UXModelInstrumentServiceCommon), {
|
|
9913
9912
|
isleafnode: false,
|
|
9914
9913
|
"model-id": props.modelId,
|
|
9915
9914
|
nodeid: svc.id,
|
|
@@ -9944,13 +9943,9 @@ function rng() {
|
|
|
9944
9943
|
}
|
|
9945
9944
|
const randomUUID = typeof crypto !== "undefined" && crypto.randomUUID && crypto.randomUUID.bind(crypto);
|
|
9946
9945
|
const native = { randomUUID };
|
|
9947
|
-
function
|
|
9948
|
-
var _a;
|
|
9949
|
-
if (native.randomUUID && true && !options) {
|
|
9950
|
-
return native.randomUUID();
|
|
9951
|
-
}
|
|
9946
|
+
function _v4(options, buf, offset) {
|
|
9952
9947
|
options = options || {};
|
|
9953
|
-
const rnds = options.random ??
|
|
9948
|
+
const rnds = options.random ?? options.rng?.() ?? rng();
|
|
9954
9949
|
if (rnds.length < 16) {
|
|
9955
9950
|
throw new Error("Random bytes length must be >= 16");
|
|
9956
9951
|
}
|
|
@@ -9958,25 +9953,29 @@ function v4(options, buf, offset) {
|
|
|
9958
9953
|
rnds[8] = rnds[8] & 63 | 128;
|
|
9959
9954
|
return unsafeStringify(rnds);
|
|
9960
9955
|
}
|
|
9961
|
-
|
|
9962
|
-
|
|
9963
|
-
|
|
9964
|
-
|
|
9965
|
-
|
|
9966
|
-
|
|
9967
|
-
var __privateSet2 = (obj, member, value, setter) => (__accessCheck2(obj, member, "write to private field"), member.set(obj, value), value);
|
|
9968
|
-
var __privateMethod = (obj, member, method) => (__accessCheck2(obj, member, "access private method"), method);
|
|
9969
|
-
var _options, _sockets, _SocketIoClientHelper_instances, LogDebugMessage_fn, LogErrorMessage_fn, EstablishSocketConnect_fn;
|
|
9956
|
+
function v4(options, buf, offset) {
|
|
9957
|
+
if (native.randomUUID && true && !options) {
|
|
9958
|
+
return native.randomUUID();
|
|
9959
|
+
}
|
|
9960
|
+
return _v4(options);
|
|
9961
|
+
}
|
|
9970
9962
|
const isNode = Object.prototype.toString.call(typeof process !== "undefined" ? process : 0) === "[object process]";
|
|
9971
9963
|
class SocketIoClientHelper {
|
|
9964
|
+
#options;
|
|
9965
|
+
#sockets = {};
|
|
9972
9966
|
constructor(options) {
|
|
9973
|
-
|
|
9974
|
-
|
|
9975
|
-
|
|
9976
|
-
|
|
9967
|
+
this.#options = options;
|
|
9968
|
+
}
|
|
9969
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
9970
|
+
#LogDebugMessage(message) {
|
|
9971
|
+
if (this.#options.logger) this.#options.logger.debug(message);
|
|
9972
|
+
}
|
|
9973
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
9974
|
+
#LogErrorMessage(message) {
|
|
9975
|
+
if (this.#options.logger) this.#options.logger.error(message);
|
|
9977
9976
|
}
|
|
9978
9977
|
get sockets() {
|
|
9979
|
-
return
|
|
9978
|
+
return this.#sockets;
|
|
9980
9979
|
}
|
|
9981
9980
|
SetupClientSideSocket(name, address, socketIoCustomPath, onConnectCallBack, socketEventsCallBack, errorCallBack) {
|
|
9982
9981
|
this.sockets[name] = {
|
|
@@ -9985,7 +9984,7 @@ class SocketIoClientHelper {
|
|
|
9985
9984
|
socket: null,
|
|
9986
9985
|
errorCallBack
|
|
9987
9986
|
};
|
|
9988
|
-
|
|
9987
|
+
this.#EstablishSocketConnect(name, socketIoCustomPath, onConnectCallBack, socketEventsCallBack);
|
|
9989
9988
|
return this.sockets[name].socket;
|
|
9990
9989
|
}
|
|
9991
9990
|
GetSocket(name) {
|
|
@@ -9994,127 +9993,117 @@ class SocketIoClientHelper {
|
|
|
9994
9993
|
GetSocketDetail(name) {
|
|
9995
9994
|
return this.sockets[name];
|
|
9996
9995
|
}
|
|
9997
|
-
|
|
9998
|
-
|
|
9999
|
-
|
|
10000
|
-
|
|
10001
|
-
|
|
10002
|
-
|
|
10003
|
-
|
|
10004
|
-
|
|
10005
|
-
|
|
10006
|
-
}
|
|
10007
|
-
|
|
10008
|
-
|
|
10009
|
-
|
|
10010
|
-
if (socketDetail.socket.connected === true) {
|
|
10011
|
-
socketDetail.socket.disconnect();
|
|
9996
|
+
#EstablishSocketConnect(name, socketIoCustomPath, onConnectCallBack, socketEventsCallBack) {
|
|
9997
|
+
const socketDetail = this.sockets[name];
|
|
9998
|
+
if (socketDetail.socket !== null) {
|
|
9999
|
+
if (socketDetail.socket.connected === true) {
|
|
10000
|
+
socketDetail.socket.disconnect();
|
|
10001
|
+
}
|
|
10002
|
+
socketDetail.socket = null;
|
|
10003
|
+
if (isNode) {
|
|
10004
|
+
setTimeout(() => this.#EstablishSocketConnect(name, socketIoCustomPath, onConnectCallBack, socketEventsCallBack), 100).unref();
|
|
10005
|
+
} else {
|
|
10006
|
+
setTimeout(() => this.#EstablishSocketConnect(name, socketIoCustomPath, onConnectCallBack, socketEventsCallBack), 100);
|
|
10007
|
+
}
|
|
10008
|
+
return;
|
|
10012
10009
|
}
|
|
10013
|
-
|
|
10010
|
+
let socketOptions;
|
|
10014
10011
|
if (isNode) {
|
|
10015
|
-
|
|
10012
|
+
socketOptions = {
|
|
10013
|
+
transports: ["websocket"]
|
|
10014
|
+
};
|
|
10015
|
+
if (this.#options.agentManager) {
|
|
10016
|
+
socketOptions.agent = this.#options.agentManager.GetAgent(socketDetail.address);
|
|
10017
|
+
}
|
|
10016
10018
|
} else {
|
|
10017
|
-
|
|
10019
|
+
socketOptions = {
|
|
10020
|
+
transports: ["websocket"]
|
|
10021
|
+
};
|
|
10018
10022
|
}
|
|
10019
|
-
|
|
10020
|
-
|
|
10021
|
-
let socketOptions;
|
|
10022
|
-
if (isNode) {
|
|
10023
|
-
socketOptions = {
|
|
10024
|
-
transports: ["websocket"]
|
|
10025
|
-
};
|
|
10026
|
-
if (__privateGet2(this, _options).agentManager) {
|
|
10027
|
-
socketOptions.agent = __privateGet2(this, _options).agentManager.GetAgent(socketDetail.address);
|
|
10023
|
+
if (socketIoCustomPath && socketIoCustomPath.localeCompare("") !== 0) {
|
|
10024
|
+
socketOptions.path = socketIoCustomPath;
|
|
10028
10025
|
}
|
|
10029
|
-
|
|
10030
|
-
|
|
10031
|
-
|
|
10032
|
-
};
|
|
10033
|
-
|
|
10034
|
-
|
|
10035
|
-
|
|
10036
|
-
|
|
10037
|
-
|
|
10038
|
-
|
|
10039
|
-
|
|
10040
|
-
|
|
10041
|
-
|
|
10042
|
-
|
|
10043
|
-
|
|
10044
|
-
|
|
10045
|
-
|
|
10046
|
-
|
|
10047
|
-
|
|
10048
|
-
|
|
10049
|
-
|
|
10050
|
-
|
|
10051
|
-
|
|
10052
|
-
|
|
10053
|
-
|
|
10054
|
-
|
|
10055
|
-
|
|
10056
|
-
|
|
10057
|
-
|
|
10058
|
-
|
|
10059
|
-
|
|
10060
|
-
}
|
|
10061
|
-
if (socketEventsCallBack) {
|
|
10062
|
-
socketEventsCallBack(socketDetail.socket);
|
|
10026
|
+
socketDetail.socket = io(socketDetail.address, socketOptions);
|
|
10027
|
+
socketDetail.socket.io.on("error", (err) => {
|
|
10028
|
+
this.#LogErrorMessage(`SocketIoClientHelper(): socketDetail.socket.io.on('error'): [${err}]`);
|
|
10029
|
+
});
|
|
10030
|
+
socketDetail.socket.io.on("reconnect_error", (err) => {
|
|
10031
|
+
this.#LogErrorMessage(`SocketIoClientHelper(): socketDetail.socket.io.on('reconnect_error'): [${err}]`);
|
|
10032
|
+
});
|
|
10033
|
+
socketDetail.socket.io.on("reconnect", (attempt) => {
|
|
10034
|
+
this.#LogErrorMessage(`SocketIoClientHelper(): socketDetail.socket.io.on('reconnect'): Number: [${attempt}]`);
|
|
10035
|
+
});
|
|
10036
|
+
socketDetail.socket.on("connect_error", (err) => {
|
|
10037
|
+
this.#LogErrorMessage(`SocketIoClientHelper(): socketDetail.socket.on('connect_error'): [${err}]`);
|
|
10038
|
+
});
|
|
10039
|
+
socketDetail.socket.on("connect_timeout", () => {
|
|
10040
|
+
this.#LogErrorMessage(`SocketIoClientHelper(): socketDetail.socket.on('connect_timeout')`);
|
|
10041
|
+
});
|
|
10042
|
+
socketDetail.socket.on("connect", () => {
|
|
10043
|
+
if (socketDetail.socket) {
|
|
10044
|
+
this.#LogDebugMessage(`SocketIoClientHelper(): Socket: [${socketDetail.socket.id}]: connected`);
|
|
10045
|
+
if (onConnectCallBack) {
|
|
10046
|
+
setTimeout(() => {
|
|
10047
|
+
onConnectCallBack(socketDetail.socket);
|
|
10048
|
+
}, 0);
|
|
10049
|
+
}
|
|
10050
|
+
if (socketEventsCallBack) {
|
|
10051
|
+
socketEventsCallBack(socketDetail.socket);
|
|
10052
|
+
}
|
|
10053
|
+
} else {
|
|
10054
|
+
const errorMessage = "SocketIoClientHelper(): Could not get socket object from socket.io";
|
|
10055
|
+
this.#LogErrorMessage(errorMessage);
|
|
10056
|
+
socketDetail.errorCallBack(new Error(errorMessage));
|
|
10063
10057
|
}
|
|
10064
|
-
}
|
|
10065
|
-
|
|
10066
|
-
|
|
10067
|
-
|
|
10068
|
-
|
|
10069
|
-
|
|
10070
|
-
|
|
10071
|
-
|
|
10072
|
-
|
|
10073
|
-
|
|
10074
|
-
|
|
10075
|
-
|
|
10076
|
-
|
|
10077
|
-
|
|
10078
|
-
|
|
10079
|
-
|
|
10080
|
-
|
|
10081
|
-
if (__privateGet2(this, _options).agentManager) {
|
|
10082
|
-
__privateGet2(this, _options).agentManager.ResetAgent();
|
|
10058
|
+
});
|
|
10059
|
+
socketDetail.socket.on("disconnect", (reason) => {
|
|
10060
|
+
this.#LogDebugMessage("SocketIoClientHelper(): socket disconnect: " + reason);
|
|
10061
|
+
switch (reason) {
|
|
10062
|
+
case "io server disconnect":
|
|
10063
|
+
{
|
|
10064
|
+
this.#LogDebugMessage("SocketIoClientHelper(): The server disconnected using disconnectSockets, i.e. normal safe shutdown from explicit disconnection by the server.");
|
|
10065
|
+
this.#LogDebugMessage("SocketIoClientHelper(): The connection will be re-established when the server becomes available.");
|
|
10066
|
+
const socketDetail2 = this.sockets[name];
|
|
10067
|
+
socketDetail2.socket = null;
|
|
10068
|
+
if (isNode) {
|
|
10069
|
+
if (this.#options.agentManager) {
|
|
10070
|
+
this.#options.agentManager.ResetAgent();
|
|
10071
|
+
}
|
|
10072
|
+
setTimeout(() => this.#EstablishSocketConnect(name, socketIoCustomPath, onConnectCallBack, socketEventsCallBack), 100).unref();
|
|
10073
|
+
} else {
|
|
10074
|
+
setTimeout(() => this.#EstablishSocketConnect(name, socketIoCustomPath, onConnectCallBack, socketEventsCallBack), 100);
|
|
10083
10075
|
}
|
|
10084
|
-
setTimeout(() => __privateMethod(this, _SocketIoClientHelper_instances, EstablishSocketConnect_fn).call(this, name, socketIoCustomPath, onConnectCallBack, socketEventsCallBack), 100).unref();
|
|
10085
|
-
} else {
|
|
10086
|
-
setTimeout(() => __privateMethod(this, _SocketIoClientHelper_instances, EstablishSocketConnect_fn).call(this, name, socketIoCustomPath, onConnectCallBack, socketEventsCallBack), 100);
|
|
10087
10076
|
}
|
|
10088
|
-
|
|
10089
|
-
|
|
10090
|
-
|
|
10091
|
-
|
|
10092
|
-
|
|
10093
|
-
|
|
10094
|
-
|
|
10095
|
-
|
|
10096
|
-
|
|
10097
|
-
|
|
10098
|
-
|
|
10099
|
-
|
|
10100
|
-
|
|
10101
|
-
|
|
10102
|
-
|
|
10103
|
-
|
|
10104
|
-
|
|
10105
|
-
|
|
10106
|
-
|
|
10107
|
-
|
|
10077
|
+
break;
|
|
10078
|
+
case "io client disconnect":
|
|
10079
|
+
this.#LogDebugMessage("SocketIoClientHelper(): The client disconnected using disconnectSockets, i.e. normal safe disconnection from explicit disconnection by the client.");
|
|
10080
|
+
this.#LogDebugMessage("SocketIoClientHelper(): The connection will not be re-established automatically.");
|
|
10081
|
+
break;
|
|
10082
|
+
case "transport close":
|
|
10083
|
+
case "ping timeout":
|
|
10084
|
+
case "transport error":
|
|
10085
|
+
{
|
|
10086
|
+
this.#LogDebugMessage(`SocketIoClientHelper(): Server unexpectedly disconnected. Reason: [${reason}]`);
|
|
10087
|
+
this.#LogDebugMessage("SocketIoClientHelper(): The connection will be re-established when the server becomes available.");
|
|
10088
|
+
const socketDetail2 = this.sockets[name];
|
|
10089
|
+
if (socketDetail2.socket) {
|
|
10090
|
+
socketDetail2.socket.disconnect();
|
|
10091
|
+
}
|
|
10092
|
+
socketDetail2.socket = null;
|
|
10093
|
+
if (isNode) {
|
|
10094
|
+
if (this.#options.agentManager) {
|
|
10095
|
+
this.#options.agentManager?.ResetAgent();
|
|
10096
|
+
}
|
|
10097
|
+
setTimeout(() => this.#EstablishSocketConnect(name, socketIoCustomPath, onConnectCallBack, socketEventsCallBack), 100).unref();
|
|
10098
|
+
} else {
|
|
10099
|
+
setTimeout(() => this.#EstablishSocketConnect(name, socketIoCustomPath, onConnectCallBack, socketEventsCallBack), 100);
|
|
10108
10100
|
}
|
|
10109
|
-
setTimeout(() => __privateMethod(this, _SocketIoClientHelper_instances, EstablishSocketConnect_fn).call(this, name, socketIoCustomPath, onConnectCallBack, socketEventsCallBack), 100).unref();
|
|
10110
|
-
} else {
|
|
10111
|
-
setTimeout(() => __privateMethod(this, _SocketIoClientHelper_instances, EstablishSocketConnect_fn).call(this, name, socketIoCustomPath, onConnectCallBack, socketEventsCallBack), 100);
|
|
10112
10101
|
}
|
|
10113
|
-
|
|
10114
|
-
|
|
10115
|
-
}
|
|
10116
|
-
}
|
|
10117
|
-
}
|
|
10102
|
+
break;
|
|
10103
|
+
}
|
|
10104
|
+
});
|
|
10105
|
+
}
|
|
10106
|
+
}
|
|
10118
10107
|
var tinyEmitter = { exports: {} };
|
|
10119
10108
|
var hasRequiredTinyEmitter;
|
|
10120
10109
|
function requireTinyEmitter() {
|
|
@@ -10171,220 +10160,199 @@ function requireTinyEmitter() {
|
|
|
10171
10160
|
var tinyEmitterExports = requireTinyEmitter();
|
|
10172
10161
|
const SOCKET_NAMESPACE = "stsinstrumentmanager/stsmonitor";
|
|
10173
10162
|
class ObservabilitySubscriberManager {
|
|
10163
|
+
#socket = null;
|
|
10164
|
+
#observabilitySocketIOSubscriber = null;
|
|
10165
|
+
#logger;
|
|
10166
|
+
#observabilitySubscriptionManager = null;
|
|
10167
|
+
#store;
|
|
10168
|
+
#state = "init";
|
|
10169
|
+
#modelId;
|
|
10170
|
+
#options;
|
|
10171
|
+
#tinyEmitter;
|
|
10172
|
+
#id;
|
|
10174
10173
|
constructor(options) {
|
|
10175
|
-
|
|
10176
|
-
|
|
10177
|
-
|
|
10178
|
-
|
|
10179
|
-
|
|
10180
|
-
|
|
10181
|
-
|
|
10182
|
-
|
|
10183
|
-
|
|
10184
|
-
|
|
10185
|
-
|
|
10186
|
-
|
|
10187
|
-
|
|
10188
|
-
|
|
10189
|
-
|
|
10190
|
-
|
|
10191
|
-
|
|
10192
|
-
|
|
10193
|
-
|
|
10194
|
-
|
|
10195
|
-
|
|
10196
|
-
|
|
10197
|
-
|
|
10174
|
+
this.#id = v4();
|
|
10175
|
+
this.#options = options;
|
|
10176
|
+
this.#modelId = options.modelId;
|
|
10177
|
+
this.#logger = defaultLogger;
|
|
10178
|
+
this.#store = ModelStore();
|
|
10179
|
+
this.#tinyEmitter = new tinyEmitterExports.TinyEmitter();
|
|
10180
|
+
if (!this.#options.consumeInstrumentationMode) {
|
|
10181
|
+
this.#options.consumeInstrumentationMode = "PROXY";
|
|
10182
|
+
}
|
|
10183
|
+
}
|
|
10184
|
+
get id() {
|
|
10185
|
+
return this.#id;
|
|
10186
|
+
}
|
|
10187
|
+
#SocketIOConnect = (socket) => {
|
|
10188
|
+
try {
|
|
10189
|
+
console.log(chalk.cyan(`SocketIOConnect(): Starting`));
|
|
10190
|
+
console.log(chalk.cyan(`SocketIOConnect(): State: [${this.#state}]`));
|
|
10191
|
+
console.log(chalk.cyan(`SocketIOConnect(): Current Model Subscriptions: [${this.#observabilitySubscriptionManager?.subscriptions}]`));
|
|
10192
|
+
if (this.#observabilitySocketIOSubscriber instanceof ObservabilitySocketIOSubscriber) {
|
|
10193
|
+
if (socket.id) {
|
|
10194
|
+
const observabilitySocketIOSubscriberSocketId = this.#observabilitySocketIOSubscriber.socket.id;
|
|
10195
|
+
if (observabilitySocketIOSubscriberSocketId) {
|
|
10196
|
+
if (socket.id.localeCompare(observabilitySocketIOSubscriberSocketId) === 0) {
|
|
10197
|
+
this.#logger.debug(chalk.cyan(`AgentSocketClient:constructor:SocketIOConnectSocket(): ids are the same - ignoring`));
|
|
10198
10198
|
}
|
|
10199
10199
|
}
|
|
10200
|
-
__privateGet(this, _logger).debug(chalk.cyan(`AgentSocketClient:constructor:SocketIOConnect(): Socket ids are different - update with new socket`));
|
|
10201
|
-
__privateGet(this, _observabilitySocketIOSubscriber).socket = socket;
|
|
10202
|
-
(_b = __privateGet(this, _observabilitySubscriptionManager)) == null ? void 0 : _b.Stop();
|
|
10203
|
-
if (__privateGet(this, _state).localeCompare("started") === 0) {
|
|
10204
|
-
setTimeout(() => {
|
|
10205
|
-
var _a2;
|
|
10206
|
-
__privateGet(this, _logger).debug(chalk.cyan(`AgentSocketClient:constructor:SocketIOConnect(): observabilitySubscriptionManager Start`));
|
|
10207
|
-
(_a2 = __privateGet(this, _observabilitySubscriptionManager)) == null ? void 0 : _a2.Start();
|
|
10208
|
-
__privateGet(this, _tinyEmitter).emit("connected");
|
|
10209
|
-
}, 2500);
|
|
10210
|
-
} else {
|
|
10211
|
-
__privateGet(this, _logger).debug(chalk.cyan(`AgentSocketClient:constructor:SocketIOConnect(): state not in the started state, current state: [${__privateGet(this, _state)}]`));
|
|
10212
|
-
__privateGet(this, _tinyEmitter).emit("connected");
|
|
10213
|
-
}
|
|
10214
|
-
} else {
|
|
10215
|
-
__privateGet(this, _logger).debug(chalk.cyan(`SocketIOConnect(): this.#observabilitySocketIOSubscriber not instance of ObservabilitySocketIOSubscriber`));
|
|
10216
|
-
__privateGet(this, _logger).debug(chalk.cyan(__privateGet(this, _observabilitySocketIOSubscriber)));
|
|
10217
|
-
__privateGet(this, _tinyEmitter).emit("connected");
|
|
10218
10200
|
}
|
|
10219
|
-
|
|
10220
|
-
|
|
10221
|
-
|
|
10222
|
-
|
|
10223
|
-
|
|
10224
|
-
|
|
10225
|
-
|
|
10226
|
-
|
|
10227
|
-
|
|
10228
|
-
switch (__privateGet(this, _options2).consumeInstrumentationMode) {
|
|
10229
|
-
case "PROXY":
|
|
10230
|
-
__privateSet(this, _observabilitySocketIOSubscriber, new ObservabilitySocketIOSubscriber({
|
|
10231
|
-
socket: __privateGet(this, _socket),
|
|
10232
|
-
keepAlive: 2500,
|
|
10233
|
-
//@@
|
|
10234
|
-
logger: __privateGet(this, _logger)
|
|
10235
|
-
}));
|
|
10236
|
-
break;
|
|
10237
|
-
case "REST":
|
|
10238
|
-
__privateSet(this, _observabilitySocketIOSubscriber, new ObservabilityRESTAPISubscriber({
|
|
10239
|
-
keepAlive: 1e3,
|
|
10240
|
-
//@@
|
|
10241
|
-
urlBase: `${__privateGet(this, _options2).instrumentManagerEndpoint}:${__privateGet(this, _options2).instrumentManagerPort}${__privateGet(this, _options2).instrumentManagerAPIRoot}`,
|
|
10242
|
-
logger: __privateGet(this, _logger)
|
|
10243
|
-
}));
|
|
10244
|
-
break;
|
|
10245
|
-
default:
|
|
10246
|
-
__privateGet(this, _logger).error(chalk.red(`ObservabilitySubscriberManager:SetupObservabilitySubscriber(): Unsupported consumeInstrumentationMode mode: [${__privateGet(this, _options2).consumeInstrumentationMode}]`));
|
|
10247
|
-
return;
|
|
10248
|
-
}
|
|
10249
|
-
__privateSet(this, _observabilitySubscriptionManager, new ObservabilitySubscriptionManager({
|
|
10250
|
-
logger: __privateGet(this, _logger),
|
|
10251
|
-
maxLogLength: 100
|
|
10252
|
-
}));
|
|
10253
|
-
__privateGet(this, _observabilitySubscriptionManager).observabilitySocketIOSubscriber = __privateGet(this, _observabilitySocketIOSubscriber);
|
|
10254
|
-
});
|
|
10255
|
-
__publicField(this, "Start", () => {
|
|
10256
|
-
return new Promise((resolve) => {
|
|
10257
|
-
if (__privateGet(this, _options2).consumeInstrumentationMode.localeCompare("PROXY") === 0) {
|
|
10258
|
-
const onConnected = () => {
|
|
10259
|
-
__privateGet(this, _tinyEmitter).off("connected", onConnected);
|
|
10260
|
-
__privateGet(this, _logger).debug(chalk.cyan(`ObservabilitySubscriberManager:Start() connected`));
|
|
10261
|
-
resolve(true);
|
|
10262
|
-
};
|
|
10263
|
-
__privateGet(this, _tinyEmitter).on("connected", onConnected);
|
|
10264
|
-
__privateGet(this, _SetupSocketIO).call(this);
|
|
10201
|
+
this.#logger.debug(chalk.cyan(`AgentSocketClient:constructor:SocketIOConnect(): Socket ids are different - update with new socket`));
|
|
10202
|
+
this.#observabilitySocketIOSubscriber.socket = socket;
|
|
10203
|
+
this.#observabilitySubscriptionManager?.Stop();
|
|
10204
|
+
if (this.#state.localeCompare("started") === 0) {
|
|
10205
|
+
setTimeout(() => {
|
|
10206
|
+
this.#logger.debug(chalk.cyan(`AgentSocketClient:constructor:SocketIOConnect(): observabilitySubscriptionManager Start`));
|
|
10207
|
+
this.#observabilitySubscriptionManager?.Start();
|
|
10208
|
+
this.#tinyEmitter.emit("connected");
|
|
10209
|
+
}, 2500);
|
|
10265
10210
|
} else {
|
|
10266
|
-
|
|
10267
|
-
|
|
10211
|
+
this.#logger.debug(chalk.cyan(`AgentSocketClient:constructor:SocketIOConnect(): state not in the started state, current state: [${this.#state}]`));
|
|
10212
|
+
this.#tinyEmitter.emit("connected");
|
|
10268
10213
|
}
|
|
10269
|
-
}
|
|
10270
|
-
|
|
10271
|
-
|
|
10272
|
-
|
|
10273
|
-
__privateSet(this, _socket, socketUtils.SetupClientSideSocket(
|
|
10274
|
-
"STSVueTilsTester",
|
|
10275
|
-
`${__privateGet(this, _options2).instrumentManagerEndpoint}:${__privateGet(this, _options2).instrumentManagerPort}/${SOCKET_NAMESPACE}/`,
|
|
10276
|
-
"",
|
|
10277
|
-
// use default /socket.io/ path
|
|
10278
|
-
__privateGet(this, _SocketConnect),
|
|
10279
|
-
// Connected call back
|
|
10280
|
-
__privateGet(this, _ProcessSocketEvents),
|
|
10281
|
-
// Custom Events
|
|
10282
|
-
__privateGet(this, _ProcessSocketError)
|
|
10283
|
-
// Handle socket errors
|
|
10284
|
-
));
|
|
10285
|
-
});
|
|
10286
|
-
__privateAdd(this, _SocketConnect, (socket) => {
|
|
10287
|
-
defaultLogger.debug(chalk.magenta(`SocketIOConnect(): Socket ID: [${socket.id}]`));
|
|
10288
|
-
if (__privateGet(this, _observabilitySubscriptionManager) === null) {
|
|
10289
|
-
__privateGet(this, _SetupObservabilitySubscriber).call(this);
|
|
10214
|
+
} else {
|
|
10215
|
+
this.#logger.debug(chalk.cyan(`SocketIOConnect(): this.#observabilitySocketIOSubscriber not instance of ObservabilitySocketIOSubscriber`));
|
|
10216
|
+
this.#logger.debug(chalk.cyan(this.#observabilitySocketIOSubscriber));
|
|
10217
|
+
this.#tinyEmitter.emit("connected");
|
|
10290
10218
|
}
|
|
10291
|
-
|
|
10292
|
-
|
|
10293
|
-
|
|
10294
|
-
|
|
10295
|
-
|
|
10296
|
-
__privateAdd(this, _ProcessSocketEvents, (socket) => {
|
|
10297
|
-
});
|
|
10298
|
-
__privateSet(this, _id, v4());
|
|
10299
|
-
__privateSet(this, _options2, options);
|
|
10300
|
-
__privateSet(this, _modelId, options.modelId);
|
|
10301
|
-
__privateSet(this, _logger, defaultLogger);
|
|
10302
|
-
__privateSet(this, _store, ModelStore());
|
|
10303
|
-
__privateSet(this, _tinyEmitter, new tinyEmitterExports.TinyEmitter());
|
|
10304
|
-
if (!__privateGet(this, _options2).consumeInstrumentationMode) {
|
|
10305
|
-
__privateGet(this, _options2).consumeInstrumentationMode = "PROXY";
|
|
10219
|
+
} catch (error) {
|
|
10220
|
+
this.#logger.error(chalk.red(`SocketIOConnect(): Error: [${error}]`));
|
|
10221
|
+
this.#tinyEmitter.emit("connected");
|
|
10222
|
+
} finally {
|
|
10223
|
+
this.#logger.debug(chalk.cyan(`SocketIOConnect(): Ended`));
|
|
10306
10224
|
}
|
|
10307
|
-
}
|
|
10308
|
-
|
|
10309
|
-
|
|
10310
|
-
|
|
10225
|
+
};
|
|
10226
|
+
#SetupObservabilitySubscriber = () => {
|
|
10227
|
+
this.#logger.debug(`ObservabilitySubscriberManager:SetupObservabilitySubscriber(): consumeInstrumentationMode: [${this.#options.consumeInstrumentationMode}]`);
|
|
10228
|
+
switch (this.#options.consumeInstrumentationMode) {
|
|
10229
|
+
case "PROXY":
|
|
10230
|
+
this.#observabilitySocketIOSubscriber = new ObservabilitySocketIOSubscriber({
|
|
10231
|
+
socket: this.#socket,
|
|
10232
|
+
keepAlive: 2500,
|
|
10233
|
+
//@@
|
|
10234
|
+
logger: this.#logger
|
|
10235
|
+
});
|
|
10236
|
+
break;
|
|
10237
|
+
case "REST":
|
|
10238
|
+
this.#observabilitySocketIOSubscriber = new ObservabilityRESTAPISubscriber({
|
|
10239
|
+
keepAlive: 1e3,
|
|
10240
|
+
//@@
|
|
10241
|
+
urlBase: `${this.#options.instrumentManagerEndpoint}:${this.#options.instrumentManagerPort}${this.#options.instrumentManagerAPIRoot}`,
|
|
10242
|
+
logger: this.#logger
|
|
10243
|
+
});
|
|
10244
|
+
break;
|
|
10245
|
+
default:
|
|
10246
|
+
this.#logger.error(chalk.red(`ObservabilitySubscriberManager:SetupObservabilitySubscriber(): Unsupported consumeInstrumentationMode mode: [${this.#options.consumeInstrumentationMode}]`));
|
|
10247
|
+
return;
|
|
10248
|
+
}
|
|
10249
|
+
this.#observabilitySubscriptionManager = new ObservabilitySubscriptionManager({
|
|
10250
|
+
logger: this.#logger,
|
|
10251
|
+
maxLogLength: 100
|
|
10252
|
+
});
|
|
10253
|
+
this.#observabilitySubscriptionManager.observabilitySocketIOSubscriber = this.#observabilitySocketIOSubscriber;
|
|
10254
|
+
};
|
|
10311
10255
|
UpdateModelCursor(subscriptions) {
|
|
10312
|
-
|
|
10313
|
-
|
|
10314
|
-
|
|
10315
|
-
__privateSet(this, _state, "stopped");
|
|
10256
|
+
this.#logger.debug(chalk.yellow(`UpdateModelCursor`));
|
|
10257
|
+
this.#observabilitySubscriptionManager?.Stop();
|
|
10258
|
+
this.#state = "stopped";
|
|
10316
10259
|
setTimeout(() => {
|
|
10317
|
-
if (
|
|
10318
|
-
|
|
10319
|
-
|
|
10260
|
+
if (this.#observabilitySubscriptionManager) {
|
|
10261
|
+
this.#observabilitySubscriptionManager.subscriptions = subscriptions;
|
|
10262
|
+
this.#observabilitySubscriptionManager.Start();
|
|
10320
10263
|
} else {
|
|
10321
|
-
|
|
10264
|
+
this.#logger.debug(chalk.yellow(`UpdateModelCursor(): Could not update subscriptions, this.#observabilitySubscriptionManager not set`));
|
|
10322
10265
|
}
|
|
10323
|
-
|
|
10266
|
+
this.#state = "started";
|
|
10324
10267
|
}, 0);
|
|
10325
10268
|
}
|
|
10326
10269
|
TransformSubscriptionPayloadCallback(subscriptionPayload) {
|
|
10327
10270
|
try {
|
|
10328
|
-
if (
|
|
10329
|
-
|
|
10271
|
+
if (this.#observabilitySubscriptionManager) {
|
|
10272
|
+
this.#observabilitySubscriptionManager.TransformSubscriptionPayloadCallback(subscriptionPayload, false);
|
|
10330
10273
|
if (subscriptionPayload.subscriptionKey.topic.localeCompare(SubscriptionTopic.AllAgentsCombined) === 0) {
|
|
10331
|
-
const agentModel =
|
|
10332
|
-
|
|
10274
|
+
const agentModel = this.#observabilitySubscriptionManager.agentModel;
|
|
10275
|
+
this.#store.UpdateAgentModel(this.#modelId, agentModel, subscriptionPayload.subscriptionKey);
|
|
10333
10276
|
}
|
|
10334
10277
|
if (subscriptionPayload.subscriptionKey.topic.localeCompare(SubscriptionTopic.AllServicesCombined) === 0) {
|
|
10335
|
-
const serviceModel =
|
|
10336
|
-
|
|
10278
|
+
const serviceModel = this.#observabilitySubscriptionManager.serviceModel;
|
|
10279
|
+
this.#store.UpdateServiceModel(this.#modelId, serviceModel, subscriptionPayload.subscriptionKey);
|
|
10337
10280
|
}
|
|
10338
10281
|
if (subscriptionPayload.subscriptionKey.topic.localeCompare(SubscriptionTopic.Services) === 0) {
|
|
10339
|
-
const serviceModel =
|
|
10340
|
-
|
|
10282
|
+
const serviceModel = this.#observabilitySubscriptionManager.serviceModel;
|
|
10283
|
+
this.#store.UpdateServiceModel(this.#modelId, serviceModel, subscriptionPayload.subscriptionKey);
|
|
10341
10284
|
}
|
|
10342
10285
|
if (subscriptionPayload.subscriptionKey.topic.localeCompare(SubscriptionTopic.ServiceInstances) === 0) {
|
|
10343
|
-
const serviceModel =
|
|
10344
|
-
|
|
10286
|
+
const serviceModel = this.#observabilitySubscriptionManager.serviceModel;
|
|
10287
|
+
this.#store.UpdateServiceModel(this.#modelId, serviceModel, subscriptionPayload.subscriptionKey);
|
|
10345
10288
|
}
|
|
10346
10289
|
if (subscriptionPayload.subscriptionKey.topic.localeCompare(SubscriptionTopic.ServiceInstance) === 0) {
|
|
10347
|
-
const serviceModel =
|
|
10348
|
-
|
|
10290
|
+
const serviceModel = this.#observabilitySubscriptionManager.serviceModel;
|
|
10291
|
+
this.#store.UpdateServiceModel(this.#modelId, serviceModel, subscriptionPayload.subscriptionKey);
|
|
10349
10292
|
}
|
|
10350
10293
|
} else {
|
|
10351
|
-
|
|
10294
|
+
this.#logger.error(`TransformSubscriptionPayloadCallback(): observabilitySubscriptionManager not set`);
|
|
10352
10295
|
}
|
|
10353
10296
|
} catch (error) {
|
|
10354
|
-
|
|
10297
|
+
this.#logger.error(`TransformSubscriptionPayloadCallback(): #modelId: [${this.#modelId}], Error: [${error}]`);
|
|
10355
10298
|
}
|
|
10356
10299
|
}
|
|
10357
10300
|
Unsubscribe() {
|
|
10358
|
-
|
|
10359
|
-
|
|
10360
|
-
|
|
10361
|
-
|
|
10362
|
-
if (__privateGet(this, _options2).consumeInstrumentationMode.localeCompare("PROXY") === 0) {
|
|
10301
|
+
this.#logger.debug(chalk.cyan(`ObservabilitySubscriberManager:Unsubscribe()`));
|
|
10302
|
+
this.#state = "stopped";
|
|
10303
|
+
this.#observabilitySubscriptionManager?.Stop();
|
|
10304
|
+
if (this.#options.consumeInstrumentationMode.localeCompare("PROXY") === 0) {
|
|
10363
10305
|
setTimeout(() => {
|
|
10364
|
-
|
|
10365
|
-
|
|
10366
|
-
|
|
10367
|
-
__privateSet(this, _socket, null);
|
|
10306
|
+
this.#logger.debug(chalk.cyan(`ObservabilitySubscriberManager:Unsubscribe() socket.disconnect`));
|
|
10307
|
+
this.#socket?.disconnect();
|
|
10308
|
+
this.#socket = null;
|
|
10368
10309
|
}, 1e3);
|
|
10369
10310
|
}
|
|
10370
10311
|
}
|
|
10312
|
+
Start = () => {
|
|
10313
|
+
return new Promise((resolve) => {
|
|
10314
|
+
if (this.#options.consumeInstrumentationMode.localeCompare("PROXY") === 0) {
|
|
10315
|
+
const onConnected = () => {
|
|
10316
|
+
this.#tinyEmitter.off("connected", onConnected);
|
|
10317
|
+
this.#logger.debug(chalk.cyan(`ObservabilitySubscriberManager:Start() connected`));
|
|
10318
|
+
resolve(true);
|
|
10319
|
+
};
|
|
10320
|
+
this.#tinyEmitter.on("connected", onConnected);
|
|
10321
|
+
this.#SetupSocketIO();
|
|
10322
|
+
} else {
|
|
10323
|
+
this.#SetupObservabilitySubscriber();
|
|
10324
|
+
resolve(true);
|
|
10325
|
+
}
|
|
10326
|
+
});
|
|
10327
|
+
};
|
|
10328
|
+
#SetupSocketIO = () => {
|
|
10329
|
+
const socketUtils = new SocketIoClientHelper({});
|
|
10330
|
+
this.#socket = socketUtils.SetupClientSideSocket(
|
|
10331
|
+
"STSVueTilsTester",
|
|
10332
|
+
`${this.#options.instrumentManagerEndpoint}:${this.#options.instrumentManagerPort}/${SOCKET_NAMESPACE}/`,
|
|
10333
|
+
"",
|
|
10334
|
+
// use default /socket.io/ path
|
|
10335
|
+
this.#SocketConnect,
|
|
10336
|
+
// Connected call back
|
|
10337
|
+
this.#ProcessSocketEvents,
|
|
10338
|
+
// Custom Events
|
|
10339
|
+
this.#ProcessSocketError
|
|
10340
|
+
// Handle socket errors
|
|
10341
|
+
);
|
|
10342
|
+
};
|
|
10343
|
+
#SocketConnect = (socket) => {
|
|
10344
|
+
defaultLogger.debug(chalk.magenta(`SocketIOConnect(): Socket ID: [${socket.id}]`));
|
|
10345
|
+
if (this.#observabilitySubscriptionManager === null) {
|
|
10346
|
+
this.#SetupObservabilitySubscriber();
|
|
10347
|
+
}
|
|
10348
|
+
this.#SocketIOConnect(socket);
|
|
10349
|
+
};
|
|
10350
|
+
#ProcessSocketError = (error) => {
|
|
10351
|
+
defaultLogger.error(chalk.red(`SetupClientSideSocket error callback: [${error}]`));
|
|
10352
|
+
};
|
|
10353
|
+
#ProcessSocketEvents = (socket) => {
|
|
10354
|
+
};
|
|
10371
10355
|
}
|
|
10372
|
-
_socket = new WeakMap();
|
|
10373
|
-
_observabilitySocketIOSubscriber = new WeakMap();
|
|
10374
|
-
_logger = new WeakMap();
|
|
10375
|
-
_observabilitySubscriptionManager = new WeakMap();
|
|
10376
|
-
_store = new WeakMap();
|
|
10377
|
-
_state = new WeakMap();
|
|
10378
|
-
_modelId = new WeakMap();
|
|
10379
|
-
_options2 = new WeakMap();
|
|
10380
|
-
_tinyEmitter = new WeakMap();
|
|
10381
|
-
_id = new WeakMap();
|
|
10382
|
-
_SocketIOConnect = new WeakMap();
|
|
10383
|
-
_SetupObservabilitySubscriber = new WeakMap();
|
|
10384
|
-
_SetupSocketIO = new WeakMap();
|
|
10385
|
-
_SocketConnect = new WeakMap();
|
|
10386
|
-
_ProcessSocketError = new WeakMap();
|
|
10387
|
-
_ProcessSocketEvents = new WeakMap();
|
|
10388
10356
|
const _hoisted_1$1 = { class: "d-flex flex-wrap justify-space-between" };
|
|
10389
10357
|
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
10390
10358
|
__name: "UXModelNavigator",
|
|
@@ -10397,7 +10365,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
10397
10365
|
const store = ModelStore();
|
|
10398
10366
|
let observabilitySubscriberManager = null;
|
|
10399
10367
|
const TransformSubscriptionPayloadCallback = (subscriptionPayload) => {
|
|
10400
|
-
observabilitySubscriberManager
|
|
10368
|
+
observabilitySubscriberManager?.TransformSubscriptionPayloadCallback(subscriptionPayload);
|
|
10401
10369
|
};
|
|
10402
10370
|
let rootLevelSubscriptions = [{
|
|
10403
10371
|
subscriptionKey: {
|
|
@@ -10480,10 +10448,9 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
10480
10448
|
}
|
|
10481
10449
|
});
|
|
10482
10450
|
const clicked = function(id) {
|
|
10483
|
-
var _a, _b;
|
|
10484
10451
|
if (store._models[props.modelId]) {
|
|
10485
10452
|
if (store._models[props.modelId].serviceModelSubscriptionKey) {
|
|
10486
|
-
switch (
|
|
10453
|
+
switch (store._models[props.modelId].serviceModelSubscriptionKey?.topic) {
|
|
10487
10454
|
case SubscriptionTopic.AllServicesCombined:
|
|
10488
10455
|
navigate(ServicesSubscriptions);
|
|
10489
10456
|
break;
|
|
@@ -10491,7 +10458,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
10491
10458
|
navigate(GetServiceInstancesSubscriptions(id));
|
|
10492
10459
|
break;
|
|
10493
10460
|
case SubscriptionTopic.ServiceInstances:
|
|
10494
|
-
navigate(GetServiceInstanceSubscriptions(
|
|
10461
|
+
navigate(GetServiceInstanceSubscriptions(store._models[props.modelId].serviceModelSubscriptionKey?.key, id));
|
|
10495
10462
|
break;
|
|
10496
10463
|
}
|
|
10497
10464
|
}
|
|
@@ -10501,7 +10468,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
10501
10468
|
obj.subscriptions.push(navSubscriptions);
|
|
10502
10469
|
navSubscriptions = subscriptions;
|
|
10503
10470
|
obj.currentSubscriptions = subscriptions;
|
|
10504
|
-
observabilitySubscriberManager
|
|
10471
|
+
observabilitySubscriberManager?.UpdateModelCursor(subscriptions);
|
|
10505
10472
|
};
|
|
10506
10473
|
const GoBack = function() {
|
|
10507
10474
|
if (obj.subscriptions.length > 0) {
|
|
@@ -10509,7 +10476,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
10509
10476
|
if (key) {
|
|
10510
10477
|
navSubscriptions = key;
|
|
10511
10478
|
obj.currentSubscriptions = key;
|
|
10512
|
-
observabilitySubscriberManager
|
|
10479
|
+
observabilitySubscriberManager?.UpdateModelCursor(navSubscriptions);
|
|
10513
10480
|
}
|
|
10514
10481
|
}
|
|
10515
10482
|
};
|
|
@@ -10517,7 +10484,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
10517
10484
|
obj.subscriptions = [];
|
|
10518
10485
|
navSubscriptions = rootLevelSubscriptions;
|
|
10519
10486
|
obj.currentSubscriptions = rootLevelSubscriptions;
|
|
10520
|
-
observabilitySubscriberManager
|
|
10487
|
+
observabilitySubscriberManager?.UpdateModelCursor(navSubscriptions);
|
|
10521
10488
|
};
|
|
10522
10489
|
onMounted(() => {
|
|
10523
10490
|
console.log(`UXModelNavigator: onMounted()`);
|
|
@@ -10542,7 +10509,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
10542
10509
|
store.UpdateObservabilitySubscriberManager(observabilitySubscriberManager.id, observabilitySubscriberManager);
|
|
10543
10510
|
await observabilitySubscriberManager.Start();
|
|
10544
10511
|
obj.currentSubscriptions = rootLevelSubscriptions;
|
|
10545
|
-
observabilitySubscriberManager
|
|
10512
|
+
observabilitySubscriberManager?.UpdateModelCursor(rootLevelSubscriptions);
|
|
10546
10513
|
store.UpdateSate(props.modelId, _estate.STARTED);
|
|
10547
10514
|
};
|
|
10548
10515
|
__expose({
|
|
@@ -10745,7 +10712,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
10745
10712
|
]),
|
|
10746
10713
|
_: 1
|
|
10747
10714
|
}),
|
|
10748
|
-
|
|
10715
|
+
__props.showFormValues ? (openBlock(), createBlock(_component_v_row, { key: 0 }, {
|
|
10749
10716
|
default: withCtx(() => [
|
|
10750
10717
|
createVNode(_component_v_col, { cols: "12" }, {
|
|
10751
10718
|
default: withCtx(() => [
|