@uipath/rules-tool 1.205.0-preview.277 → 1.206.0-preview.279
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/DmnFactory-L7MABUC6-q2sr3grz.js +10 -0
- package/dist/DmnModelTypes-ATR7FVKZ-h8srwcxk.js +8 -0
- package/dist/KieDmnMarshaller-LGE63WDG-nfkpv8f4.js +8 -0
- package/dist/THIRD-PARTY-NOTICES.md +4 -4
- package/dist/business-rules-z2zw35qd.js +25 -0
- package/dist/{constants-cnn0jfw6.js → constants-1sdwfz26.js} +7 -15
- package/dist/{embedded-file-reader-z4becc02.js → embedded-file-reader-0228j82a.js} +1 -4
- package/dist/first-party-service-hegqxm82.js +8 -0
- package/dist/hitPolicyResult-CGCR73CW-jz89f1aa.js +12 -0
- package/dist/index-4a4x1ygg.js +24 -0
- package/dist/{index-52h8rpew.js → index-egzwtc07.js} +2 -4
- package/dist/{index-sby22td6.js → index-nzr4mx5p.js} +2 -22
- package/dist/index-xaxgkfez.js +23 -0
- package/dist/{tool-tjcg2xje.js → index-y5yffb2s.js} +3525 -236
- package/dist/index-z4kt2kt6.js +8 -0
- package/dist/{index-bhjt1h5c.js → index-zeszs1ra.js} +23 -66
- package/dist/index.js +8 -9
- package/dist/{jmespath-231m3hyn.js → jmespath-ab6tdc42.js} +1 -1
- package/dist/{js-yaml-88tdqrtd.js → js-yaml-a2bk27p6.js} +1 -3
- package/dist/rule-catalog-5qnmp0xp.js +71 -0
- package/dist/rules-command-error-30c8a3n9.js +13 -0
- package/dist/{rules-debug-service-830zfzcy.js → rules-debug-service-xc1cmwwh.js} +37 -38
- package/dist/{rules-init-service-qphmbh3k.js → rules-init-service-frjbgfcs.js} +12 -16
- package/dist/{rules-refresh-service-jn6my893.js → rules-refresh-service-18hrs394.js} +13 -14
- package/dist/{rules-validate-service-hfw8m3dm.js → rules-validate-service-s787ehrr.js} +10 -13
- package/dist/{tool-fk8rznma.js → tool-89e90qrm.js} +173 -223
- package/dist/{tool-fbxe48wd.js → tool-8cnhz30a.js} +13991 -15184
- package/dist/{tool-ey5djkhz.js → tool-8sjyv0xg.js} +659 -14
- package/dist/{tool-h7gn1rar.js → tool-93hqhaj3.js} +402 -417
- package/dist/{tool-c2xarvad.js → tool-cf9810hm.js} +32 -34
- package/dist/{tool-wf2qkrye.js → tool-cs8nyk0r.js} +990 -514
- package/dist/{tool-txp5th7j.js → tool-e23cj2jx.js} +127 -42
- package/dist/{tool-1de529jm.js → tool-epsr41wx.js} +12 -3
- package/dist/{tool-gkbr01gc.js → tool-fkppxa9f.js} +14 -17
- package/dist/{tool-86f1xpxn.js → tool-m59a481n.js} +18 -20
- package/dist/tool-mst6a4dr.js +73 -0
- package/dist/{tool-t4k013ex.js → tool-njnhj05q.js} +8 -8
- package/dist/tool-p7hqn93n.js +455 -0
- package/dist/{tool-z1ay3csx.js → tool-sbtf80ft.js} +66 -24
- package/dist/{tool-yq5jph4h.js → tool-vqm4apm6.js} +207 -216
- package/dist/tool.js +7 -8
- package/package.json +2 -2
- package/dist/DmnFactory-L7MABUC6-98k17dkr.js +0 -46
- package/dist/DmnModelTypes-ATR7FVKZ-jp35cecy.js +0 -18
- package/dist/KieDmnMarshaller-LGE63WDG-3vemswef.js +0 -20
- package/dist/business-rules-pm96sefm.js +0 -26
- package/dist/first-party-service-sd8yaf73.js +0 -27
- package/dist/hitPolicyResult-CGCR73CW-9bmc4nsr.js +0 -36
- package/dist/index-cpm94vee.js +0 -132
- package/dist/index-dqa169gp.js +0 -25
- package/dist/index-x9msn1dj.js +0 -85
- package/dist/index-ybrgtfsg.js +0 -3326
- package/dist/rule-catalog-10fhgevc.js +0 -74
- package/dist/rules-command-error-k6kxwfn7.js +0 -14
- package/dist/tool-1pccj6q3.js +0 -1116
- package/dist/tool-53w8skv5.js +0 -262
- package/dist/tool-7haj67tr.js +0 -19
- package/dist/tool-fbmxx07c.js +0 -73
- package/dist/tool-gdtpsdn7.js +0 -342
- package/dist/tool-jd313s2x.js +0 -10
- package/dist/tool-qgqscsjc.js +0 -46
- /package/dist/{tool-cfrcyxgm.js → tool-2nmqvfmt.js} +0 -0
|
@@ -1,10 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
n,
|
|
3
|
-
o
|
|
4
|
-
} from "./tool-7haj67tr.js";
|
|
5
1
|
import {
|
|
6
2
|
__commonJS
|
|
7
|
-
} from "./tool-
|
|
3
|
+
} from "./tool-epsr41wx.js";
|
|
8
4
|
|
|
9
5
|
// ../../node_modules/dmn-moddle/node_modules/min-dash/dist/index.js
|
|
10
6
|
var require_dist = __commonJS(function(exports) {
|
|
@@ -224,8 +220,8 @@ var require_dist = __commonJS(function(exports) {
|
|
|
224
220
|
fn.apply(lastThis, lastArgs);
|
|
225
221
|
clear();
|
|
226
222
|
}
|
|
227
|
-
function schedule(
|
|
228
|
-
timer = setTimeout(fire,
|
|
223
|
+
function schedule(timeout) {
|
|
224
|
+
timer = setTimeout(fire, timeout);
|
|
229
225
|
}
|
|
230
226
|
function clear() {
|
|
231
227
|
if (timer) {
|
|
@@ -273,12 +269,12 @@ var require_dist = __commonJS(function(exports) {
|
|
|
273
269
|
function _typeof(obj) {
|
|
274
270
|
"@babel/helpers - typeof";
|
|
275
271
|
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
|
276
|
-
_typeof = function(
|
|
277
|
-
return typeof
|
|
272
|
+
_typeof = function(obj) {
|
|
273
|
+
return typeof obj;
|
|
278
274
|
};
|
|
279
275
|
} else {
|
|
280
|
-
_typeof = function(
|
|
281
|
-
return
|
|
276
|
+
_typeof = function(obj) {
|
|
277
|
+
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
282
278
|
};
|
|
283
279
|
}
|
|
284
280
|
return _typeof(obj);
|
|
@@ -640,7 +636,7 @@ var require_dist2 = __commonJS(function(exports) {
|
|
|
640
636
|
Object.defineProperty(p, "definedBy", {
|
|
641
637
|
value: t
|
|
642
638
|
});
|
|
643
|
-
var
|
|
639
|
+
var replaces = p.replaces, redefines = p.redefines;
|
|
644
640
|
if (replaces || redefines) {
|
|
645
641
|
this.redefineProperty(p, replaces || redefines, replaces);
|
|
646
642
|
} else {
|
|
@@ -718,9 +714,9 @@ var require_dist2 = __commonJS(function(exports) {
|
|
|
718
714
|
function traverseTrait(cls) {
|
|
719
715
|
return traverseSuper(cls, true);
|
|
720
716
|
}
|
|
721
|
-
function traverseSuper(cls,
|
|
717
|
+
function traverseSuper(cls, trait) {
|
|
722
718
|
var parentNs = parseName(cls, isBuiltIn(cls) ? "" : nsName.prefix);
|
|
723
|
-
self.mapTypes(parentNs, iterator,
|
|
719
|
+
self.mapTypes(parentNs, iterator, trait);
|
|
724
720
|
}
|
|
725
721
|
if (!type) {
|
|
726
722
|
throw new Error("unknown type <" + nsName.name + ">");
|
|
@@ -1075,56 +1071,56 @@ var require_dist3 = __commonJS(function(exports) {
|
|
|
1075
1071
|
if (cachedAttrs !== null) {
|
|
1076
1072
|
return cachedAttrs;
|
|
1077
1073
|
}
|
|
1078
|
-
var nsUri, nsUriPrefix, nsName, defaultAlias = isNamespace && nsMatrix["xmlns"], attrList = isNamespace && maybeNS ? [] : null,
|
|
1074
|
+
var nsUri, nsUriPrefix, nsName, defaultAlias = isNamespace && nsMatrix["xmlns"], attrList = isNamespace && maybeNS ? [] : null, i = attrsStart, s = attrsString, l = s.length, hasNewMatrix, newalias, value, alias, name, attrs = {}, seenAttrs = {}, skipAttr, w, j;
|
|
1079
1075
|
parseAttr:
|
|
1080
|
-
for (;
|
|
1076
|
+
for (;i < l; i++) {
|
|
1081
1077
|
skipAttr = false;
|
|
1082
|
-
|
|
1083
|
-
if (
|
|
1078
|
+
w = s.charCodeAt(i);
|
|
1079
|
+
if (w === 32 || w < 14 && w > 8) {
|
|
1084
1080
|
continue;
|
|
1085
1081
|
}
|
|
1086
|
-
if (
|
|
1087
|
-
if (
|
|
1082
|
+
if (w < 65 || w > 122 || w > 90 && w < 97) {
|
|
1083
|
+
if (w !== 95 && w !== 58) {
|
|
1088
1084
|
handleWarning("illegal first char attribute name");
|
|
1089
1085
|
skipAttr = true;
|
|
1090
1086
|
}
|
|
1091
1087
|
}
|
|
1092
|
-
for (
|
|
1093
|
-
|
|
1094
|
-
if (
|
|
1088
|
+
for (j = i + 1;j < l; j++) {
|
|
1089
|
+
w = s.charCodeAt(j);
|
|
1090
|
+
if (w > 96 && w < 123 || w > 64 && w < 91 || w > 47 && w < 59 || w === 46 || w === 45 || w === 95) {
|
|
1095
1091
|
continue;
|
|
1096
1092
|
}
|
|
1097
|
-
if (
|
|
1093
|
+
if (w === 32 || w < 14 && w > 8) {
|
|
1098
1094
|
handleWarning("missing attribute value");
|
|
1099
|
-
|
|
1095
|
+
i = j;
|
|
1100
1096
|
continue parseAttr;
|
|
1101
1097
|
}
|
|
1102
|
-
if (
|
|
1098
|
+
if (w === 61) {
|
|
1103
1099
|
break;
|
|
1104
1100
|
}
|
|
1105
1101
|
handleWarning("illegal attribute name char");
|
|
1106
1102
|
skipAttr = true;
|
|
1107
1103
|
}
|
|
1108
|
-
name = s.substring(
|
|
1104
|
+
name = s.substring(i, j);
|
|
1109
1105
|
if (name === "xmlns:xmlns") {
|
|
1110
1106
|
handleWarning("illegal declaration of xmlns");
|
|
1111
1107
|
skipAttr = true;
|
|
1112
1108
|
}
|
|
1113
|
-
|
|
1114
|
-
if (
|
|
1115
|
-
|
|
1116
|
-
if (
|
|
1117
|
-
|
|
1118
|
-
if (
|
|
1109
|
+
w = s.charCodeAt(j + 1);
|
|
1110
|
+
if (w === 34) {
|
|
1111
|
+
j = s.indexOf('"', i = j + 2);
|
|
1112
|
+
if (j === -1) {
|
|
1113
|
+
j = s.indexOf("'", i);
|
|
1114
|
+
if (j !== -1) {
|
|
1119
1115
|
handleWarning("attribute value quote missmatch");
|
|
1120
1116
|
skipAttr = true;
|
|
1121
1117
|
}
|
|
1122
1118
|
}
|
|
1123
|
-
} else if (
|
|
1124
|
-
|
|
1125
|
-
if (
|
|
1126
|
-
|
|
1127
|
-
if (
|
|
1119
|
+
} else if (w === 39) {
|
|
1120
|
+
j = s.indexOf("'", i = j + 2);
|
|
1121
|
+
if (j === -1) {
|
|
1122
|
+
j = s.indexOf('"', i);
|
|
1123
|
+
if (j !== -1) {
|
|
1128
1124
|
handleWarning("attribute value quote missmatch");
|
|
1129
1125
|
skipAttr = true;
|
|
1130
1126
|
}
|
|
@@ -1132,33 +1128,33 @@ var require_dist3 = __commonJS(function(exports) {
|
|
|
1132
1128
|
} else {
|
|
1133
1129
|
handleWarning("missing attribute value quotes");
|
|
1134
1130
|
skipAttr = true;
|
|
1135
|
-
for (
|
|
1136
|
-
|
|
1137
|
-
if (
|
|
1131
|
+
for (j = j + 1;j < l; j++) {
|
|
1132
|
+
w = s.charCodeAt(j + 1);
|
|
1133
|
+
if (w === 32 || w < 14 && w > 8) {
|
|
1138
1134
|
break;
|
|
1139
1135
|
}
|
|
1140
1136
|
}
|
|
1141
1137
|
}
|
|
1142
|
-
if (
|
|
1138
|
+
if (j === -1) {
|
|
1143
1139
|
handleWarning("missing closing quotes");
|
|
1144
|
-
|
|
1140
|
+
j = l;
|
|
1145
1141
|
skipAttr = true;
|
|
1146
1142
|
}
|
|
1147
1143
|
if (!skipAttr) {
|
|
1148
|
-
value = s.substring(
|
|
1144
|
+
value = s.substring(i, j);
|
|
1149
1145
|
}
|
|
1150
|
-
|
|
1151
|
-
for (;
|
|
1152
|
-
|
|
1153
|
-
if (
|
|
1146
|
+
i = j;
|
|
1147
|
+
for (;j + 1 < l; j++) {
|
|
1148
|
+
w = s.charCodeAt(j + 1);
|
|
1149
|
+
if (w === 32 || w < 14 && w > 8) {
|
|
1154
1150
|
break;
|
|
1155
1151
|
}
|
|
1156
|
-
if (
|
|
1152
|
+
if (i === j) {
|
|
1157
1153
|
handleWarning("illegal character after attribute end");
|
|
1158
1154
|
skipAttr = true;
|
|
1159
1155
|
}
|
|
1160
1156
|
}
|
|
1161
|
-
|
|
1157
|
+
i = j + 1;
|
|
1162
1158
|
if (skipAttr) {
|
|
1163
1159
|
continue parseAttr;
|
|
1164
1160
|
}
|
|
@@ -1205,22 +1201,22 @@ var require_dist3 = __commonJS(function(exports) {
|
|
|
1205
1201
|
attrList.push(name, value);
|
|
1206
1202
|
continue;
|
|
1207
1203
|
}
|
|
1208
|
-
|
|
1209
|
-
if (
|
|
1204
|
+
w = name.indexOf(":");
|
|
1205
|
+
if (w === -1) {
|
|
1210
1206
|
attrs[name] = value;
|
|
1211
1207
|
continue;
|
|
1212
1208
|
}
|
|
1213
|
-
if (!(nsName = nsMatrix[name.substring(0,
|
|
1214
|
-
handleWarning(missingNamespaceForPrefix(name.substring(0,
|
|
1209
|
+
if (!(nsName = nsMatrix[name.substring(0, w)])) {
|
|
1210
|
+
handleWarning(missingNamespaceForPrefix(name.substring(0, w)));
|
|
1215
1211
|
continue;
|
|
1216
1212
|
}
|
|
1217
|
-
name = defaultAlias === nsName ? name.substr(
|
|
1213
|
+
name = defaultAlias === nsName ? name.substr(w + 1) : nsName + name.substr(w);
|
|
1218
1214
|
if (name === XSI_TYPE) {
|
|
1219
|
-
|
|
1220
|
-
if (
|
|
1221
|
-
nsName = value.substring(0,
|
|
1215
|
+
w = value.indexOf(":");
|
|
1216
|
+
if (w !== -1) {
|
|
1217
|
+
nsName = value.substring(0, w);
|
|
1222
1218
|
nsName = nsMatrix[nsName] || nsName;
|
|
1223
|
-
value = nsName + value.substring(
|
|
1219
|
+
value = nsName + value.substring(w);
|
|
1224
1220
|
} else {
|
|
1225
1221
|
value = defaultAlias + ":" + value;
|
|
1226
1222
|
}
|
|
@@ -1228,22 +1224,22 @@ var require_dist3 = __commonJS(function(exports) {
|
|
|
1228
1224
|
attrs[name] = value;
|
|
1229
1225
|
}
|
|
1230
1226
|
if (maybeNS) {
|
|
1231
|
-
for (
|
|
1232
|
-
name = attrList[
|
|
1233
|
-
value = attrList[
|
|
1234
|
-
|
|
1235
|
-
if (
|
|
1236
|
-
if (!(nsName = nsMatrix[name.substring(0,
|
|
1237
|
-
handleWarning(missingNamespaceForPrefix(name.substring(0,
|
|
1227
|
+
for (i = 0, l = attrList.length;i < l; i++) {
|
|
1228
|
+
name = attrList[i++];
|
|
1229
|
+
value = attrList[i];
|
|
1230
|
+
w = name.indexOf(":");
|
|
1231
|
+
if (w !== -1) {
|
|
1232
|
+
if (!(nsName = nsMatrix[name.substring(0, w)])) {
|
|
1233
|
+
handleWarning(missingNamespaceForPrefix(name.substring(0, w)));
|
|
1238
1234
|
continue;
|
|
1239
1235
|
}
|
|
1240
|
-
name = defaultAlias === nsName ? name.substr(
|
|
1236
|
+
name = defaultAlias === nsName ? name.substr(w + 1) : nsName + name.substr(w);
|
|
1241
1237
|
if (name === XSI_TYPE) {
|
|
1242
|
-
|
|
1243
|
-
if (
|
|
1244
|
-
nsName = value.substring(0,
|
|
1238
|
+
w = value.indexOf(":");
|
|
1239
|
+
if (w !== -1) {
|
|
1240
|
+
nsName = value.substring(0, w);
|
|
1245
1241
|
nsName = nsMatrix[nsName] || nsName;
|
|
1246
|
-
value = nsName + value.substring(
|
|
1242
|
+
value = nsName + value.substring(w);
|
|
1247
1243
|
} else {
|
|
1248
1244
|
value = defaultAlias + ":" + value;
|
|
1249
1245
|
}
|
|
@@ -1885,7 +1881,7 @@ var require_dist4 = __commonJS(function(exports) {
|
|
|
1885
1881
|
var context = new Context(minDash.assign({}, options, { rootHandler })), parser = new saxen.Parser({ proxy: true }), stack = createStack();
|
|
1886
1882
|
rootHandler.context = context;
|
|
1887
1883
|
stack.push(rootHandler);
|
|
1888
|
-
function handleError(err, getContext,
|
|
1884
|
+
function handleError(err, getContext, lax) {
|
|
1889
1885
|
var ctx = getContext();
|
|
1890
1886
|
var { line, column, data } = ctx;
|
|
1891
1887
|
if (data.charAt(0) === "<" && data.indexOf(" ") !== -1) {
|
|
@@ -1895,7 +1891,7 @@ var require_dist4 = __commonJS(function(exports) {
|
|
|
1895
1891
|
` + "line: " + line + `
|
|
1896
1892
|
` + "column: " + column + `
|
|
1897
1893
|
` + "nested error: " + err.message;
|
|
1898
|
-
if (
|
|
1894
|
+
if (lax) {
|
|
1899
1895
|
context.addWarning({
|
|
1900
1896
|
message,
|
|
1901
1897
|
error: err
|
|
@@ -1981,9 +1977,9 @@ var require_dist4 = __commonJS(function(exports) {
|
|
|
1981
1977
|
}
|
|
1982
1978
|
handleCData(text, getContext);
|
|
1983
1979
|
}
|
|
1984
|
-
var uriMap = model.getPackages().reduce(function(
|
|
1985
|
-
|
|
1986
|
-
return
|
|
1980
|
+
var uriMap = model.getPackages().reduce(function(uriMap, p) {
|
|
1981
|
+
uriMap[p.uri] = p.prefix;
|
|
1982
|
+
return uriMap;
|
|
1987
1983
|
}, {
|
|
1988
1984
|
"http://www.w3.org/XML/1998/namespace": "xml"
|
|
1989
1985
|
});
|
|
@@ -2084,8 +2080,8 @@ var require_dist4 = __commonJS(function(exports) {
|
|
|
2084
2080
|
}
|
|
2085
2081
|
};
|
|
2086
2082
|
this.getUsed = function(ns) {
|
|
2087
|
-
function isUsed(
|
|
2088
|
-
var nsKey = self.getNSKey(
|
|
2083
|
+
function isUsed(ns) {
|
|
2084
|
+
var nsKey = self.getNSKey(ns);
|
|
2089
2085
|
return used[nsKey];
|
|
2090
2086
|
}
|
|
2091
2087
|
var self = this;
|
|
@@ -2355,7 +2351,7 @@ var require_dist4 = __commonJS(function(exports) {
|
|
|
2355
2351
|
ElementSerializer.prototype.parseContainments = function(properties) {
|
|
2356
2352
|
var self = this, body = this.body, element = this.element;
|
|
2357
2353
|
minDash.forEach(properties, function(p) {
|
|
2358
|
-
var value = element.get(p.name),
|
|
2354
|
+
var value = element.get(p.name), { isReference, isMany } = p;
|
|
2359
2355
|
if (!isMany) {
|
|
2360
2356
|
value = [value];
|
|
2361
2357
|
}
|
|
@@ -2409,7 +2405,7 @@ var require_dist4 = __commonJS(function(exports) {
|
|
|
2409
2405
|
};
|
|
2410
2406
|
ElementSerializer.prototype.logNamespaceUsed = function(ns, local) {
|
|
2411
2407
|
var element = this.element, model = element.$model, namespaces = this.getNamespaces(local);
|
|
2412
|
-
var
|
|
2408
|
+
var prefix = ns.prefix, uri = ns.uri, newPrefix, idx, wellknownUri;
|
|
2413
2409
|
if (!prefix && !uri) {
|
|
2414
2410
|
return { localName: ns.localName };
|
|
2415
2411
|
}
|
|
@@ -2577,8 +2573,8 @@ var require_dist5 = __commonJS(function(exports, module) {
|
|
|
2577
2573
|
var minDash = require_dist();
|
|
2578
2574
|
var moddle = require_dist2();
|
|
2579
2575
|
var moddleXml = require_dist4();
|
|
2580
|
-
function DmnModdle(
|
|
2581
|
-
moddle.Moddle.call(this,
|
|
2576
|
+
function DmnModdle(packages, options) {
|
|
2577
|
+
moddle.Moddle.call(this, packages, options);
|
|
2582
2578
|
}
|
|
2583
2579
|
DmnModdle.prototype = Object.create(moddle.Moddle.prototype);
|
|
2584
2580
|
DmnModdle.prototype.fromXML = function(xmlStr, typeName, options) {
|
|
@@ -4604,8 +4600,8 @@ var require_dist7 = __commonJS(function(exports) {
|
|
|
4604
4600
|
fn.apply(lastThis, lastArgs);
|
|
4605
4601
|
clear();
|
|
4606
4602
|
}
|
|
4607
|
-
function schedule(
|
|
4608
|
-
timer = setTimeout(fire,
|
|
4603
|
+
function schedule(timeout) {
|
|
4604
|
+
timer = setTimeout(fire, timeout);
|
|
4609
4605
|
}
|
|
4610
4606
|
function clear() {
|
|
4611
4607
|
if (timer) {
|
|
@@ -4841,8 +4837,8 @@ var require_conventions = __commonJS(function(exports) {
|
|
|
4841
4837
|
reversed: true,
|
|
4842
4838
|
selected: true
|
|
4843
4839
|
});
|
|
4844
|
-
function isHTMLBooleanAttribute(
|
|
4845
|
-
return hasOwn(HTML_BOOLEAN_ATTRIBUTES,
|
|
4840
|
+
function isHTMLBooleanAttribute(name) {
|
|
4841
|
+
return hasOwn(HTML_BOOLEAN_ATTRIBUTES, name.toLowerCase());
|
|
4846
4842
|
}
|
|
4847
4843
|
var HTML_VOID_ELEMENTS = freeze({
|
|
4848
4844
|
area: true,
|
|
@@ -5279,26 +5275,26 @@ var require_dom = __commonJS(function(exports) {
|
|
|
5279
5275
|
function validateAndExtract(namespace, qualifiedName) {
|
|
5280
5276
|
validateQualifiedName(qualifiedName);
|
|
5281
5277
|
namespace = namespace || null;
|
|
5282
|
-
var
|
|
5278
|
+
var prefix = null;
|
|
5283
5279
|
var localName = qualifiedName;
|
|
5284
5280
|
if (qualifiedName.indexOf(":") >= 0) {
|
|
5285
5281
|
var splitResult = qualifiedName.split(":");
|
|
5286
|
-
|
|
5282
|
+
prefix = splitResult[0];
|
|
5287
5283
|
localName = splitResult[1];
|
|
5288
5284
|
}
|
|
5289
|
-
if (
|
|
5285
|
+
if (prefix !== null && namespace === null) {
|
|
5290
5286
|
throw new DOMException(DOMException.NAMESPACE_ERR, "prefix is non-null and namespace is null");
|
|
5291
5287
|
}
|
|
5292
|
-
if (
|
|
5288
|
+
if (prefix === "xml" && namespace !== conventions.NAMESPACE.XML) {
|
|
5293
5289
|
throw new DOMException(DOMException.NAMESPACE_ERR, 'prefix is "xml" and namespace is not the XML namespace');
|
|
5294
5290
|
}
|
|
5295
|
-
if ((
|
|
5291
|
+
if ((prefix === "xmlns" || qualifiedName === "xmlns") && namespace !== conventions.NAMESPACE.XMLNS) {
|
|
5296
5292
|
throw new DOMException(DOMException.NAMESPACE_ERR, 'either qualifiedName or prefix is "xmlns" and namespace is not the XMLNS namespace');
|
|
5297
5293
|
}
|
|
5298
|
-
if (namespace === conventions.NAMESPACE.XMLNS &&
|
|
5294
|
+
if (namespace === conventions.NAMESPACE.XMLNS && prefix !== "xmlns" && qualifiedName !== "xmlns") {
|
|
5299
5295
|
throw new DOMException(DOMException.NAMESPACE_ERR, 'namespace is the XMLNS namespace and neither qualifiedName nor prefix is "xmlns"');
|
|
5300
5296
|
}
|
|
5301
|
-
return [namespace,
|
|
5297
|
+
return [namespace, prefix, localName];
|
|
5302
5298
|
}
|
|
5303
5299
|
function copy(src, dest) {
|
|
5304
5300
|
for (var p in src) {
|
|
@@ -5348,10 +5344,10 @@ var require_dom = __commonJS(function(exports) {
|
|
|
5348
5344
|
if (b.length < a.length)
|
|
5349
5345
|
return commonAncestor(b, a);
|
|
5350
5346
|
var c = null;
|
|
5351
|
-
for (var
|
|
5352
|
-
if (a[
|
|
5347
|
+
for (var n in a) {
|
|
5348
|
+
if (a[n] !== b[n])
|
|
5353
5349
|
return c;
|
|
5354
|
-
c = a[
|
|
5350
|
+
c = a[n];
|
|
5355
5351
|
}
|
|
5356
5352
|
return c;
|
|
5357
5353
|
}
|
|
@@ -5832,9 +5828,9 @@ var require_dom = __commonJS(function(exports) {
|
|
|
5832
5828
|
while (el) {
|
|
5833
5829
|
var map = el._nsMap;
|
|
5834
5830
|
if (map) {
|
|
5835
|
-
for (var
|
|
5836
|
-
if (hasOwn(map,
|
|
5837
|
-
return
|
|
5831
|
+
for (var n in map) {
|
|
5832
|
+
if (hasOwn(map, n) && map[n] === namespaceURI) {
|
|
5833
|
+
return n;
|
|
5838
5834
|
}
|
|
5839
5835
|
}
|
|
5840
5836
|
}
|
|
@@ -5842,13 +5838,13 @@ var require_dom = __commonJS(function(exports) {
|
|
|
5842
5838
|
}
|
|
5843
5839
|
return null;
|
|
5844
5840
|
},
|
|
5845
|
-
lookupNamespaceURI: function(
|
|
5841
|
+
lookupNamespaceURI: function(prefix) {
|
|
5846
5842
|
var el = this;
|
|
5847
5843
|
while (el) {
|
|
5848
5844
|
var map = el._nsMap;
|
|
5849
5845
|
if (map) {
|
|
5850
|
-
if (hasOwn(map,
|
|
5851
|
-
return map[
|
|
5846
|
+
if (hasOwn(map, prefix)) {
|
|
5847
|
+
return map[prefix];
|
|
5852
5848
|
}
|
|
5853
5849
|
}
|
|
5854
5850
|
el = el.nodeType == ATTRIBUTE_NODE ? el.ownerDocument : el.parentNode;
|
|
@@ -5856,8 +5852,8 @@ var require_dom = __commonJS(function(exports) {
|
|
|
5856
5852
|
return null;
|
|
5857
5853
|
},
|
|
5858
5854
|
isDefaultNamespace: function(namespaceURI) {
|
|
5859
|
-
var
|
|
5860
|
-
return
|
|
5855
|
+
var prefix = this.lookupPrefix(namespaceURI);
|
|
5856
|
+
return prefix == null;
|
|
5861
5857
|
},
|
|
5862
5858
|
compareDocumentPosition: function(other) {
|
|
5863
5859
|
if (this === other)
|
|
@@ -5912,8 +5908,8 @@ var require_dom = __commonJS(function(exports) {
|
|
|
5912
5908
|
}
|
|
5913
5909
|
chain2.reverse();
|
|
5914
5910
|
var ca = commonAncestor(chain1, chain2);
|
|
5915
|
-
for (var
|
|
5916
|
-
var child = ca.childNodes[
|
|
5911
|
+
for (var n in ca.childNodes) {
|
|
5912
|
+
var child = ca.childNodes[n];
|
|
5917
5913
|
if (child === node2)
|
|
5918
5914
|
return DocumentPosition.DOCUMENT_POSITION_FOLLOWING;
|
|
5919
5915
|
if (child === node1)
|
|
@@ -5935,8 +5931,8 @@ var require_dom = __commonJS(function(exports) {
|
|
|
5935
5931
|
copy(DocumentPosition, Node.prototype);
|
|
5936
5932
|
function _visitNode(node, callback) {
|
|
5937
5933
|
walkDOM(node, null, {
|
|
5938
|
-
enter: function(
|
|
5939
|
-
return callback(
|
|
5934
|
+
enter: function(n) {
|
|
5935
|
+
return callback(n) ? walkDOM.STOP : true;
|
|
5940
5936
|
}
|
|
5941
5937
|
});
|
|
5942
5938
|
}
|
|
@@ -6122,8 +6118,8 @@ var require_dom = __commonJS(function(exports) {
|
|
|
6122
6118
|
}
|
|
6123
6119
|
}
|
|
6124
6120
|
if (isDocTypeNode(node)) {
|
|
6125
|
-
let hasDoctypeChildThatIsNotChild = function(
|
|
6126
|
-
return isDocTypeNode(
|
|
6121
|
+
let hasDoctypeChildThatIsNotChild = function(node) {
|
|
6122
|
+
return isDocTypeNode(node) && node !== child;
|
|
6127
6123
|
};
|
|
6128
6124
|
if (find(parentChildNodes, hasDoctypeChildThatIsNotChild)) {
|
|
6129
6125
|
throw new DOMException(DOMException.HIERARCHY_REQUEST_ERR, "Only one doctype is allowed");
|
|
@@ -6285,28 +6281,28 @@ var require_dom = __commonJS(function(exports) {
|
|
|
6285
6281
|
node.nodeValue = node.data = data;
|
|
6286
6282
|
return node;
|
|
6287
6283
|
},
|
|
6288
|
-
createAttribute: function(
|
|
6289
|
-
if (!g.QName_exact.test(
|
|
6290
|
-
throw new DOMException(DOMException.INVALID_CHARACTER_ERR, 'invalid character in name "' +
|
|
6284
|
+
createAttribute: function(name) {
|
|
6285
|
+
if (!g.QName_exact.test(name)) {
|
|
6286
|
+
throw new DOMException(DOMException.INVALID_CHARACTER_ERR, 'invalid character in name "' + name + '"');
|
|
6291
6287
|
}
|
|
6292
6288
|
if (this.type === "html") {
|
|
6293
|
-
|
|
6289
|
+
name = name.toLowerCase();
|
|
6294
6290
|
}
|
|
6295
|
-
return this._createAttribute(
|
|
6291
|
+
return this._createAttribute(name);
|
|
6296
6292
|
},
|
|
6297
|
-
_createAttribute: function(
|
|
6293
|
+
_createAttribute: function(name) {
|
|
6298
6294
|
var node = new Attr(PDC);
|
|
6299
6295
|
node.ownerDocument = this;
|
|
6300
6296
|
node.childNodes = new NodeList;
|
|
6301
|
-
node.name =
|
|
6302
|
-
node.nodeName =
|
|
6303
|
-
node.localName =
|
|
6297
|
+
node.name = name;
|
|
6298
|
+
node.nodeName = name;
|
|
6299
|
+
node.localName = name;
|
|
6304
6300
|
node.specified = true;
|
|
6305
6301
|
return node;
|
|
6306
6302
|
},
|
|
6307
|
-
createEntityReference: function(
|
|
6308
|
-
if (!g.Name_exact.test(
|
|
6309
|
-
throw new DOMException(DOMException.INVALID_CHARACTER_ERR, 'not a valid xml name "' +
|
|
6303
|
+
createEntityReference: function(name) {
|
|
6304
|
+
if (!g.Name_exact.test(name)) {
|
|
6305
|
+
throw new DOMException(DOMException.INVALID_CHARACTER_ERR, 'not a valid xml name "' + name + '"');
|
|
6310
6306
|
}
|
|
6311
6307
|
if (this.type === "html") {
|
|
6312
6308
|
throw new DOMException("document is an html document", DOMExceptionName.NotSupportedError);
|
|
@@ -6314,7 +6310,7 @@ var require_dom = __commonJS(function(exports) {
|
|
|
6314
6310
|
var node = new EntityReference(PDC);
|
|
6315
6311
|
node.ownerDocument = this;
|
|
6316
6312
|
node.childNodes = new NodeList;
|
|
6317
|
-
node.nodeName =
|
|
6313
|
+
node.nodeName = name;
|
|
6318
6314
|
return node;
|
|
6319
6315
|
},
|
|
6320
6316
|
createElementNS: function(namespaceURI, qualifiedName) {
|
|
@@ -6362,34 +6358,34 @@ var require_dom = __commonJS(function(exports) {
|
|
|
6362
6358
|
hasAttributes: function() {
|
|
6363
6359
|
return !!(this.attributes && this.attributes.length);
|
|
6364
6360
|
},
|
|
6365
|
-
hasAttribute: function(
|
|
6366
|
-
return !!this.getAttributeNode(
|
|
6361
|
+
hasAttribute: function(name) {
|
|
6362
|
+
return !!this.getAttributeNode(name);
|
|
6367
6363
|
},
|
|
6368
|
-
getAttribute: function(
|
|
6369
|
-
var attr = this.getAttributeNode(
|
|
6364
|
+
getAttribute: function(name) {
|
|
6365
|
+
var attr = this.getAttributeNode(name);
|
|
6370
6366
|
return attr ? attr.value : null;
|
|
6371
6367
|
},
|
|
6372
|
-
getAttributeNode: function(
|
|
6368
|
+
getAttributeNode: function(name) {
|
|
6373
6369
|
if (this._isInHTMLDocumentAndNamespace()) {
|
|
6374
|
-
|
|
6370
|
+
name = name.toLowerCase();
|
|
6375
6371
|
}
|
|
6376
|
-
return this.attributes.getNamedItem(
|
|
6372
|
+
return this.attributes.getNamedItem(name);
|
|
6377
6373
|
},
|
|
6378
|
-
setAttribute: function(
|
|
6374
|
+
setAttribute: function(name, value) {
|
|
6379
6375
|
if (this._isInHTMLDocumentAndNamespace()) {
|
|
6380
|
-
|
|
6376
|
+
name = name.toLowerCase();
|
|
6381
6377
|
}
|
|
6382
|
-
var attr = this.getAttributeNode(
|
|
6378
|
+
var attr = this.getAttributeNode(name);
|
|
6383
6379
|
if (attr) {
|
|
6384
6380
|
attr.value = attr.nodeValue = "" + value;
|
|
6385
6381
|
} else {
|
|
6386
|
-
attr = this.ownerDocument._createAttribute(
|
|
6382
|
+
attr = this.ownerDocument._createAttribute(name);
|
|
6387
6383
|
attr.value = attr.nodeValue = "" + value;
|
|
6388
6384
|
this.setAttributeNode(attr);
|
|
6389
6385
|
}
|
|
6390
6386
|
},
|
|
6391
|
-
removeAttribute: function(
|
|
6392
|
-
var attr = this.getAttributeNode(
|
|
6387
|
+
removeAttribute: function(name) {
|
|
6388
|
+
var attr = this.getAttributeNode(name);
|
|
6393
6389
|
attr && this.removeAttributeNode(attr);
|
|
6394
6390
|
},
|
|
6395
6391
|
setAttributeNode: function(newAttr) {
|
|
@@ -6612,13 +6608,13 @@ var require_dom = __commonJS(function(exports) {
|
|
|
6612
6608
|
}
|
|
6613
6609
|
var buf = [];
|
|
6614
6610
|
var refNode = this.nodeType === DOCUMENT_NODE && this.documentElement || this;
|
|
6615
|
-
var
|
|
6616
|
-
var
|
|
6617
|
-
if (
|
|
6618
|
-
var
|
|
6619
|
-
if (
|
|
6611
|
+
var prefix = refNode.prefix;
|
|
6612
|
+
var uri = refNode.namespaceURI;
|
|
6613
|
+
if (uri && prefix == null) {
|
|
6614
|
+
var prefix = refNode.lookupPrefix(uri);
|
|
6615
|
+
if (prefix == null) {
|
|
6620
6616
|
var visibleNamespaces = [
|
|
6621
|
-
{ namespace:
|
|
6617
|
+
{ namespace: uri, prefix: null }
|
|
6622
6618
|
];
|
|
6623
6619
|
}
|
|
6624
6620
|
}
|
|
@@ -6626,19 +6622,19 @@ var require_dom = __commonJS(function(exports) {
|
|
|
6626
6622
|
return buf.join("");
|
|
6627
6623
|
}
|
|
6628
6624
|
function needNamespaceDefine(node, isHTML, visibleNamespaces) {
|
|
6629
|
-
var
|
|
6630
|
-
var
|
|
6631
|
-
if (!
|
|
6625
|
+
var prefix = node.prefix || "";
|
|
6626
|
+
var uri = node.namespaceURI;
|
|
6627
|
+
if (!uri) {
|
|
6632
6628
|
return false;
|
|
6633
6629
|
}
|
|
6634
|
-
if (
|
|
6630
|
+
if (prefix === "xml" && uri === NAMESPACE.XML || uri === NAMESPACE.XMLNS) {
|
|
6635
6631
|
return false;
|
|
6636
6632
|
}
|
|
6637
6633
|
var i = visibleNamespaces.length;
|
|
6638
6634
|
while (i--) {
|
|
6639
6635
|
var ns = visibleNamespaces[i];
|
|
6640
|
-
if (ns.prefix ===
|
|
6641
|
-
return ns.namespace !==
|
|
6636
|
+
if (ns.prefix === prefix) {
|
|
6637
|
+
return ns.namespace !== uri;
|
|
6642
6638
|
}
|
|
6643
6639
|
}
|
|
6644
6640
|
return true;
|
|
@@ -6659,26 +6655,26 @@ var require_dom = __commonJS(function(exports) {
|
|
|
6659
6655
|
var doc = node.nodeType === DOCUMENT_NODE ? node : node.ownerDocument;
|
|
6660
6656
|
var isHTML = doc.type === "html";
|
|
6661
6657
|
walkDOM(node, { ns: visibleNamespaces }, {
|
|
6662
|
-
enter: function(
|
|
6658
|
+
enter: function(n, ctx) {
|
|
6663
6659
|
var namespaces = ctx.ns;
|
|
6664
6660
|
if (nodeFilter) {
|
|
6665
|
-
|
|
6666
|
-
if (
|
|
6667
|
-
if (typeof
|
|
6668
|
-
buf.push(
|
|
6661
|
+
n = nodeFilter(n);
|
|
6662
|
+
if (n) {
|
|
6663
|
+
if (typeof n == "string") {
|
|
6664
|
+
buf.push(n);
|
|
6669
6665
|
return null;
|
|
6670
6666
|
}
|
|
6671
6667
|
} else {
|
|
6672
6668
|
return null;
|
|
6673
6669
|
}
|
|
6674
6670
|
}
|
|
6675
|
-
switch (
|
|
6671
|
+
switch (n.nodeType) {
|
|
6676
6672
|
case ELEMENT_NODE:
|
|
6677
|
-
var attrs =
|
|
6673
|
+
var attrs = n.attributes;
|
|
6678
6674
|
var len = attrs.length;
|
|
6679
|
-
var nodeName =
|
|
6675
|
+
var nodeName = n.tagName;
|
|
6680
6676
|
var prefixedNodeName = nodeName;
|
|
6681
|
-
if (!isHTML && !
|
|
6677
|
+
if (!isHTML && !n.prefix && n.namespaceURI) {
|
|
6682
6678
|
var defaultNS;
|
|
6683
6679
|
for (var ai = 0;ai < attrs.length; ai++) {
|
|
6684
6680
|
if (attrs.item(ai).name === "xmlns") {
|
|
@@ -6689,16 +6685,16 @@ var require_dom = __commonJS(function(exports) {
|
|
|
6689
6685
|
if (!defaultNS) {
|
|
6690
6686
|
for (var nsi = namespaces.length - 1;nsi >= 0; nsi--) {
|
|
6691
6687
|
var nsEntry = namespaces[nsi];
|
|
6692
|
-
if (nsEntry.prefix === "" && nsEntry.namespace ===
|
|
6688
|
+
if (nsEntry.prefix === "" && nsEntry.namespace === n.namespaceURI) {
|
|
6693
6689
|
defaultNS = nsEntry.namespace;
|
|
6694
6690
|
break;
|
|
6695
6691
|
}
|
|
6696
6692
|
}
|
|
6697
6693
|
}
|
|
6698
|
-
if (defaultNS !==
|
|
6694
|
+
if (defaultNS !== n.namespaceURI) {
|
|
6699
6695
|
for (var nsi = namespaces.length - 1;nsi >= 0; nsi--) {
|
|
6700
6696
|
var nsEntry = namespaces[nsi];
|
|
6701
|
-
if (nsEntry.namespace ===
|
|
6697
|
+
if (nsEntry.namespace === n.namespaceURI) {
|
|
6702
6698
|
if (nsEntry.prefix) {
|
|
6703
6699
|
prefixedNodeName = nsEntry.prefix + ":" + nodeName;
|
|
6704
6700
|
}
|
|
@@ -6727,9 +6723,9 @@ var require_dom = __commonJS(function(exports) {
|
|
|
6727
6723
|
var attr = attrs.item(i);
|
|
6728
6724
|
if (needNamespaceDefine(attr, isHTML, childNamespaces)) {
|
|
6729
6725
|
var attrPrefix = attr.prefix || "";
|
|
6730
|
-
var
|
|
6731
|
-
addSerializedAttribute(buf, attrPrefix ? "xmlns:" + attrPrefix : "xmlns",
|
|
6732
|
-
childNamespaces.push({ prefix: attrPrefix, namespace:
|
|
6726
|
+
var uri = attr.namespaceURI;
|
|
6727
|
+
addSerializedAttribute(buf, attrPrefix ? "xmlns:" + attrPrefix : "xmlns", uri, requireWellFormed);
|
|
6728
|
+
childNamespaces.push({ prefix: attrPrefix, namespace: uri });
|
|
6733
6729
|
}
|
|
6734
6730
|
var filteredAttr = nodeFilter ? nodeFilter(attr) : attr;
|
|
6735
6731
|
if (filteredAttr) {
|
|
@@ -6740,14 +6736,14 @@ var require_dom = __commonJS(function(exports) {
|
|
|
6740
6736
|
}
|
|
6741
6737
|
}
|
|
6742
6738
|
}
|
|
6743
|
-
if (nodeName === prefixedNodeName && needNamespaceDefine(
|
|
6744
|
-
var nodePrefix =
|
|
6745
|
-
var
|
|
6746
|
-
addSerializedAttribute(buf, nodePrefix ? "xmlns:" + nodePrefix : "xmlns",
|
|
6747
|
-
childNamespaces.push({ prefix: nodePrefix, namespace:
|
|
6739
|
+
if (nodeName === prefixedNodeName && needNamespaceDefine(n, isHTML, childNamespaces)) {
|
|
6740
|
+
var nodePrefix = n.prefix || "";
|
|
6741
|
+
var uri = n.namespaceURI;
|
|
6742
|
+
addSerializedAttribute(buf, nodePrefix ? "xmlns:" + nodePrefix : "xmlns", uri, requireWellFormed);
|
|
6743
|
+
childNamespaces.push({ prefix: nodePrefix, namespace: uri });
|
|
6748
6744
|
}
|
|
6749
|
-
var canCloseTag = !
|
|
6750
|
-
if (canCloseTag && (isHTML ||
|
|
6745
|
+
var canCloseTag = !n.firstChild;
|
|
6746
|
+
if (canCloseTag && (isHTML || n.namespaceURI === NAMESPACE.HTML)) {
|
|
6751
6747
|
canCloseTag = isHTMLVoidElement(nodeName);
|
|
6752
6748
|
}
|
|
6753
6749
|
if (canCloseTag) {
|
|
@@ -6756,7 +6752,7 @@ var require_dom = __commonJS(function(exports) {
|
|
|
6756
6752
|
}
|
|
6757
6753
|
buf.push(">");
|
|
6758
6754
|
if (isHTML && isHTMLRawTextElement(nodeName)) {
|
|
6759
|
-
var child =
|
|
6755
|
+
var child = n.firstChild;
|
|
6760
6756
|
while (child) {
|
|
6761
6757
|
if (child.data) {
|
|
6762
6758
|
buf.push(child.data);
|
|
@@ -6771,46 +6767,46 @@ var require_dom = __commonJS(function(exports) {
|
|
|
6771
6767
|
return { ns: childNamespaces, tag: prefixedNodeName };
|
|
6772
6768
|
case DOCUMENT_NODE:
|
|
6773
6769
|
case DOCUMENT_FRAGMENT_NODE:
|
|
6774
|
-
if (requireWellFormed &&
|
|
6770
|
+
if (requireWellFormed && n.nodeType === DOCUMENT_NODE && n.documentElement == null) {
|
|
6775
6771
|
throw new DOMException("The Document has no documentElement", DOMExceptionName.InvalidStateError);
|
|
6776
6772
|
}
|
|
6777
6773
|
return { ns: namespaces };
|
|
6778
6774
|
case ATTRIBUTE_NODE:
|
|
6779
|
-
addSerializedAttribute(buf,
|
|
6775
|
+
addSerializedAttribute(buf, n.name, n.value, requireWellFormed);
|
|
6780
6776
|
return null;
|
|
6781
6777
|
case TEXT_NODE:
|
|
6782
|
-
if (requireWellFormed && g.InvalidChar.test(
|
|
6778
|
+
if (requireWellFormed && g.InvalidChar.test(n.data)) {
|
|
6783
6779
|
throw new DOMException("The Text node data contains characters outside the XML Char production", DOMExceptionName.InvalidStateError);
|
|
6784
6780
|
}
|
|
6785
|
-
buf.push(
|
|
6781
|
+
buf.push(n.data.replace(/[<&>]/g, _xmlEncoder));
|
|
6786
6782
|
return null;
|
|
6787
6783
|
case CDATA_SECTION_NODE:
|
|
6788
|
-
if (requireWellFormed &&
|
|
6784
|
+
if (requireWellFormed && n.data.indexOf("]]>") !== -1) {
|
|
6789
6785
|
throw new DOMException('The CDATASection data contains "]]>"', DOMExceptionName.InvalidStateError);
|
|
6790
6786
|
}
|
|
6791
6787
|
if (splitCDATASections) {
|
|
6792
|
-
buf.push(g.CDATA_START,
|
|
6788
|
+
buf.push(g.CDATA_START, n.data.replace(/]]>/g, "]]]]><![CDATA[>"), g.CDATA_END);
|
|
6793
6789
|
} else {
|
|
6794
|
-
buf.push(g.CDATA_START,
|
|
6790
|
+
buf.push(g.CDATA_START, n.data, g.CDATA_END);
|
|
6795
6791
|
}
|
|
6796
6792
|
return null;
|
|
6797
6793
|
case COMMENT_NODE:
|
|
6798
6794
|
if (requireWellFormed) {
|
|
6799
|
-
if (g.InvalidChar.test(
|
|
6795
|
+
if (g.InvalidChar.test(n.data)) {
|
|
6800
6796
|
throw new DOMException("The comment node data contains characters outside the XML Char production", DOMExceptionName.InvalidStateError);
|
|
6801
6797
|
}
|
|
6802
|
-
if (
|
|
6798
|
+
if (n.data.indexOf("--") !== -1 || n.data[n.data.length - 1] === "-") {
|
|
6803
6799
|
throw new DOMException('The comment node data contains "--" or ends with "-"', DOMExceptionName.InvalidStateError);
|
|
6804
6800
|
}
|
|
6805
6801
|
}
|
|
6806
|
-
buf.push(g.COMMENT_START,
|
|
6802
|
+
buf.push(g.COMMENT_START, n.data, g.COMMENT_END);
|
|
6807
6803
|
return null;
|
|
6808
6804
|
case DOCUMENT_TYPE_NODE:
|
|
6809
|
-
var pubid =
|
|
6810
|
-
var sysid =
|
|
6805
|
+
var pubid = n.publicId;
|
|
6806
|
+
var sysid = n.systemId;
|
|
6811
6807
|
if (requireWellFormed) {
|
|
6812
|
-
if (!g.Name_exact.test(
|
|
6813
|
-
throw new DOMException('The doctype name "' +
|
|
6808
|
+
if (!g.Name_exact.test(n.name)) {
|
|
6809
|
+
throw new DOMException('The doctype name "' + n.name + '" is not a valid XML Name', DOMExceptionName.InvalidStateError);
|
|
6814
6810
|
}
|
|
6815
6811
|
if (pubid && !g.PubidLiteral_match.test(pubid)) {
|
|
6816
6812
|
throw new DOMException("DocumentType publicId is not a valid PubidLiteral", DOMExceptionName.InvalidStateError);
|
|
@@ -6818,11 +6814,11 @@ var require_dom = __commonJS(function(exports) {
|
|
|
6818
6814
|
if (sysid && sysid !== "." && !g.SystemLiteral_match.test(sysid)) {
|
|
6819
6815
|
throw new DOMException("DocumentType systemId is not a valid SystemLiteral", DOMExceptionName.InvalidStateError);
|
|
6820
6816
|
}
|
|
6821
|
-
if (
|
|
6817
|
+
if (n.internalSubset && n.internalSubset.indexOf("]>") !== -1) {
|
|
6822
6818
|
throw new DOMException('DocumentType internalSubset contains "]>"', DOMExceptionName.InvalidStateError);
|
|
6823
6819
|
}
|
|
6824
6820
|
}
|
|
6825
|
-
buf.push(g.DOCTYPE_DECL_START, " ",
|
|
6821
|
+
buf.push(g.DOCTYPE_DECL_START, " ", n.name);
|
|
6826
6822
|
if (pubid) {
|
|
6827
6823
|
buf.push(" ", g.PUBLIC, " ", pubid);
|
|
6828
6824
|
if (sysid && sysid !== ".") {
|
|
@@ -6831,37 +6827,37 @@ var require_dom = __commonJS(function(exports) {
|
|
|
6831
6827
|
} else if (sysid && sysid !== ".") {
|
|
6832
6828
|
buf.push(" ", g.SYSTEM, " ", sysid);
|
|
6833
6829
|
}
|
|
6834
|
-
if (
|
|
6835
|
-
buf.push(" [",
|
|
6830
|
+
if (n.internalSubset) {
|
|
6831
|
+
buf.push(" [", n.internalSubset, "]");
|
|
6836
6832
|
}
|
|
6837
6833
|
buf.push(">");
|
|
6838
6834
|
return null;
|
|
6839
6835
|
case PROCESSING_INSTRUCTION_NODE:
|
|
6840
6836
|
if (requireWellFormed) {
|
|
6841
|
-
if (!g.NCName_exact.test(
|
|
6842
|
-
throw new DOMException('The processing instruction target "' +
|
|
6837
|
+
if (!g.NCName_exact.test(n.target) || n.target.toLowerCase() === "xml") {
|
|
6838
|
+
throw new DOMException('The processing instruction target "' + n.target + '" is not a valid XML NCName or is reserved', DOMExceptionName.InvalidStateError);
|
|
6843
6839
|
}
|
|
6844
|
-
if (g.InvalidChar.test(
|
|
6840
|
+
if (g.InvalidChar.test(n.data)) {
|
|
6845
6841
|
throw new DOMException("The ProcessingInstruction data contains characters outside the XML Char production", DOMExceptionName.InvalidStateError);
|
|
6846
6842
|
}
|
|
6847
|
-
if (
|
|
6843
|
+
if (n.data.indexOf("?>") !== -1) {
|
|
6848
6844
|
throw new DOMException('The ProcessingInstruction data contains "?>"', DOMExceptionName.InvalidStateError);
|
|
6849
6845
|
}
|
|
6850
6846
|
}
|
|
6851
|
-
buf.push("<?",
|
|
6847
|
+
buf.push("<?", n.target, " ", n.data, "?>");
|
|
6852
6848
|
return null;
|
|
6853
6849
|
case ENTITY_REFERENCE_NODE:
|
|
6854
|
-
if (requireWellFormed && !g.Name_exact.test(
|
|
6855
|
-
throw new DOMException('The entity reference name "' +
|
|
6850
|
+
if (requireWellFormed && !g.Name_exact.test(n.nodeName)) {
|
|
6851
|
+
throw new DOMException('The entity reference name "' + n.nodeName + '" is not a valid XML Name', DOMExceptionName.InvalidStateError);
|
|
6856
6852
|
}
|
|
6857
|
-
buf.push("&",
|
|
6853
|
+
buf.push("&", n.nodeName, ";");
|
|
6858
6854
|
return null;
|
|
6859
6855
|
default:
|
|
6860
|
-
buf.push("??",
|
|
6856
|
+
buf.push("??", n.nodeName);
|
|
6861
6857
|
return null;
|
|
6862
6858
|
}
|
|
6863
6859
|
},
|
|
6864
|
-
exit: function(
|
|
6860
|
+
exit: function(n, childCtx) {
|
|
6865
6861
|
if (childCtx && childCtx.tag) {
|
|
6866
6862
|
buf.push("</", childCtx.tag, ">");
|
|
6867
6863
|
}
|
|
@@ -6891,12 +6887,12 @@ var require_dom = __commonJS(function(exports) {
|
|
|
6891
6887
|
walkDOM(node, null, {
|
|
6892
6888
|
enter: function(srcNode, destParent) {
|
|
6893
6889
|
var destNode = new srcNode.constructor(PDC);
|
|
6894
|
-
for (var
|
|
6895
|
-
if (hasOwn(srcNode,
|
|
6896
|
-
var v = srcNode[
|
|
6890
|
+
for (var n in srcNode) {
|
|
6891
|
+
if (hasOwn(srcNode, n)) {
|
|
6892
|
+
var v = srcNode[n];
|
|
6897
6893
|
if (typeof v != "object") {
|
|
6898
|
-
if (v != destNode[
|
|
6899
|
-
destNode[
|
|
6894
|
+
if (v != destNode[n]) {
|
|
6895
|
+
destNode[n] = v;
|
|
6900
6896
|
}
|
|
6901
6897
|
}
|
|
6902
6898
|
}
|
|
@@ -6956,14 +6952,14 @@ var require_dom = __commonJS(function(exports) {
|
|
|
6956
6952
|
if (this.nodeType === ELEMENT_NODE || this.nodeType === DOCUMENT_FRAGMENT_NODE) {
|
|
6957
6953
|
var buf = [];
|
|
6958
6954
|
walkDOM(this, null, {
|
|
6959
|
-
enter: function(
|
|
6960
|
-
if (
|
|
6955
|
+
enter: function(n) {
|
|
6956
|
+
if (n.nodeType === ELEMENT_NODE || n.nodeType === DOCUMENT_FRAGMENT_NODE) {
|
|
6961
6957
|
return true;
|
|
6962
6958
|
}
|
|
6963
|
-
if (
|
|
6959
|
+
if (n.nodeType === PROCESSING_INSTRUCTION_NODE || n.nodeType === COMMENT_NODE) {
|
|
6964
6960
|
return null;
|
|
6965
6961
|
}
|
|
6966
|
-
buf.push(
|
|
6962
|
+
buf.push(n.nodeValue);
|
|
6967
6963
|
}
|
|
6968
6964
|
});
|
|
6969
6965
|
return buf.join("");
|
|
@@ -9236,16 +9232,16 @@ var require_sax = __commonJS(function(exports) {
|
|
|
9236
9232
|
return String.fromCharCode(code);
|
|
9237
9233
|
}
|
|
9238
9234
|
}
|
|
9239
|
-
function entityReplacer(
|
|
9240
|
-
var complete =
|
|
9241
|
-
if (!isHTML && complete !==
|
|
9235
|
+
function entityReplacer(a) {
|
|
9236
|
+
var complete = a[a.length - 1] === ";" ? a : a + ";";
|
|
9237
|
+
if (!isHTML && complete !== a) {
|
|
9242
9238
|
errorHandler.error("EntityRef: expecting ;");
|
|
9243
|
-
return
|
|
9239
|
+
return a;
|
|
9244
9240
|
}
|
|
9245
9241
|
var match = g.Reference.exec(complete);
|
|
9246
9242
|
if (!match || match[0].length !== complete.length) {
|
|
9247
|
-
errorHandler.error("entity not matching Reference production: " +
|
|
9248
|
-
return
|
|
9243
|
+
errorHandler.error("entity not matching Reference production: " + a);
|
|
9244
|
+
return a;
|
|
9249
9245
|
}
|
|
9250
9246
|
var k = complete.slice(1, -1);
|
|
9251
9247
|
if (hasOwn(entityMap, k)) {
|
|
@@ -9253,16 +9249,16 @@ var require_sax = __commonJS(function(exports) {
|
|
|
9253
9249
|
} else if (k.charAt(0) === "#") {
|
|
9254
9250
|
return fixedFromCharCode(parseInt(k.substring(1).replace("x", "0x")));
|
|
9255
9251
|
} else {
|
|
9256
|
-
errorHandler.error("entity not found:" +
|
|
9257
|
-
return
|
|
9252
|
+
errorHandler.error("entity not found:" + a);
|
|
9253
|
+
return a;
|
|
9258
9254
|
}
|
|
9259
9255
|
}
|
|
9260
|
-
function appendText(
|
|
9261
|
-
if (
|
|
9262
|
-
var xt = source.substring(start,
|
|
9256
|
+
function appendText(end) {
|
|
9257
|
+
if (end > start) {
|
|
9258
|
+
var xt = source.substring(start, end).replace(ENTITY_REG, entityReplacer);
|
|
9263
9259
|
locator && position(start);
|
|
9264
|
-
domBuilder.characters(xt, 0,
|
|
9265
|
-
start =
|
|
9260
|
+
domBuilder.characters(xt, 0, end - start);
|
|
9261
|
+
start = end;
|
|
9266
9262
|
}
|
|
9267
9263
|
}
|
|
9268
9264
|
var lineStart = 0;
|
|
@@ -9342,9 +9338,9 @@ var require_sax = __commonJS(function(exports) {
|
|
|
9342
9338
|
var localNSMap = config.localNSMap;
|
|
9343
9339
|
domBuilder.endElement(config.uri, config.localName, currentTagName);
|
|
9344
9340
|
if (localNSMap) {
|
|
9345
|
-
for (var
|
|
9346
|
-
if (hasOwn(localNSMap,
|
|
9347
|
-
domBuilder.endPrefixMapping(
|
|
9341
|
+
for (var prefix in localNSMap) {
|
|
9342
|
+
if (hasOwn(localNSMap, prefix)) {
|
|
9343
|
+
domBuilder.endPrefixMapping(prefix);
|
|
9348
9344
|
}
|
|
9349
9345
|
}
|
|
9350
9346
|
}
|
|
@@ -9416,14 +9412,14 @@ var require_sax = __commonJS(function(exports) {
|
|
|
9416
9412
|
return t;
|
|
9417
9413
|
}
|
|
9418
9414
|
function parseElementStartPart(source, start, el, currentNSMap, entityReplacer, errorHandler, isHTML) {
|
|
9419
|
-
function addAttribute(qname,
|
|
9415
|
+
function addAttribute(qname, value, startIndex) {
|
|
9420
9416
|
if (hasOwn(el.attributeNames, qname)) {
|
|
9421
9417
|
return errorHandler.fatalError("Attribute " + qname + " redefined");
|
|
9422
9418
|
}
|
|
9423
|
-
if (!isHTML &&
|
|
9419
|
+
if (!isHTML && value.indexOf("<") >= 0) {
|
|
9424
9420
|
return errorHandler.fatalError("Unescaped '<' not allowed in attributes values");
|
|
9425
9421
|
}
|
|
9426
|
-
el.addValue(qname,
|
|
9422
|
+
el.addValue(qname, value.replace(/[\t\n\r]/g, " ").replace(ENTITY_REG, entityReplacer), startIndex);
|
|
9427
9423
|
}
|
|
9428
9424
|
var attrName;
|
|
9429
9425
|
var value;
|
|
@@ -9590,12 +9586,12 @@ var require_sax = __commonJS(function(exports) {
|
|
|
9590
9586
|
var value = a.value;
|
|
9591
9587
|
var nsp = qName.indexOf(":");
|
|
9592
9588
|
if (nsp > 0) {
|
|
9593
|
-
var
|
|
9589
|
+
var prefix = a.prefix = qName.slice(0, nsp);
|
|
9594
9590
|
var localName = qName.slice(nsp + 1);
|
|
9595
|
-
var nsPrefix =
|
|
9591
|
+
var nsPrefix = prefix === "xmlns" && localName;
|
|
9596
9592
|
} else {
|
|
9597
9593
|
localName = qName;
|
|
9598
|
-
|
|
9594
|
+
prefix = null;
|
|
9599
9595
|
nsPrefix = qName === "xmlns" && "";
|
|
9600
9596
|
}
|
|
9601
9597
|
a.localName = localName;
|
|
@@ -9623,20 +9619,20 @@ var require_sax = __commonJS(function(exports) {
|
|
|
9623
9619
|
}
|
|
9624
9620
|
var nsp = tagName.indexOf(":");
|
|
9625
9621
|
if (nsp > 0) {
|
|
9626
|
-
|
|
9622
|
+
prefix = el.prefix = tagName.slice(0, nsp);
|
|
9627
9623
|
localName = el.localName = tagName.slice(nsp + 1);
|
|
9628
9624
|
} else {
|
|
9629
|
-
|
|
9625
|
+
prefix = null;
|
|
9630
9626
|
localName = el.localName = tagName;
|
|
9631
9627
|
}
|
|
9632
|
-
var ns = el.uri = currentNSMap[
|
|
9628
|
+
var ns = el.uri = currentNSMap[prefix || ""];
|
|
9633
9629
|
domBuilder.startElement(ns, localName, tagName, el);
|
|
9634
9630
|
if (el.closed) {
|
|
9635
9631
|
domBuilder.endElement(ns, localName, tagName);
|
|
9636
9632
|
if (localNSMap) {
|
|
9637
|
-
for (
|
|
9638
|
-
if (hasOwn(localNSMap,
|
|
9639
|
-
domBuilder.endPrefixMapping(
|
|
9633
|
+
for (prefix in localNSMap) {
|
|
9634
|
+
if (hasOwn(localNSMap, prefix)) {
|
|
9635
|
+
domBuilder.endPrefixMapping(prefix);
|
|
9640
9636
|
}
|
|
9641
9637
|
}
|
|
9642
9638
|
}
|
|
@@ -9666,21 +9662,21 @@ var require_sax = __commonJS(function(exports) {
|
|
|
9666
9662
|
return elStartEnd + 1;
|
|
9667
9663
|
}
|
|
9668
9664
|
function _copy(source, target) {
|
|
9669
|
-
for (var
|
|
9670
|
-
if (hasOwn(source,
|
|
9671
|
-
target[
|
|
9665
|
+
for (var n in source) {
|
|
9666
|
+
if (hasOwn(source, n)) {
|
|
9667
|
+
target[n] = source[n];
|
|
9672
9668
|
}
|
|
9673
9669
|
}
|
|
9674
9670
|
}
|
|
9675
9671
|
function parseUtils(source, start) {
|
|
9676
9672
|
var index = start;
|
|
9677
|
-
function char(
|
|
9678
|
-
|
|
9679
|
-
return source.charAt(index +
|
|
9673
|
+
function char(n) {
|
|
9674
|
+
n = n || 0;
|
|
9675
|
+
return source.charAt(index + n);
|
|
9680
9676
|
}
|
|
9681
|
-
function skip(
|
|
9682
|
-
|
|
9683
|
-
index +=
|
|
9677
|
+
function skip(n) {
|
|
9678
|
+
n = n || 1;
|
|
9679
|
+
index += n;
|
|
9684
9680
|
}
|
|
9685
9681
|
function skipBlanks() {
|
|
9686
9682
|
var blanks = 0;
|
|
@@ -9730,15 +9726,15 @@ var require_sax = __commonJS(function(exports) {
|
|
|
9730
9726
|
};
|
|
9731
9727
|
}
|
|
9732
9728
|
function parseDoctypeInternalSubset(p, errorHandler) {
|
|
9733
|
-
function parsePI(
|
|
9734
|
-
var match = g.PI.exec(
|
|
9729
|
+
function parsePI(p, errorHandler) {
|
|
9730
|
+
var match = g.PI.exec(p.substringFromIndex());
|
|
9735
9731
|
if (!match) {
|
|
9736
|
-
return
|
|
9732
|
+
return errorHandler.fatalError("processing instruction is not well-formed at position " + p.getIndex());
|
|
9737
9733
|
}
|
|
9738
9734
|
if (match[1].toLowerCase() === "xml") {
|
|
9739
|
-
return
|
|
9735
|
+
return errorHandler.fatalError("xml declaration is only allowed at the start of the document, but found at position " + p.getIndex());
|
|
9740
9736
|
}
|
|
9741
|
-
|
|
9737
|
+
p.skip(match[0].length);
|
|
9742
9738
|
return match[0];
|
|
9743
9739
|
}
|
|
9744
9740
|
var source = p.getSource();
|
|
@@ -9992,16 +9988,16 @@ var require_dom_parser = __commonJS(function(exports) {
|
|
|
9992
9988
|
if (this.locator) {
|
|
9993
9989
|
domBuilder.setDocumentLocator(locator);
|
|
9994
9990
|
}
|
|
9995
|
-
var
|
|
9996
|
-
|
|
9997
|
-
|
|
9991
|
+
var sax = new XMLReader;
|
|
9992
|
+
sax.errorHandler = domBuilder;
|
|
9993
|
+
sax.domBuilder = domBuilder;
|
|
9998
9994
|
var isXml = !conventions.isHTMLMimeType(mimeType);
|
|
9999
9995
|
if (isXml && typeof source !== "string") {
|
|
10000
|
-
|
|
9996
|
+
sax.errorHandler.fatalError("source is not a string");
|
|
10001
9997
|
}
|
|
10002
|
-
|
|
9998
|
+
sax.parse(this.normalizeLineEndings(String(source)), defaultNSMap, entityMap);
|
|
10003
9999
|
if (!domBuilder.doc.documentElement) {
|
|
10004
|
-
|
|
10000
|
+
sax.errorHandler.fatalError("missing root element");
|
|
10005
10001
|
}
|
|
10006
10002
|
return domBuilder.doc;
|
|
10007
10003
|
};
|
|
@@ -10044,8 +10040,8 @@ var require_dom_parser = __commonJS(function(exports) {
|
|
|
10044
10040
|
endElement: function(namespaceURI, localName, qName) {
|
|
10045
10041
|
this.currentElement = this.currentElement.parentNode;
|
|
10046
10042
|
},
|
|
10047
|
-
startPrefixMapping: function(
|
|
10048
|
-
endPrefixMapping: function(
|
|
10043
|
+
startPrefixMapping: function(prefix, uri) {},
|
|
10044
|
+
endPrefixMapping: function(prefix) {},
|
|
10049
10045
|
processingInstruction: function(target, data) {
|
|
10050
10046
|
var ins = this.doc.createProcessingInstruction(target, data);
|
|
10051
10047
|
this.locator && position(this.locator, ins);
|
|
@@ -10068,7 +10064,7 @@ var require_dom_parser = __commonJS(function(exports) {
|
|
|
10068
10064
|
this.locator && position(this.locator, charNode);
|
|
10069
10065
|
}
|
|
10070
10066
|
},
|
|
10071
|
-
skippedEntity: function(
|
|
10067
|
+
skippedEntity: function(name) {},
|
|
10072
10068
|
endDocument: function() {
|
|
10073
10069
|
this.doc.normalize();
|
|
10074
10070
|
},
|
|
@@ -10090,10 +10086,10 @@ var require_dom_parser = __commonJS(function(exports) {
|
|
|
10090
10086
|
endCDATA: function() {
|
|
10091
10087
|
this.cdata = false;
|
|
10092
10088
|
},
|
|
10093
|
-
startDTD: function(
|
|
10089
|
+
startDTD: function(name, publicId, systemId, internalSubset) {
|
|
10094
10090
|
var impl = this.doc.implementation;
|
|
10095
10091
|
if (impl && impl.createDocumentType) {
|
|
10096
|
-
var dt = impl.createDocumentType(
|
|
10092
|
+
var dt = impl.createDocumentType(name, publicId, systemId, internalSubset);
|
|
10097
10093
|
this.locator && position(this.locator, dt);
|
|
10098
10094
|
appendElement(this, dt);
|
|
10099
10095
|
this.doc.doctype = dt;
|
|
@@ -10163,6 +10159,22 @@ var require_dom_parser = __commonJS(function(exports) {
|
|
|
10163
10159
|
exports.onWarningStopParsing = onWarningStopParsing;
|
|
10164
10160
|
});
|
|
10165
10161
|
|
|
10162
|
+
// ../../node_modules/@uipath/dmn-editor-utils/dist/chunks/chunk-ANSNEGCL.js
|
|
10163
|
+
var g = Object.create;
|
|
10164
|
+
var f = Object.defineProperty;
|
|
10165
|
+
var h = Object.getOwnPropertyDescriptor;
|
|
10166
|
+
var i = Object.getOwnPropertyNames;
|
|
10167
|
+
var j = Object.getPrototypeOf;
|
|
10168
|
+
var k = Object.prototype.hasOwnProperty;
|
|
10169
|
+
var n = (b, a) => () => (a || b((a = { exports: {} }).exports, a), a.exports);
|
|
10170
|
+
var l = (b, a, c, e) => {
|
|
10171
|
+
if (a && typeof a == "object" || typeof a == "function")
|
|
10172
|
+
for (let d of i(a))
|
|
10173
|
+
!k.call(b, d) && d !== c && f(b, d, { get: () => a[d], enumerable: !(e = h(a, d)) || e.enumerable });
|
|
10174
|
+
return b;
|
|
10175
|
+
};
|
|
10176
|
+
var o = (b, a, c) => (c = b != null ? g(j(b)) : {}, l(a || !b || !b.__esModule ? f(c, "default", { value: b, enumerable: true }) : c, b));
|
|
10177
|
+
|
|
10166
10178
|
// ../../node_modules/@bpmn-io/dmn-migrate/dist/index.js
|
|
10167
10179
|
var DmnModdle = require_dist5();
|
|
10168
10180
|
var Ids = require_dist6();
|
|
@@ -10223,33 +10235,33 @@ var moddle = new DmnModdle({
|
|
|
10223
10235
|
var DMN11URI = '"http://www.omg.org/spec/DMN/20151101/dmn.xsd"';
|
|
10224
10236
|
var DMN12URI = '"http://www.omg.org/spec/DMN/20180521/MODEL/"';
|
|
10225
10237
|
var DMN13URI = '"https://www.omg.org/spec/DMN/20191111/MODEL/"';
|
|
10226
|
-
async function migrateDiagram(
|
|
10227
|
-
if (!minDash.isString(
|
|
10228
|
-
return
|
|
10229
|
-
}
|
|
10230
|
-
if (hasNamespace(DMN11URI,
|
|
10231
|
-
return migrateFrom11To13(
|
|
10232
|
-
} else if (hasNamespace(DMN12URI,
|
|
10233
|
-
return migrateFrom12To13(
|
|
10234
|
-
} else if (hasNamespace(DMN13URI,
|
|
10235
|
-
return
|
|
10236
|
-
}
|
|
10237
|
-
return
|
|
10238
|
+
async function migrateDiagram(xml) {
|
|
10239
|
+
if (!minDash.isString(xml)) {
|
|
10240
|
+
return xml;
|
|
10241
|
+
}
|
|
10242
|
+
if (hasNamespace(DMN11URI, xml)) {
|
|
10243
|
+
return migrateFrom11To13(xml);
|
|
10244
|
+
} else if (hasNamespace(DMN12URI, xml)) {
|
|
10245
|
+
return migrateFrom12To13(xml);
|
|
10246
|
+
} else if (hasNamespace(DMN13URI, xml)) {
|
|
10247
|
+
return xml;
|
|
10248
|
+
}
|
|
10249
|
+
return xml;
|
|
10238
10250
|
}
|
|
10239
|
-
function hasNamespace(namespace,
|
|
10240
|
-
return
|
|
10251
|
+
function hasNamespace(namespace, xml) {
|
|
10252
|
+
return xml.includes(namespace);
|
|
10241
10253
|
}
|
|
10242
|
-
async function migrateFrom12To13(
|
|
10243
|
-
return
|
|
10254
|
+
async function migrateFrom12To13(xml) {
|
|
10255
|
+
return xml.replace(DMN12URI, DMN13URI).replace('"http://www.omg.org/spec/DMN/20180521/DMNDI/"', '"https://www.omg.org/spec/DMN/20191111/DMNDI/"');
|
|
10244
10256
|
}
|
|
10245
|
-
async function parse13Defininitions(
|
|
10246
|
-
return moddle.fromXML(
|
|
10257
|
+
async function parse13Defininitions(xml) {
|
|
10258
|
+
return moddle.fromXML(xml, "dmn:Definitions").then((result) => [result.rootElement, null], (error) => [null, error]);
|
|
10247
10259
|
}
|
|
10248
|
-
async function migrateFrom11To13(
|
|
10249
|
-
const namespaceReplacedXML =
|
|
10260
|
+
async function migrateFrom11To13(xml) {
|
|
10261
|
+
const namespaceReplacedXML = xml.replace(DMN11URI, DMN13URI);
|
|
10250
10262
|
const [definitions, parsingError] = await parse13Defininitions(namespaceReplacedXML);
|
|
10251
10263
|
if (parsingError) {
|
|
10252
|
-
return
|
|
10264
|
+
return xml;
|
|
10253
10265
|
}
|
|
10254
10266
|
addIds(definitions);
|
|
10255
10267
|
addNames(definitions);
|
|
@@ -10298,12 +10310,12 @@ function addNames(element) {
|
|
|
10298
10310
|
}
|
|
10299
10311
|
});
|
|
10300
10312
|
}
|
|
10301
|
-
function createDMNDI(
|
|
10302
|
-
const dmnDiagram =
|
|
10313
|
+
function createDMNDI(moddle) {
|
|
10314
|
+
const dmnDiagram = moddle.create("dmndi:DMNDiagram", {
|
|
10303
10315
|
diagramElements: []
|
|
10304
10316
|
});
|
|
10305
10317
|
addId(dmnDiagram);
|
|
10306
|
-
const dmnDI =
|
|
10318
|
+
const dmnDI = moddle.create("dmndi:DMNDI", {
|
|
10307
10319
|
diagrams: [dmnDiagram]
|
|
10308
10320
|
});
|
|
10309
10321
|
dmnDiagram.$parent = dmnDI;
|
|
@@ -10312,8 +10324,8 @@ function createDMNDI(moddle2) {
|
|
|
10312
10324
|
function is(element, type) {
|
|
10313
10325
|
return minDash.isFunction(element.$instanceOf) && element.$instanceOf(type);
|
|
10314
10326
|
}
|
|
10315
|
-
function isAny(element,
|
|
10316
|
-
return minDash.some(
|
|
10327
|
+
function isAny(element, types) {
|
|
10328
|
+
return minDash.some(types, (type) => is(element, type));
|
|
10317
10329
|
}
|
|
10318
10330
|
function getDMNElementRef(drgElement, source) {
|
|
10319
10331
|
if (is(drgElement, "dmn:Association")) {
|
|
@@ -10335,7 +10347,7 @@ function getDMNElementRef(drgElement, source) {
|
|
|
10335
10347
|
return dmnElementRef;
|
|
10336
10348
|
}, null);
|
|
10337
10349
|
}
|
|
10338
|
-
function migrateDI(definitions,
|
|
10350
|
+
function migrateDI(definitions, moddle) {
|
|
10339
10351
|
const diagramElements = [];
|
|
10340
10352
|
const semanticElements = [].concat(definitions.get("drgElement"), definitions.get("artifact"));
|
|
10341
10353
|
semanticElements.forEach((semantic) => {
|
|
@@ -10345,13 +10357,13 @@ function migrateDI(definitions, moddle2) {
|
|
|
10345
10357
|
}
|
|
10346
10358
|
extensionElements.get("values").forEach((extensionElement) => {
|
|
10347
10359
|
if (is(extensionElement, "biodi:Bounds")) {
|
|
10348
|
-
const bounds =
|
|
10360
|
+
const bounds = moddle.create("dc:Bounds", {
|
|
10349
10361
|
height: extensionElement.get("height"),
|
|
10350
10362
|
width: extensionElement.get("width"),
|
|
10351
10363
|
x: extensionElement.get("x"),
|
|
10352
10364
|
y: extensionElement.get("y")
|
|
10353
10365
|
});
|
|
10354
|
-
const shape =
|
|
10366
|
+
const shape = moddle.create("dmndi:DMNShape", {
|
|
10355
10367
|
bounds,
|
|
10356
10368
|
dmnElementRef: semantic
|
|
10357
10369
|
});
|
|
@@ -10366,12 +10378,12 @@ function migrateDI(definitions, moddle2) {
|
|
|
10366
10378
|
return;
|
|
10367
10379
|
}
|
|
10368
10380
|
const waypoints = extensionElement.get("waypoints").map((waypoint) => {
|
|
10369
|
-
return
|
|
10381
|
+
return moddle.create("dc:Point", {
|
|
10370
10382
|
x: waypoint.get("x"),
|
|
10371
10383
|
y: waypoint.get("y")
|
|
10372
10384
|
});
|
|
10373
10385
|
});
|
|
10374
|
-
const edge =
|
|
10386
|
+
const edge = moddle.create("dmndi:DMNEdge", {
|
|
10375
10387
|
dmnElementRef,
|
|
10376
10388
|
waypoint: waypoints
|
|
10377
10389
|
});
|
|
@@ -10390,7 +10402,7 @@ function migrateDI(definitions, moddle2) {
|
|
|
10390
10402
|
}
|
|
10391
10403
|
});
|
|
10392
10404
|
if (diagramElements.length) {
|
|
10393
|
-
const dmnDI = createDMNDI(
|
|
10405
|
+
const dmnDI = createDMNDI(moddle);
|
|
10394
10406
|
definitions.set("dmnDI", dmnDI);
|
|
10395
10407
|
dmnDI.$parent = definitions;
|
|
10396
10408
|
const diagrams = dmnDI.get("diagrams")[0];
|
|
@@ -10444,41 +10456,41 @@ var $onWarningStopParsing = domParser.onWarningStopParsing;
|
|
|
10444
10456
|
var oe = n((u) => {
|
|
10445
10457
|
var S = u && u.__assign || function() {
|
|
10446
10458
|
return S = Object.assign || function(e) {
|
|
10447
|
-
for (var t,
|
|
10448
|
-
t = arguments[
|
|
10459
|
+
for (var t, n = 1, s = arguments.length;n < s; n++) {
|
|
10460
|
+
t = arguments[n];
|
|
10449
10461
|
for (var r in t)
|
|
10450
10462
|
Object.prototype.hasOwnProperty.call(t, r) && (e[r] = t[r]);
|
|
10451
10463
|
}
|
|
10452
10464
|
return e;
|
|
10453
10465
|
}, S.apply(this, arguments);
|
|
10454
10466
|
}, X = u && u.__read || function(e, t) {
|
|
10455
|
-
var
|
|
10456
|
-
if (!
|
|
10467
|
+
var n = typeof Symbol == "function" && e[Symbol.iterator];
|
|
10468
|
+
if (!n)
|
|
10457
10469
|
return e;
|
|
10458
|
-
var s =
|
|
10470
|
+
var s = n.call(e), r, i = [], o;
|
|
10459
10471
|
try {
|
|
10460
10472
|
for (;(t === undefined || t-- > 0) && !(r = s.next()).done; )
|
|
10461
10473
|
i.push(r.value);
|
|
10462
10474
|
} catch (p) {
|
|
10463
|
-
|
|
10475
|
+
o = { error: p };
|
|
10464
10476
|
} finally {
|
|
10465
10477
|
try {
|
|
10466
|
-
r && !r.done && (
|
|
10478
|
+
r && !r.done && (n = s.return) && n.call(s);
|
|
10467
10479
|
} finally {
|
|
10468
|
-
if (
|
|
10469
|
-
throw
|
|
10480
|
+
if (o)
|
|
10481
|
+
throw o.error;
|
|
10470
10482
|
}
|
|
10471
10483
|
}
|
|
10472
10484
|
return i;
|
|
10473
|
-
}, _e = u && u.__spreadArray || function(e, t,
|
|
10474
|
-
if (
|
|
10485
|
+
}, _e = u && u.__spreadArray || function(e, t, n) {
|
|
10486
|
+
if (n || arguments.length === 2)
|
|
10475
10487
|
for (var s = 0, r = t.length, i;s < r; s++)
|
|
10476
10488
|
(i || !(s in t)) && (i || (i = Array.prototype.slice.call(t, 0, s)), i[s] = t[s]);
|
|
10477
10489
|
return e.concat(i || Array.prototype.slice.call(t));
|
|
10478
10490
|
}, xe = u && u.__values || function(e) {
|
|
10479
|
-
var t = typeof Symbol == "function" && Symbol.iterator,
|
|
10480
|
-
if (
|
|
10481
|
-
return
|
|
10491
|
+
var t = typeof Symbol == "function" && Symbol.iterator, n = t && e[t], s = 0;
|
|
10492
|
+
if (n)
|
|
10493
|
+
return n.call(e);
|
|
10482
10494
|
if (e && typeof e.length == "number")
|
|
10483
10495
|
return { next: function() {
|
|
10484
10496
|
return e && s >= e.length && (e = undefined), { value: e && e[s++], done: !e };
|
|
@@ -10499,38 +10511,38 @@ var oe = n((u) => {
|
|
|
10499
10511
|
return t;
|
|
10500
10512
|
} };
|
|
10501
10513
|
function Ve(e) {
|
|
10502
|
-
var t = new Map(_e([], X(e.documentElement.attributes), false).flatMap(function(
|
|
10503
|
-
if (!
|
|
10514
|
+
var t = new Map(_e([], X(e.documentElement.attributes), false).flatMap(function(n) {
|
|
10515
|
+
if (!n.name.startsWith("xmlns"))
|
|
10504
10516
|
return [];
|
|
10505
|
-
var s =
|
|
10517
|
+
var s = n.value, r = n.name.split(":");
|
|
10506
10518
|
if (r.length === 1)
|
|
10507
10519
|
return [[s, ""], ["", s]];
|
|
10508
10520
|
if (r.length === 2)
|
|
10509
10521
|
return [[s, "".concat(r[1], ":")], ["".concat(r[1], ":"), s]];
|
|
10510
|
-
throw new Error("Invalid xmlns mapping attribute '".concat(
|
|
10522
|
+
throw new Error("Invalid xmlns mapping attribute '".concat(n.name, "'"));
|
|
10511
10523
|
}));
|
|
10512
10524
|
return t;
|
|
10513
10525
|
}
|
|
10514
10526
|
function lt(e) {
|
|
10515
|
-
var t = new Map(_e([], X(Object.entries(e)), false).flatMap(function(
|
|
10516
|
-
var s = X(
|
|
10527
|
+
var t = new Map(_e([], X(Object.entries(e)), false).flatMap(function(n) {
|
|
10528
|
+
var s = X(n, 2), r = s[0], i = s[1];
|
|
10517
10529
|
if (!r.startsWith("@_xmlns"))
|
|
10518
10530
|
return [];
|
|
10519
|
-
var
|
|
10531
|
+
var o = i ?? "", p = r.split(":");
|
|
10520
10532
|
if (p.length === 1)
|
|
10521
|
-
return [[
|
|
10533
|
+
return [[o, ""], ["", o]];
|
|
10522
10534
|
if (p.length === 2)
|
|
10523
|
-
return [[
|
|
10535
|
+
return [[o, "".concat(p[1], ":")], ["".concat(p[1], ":"), o]];
|
|
10524
10536
|
throw new Error("Invalid xmlns mapping attribute '".concat(r, "'"));
|
|
10525
10537
|
}));
|
|
10526
10538
|
return t;
|
|
10527
10539
|
}
|
|
10528
10540
|
function mt(e) {
|
|
10529
10541
|
return { parse: function(t) {
|
|
10530
|
-
var
|
|
10531
|
-
return { json:
|
|
10542
|
+
var n, s = t.type === "domdoc" ? t.domdoc : u.domParser.getDomDocument(t.xml), r = t.type === "domdoc" ? t.instanceNs : Ve(s), i = (n = {}, n[e.root.element] = { type: e.root.type, isArray: false, xsdType: "", fromType: "" }, n), o = Me(S(S({}, e), { instanceNs: r, node: s, nodeMetaType: i }));
|
|
10543
|
+
return { json: o, instanceNs: r };
|
|
10532
10544
|
}, build: function(t) {
|
|
10533
|
-
var
|
|
10545
|
+
var n, s, r, i, o, { json: p, instanceNs: l } = t, y = JSON.parse(JSON.stringify(p));
|
|
10534
10546
|
try {
|
|
10535
10547
|
for (var a = xe(_e([], X(e.ns.entries()), false)), _ = a.next();!_.done; _ = a.next()) {
|
|
10536
10548
|
var f = X(_.value, 2), g = f[0], N = f[1];
|
|
@@ -10543,29 +10555,29 @@ var oe = n((u) => {
|
|
|
10543
10555
|
}
|
|
10544
10556
|
}
|
|
10545
10557
|
} catch (h) {
|
|
10546
|
-
|
|
10558
|
+
n = { error: h };
|
|
10547
10559
|
} finally {
|
|
10548
10560
|
try {
|
|
10549
10561
|
_ && !_.done && (s = a.return) && s.call(a);
|
|
10550
10562
|
} finally {
|
|
10551
|
-
if (
|
|
10552
|
-
throw
|
|
10563
|
+
if (n)
|
|
10564
|
+
throw n.error;
|
|
10553
10565
|
}
|
|
10554
10566
|
}
|
|
10555
10567
|
y["?xml"] = { "@_version": "1.0", "@_encoding": "UTF-8" };
|
|
10556
10568
|
var c = (r = {}, r[e.root.element] = { type: e.root.type, fromType: "root", isArray: false, xsdType: "// root" }, r), A = [];
|
|
10557
|
-
for (var q in (
|
|
10569
|
+
for (var q in (o = e.elements) !== null && o !== undefined ? o : {})
|
|
10558
10570
|
A.push(q);
|
|
10559
10571
|
var x = ye({ json: y, ns: e.ns, instanceNs: l, elements: e.elements, meta: e.meta, metaType: c, declaredElementsOrder: A, indent: "" });
|
|
10560
10572
|
return x;
|
|
10561
10573
|
} };
|
|
10562
10574
|
}
|
|
10563
10575
|
function Me(e) {
|
|
10564
|
-
for (var t,
|
|
10576
|
+
for (var t, n, s, r, i, o, p, l, y, a, _, f = {}, g = e.node.childNodes, N = 0;N < g.length; N++) {
|
|
10565
10577
|
var T = g[N];
|
|
10566
10578
|
if (T.nodeType === 1) {
|
|
10567
|
-
var b = Ne(T.nodeName, e.nodeMetaType, e),
|
|
10568
|
-
q === "string" ? x.__$$text = (i = T.textContent) !== null && i !== undefined ? i : "" : q === "boolean" ? x.__$$text = Ke((
|
|
10579
|
+
var b = Ne(T.nodeName, e.nodeMetaType, e), { nsedName: M, subsedName: D } = b, c = (t = e.nodeMetaType) === null || t === undefined ? undefined : t[D ?? M], A = (n = e.meta[e.elements[M]]) !== null && n !== undefined ? n : c ? e.meta[c.type] : undefined, q = (r = (s = A?.__$$text) === null || s === undefined ? undefined : s.type) !== null && r !== undefined ? r : c?.type, x = {};
|
|
10580
|
+
q === "string" ? x.__$$text = (i = T.textContent) !== null && i !== undefined ? i : "" : q === "boolean" ? x.__$$text = Ke((o = T.textContent) !== null && o !== undefined ? o : "") : q === "float" ? x.__$$text = ie((p = T.textContent) !== null && p !== undefined ? p : "") : q === "integer" ? x.__$$text = ie((l = T.textContent) !== null && l !== undefined ? l : "") : x = Me(S(S({}, e), { node: T, nodeMetaType: A })), D !== M && (x.__$$element = M);
|
|
10569
10581
|
for (var h = { ns: e.ns, instanceNs: e.instanceNs, subs: {} }, v = T.attributes, J = 0;J < v.length; J++) {
|
|
10570
10582
|
var z = v[J], Q = Ne(z.name, e.nodeMetaType, h), $ = Q.isQualified ? (y = Q.subsedName) !== null && y !== undefined ? y : Q.nsedName : z.name, d = A?.["@_".concat($)], B = undefined;
|
|
10571
10583
|
d?.type === "string" ? B = z.value : d?.type === "boolean" ? B = Ke(z.value) : d?.type === "float" || d?.type === "integer" ? B = ie(z.value) : d?.type === "allNNI" ? B = Dt(z.value) : B = z.value, x["@_".concat($)] = B;
|
|
@@ -10576,12 +10588,12 @@ var oe = n((u) => {
|
|
|
10576
10588
|
}
|
|
10577
10589
|
return f;
|
|
10578
10590
|
}
|
|
10579
|
-
function Ne(e, t,
|
|
10580
|
-
var s, r,
|
|
10591
|
+
function Ne(e, t, n) {
|
|
10592
|
+
var s, r, { ns: i, instanceNs: o, subs: p } = n, l = undefined, y = undefined, a, _ = e.split(":");
|
|
10581
10593
|
if (_.length === 1)
|
|
10582
|
-
l = (s = i.get(
|
|
10594
|
+
l = (s = i.get(o.get(""))) !== null && s !== undefined ? s : "", y = _[0], a = false;
|
|
10583
10595
|
else if (_.length === 2)
|
|
10584
|
-
l = (r = i.get(
|
|
10596
|
+
l = (r = i.get(o.get("".concat(_[0], ":")))) !== null && r !== undefined ? r : "".concat(_[0], ":"), y = _[1], a = true;
|
|
10585
10597
|
else
|
|
10586
10598
|
throw new Error(e);
|
|
10587
10599
|
for (var f = "".concat(l).concat(y), g = p[l], N = f;g && !t?.[N] && N !== undefined; )
|
|
@@ -10629,21 +10641,21 @@ var oe = n((u) => {
|
|
|
10629
10641
|
return "".concat(e).replace(qe.regex, qe.replacement).replace(Be.regex, Be.replacement).replace(Fe.regex, Fe.replacement).replace(Oe.regex, Oe.replacement).replace(ke.regex, ke.replacement);
|
|
10630
10642
|
}
|
|
10631
10643
|
function fe(e, t) {
|
|
10632
|
-
var { ns:
|
|
10644
|
+
var { ns: n, instanceNs: s } = t, r = true, i = false, o = " ";
|
|
10633
10645
|
for (var p in e)
|
|
10634
10646
|
if (p[0] === "@") {
|
|
10635
|
-
var l = p.split(":").length === 2 ? ne({ propName: p.substring(2), instanceNs: s, ns:
|
|
10636
|
-
|
|
10647
|
+
var l = p.split(":").length === 2 ? ne({ propName: p.substring(2), instanceNs: s, ns: n }) : p.substring(2);
|
|
10648
|
+
o += "".concat(l, '="').concat(se(e[p]), '" ');
|
|
10637
10649
|
} else
|
|
10638
10650
|
p === "__$$text" ? (i = true, r = false) : p !== "__$$element" && (r = false);
|
|
10639
|
-
return typeof e != "object" && (r = false), { attrs:
|
|
10651
|
+
return typeof e != "object" && (r = false), { attrs: o.substring(0, o.length - 1), isEmpty: r, hasText: i };
|
|
10640
10652
|
}
|
|
10641
10653
|
function ye(e) {
|
|
10642
|
-
var t,
|
|
10643
|
-
if (typeof
|
|
10644
|
-
throw new Error("Can't build XML from a non-object value. '".concat(
|
|
10654
|
+
var t, n, s, r, i, { json: o, ns: p, instanceNs: l, indent: y, metaType: a } = e;
|
|
10655
|
+
if (typeof o != "object" || o === null)
|
|
10656
|
+
throw new Error("Can't build XML from a non-object value. '".concat(o, "'."));
|
|
10645
10657
|
var _ = "", f = [];
|
|
10646
|
-
for (var g in
|
|
10658
|
+
for (var g in o)
|
|
10647
10659
|
f.push(g);
|
|
10648
10660
|
var N = [];
|
|
10649
10661
|
for (var g in a ?? {})
|
|
@@ -10652,7 +10664,7 @@ var oe = n((u) => {
|
|
|
10652
10664
|
return N.indexOf(c) - N.indexOf(A);
|
|
10653
10665
|
});
|
|
10654
10666
|
var T = function(c) {
|
|
10655
|
-
var A, q, x = se(c), h =
|
|
10667
|
+
var A, q, x = se(c), h = o[x];
|
|
10656
10668
|
if (x[0] === "@")
|
|
10657
10669
|
return "continue";
|
|
10658
10670
|
if (x === "__$$element")
|
|
@@ -10676,7 +10688,7 @@ var oe = n((u) => {
|
|
|
10676
10688
|
});
|
|
10677
10689
|
try {
|
|
10678
10690
|
for (var Q = (A = undefined, xe(z)), $ = Q.next();!$.done; $ = Q.next()) {
|
|
10679
|
-
var d = $.value, v = ne({ ns: p, instanceNs: l, propName: (r = d?.__$$element) !== null && r !== undefined ? r : x }), B = fe(d, e),
|
|
10691
|
+
var d = $.value, v = ne({ ns: p, instanceNs: l, propName: (r = d?.__$$element) !== null && r !== undefined ? r : x }), B = fe(d, e), { attrs: W, isEmpty: le, hasText: me } = B;
|
|
10680
10692
|
_ += "".concat(y, "<").concat(v).concat(W), le ? _ += ` />
|
|
10681
10693
|
` : typeof d == "object" && (me ? _ += ">".concat(se(d.__$$text), "</").concat(v, `>
|
|
10682
10694
|
`) : (_ += `>
|
|
@@ -10694,7 +10706,7 @@ var oe = n((u) => {
|
|
|
10694
10706
|
}
|
|
10695
10707
|
}
|
|
10696
10708
|
} else {
|
|
10697
|
-
var d = h, v = ne({ ns: p, instanceNs: l, propName: (i = d.__$$element) !== null && i !== undefined ? i : x }), de = fe(d, e),
|
|
10709
|
+
var d = h, v = ne({ ns: p, instanceNs: l, propName: (i = d.__$$element) !== null && i !== undefined ? i : x }), de = fe(d, e), { attrs: W, isEmpty: le, hasText: me } = de;
|
|
10698
10710
|
_ += "".concat(y, "<").concat(v).concat(W), le ? _ += ` />
|
|
10699
10711
|
` : typeof d == "object" && (me ? _ += ">".concat(se(d.__$$text), "</").concat(v, `>
|
|
10700
10712
|
`) : (_ += `>
|
|
@@ -10711,7 +10723,7 @@ var oe = n((u) => {
|
|
|
10711
10723
|
t = { error: c };
|
|
10712
10724
|
} finally {
|
|
10713
10725
|
try {
|
|
10714
|
-
M && !M.done && (
|
|
10726
|
+
M && !M.done && (n = b.return) && n.call(b);
|
|
10715
10727
|
} finally {
|
|
10716
10728
|
if (t)
|
|
10717
10729
|
throw t.error;
|
|
@@ -10720,32 +10732,32 @@ var oe = n((u) => {
|
|
|
10720
10732
|
return _;
|
|
10721
10733
|
}
|
|
10722
10734
|
function Pe(e) {
|
|
10723
|
-
var t,
|
|
10724
|
-
return p[(r = (
|
|
10735
|
+
var t, n, s, r, i = e.args, { elements: o, meta: p } = i, { jsonObj: l, jsonPropName: y, metaType: a } = e;
|
|
10736
|
+
return p[(r = (n = o[(t = l?.__$$element) !== null && t !== undefined ? t : y]) !== null && n !== undefined ? n : (s = a?.[y]) === null || s === undefined ? undefined : s.type) !== null && r !== undefined ? r : ""];
|
|
10725
10737
|
}
|
|
10726
10738
|
function ne(e) {
|
|
10727
|
-
var t,
|
|
10739
|
+
var t, n, s, { propName: r, ns: i, instanceNs: o } = e, p = r.split(":");
|
|
10728
10740
|
if (p.length === 1) {
|
|
10729
|
-
var l = (t =
|
|
10741
|
+
var l = (t = o.get(i.get(""))) !== null && t !== undefined ? t : "";
|
|
10730
10742
|
return "".concat(l).concat(r);
|
|
10731
10743
|
} else if (p.length === 2) {
|
|
10732
|
-
var y = "".concat(p[0], ":"), l = (s =
|
|
10744
|
+
var y = "".concat(p[0], ":"), l = (s = o.get((n = i.get(y)) !== null && n !== undefined ? n : "obviously non-existent key")) !== null && s !== undefined ? s : y;
|
|
10733
10745
|
return "".concat(l).concat(p[1]);
|
|
10734
10746
|
} else
|
|
10735
10747
|
throw new Error("Invalid tag name '".concat(r, "'."));
|
|
10736
10748
|
}
|
|
10737
10749
|
function ft(e, t) {
|
|
10738
|
-
var
|
|
10739
|
-
var i = X(r, 2),
|
|
10750
|
+
var n = t.reduce(function(s, r) {
|
|
10751
|
+
var i = X(r, 2), o = i[0], p = i[1];
|
|
10740
10752
|
return S(S({}, s), Object.keys(p).reduce(function(l, y) {
|
|
10741
10753
|
return l[y] = Object.keys(p[y]).reduce(function(a, _) {
|
|
10742
|
-
return _.includes(":") || _.startsWith("@_") ? a[_] = p[y][_] : a["".concat(
|
|
10754
|
+
return _.includes(":") || _.startsWith("@_") ? a[_] = p[y][_] : a["".concat(o).concat(_)] = p[y][_], a;
|
|
10743
10755
|
}, {}), l;
|
|
10744
10756
|
}, {}));
|
|
10745
10757
|
}, {});
|
|
10746
|
-
_e([], X(Object.entries(
|
|
10747
|
-
var r = X(s, 2), i = r[0],
|
|
10748
|
-
e[i] =
|
|
10758
|
+
_e([], X(Object.entries(n)), false).forEach(function(s) {
|
|
10759
|
+
var r = X(s, 2), i = r[0], o = r[1];
|
|
10760
|
+
e[i] = o;
|
|
10749
10761
|
});
|
|
10750
10762
|
}
|
|
10751
10763
|
});
|
|
@@ -10753,7 +10765,7 @@ var ze = n((Te) => {
|
|
|
10753
10765
|
Object.defineProperty(Te, "__esModule", { value: true });
|
|
10754
10766
|
Te.getNsDeclarationPropName = xt;
|
|
10755
10767
|
function xt(e) {
|
|
10756
|
-
var { namespace: t, atInstanceNs:
|
|
10768
|
+
var { namespace: t, atInstanceNs: n, fallingBackToNs: s } = e, r = n.get(t);
|
|
10757
10769
|
if (r === undefined && (r = s.get(t), r === undefined))
|
|
10758
10770
|
throw new Error("DMN MARSHALLER: Can't find namespace declaration for '".concat(t, "'"));
|
|
10759
10771
|
return r === "" ? "@_xmlns" : "@_xmlns:".concat(r.split(":")[0]);
|
|
@@ -10785,7 +10797,7 @@ var he = { element: "definitions", type: "DMN14__tDefinitions" };
|
|
|
10785
10797
|
var U = new Map([["https://www.omg.org/spec/DMN/20211108/MODEL/", ""], ["", "https://www.omg.org/spec/DMN/20211108/MODEL/"], ["https://www.omg.org/spec/DMN/20191111/DMNDI/", "dmndi:"], ["dmndi:", "https://www.omg.org/spec/DMN/20191111/DMNDI/"], ["http://www.omg.org/spec/DMN/20180521/DC/", "dc:"], ["dc:", "http://www.omg.org/spec/DMN/20180521/DC/"], ["http://www.omg.org/spec/DMN/20180521/DI/", "di:"], ["di:", "http://www.omg.org/spec/DMN/20180521/DI/"]]);
|
|
10786
10798
|
var Ye = { "": { namedElement: "DMNElement", informationRequirement: "DMNElement", knowledgeRequirement: "DMNElement", authorityRequirement: "DMNElement", functionItem: "DMNElement", artifact: "DMNElement", contextEntry: "DMNElement", definitions: "namedElement", import: "namedElement", elementCollection: "namedElement", drgElement: "namedElement", itemDefinition: "namedElement", informationItem: "namedElement", decision: "drgElement", invocable: "drgElement", inputData: "drgElement", knowledgeSource: "drgElement", performanceIndicator: "businessContextElement", organizationUnit: "businessContextElement", businessKnowledgeModel: "invocable", decisionService: "invocable", literalExpression: "expression", invocation: "expression", decisionTable: "expression", context: "expression", functionDefinition: "expression", relation: "expression", list: "expression", for: "expression", every: "expression", some: "expression", conditional: "expression", filter: "expression", group: "artifact", textAnnotation: "artifact", association: "artifact" }, "dmndi:": { "dmndi:DMNShape": "dmndi:DMNDiagramElement", "dmndi:DMNEdge": "dmndi:DMNDiagramElement", "dmndi:DMNStyle": "di:Style" }, "dc:": {}, "di:": {} };
|
|
10787
10799
|
var Ze = { DMNElement: "DMN14__tDMNElement", namedElement: "DMN14__tNamedElement", definitions: "DMN14__tDefinitions", import: "DMN14__tImport", elementCollection: "DMN14__tElementCollection", drgElement: "DMN14__tDRGElement", decision: "DMN14__tDecision", businessContextElement: "DMN14__tBusinessContextElement", performanceIndicator: "DMN14__tPerformanceIndicator", organizationUnit: "DMN14__tOrganizationUnit", invocable: "DMN14__tInvocable", businessKnowledgeModel: "DMN14__tBusinessKnowledgeModel", inputData: "DMN14__tInputData", knowledgeSource: "DMN14__tKnowledgeSource", informationRequirement: "DMN14__tInformationRequirement", knowledgeRequirement: "DMN14__tKnowledgeRequirement", authorityRequirement: "DMN14__tAuthorityRequirement", expression: "DMN14__tExpression", itemDefinition: "DMN14__tItemDefinition", functionItem: "DMN14__tFunctionItem", literalExpression: "DMN14__tLiteralExpression", invocation: "DMN14__tInvocation", informationItem: "DMN14__tInformationItem", decisionTable: "DMN14__tDecisionTable", artifact: "DMN14__tArtifact", group: "DMN14__tGroup", textAnnotation: "DMN14__tTextAnnotation", association: "DMN14__tAssociation", context: "DMN14__tContext", contextEntry: "DMN14__tContextEntry", functionDefinition: "DMN14__tFunctionDefinition", relation: "DMN14__tRelation", list: "DMN14__tList", decisionService: "DMN14__tDecisionService", for: "DMN14__tFor", every: "DMN14__tQuantified", some: "DMN14__tQuantified", conditional: "DMN14__tConditional", filter: "DMN14__tFilter", "dmndi:DMNDI": "DMNDI13__DMNDI", "dmndi:DMNDiagram": "DMNDI13__DMNDiagram", "dmndi:DMNDiagramElement": "DMNDI13__DiagramElement", "dmndi:DMNShape": "DMNDI13__DMNShape", "dmndi:DMNEdge": "DMNDI13__DMNEdge", "dmndi:DMNStyle": "DMNDI13__DMNStyle", "dmndi:DMNLabel": "DMNDI13__DMNLabel", "dmndi:DMNDecisionServiceDividerLine": "DMNDI13__DMNDecisionServiceDividerLine", "dc:Color": "DC__Color", "dc:Point": "DC__Point", "dc:Bounds": "DC__Bounds", "dc:Dimension": "DC__Dimension", "di:Style": "DI__Style" };
|
|
10788
|
-
var k = { DMN14__tDMNElement__extensionElements: {}, DMN14__tDMNElement: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tDMNElement__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonymous type..." } }, DMN14__tNamedElement__extensionElements: {}, DMN14__tNamedElement: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tNamedElement__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, "@_name": { type: "string", isArray: false, fromType: "DMN14__tNamedElement", xsdType: "xsd:string" } }, DMN14__tDMNElementReference: { "@_href": { type: "string", isArray: false, fromType: "DMN14__tDMNElementReference", xsdType: "xsd:anyURI" } }, DMN14__tDefinitions__extensionElements: {}, DMN14__tDefinitions: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tDefinitions__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, "@_name": { type: "string", isArray: false, fromType: "DMN14__tNamedElement", xsdType: "xsd:string" }, "@_expressionLanguage": { type: "string", isArray: false, fromType: "DMN14__tDefinitions", xsdType: "xsd:anyURI" }, "@_typeLanguage": { type: "string", isArray: false, fromType: "DMN14__tDefinitions", xsdType: "xsd:anyURI" }, "@_namespace": { type: "string", isArray: false, fromType: "DMN14__tDefinitions", xsdType: "xsd:anyURI" }, "@_exporter": { type: "string", isArray: false, fromType: "DMN14__tDefinitions", xsdType: "xsd:string" }, "@_exporterVersion": { type: "string", isArray: false, fromType: "DMN14__tDefinitions", xsdType: "xsd:string" }, import: { type: "DMN14__tImport", isArray: true, fromType: "DMN14__tDefinitions", xsdType: "// local type" }, itemDefinition: { type: "DMN14__tItemDefinition", isArray: true, fromType: "DMN14__tDefinitions", xsdType: "// local type" }, drgElement: { type: "DMN14__tDRGElement", isArray: true, fromType: "DMN14__tDefinitions", xsdType: "// local type" }, artifact: { type: "DMN14__tArtifact", isArray: true, fromType: "DMN14__tDefinitions", xsdType: "// local type" }, elementCollection: { type: "DMN14__tElementCollection", isArray: true, fromType: "DMN14__tDefinitions", xsdType: "// local type" }, businessContextElement: { type: "DMN14__tBusinessContextElement", isArray: true, fromType: "DMN14__tDefinitions", xsdType: "// local type" }, "dmndi:DMNDI": { type: "DMNDI13__DMNDI", isArray: false, fromType: "DMN14__tDefinitions", xsdType: "type found from namespace with declaration name 'dmndi'." } }, DMN14__tImport__extensionElements: {}, DMN14__tImport: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tImport__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, "@_name": { type: "string", isArray: false, fromType: "DMN14__tNamedElement", xsdType: "xsd:string" }, "@_namespace": { type: "string", isArray: false, fromType: "DMN14__tImport", xsdType: "xsd:anyURI" }, "@_locationURI": { type: "string", isArray: false, fromType: "DMN14__tImport", xsdType: "xsd:anyURI" }, "@_importType": { type: "string", isArray: false, fromType: "DMN14__tImport", xsdType: "xsd:anyURI" } }, DMN14__tElementCollection__extensionElements: {}, DMN14__tElementCollection: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tElementCollection__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, "@_name": { type: "string", isArray: false, fromType: "DMN14__tNamedElement", xsdType: "xsd:string" }, drgElement: { type: "DMN14__tDMNElementReference", isArray: true, fromType: "DMN14__tElementCollection", xsdType: "// local type" } }, DMN14__tDRGElement__extensionElements: {}, DMN14__tDRGElement: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tDRGElement__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, "@_name": { type: "string", isArray: false, fromType: "DMN14__tNamedElement", xsdType: "xsd:string" } }, DMN14__tDecision__extensionElements: {}, DMN14__tDecision: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tDecision__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, "@_name": { type: "string", isArray: false, fromType: "DMN14__tNamedElement", xsdType: "xsd:string" }, question: { type: "string", isArray: false, fromType: "DMN14__tDecision", xsdType: "xsd:string" }, allowedAnswers: { type: "string", isArray: false, fromType: "DMN14__tDecision", xsdType: "xsd:string" }, variable: { type: "DMN14__tInformationItem", isArray: false, fromType: "DMN14__tDecision", xsdType: "// local type" }, informationRequirement: { type: "DMN14__tInformationRequirement", isArray: true, fromType: "DMN14__tDecision", xsdType: "// local type" }, knowledgeRequirement: { type: "DMN14__tKnowledgeRequirement", isArray: true, fromType: "DMN14__tDecision", xsdType: "// local type" }, authorityRequirement: { type: "DMN14__tAuthorityRequirement", isArray: true, fromType: "DMN14__tDecision", xsdType: "// local type" }, supportedObjective: { type: "DMN14__tDMNElementReference", isArray: true, fromType: "DMN14__tDecision", xsdType: "// local type" }, impactedPerformanceIndicator: { type: "DMN14__tDMNElementReference", isArray: true, fromType: "DMN14__tDecision", xsdType: "// local type" }, decisionMaker: { type: "DMN14__tDMNElementReference", isArray: true, fromType: "DMN14__tDecision", xsdType: "// local type" }, decisionOwner: { type: "DMN14__tDMNElementReference", isArray: true, fromType: "DMN14__tDecision", xsdType: "// local type" }, usingProcess: { type: "DMN14__tDMNElementReference", isArray: true, fromType: "DMN14__tDecision", xsdType: "// local type" }, usingTask: { type: "DMN14__tDMNElementReference", isArray: true, fromType: "DMN14__tDecision", xsdType: "// local type" }, expression: { type: "DMN14__tExpression", isArray: false, fromType: "DMN14__tDecision", xsdType: "// local type" } }, DMN14__tBusinessContextElement__extensionElements: {}, DMN14__tBusinessContextElement: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tBusinessContextElement__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, "@_name": { type: "string", isArray: false, fromType: "DMN14__tNamedElement", xsdType: "xsd:string" }, "@_URI": { type: "string", isArray: false, fromType: "DMN14__tBusinessContextElement", xsdType: "xsd:anyURI" } }, DMN14__tPerformanceIndicator__extensionElements: {}, DMN14__tPerformanceIndicator: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tPerformanceIndicator__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, "@_name": { type: "string", isArray: false, fromType: "DMN14__tNamedElement", xsdType: "xsd:string" }, "@_URI": { type: "string", isArray: false, fromType: "DMN14__tBusinessContextElement", xsdType: "xsd:anyURI" }, impactingDecision: { type: "DMN14__tDMNElementReference", isArray: true, fromType: "DMN14__tPerformanceIndicator", xsdType: "// local type" } }, DMN14__tOrganizationUnit__extensionElements: {}, DMN14__tOrganizationUnit: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tOrganizationUnit__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, "@_name": { type: "string", isArray: false, fromType: "DMN14__tNamedElement", xsdType: "xsd:string" }, "@_URI": { type: "string", isArray: false, fromType: "DMN14__tBusinessContextElement", xsdType: "xsd:anyURI" }, decisionMade: { type: "DMN14__tDMNElementReference", isArray: true, fromType: "DMN14__tOrganizationUnit", xsdType: "// local type" }, decisionOwned: { type: "DMN14__tDMNElementReference", isArray: true, fromType: "DMN14__tOrganizationUnit", xsdType: "// local type" } }, DMN14__tInvocable__extensionElements: {}, DMN14__tInvocable: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tInvocable__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, "@_name": { type: "string", isArray: false, fromType: "DMN14__tNamedElement", xsdType: "xsd:string" }, variable: { type: "DMN14__tInformationItem", isArray: false, fromType: "DMN14__tInvocable", xsdType: "// local type" } }, DMN14__tBusinessKnowledgeModel__extensionElements: {}, DMN14__tBusinessKnowledgeModel: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tBusinessKnowledgeModel__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, "@_name": { type: "string", isArray: false, fromType: "DMN14__tNamedElement", xsdType: "xsd:string" }, variable: { type: "DMN14__tInformationItem", isArray: false, fromType: "DMN14__tInvocable", xsdType: "// local type" }, encapsulatedLogic: { type: "DMN14__tFunctionDefinition", isArray: false, fromType: "DMN14__tBusinessKnowledgeModel", xsdType: "// local type" }, knowledgeRequirement: { type: "DMN14__tKnowledgeRequirement", isArray: true, fromType: "DMN14__tBusinessKnowledgeModel", xsdType: "// local type" }, authorityRequirement: { type: "DMN14__tAuthorityRequirement", isArray: true, fromType: "DMN14__tBusinessKnowledgeModel", xsdType: "// local type" } }, DMN14__tInputData__extensionElements: {}, DMN14__tInputData: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tInputData__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, "@_name": { type: "string", isArray: false, fromType: "DMN14__tNamedElement", xsdType: "xsd:string" }, variable: { type: "DMN14__tInformationItem", isArray: false, fromType: "DMN14__tInputData", xsdType: "// local type" } }, DMN14__tKnowledgeSource__extensionElements: {}, DMN14__tKnowledgeSource: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tKnowledgeSource__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, "@_name": { type: "string", isArray: false, fromType: "DMN14__tNamedElement", xsdType: "xsd:string" }, "@_locationURI": { type: "string", isArray: false, fromType: "DMN14__tKnowledgeSource", xsdType: "xsd:anyURI" }, authorityRequirement: { type: "DMN14__tAuthorityRequirement", isArray: true, fromType: "DMN14__tKnowledgeSource", xsdType: "// local type" }, type: { type: "string", isArray: false, fromType: "DMN14__tKnowledgeSource", xsdType: "xsd:string" }, owner: { type: "DMN14__tDMNElementReference", isArray: false, fromType: "DMN14__tKnowledgeSource", xsdType: "// local type" } }, DMN14__tInformationRequirement__extensionElements: {}, DMN14__tInformationRequirement: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tInformationRequirement__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, requiredDecision: { type: "DMN14__tDMNElementReference", isArray: false, fromType: "DMN14__tInformationRequirement", xsdType: "// local type" }, requiredInput: { type: "DMN14__tDMNElementReference", isArray: false, fromType: "DMN14__tInformationRequirement", xsdType: "// local type" } }, DMN14__tKnowledgeRequirement__extensionElements: {}, DMN14__tKnowledgeRequirement: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tKnowledgeRequirement__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, requiredKnowledge: { type: "DMN14__tDMNElementReference", isArray: false, fromType: "DMN14__tKnowledgeRequirement", xsdType: "// local type" } }, DMN14__tAuthorityRequirement__extensionElements: {}, DMN14__tAuthorityRequirement: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tAuthorityRequirement__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, requiredDecision: { type: "DMN14__tDMNElementReference", isArray: false, fromType: "DMN14__tAuthorityRequirement", xsdType: "// local type" }, requiredInput: { type: "DMN14__tDMNElementReference", isArray: false, fromType: "DMN14__tAuthorityRequirement", xsdType: "// local type" }, requiredAuthority: { type: "DMN14__tDMNElementReference", isArray: false, fromType: "DMN14__tAuthorityRequirement", xsdType: "// local type" } }, DMN14__tExpression__extensionElements: {}, DMN14__tExpression: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tExpression__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, "@_typeRef": { type: "string", isArray: false, fromType: "DMN14__tExpression", xsdType: "xsd:string" } }, DMN14__tItemDefinition__extensionElements: {}, DMN14__tItemDefinition: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tItemDefinition__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, "@_name": { type: "string", isArray: false, fromType: "DMN14__tNamedElement", xsdType: "xsd:string" }, "@_typeLanguage": { type: "string", isArray: false, fromType: "DMN14__tItemDefinition", xsdType: "xsd:anyURI" }, "@_isCollection": { type: "boolean", isArray: false, fromType: "DMN14__tItemDefinition", xsdType: "xsd:boolean" }, itemComponent: { type: "DMN14__tItemDefinition", isArray: true, fromType: "DMN14__tItemDefinition", xsdType: "// local type" }, functionItem: { type: "DMN14__tFunctionItem", isArray: false, fromType: "DMN14__tItemDefinition", xsdType: "// local type" }, typeRef: { type: "string", isArray: false, fromType: "DMN14__tItemDefinition", xsdType: "xsd:string" }, allowedValues: { type: "DMN14__tUnaryTests", isArray: false, fromType: "DMN14__tItemDefinition", xsdType: "// local type" } }, DMN14__tFunctionItem__extensionElements: {}, DMN14__tFunctionItem: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tFunctionItem__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, "@_outputTypeRef": { type: "string", isArray: false, fromType: "DMN14__tFunctionItem", xsdType: "xsd:string" }, parameters: { type: "DMN14__tInformationItem", isArray: true, fromType: "DMN14__tFunctionItem", xsdType: "// local type" } }, DMN14__tLiteralExpression__extensionElements: {}, DMN14__tLiteralExpression: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tLiteralExpression__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, "@_typeRef": { type: "string", isArray: false, fromType: "DMN14__tExpression", xsdType: "xsd:string" }, "@_expressionLanguage": { type: "string", isArray: false, fromType: "DMN14__tLiteralExpression", xsdType: "xsd:anyURI" }, text: { type: "string", isArray: false, fromType: "DMN14__tLiteralExpression", xsdType: "xsd:string" }, importedValues: { type: "DMN14__tImportedValues", isArray: false, fromType: "DMN14__tLiteralExpression", xsdType: "// local type" } }, DMN14__tInvocation__extensionElements: {}, DMN14__tInvocation: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tInvocation__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, "@_typeRef": { type: "string", isArray: false, fromType: "DMN14__tExpression", xsdType: "xsd:string" }, expression: { type: "DMN14__tExpression", isArray: false, fromType: "DMN14__tInvocation", xsdType: "// local type" }, binding: { type: "DMN14__tBinding", isArray: true, fromType: "DMN14__tInvocation", xsdType: "// local type" } }, DMN14__tBinding: { parameter: { type: "DMN14__tInformationItem", isArray: false, fromType: "DMN14__tBinding", xsdType: "// local type" }, expression: { type: "DMN14__tExpression", isArray: false, fromType: "DMN14__tBinding", xsdType: "// local type" } }, DMN14__tInformationItem__extensionElements: {}, DMN14__tInformationItem: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tInformationItem__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, "@_name": { type: "string", isArray: false, fromType: "DMN14__tNamedElement", xsdType: "xsd:string" }, "@_typeRef": { type: "string", isArray: false, fromType: "DMN14__tInformationItem", xsdType: "xsd:string" } }, DMN14__tDecisionTable__extensionElements: {}, DMN14__tDecisionTable: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tDecisionTable__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, "@_typeRef": { type: "string", isArray: false, fromType: "DMN14__tExpression", xsdType: "xsd:string" }, "@_hitPolicy": { type: "DMN14__tHitPolicy", isArray: false, fromType: "DMN14__tDecisionTable", xsdType: "// local type" }, "@_aggregation": { type: "DMN14__tBuiltinAggregator", isArray: false, fromType: "DMN14__tDecisionTable", xsdType: "// local type" }, "@_preferredOrientation": { type: "DMN14__tDecisionTableOrientation", isArray: false, fromType: "DMN14__tDecisionTable", xsdType: "// local type" }, "@_outputLabel": { type: "string", isArray: false, fromType: "DMN14__tDecisionTable", xsdType: "xsd:string" }, input: { type: "DMN14__tInputClause", isArray: true, fromType: "DMN14__tDecisionTable", xsdType: "// local type" }, output: { type: "DMN14__tOutputClause", isArray: true, fromType: "DMN14__tDecisionTable", xsdType: "// local type" }, annotation: { type: "DMN14__tRuleAnnotationClause", isArray: true, fromType: "DMN14__tDecisionTable", xsdType: "// local type" }, rule: { type: "DMN14__tDecisionRule", isArray: true, fromType: "DMN14__tDecisionTable", xsdType: "// local type" } }, DMN14__tInputClause__extensionElements: {}, DMN14__tInputClause: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tInputClause__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, inputExpression: { type: "DMN14__tLiteralExpression", isArray: false, fromType: "DMN14__tInputClause", xsdType: "// local type" }, inputValues: { type: "DMN14__tUnaryTests", isArray: false, fromType: "DMN14__tInputClause", xsdType: "// local type" } }, DMN14__tOutputClause__extensionElements: {}, DMN14__tOutputClause: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tOutputClause__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, "@_name": { type: "string", isArray: false, fromType: "DMN14__tOutputClause", xsdType: "xsd:string" }, "@_typeRef": { type: "string", isArray: false, fromType: "DMN14__tOutputClause", xsdType: "xsd:string" }, outputValues: { type: "DMN14__tUnaryTests", isArray: false, fromType: "DMN14__tOutputClause", xsdType: "// local type" }, defaultOutputEntry: { type: "DMN14__tLiteralExpression", isArray: false, fromType: "DMN14__tOutputClause", xsdType: "// local type" } }, DMN14__tRuleAnnotationClause: { "@_name": { type: "string", isArray: false, fromType: "DMN14__tRuleAnnotationClause", xsdType: "xsd:string" } }, DMN14__tDecisionRule__extensionElements: {}, DMN14__tDecisionRule: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tDecisionRule__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, inputEntry: { type: "DMN14__tUnaryTests", isArray: true, fromType: "DMN14__tDecisionRule", xsdType: "// local type" }, outputEntry: { type: "DMN14__tLiteralExpression", isArray: true, fromType: "DMN14__tDecisionRule", xsdType: "// local type" }, annotationEntry: { type: "DMN14__tRuleAnnotation", isArray: true, fromType: "DMN14__tDecisionRule", xsdType: "// local type" } }, DMN14__tRuleAnnotation: { text: { type: "string", isArray: false, fromType: "DMN14__tRuleAnnotation", xsdType: "xsd:string" } }, DMN14__tImportedValues__extensionElements: {}, DMN14__tImportedValues: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tImportedValues__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, "@_name": { type: "string", isArray: false, fromType: "DMN14__tNamedElement", xsdType: "xsd:string" }, "@_namespace": { type: "string", isArray: false, fromType: "DMN14__tImport", xsdType: "xsd:anyURI" }, "@_locationURI": { type: "string", isArray: false, fromType: "DMN14__tImport", xsdType: "xsd:anyURI" }, "@_importType": { type: "string", isArray: false, fromType: "DMN14__tImport", xsdType: "xsd:anyURI" }, "@_expressionLanguage": { type: "string", isArray: false, fromType: "DMN14__tImportedValues", xsdType: "xsd:anyURI" }, importedElement: { type: "string", isArray: false, fromType: "DMN14__tImportedValues", xsdType: "xsd:string" } }, DMN14__tArtifact__extensionElements: {}, DMN14__tArtifact: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tArtifact__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." } }, DMN14__tGroup__extensionElements: {}, DMN14__tGroup: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tGroup__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, "@_name": { type: "string", isArray: false, fromType: "DMN14__tGroup", xsdType: "xsd:string" } }, DMN14__tTextAnnotation__extensionElements: {}, DMN14__tTextAnnotation: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tTextAnnotation__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, "@_textFormat": { type: "string", isArray: false, fromType: "DMN14__tTextAnnotation", xsdType: "xsd:string" }, text: { type: "string", isArray: false, fromType: "DMN14__tTextAnnotation", xsdType: "xsd:string" } }, DMN14__tAssociation__extensionElements: {}, DMN14__tAssociation: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tAssociation__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, "@_associationDirection": { type: "DMN14__tAssociationDirection", isArray: false, fromType: "DMN14__tAssociation", xsdType: "// local type" }, sourceRef: { type: "DMN14__tDMNElementReference", isArray: false, fromType: "DMN14__tAssociation", xsdType: "// local type" }, targetRef: { type: "DMN14__tDMNElementReference", isArray: false, fromType: "DMN14__tAssociation", xsdType: "// local type" } }, DMN14__tContext__extensionElements: {}, DMN14__tContext: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tContext__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, "@_typeRef": { type: "string", isArray: false, fromType: "DMN14__tExpression", xsdType: "xsd:string" }, contextEntry: { type: "DMN14__tContextEntry", isArray: true, fromType: "DMN14__tContext", xsdType: "// local type" } }, DMN14__tContextEntry__extensionElements: {}, DMN14__tContextEntry: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tContextEntry__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, variable: { type: "DMN14__tInformationItem", isArray: false, fromType: "DMN14__tContextEntry", xsdType: "// local type" }, expression: { type: "DMN14__tExpression", isArray: false, fromType: "DMN14__tContextEntry", xsdType: "// local type" } }, DMN14__tFunctionDefinition__extensionElements: {}, DMN14__tFunctionDefinition: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tFunctionDefinition__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, "@_typeRef": { type: "string", isArray: false, fromType: "DMN14__tExpression", xsdType: "xsd:string" }, "@_kind": { type: "DMN14__tFunctionKind", isArray: false, fromType: "DMN14__tFunctionDefinition", xsdType: "// local type" }, formalParameter: { type: "DMN14__tInformationItem", isArray: true, fromType: "DMN14__tFunctionDefinition", xsdType: "// local type" }, expression: { type: "DMN14__tExpression", isArray: false, fromType: "DMN14__tFunctionDefinition", xsdType: "// local type" } }, DMN14__tRelation__extensionElements: {}, DMN14__tRelation: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tRelation__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, "@_typeRef": { type: "string", isArray: false, fromType: "DMN14__tExpression", xsdType: "xsd:string" }, column: { type: "DMN14__tInformationItem", isArray: true, fromType: "DMN14__tRelation", xsdType: "// local type" }, row: { type: "DMN14__tList", isArray: true, fromType: "DMN14__tRelation", xsdType: "// local type" } }, DMN14__tList__extensionElements: {}, DMN14__tList: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tList__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, "@_typeRef": { type: "string", isArray: false, fromType: "DMN14__tExpression", xsdType: "xsd:string" }, expression: { type: "DMN14__tExpression", isArray: true, fromType: "DMN14__tList", xsdType: "// local type" } }, DMN14__tUnaryTests__extensionElements: {}, DMN14__tUnaryTests: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tUnaryTests__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, "@_typeRef": { type: "string", isArray: false, fromType: "DMN14__tExpression", xsdType: "xsd:string" }, "@_expressionLanguage": { type: "string", isArray: false, fromType: "DMN14__tUnaryTests", xsdType: "xsd:anyURI" }, text: { type: "string", isArray: false, fromType: "DMN14__tUnaryTests", xsdType: "xsd:string" } }, DMN14__tDecisionService__extensionElements: {}, DMN14__tDecisionService: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tDecisionService__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, "@_name": { type: "string", isArray: false, fromType: "DMN14__tNamedElement", xsdType: "xsd:string" }, variable: { type: "DMN14__tInformationItem", isArray: false, fromType: "DMN14__tInvocable", xsdType: "// local type" }, outputDecision: { type: "DMN14__tDMNElementReference", isArray: true, fromType: "DMN14__tDecisionService", xsdType: "// local type" }, encapsulatedDecision: { type: "DMN14__tDMNElementReference", isArray: true, fromType: "DMN14__tDecisionService", xsdType: "// local type" }, inputDecision: { type: "DMN14__tDMNElementReference", isArray: true, fromType: "DMN14__tDecisionService", xsdType: "// local type" }, inputData: { type: "DMN14__tDMNElementReference", isArray: true, fromType: "DMN14__tDecisionService", xsdType: "// local type" } }, DMN14__tChildExpression: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tChildExpression", xsdType: "xsd:ID" }, expression: { type: "DMN14__tExpression", isArray: false, fromType: "DMN14__tChildExpression", xsdType: "// local type" } }, DMN14__tTypedChildExpression: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tChildExpression", xsdType: "xsd:ID" }, expression: { type: "DMN14__tExpression", isArray: false, fromType: "DMN14__tChildExpression", xsdType: "// local type" }, "@_typeRef": { type: "string", isArray: false, fromType: "DMN14__tTypedChildExpression", xsdType: "xsd:string" } }, DMN14__tIterator__extensionElements: {}, DMN14__tIterator: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tIterator__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, "@_typeRef": { type: "string", isArray: false, fromType: "DMN14__tExpression", xsdType: "xsd:string" }, "@_iteratorVariable": { type: "string", isArray: false, fromType: "DMN14__tIterator", xsdType: "xsd:string" }, in: { type: "DMN14__tTypedChildExpression", isArray: false, fromType: "DMN14__tIterator", xsdType: "// local type" } }, DMN14__tFor__extensionElements: {}, DMN14__tFor: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tFor__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, "@_typeRef": { type: "string", isArray: false, fromType: "DMN14__tExpression", xsdType: "xsd:string" }, "@_iteratorVariable": { type: "string", isArray: false, fromType: "DMN14__tIterator", xsdType: "xsd:string" }, in: { type: "DMN14__tTypedChildExpression", isArray: false, fromType: "DMN14__tIterator", xsdType: "// local type" }, return: { type: "DMN14__tChildExpression", isArray: false, fromType: "DMN14__tFor", xsdType: "// local type" } }, DMN14__tQuantified__extensionElements: {}, DMN14__tQuantified: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tQuantified__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, "@_typeRef": { type: "string", isArray: false, fromType: "DMN14__tExpression", xsdType: "xsd:string" }, "@_iteratorVariable": { type: "string", isArray: false, fromType: "DMN14__tIterator", xsdType: "xsd:string" }, in: { type: "DMN14__tTypedChildExpression", isArray: false, fromType: "DMN14__tIterator", xsdType: "// local type" }, satisfies: { type: "DMN14__tChildExpression", isArray: false, fromType: "DMN14__tQuantified", xsdType: "// local type" } }, DMN14__tConditional__extensionElements: {}, DMN14__tConditional: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tConditional__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, "@_typeRef": { type: "string", isArray: false, fromType: "DMN14__tExpression", xsdType: "xsd:string" }, if: { type: "DMN14__tChildExpression", isArray: false, fromType: "DMN14__tConditional", xsdType: "// local type" }, then: { type: "DMN14__tChildExpression", isArray: false, fromType: "DMN14__tConditional", xsdType: "// local type" }, else: { type: "DMN14__tChildExpression", isArray: false, fromType: "DMN14__tConditional", xsdType: "// local type" } }, DMN14__tFilter__extensionElements: {}, DMN14__tFilter: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tFilter__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, "@_typeRef": { type: "string", isArray: false, fromType: "DMN14__tExpression", xsdType: "xsd:string" }, in: { type: "DMN14__tChildExpression", isArray: false, fromType: "DMN14__tFilter", xsdType: "// local type" }, match: { type: "DMN14__tChildExpression", isArray: false, fromType: "DMN14__tFilter", xsdType: "// local type" } }, DMNDI13__DMNDI: { "dmndi:DMNDiagram": { type: "DMNDI13__DMNDiagram", isArray: true, fromType: "DMNDI13__DMNDI", xsdType: "type found from namespace with declaration name 'dmndi'." }, "dmndi:DMNStyle": { type: "DMNDI13__DMNStyle", isArray: true, fromType: "DMNDI13__DMNDI", xsdType: "type found from namespace with declaration name 'dmndi'." } }, DMNDI13__DMNDiagram__extension: {}, DMNDI13__DMNDiagram: { "@_sharedStyle": { type: "string", isArray: false, fromType: "DI__DiagramElement", xsdType: "xsd:IDREF" }, "@_id": { type: "string", isArray: false, fromType: "DI__DiagramElement", xsdType: "xsd:ID" }, "di:extension": { type: "DMNDI13__DMNDiagram__extension", isArray: false, fromType: "DI__DiagramElement", xsdType: "Anonumous type..." }, "di:Style": { type: "DI__Style", isArray: false, fromType: "DI__DiagramElement", xsdType: "type found from namespace with declaration name 'di'." }, "@_name": { type: "string", isArray: false, fromType: "DI__Diagram", xsdType: "xsd:string" }, "@_documentation": { type: "string", isArray: false, fromType: "DI__Diagram", xsdType: "xsd:string" }, "@_resolution": { type: "float", isArray: false, fromType: "DI__Diagram", xsdType: "xsd:double" }, "dmndi:Size": { type: "DC__Dimension", isArray: false, fromType: "DMNDI13__DMNDiagram", xsdType: "type found from namespace with declaration name 'dc'." }, "dmndi:DMNDiagramElement": { type: "DI__DiagramElement", isArray: true, fromType: "DMNDI13__DMNDiagram", xsdType: "type found from namespace with declaration name 'di'." } }, DMNDI13__DMNShape__extension: {}, DMNDI13__DMNShape: { "@_sharedStyle": { type: "string", isArray: false, fromType: "DI__DiagramElement", xsdType: "xsd:IDREF" }, "@_id": { type: "string", isArray: false, fromType: "DI__DiagramElement", xsdType: "xsd:ID" }, "di:extension": { type: "DMNDI13__DMNShape__extension", isArray: false, fromType: "DI__DiagramElement", xsdType: "Anonumous type..." }, "di:Style": { type: "DI__Style", isArray: false, fromType: "DI__DiagramElement", xsdType: "type found from namespace with declaration name 'di'." }, "dc:Bounds": { type: "DC__Bounds", isArray: false, fromType: "DI__Shape", xsdType: "type found from namespace with declaration name 'dc'." }, "@_dmnElementRef": { type: "string", isArray: false, fromType: "DMNDI13__DMNShape", xsdType: "xsd:QName" }, "@_isListedInputData": { type: "boolean", isArray: false, fromType: "DMNDI13__DMNShape", xsdType: "xsd:boolean" }, "@_isCollapsed": { type: "boolean", isArray: false, fromType: "DMNDI13__DMNShape", xsdType: "xsd:boolean" }, "dmndi:DMNLabel": { type: "DMNDI13__DMNLabel", isArray: false, fromType: "DMNDI13__DMNShape", xsdType: "type found from namespace with declaration name 'dmndi'." }, "dmndi:DMNDecisionServiceDividerLine": { type: "DMNDI13__DMNDecisionServiceDividerLine", isArray: false, fromType: "DMNDI13__DMNShape", xsdType: "type found from namespace with declaration name 'dmndi'." } }, DMNDI13__DMNDecisionServiceDividerLine__extension: {}, DMNDI13__DMNDecisionServiceDividerLine: { "@_sharedStyle": { type: "string", isArray: false, fromType: "DI__DiagramElement", xsdType: "xsd:IDREF" }, "@_id": { type: "string", isArray: false, fromType: "DI__DiagramElement", xsdType: "xsd:ID" }, "di:extension": { type: "DMNDI13__DMNDecisionServiceDividerLine__extension", isArray: false, fromType: "DI__DiagramElement", xsdType: "Anonumous type..." }, "di:Style": { type: "DI__Style", isArray: false, fromType: "DI__DiagramElement", xsdType: "type found from namespace with declaration name 'di'." }, "di:waypoint": { type: "DC__Point", isArray: true, fromType: "DI__Edge", xsdType: "type found from namespace with declaration name 'dc'." } }, DMNDI13__DMNEdge__extension: {}, DMNDI13__DMNEdge: { "@_sharedStyle": { type: "string", isArray: false, fromType: "DI__DiagramElement", xsdType: "xsd:IDREF" }, "@_id": { type: "string", isArray: false, fromType: "DI__DiagramElement", xsdType: "xsd:ID" }, "di:extension": { type: "DMNDI13__DMNEdge__extension", isArray: false, fromType: "DI__DiagramElement", xsdType: "Anonumous type..." }, "di:Style": { type: "DI__Style", isArray: false, fromType: "DI__DiagramElement", xsdType: "type found from namespace with declaration name 'di'." }, "di:waypoint": { type: "DC__Point", isArray: true, fromType: "DI__Edge", xsdType: "type found from namespace with declaration name 'dc'." }, "@_dmnElementRef": { type: "string", isArray: false, fromType: "DMNDI13__DMNEdge", xsdType: "xsd:QName" }, "@_sourceElement": { type: "string", isArray: false, fromType: "DMNDI13__DMNEdge", xsdType: "xsd:QName" }, "@_targetElement": { type: "string", isArray: false, fromType: "DMNDI13__DMNEdge", xsdType: "xsd:QName" }, "dmndi:DMNLabel": { type: "DMNDI13__DMNLabel", isArray: false, fromType: "DMNDI13__DMNEdge", xsdType: "type found from namespace with declaration name 'dmndi'." } }, DMNDI13__DMNLabel__extension: {}, DMNDI13__DMNLabel: { "@_sharedStyle": { type: "string", isArray: false, fromType: "DI__DiagramElement", xsdType: "xsd:IDREF" }, "@_id": { type: "string", isArray: false, fromType: "DI__DiagramElement", xsdType: "xsd:ID" }, "di:extension": { type: "DMNDI13__DMNLabel__extension", isArray: false, fromType: "DI__DiagramElement", xsdType: "Anonumous type..." }, "di:Style": { type: "DI__Style", isArray: false, fromType: "DI__DiagramElement", xsdType: "type found from namespace with declaration name 'di'." }, "dc:Bounds": { type: "DC__Bounds", isArray: false, fromType: "DI__Shape", xsdType: "type found from namespace with declaration name 'dc'." }, "dmndi:Text": { type: "string", isArray: false, fromType: "DMNDI13__DMNLabel", xsdType: "xsd:string" } }, DMNDI13__DMNStyle__extension: {}, DMNDI13__DMNStyle: { "@_id": { type: "string", isArray: false, fromType: "DI__Style", xsdType: "xsd:ID" }, "di:extension": { type: "DMNDI13__DMNStyle__extension", isArray: false, fromType: "DI__Style", xsdType: "Anonumous type..." }, "@_fontFamily": { type: "string", isArray: false, fromType: "DMNDI13__DMNStyle", xsdType: "xsd:string" }, "@_fontSize": { type: "float", isArray: false, fromType: "DMNDI13__DMNStyle", xsdType: "xsd:double" }, "@_fontItalic": { type: "boolean", isArray: false, fromType: "DMNDI13__DMNStyle", xsdType: "xsd:boolean" }, "@_fontBold": { type: "boolean", isArray: false, fromType: "DMNDI13__DMNStyle", xsdType: "xsd:boolean" }, "@_fontUnderline": { type: "boolean", isArray: false, fromType: "DMNDI13__DMNStyle", xsdType: "xsd:boolean" }, "@_fontStrikeThrough": { type: "boolean", isArray: false, fromType: "DMNDI13__DMNStyle", xsdType: "xsd:boolean" }, "@_labelHorizontalAlignement": { type: "DC__AlignmentKind", isArray: false, fromType: "DMNDI13__DMNStyle", xsdType: "type found from namespace with declaration name 'dc'." }, "@_labelVerticalAlignment": { type: "DC__AlignmentKind", isArray: false, fromType: "DMNDI13__DMNStyle", xsdType: "type found from namespace with declaration name 'dc'." }, "dmndi:FillColor": { type: "DC__Color", isArray: false, fromType: "DMNDI13__DMNStyle", xsdType: "type found from namespace with declaration name 'dc'." }, "dmndi:StrokeColor": { type: "DC__Color", isArray: false, fromType: "DMNDI13__DMNStyle", xsdType: "type found from namespace with declaration name 'dc'." }, "dmndi:FontColor": { type: "DC__Color", isArray: false, fromType: "DMNDI13__DMNStyle", xsdType: "type found from namespace with declaration name 'dc'." } }, DC__Color: { "@_red": { type: "integer", isArray: false, fromType: "DC__Color", xsdType: "xsd:int" }, "@_green": { type: "integer", isArray: false, fromType: "DC__Color", xsdType: "xsd:int" }, "@_blue": { type: "integer", isArray: false, fromType: "DC__Color", xsdType: "xsd:int" } }, DC__Point: { "@_x": { type: "float", isArray: false, fromType: "DC__Point", xsdType: "xsd:double" }, "@_y": { type: "float", isArray: false, fromType: "DC__Point", xsdType: "xsd:double" } }, DC__Dimension: { "@_width": { type: "float", isArray: false, fromType: "DC__Dimension", xsdType: "xsd:double" }, "@_height": { type: "float", isArray: false, fromType: "DC__Dimension", xsdType: "xsd:double" } }, DC__Bounds: { "@_x": { type: "float", isArray: false, fromType: "DC__Bounds", xsdType: "xsd:double" }, "@_y": { type: "float", isArray: false, fromType: "DC__Bounds", xsdType: "xsd:double" }, "@_width": { type: "float", isArray: false, fromType: "DC__Bounds", xsdType: "xsd:double" }, "@_height": { type: "float", isArray: false, fromType: "DC__Bounds", xsdType: "xsd:double" } }, DI__DiagramElement__extension: {}, DI__Diagram__extension: {}, DI__Shape__extension: {}, DI__Edge__extension: {}, DI__Style__extension: {} };
|
|
10800
|
+
var k2 = { DMN14__tDMNElement__extensionElements: {}, DMN14__tDMNElement: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tDMNElement__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonymous type..." } }, DMN14__tNamedElement__extensionElements: {}, DMN14__tNamedElement: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tNamedElement__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, "@_name": { type: "string", isArray: false, fromType: "DMN14__tNamedElement", xsdType: "xsd:string" } }, DMN14__tDMNElementReference: { "@_href": { type: "string", isArray: false, fromType: "DMN14__tDMNElementReference", xsdType: "xsd:anyURI" } }, DMN14__tDefinitions__extensionElements: {}, DMN14__tDefinitions: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tDefinitions__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, "@_name": { type: "string", isArray: false, fromType: "DMN14__tNamedElement", xsdType: "xsd:string" }, "@_expressionLanguage": { type: "string", isArray: false, fromType: "DMN14__tDefinitions", xsdType: "xsd:anyURI" }, "@_typeLanguage": { type: "string", isArray: false, fromType: "DMN14__tDefinitions", xsdType: "xsd:anyURI" }, "@_namespace": { type: "string", isArray: false, fromType: "DMN14__tDefinitions", xsdType: "xsd:anyURI" }, "@_exporter": { type: "string", isArray: false, fromType: "DMN14__tDefinitions", xsdType: "xsd:string" }, "@_exporterVersion": { type: "string", isArray: false, fromType: "DMN14__tDefinitions", xsdType: "xsd:string" }, import: { type: "DMN14__tImport", isArray: true, fromType: "DMN14__tDefinitions", xsdType: "// local type" }, itemDefinition: { type: "DMN14__tItemDefinition", isArray: true, fromType: "DMN14__tDefinitions", xsdType: "// local type" }, drgElement: { type: "DMN14__tDRGElement", isArray: true, fromType: "DMN14__tDefinitions", xsdType: "// local type" }, artifact: { type: "DMN14__tArtifact", isArray: true, fromType: "DMN14__tDefinitions", xsdType: "// local type" }, elementCollection: { type: "DMN14__tElementCollection", isArray: true, fromType: "DMN14__tDefinitions", xsdType: "// local type" }, businessContextElement: { type: "DMN14__tBusinessContextElement", isArray: true, fromType: "DMN14__tDefinitions", xsdType: "// local type" }, "dmndi:DMNDI": { type: "DMNDI13__DMNDI", isArray: false, fromType: "DMN14__tDefinitions", xsdType: "type found from namespace with declaration name 'dmndi'." } }, DMN14__tImport__extensionElements: {}, DMN14__tImport: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tImport__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, "@_name": { type: "string", isArray: false, fromType: "DMN14__tNamedElement", xsdType: "xsd:string" }, "@_namespace": { type: "string", isArray: false, fromType: "DMN14__tImport", xsdType: "xsd:anyURI" }, "@_locationURI": { type: "string", isArray: false, fromType: "DMN14__tImport", xsdType: "xsd:anyURI" }, "@_importType": { type: "string", isArray: false, fromType: "DMN14__tImport", xsdType: "xsd:anyURI" } }, DMN14__tElementCollection__extensionElements: {}, DMN14__tElementCollection: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tElementCollection__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, "@_name": { type: "string", isArray: false, fromType: "DMN14__tNamedElement", xsdType: "xsd:string" }, drgElement: { type: "DMN14__tDMNElementReference", isArray: true, fromType: "DMN14__tElementCollection", xsdType: "// local type" } }, DMN14__tDRGElement__extensionElements: {}, DMN14__tDRGElement: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tDRGElement__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, "@_name": { type: "string", isArray: false, fromType: "DMN14__tNamedElement", xsdType: "xsd:string" } }, DMN14__tDecision__extensionElements: {}, DMN14__tDecision: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tDecision__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, "@_name": { type: "string", isArray: false, fromType: "DMN14__tNamedElement", xsdType: "xsd:string" }, question: { type: "string", isArray: false, fromType: "DMN14__tDecision", xsdType: "xsd:string" }, allowedAnswers: { type: "string", isArray: false, fromType: "DMN14__tDecision", xsdType: "xsd:string" }, variable: { type: "DMN14__tInformationItem", isArray: false, fromType: "DMN14__tDecision", xsdType: "// local type" }, informationRequirement: { type: "DMN14__tInformationRequirement", isArray: true, fromType: "DMN14__tDecision", xsdType: "// local type" }, knowledgeRequirement: { type: "DMN14__tKnowledgeRequirement", isArray: true, fromType: "DMN14__tDecision", xsdType: "// local type" }, authorityRequirement: { type: "DMN14__tAuthorityRequirement", isArray: true, fromType: "DMN14__tDecision", xsdType: "// local type" }, supportedObjective: { type: "DMN14__tDMNElementReference", isArray: true, fromType: "DMN14__tDecision", xsdType: "// local type" }, impactedPerformanceIndicator: { type: "DMN14__tDMNElementReference", isArray: true, fromType: "DMN14__tDecision", xsdType: "// local type" }, decisionMaker: { type: "DMN14__tDMNElementReference", isArray: true, fromType: "DMN14__tDecision", xsdType: "// local type" }, decisionOwner: { type: "DMN14__tDMNElementReference", isArray: true, fromType: "DMN14__tDecision", xsdType: "// local type" }, usingProcess: { type: "DMN14__tDMNElementReference", isArray: true, fromType: "DMN14__tDecision", xsdType: "// local type" }, usingTask: { type: "DMN14__tDMNElementReference", isArray: true, fromType: "DMN14__tDecision", xsdType: "// local type" }, expression: { type: "DMN14__tExpression", isArray: false, fromType: "DMN14__tDecision", xsdType: "// local type" } }, DMN14__tBusinessContextElement__extensionElements: {}, DMN14__tBusinessContextElement: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tBusinessContextElement__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, "@_name": { type: "string", isArray: false, fromType: "DMN14__tNamedElement", xsdType: "xsd:string" }, "@_URI": { type: "string", isArray: false, fromType: "DMN14__tBusinessContextElement", xsdType: "xsd:anyURI" } }, DMN14__tPerformanceIndicator__extensionElements: {}, DMN14__tPerformanceIndicator: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tPerformanceIndicator__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, "@_name": { type: "string", isArray: false, fromType: "DMN14__tNamedElement", xsdType: "xsd:string" }, "@_URI": { type: "string", isArray: false, fromType: "DMN14__tBusinessContextElement", xsdType: "xsd:anyURI" }, impactingDecision: { type: "DMN14__tDMNElementReference", isArray: true, fromType: "DMN14__tPerformanceIndicator", xsdType: "// local type" } }, DMN14__tOrganizationUnit__extensionElements: {}, DMN14__tOrganizationUnit: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tOrganizationUnit__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, "@_name": { type: "string", isArray: false, fromType: "DMN14__tNamedElement", xsdType: "xsd:string" }, "@_URI": { type: "string", isArray: false, fromType: "DMN14__tBusinessContextElement", xsdType: "xsd:anyURI" }, decisionMade: { type: "DMN14__tDMNElementReference", isArray: true, fromType: "DMN14__tOrganizationUnit", xsdType: "// local type" }, decisionOwned: { type: "DMN14__tDMNElementReference", isArray: true, fromType: "DMN14__tOrganizationUnit", xsdType: "// local type" } }, DMN14__tInvocable__extensionElements: {}, DMN14__tInvocable: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tInvocable__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, "@_name": { type: "string", isArray: false, fromType: "DMN14__tNamedElement", xsdType: "xsd:string" }, variable: { type: "DMN14__tInformationItem", isArray: false, fromType: "DMN14__tInvocable", xsdType: "// local type" } }, DMN14__tBusinessKnowledgeModel__extensionElements: {}, DMN14__tBusinessKnowledgeModel: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tBusinessKnowledgeModel__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, "@_name": { type: "string", isArray: false, fromType: "DMN14__tNamedElement", xsdType: "xsd:string" }, variable: { type: "DMN14__tInformationItem", isArray: false, fromType: "DMN14__tInvocable", xsdType: "// local type" }, encapsulatedLogic: { type: "DMN14__tFunctionDefinition", isArray: false, fromType: "DMN14__tBusinessKnowledgeModel", xsdType: "// local type" }, knowledgeRequirement: { type: "DMN14__tKnowledgeRequirement", isArray: true, fromType: "DMN14__tBusinessKnowledgeModel", xsdType: "// local type" }, authorityRequirement: { type: "DMN14__tAuthorityRequirement", isArray: true, fromType: "DMN14__tBusinessKnowledgeModel", xsdType: "// local type" } }, DMN14__tInputData__extensionElements: {}, DMN14__tInputData: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tInputData__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, "@_name": { type: "string", isArray: false, fromType: "DMN14__tNamedElement", xsdType: "xsd:string" }, variable: { type: "DMN14__tInformationItem", isArray: false, fromType: "DMN14__tInputData", xsdType: "// local type" } }, DMN14__tKnowledgeSource__extensionElements: {}, DMN14__tKnowledgeSource: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tKnowledgeSource__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, "@_name": { type: "string", isArray: false, fromType: "DMN14__tNamedElement", xsdType: "xsd:string" }, "@_locationURI": { type: "string", isArray: false, fromType: "DMN14__tKnowledgeSource", xsdType: "xsd:anyURI" }, authorityRequirement: { type: "DMN14__tAuthorityRequirement", isArray: true, fromType: "DMN14__tKnowledgeSource", xsdType: "// local type" }, type: { type: "string", isArray: false, fromType: "DMN14__tKnowledgeSource", xsdType: "xsd:string" }, owner: { type: "DMN14__tDMNElementReference", isArray: false, fromType: "DMN14__tKnowledgeSource", xsdType: "// local type" } }, DMN14__tInformationRequirement__extensionElements: {}, DMN14__tInformationRequirement: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tInformationRequirement__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, requiredDecision: { type: "DMN14__tDMNElementReference", isArray: false, fromType: "DMN14__tInformationRequirement", xsdType: "// local type" }, requiredInput: { type: "DMN14__tDMNElementReference", isArray: false, fromType: "DMN14__tInformationRequirement", xsdType: "// local type" } }, DMN14__tKnowledgeRequirement__extensionElements: {}, DMN14__tKnowledgeRequirement: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tKnowledgeRequirement__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, requiredKnowledge: { type: "DMN14__tDMNElementReference", isArray: false, fromType: "DMN14__tKnowledgeRequirement", xsdType: "// local type" } }, DMN14__tAuthorityRequirement__extensionElements: {}, DMN14__tAuthorityRequirement: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tAuthorityRequirement__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, requiredDecision: { type: "DMN14__tDMNElementReference", isArray: false, fromType: "DMN14__tAuthorityRequirement", xsdType: "// local type" }, requiredInput: { type: "DMN14__tDMNElementReference", isArray: false, fromType: "DMN14__tAuthorityRequirement", xsdType: "// local type" }, requiredAuthority: { type: "DMN14__tDMNElementReference", isArray: false, fromType: "DMN14__tAuthorityRequirement", xsdType: "// local type" } }, DMN14__tExpression__extensionElements: {}, DMN14__tExpression: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tExpression__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, "@_typeRef": { type: "string", isArray: false, fromType: "DMN14__tExpression", xsdType: "xsd:string" } }, DMN14__tItemDefinition__extensionElements: {}, DMN14__tItemDefinition: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tItemDefinition__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, "@_name": { type: "string", isArray: false, fromType: "DMN14__tNamedElement", xsdType: "xsd:string" }, "@_typeLanguage": { type: "string", isArray: false, fromType: "DMN14__tItemDefinition", xsdType: "xsd:anyURI" }, "@_isCollection": { type: "boolean", isArray: false, fromType: "DMN14__tItemDefinition", xsdType: "xsd:boolean" }, itemComponent: { type: "DMN14__tItemDefinition", isArray: true, fromType: "DMN14__tItemDefinition", xsdType: "// local type" }, functionItem: { type: "DMN14__tFunctionItem", isArray: false, fromType: "DMN14__tItemDefinition", xsdType: "// local type" }, typeRef: { type: "string", isArray: false, fromType: "DMN14__tItemDefinition", xsdType: "xsd:string" }, allowedValues: { type: "DMN14__tUnaryTests", isArray: false, fromType: "DMN14__tItemDefinition", xsdType: "// local type" } }, DMN14__tFunctionItem__extensionElements: {}, DMN14__tFunctionItem: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tFunctionItem__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, "@_outputTypeRef": { type: "string", isArray: false, fromType: "DMN14__tFunctionItem", xsdType: "xsd:string" }, parameters: { type: "DMN14__tInformationItem", isArray: true, fromType: "DMN14__tFunctionItem", xsdType: "// local type" } }, DMN14__tLiteralExpression__extensionElements: {}, DMN14__tLiteralExpression: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tLiteralExpression__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, "@_typeRef": { type: "string", isArray: false, fromType: "DMN14__tExpression", xsdType: "xsd:string" }, "@_expressionLanguage": { type: "string", isArray: false, fromType: "DMN14__tLiteralExpression", xsdType: "xsd:anyURI" }, text: { type: "string", isArray: false, fromType: "DMN14__tLiteralExpression", xsdType: "xsd:string" }, importedValues: { type: "DMN14__tImportedValues", isArray: false, fromType: "DMN14__tLiteralExpression", xsdType: "// local type" } }, DMN14__tInvocation__extensionElements: {}, DMN14__tInvocation: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tInvocation__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, "@_typeRef": { type: "string", isArray: false, fromType: "DMN14__tExpression", xsdType: "xsd:string" }, expression: { type: "DMN14__tExpression", isArray: false, fromType: "DMN14__tInvocation", xsdType: "// local type" }, binding: { type: "DMN14__tBinding", isArray: true, fromType: "DMN14__tInvocation", xsdType: "// local type" } }, DMN14__tBinding: { parameter: { type: "DMN14__tInformationItem", isArray: false, fromType: "DMN14__tBinding", xsdType: "// local type" }, expression: { type: "DMN14__tExpression", isArray: false, fromType: "DMN14__tBinding", xsdType: "// local type" } }, DMN14__tInformationItem__extensionElements: {}, DMN14__tInformationItem: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tInformationItem__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, "@_name": { type: "string", isArray: false, fromType: "DMN14__tNamedElement", xsdType: "xsd:string" }, "@_typeRef": { type: "string", isArray: false, fromType: "DMN14__tInformationItem", xsdType: "xsd:string" } }, DMN14__tDecisionTable__extensionElements: {}, DMN14__tDecisionTable: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tDecisionTable__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, "@_typeRef": { type: "string", isArray: false, fromType: "DMN14__tExpression", xsdType: "xsd:string" }, "@_hitPolicy": { type: "DMN14__tHitPolicy", isArray: false, fromType: "DMN14__tDecisionTable", xsdType: "// local type" }, "@_aggregation": { type: "DMN14__tBuiltinAggregator", isArray: false, fromType: "DMN14__tDecisionTable", xsdType: "// local type" }, "@_preferredOrientation": { type: "DMN14__tDecisionTableOrientation", isArray: false, fromType: "DMN14__tDecisionTable", xsdType: "// local type" }, "@_outputLabel": { type: "string", isArray: false, fromType: "DMN14__tDecisionTable", xsdType: "xsd:string" }, input: { type: "DMN14__tInputClause", isArray: true, fromType: "DMN14__tDecisionTable", xsdType: "// local type" }, output: { type: "DMN14__tOutputClause", isArray: true, fromType: "DMN14__tDecisionTable", xsdType: "// local type" }, annotation: { type: "DMN14__tRuleAnnotationClause", isArray: true, fromType: "DMN14__tDecisionTable", xsdType: "// local type" }, rule: { type: "DMN14__tDecisionRule", isArray: true, fromType: "DMN14__tDecisionTable", xsdType: "// local type" } }, DMN14__tInputClause__extensionElements: {}, DMN14__tInputClause: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tInputClause__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, inputExpression: { type: "DMN14__tLiteralExpression", isArray: false, fromType: "DMN14__tInputClause", xsdType: "// local type" }, inputValues: { type: "DMN14__tUnaryTests", isArray: false, fromType: "DMN14__tInputClause", xsdType: "// local type" } }, DMN14__tOutputClause__extensionElements: {}, DMN14__tOutputClause: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tOutputClause__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, "@_name": { type: "string", isArray: false, fromType: "DMN14__tOutputClause", xsdType: "xsd:string" }, "@_typeRef": { type: "string", isArray: false, fromType: "DMN14__tOutputClause", xsdType: "xsd:string" }, outputValues: { type: "DMN14__tUnaryTests", isArray: false, fromType: "DMN14__tOutputClause", xsdType: "// local type" }, defaultOutputEntry: { type: "DMN14__tLiteralExpression", isArray: false, fromType: "DMN14__tOutputClause", xsdType: "// local type" } }, DMN14__tRuleAnnotationClause: { "@_name": { type: "string", isArray: false, fromType: "DMN14__tRuleAnnotationClause", xsdType: "xsd:string" } }, DMN14__tDecisionRule__extensionElements: {}, DMN14__tDecisionRule: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tDecisionRule__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, inputEntry: { type: "DMN14__tUnaryTests", isArray: true, fromType: "DMN14__tDecisionRule", xsdType: "// local type" }, outputEntry: { type: "DMN14__tLiteralExpression", isArray: true, fromType: "DMN14__tDecisionRule", xsdType: "// local type" }, annotationEntry: { type: "DMN14__tRuleAnnotation", isArray: true, fromType: "DMN14__tDecisionRule", xsdType: "// local type" } }, DMN14__tRuleAnnotation: { text: { type: "string", isArray: false, fromType: "DMN14__tRuleAnnotation", xsdType: "xsd:string" } }, DMN14__tImportedValues__extensionElements: {}, DMN14__tImportedValues: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tImportedValues__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, "@_name": { type: "string", isArray: false, fromType: "DMN14__tNamedElement", xsdType: "xsd:string" }, "@_namespace": { type: "string", isArray: false, fromType: "DMN14__tImport", xsdType: "xsd:anyURI" }, "@_locationURI": { type: "string", isArray: false, fromType: "DMN14__tImport", xsdType: "xsd:anyURI" }, "@_importType": { type: "string", isArray: false, fromType: "DMN14__tImport", xsdType: "xsd:anyURI" }, "@_expressionLanguage": { type: "string", isArray: false, fromType: "DMN14__tImportedValues", xsdType: "xsd:anyURI" }, importedElement: { type: "string", isArray: false, fromType: "DMN14__tImportedValues", xsdType: "xsd:string" } }, DMN14__tArtifact__extensionElements: {}, DMN14__tArtifact: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tArtifact__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." } }, DMN14__tGroup__extensionElements: {}, DMN14__tGroup: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tGroup__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, "@_name": { type: "string", isArray: false, fromType: "DMN14__tGroup", xsdType: "xsd:string" } }, DMN14__tTextAnnotation__extensionElements: {}, DMN14__tTextAnnotation: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tTextAnnotation__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, "@_textFormat": { type: "string", isArray: false, fromType: "DMN14__tTextAnnotation", xsdType: "xsd:string" }, text: { type: "string", isArray: false, fromType: "DMN14__tTextAnnotation", xsdType: "xsd:string" } }, DMN14__tAssociation__extensionElements: {}, DMN14__tAssociation: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tAssociation__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, "@_associationDirection": { type: "DMN14__tAssociationDirection", isArray: false, fromType: "DMN14__tAssociation", xsdType: "// local type" }, sourceRef: { type: "DMN14__tDMNElementReference", isArray: false, fromType: "DMN14__tAssociation", xsdType: "// local type" }, targetRef: { type: "DMN14__tDMNElementReference", isArray: false, fromType: "DMN14__tAssociation", xsdType: "// local type" } }, DMN14__tContext__extensionElements: {}, DMN14__tContext: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tContext__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, "@_typeRef": { type: "string", isArray: false, fromType: "DMN14__tExpression", xsdType: "xsd:string" }, contextEntry: { type: "DMN14__tContextEntry", isArray: true, fromType: "DMN14__tContext", xsdType: "// local type" } }, DMN14__tContextEntry__extensionElements: {}, DMN14__tContextEntry: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tContextEntry__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, variable: { type: "DMN14__tInformationItem", isArray: false, fromType: "DMN14__tContextEntry", xsdType: "// local type" }, expression: { type: "DMN14__tExpression", isArray: false, fromType: "DMN14__tContextEntry", xsdType: "// local type" } }, DMN14__tFunctionDefinition__extensionElements: {}, DMN14__tFunctionDefinition: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tFunctionDefinition__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, "@_typeRef": { type: "string", isArray: false, fromType: "DMN14__tExpression", xsdType: "xsd:string" }, "@_kind": { type: "DMN14__tFunctionKind", isArray: false, fromType: "DMN14__tFunctionDefinition", xsdType: "// local type" }, formalParameter: { type: "DMN14__tInformationItem", isArray: true, fromType: "DMN14__tFunctionDefinition", xsdType: "// local type" }, expression: { type: "DMN14__tExpression", isArray: false, fromType: "DMN14__tFunctionDefinition", xsdType: "// local type" } }, DMN14__tRelation__extensionElements: {}, DMN14__tRelation: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tRelation__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, "@_typeRef": { type: "string", isArray: false, fromType: "DMN14__tExpression", xsdType: "xsd:string" }, column: { type: "DMN14__tInformationItem", isArray: true, fromType: "DMN14__tRelation", xsdType: "// local type" }, row: { type: "DMN14__tList", isArray: true, fromType: "DMN14__tRelation", xsdType: "// local type" } }, DMN14__tList__extensionElements: {}, DMN14__tList: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tList__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, "@_typeRef": { type: "string", isArray: false, fromType: "DMN14__tExpression", xsdType: "xsd:string" }, expression: { type: "DMN14__tExpression", isArray: true, fromType: "DMN14__tList", xsdType: "// local type" } }, DMN14__tUnaryTests__extensionElements: {}, DMN14__tUnaryTests: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tUnaryTests__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, "@_typeRef": { type: "string", isArray: false, fromType: "DMN14__tExpression", xsdType: "xsd:string" }, "@_expressionLanguage": { type: "string", isArray: false, fromType: "DMN14__tUnaryTests", xsdType: "xsd:anyURI" }, text: { type: "string", isArray: false, fromType: "DMN14__tUnaryTests", xsdType: "xsd:string" } }, DMN14__tDecisionService__extensionElements: {}, DMN14__tDecisionService: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tDecisionService__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, "@_name": { type: "string", isArray: false, fromType: "DMN14__tNamedElement", xsdType: "xsd:string" }, variable: { type: "DMN14__tInformationItem", isArray: false, fromType: "DMN14__tInvocable", xsdType: "// local type" }, outputDecision: { type: "DMN14__tDMNElementReference", isArray: true, fromType: "DMN14__tDecisionService", xsdType: "// local type" }, encapsulatedDecision: { type: "DMN14__tDMNElementReference", isArray: true, fromType: "DMN14__tDecisionService", xsdType: "// local type" }, inputDecision: { type: "DMN14__tDMNElementReference", isArray: true, fromType: "DMN14__tDecisionService", xsdType: "// local type" }, inputData: { type: "DMN14__tDMNElementReference", isArray: true, fromType: "DMN14__tDecisionService", xsdType: "// local type" } }, DMN14__tChildExpression: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tChildExpression", xsdType: "xsd:ID" }, expression: { type: "DMN14__tExpression", isArray: false, fromType: "DMN14__tChildExpression", xsdType: "// local type" } }, DMN14__tTypedChildExpression: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tChildExpression", xsdType: "xsd:ID" }, expression: { type: "DMN14__tExpression", isArray: false, fromType: "DMN14__tChildExpression", xsdType: "// local type" }, "@_typeRef": { type: "string", isArray: false, fromType: "DMN14__tTypedChildExpression", xsdType: "xsd:string" } }, DMN14__tIterator__extensionElements: {}, DMN14__tIterator: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tIterator__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, "@_typeRef": { type: "string", isArray: false, fromType: "DMN14__tExpression", xsdType: "xsd:string" }, "@_iteratorVariable": { type: "string", isArray: false, fromType: "DMN14__tIterator", xsdType: "xsd:string" }, in: { type: "DMN14__tTypedChildExpression", isArray: false, fromType: "DMN14__tIterator", xsdType: "// local type" } }, DMN14__tFor__extensionElements: {}, DMN14__tFor: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tFor__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, "@_typeRef": { type: "string", isArray: false, fromType: "DMN14__tExpression", xsdType: "xsd:string" }, "@_iteratorVariable": { type: "string", isArray: false, fromType: "DMN14__tIterator", xsdType: "xsd:string" }, in: { type: "DMN14__tTypedChildExpression", isArray: false, fromType: "DMN14__tIterator", xsdType: "// local type" }, return: { type: "DMN14__tChildExpression", isArray: false, fromType: "DMN14__tFor", xsdType: "// local type" } }, DMN14__tQuantified__extensionElements: {}, DMN14__tQuantified: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tQuantified__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, "@_typeRef": { type: "string", isArray: false, fromType: "DMN14__tExpression", xsdType: "xsd:string" }, "@_iteratorVariable": { type: "string", isArray: false, fromType: "DMN14__tIterator", xsdType: "xsd:string" }, in: { type: "DMN14__tTypedChildExpression", isArray: false, fromType: "DMN14__tIterator", xsdType: "// local type" }, satisfies: { type: "DMN14__tChildExpression", isArray: false, fromType: "DMN14__tQuantified", xsdType: "// local type" } }, DMN14__tConditional__extensionElements: {}, DMN14__tConditional: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tConditional__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, "@_typeRef": { type: "string", isArray: false, fromType: "DMN14__tExpression", xsdType: "xsd:string" }, if: { type: "DMN14__tChildExpression", isArray: false, fromType: "DMN14__tConditional", xsdType: "// local type" }, then: { type: "DMN14__tChildExpression", isArray: false, fromType: "DMN14__tConditional", xsdType: "// local type" }, else: { type: "DMN14__tChildExpression", isArray: false, fromType: "DMN14__tConditional", xsdType: "// local type" } }, DMN14__tFilter__extensionElements: {}, DMN14__tFilter: { "@_id": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:ID" }, "@_label": { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, description: { type: "string", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "xsd:string" }, extensionElements: { type: "DMN14__tFilter__extensionElements", isArray: false, fromType: "DMN14__tDMNElement", xsdType: "Anonumous type..." }, "@_typeRef": { type: "string", isArray: false, fromType: "DMN14__tExpression", xsdType: "xsd:string" }, in: { type: "DMN14__tChildExpression", isArray: false, fromType: "DMN14__tFilter", xsdType: "// local type" }, match: { type: "DMN14__tChildExpression", isArray: false, fromType: "DMN14__tFilter", xsdType: "// local type" } }, DMNDI13__DMNDI: { "dmndi:DMNDiagram": { type: "DMNDI13__DMNDiagram", isArray: true, fromType: "DMNDI13__DMNDI", xsdType: "type found from namespace with declaration name 'dmndi'." }, "dmndi:DMNStyle": { type: "DMNDI13__DMNStyle", isArray: true, fromType: "DMNDI13__DMNDI", xsdType: "type found from namespace with declaration name 'dmndi'." } }, DMNDI13__DMNDiagram__extension: {}, DMNDI13__DMNDiagram: { "@_sharedStyle": { type: "string", isArray: false, fromType: "DI__DiagramElement", xsdType: "xsd:IDREF" }, "@_id": { type: "string", isArray: false, fromType: "DI__DiagramElement", xsdType: "xsd:ID" }, "di:extension": { type: "DMNDI13__DMNDiagram__extension", isArray: false, fromType: "DI__DiagramElement", xsdType: "Anonumous type..." }, "di:Style": { type: "DI__Style", isArray: false, fromType: "DI__DiagramElement", xsdType: "type found from namespace with declaration name 'di'." }, "@_name": { type: "string", isArray: false, fromType: "DI__Diagram", xsdType: "xsd:string" }, "@_documentation": { type: "string", isArray: false, fromType: "DI__Diagram", xsdType: "xsd:string" }, "@_resolution": { type: "float", isArray: false, fromType: "DI__Diagram", xsdType: "xsd:double" }, "dmndi:Size": { type: "DC__Dimension", isArray: false, fromType: "DMNDI13__DMNDiagram", xsdType: "type found from namespace with declaration name 'dc'." }, "dmndi:DMNDiagramElement": { type: "DI__DiagramElement", isArray: true, fromType: "DMNDI13__DMNDiagram", xsdType: "type found from namespace with declaration name 'di'." } }, DMNDI13__DMNShape__extension: {}, DMNDI13__DMNShape: { "@_sharedStyle": { type: "string", isArray: false, fromType: "DI__DiagramElement", xsdType: "xsd:IDREF" }, "@_id": { type: "string", isArray: false, fromType: "DI__DiagramElement", xsdType: "xsd:ID" }, "di:extension": { type: "DMNDI13__DMNShape__extension", isArray: false, fromType: "DI__DiagramElement", xsdType: "Anonumous type..." }, "di:Style": { type: "DI__Style", isArray: false, fromType: "DI__DiagramElement", xsdType: "type found from namespace with declaration name 'di'." }, "dc:Bounds": { type: "DC__Bounds", isArray: false, fromType: "DI__Shape", xsdType: "type found from namespace with declaration name 'dc'." }, "@_dmnElementRef": { type: "string", isArray: false, fromType: "DMNDI13__DMNShape", xsdType: "xsd:QName" }, "@_isListedInputData": { type: "boolean", isArray: false, fromType: "DMNDI13__DMNShape", xsdType: "xsd:boolean" }, "@_isCollapsed": { type: "boolean", isArray: false, fromType: "DMNDI13__DMNShape", xsdType: "xsd:boolean" }, "dmndi:DMNLabel": { type: "DMNDI13__DMNLabel", isArray: false, fromType: "DMNDI13__DMNShape", xsdType: "type found from namespace with declaration name 'dmndi'." }, "dmndi:DMNDecisionServiceDividerLine": { type: "DMNDI13__DMNDecisionServiceDividerLine", isArray: false, fromType: "DMNDI13__DMNShape", xsdType: "type found from namespace with declaration name 'dmndi'." } }, DMNDI13__DMNDecisionServiceDividerLine__extension: {}, DMNDI13__DMNDecisionServiceDividerLine: { "@_sharedStyle": { type: "string", isArray: false, fromType: "DI__DiagramElement", xsdType: "xsd:IDREF" }, "@_id": { type: "string", isArray: false, fromType: "DI__DiagramElement", xsdType: "xsd:ID" }, "di:extension": { type: "DMNDI13__DMNDecisionServiceDividerLine__extension", isArray: false, fromType: "DI__DiagramElement", xsdType: "Anonumous type..." }, "di:Style": { type: "DI__Style", isArray: false, fromType: "DI__DiagramElement", xsdType: "type found from namespace with declaration name 'di'." }, "di:waypoint": { type: "DC__Point", isArray: true, fromType: "DI__Edge", xsdType: "type found from namespace with declaration name 'dc'." } }, DMNDI13__DMNEdge__extension: {}, DMNDI13__DMNEdge: { "@_sharedStyle": { type: "string", isArray: false, fromType: "DI__DiagramElement", xsdType: "xsd:IDREF" }, "@_id": { type: "string", isArray: false, fromType: "DI__DiagramElement", xsdType: "xsd:ID" }, "di:extension": { type: "DMNDI13__DMNEdge__extension", isArray: false, fromType: "DI__DiagramElement", xsdType: "Anonumous type..." }, "di:Style": { type: "DI__Style", isArray: false, fromType: "DI__DiagramElement", xsdType: "type found from namespace with declaration name 'di'." }, "di:waypoint": { type: "DC__Point", isArray: true, fromType: "DI__Edge", xsdType: "type found from namespace with declaration name 'dc'." }, "@_dmnElementRef": { type: "string", isArray: false, fromType: "DMNDI13__DMNEdge", xsdType: "xsd:QName" }, "@_sourceElement": { type: "string", isArray: false, fromType: "DMNDI13__DMNEdge", xsdType: "xsd:QName" }, "@_targetElement": { type: "string", isArray: false, fromType: "DMNDI13__DMNEdge", xsdType: "xsd:QName" }, "dmndi:DMNLabel": { type: "DMNDI13__DMNLabel", isArray: false, fromType: "DMNDI13__DMNEdge", xsdType: "type found from namespace with declaration name 'dmndi'." } }, DMNDI13__DMNLabel__extension: {}, DMNDI13__DMNLabel: { "@_sharedStyle": { type: "string", isArray: false, fromType: "DI__DiagramElement", xsdType: "xsd:IDREF" }, "@_id": { type: "string", isArray: false, fromType: "DI__DiagramElement", xsdType: "xsd:ID" }, "di:extension": { type: "DMNDI13__DMNLabel__extension", isArray: false, fromType: "DI__DiagramElement", xsdType: "Anonumous type..." }, "di:Style": { type: "DI__Style", isArray: false, fromType: "DI__DiagramElement", xsdType: "type found from namespace with declaration name 'di'." }, "dc:Bounds": { type: "DC__Bounds", isArray: false, fromType: "DI__Shape", xsdType: "type found from namespace with declaration name 'dc'." }, "dmndi:Text": { type: "string", isArray: false, fromType: "DMNDI13__DMNLabel", xsdType: "xsd:string" } }, DMNDI13__DMNStyle__extension: {}, DMNDI13__DMNStyle: { "@_id": { type: "string", isArray: false, fromType: "DI__Style", xsdType: "xsd:ID" }, "di:extension": { type: "DMNDI13__DMNStyle__extension", isArray: false, fromType: "DI__Style", xsdType: "Anonumous type..." }, "@_fontFamily": { type: "string", isArray: false, fromType: "DMNDI13__DMNStyle", xsdType: "xsd:string" }, "@_fontSize": { type: "float", isArray: false, fromType: "DMNDI13__DMNStyle", xsdType: "xsd:double" }, "@_fontItalic": { type: "boolean", isArray: false, fromType: "DMNDI13__DMNStyle", xsdType: "xsd:boolean" }, "@_fontBold": { type: "boolean", isArray: false, fromType: "DMNDI13__DMNStyle", xsdType: "xsd:boolean" }, "@_fontUnderline": { type: "boolean", isArray: false, fromType: "DMNDI13__DMNStyle", xsdType: "xsd:boolean" }, "@_fontStrikeThrough": { type: "boolean", isArray: false, fromType: "DMNDI13__DMNStyle", xsdType: "xsd:boolean" }, "@_labelHorizontalAlignement": { type: "DC__AlignmentKind", isArray: false, fromType: "DMNDI13__DMNStyle", xsdType: "type found from namespace with declaration name 'dc'." }, "@_labelVerticalAlignment": { type: "DC__AlignmentKind", isArray: false, fromType: "DMNDI13__DMNStyle", xsdType: "type found from namespace with declaration name 'dc'." }, "dmndi:FillColor": { type: "DC__Color", isArray: false, fromType: "DMNDI13__DMNStyle", xsdType: "type found from namespace with declaration name 'dc'." }, "dmndi:StrokeColor": { type: "DC__Color", isArray: false, fromType: "DMNDI13__DMNStyle", xsdType: "type found from namespace with declaration name 'dc'." }, "dmndi:FontColor": { type: "DC__Color", isArray: false, fromType: "DMNDI13__DMNStyle", xsdType: "type found from namespace with declaration name 'dc'." } }, DC__Color: { "@_red": { type: "integer", isArray: false, fromType: "DC__Color", xsdType: "xsd:int" }, "@_green": { type: "integer", isArray: false, fromType: "DC__Color", xsdType: "xsd:int" }, "@_blue": { type: "integer", isArray: false, fromType: "DC__Color", xsdType: "xsd:int" } }, DC__Point: { "@_x": { type: "float", isArray: false, fromType: "DC__Point", xsdType: "xsd:double" }, "@_y": { type: "float", isArray: false, fromType: "DC__Point", xsdType: "xsd:double" } }, DC__Dimension: { "@_width": { type: "float", isArray: false, fromType: "DC__Dimension", xsdType: "xsd:double" }, "@_height": { type: "float", isArray: false, fromType: "DC__Dimension", xsdType: "xsd:double" } }, DC__Bounds: { "@_x": { type: "float", isArray: false, fromType: "DC__Bounds", xsdType: "xsd:double" }, "@_y": { type: "float", isArray: false, fromType: "DC__Bounds", xsdType: "xsd:double" }, "@_width": { type: "float", isArray: false, fromType: "DC__Bounds", xsdType: "xsd:double" }, "@_height": { type: "float", isArray: false, fromType: "DC__Bounds", xsdType: "xsd:double" } }, DI__DiagramElement__extension: {}, DI__Diagram__extension: {}, DI__Shape__extension: {}, DI__Edge__extension: {}, DI__Style__extension: {} };
|
|
10789
10801
|
var Ce = { element: "definitions", type: "DMN15__tDefinitions" };
|
|
10790
10802
|
var K = new Map([["https://www.omg.org/spec/DMN/20230324/MODEL/", ""], ["", "https://www.omg.org/spec/DMN/20230324/MODEL/"], ["https://www.omg.org/spec/DMN/20230324/DMNDI/", "dmndi:"], ["dmndi:", "https://www.omg.org/spec/DMN/20230324/DMNDI/"], ["http://www.omg.org/spec/DMN/20180521/DC/", "dc:"], ["dc:", "http://www.omg.org/spec/DMN/20180521/DC/"], ["http://www.omg.org/spec/DMN/20180521/DI/", "di:"], ["di:", "http://www.omg.org/spec/DMN/20180521/DI/"]]);
|
|
10791
10803
|
var et = { "": { namedElement: "DMNElement", informationRequirement: "DMNElement", knowledgeRequirement: "DMNElement", authorityRequirement: "DMNElement", functionItem: "DMNElement", artifact: "DMNElement", contextEntry: "DMNElement", definitions: "namedElement", import: "namedElement", elementCollection: "namedElement", drgElement: "namedElement", itemDefinition: "namedElement", informationItem: "namedElement", decision: "drgElement", invocable: "drgElement", inputData: "drgElement", knowledgeSource: "drgElement", performanceIndicator: "businessContextElement", organizationUnit: "businessContextElement", businessKnowledgeModel: "invocable", decisionService: "invocable", literalExpression: "expression", invocation: "expression", decisionTable: "expression", context: "expression", functionDefinition: "expression", relation: "expression", list: "expression", for: "expression", every: "expression", some: "expression", conditional: "expression", filter: "expression", group: "artifact", textAnnotation: "artifact", association: "artifact" }, "dmndi:": { "dmndi:DMNShape": "dmndi:DMNDiagramElement", "dmndi:DMNEdge": "dmndi:DMNDiagramElement", "dmndi:DMNStyle": "di:Style" }, "dc:": {}, "di:": {} };
|
|
@@ -10821,13 +10833,13 @@ O.DMN13__tInputData__extensionElements["kie:attachment"] = { type: "KIE__tAttach
|
|
|
10821
10833
|
O.DMN13__tKnowledgeSource__extensionElements["kie:attachment"] = { type: "KIE__tAttachment", isArray: true, xsdType: "// local type", fromType: "KIE__tAttachment" };
|
|
10822
10834
|
U.set(R, E.get(""));
|
|
10823
10835
|
U.set(E.get(""), R);
|
|
10824
|
-
(0, Z.mergeMetas)(
|
|
10825
|
-
|
|
10826
|
-
|
|
10827
|
-
|
|
10828
|
-
|
|
10829
|
-
|
|
10830
|
-
|
|
10836
|
+
(0, Z.mergeMetas)(k2, [[R, Y]]);
|
|
10837
|
+
k2.DMNDI13__DMNDiagram__extension["kie:ComponentsWidthsExtension"] = { type: "KIE__tComponentsWidthsExtension", isArray: false, xsdType: "// local type", fromType: "KIE__tComponentsWidthsExtension" };
|
|
10838
|
+
k2.DMN14__tBusinessKnowledgeModel__extensionElements["kie:attachment"] = { type: "KIE__tAttachment", isArray: true, xsdType: "// local type", fromType: "KIE__tAttachment" };
|
|
10839
|
+
k2.DMN14__tDecision__extensionElements["kie:attachment"] = { type: "KIE__tAttachment", isArray: true, xsdType: "// local type", fromType: "KIE__tAttachment" };
|
|
10840
|
+
k2.DMN14__tDecisionService__extensionElements["kie:attachment"] = { type: "KIE__tAttachment", isArray: true, xsdType: "// local type", fromType: "KIE__tAttachment" };
|
|
10841
|
+
k2.DMN14__tInputData__extensionElements["kie:attachment"] = { type: "KIE__tAttachment", isArray: true, xsdType: "// local type", fromType: "KIE__tAttachment" };
|
|
10842
|
+
k2.DMN14__tKnowledgeSource__extensionElements["kie:attachment"] = { type: "KIE__tAttachment", isArray: true, xsdType: "// local type", fromType: "KIE__tAttachment" };
|
|
10831
10843
|
K.set(R, E.get(""));
|
|
10832
10844
|
K.set(E.get(""), R);
|
|
10833
10845
|
(0, Z.mergeMetas)(P, [[R, Y]]);
|
|
@@ -10846,20 +10858,20 @@ V.DMN16__tDecision__extensionElements["kie:attachment"] = { type: "KIE__tAttachm
|
|
|
10846
10858
|
V.DMN16__tDecisionService__extensionElements["kie:attachment"] = { type: "KIE__tAttachment", isArray: true, xsdType: "// local type", fromType: "KIE__tAttachment" };
|
|
10847
10859
|
V.DMN16__tInputData__extensionElements["kie:attachment"] = { type: "KIE__tAttachment", isArray: true, xsdType: "// local type", fromType: "KIE__tAttachment" };
|
|
10848
10860
|
V.DMN16__tKnowledgeSource__extensionElements["kie:attachment"] = { type: "KIE__tAttachment", isArray: true, xsdType: "// local type", fromType: "KIE__tAttachment" };
|
|
10849
|
-
var C = { "1.0": (0, I.getParser)({ ns: ge, meta: Ee, subs: Ge, elements: je, root: ce }), "1.1": (0, I.getParser)({ ns: ue, meta: Ie, subs: Qe, elements: $e, root: Ae }), "1.2": (0, I.getParser)({ ns: G, meta: F, subs: We, elements: Xe, root: Re }), "1.3": (0, I.getParser)({ ns: L, meta: O, subs: He, elements: Je, root: be }), "1.4": (0, I.getParser)({ ns: U, meta:
|
|
10850
|
-
var
|
|
10851
|
-
var
|
|
10852
|
-
var Nt = new Map([[
|
|
10853
|
-
var Mt = new Map([[
|
|
10854
|
-
var Tt = new Map([[
|
|
10855
|
-
var ct = new Map([[
|
|
10856
|
-
var Ms = new Map([[
|
|
10861
|
+
var C = { "1.0": (0, I.getParser)({ ns: ge, meta: Ee, subs: Ge, elements: je, root: ce }), "1.1": (0, I.getParser)({ ns: ue, meta: Ie, subs: Qe, elements: $e, root: Ae }), "1.2": (0, I.getParser)({ ns: G, meta: F, subs: We, elements: Xe, root: Re }), "1.3": (0, I.getParser)({ ns: L, meta: O, subs: He, elements: Je, root: be }), "1.4": (0, I.getParser)({ ns: U, meta: k2, subs: Ye, elements: Ze, root: he }), "1.5": (0, I.getParser)({ ns: K, meta: P, subs: et, elements: tt, root: Ce }), "1.6": (0, I.getParser)({ ns: H, meta: V, subs: st, elements: nt, root: we }) };
|
|
10862
|
+
var j2 = "feel:";
|
|
10863
|
+
var m2 = { "1.0": "http://www.omg.org/spec/FEEL/20140401", "1.1": "http://www.omg.org/spec/FEEL/20140401", "1.2": "http://www.omg.org/spec/DMN/20180521/FEEL/", "1.3": "https://www.omg.org/spec/DMN/20191111/FEEL/", "1.4": "https://www.omg.org/spec/DMN/20211108/FEEL/", "1.5": "https://www.omg.org/spec/DMN/20230324/FEEL/", "1.6": "https://www.omg.org/spec/DMN/20240513/FEEL/" };
|
|
10864
|
+
var Nt = new Map([[j2, m2["1.2"]], [m2["1.2"], j2]]);
|
|
10865
|
+
var Mt = new Map([[j2, m2["1.3"]], [m2["1.3"], j2]]);
|
|
10866
|
+
var Tt = new Map([[j2, m2["1.4"]], [m2["1.4"], j2]]);
|
|
10867
|
+
var ct = new Map([[j2, m2["1.5"]], [m2["1.5"], j2]]);
|
|
10868
|
+
var Ms = new Map([[j2, m2["1.6"]], [m2["1.6"], j2]]);
|
|
10857
10869
|
var ve = new Map([[E.get(""), R], [R, E.get("")]]);
|
|
10858
10870
|
var rt = ["1.0", "1.1", "1.2", "1.3", "1.4", "1.5", "1.6"];
|
|
10859
10871
|
var it = "1.6";
|
|
10860
10872
|
function yt(e, t) {
|
|
10861
|
-
var
|
|
10862
|
-
let p = I.domParser.getDomDocument(e), l = (0, I.getInstanceNs)(p), y = ae(p, l), a = t?.upgradeTo === "latest" ? it : (
|
|
10873
|
+
var n, s, r, i, o;
|
|
10874
|
+
let p = I.domParser.getDomDocument(e), l = (0, I.getInstanceNs)(p), y = ae(p, l), a = t?.upgradeTo === "latest" ? it : (n = t?.upgradeTo) !== null && n !== undefined ? n : y.version;
|
|
10863
10875
|
if (y.version === a)
|
|
10864
10876
|
return { ...y, originalVersion: y.version, isLatest: true };
|
|
10865
10877
|
if (rt.indexOf(y.version) > rt.indexOf(a))
|
|
@@ -10887,7 +10899,7 @@ function yt(e, t) {
|
|
|
10887
10899
|
case "1.6":
|
|
10888
10900
|
throw new Error("DMN MARSHALLER: Unexpected error. Shouldn't ever try to migrate a DMN 1.6, as DMN 1.6 is latest.");
|
|
10889
10901
|
}
|
|
10890
|
-
let D = (
|
|
10902
|
+
let D = (o = (i = (r = (s = M ?? b) !== null && s !== undefined ? s : T) !== null && r !== undefined ? r : N) !== null && i !== undefined ? i : g) !== null && o !== undefined ? o : f;
|
|
10891
10903
|
if (!D)
|
|
10892
10904
|
throw new Error("DMN MARSHALLER: Unexpected error. At least one upgraded model should've been created.");
|
|
10893
10905
|
let c = C[a];
|
|
@@ -10924,7 +10936,7 @@ function ae(e, t) {
|
|
|
10924
10936
|
case "1.3":
|
|
10925
10937
|
return { instanceNs: t, version: "1.3", root: be, meta: O, parser: { parse: () => C["1.3"].parse({ type: "domdoc", domdoc: e, instanceNs: t }).json }, builder: { build: (s) => C["1.3"].build({ json: s, instanceNs: t }) } };
|
|
10926
10938
|
case "1.4":
|
|
10927
|
-
return { instanceNs: t, version: "1.4", root: he, meta:
|
|
10939
|
+
return { instanceNs: t, version: "1.4", root: he, meta: k2, parser: { parse: () => C["1.4"].parse({ type: "domdoc", domdoc: e, instanceNs: t }).json }, builder: { build: (s) => C["1.4"].build({ json: s, instanceNs: t }) } };
|
|
10928
10940
|
case "1.5":
|
|
10929
10941
|
return { instanceNs: t, version: "1.5", root: Ce, meta: P, parser: { parse: () => C["1.5"].parse({ type: "domdoc", domdoc: e, instanceNs: t }).json }, builder: { build: (s) => C["1.5"].build({ json: s, instanceNs: t }) } };
|
|
10930
10942
|
case "1.6":
|
|
@@ -10942,19 +10954,19 @@ function ut(e) {
|
|
|
10942
10954
|
}
|
|
10943
10955
|
function It(e) {
|
|
10944
10956
|
let t = (0, I.getInstanceNsFromJson)(e.definitions);
|
|
10945
|
-
return e.definitions[(0, w.getNsDeclarationPropName)({ namespace: G.get(""), atInstanceNs: t, fallingBackToNs: G })] = L.get(""), e.definitions[(0, w.getNsDeclarationPropName)({ namespace: G.get("dmndi:"), atInstanceNs: t, fallingBackToNs: G })] = L.get("dmndi:"), e.definitions[(0, w.getNsDeclarationPropName)({ namespace: pe, atInstanceNs: t, fallingBackToNs: Et })] = E.get(""), e.definitions[(0, w.getNsDeclarationPropName)({ namespace:
|
|
10957
|
+
return e.definitions[(0, w.getNsDeclarationPropName)({ namespace: G.get(""), atInstanceNs: t, fallingBackToNs: G })] = L.get(""), e.definitions[(0, w.getNsDeclarationPropName)({ namespace: G.get("dmndi:"), atInstanceNs: t, fallingBackToNs: G })] = L.get("dmndi:"), e.definitions[(0, w.getNsDeclarationPropName)({ namespace: pe, atInstanceNs: t, fallingBackToNs: Et })] = E.get(""), e.definitions[(0, w.getNsDeclarationPropName)({ namespace: m2["1.2"], atInstanceNs: t, fallingBackToNs: Nt })] = m2["1.3"], e.definitions["@_typeLanguage"] === m2["1.2"] && (e.definitions["@_typeLanguage"] = m2["1.3"]), e.definitions["@_expressionLanguage"] === m2["1.2"] && (e.definitions["@_expressionLanguage"] = m2["1.3"]), e;
|
|
10946
10958
|
}
|
|
10947
10959
|
function Rt(e) {
|
|
10948
10960
|
let t = (0, I.getInstanceNsFromJson)(e.definitions);
|
|
10949
|
-
return e.definitions[(0, w.getNsDeclarationPropName)({ namespace: L.get(""), atInstanceNs: t, fallingBackToNs: L })] = U.get(""), e.definitions[(0, w.getNsDeclarationPropName)({ namespace: L.get("dmndi:"), atInstanceNs: t, fallingBackToNs: L })] = U.get("dmndi:"), e.definitions[(0, w.getNsDeclarationPropName)({ namespace:
|
|
10961
|
+
return e.definitions[(0, w.getNsDeclarationPropName)({ namespace: L.get(""), atInstanceNs: t, fallingBackToNs: L })] = U.get(""), e.definitions[(0, w.getNsDeclarationPropName)({ namespace: L.get("dmndi:"), atInstanceNs: t, fallingBackToNs: L })] = U.get("dmndi:"), e.definitions[(0, w.getNsDeclarationPropName)({ namespace: m2["1.3"], atInstanceNs: t, fallingBackToNs: Mt })] = m2["1.4"], e.definitions[(0, w.getNsDeclarationPropName)({ namespace: E.get(""), atInstanceNs: t, fallingBackToNs: ve })] = E.get(""), e.definitions["@_typeLanguage"] === m2["1.3"] && (e.definitions["@_typeLanguage"] = m2["1.4"]), e.definitions["@_expressionLanguage"] === m2["1.3"] && (e.definitions["@_expressionLanguage"] = m2["1.4"]), e;
|
|
10950
10962
|
}
|
|
10951
10963
|
function bt(e) {
|
|
10952
10964
|
let t = (0, I.getInstanceNsFromJson)(e.definitions);
|
|
10953
|
-
return e.definitions[(0, w.getNsDeclarationPropName)({ namespace: U.get(""), atInstanceNs: t, fallingBackToNs: U })] = K.get(""), e.definitions[(0, w.getNsDeclarationPropName)({ namespace: U.get("dmndi:"), atInstanceNs: t, fallingBackToNs: U })] = K.get("dmndi:"), e.definitions[(0, w.getNsDeclarationPropName)({ namespace:
|
|
10965
|
+
return e.definitions[(0, w.getNsDeclarationPropName)({ namespace: U.get(""), atInstanceNs: t, fallingBackToNs: U })] = K.get(""), e.definitions[(0, w.getNsDeclarationPropName)({ namespace: U.get("dmndi:"), atInstanceNs: t, fallingBackToNs: U })] = K.get("dmndi:"), e.definitions[(0, w.getNsDeclarationPropName)({ namespace: m2["1.4"], atInstanceNs: t, fallingBackToNs: Tt })] = m2["1.5"], e.definitions[(0, w.getNsDeclarationPropName)({ namespace: E.get(""), atInstanceNs: t, fallingBackToNs: ve })] = E.get(""), e.definitions["@_typeLanguage"] === m2["1.4"] && (e.definitions["@_typeLanguage"] = m2["1.5"]), e.definitions["@_expressionLanguage"] === m2["1.4"] && (e.definitions["@_expressionLanguage"] = m2["1.5"]), e;
|
|
10954
10966
|
}
|
|
10955
10967
|
function ht(e) {
|
|
10956
10968
|
let t = (0, I.getInstanceNsFromJson)(e.definitions);
|
|
10957
|
-
return e.definitions[(0, w.getNsDeclarationPropName)({ namespace: K.get(""), atInstanceNs: t, fallingBackToNs: K })] = H.get(""), e.definitions[(0, w.getNsDeclarationPropName)({ namespace: K.get("dmndi:"), atInstanceNs: t, fallingBackToNs: K })] = H.get("dmndi:"), e.definitions[(0, w.getNsDeclarationPropName)({ namespace:
|
|
10969
|
+
return e.definitions[(0, w.getNsDeclarationPropName)({ namespace: K.get(""), atInstanceNs: t, fallingBackToNs: K })] = H.get(""), e.definitions[(0, w.getNsDeclarationPropName)({ namespace: K.get("dmndi:"), atInstanceNs: t, fallingBackToNs: K })] = H.get("dmndi:"), e.definitions[(0, w.getNsDeclarationPropName)({ namespace: m2["1.5"], atInstanceNs: t, fallingBackToNs: ct })] = m2["1.6"], e.definitions[(0, w.getNsDeclarationPropName)({ namespace: E.get(""), atInstanceNs: t, fallingBackToNs: ve })] = E.get(""), e.definitions["@_typeLanguage"] === m2["1.5"] && (e.definitions["@_typeLanguage"] = m2["1.6"]), e.definitions["@_expressionLanguage"] === m2["1.5"] && (e.definitions["@_expressionLanguage"] = m2["1.6"]), e;
|
|
10958
10970
|
}
|
|
10959
10971
|
var te = o(oe(), 1);
|
|
10960
10972
|
var _t = ["1.1", "1.2", "1.3", "1.4", "1.5"];
|
|
@@ -10970,12 +10982,12 @@ function Ut(e) {
|
|
|
10970
10982
|
return St.has(e);
|
|
10971
10983
|
}
|
|
10972
10984
|
function Se(e, t) {
|
|
10973
|
-
let
|
|
10974
|
-
for (let s =
|
|
10985
|
+
let n = [e];
|
|
10986
|
+
for (let s = n.pop();s; s = n.pop()) {
|
|
10975
10987
|
if (t(s))
|
|
10976
10988
|
return true;
|
|
10977
10989
|
for (let r of Array.from(s.childNodes))
|
|
10978
|
-
|
|
10990
|
+
n.push(r);
|
|
10979
10991
|
}
|
|
10980
10992
|
return false;
|
|
10981
10993
|
}
|
|
@@ -10984,38 +10996,11 @@ var qt = (e) => e.nodeType === $Node.PROCESSING_INSTRUCTION_NODE && e.nodeName !
|
|
|
10984
10996
|
var pt = (e) => (e.nodeType === $Node.TEXT_NODE || e.nodeType === $Node.CDATA_SECTION_NODE) && !!e.nodeValue?.trim();
|
|
10985
10997
|
function Bt(e) {
|
|
10986
10998
|
let t = Array.from(e.getElementsByTagNameNS("*", "extensionElements"));
|
|
10987
|
-
return [...Se(e, Kt) ? ["comment"] : [], ...Se(e, qt) ? ["processing-instruction"] : [], ...t.some((
|
|
10999
|
+
return [...Se(e, Kt) ? ["comment"] : [], ...Se(e, qt) ? ["processing-instruction"] : [], ...t.some((n) => Se(n, pt)) ? ["extension-text"] : []];
|
|
10988
11000
|
}
|
|
10989
11001
|
function Is(e) {
|
|
10990
11002
|
return e.includes("comment") || e.includes("processing-instruction") ? "lossy-xml" : e.includes("extension-text") ? "unsupported-profile" : undefined;
|
|
10991
11003
|
}
|
|
10992
|
-
function Rs(e, t, n2) {
|
|
10993
|
-
let s;
|
|
10994
|
-
try {
|
|
10995
|
-
s = Le(e);
|
|
10996
|
-
} catch {
|
|
10997
|
-
return e;
|
|
10998
|
-
}
|
|
10999
|
-
if (s.doctype)
|
|
11000
|
-
return e;
|
|
11001
|
-
let r = new Set(n2), i = new Set;
|
|
11002
|
-
for (let l of Array.from(s.getElementsByTagNameNS("*", "extensionElements"))) {
|
|
11003
|
-
let y = [l];
|
|
11004
|
-
for (let a = y.pop();a; a = y.pop()) {
|
|
11005
|
-
let _ = a.parentNode;
|
|
11006
|
-
pt(a) && _?.nodeType === $Node.ELEMENT_NODE && _.namespaceURI === t && r.has(_.localName ?? "") && i.add(_);
|
|
11007
|
-
for (let f of Array.from(a.childNodes))
|
|
11008
|
-
y.push(f);
|
|
11009
|
-
}
|
|
11010
|
-
}
|
|
11011
|
-
let o2 = (l) => l.nodeType === $Node.ELEMENT_NODE, p = Array.from(i).filter((l) => !l.hasAttribute("value") && !Array.from(l.childNodes).some(o2));
|
|
11012
|
-
if (p.length === 0)
|
|
11013
|
-
return e;
|
|
11014
|
-
for (let l of p)
|
|
11015
|
-
for (l.setAttribute("value", l.textContent ?? "");l.firstChild; )
|
|
11016
|
-
l.removeChild(l.firstChild);
|
|
11017
|
-
return new $XMLSerializer().serializeToString(s);
|
|
11018
|
-
}
|
|
11019
11004
|
function Ft(e) {
|
|
11020
11005
|
let t;
|
|
11021
11006
|
try {
|
|
@@ -11025,28 +11010,28 @@ function Ft(e) {
|
|
|
11025
11010
|
}
|
|
11026
11011
|
if (t.doctype)
|
|
11027
11012
|
return { status: "error", reason: "unsafe-xml" };
|
|
11028
|
-
let
|
|
11013
|
+
let n;
|
|
11029
11014
|
try {
|
|
11030
11015
|
let s = t;
|
|
11031
|
-
|
|
11016
|
+
n = ae(s, (0, te.getInstanceNs)(s)).version;
|
|
11032
11017
|
} catch {
|
|
11033
11018
|
return { status: "error", reason: "unsupported-version" };
|
|
11034
11019
|
}
|
|
11035
|
-
return Ut(
|
|
11020
|
+
return Ut(n) ? { status: "ready", originalVersion: n, losses: Bt(t) } : { status: "error", reason: "unsupported-version" };
|
|
11036
11021
|
}
|
|
11037
11022
|
async function bs(e) {
|
|
11038
11023
|
let t = Ft(e);
|
|
11039
11024
|
if (t.status === "error")
|
|
11040
11025
|
return t;
|
|
11041
|
-
let { originalVersion:
|
|
11042
|
-
if (
|
|
11026
|
+
let { originalVersion: n, losses: s } = t, r = e;
|
|
11027
|
+
if (n === "1.1")
|
|
11043
11028
|
try {
|
|
11044
11029
|
r = await $migrateDiagram(e.replace(`'${ot}'`, `"${ot}"`));
|
|
11045
11030
|
} catch {
|
|
11046
11031
|
return { status: "error", reason: "migration-failed" };
|
|
11047
11032
|
}
|
|
11048
11033
|
try {
|
|
11049
|
-
return { status: "ready", document: Ot(r), originalVersion:
|
|
11034
|
+
return { status: "ready", document: Ot(r), originalVersion: n, losses: s };
|
|
11050
11035
|
} catch (i) {
|
|
11051
11036
|
return console.error("DMN: the marshaller could not read a well-formed document", i), { status: "error", reason: "invalid-xml" };
|
|
11052
11037
|
}
|
|
@@ -11058,6 +11043,6 @@ function hs(e) {
|
|
|
11058
11043
|
return C["1.5"].build({ json: e, instanceNs: (0, te.getInstanceNsFromJson)(e.definitions) });
|
|
11059
11044
|
}
|
|
11060
11045
|
|
|
11061
|
-
export {
|
|
11046
|
+
export { m2, _t, Is, Ft, bs, Ot, hs };
|
|
11062
11047
|
|
|
11063
|
-
//# debugId=
|
|
11048
|
+
//# debugId=57A41D0E5CF7D72164756E2164756E21
|