@nsshunt/stsuxvue 1.0.109 → 1.0.111
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.cjs +33 -63
- package/dist/stsuxvue.cjs.map +1 -1
- package/dist/stsuxvue.mjs +33 -63
- package/dist/stsuxvue.mjs.map +1 -1
- package/package.json +6 -6
package/dist/stsuxvue.cjs
CHANGED
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
//#region \0rolldown/runtime.js
|
|
3
|
-
var __create$
|
|
4
|
-
var __defProp$
|
|
5
|
-
var __getOwnPropDesc$
|
|
6
|
-
var __getOwnPropNames$
|
|
7
|
-
var __getProtoOf$
|
|
8
|
-
var __hasOwnProp$
|
|
3
|
+
var __create$1 = Object.create;
|
|
4
|
+
var __defProp$1 = Object.defineProperty;
|
|
5
|
+
var __getOwnPropDesc$1 = Object.getOwnPropertyDescriptor;
|
|
6
|
+
var __getOwnPropNames$1 = Object.getOwnPropertyNames;
|
|
7
|
+
var __getProtoOf$1 = Object.getPrototypeOf;
|
|
8
|
+
var __hasOwnProp$1 = Object.prototype.hasOwnProperty;
|
|
9
9
|
var __esmMin = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
|
|
10
10
|
var __commonJSMin$2 = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
|
|
11
11
|
var __exportAll = (all, no_symbols) => {
|
|
12
12
|
let target = {};
|
|
13
|
-
for (var name in all) __defProp$
|
|
13
|
+
for (var name in all) __defProp$1(target, name, {
|
|
14
14
|
get: all[name],
|
|
15
15
|
enumerable: true
|
|
16
16
|
});
|
|
17
|
-
if (!no_symbols) __defProp$
|
|
17
|
+
if (!no_symbols) __defProp$1(target, Symbol.toStringTag, { value: "Module" });
|
|
18
18
|
return target;
|
|
19
19
|
};
|
|
20
|
-
var __copyProps$
|
|
21
|
-
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames$
|
|
20
|
+
var __copyProps$1 = (to, from, except, desc) => {
|
|
21
|
+
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames$1(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
22
22
|
key = keys[i];
|
|
23
|
-
if (!__hasOwnProp$
|
|
23
|
+
if (!__hasOwnProp$1.call(to, key) && key !== except) __defProp$1(to, key, {
|
|
24
24
|
get: ((k) => from[k]).bind(null, key),
|
|
25
|
-
enumerable: !(desc = __getOwnPropDesc$
|
|
25
|
+
enumerable: !(desc = __getOwnPropDesc$1(from, key)) || desc.enumerable
|
|
26
26
|
});
|
|
27
27
|
}
|
|
28
28
|
return to;
|
|
29
29
|
};
|
|
30
|
-
var __toESM$
|
|
30
|
+
var __toESM$1 = (mod, isNodeMode, target) => (target = mod != null ? __create$1(__getProtoOf$1(mod)) : {}, __copyProps$1(isNodeMode || !mod || !mod.__esModule ? __defProp$1(target, "default", {
|
|
31
31
|
value: mod,
|
|
32
32
|
enumerable: true
|
|
33
33
|
}) : target, mod));
|
|
34
|
-
var __toCommonJS = (mod) => __hasOwnProp$
|
|
34
|
+
var __toCommonJS = (mod) => __hasOwnProp$1.call(mod, "module.exports") ? mod["module.exports"] : __copyProps$1(__defProp$1({}, "__esModule", { value: true }), mod);
|
|
35
35
|
//#endregion
|
|
36
36
|
let pinia = require("pinia");
|
|
37
37
|
let lodash_clonedeep = require("lodash.clonedeep");
|
|
38
|
-
lodash_clonedeep = __toESM$
|
|
38
|
+
lodash_clonedeep = __toESM$1(lodash_clonedeep);
|
|
39
39
|
let vue = require("vue");
|
|
40
40
|
let _nsshunt_stsobservability = require("@nsshunt/stsobservability");
|
|
41
41
|
let _nsshunt_stsutils = require("@nsshunt/stsutils");
|
|
@@ -407,7 +407,7 @@ var UXRadialChart_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
407
407
|
}
|
|
408
408
|
});
|
|
409
409
|
//#endregion
|
|
410
|
-
//#region node_modules/
|
|
410
|
+
//#region node_modules/entities/lib/maps/entities.json
|
|
411
411
|
var entities_exports = /* @__PURE__ */ __exportAll({
|
|
412
412
|
AElig: () => "Æ",
|
|
413
413
|
AMP: () => "&",
|
|
@@ -4890,7 +4890,7 @@ var init_entities = __esmMin((() => {
|
|
|
4890
4890
|
};
|
|
4891
4891
|
}));
|
|
4892
4892
|
//#endregion
|
|
4893
|
-
//#region node_modules/
|
|
4893
|
+
//#region node_modules/entities/lib/maps/legacy.json
|
|
4894
4894
|
var legacy_exports = /* @__PURE__ */ __exportAll({
|
|
4895
4895
|
AElig: () => "Æ",
|
|
4896
4896
|
AMP: () => "&",
|
|
@@ -5111,7 +5111,7 @@ var init_legacy = __esmMin((() => {
|
|
|
5111
5111
|
};
|
|
5112
5112
|
}));
|
|
5113
5113
|
//#endregion
|
|
5114
|
-
//#region node_modules/
|
|
5114
|
+
//#region node_modules/entities/lib/maps/xml.json
|
|
5115
5115
|
var xml_exports = /* @__PURE__ */ __exportAll({
|
|
5116
5116
|
amp: () => "&",
|
|
5117
5117
|
apos: () => "'",
|
|
@@ -5130,7 +5130,7 @@ var init_xml = __esmMin((() => {
|
|
|
5130
5130
|
};
|
|
5131
5131
|
}));
|
|
5132
5132
|
//#endregion
|
|
5133
|
-
//#region node_modules/
|
|
5133
|
+
//#region node_modules/entities/lib/maps/decode.json
|
|
5134
5134
|
var decode_exports = /* @__PURE__ */ __exportAll({ default: () => decode_default });
|
|
5135
5135
|
var decode_default;
|
|
5136
5136
|
var init_decode = __esmMin((() => {
|
|
@@ -5166,7 +5166,7 @@ var init_decode = __esmMin((() => {
|
|
|
5166
5166
|
};
|
|
5167
5167
|
}));
|
|
5168
5168
|
//#endregion
|
|
5169
|
-
//#region node_modules/
|
|
5169
|
+
//#region node_modules/entities/lib/decode_codepoint.js
|
|
5170
5170
|
var require_decode_codepoint = /* @__PURE__ */ __commonJSMin$2(((exports) => {
|
|
5171
5171
|
var __importDefault = exports && exports.__importDefault || function(mod) {
|
|
5172
5172
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
@@ -5191,7 +5191,7 @@ var require_decode_codepoint = /* @__PURE__ */ __commonJSMin$2(((exports) => {
|
|
|
5191
5191
|
exports.default = decodeCodePoint;
|
|
5192
5192
|
}));
|
|
5193
5193
|
//#endregion
|
|
5194
|
-
//#region node_modules/
|
|
5194
|
+
//#region node_modules/entities/lib/decode.js
|
|
5195
5195
|
var require_decode = /* @__PURE__ */ __commonJSMin$2(((exports) => {
|
|
5196
5196
|
var __importDefault = exports && exports.__importDefault || function(mod) {
|
|
5197
5197
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
@@ -5243,7 +5243,7 @@ var require_decode = /* @__PURE__ */ __commonJSMin$2(((exports) => {
|
|
|
5243
5243
|
}
|
|
5244
5244
|
}));
|
|
5245
5245
|
//#endregion
|
|
5246
|
-
//#region node_modules/
|
|
5246
|
+
//#region node_modules/entities/lib/encode.js
|
|
5247
5247
|
var require_encode = /* @__PURE__ */ __commonJSMin$2(((exports) => {
|
|
5248
5248
|
var __importDefault = exports && exports.__importDefault || function(mod) {
|
|
5249
5249
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
@@ -5356,7 +5356,7 @@ var require_encode = /* @__PURE__ */ __commonJSMin$2(((exports) => {
|
|
|
5356
5356
|
}
|
|
5357
5357
|
}));
|
|
5358
5358
|
//#endregion
|
|
5359
|
-
//#region node_modules/
|
|
5359
|
+
//#region node_modules/entities/lib/index.js
|
|
5360
5360
|
var require_lib$1 = /* @__PURE__ */ __commonJSMin$2(((exports) => {
|
|
5361
5361
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5362
5362
|
exports.decodeXMLStrict = exports.decodeHTML5Strict = exports.decodeHTML4Strict = exports.decodeHTML5 = exports.decodeHTML4 = exports.decodeHTMLStrict = exports.decodeHTML = exports.decodeXML = exports.encodeHTML5 = exports.encodeHTML4 = exports.escapeUTF8 = exports.escape = exports.encodeNonAsciiHTML = exports.encodeHTML = exports.encodeXML = exports.encode = exports.decodeStrict = exports.decode = void 0;
|
|
@@ -5490,7 +5490,7 @@ var require_lib$1 = /* @__PURE__ */ __commonJSMin$2(((exports) => {
|
|
|
5490
5490
|
}));
|
|
5491
5491
|
//#endregion
|
|
5492
5492
|
//#region node_modules/dompurify/dist/purify.es.mjs
|
|
5493
|
-
var import_ansi_to_html = /* @__PURE__ */ __toESM$
|
|
5493
|
+
var import_ansi_to_html = /* @__PURE__ */ __toESM$1((/* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
5494
5494
|
function _classCallCheck(instance, Constructor) {
|
|
5495
5495
|
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
5496
5496
|
}
|
|
@@ -9437,11 +9437,6 @@ var require_tiny_emitter$1 = /* @__PURE__ */ __commonJSMin$2(((exports, module)
|
|
|
9437
9437
|
module.exports.TinyEmitter = E;
|
|
9438
9438
|
}));
|
|
9439
9439
|
//#endregion
|
|
9440
|
-
//#region node_modules/detect-node/browser.js
|
|
9441
|
-
var require_browser = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
9442
|
-
module.exports = false;
|
|
9443
|
-
}));
|
|
9444
|
-
//#endregion
|
|
9445
9440
|
//#region node_modules/axios/lib/helpers/bind.js
|
|
9446
9441
|
/**
|
|
9447
9442
|
* Create a bound version of a function with a specified `this` context
|
|
@@ -12336,29 +12331,10 @@ axios.getAdapter = adapters_default.getAdapter;
|
|
|
12336
12331
|
axios.HttpStatusCode = HttpStatusCode;
|
|
12337
12332
|
axios.default = axios;
|
|
12338
12333
|
require_tiny_emitter$1();
|
|
12339
|
-
var import_browser = /* @__PURE__ */ __toESM$2(require_browser(), 1);
|
|
12340
|
-
var __create$1 = Object.create;
|
|
12341
|
-
var __defProp$1 = Object.defineProperty;
|
|
12342
|
-
var __getOwnPropDesc$1 = Object.getOwnPropertyDescriptor;
|
|
12343
|
-
var __getOwnPropNames$1 = Object.getOwnPropertyNames;
|
|
12344
|
-
var __getProtoOf$1 = Object.getPrototypeOf;
|
|
12345
|
-
var __hasOwnProp$1 = Object.prototype.hasOwnProperty;
|
|
12346
12334
|
var __commonJSMin$1 = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
|
|
12347
|
-
|
|
12348
|
-
|
|
12349
|
-
|
|
12350
|
-
if (!__hasOwnProp$1.call(to, key) && key !== except) __defProp$1(to, key, {
|
|
12351
|
-
get: ((k) => from[k]).bind(null, key),
|
|
12352
|
-
enumerable: !(desc = __getOwnPropDesc$1(from, key)) || desc.enumerable
|
|
12353
|
-
});
|
|
12354
|
-
}
|
|
12355
|
-
return to;
|
|
12356
|
-
};
|
|
12357
|
-
var __toESM$1 = (mod, isNodeMode, target) => (target = mod != null ? __create$1(__getProtoOf$1(mod)) : {}, __copyProps$1(isNodeMode || !mod || !mod.__esModule ? __defProp$1(target, "default", {
|
|
12358
|
-
value: mod,
|
|
12359
|
-
enumerable: true
|
|
12360
|
-
}) : target, mod));
|
|
12361
|
-
var require_tiny_emitter = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
|
|
12335
|
+
//#endregion
|
|
12336
|
+
//#region node_modules/@nsshunt/stssocketioutils/dist/index.mjs
|
|
12337
|
+
var import_tiny_emitter$1 = (/* @__PURE__ */ __commonJSMin$1(((exports, module) => {
|
|
12362
12338
|
function E() {}
|
|
12363
12339
|
E.prototype = {
|
|
12364
12340
|
on: function(name, callback, ctx) {
|
|
@@ -12399,13 +12375,7 @@ var require_tiny_emitter = /* @__PURE__ */ __commonJSMin$1(((exports, module) =>
|
|
|
12399
12375
|
};
|
|
12400
12376
|
module.exports = E;
|
|
12401
12377
|
module.exports.TinyEmitter = E;
|
|
12402
|
-
}));
|
|
12403
|
-
//#endregion
|
|
12404
|
-
//#region node_modules/@nsshunt/stssocketioutils/dist/index.mjs
|
|
12405
|
-
var import_browser$1 = /* @__PURE__ */ __toESM$1((/* @__PURE__ */ __commonJSMin$1(((exports, module) => {
|
|
12406
|
-
module.exports = false;
|
|
12407
|
-
})))(), 1);
|
|
12408
|
-
var import_tiny_emitter$1 = require_tiny_emitter();
|
|
12378
|
+
})))();
|
|
12409
12379
|
var SocketIoClient = class extends import_tiny_emitter$1.TinyEmitter {
|
|
12410
12380
|
#agentManager;
|
|
12411
12381
|
#logger;
|
|
@@ -12492,12 +12462,12 @@ var SocketIoClient = class extends import_tiny_emitter$1.TinyEmitter {
|
|
|
12492
12462
|
if (this.#socket !== void 0) {
|
|
12493
12463
|
if (this.#socket.connected === true) this.#socket.disconnect();
|
|
12494
12464
|
this.#socket = void 0;
|
|
12495
|
-
if (
|
|
12465
|
+
if (_nsshunt_stsutils.isNode) setTimeout(() => this.#EstablishSocketConnect(), this.#reconnectTimeout).unref();
|
|
12496
12466
|
else setTimeout(() => this.#EstablishSocketConnect(), this.#reconnectTimeout);
|
|
12497
12467
|
return;
|
|
12498
12468
|
}
|
|
12499
12469
|
let socketOptions;
|
|
12500
|
-
if (
|
|
12470
|
+
if (_nsshunt_stsutils.isNode) {
|
|
12501
12471
|
socketOptions = { transports: ["websocket"] };
|
|
12502
12472
|
if (this.#agentManager) {
|
|
12503
12473
|
if (!this.#address) throw new Error(`SocketIoClient:SetupSocket(): Error: [address not provided when using agentManager]`);
|
|
@@ -12546,7 +12516,7 @@ var SocketIoClient = class extends import_tiny_emitter$1.TinyEmitter {
|
|
|
12546
12516
|
this.LogDebugMessage("The server disconnected using disconnectSockets, i.e. normal safe shutdown from explicit disconnection by the server.");
|
|
12547
12517
|
this.LogDebugMessage("The connection will be re-established when the server becomes available.");
|
|
12548
12518
|
this.#socket = void 0;
|
|
12549
|
-
if (
|
|
12519
|
+
if (_nsshunt_stsutils.isNode) {
|
|
12550
12520
|
if (this.#agentManager) this.#agentManager.ResetAgent();
|
|
12551
12521
|
setTimeout(() => this.#EstablishSocketConnect(), this.#reconnectTimeout).unref();
|
|
12552
12522
|
} else setTimeout(() => this.#EstablishSocketConnect(), this.#reconnectTimeout);
|
|
@@ -12562,7 +12532,7 @@ var SocketIoClient = class extends import_tiny_emitter$1.TinyEmitter {
|
|
|
12562
12532
|
this.LogDebugMessage("The connection will be re-established when the server becomes available.");
|
|
12563
12533
|
if (this.#socket) this.#socket.disconnect();
|
|
12564
12534
|
this.#socket = void 0;
|
|
12565
|
-
if (
|
|
12535
|
+
if (_nsshunt_stsutils.isNode) {
|
|
12566
12536
|
if (this.#agentManager) this.#agentManager?.ResetAgent();
|
|
12567
12537
|
setTimeout(() => this.#EstablishSocketConnect(), this.#reconnectTimeout).unref();
|
|
12568
12538
|
} else setTimeout(() => this.#EstablishSocketConnect(), this.#reconnectTimeout);
|
|
@@ -14696,7 +14666,7 @@ var RESTClientSubscriber = class {
|
|
|
14696
14666
|
const start = performance.now();
|
|
14697
14667
|
try {
|
|
14698
14668
|
this.#LogDebugMessage(chalk.yellow(`RESTClientSubscriber:#InvokeRESTAPI(): axios call: endPointUrl: [${endPointUrl}]`));
|
|
14699
|
-
if (
|
|
14669
|
+
if (_nsshunt_stsutils.isNode && this.#options.agentManager) retVal = await axios(new _nsshunt_stsutils.STSAxiosConfig(endPointUrl, "get").withDefaultHeaders().withAgentManager(this.#options.agentManager).config);
|
|
14700
14670
|
else retVal = await axios(new _nsshunt_stsutils.STSAxiosConfig(endPointUrl, "get").withDefaultHeaders().config);
|
|
14701
14671
|
if (retVal) if (retVal.data) {} else this.#LogDebugMessage(chalk.yellow(`RESTClientSubscriber:#InvokeRESTAPI(): no retVal.data`));
|
|
14702
14672
|
else this.#LogDebugMessage(chalk.yellow(`RESTClientSubscriber:#InvokeRESTAPI(): no retVal`));
|