@magic-xpa/engine 4.1101.0-dev4111.331 → 4.1101.0-dev4111.332
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2022/src/CurrentClientVersion.mjs +2 -2
- package/esm2022/src/env/MirrorString.mjs +4 -2
- package/esm2022/src/remote/RemoteCommandsProcessor.mjs +3 -3
- package/esm2022/src/util/IMirrorXML.mjs +1 -1
- package/esm2022/src/util/PrmMap.mjs +8 -7
- package/fesm2022/magic-xpa-engine.mjs +13 -10
- package/fesm2022/magic-xpa-engine.mjs.map +1 -1
- package/package.json +4 -4
- package/src/env/MirrorString.d.ts +1 -1
- package/src/util/IMirrorXML.d.ts +1 -1
- package/src/util/PrmMap.d.ts +3 -3
@@ -1,2 +1,2 @@
|
|
1
|
-
export let CurrentClientVersion = '4.1101.0-dev4111.
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
1
|
+
export let CurrentClientVersion = '4.1101.0-dev4111.332';
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQ3VycmVudENsaWVudFZlcnNpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9lbmdpbmUvc3JjL0N1cnJlbnRDbGllbnRWZXJzaW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBQyxJQUFJLG9CQUFvQixHQUFHLHNCQUFzQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGxldCBDdXJyZW50Q2xpZW50VmVyc2lvbiA9ICc0LjExMDEuMC1kZXY0MTExLjMzMic7Il19
|
@@ -22,7 +22,7 @@ export class MirrorString {
|
|
22
22
|
mirrorToXML() {
|
23
23
|
return ConstInterface.MG_ATTR_ENV_VALUE + "=\"" + XmlParser.escape(this._value) + "\"";
|
24
24
|
}
|
25
|
-
init(name, xmlParser) {
|
25
|
+
init(name, xmlParser, unescapeFlag) {
|
26
26
|
let valueStart, valueEnd, reserveStart, paramEnd;
|
27
27
|
let xmlData = xmlParser.getXMLdata();
|
28
28
|
let valueAttr = ConstInterface.MG_ATTR_ENV_VALUE + "=\"";
|
@@ -35,6 +35,8 @@ export class MirrorString {
|
|
35
35
|
? xmlData.indexOf(ConstInterface.MG_ATTR_ENV_RESERVED + "=\"", valueStart) - 2
|
36
36
|
: paramEnd - 1;
|
37
37
|
this._value = xmlData.substr(valueStart, valueEnd - valueStart).trim();
|
38
|
+
if (unescapeFlag)
|
39
|
+
this._value = XmlParser.unescape(this._value);
|
38
40
|
if (reserveStart !== -1) {
|
39
41
|
reserveStart += ConstInterface.MG_ATTR_ENV_RESERVED.length + 2;
|
40
42
|
this._reserved = (xmlData[reserveStart] === 'Y');
|
@@ -62,4 +64,4 @@ export class MirrorString {
|
|
62
64
|
return this._reserved;
|
63
65
|
}
|
64
66
|
}
|
65
|
-
//# sourceMappingURL=data:application/json;base64,
|
67
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTWlycm9yU3RyaW5nLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZW5naW5lL3NyYy9lbnYvTWlycm9yU3RyaW5nLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBQyxjQUFjLEVBQUMsTUFBTSxtQkFBbUIsQ0FBQztBQUNqRCxPQUFPLEVBQUMsZ0JBQWdCLEVBQUMsTUFBTSwwQkFBMEIsQ0FBQztBQUMxRCxPQUFPLEVBQUMsU0FBUyxFQUFDLE1BQU0sa0JBQWtCLENBQUM7QUFDM0MsT0FBTyxFQUFDLEtBQUssRUFBRSxPQUFPLEVBQUMsTUFBTSxzQkFBc0IsQ0FBQztBQUVwRCxNQUFNLE9BQU8sWUFBWTtJQUNmLFNBQVMsR0FBWSxLQUFLLENBQUM7SUFDM0IsTUFBTSxHQU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