@nsshunt/stsvueutils 1.2.28 → 1.2.30

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.
@@ -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, defineComponent, onMounted, ref, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementBlock, Fragment, renderList, createTextVNode, toDisplayString, createCommentVNode, createElementVNode, defineAsyncComponent, unref, reactive, computed, watch, onBeforeUnmount, pushScopeId, popScopeId, resolveDynamicComponent } from "vue";
38
+ import { inject, defineComponent, defineAsyncComponent, ref, openBlock, createElementBlock, createVNode, unref, reactive, computed, watch, resolveComponent, createBlock, withCtx, createTextVNode, toDisplayString, createElementVNode, createCommentVNode, Fragment, renderList, onMounted, onBeforeUnmount, 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";
@@ -2609,235 +2609,7 @@ const ModelStore = defineStore("__sts__ModelStore", {
2609
2609
  }
2610
2610
  }
2611
2611
  });
2612
- const _hoisted_1$3 = /* @__PURE__ */ createElementVNode("div", null, " UXTestForm ", -1);
2613
- const _hoisted_2$3 = { class: "text-wrap" };
2614
- const _hoisted_3$2 = { class: "ml-0 text-caption" };
2615
- const _sfc_main$7 = /* @__PURE__ */ defineComponent({
2616
- __name: "UXTestForm",
2617
- props: {
2618
- showFormValues: { type: Boolean, default: true }
2619
- },
2620
- setup(__props, { expose: __expose }) {
2621
- onMounted(() => {
2622
- console.log(chalk$1.green("onMounted"));
2623
- });
2624
- const formData = ref([
2625
- {
2626
- elementType: "textField",
2627
- model: "My test Profile",
2628
- label: "Profile Name",
2629
- hint: "Profile name. Used as output file name."
2630
- },
2631
- {
2632
- elementType: "radio",
2633
- model: "so2",
2634
- radioGroup: [
2635
- {
2636
- key: "o1",
2637
- label: "Option One",
2638
- value: "so1"
2639
- },
2640
- {
2641
- key: "o2",
2642
- label: "Option Two",
2643
- value: "so2"
2644
- }
2645
- ]
2646
- },
2647
- {
2648
- elementType: "slider",
2649
- model: 5,
2650
- description: "Some description for the slider one."
2651
- },
2652
- {
2653
- elementType: "slider",
2654
- model: 2,
2655
- description: "Some description for the slider two."
2656
- },
2657
- {
2658
- elementType: "checkbox",
2659
- model: true,
2660
- description: "Some description for checkbox 1"
2661
- },
2662
- {
2663
- elementType: "divider"
2664
- },
2665
- {
2666
- elementType: "checkbox",
2667
- model: false,
2668
- description: "Some description for checkbox 2"
2669
- }
2670
- ]);
2671
- __expose({
2672
- formData
2673
- });
2674
- return (_ctx, _cache) => {
2675
- const _component_v_divider = resolveComponent("v-divider");
2676
- const _component_v_row = resolveComponent("v-row");
2677
- const _component_v_col = resolveComponent("v-col");
2678
- const _component_v_radio = resolveComponent("v-radio");
2679
- const _component_v_radio_group = resolveComponent("v-radio-group");
2680
- const _component_v_text_field = resolveComponent("v-text-field");
2681
- const _component_v_checkbox = resolveComponent("v-checkbox");
2682
- const _component_v_slider = resolveComponent("v-slider");
2683
- const _component_v_container = resolveComponent("v-container");
2684
- return openBlock(), createBlock(_component_v_container, { class: "yellowgreen" }, {
2685
- default: withCtx(() => [
2686
- createVNode(_component_v_row, null, {
2687
- default: withCtx(() => [
2688
- _hoisted_1$3,
2689
- createVNode(_component_v_divider)
2690
- ]),
2691
- _: 1
2692
- }),
2693
- _ctx.showFormValues ? (openBlock(), createBlock(_component_v_row, { key: 0 }, {
2694
- default: withCtx(() => [
2695
- createVNode(_component_v_col, { cols: "12" }, {
2696
- default: withCtx(() => [
2697
- (openBlock(true), createElementBlock(Fragment, null, renderList(formData.value, (formDataElement, index) => {
2698
- return openBlock(), createBlock(_component_v_row, {
2699
- key: index,
2700
- class: "ml-1 text-caption"
2701
- }, {
2702
- default: withCtx(() => [
2703
- createTextVNode(toDisplayString(formDataElement.model), 1)
2704
- ]),
2705
- _: 2
2706
- }, 1024);
2707
- }), 128))
2708
- ]),
2709
- _: 1
2710
- })
2711
- ]),
2712
- _: 1
2713
- })) : createCommentVNode("", true),
2714
- createVNode(_component_v_row, null, {
2715
- default: withCtx(() => [
2716
- createVNode(_component_v_divider)
2717
- ]),
2718
- _: 1
2719
- }),
2720
- (openBlock(true), createElementBlock(Fragment, null, renderList(formData.value, (formDataElement, index) => {
2721
- return openBlock(), createBlock(_component_v_row, { key: index }, {
2722
- default: withCtx(() => [
2723
- formDataElement.elementType.localeCompare("divider") === 0 ? (openBlock(), createBlock(_component_v_col, {
2724
- key: 0,
2725
- cols: "12",
2726
- class: "ma-0 pa-0"
2727
- }, {
2728
- default: withCtx(() => [
2729
- createVNode(_component_v_divider)
2730
- ]),
2731
- _: 1
2732
- })) : createCommentVNode("", true),
2733
- formDataElement.elementType.localeCompare("radio") === 0 ? (openBlock(), createBlock(_component_v_col, {
2734
- key: 1,
2735
- cols: "12",
2736
- class: "ma-0 pa-0"
2737
- }, {
2738
- default: withCtx(() => [
2739
- createVNode(_component_v_radio_group, {
2740
- modelValue: formDataElement.model,
2741
- "onUpdate:modelValue": ($event) => formDataElement.model = $event,
2742
- "hide-details": true
2743
- }, {
2744
- default: withCtx(() => [
2745
- (openBlock(true), createElementBlock(Fragment, null, renderList(formDataElement.radioGroup, (n) => {
2746
- return openBlock(), createBlock(_component_v_radio, {
2747
- key: n.key,
2748
- label: `${n.label}`,
2749
- value: n.value
2750
- }, null, 8, ["label", "value"]);
2751
- }), 128))
2752
- ]),
2753
- _: 2
2754
- }, 1032, ["modelValue", "onUpdate:modelValue"])
2755
- ]),
2756
- _: 2
2757
- }, 1024)) : createCommentVNode("", true),
2758
- formDataElement.elementType.localeCompare("textField") === 0 ? (openBlock(), createBlock(_component_v_col, {
2759
- key: 2,
2760
- cols: "12",
2761
- class: "ma-0 pa-0"
2762
- }, {
2763
- default: withCtx(() => [
2764
- createVNode(_component_v_text_field, {
2765
- modelValue: formDataElement.model,
2766
- "onUpdate:modelValue": ($event) => formDataElement.model = $event,
2767
- label: formDataElement.label,
2768
- required: "",
2769
- hint: formDataElement.hint,
2770
- "persistent-hint": ""
2771
- }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "hint"])
2772
- ]),
2773
- _: 2
2774
- }, 1024)) : createCommentVNode("", true),
2775
- formDataElement.elementType.localeCompare("checkbox") === 0 ? (openBlock(), createBlock(_component_v_col, {
2776
- key: 3,
2777
- cols: "12",
2778
- class: "ma-0 pa-0"
2779
- }, {
2780
- default: withCtx(() => [
2781
- createVNode(_component_v_checkbox, {
2782
- modelValue: formDataElement.model,
2783
- "onUpdate:modelValue": ($event) => formDataElement.model = $event,
2784
- "hide-details": true
2785
- }, {
2786
- label: withCtx(() => [
2787
- createElementVNode("div", _hoisted_2$3, toDisplayString(formDataElement.description), 1)
2788
- ]),
2789
- _: 2
2790
- }, 1032, ["modelValue", "onUpdate:modelValue"])
2791
- ]),
2792
- _: 2
2793
- }, 1024)) : createCommentVNode("", true),
2794
- formDataElement.elementType.localeCompare("slider") === 0 ? (openBlock(), createBlock(_component_v_col, {
2795
- key: 4,
2796
- cols: "12",
2797
- class: "mx-3",
2798
- style: { "padding": "0 10px 0 0" }
2799
- }, {
2800
- default: withCtx(() => [
2801
- createElementVNode("div", _hoisted_3$2, toDisplayString(formDataElement.description), 1),
2802
- createVNode(_component_v_slider, {
2803
- modelValue: formDataElement.model,
2804
- "onUpdate:modelValue": ($event) => formDataElement.model = $event,
2805
- class: "align-center",
2806
- max: "5",
2807
- min: "1",
2808
- step: "1",
2809
- "show-ticks": "always",
2810
- "tick-size": "6",
2811
- "hide-details": ""
2812
- }, {
2813
- append: withCtx(() => [
2814
- createVNode(_component_v_text_field, {
2815
- modelValue: formDataElement.model,
2816
- "onUpdate:modelValue": ($event) => formDataElement.model = $event,
2817
- "hide-details": "",
2818
- "single-line": "",
2819
- density: "compact",
2820
- type: "number",
2821
- style: { "width": "110px" },
2822
- variant: "outlined"
2823
- }, null, 8, ["modelValue", "onUpdate:modelValue"])
2824
- ]),
2825
- _: 2
2826
- }, 1032, ["modelValue", "onUpdate:modelValue"])
2827
- ]),
2828
- _: 2
2829
- }, 1024)) : createCommentVNode("", true)
2830
- ]),
2831
- _: 2
2832
- }, 1024);
2833
- }), 128))
2834
- ]),
2835
- _: 1
2836
- });
2837
- };
2838
- }
2839
- });
2840
- const _sfc_main$6 = /* @__PURE__ */ defineComponent({
2612
+ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
2841
2613
  __name: "UXBarChart",
2842
2614
  setup(__props, { expose: __expose }) {
2843
2615
  const VueApexCharts = defineAsyncComponent(() => import("vue3-apexcharts"));
@@ -2918,7 +2690,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
2918
2690
  };
2919
2691
  }
2920
2692
  });
2921
- const _sfc_main$5 = /* @__PURE__ */ defineComponent({
2693
+ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
2922
2694
  __name: "UXLineChart",
2923
2695
  setup(__props, { expose: __expose }) {
2924
2696
  const VueApexCharts = defineAsyncComponent(() => import("vue3-apexcharts"));
@@ -3020,7 +2792,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
3020
2792
  };
3021
2793
  }
3022
2794
  });
3023
- const _sfc_main$4 = /* @__PURE__ */ defineComponent({
2795
+ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
3024
2796
  __name: "UXMultiBarChart",
3025
2797
  props: {
3026
2798
  series: {},
@@ -3120,7 +2892,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
3120
2892
  };
3121
2893
  }
3122
2894
  });
3123
- const _sfc_main$3 = /* @__PURE__ */ defineComponent({
2895
+ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
3124
2896
  __name: "UXRadialChart",
3125
2897
  props: {
3126
2898
  series: {},
@@ -9391,35 +9163,486 @@ function createDOMPurify() {
9391
9163
  return DOMPurify;
9392
9164
  }
9393
9165
  var purify = createDOMPurify();
9394
- const _hoisted_1$2 = { class: "ststitle" };
9395
- const _hoisted_2$2 = {
9166
+ const _hoisted_1$4 = { class: "instDisplay text-right" };
9167
+ const _hoisted_2$4 = {
9396
9168
  key: 0,
9397
- class: "stssubtitle"
9169
+ class: "instDisplayWide ml-6"
9398
9170
  };
9399
- const _hoisted_3$1 = { class: "d-flex flex-row flex-wrap" };
9400
- const _hoisted_4$1 = { class: "instDisplay text-right" };
9401
- const _hoisted_5$1 = { class: "stdWidth text-right" };
9402
- const _hoisted_6$1 = { class: "stdWidth text-right" };
9403
- const _hoisted_7$1 = { class: "d-flex flex-row flex-wrap" };
9404
- const _hoisted_8$1 = { class: "instDisplay text-right" };
9405
- const _hoisted_9$1 = { class: "stdWidth text-right" };
9406
- const _hoisted_10$1 = { class: "stdWidth text-right" };
9407
- const _hoisted_11$1 = { class: "d-flex flex-row flex-nowrap" };
9408
- const _hoisted_12$1 = { class: "stdWidth text-right" };
9409
- const _hoisted_13$1 = { class: "stdWidth text-right" };
9410
- const _hoisted_14$1 = { class: "d-flex flex-row" };
9411
- const _hoisted_15$1 = { class: "instDisplay text-right" };
9412
- const _hoisted_16$1 = { class: "stdWidth text-right" };
9413
- const _hoisted_17$1 = { class: "stdWidth text-right" };
9414
- const _hoisted_18$1 = { class: "d-flex flex-row flex-nowrap" };
9415
- const _hoisted_19$1 = { class: "stdWidth text-right" };
9416
- const _hoisted_20$1 = { class: "stdWidth text-right" };
9417
- const _hoisted_21$1 = { class: "instDisplay text-right" };
9418
- const _hoisted_22$1 = { class: "instDisplay text-right" };
9419
- const _hoisted_23$1 = { class: "instDisplay text-right" };
9420
- const _hoisted_24$1 = { class: "instDisplay ml-6" };
9421
- const _hoisted_25$1 = { class: "instDisplay ml-6" };
9422
- const _hoisted_26$1 = { class: "instDisplay text-right" };
9171
+ const _hoisted_3$3 = { class: "d-flex flex-row flex-wrap" };
9172
+ const _hoisted_4$2 = { class: "stdWidth text-right" };
9173
+ const _hoisted_5$2 = { class: "stdWidth text-right" };
9174
+ const _hoisted_6$2 = { class: "instDisplay text-right" };
9175
+ const _hoisted_7$2 = {
9176
+ key: 0,
9177
+ class: "instDisplayWide ml-6"
9178
+ };
9179
+ const _hoisted_8$2 = { class: "d-flex flex-row flex-wrap" };
9180
+ const _hoisted_9$2 = { class: "stdWidth text-right" };
9181
+ const _hoisted_10$2 = { class: "stdWidth text-right" };
9182
+ const _hoisted_11$2 = { class: "instDisplay text-right" };
9183
+ const _hoisted_12$2 = { class: "instDisplay ml-6" };
9184
+ const _hoisted_13$2 = { class: "instDisplay ml-6" };
9185
+ const _hoisted_14$2 = { class: "instDisplay ml-6" };
9186
+ const _hoisted_15$2 = { class: "instDisplay ml-6" };
9187
+ const _hoisted_16$2 = { class: "instDisplay ml-6" };
9188
+ const _hoisted_17$2 = { class: "instDisplay text-right" };
9189
+ const _hoisted_18$2 = { class: "subDisplay ml-1" };
9190
+ const _hoisted_19$2 = { class: "instDisplay ml-6" };
9191
+ const _hoisted_20$2 = { class: "instDisplay ml-6" };
9192
+ const _hoisted_21$2 = { class: "instDisplay text-right" };
9193
+ const _hoisted_22$2 = {
9194
+ key: 0,
9195
+ class: "instDisplayWide ml-6"
9196
+ };
9197
+ const _hoisted_23$2 = { class: "instDisplay text-right" };
9198
+ const _hoisted_24$2 = { class: "instDisplay text-right" };
9199
+ const _hoisted_25$2 = {
9200
+ class: "overflow-x-auto",
9201
+ style: { "max-height": "400px" }
9202
+ };
9203
+ const _hoisted_26$2 = { key: 0 };
9204
+ const _hoisted_27$2 = ["innerHTML"];
9205
+ const _hoisted_28$2 = { key: 1 };
9206
+ const _hoisted_29$1 = ["innerHTML"];
9207
+ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
9208
+ __name: "UXModelInstrumentAgentCommon",
9209
+ props: {
9210
+ modelId: {},
9211
+ instrumentData: {},
9212
+ contextData: {},
9213
+ isLeafNode: { type: Boolean },
9214
+ nodeid: {},
9215
+ title: {}
9216
+ },
9217
+ emits: ["myclick"],
9218
+ setup(__props, { emit: __emit }) {
9219
+ const convert = new Convert();
9220
+ const store = ModelStore();
9221
+ const props = __props;
9222
+ const LogData = computed(() => {
9223
+ if (props.instrumentData[`${Gauge.LOGGER}`]) {
9224
+ return props.instrumentData[`${Gauge.LOGGER}`].val;
9225
+ } else {
9226
+ return [];
9227
+ }
9228
+ });
9229
+ const LogDataCopy = computed(() => {
9230
+ if (props.instrumentData[`${Gauge.LOGGER_COPY}`]) {
9231
+ return props.instrumentData[`${Gauge.LOGGER_COPY}`].val;
9232
+ } else {
9233
+ return [];
9234
+ }
9235
+ });
9236
+ const velocityFormat = function(value) {
9237
+ return "" + Math.round(value);
9238
+ };
9239
+ const round2Places = function(value) {
9240
+ return "" + (Math.round(value * 100) / 100).toFixed(2);
9241
+ };
9242
+ const round0PlacesArray = function(value) {
9243
+ try {
9244
+ let sep = "";
9245
+ let retVal = "";
9246
+ for (let i = 0; i < value.length; i++) {
9247
+ retVal += `${sep}${value[i][0]}/${value[i][1]}`;
9248
+ sep = ", ";
9249
+ }
9250
+ return retVal;
9251
+ } catch (error) {
9252
+ return "";
9253
+ }
9254
+ };
9255
+ const round2PlacesArray = function(value) {
9256
+ try {
9257
+ let sep2 = "";
9258
+ let retVal = "";
9259
+ for (let i = 0; i < value.length; i++) {
9260
+ const bp = Math.round(value[i][0] * 1e4) / 100;
9261
+ const val = Math.round(value[i][1] * 100) / 100;
9262
+ retVal += `${sep2}${bp}/${val.toFixed(2)}`;
9263
+ sep2 = ", ";
9264
+ }
9265
+ return retVal;
9266
+ } catch (error) {
9267
+ return "";
9268
+ }
9269
+ let numArray = value.map((value2) => (Math.round(value2[1] * 100) / 100).toFixed(2));
9270
+ let sep = "";
9271
+ return "[" + numArray.reduce((prev, current) => {
9272
+ const retVal = prev += sep + current;
9273
+ sep = ", ";
9274
+ return retVal;
9275
+ }, "") + "]";
9276
+ };
9277
+ const convertMS = function(ms) {
9278
+ let s = Math.floor(ms / 1e3);
9279
+ let m = Math.floor(s / 60);
9280
+ s = s % 60;
9281
+ let h = Math.floor(m / 60);
9282
+ m = m % 60;
9283
+ const d = Math.floor(h / 24);
9284
+ h = h % 24;
9285
+ const pad = function(n) {
9286
+ return n < 10 ? "0" + n : n.toString();
9287
+ };
9288
+ return (d + "." + pad(h) + ":" + pad(m) + ":" + pad(s)).padStart(12);
9289
+ };
9290
+ const convertHtml = function(value) {
9291
+ return purify.sanitize(convert.toHtml(value));
9292
+ };
9293
+ const detailMode = computed({
9294
+ get: () => {
9295
+ if (store._models[props.modelId]) {
9296
+ if (store._models[props.modelId].modelMeta[props.nodeid] && store._models[props.modelId].modelMeta[props.nodeid].detailView) {
9297
+ return store._models[props.modelId].modelMeta[props.nodeid].detailView;
9298
+ }
9299
+ }
9300
+ return false;
9301
+ },
9302
+ set: (val) => {
9303
+ if (store._models[props.modelId]) {
9304
+ if (store._models[props.modelId].modelMeta[props.nodeid]) {
9305
+ store._models[props.modelId].modelMeta[props.nodeid].detailView = val;
9306
+ } else {
9307
+ store._models[props.modelId].modelMeta[props.nodeid] = {
9308
+ detailView: val
9309
+ };
9310
+ }
9311
+ }
9312
+ }
9313
+ });
9314
+ const barChartEx = ref();
9315
+ let barUpdate = 0;
9316
+ watch(() => props.instrumentData, (val) => {
9317
+ if (barChartEx.value) {
9318
+ const now = performance.now();
9319
+ if (now - barUpdate > 4500) {
9320
+ barUpdate = now;
9321
+ barChartEx.value.UpdateGraph(props.instrumentData[Gauge.DURATION_HISTOGRAM_GAUGE].hist, props.instrumentData[Gauge.LATENCY_HISTOGRAM_GAUGE].hist);
9322
+ }
9323
+ }
9324
+ }, { deep: true });
9325
+ return (_ctx, _cache) => {
9326
+ const _component_v_switch = resolveComponent("v-switch");
9327
+ const _component_v_col = resolveComponent("v-col");
9328
+ const _component_v_row = resolveComponent("v-row");
9329
+ const _component_v_card = resolveComponent("v-card");
9330
+ const _component_v_container = resolveComponent("v-container");
9331
+ return openBlock(), createBlock(_component_v_container, null, {
9332
+ default: withCtx(() => [
9333
+ createVNode(_component_v_card, {
9334
+ class: "ma-2 pa-2",
9335
+ color: "#002255",
9336
+ theme: "dark",
9337
+ "prepend-icon": "mdi-desktop-tower",
9338
+ title: `${_ctx.title}`
9339
+ }, {
9340
+ text: withCtx(() => [
9341
+ createTextVNode(" [" + toDisplayString(_ctx.nodeid) + "] ", 1),
9342
+ createVNode(_component_v_switch, {
9343
+ modelValue: detailMode.value,
9344
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => detailMode.value = $event),
9345
+ label: `Detailed Mode: ${detailMode.value.toString()}`
9346
+ }, null, 8, ["modelValue", "label"]),
9347
+ createVNode(_component_v_row, { cols: "12" }, {
9348
+ default: withCtx(() => [
9349
+ createVNode(_component_v_col, { md: "2" }, {
9350
+ default: withCtx(() => [
9351
+ createTextVNode(" Duration ")
9352
+ ]),
9353
+ _: 1
9354
+ }),
9355
+ createVNode(_component_v_col, { md: "10" }, {
9356
+ default: withCtx(() => [
9357
+ createElementVNode("span", _hoisted_1$4, toDisplayString(round2Places(_ctx.instrumentData[`${unref(Gauge).DURATION_GAUGE}`].val)), 1),
9358
+ _ctx.isLeafNode === false ? (openBlock(), createElementBlock("span", _hoisted_2$4, toDisplayString(round2PlacesArray(_ctx.instrumentData[`${unref(Gauge).DURATION_GAUGE}`].percentile)), 1)) : createCommentVNode("", true)
9359
+ ]),
9360
+ _: 1
9361
+ })
9362
+ ]),
9363
+ _: 1
9364
+ }),
9365
+ createVNode(_component_v_row, { cols: "12" }, {
9366
+ default: withCtx(() => [
9367
+ createVNode(_component_v_col, { md: "2" }, {
9368
+ default: withCtx(() => [
9369
+ createTextVNode(" Duration Histo ")
9370
+ ]),
9371
+ _: 1
9372
+ }),
9373
+ createVNode(_component_v_col, { md: "10" }, {
9374
+ default: withCtx(() => [
9375
+ createElementVNode("div", _hoisted_3$3, [
9376
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.instrumentData[`${unref(Gauge).DURATION_HISTOGRAM_GAUGE}`].hist, (histo, index) => {
9377
+ return openBlock(), createElementBlock("div", { key: index }, [
9378
+ createElementVNode("div", _hoisted_4$2, toDisplayString(histo[1]), 1),
9379
+ createElementVNode("div", _hoisted_5$2, toDisplayString(histo[0]), 1)
9380
+ ]);
9381
+ }), 128))
9382
+ ])
9383
+ ]),
9384
+ _: 1
9385
+ })
9386
+ ]),
9387
+ _: 1
9388
+ }),
9389
+ createVNode(_component_v_row, { cols: "12" }, {
9390
+ default: withCtx(() => [
9391
+ createVNode(_component_v_col, { md: "2" }, {
9392
+ default: withCtx(() => [
9393
+ createTextVNode(" Latency ")
9394
+ ]),
9395
+ _: 1
9396
+ }),
9397
+ createVNode(_component_v_col, { md: "10" }, {
9398
+ default: withCtx(() => [
9399
+ createElementVNode("span", _hoisted_6$2, toDisplayString(round2Places(_ctx.instrumentData[`${unref(Gauge).LATENCY_GAUGE}`].val)), 1),
9400
+ _ctx.isLeafNode === false ? (openBlock(), createElementBlock("span", _hoisted_7$2, toDisplayString(round2PlacesArray(_ctx.instrumentData[`${unref(Gauge).LATENCY_GAUGE}`].percentile)), 1)) : createCommentVNode("", true)
9401
+ ]),
9402
+ _: 1
9403
+ })
9404
+ ]),
9405
+ _: 1
9406
+ }),
9407
+ createVNode(_component_v_row, { cols: "12" }, {
9408
+ default: withCtx(() => [
9409
+ createVNode(_component_v_col, { md: "2" }, {
9410
+ default: withCtx(() => [
9411
+ createTextVNode(" Latency Histo ")
9412
+ ]),
9413
+ _: 1
9414
+ }),
9415
+ createVNode(_component_v_col, { md: "10" }, {
9416
+ default: withCtx(() => [
9417
+ createElementVNode("div", _hoisted_8$2, [
9418
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.instrumentData[`${unref(Gauge).LATENCY_HISTOGRAM_GAUGE}`].hist, (histo, index) => {
9419
+ return openBlock(), createElementBlock("div", { key: index }, [
9420
+ createElementVNode("div", _hoisted_9$2, toDisplayString(histo[1]), 1),
9421
+ createElementVNode("div", _hoisted_10$2, toDisplayString(histo[0]), 1)
9422
+ ]);
9423
+ }), 128))
9424
+ ])
9425
+ ]),
9426
+ _: 1
9427
+ })
9428
+ ]),
9429
+ _: 1
9430
+ }),
9431
+ createVNode(_component_v_row, { cols: "12" }, {
9432
+ default: withCtx(() => [
9433
+ createVNode(_component_v_col, { md: "12" }, {
9434
+ default: withCtx(() => [
9435
+ createElementVNode("div", null, [
9436
+ createVNode(_sfc_main$8, {
9437
+ ref_key: "barChartEx",
9438
+ ref: barChartEx
9439
+ }, null, 512)
9440
+ ])
9441
+ ]),
9442
+ _: 1
9443
+ })
9444
+ ]),
9445
+ _: 1
9446
+ }),
9447
+ createVNode(_component_v_row, { cols: "12" }, {
9448
+ default: withCtx(() => [
9449
+ createVNode(_component_v_col, { md: "2" }, {
9450
+ default: withCtx(() => [
9451
+ createTextVNode(" Request Count ")
9452
+ ]),
9453
+ _: 1
9454
+ }),
9455
+ createVNode(_component_v_col, { md: "10" }, {
9456
+ default: withCtx(() => [
9457
+ createElementVNode("span", _hoisted_11$2, toDisplayString(_ctx.instrumentData[`${unref(Gauge).REQUEST_COUNT_GAUGE}`].val), 1),
9458
+ createElementVNode("span", _hoisted_12$2, "Error: " + toDisplayString(_ctx.instrumentData[`${unref(Gauge).ERROR_COUNT_GAUGE}`].val), 1),
9459
+ createElementVNode("span", _hoisted_13$2, "Retry: " + toDisplayString(_ctx.instrumentData[`${unref(Gauge).RETRY_COUNT_GAUGE}`].val), 1)
9460
+ ]),
9461
+ _: 1
9462
+ })
9463
+ ]),
9464
+ _: 1
9465
+ }),
9466
+ createVNode(_component_v_row, { cols: "12" }, {
9467
+ default: withCtx(() => [
9468
+ createVNode(_component_v_col, { md: "2" }, {
9469
+ default: withCtx(() => [
9470
+ createTextVNode(" Authentication Count ")
9471
+ ]),
9472
+ _: 1
9473
+ }),
9474
+ createVNode(_component_v_col, { md: "10" }, {
9475
+ default: withCtx(() => [
9476
+ createElementVNode("span", _hoisted_14$2, toDisplayString(_ctx.instrumentData[`${unref(Gauge).AUTHENTICATION_COUNT_GAUGE}`].val), 1),
9477
+ createElementVNode("span", _hoisted_15$2, "Error: " + toDisplayString(_ctx.instrumentData[`${unref(Gauge).AUTHENTICATION_ERROR_COUNT_GAUGE}`].val), 1),
9478
+ createElementVNode("span", _hoisted_16$2, "Retry: " + toDisplayString(_ctx.instrumentData[`${unref(Gauge).AUTHENTICATION_RETRY_COUNT_GAUGE}`].val), 1)
9479
+ ]),
9480
+ _: 1
9481
+ })
9482
+ ]),
9483
+ _: 1
9484
+ }),
9485
+ createVNode(_component_v_row, { cols: "12" }, {
9486
+ default: withCtx(() => [
9487
+ createVNode(_component_v_col, { md: "2" }, {
9488
+ default: withCtx(() => [
9489
+ createTextVNode(" Velocity ")
9490
+ ]),
9491
+ _: 1
9492
+ }),
9493
+ createVNode(_component_v_col, { md: "10" }, {
9494
+ default: withCtx(() => [
9495
+ createElementVNode("span", _hoisted_17$2, [
9496
+ createTextVNode(toDisplayString(velocityFormat(_ctx.instrumentData[`${unref(Gauge).VELOCITY_GAUGE}`].va)) + " ", 1),
9497
+ createElementVNode("span", _hoisted_18$2, "[" + toDisplayString(velocityFormat(_ctx.instrumentData[`${unref(Gauge).VELOCITY_GAUGE}`].velocity)) + "]", 1)
9498
+ ]),
9499
+ createElementVNode("span", _hoisted_19$2, "Delta: " + toDisplayString(velocityFormat(_ctx.instrumentData[`${unref(Gauge).VELOCITY_GAUGE}`].delta)), 1),
9500
+ createElementVNode("span", _hoisted_20$2, "Max: " + toDisplayString(velocityFormat(_ctx.instrumentData[`${unref(Gauge).VELOCITY_GAUGE}`].maxVelocity)), 1)
9501
+ ]),
9502
+ _: 1
9503
+ })
9504
+ ]),
9505
+ _: 1
9506
+ }),
9507
+ createVNode(_component_v_row, { cols: "12" }, {
9508
+ default: withCtx(() => [
9509
+ createVNode(_component_v_col, { md: "2" }, {
9510
+ default: withCtx(() => [
9511
+ createTextVNode(" Active Request Count ")
9512
+ ]),
9513
+ _: 1
9514
+ }),
9515
+ createVNode(_component_v_col, { md: "10" }, {
9516
+ default: withCtx(() => [
9517
+ createElementVNode("span", _hoisted_21$2, toDisplayString(_ctx.instrumentData[`${unref(Gauge).ACTIVE_REQUEST_GAUGE}`].val), 1),
9518
+ _ctx.isLeafNode === false ? (openBlock(), createElementBlock("span", _hoisted_22$2, toDisplayString(round0PlacesArray(_ctx.instrumentData[`${unref(Gauge).ACTIVE_REQUEST_GAUGE}`].percentile)), 1)) : createCommentVNode("", true)
9519
+ ]),
9520
+ _: 1
9521
+ })
9522
+ ]),
9523
+ _: 1
9524
+ }),
9525
+ createVNode(_component_v_row, { cols: "12" }, {
9526
+ default: withCtx(() => [
9527
+ createVNode(_component_v_col, { md: "2" }, {
9528
+ default: withCtx(() => [
9529
+ createTextVNode(" Core Count ")
9530
+ ]),
9531
+ _: 1
9532
+ }),
9533
+ createVNode(_component_v_col, { md: "10" }, {
9534
+ default: withCtx(() => [
9535
+ createElementVNode("span", _hoisted_23$2, toDisplayString(_ctx.instrumentData[`${unref(Gauge).CORE_COUNT_GAUGE}`].val), 1)
9536
+ ]),
9537
+ _: 1
9538
+ })
9539
+ ]),
9540
+ _: 1
9541
+ }),
9542
+ createVNode(_component_v_row, { cols: "12" }, {
9543
+ default: withCtx(() => [
9544
+ createVNode(_component_v_col, { md: "2" }, {
9545
+ default: withCtx(() => [
9546
+ createTextVNode(" Time ")
9547
+ ]),
9548
+ _: 1
9549
+ }),
9550
+ createVNode(_component_v_col, { md: "10" }, {
9551
+ default: withCtx(() => [
9552
+ createElementVNode("span", _hoisted_24$2, toDisplayString(convertMS(_ctx.instrumentData[`${unref(Gauge).TIMER_GAUGE}`].val)), 1)
9553
+ ]),
9554
+ _: 1
9555
+ })
9556
+ ]),
9557
+ _: 1
9558
+ }),
9559
+ createVNode(_component_v_row, { cols: "12" }, {
9560
+ default: withCtx(() => [
9561
+ createVNode(_component_v_col, { md: "2" }, {
9562
+ default: withCtx(() => [
9563
+ createTextVNode(" Logs ")
9564
+ ]),
9565
+ _: 1
9566
+ }),
9567
+ createVNode(_component_v_col, { md: "10" }, {
9568
+ default: withCtx(() => [
9569
+ createElementVNode("div", _hoisted_25$2, [
9570
+ _ctx.isLeafNode ? (openBlock(), createElementBlock("div", _hoisted_26$2, [
9571
+ (openBlock(true), createElementBlock(Fragment, null, renderList(LogDataCopy.value, (logLine, index) => {
9572
+ return openBlock(), createElementBlock("div", {
9573
+ key: `ln-${index}`,
9574
+ class: "instDisplayXWide"
9575
+ }, [
9576
+ createElementVNode("span", {
9577
+ innerHTML: convertHtml(logLine)
9578
+ }, null, 8, _hoisted_27$2)
9579
+ ]);
9580
+ }), 128))
9581
+ ])) : (openBlock(), createElementBlock("div", _hoisted_28$2, [
9582
+ (openBlock(true), createElementBlock(Fragment, null, renderList(LogData.value, (logLine, index) => {
9583
+ return openBlock(), createElementBlock("div", {
9584
+ key: `nlf-${index}`,
9585
+ class: "instDisplayXWide"
9586
+ }, [
9587
+ createElementVNode("span", {
9588
+ innerHTML: convertHtml(logLine)
9589
+ }, null, 8, _hoisted_29$1)
9590
+ ]);
9591
+ }), 128))
9592
+ ]))
9593
+ ])
9594
+ ]),
9595
+ _: 1
9596
+ })
9597
+ ]),
9598
+ _: 1
9599
+ })
9600
+ ]),
9601
+ _: 1
9602
+ }, 8, ["title"])
9603
+ ]),
9604
+ _: 1
9605
+ });
9606
+ };
9607
+ }
9608
+ });
9609
+ const _export_sfc = (sfc, props) => {
9610
+ const target2 = sfc.__vccOpts || sfc;
9611
+ for (const [key, val] of props) {
9612
+ target2[key] = val;
9613
+ }
9614
+ return target2;
9615
+ };
9616
+ const UXModelInstrumentAgentCommon = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-00273855"]]);
9617
+ const _hoisted_1$3 = { class: "ststitle" };
9618
+ const _hoisted_2$3 = {
9619
+ key: 0,
9620
+ class: "stssubtitle"
9621
+ };
9622
+ const _hoisted_3$2 = { class: "d-flex flex-row flex-wrap" };
9623
+ const _hoisted_4$1 = { class: "instDisplay text-right" };
9624
+ const _hoisted_5$1 = { class: "stdWidth text-right" };
9625
+ const _hoisted_6$1 = { class: "stdWidth text-right" };
9626
+ const _hoisted_7$1 = { class: "d-flex flex-row flex-wrap" };
9627
+ const _hoisted_8$1 = { class: "instDisplay text-right" };
9628
+ const _hoisted_9$1 = { class: "stdWidth text-right" };
9629
+ const _hoisted_10$1 = { class: "stdWidth text-right" };
9630
+ const _hoisted_11$1 = { class: "d-flex flex-row flex-nowrap" };
9631
+ const _hoisted_12$1 = { class: "stdWidth text-right" };
9632
+ const _hoisted_13$1 = { class: "stdWidth text-right" };
9633
+ const _hoisted_14$1 = { class: "d-flex flex-row" };
9634
+ const _hoisted_15$1 = { class: "instDisplay text-right" };
9635
+ const _hoisted_16$1 = { class: "stdWidth text-right" };
9636
+ const _hoisted_17$1 = { class: "stdWidth text-right" };
9637
+ const _hoisted_18$1 = { class: "d-flex flex-row flex-nowrap" };
9638
+ const _hoisted_19$1 = { class: "stdWidth text-right" };
9639
+ const _hoisted_20$1 = { class: "stdWidth text-right" };
9640
+ const _hoisted_21$1 = { class: "instDisplay text-right" };
9641
+ const _hoisted_22$1 = { class: "instDisplay text-right" };
9642
+ const _hoisted_23$1 = { class: "instDisplay text-right" };
9643
+ const _hoisted_24$1 = { class: "instDisplay ml-6" };
9644
+ const _hoisted_25$1 = { class: "instDisplay ml-6" };
9645
+ const _hoisted_26$1 = { class: "instDisplay text-right" };
9423
9646
  const _hoisted_27$1 = { class: "instDisplay ml-6" };
9424
9647
  const _hoisted_28$1 = { class: "instDisplay ml-6" };
9425
9648
  const _hoisted_29 = { class: "instDisplay text-right" };
@@ -9446,7 +9669,7 @@ const _hoisted_40 = { key: 0 };
9446
9669
  const _hoisted_41 = ["innerHTML"];
9447
9670
  const _hoisted_42 = { key: 1 };
9448
9671
  const _hoisted_43 = ["innerHTML"];
9449
- const _sfc_main$2 = /* @__PURE__ */ defineComponent({
9672
+ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
9450
9673
  __name: "UXModelInstrumentServiceCommon",
9451
9674
  props: {
9452
9675
  modelId: {},
@@ -9592,9 +9815,9 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
9592
9815
  onClick: _cache[0] || (_cache[0] = ($event) => clicked(_ctx.nodeid))
9593
9816
  }, {
9594
9817
  default: withCtx(() => [
9595
- createElementVNode("div", _hoisted_1$2, [
9818
+ createElementVNode("div", _hoisted_1$3, [
9596
9819
  createTextVNode(toDisplayString(friendlyTitle(_ctx.title)) + " ", 1),
9597
- _ctx.title.length > 30 ? (openBlock(), createElementBlock("div", _hoisted_2$2, [
9820
+ _ctx.title.length > 30 ? (openBlock(), createElementBlock("div", _hoisted_2$3, [
9598
9821
  createTextVNode(toDisplayString(_ctx.title.split("@")[0]) + " ", 1),
9599
9822
  createElementVNode("div", null, toDisplayString(_ctx.title.split("@")[1]), 1)
9600
9823
  ])) : createCommentVNode("", true)
@@ -9613,7 +9836,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
9613
9836
  }),
9614
9837
  createVNode(_component_v_col, { cols: "10" }, {
9615
9838
  default: withCtx(() => [
9616
- createElementVNode("div", _hoisted_3$1, [
9839
+ createElementVNode("div", _hoisted_3$2, [
9617
9840
  createElementVNode("div", _hoisted_4$1, toDisplayString(CPU.value), 1),
9618
9841
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.instrumentdata[`${unref(Gauge).CPU_LOAD_GAUGE}`].percentile, (perc, index) => {
9619
9842
  return openBlock(), createElementBlock("div", { key: index }, [
@@ -9639,7 +9862,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
9639
9862
  }, {
9640
9863
  default: withCtx(() => [
9641
9864
  createElementVNode("div", null, [
9642
- createVNode(_sfc_main$5, {
9865
+ createVNode(_sfc_main$7, {
9643
9866
  ref_key: "lineChartEx",
9644
9867
  ref: lineChartEx
9645
9868
  }, null, 512)
@@ -9771,7 +9994,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
9771
9994
  createVNode(_component_v_col, { md: "12" }, {
9772
9995
  default: withCtx(() => [
9773
9996
  createElementVNode("div", null, [
9774
- createVNode(_sfc_main$6, {
9997
+ createVNode(_sfc_main$8, {
9775
9998
  ref_key: "barChartEx",
9776
9999
  ref: barChartEx
9777
10000
  }, null, 512)
@@ -10042,21 +10265,14 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
10042
10265
  };
10043
10266
  }
10044
10267
  });
10045
- const _export_sfc = (sfc, props) => {
10046
- const target2 = sfc.__vccOpts || sfc;
10047
- for (const [key, val] of props) {
10048
- target2[key] = val;
10049
- }
10050
- return target2;
10051
- };
10052
- const UXModelInstrumentServiceCommon = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-02af10f2"]]);
10268
+ const UXModelInstrumentServiceCommon = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-02af10f2"]]);
10053
10269
  const _withScopeId = (n) => (pushScopeId("data-v-3eab32be"), n = n(), popScopeId(), n);
10054
- const _hoisted_1$1 = { class: "ststitle" };
10055
- const _hoisted_2$1 = {
10270
+ const _hoisted_1$2 = { class: "ststitle" };
10271
+ const _hoisted_2$2 = {
10056
10272
  key: 0,
10057
10273
  class: "stssubtitle"
10058
10274
  };
10059
- const _hoisted_3 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "stsbiginfolabel" }, " CPU ", -1));
10275
+ const _hoisted_3$1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "stsbiginfolabel" }, " CPU ", -1));
10060
10276
  const _hoisted_4 = { class: "stsbiginfo" };
10061
10277
  const _hoisted_5 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "stsbiginfolabel" }, " Velocity ", -1));
10062
10278
  const _hoisted_6 = { class: "stsbiginfo" };
@@ -10109,7 +10325,7 @@ const _hoisted_28 = {
10109
10325
  class: "stsinfo",
10110
10326
  style: { "text-align": "right", "padding-left": "15px" }
10111
10327
  };
10112
- const _sfc_main$1 = /* @__PURE__ */ defineComponent({
10328
+ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
10113
10329
  __name: "UXModelInstrumentServiceSmall",
10114
10330
  props: {
10115
10331
  modelId: {},
@@ -10371,9 +10587,9 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
10371
10587
  onClick: _cache[0] || (_cache[0] = ($event) => clicked(_ctx.nodeid))
10372
10588
  }, {
10373
10589
  default: withCtx(() => [
10374
- createElementVNode("div", _hoisted_1$1, [
10590
+ createElementVNode("div", _hoisted_1$2, [
10375
10591
  createTextVNode(toDisplayString(friendlyTitle(_ctx.title)) + " ", 1),
10376
- _ctx.title.length > 30 ? (openBlock(), createElementBlock("div", _hoisted_2$1, [
10592
+ _ctx.title.length > 30 ? (openBlock(), createElementBlock("div", _hoisted_2$2, [
10377
10593
  createTextVNode(toDisplayString(_ctx.title.split("@")[0]) + " ", 1),
10378
10594
  createElementVNode("div", null, toDisplayString(_ctx.title.split("@")[1]), 1)
10379
10595
  ])) : createCommentVNode("", true)
@@ -10385,7 +10601,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
10385
10601
  default: withCtx(() => [
10386
10602
  createVNode(_component_v_col, { cols: "6" }, {
10387
10603
  default: withCtx(() => [
10388
- _hoisted_3,
10604
+ _hoisted_3$1,
10389
10605
  createElementVNode("div", _hoisted_4, [
10390
10606
  createTextVNode(toDisplayString(round2Places(CPU.value)) + "% ", 1),
10391
10607
  createVNode(_component_v_progress_circular, {
@@ -10622,10 +10838,10 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
10622
10838
  };
10623
10839
  }
10624
10840
  });
10625
- const UXModelInstrumentServiceSmall = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-3eab32be"]]);
10626
- const _hoisted_1 = ["value"];
10627
- const _hoisted_2 = { key: 0 };
10628
- const _sfc_main = /* @__PURE__ */ defineComponent({
10841
+ const UXModelInstrumentServiceSmall = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-3eab32be"]]);
10842
+ const _hoisted_1$1 = ["value"];
10843
+ const _hoisted_2$1 = { key: 0 };
10844
+ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
10629
10845
  __name: "UXModelNode",
10630
10846
  props: {
10631
10847
  modelId: {},
@@ -10669,7 +10885,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
10669
10885
  value: svc,
10670
10886
  class: "d-inline-flex align-center justify-center ma-0 pa-0"
10671
10887
  }, [
10672
- cpu(svc) > 0 ? (openBlock(), createElementBlock("div", _hoisted_2, [
10888
+ cpu(svc) > 0 ? (openBlock(), createElementBlock("div", _hoisted_2$1, [
10673
10889
  (openBlock(), createBlock(resolveDynamicComponent(_ctx.smallMode ? UXModelInstrumentServiceSmall : UXModelInstrumentServiceCommon), {
10674
10890
  isleafnode: false,
10675
10891
  "model-id": props.modelId,
@@ -10680,11 +10896,239 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
10680
10896
  onMyclick: navigate
10681
10897
  }, null, 40, ["model-id", "nodeid", "contextdata", "instrumentdata", "title"]))
10682
10898
  ])) : createCommentVNode("", true)
10683
- ], 8, _hoisted_1);
10899
+ ], 8, _hoisted_1$1);
10684
10900
  }), 128);
10685
10901
  };
10686
10902
  }
10687
10903
  });
10904
+ const _hoisted_1 = /* @__PURE__ */ createElementVNode("div", null, " UXTestForm ", -1);
10905
+ const _hoisted_2 = { class: "text-wrap" };
10906
+ const _hoisted_3 = { class: "ml-0 text-caption" };
10907
+ const _sfc_main = /* @__PURE__ */ defineComponent({
10908
+ __name: "UXTestForm",
10909
+ props: {
10910
+ showFormValues: { type: Boolean, default: true }
10911
+ },
10912
+ setup(__props, { expose: __expose }) {
10913
+ onMounted(() => {
10914
+ console.log(chalk$1.green("onMounted"));
10915
+ });
10916
+ const formData = ref([
10917
+ {
10918
+ elementType: "textField",
10919
+ model: "My test Profile",
10920
+ label: "Profile Name",
10921
+ hint: "Profile name. Used as output file name."
10922
+ },
10923
+ {
10924
+ elementType: "radio",
10925
+ model: "so2",
10926
+ radioGroup: [
10927
+ {
10928
+ key: "o1",
10929
+ label: "Option One",
10930
+ value: "so1"
10931
+ },
10932
+ {
10933
+ key: "o2",
10934
+ label: "Option Two",
10935
+ value: "so2"
10936
+ }
10937
+ ]
10938
+ },
10939
+ {
10940
+ elementType: "slider",
10941
+ model: 5,
10942
+ description: "Some description for the slider one."
10943
+ },
10944
+ {
10945
+ elementType: "slider",
10946
+ model: 2,
10947
+ description: "Some description for the slider two."
10948
+ },
10949
+ {
10950
+ elementType: "checkbox",
10951
+ model: true,
10952
+ description: "Some description for checkbox 1"
10953
+ },
10954
+ {
10955
+ elementType: "divider"
10956
+ },
10957
+ {
10958
+ elementType: "checkbox",
10959
+ model: false,
10960
+ description: "Some description for checkbox 2"
10961
+ }
10962
+ ]);
10963
+ __expose({
10964
+ formData
10965
+ });
10966
+ return (_ctx, _cache) => {
10967
+ const _component_v_divider = resolveComponent("v-divider");
10968
+ const _component_v_row = resolveComponent("v-row");
10969
+ const _component_v_col = resolveComponent("v-col");
10970
+ const _component_v_radio = resolveComponent("v-radio");
10971
+ const _component_v_radio_group = resolveComponent("v-radio-group");
10972
+ const _component_v_text_field = resolveComponent("v-text-field");
10973
+ const _component_v_checkbox = resolveComponent("v-checkbox");
10974
+ const _component_v_slider = resolveComponent("v-slider");
10975
+ const _component_v_container = resolveComponent("v-container");
10976
+ return openBlock(), createBlock(_component_v_container, { class: "yellowgreen" }, {
10977
+ default: withCtx(() => [
10978
+ createVNode(_component_v_row, null, {
10979
+ default: withCtx(() => [
10980
+ _hoisted_1,
10981
+ createVNode(_component_v_divider)
10982
+ ]),
10983
+ _: 1
10984
+ }),
10985
+ _ctx.showFormValues ? (openBlock(), createBlock(_component_v_row, { key: 0 }, {
10986
+ default: withCtx(() => [
10987
+ createVNode(_component_v_col, { cols: "12" }, {
10988
+ default: withCtx(() => [
10989
+ (openBlock(true), createElementBlock(Fragment, null, renderList(formData.value, (formDataElement, index) => {
10990
+ return openBlock(), createBlock(_component_v_row, {
10991
+ key: index,
10992
+ class: "ml-1 text-caption"
10993
+ }, {
10994
+ default: withCtx(() => [
10995
+ createTextVNode(toDisplayString(formDataElement.model), 1)
10996
+ ]),
10997
+ _: 2
10998
+ }, 1024);
10999
+ }), 128))
11000
+ ]),
11001
+ _: 1
11002
+ })
11003
+ ]),
11004
+ _: 1
11005
+ })) : createCommentVNode("", true),
11006
+ createVNode(_component_v_row, null, {
11007
+ default: withCtx(() => [
11008
+ createVNode(_component_v_divider)
11009
+ ]),
11010
+ _: 1
11011
+ }),
11012
+ (openBlock(true), createElementBlock(Fragment, null, renderList(formData.value, (formDataElement, index) => {
11013
+ return openBlock(), createBlock(_component_v_row, { key: index }, {
11014
+ default: withCtx(() => [
11015
+ formDataElement.elementType.localeCompare("divider") === 0 ? (openBlock(), createBlock(_component_v_col, {
11016
+ key: 0,
11017
+ cols: "12",
11018
+ class: "ma-0 pa-0"
11019
+ }, {
11020
+ default: withCtx(() => [
11021
+ createVNode(_component_v_divider)
11022
+ ]),
11023
+ _: 1
11024
+ })) : createCommentVNode("", true),
11025
+ formDataElement.elementType.localeCompare("radio") === 0 ? (openBlock(), createBlock(_component_v_col, {
11026
+ key: 1,
11027
+ cols: "12",
11028
+ class: "ma-0 pa-0"
11029
+ }, {
11030
+ default: withCtx(() => [
11031
+ createVNode(_component_v_radio_group, {
11032
+ modelValue: formDataElement.model,
11033
+ "onUpdate:modelValue": ($event) => formDataElement.model = $event,
11034
+ "hide-details": true
11035
+ }, {
11036
+ default: withCtx(() => [
11037
+ (openBlock(true), createElementBlock(Fragment, null, renderList(formDataElement.radioGroup, (n) => {
11038
+ return openBlock(), createBlock(_component_v_radio, {
11039
+ key: n.key,
11040
+ label: `${n.label}`,
11041
+ value: n.value
11042
+ }, null, 8, ["label", "value"]);
11043
+ }), 128))
11044
+ ]),
11045
+ _: 2
11046
+ }, 1032, ["modelValue", "onUpdate:modelValue"])
11047
+ ]),
11048
+ _: 2
11049
+ }, 1024)) : createCommentVNode("", true),
11050
+ formDataElement.elementType.localeCompare("textField") === 0 ? (openBlock(), createBlock(_component_v_col, {
11051
+ key: 2,
11052
+ cols: "12",
11053
+ class: "ma-0 pa-0"
11054
+ }, {
11055
+ default: withCtx(() => [
11056
+ createVNode(_component_v_text_field, {
11057
+ modelValue: formDataElement.model,
11058
+ "onUpdate:modelValue": ($event) => formDataElement.model = $event,
11059
+ label: formDataElement.label,
11060
+ required: "",
11061
+ hint: formDataElement.hint,
11062
+ "persistent-hint": ""
11063
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "hint"])
11064
+ ]),
11065
+ _: 2
11066
+ }, 1024)) : createCommentVNode("", true),
11067
+ formDataElement.elementType.localeCompare("checkbox") === 0 ? (openBlock(), createBlock(_component_v_col, {
11068
+ key: 3,
11069
+ cols: "12",
11070
+ class: "ma-0 pa-0"
11071
+ }, {
11072
+ default: withCtx(() => [
11073
+ createVNode(_component_v_checkbox, {
11074
+ modelValue: formDataElement.model,
11075
+ "onUpdate:modelValue": ($event) => formDataElement.model = $event,
11076
+ "hide-details": true
11077
+ }, {
11078
+ label: withCtx(() => [
11079
+ createElementVNode("div", _hoisted_2, toDisplayString(formDataElement.description), 1)
11080
+ ]),
11081
+ _: 2
11082
+ }, 1032, ["modelValue", "onUpdate:modelValue"])
11083
+ ]),
11084
+ _: 2
11085
+ }, 1024)) : createCommentVNode("", true),
11086
+ formDataElement.elementType.localeCompare("slider") === 0 ? (openBlock(), createBlock(_component_v_col, {
11087
+ key: 4,
11088
+ cols: "12",
11089
+ class: "mx-3",
11090
+ style: { "padding": "0 10px 0 0" }
11091
+ }, {
11092
+ default: withCtx(() => [
11093
+ createElementVNode("div", _hoisted_3, toDisplayString(formDataElement.description), 1),
11094
+ createVNode(_component_v_slider, {
11095
+ modelValue: formDataElement.model,
11096
+ "onUpdate:modelValue": ($event) => formDataElement.model = $event,
11097
+ class: "align-center",
11098
+ max: "5",
11099
+ min: "1",
11100
+ step: "1",
11101
+ "show-ticks": "always",
11102
+ "tick-size": "6",
11103
+ "hide-details": ""
11104
+ }, {
11105
+ append: withCtx(() => [
11106
+ createVNode(_component_v_text_field, {
11107
+ modelValue: formDataElement.model,
11108
+ "onUpdate:modelValue": ($event) => formDataElement.model = $event,
11109
+ "hide-details": "",
11110
+ "single-line": "",
11111
+ density: "compact",
11112
+ type: "number",
11113
+ style: { "width": "110px" },
11114
+ variant: "outlined"
11115
+ }, null, 8, ["modelValue", "onUpdate:modelValue"])
11116
+ ]),
11117
+ _: 2
11118
+ }, 1032, ["modelValue", "onUpdate:modelValue"])
11119
+ ]),
11120
+ _: 2
11121
+ }, 1024)) : createCommentVNode("", true)
11122
+ ]),
11123
+ _: 2
11124
+ }, 1024);
11125
+ }), 128))
11126
+ ]),
11127
+ _: 1
11128
+ });
11129
+ };
11130
+ }
11131
+ });
10688
11132
  export {
10689
11133
  ClientStorageFactory,
10690
11134
  ClientStorageType,
@@ -10704,14 +11148,16 @@ export {
10704
11148
  STSWorkerManagerPluginKey,
10705
11149
  TelemetryStore,
10706
11150
  URI_BASE_VUEUTILS,
10707
- _sfc_main$6 as UXBarChart,
10708
- _sfc_main$5 as UXLineChart,
11151
+ _sfc_main$8 as UXBarChart,
11152
+ _sfc_main$7 as UXLineChart,
11153
+ UXModelInstrumentAgentCommon,
10709
11154
  UXModelInstrumentServiceCommon,
10710
11155
  UXModelInstrumentServiceSmall,
10711
- _sfc_main as UXModelNode,
10712
- _sfc_main$4 as UXMultiBarChart,
10713
- _sfc_main$3 as UXRadialChart,
10714
- _sfc_main$7 as UXTestForm,
11156
+ _sfc_main$1 as UXModelNavigator,
11157
+ _sfc_main$1 as UXModelNode,
11158
+ _sfc_main$6 as UXMultiBarChart,
11159
+ _sfc_main$5 as UXRadialChart,
11160
+ _sfc_main as UXTestForm,
10715
11161
  WorkerInstance,
10716
11162
  _estate,
10717
11163
  eIWMessageCommands,