@nsshunt/stsuxvue 1.0.109 → 1.0.112
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/README.md +26 -0
- package/dist/stsuxvue.cjs +25 -55
- package/dist/stsuxvue.cjs.map +1 -1
- package/dist/stsuxvue.mjs +25 -55
- package/dist/stsuxvue.mjs.map +1 -1
- package/package.json +12 -12
package/README.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# stsuxvue
|
|
2
2
|
|
|
3
|
+
|
|
4
|
+
corepack enable
|
|
5
|
+
corepack prepare yarn@stable --activate
|
|
6
|
+
yarn set version stable
|
|
7
|
+
yarn -v
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
file: .yarnrc.yml
|
|
13
|
+
|
|
14
|
+
nodeLinker: node-modules
|
|
15
|
+
|
|
16
|
+
npmScopes:
|
|
17
|
+
fortawesome:
|
|
18
|
+
npmAlwaysAuth: true
|
|
19
|
+
npmRegistryServer: "https://npm.fontawesome.com/"
|
|
20
|
+
npmAuthToken: "${FONTAWESOME_PACKAGE_TOKEN}"
|
|
21
|
+
awesome.me:
|
|
22
|
+
npmAlwaysAuth: true
|
|
23
|
+
npmRegistryServer: "https://npm.fontawesome.com/"
|
|
24
|
+
npmAuthToken: "${FONTAWESOME_PACKAGE_TOKEN}"
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
3
29
|
previous project includes
|
|
4
30
|
|
|
5
31
|
"vite-plugin-lib-inject-css": "^2.1.1",
|
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");
|
|
@@ -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`));
|