@nsshunt/stsvueutils 1.2.10 → 1.2.12
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/{style.css → index.css} +25 -25
- package/dist/stsvueutils.mjs +28 -17
- package/dist/stsvueutils.mjs.map +1 -1
- package/dist/stsvueutils.umd.js +29 -16
- package/dist/stsvueutils.umd.js.map +1 -1
- package/package.json +2 -1
- package/types/components/UXBarChart.vue.d.ts.map +1 -1
- package/types/components/UXModelInstrumentServiceCommon.vue.d.ts.map +1 -1
- package/types/components/UXModelInstrumentServiceSmall.vue.d.ts.map +1 -1
|
@@ -2342,23 +2342,23 @@ textarea.v-field__input::placeholder {
|
|
|
2342
2342
|
.v-sheet--rounded {
|
|
2343
2343
|
border-radius: 4px;
|
|
2344
2344
|
}
|
|
2345
|
-
.stdWidth {
|
|
2345
|
+
.stdWidth[data-v-98746b22] {
|
|
2346
2346
|
width: 70px;
|
|
2347
2347
|
}
|
|
2348
|
-
.instDisplay {
|
|
2348
|
+
.instDisplay[data-v-98746b22] {
|
|
2349
2349
|
display: inline-block;
|
|
2350
2350
|
width: 70px;
|
|
2351
2351
|
}
|
|
2352
|
-
.instDisplayWide {
|
|
2352
|
+
.instDisplayWide[data-v-98746b22] {
|
|
2353
2353
|
display: inline-block;
|
|
2354
2354
|
width: 300px;
|
|
2355
2355
|
max-width: 400px;
|
|
2356
2356
|
}
|
|
2357
|
-
.instDisplayXWide {
|
|
2357
|
+
.instDisplayXWide[data-v-98746b22] {
|
|
2358
2358
|
width: 300px;
|
|
2359
2359
|
max-width: 400px;
|
|
2360
2360
|
}
|
|
2361
|
-
.subDisplay {
|
|
2361
|
+
.subDisplay[data-v-98746b22] {
|
|
2362
2362
|
font-size: smaller;
|
|
2363
2363
|
}
|
|
2364
2364
|
.v-progress-circular {
|
|
@@ -2464,28 +2464,28 @@ textarea.v-field__input::placeholder {
|
|
|
2464
2464
|
transform: rotate(270deg);
|
|
2465
2465
|
}
|
|
2466
2466
|
}
|
|
2467
|
-
.stsinfo {
|
|
2467
|
+
.stsinfo[data-v-ad136411] {
|
|
2468
2468
|
}
|
|
2469
|
-
.stsbiginfo {
|
|
2470
|
-
|
|
2471
|
-
|
|
2472
|
-
|
|
2473
|
-
|
|
2469
|
+
.stsbiginfo[data-v-ad136411] {
|
|
2470
|
+
font-size: x-large;
|
|
2471
|
+
font-weight: bold;
|
|
2472
|
+
text-align: right;
|
|
2473
|
+
width: 130px;
|
|
2474
2474
|
}
|
|
2475
|
-
.stsbiginfolabel {
|
|
2476
|
-
|
|
2477
|
-
|
|
2478
|
-
|
|
2475
|
+
.stsbiginfolabel[data-v-ad136411] {
|
|
2476
|
+
text-align: right;
|
|
2477
|
+
white-space: nowrap;
|
|
2478
|
+
width: 130px;
|
|
2479
2479
|
}
|
|
2480
|
-
.ststitle {
|
|
2481
|
-
|
|
2482
|
-
|
|
2483
|
-
|
|
2484
|
-
|
|
2485
|
-
|
|
2480
|
+
.ststitle[data-v-ad136411] {
|
|
2481
|
+
font-size: large;
|
|
2482
|
+
font-weight: bold;
|
|
2483
|
+
text-align: center;
|
|
2484
|
+
border-bottom: 2px solid lightgray;
|
|
2485
|
+
margin-bottom: 5px;
|
|
2486
2486
|
}
|
|
2487
|
-
.stssubtitle {
|
|
2488
|
-
|
|
2489
|
-
|
|
2490
|
-
|
|
2487
|
+
.stssubtitle[data-v-ad136411] {
|
|
2488
|
+
font-size: small;
|
|
2489
|
+
font-weight: bold;
|
|
2490
|
+
text-align: center;
|
|
2491
2491
|
}
|
package/dist/stsvueutils.mjs
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import './index.css';
|
|
1
2
|
var __defProp = Object.defineProperty;
|
|
2
3
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
4
|
var __publicField = (obj, key, value) => {
|
|
@@ -35,7 +36,7 @@ var __privateMethod = (obj, member, method) => {
|
|
|
35
36
|
return method;
|
|
36
37
|
};
|
|
37
38
|
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";
|
|
39
|
+
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
40
|
import debugModule from "debug";
|
|
40
41
|
import { STSInstrumentControllerPluginKey, GetSTSInstrumentController, Gauge, GetSTSInstrumentControllerPluginKey } from "@nsshunt/stsobservability";
|
|
41
42
|
import { ModelDelimeter, Sleep } from "@nsshunt/stsutils";
|
|
@@ -14704,6 +14705,14 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent$1({
|
|
|
14704
14705
|
};
|
|
14705
14706
|
}
|
|
14706
14707
|
});
|
|
14708
|
+
const _export_sfc = (sfc, props) => {
|
|
14709
|
+
const target2 = sfc.__vccOpts || sfc;
|
|
14710
|
+
for (const [key, val] of props) {
|
|
14711
|
+
target2[key] = val;
|
|
14712
|
+
}
|
|
14713
|
+
return target2;
|
|
14714
|
+
};
|
|
14715
|
+
const UXModelInstrumentServiceCommon = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-98746b22"]]);
|
|
14707
14716
|
function useResizeObserver(callback) {
|
|
14708
14717
|
let box = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "content";
|
|
14709
14718
|
const resizeRef = ref();
|
|
@@ -14853,60 +14862,61 @@ const VProgressCircular = genericComponent()({
|
|
|
14853
14862
|
return {};
|
|
14854
14863
|
}
|
|
14855
14864
|
});
|
|
14865
|
+
const _withScopeId = (n) => (pushScopeId("data-v-ad136411"), n = n(), popScopeId(), n);
|
|
14856
14866
|
const _hoisted_1$1 = { class: "ststitle" };
|
|
14857
14867
|
const _hoisted_2$1 = {
|
|
14858
14868
|
key: 0,
|
|
14859
14869
|
class: "stssubtitle"
|
|
14860
14870
|
};
|
|
14861
|
-
const _hoisted_3 = /* @__PURE__ */ createElementVNode("div", { class: "stsbiginfolabel" }, " CPU ", -1);
|
|
14871
|
+
const _hoisted_3 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "stsbiginfolabel" }, " CPU ", -1));
|
|
14862
14872
|
const _hoisted_4 = { class: "stsbiginfo" };
|
|
14863
|
-
const _hoisted_5 = /* @__PURE__ */ createElementVNode("div", { class: "stsbiginfolabel" }, " Velocity ", -1);
|
|
14873
|
+
const _hoisted_5 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "stsbiginfolabel" }, " Velocity ", -1));
|
|
14864
14874
|
const _hoisted_6 = { class: "stsbiginfo" };
|
|
14865
|
-
const _hoisted_7 = /* @__PURE__ */ createElementVNode("div", { class: "stsbiginfolabel" }, " Active Rx Count ", -1);
|
|
14875
|
+
const _hoisted_7 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "stsbiginfolabel" }, " Active Rx Count ", -1));
|
|
14866
14876
|
const _hoisted_8 = { class: "stsbiginfo" };
|
|
14867
|
-
const _hoisted_9 = /* @__PURE__ */ createElementVNode("div", { class: "stsbiginfolabel" }, " Connections ", -1);
|
|
14877
|
+
const _hoisted_9 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "stsbiginfolabel" }, " Connections ", -1));
|
|
14868
14878
|
const _hoisted_10 = { class: "stsbiginfo" };
|
|
14869
|
-
const _hoisted_11 = /* @__PURE__ */ createElementVNode("div", { style: { "white-space": "nowrap", "text-align": "right" } }, " Request (c/e/r): ", -1);
|
|
14879
|
+
const _hoisted_11 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { style: { "white-space": "nowrap", "text-align": "right" } }, " Request (c/e/r): ", -1));
|
|
14870
14880
|
const _hoisted_12 = {
|
|
14871
14881
|
class: "stsinfo",
|
|
14872
14882
|
style: { "text-align": "right", "padding-left": "15px" }
|
|
14873
14883
|
};
|
|
14874
|
-
const _hoisted_13 = /* @__PURE__ */ createElementVNode("div", { style: { "white-space": "nowrap", "text-align": "right" } }, " Timer: ", -1);
|
|
14884
|
+
const _hoisted_13 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { style: { "white-space": "nowrap", "text-align": "right" } }, " Timer: ", -1));
|
|
14875
14885
|
const _hoisted_14 = {
|
|
14876
14886
|
class: "stsinfo",
|
|
14877
14887
|
style: { "text-align": "right", "padding-left": "15px" }
|
|
14878
14888
|
};
|
|
14879
|
-
const _hoisted_15 = /* @__PURE__ */ createElementVNode("div", { style: { "white-space": "nowrap", "text-align": "right" } }, " Duration (ms): ", -1);
|
|
14889
|
+
const _hoisted_15 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { style: { "white-space": "nowrap", "text-align": "right" } }, " Duration (ms): ", -1));
|
|
14880
14890
|
const _hoisted_16 = {
|
|
14881
14891
|
class: "stsinfo",
|
|
14882
14892
|
style: { "text-align": "right", "padding-left": "15px" }
|
|
14883
14893
|
};
|
|
14884
|
-
const _hoisted_17 = /* @__PURE__ */ createElementVNode("div", { style: { "white-space": "nowrap", "text-align": "right" } }, " Latency (ms): ", -1);
|
|
14894
|
+
const _hoisted_17 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { style: { "white-space": "nowrap", "text-align": "right" } }, " Latency (ms): ", -1));
|
|
14885
14895
|
const _hoisted_18 = {
|
|
14886
14896
|
class: "stsinfo",
|
|
14887
14897
|
style: { "text-align": "right", "padding-left": "15px" }
|
|
14888
14898
|
};
|
|
14889
|
-
const _hoisted_19 = /* @__PURE__ */ createElementVNode("div", { style: { "white-space": "nowrap", "text-align": "right" } }, " Receive-Rx (MBs): ", -1);
|
|
14899
|
+
const _hoisted_19 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { style: { "white-space": "nowrap", "text-align": "right" } }, " Receive-Rx (MBs): ", -1));
|
|
14890
14900
|
const _hoisted_20 = {
|
|
14891
14901
|
class: "stsinfo",
|
|
14892
14902
|
style: { "text-align": "right", "padding-left": "15px" }
|
|
14893
14903
|
};
|
|
14894
|
-
const _hoisted_21 = /* @__PURE__ */ createElementVNode("div", { style: { "white-space": "nowrap", "text-align": "right" } }, " Transmit-Tx (MBs): ", -1);
|
|
14904
|
+
const _hoisted_21 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { style: { "white-space": "nowrap", "text-align": "right" } }, " Transmit-Tx (MBs): ", -1));
|
|
14895
14905
|
const _hoisted_22 = {
|
|
14896
14906
|
class: "stsinfo",
|
|
14897
14907
|
style: { "text-align": "right", "padding-left": "15px" }
|
|
14898
14908
|
};
|
|
14899
|
-
const _hoisted_23 = /* @__PURE__ */ createElementVNode("div", { style: { "white-space": "nowrap", "text-align": "right" } }, " Pool (tot/idle/wait): ", -1);
|
|
14909
|
+
const _hoisted_23 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { style: { "white-space": "nowrap", "text-align": "right" } }, " Pool (tot/idle/wait): ", -1));
|
|
14900
14910
|
const _hoisted_24 = {
|
|
14901
14911
|
class: "stsinfo",
|
|
14902
14912
|
style: { "text-align": "right", "padding-left": "15px" }
|
|
14903
14913
|
};
|
|
14904
|
-
const _hoisted_25 = /* @__PURE__ */ createElementVNode("div", { style: { "white-space": "nowrap", "text-align": "right" } }, " vCPU: ", -1);
|
|
14914
|
+
const _hoisted_25 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { style: { "white-space": "nowrap", "text-align": "right" } }, " vCPU: ", -1));
|
|
14905
14915
|
const _hoisted_26 = {
|
|
14906
14916
|
class: "stsinfo",
|
|
14907
14917
|
style: { "text-align": "right", "padding-left": "15px" }
|
|
14908
14918
|
};
|
|
14909
|
-
const _hoisted_27 = /* @__PURE__ */ createElementVNode("div", { style: { "white-space": "nowrap", "text-align": "right" } }, " Auth (c/e/r): ", -1);
|
|
14919
|
+
const _hoisted_27 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { style: { "white-space": "nowrap", "text-align": "right" } }, " Auth (c/e/r): ", -1));
|
|
14910
14920
|
const _hoisted_28 = {
|
|
14911
14921
|
class: "stsinfo",
|
|
14912
14922
|
style: { "text-align": "right", "padding-left": "15px" }
|
|
@@ -15419,6 +15429,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent$1({
|
|
|
15419
15429
|
};
|
|
15420
15430
|
}
|
|
15421
15431
|
});
|
|
15432
|
+
const UXModelInstrumentServiceSmall = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-ad136411"]]);
|
|
15422
15433
|
const _hoisted_1 = ["value"];
|
|
15423
15434
|
const _hoisted_2 = { key: 0 };
|
|
15424
15435
|
const _sfc_main = /* @__PURE__ */ defineComponent$1({
|
|
@@ -15457,7 +15468,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent$1({
|
|
|
15457
15468
|
class: "d-inline-flex align-center justify-center ma-0 pa-0"
|
|
15458
15469
|
}, [
|
|
15459
15470
|
cpu(svc) > 0 ? (openBlock(), createElementBlock("div", _hoisted_2, [
|
|
15460
|
-
(openBlock(), createBlock(resolveDynamicComponent(_ctx.smallMode ?
|
|
15471
|
+
(openBlock(), createBlock(resolveDynamicComponent(_ctx.smallMode ? UXModelInstrumentServiceSmall : UXModelInstrumentServiceCommon), {
|
|
15461
15472
|
isleafnode: false,
|
|
15462
15473
|
nodeid: svc.id,
|
|
15463
15474
|
contextdata: svc.context,
|
|
@@ -15491,8 +15502,8 @@ export {
|
|
|
15491
15502
|
URI_BASE_VUEUTILS,
|
|
15492
15503
|
_sfc_main$6 as UXBarChart,
|
|
15493
15504
|
_sfc_main$5 as UXLineChart,
|
|
15494
|
-
|
|
15495
|
-
|
|
15505
|
+
UXModelInstrumentServiceCommon,
|
|
15506
|
+
UXModelInstrumentServiceSmall,
|
|
15496
15507
|
_sfc_main as UXModelNode,
|
|
15497
15508
|
_sfc_main$4 as UXMultiBarChart,
|
|
15498
15509
|
_sfc_main$3 as UXRadialChart,
|