@nsshunt/stsvueutils 1.2.10 → 1.2.11
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/stsvueutils.mjs +27 -17
- package/dist/stsvueutils.mjs.map +1 -1
- package/dist/stsvueutils.umd.js +26 -16
- package/dist/stsvueutils.umd.js.map +1 -1
- package/dist/style.css +10 -10
- package/package.json +1 -1
- package/types/components/UXModelInstrumentServiceCommon.vue.d.ts.map +1 -1
- package/types/components/UXModelInstrumentServiceSmall.vue.d.ts.map +1 -1
package/dist/stsvueutils.mjs
CHANGED
|
@@ -35,7 +35,7 @@ var __privateMethod = (obj, member, method) => {
|
|
|
35
35
|
return method;
|
|
36
36
|
};
|
|
37
37
|
var _store, _storage, _workersEx, _runner, _workerId, _options, _STSInstrumentController, _app, _CreateRunnerCopy, CreateRunnerCopy_fn, _SetRunnerIntoWorker, _ProcessTelemetry, _CreateAsyncRunner, _PostMessageToWorker, _TerminateWorker, _StopRunner, _StopWorker, _requestResponseMessages, _requestResponseMessageTimeout, _port, _SetupListener, _collectorCollectorPort, _requestResponseHelper, _runners, _options2, _SetMessagePort, _AddAsyncRunner, _StopRunners;
|
|
38
|
-
import { inject, reactive, computed, watchEffect, toRefs, Fragment, warn, ref, unref, provide, shallowRef, defineComponent as defineComponent$1, getCurrentInstance as getCurrentInstance$1, isRef, createVNode, mergeProps, toRef, Text, watch, onScopeDispose, effectScope, toRaw, withDirectives, resolveDirective, nextTick, TransitionGroup, Transition, h, camelize, onBeforeMount, onBeforeUnmount, onMounted, capitalize, vShow, cloneVNode, openBlock, createBlock, withCtx, createElementBlock, renderList, createTextVNode, toDisplayString, createCommentVNode, createElementVNode, defineAsyncComponent, readonly, resolveDynamicComponent } from "vue";
|
|
38
|
+
import { inject, reactive, computed, watchEffect, toRefs, Fragment, warn, ref, unref, provide, shallowRef, defineComponent as defineComponent$1, getCurrentInstance as getCurrentInstance$1, isRef, createVNode, mergeProps, toRef, Text, watch, onScopeDispose, effectScope, toRaw, withDirectives, resolveDirective, nextTick, TransitionGroup, Transition, h, camelize, onBeforeMount, onBeforeUnmount, onMounted, capitalize, vShow, cloneVNode, openBlock, createBlock, withCtx, createElementBlock, renderList, createTextVNode, toDisplayString, createCommentVNode, createElementVNode, defineAsyncComponent, readonly, pushScopeId, popScopeId, resolveDynamicComponent } from "vue";
|
|
39
39
|
import debugModule from "debug";
|
|
40
40
|
import { STSInstrumentControllerPluginKey, GetSTSInstrumentController, Gauge, GetSTSInstrumentControllerPluginKey } from "@nsshunt/stsobservability";
|
|
41
41
|
import { ModelDelimeter, Sleep } from "@nsshunt/stsutils";
|
|
@@ -14704,6 +14704,14 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent$1({
|
|
|
14704
14704
|
};
|
|
14705
14705
|
}
|
|
14706
14706
|
});
|
|
14707
|
+
const _export_sfc = (sfc, props) => {
|
|
14708
|
+
const target2 = sfc.__vccOpts || sfc;
|
|
14709
|
+
for (const [key, val] of props) {
|
|
14710
|
+
target2[key] = val;
|
|
14711
|
+
}
|
|
14712
|
+
return target2;
|
|
14713
|
+
};
|
|
14714
|
+
const UXModelInstrumentServiceCommon = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-98746b22"]]);
|
|
14707
14715
|
function useResizeObserver(callback) {
|
|
14708
14716
|
let box = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "content";
|
|
14709
14717
|
const resizeRef = ref();
|
|
@@ -14853,60 +14861,61 @@ const VProgressCircular = genericComponent()({
|
|
|
14853
14861
|
return {};
|
|
14854
14862
|
}
|
|
14855
14863
|
});
|
|
14864
|
+
const _withScopeId = (n) => (pushScopeId("data-v-625db1b2"), n = n(), popScopeId(), n);
|
|
14856
14865
|
const _hoisted_1$1 = { class: "ststitle" };
|
|
14857
14866
|
const _hoisted_2$1 = {
|
|
14858
14867
|
key: 0,
|
|
14859
14868
|
class: "stssubtitle"
|
|
14860
14869
|
};
|
|
14861
|
-
const _hoisted_3 = /* @__PURE__ */ createElementVNode("div", { class: "stsbiginfolabel" }, " CPU ", -1);
|
|
14870
|
+
const _hoisted_3 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "stsbiginfolabel" }, " CPU ", -1));
|
|
14862
14871
|
const _hoisted_4 = { class: "stsbiginfo" };
|
|
14863
|
-
const _hoisted_5 = /* @__PURE__ */ createElementVNode("div", { class: "stsbiginfolabel" }, " Velocity ", -1);
|
|
14872
|
+
const _hoisted_5 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "stsbiginfolabel" }, " Velocity ", -1));
|
|
14864
14873
|
const _hoisted_6 = { class: "stsbiginfo" };
|
|
14865
|
-
const _hoisted_7 = /* @__PURE__ */ createElementVNode("div", { class: "stsbiginfolabel" }, " Active Rx Count ", -1);
|
|
14874
|
+
const _hoisted_7 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "stsbiginfolabel" }, " Active Rx Count ", -1));
|
|
14866
14875
|
const _hoisted_8 = { class: "stsbiginfo" };
|
|
14867
|
-
const _hoisted_9 = /* @__PURE__ */ createElementVNode("div", { class: "stsbiginfolabel" }, " Connections ", -1);
|
|
14876
|
+
const _hoisted_9 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "stsbiginfolabel" }, " Connections ", -1));
|
|
14868
14877
|
const _hoisted_10 = { class: "stsbiginfo" };
|
|
14869
|
-
const _hoisted_11 = /* @__PURE__ */ createElementVNode("div", { style: { "white-space": "nowrap", "text-align": "right" } }, " Request (c/e/r): ", -1);
|
|
14878
|
+
const _hoisted_11 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { style: { "white-space": "nowrap", "text-align": "right" } }, " Request (c/e/r): ", -1));
|
|
14870
14879
|
const _hoisted_12 = {
|
|
14871
14880
|
class: "stsinfo",
|
|
14872
14881
|
style: { "text-align": "right", "padding-left": "15px" }
|
|
14873
14882
|
};
|
|
14874
|
-
const _hoisted_13 = /* @__PURE__ */ createElementVNode("div", { style: { "white-space": "nowrap", "text-align": "right" } }, " Timer: ", -1);
|
|
14883
|
+
const _hoisted_13 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { style: { "white-space": "nowrap", "text-align": "right" } }, " Timer: ", -1));
|
|
14875
14884
|
const _hoisted_14 = {
|
|
14876
14885
|
class: "stsinfo",
|
|
14877
14886
|
style: { "text-align": "right", "padding-left": "15px" }
|
|
14878
14887
|
};
|
|
14879
|
-
const _hoisted_15 = /* @__PURE__ */ createElementVNode("div", { style: { "white-space": "nowrap", "text-align": "right" } }, " Duration (ms): ", -1);
|
|
14888
|
+
const _hoisted_15 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { style: { "white-space": "nowrap", "text-align": "right" } }, " Duration (ms): ", -1));
|
|
14880
14889
|
const _hoisted_16 = {
|
|
14881
14890
|
class: "stsinfo",
|
|
14882
14891
|
style: { "text-align": "right", "padding-left": "15px" }
|
|
14883
14892
|
};
|
|
14884
|
-
const _hoisted_17 = /* @__PURE__ */ createElementVNode("div", { style: { "white-space": "nowrap", "text-align": "right" } }, " Latency (ms): ", -1);
|
|
14893
|
+
const _hoisted_17 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { style: { "white-space": "nowrap", "text-align": "right" } }, " Latency (ms): ", -1));
|
|
14885
14894
|
const _hoisted_18 = {
|
|
14886
14895
|
class: "stsinfo",
|
|
14887
14896
|
style: { "text-align": "right", "padding-left": "15px" }
|
|
14888
14897
|
};
|
|
14889
|
-
const _hoisted_19 = /* @__PURE__ */ createElementVNode("div", { style: { "white-space": "nowrap", "text-align": "right" } }, " Receive-Rx (MBs): ", -1);
|
|
14898
|
+
const _hoisted_19 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { style: { "white-space": "nowrap", "text-align": "right" } }, " Receive-Rx (MBs): ", -1));
|
|
14890
14899
|
const _hoisted_20 = {
|
|
14891
14900
|
class: "stsinfo",
|
|
14892
14901
|
style: { "text-align": "right", "padding-left": "15px" }
|
|
14893
14902
|
};
|
|
14894
|
-
const _hoisted_21 = /* @__PURE__ */ createElementVNode("div", { style: { "white-space": "nowrap", "text-align": "right" } }, " Transmit-Tx (MBs): ", -1);
|
|
14903
|
+
const _hoisted_21 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { style: { "white-space": "nowrap", "text-align": "right" } }, " Transmit-Tx (MBs): ", -1));
|
|
14895
14904
|
const _hoisted_22 = {
|
|
14896
14905
|
class: "stsinfo",
|
|
14897
14906
|
style: { "text-align": "right", "padding-left": "15px" }
|
|
14898
14907
|
};
|
|
14899
|
-
const _hoisted_23 = /* @__PURE__ */ createElementVNode("div", { style: { "white-space": "nowrap", "text-align": "right" } }, " Pool (tot/idle/wait): ", -1);
|
|
14908
|
+
const _hoisted_23 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { style: { "white-space": "nowrap", "text-align": "right" } }, " Pool (tot/idle/wait): ", -1));
|
|
14900
14909
|
const _hoisted_24 = {
|
|
14901
14910
|
class: "stsinfo",
|
|
14902
14911
|
style: { "text-align": "right", "padding-left": "15px" }
|
|
14903
14912
|
};
|
|
14904
|
-
const _hoisted_25 = /* @__PURE__ */ createElementVNode("div", { style: { "white-space": "nowrap", "text-align": "right" } }, " vCPU: ", -1);
|
|
14913
|
+
const _hoisted_25 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { style: { "white-space": "nowrap", "text-align": "right" } }, " vCPU: ", -1));
|
|
14905
14914
|
const _hoisted_26 = {
|
|
14906
14915
|
class: "stsinfo",
|
|
14907
14916
|
style: { "text-align": "right", "padding-left": "15px" }
|
|
14908
14917
|
};
|
|
14909
|
-
const _hoisted_27 = /* @__PURE__ */ createElementVNode("div", { style: { "white-space": "nowrap", "text-align": "right" } }, " Auth (c/e/r): ", -1);
|
|
14918
|
+
const _hoisted_27 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { style: { "white-space": "nowrap", "text-align": "right" } }, " Auth (c/e/r): ", -1));
|
|
14910
14919
|
const _hoisted_28 = {
|
|
14911
14920
|
class: "stsinfo",
|
|
14912
14921
|
style: { "text-align": "right", "padding-left": "15px" }
|
|
@@ -15419,6 +15428,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent$1({
|
|
|
15419
15428
|
};
|
|
15420
15429
|
}
|
|
15421
15430
|
});
|
|
15431
|
+
const UXModelInstrumentServiceSmall = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-625db1b2"]]);
|
|
15422
15432
|
const _hoisted_1 = ["value"];
|
|
15423
15433
|
const _hoisted_2 = { key: 0 };
|
|
15424
15434
|
const _sfc_main = /* @__PURE__ */ defineComponent$1({
|
|
@@ -15457,7 +15467,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent$1({
|
|
|
15457
15467
|
class: "d-inline-flex align-center justify-center ma-0 pa-0"
|
|
15458
15468
|
}, [
|
|
15459
15469
|
cpu(svc) > 0 ? (openBlock(), createElementBlock("div", _hoisted_2, [
|
|
15460
|
-
(openBlock(), createBlock(resolveDynamicComponent(_ctx.smallMode ?
|
|
15470
|
+
(openBlock(), createBlock(resolveDynamicComponent(_ctx.smallMode ? UXModelInstrumentServiceSmall : UXModelInstrumentServiceCommon), {
|
|
15461
15471
|
isleafnode: false,
|
|
15462
15472
|
nodeid: svc.id,
|
|
15463
15473
|
contextdata: svc.context,
|
|
@@ -15491,8 +15501,8 @@ export {
|
|
|
15491
15501
|
URI_BASE_VUEUTILS,
|
|
15492
15502
|
_sfc_main$6 as UXBarChart,
|
|
15493
15503
|
_sfc_main$5 as UXLineChart,
|
|
15494
|
-
|
|
15495
|
-
|
|
15504
|
+
UXModelInstrumentServiceCommon,
|
|
15505
|
+
UXModelInstrumentServiceSmall,
|
|
15496
15506
|
_sfc_main as UXModelNode,
|
|
15497
15507
|
_sfc_main$4 as UXMultiBarChart,
|
|
15498
15508
|
_sfc_main$3 as UXRadialChart,
|