@accordproject/concerto-util 4.2.0 → 5.0.0-beta.1
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/baseexception.d.ts +2 -1
- package/dist/baseexception.js +5 -2
- package/dist/basefileexception.d.ts +3 -2
- package/dist/basefileexception.js +10 -4
- package/dist/esm/baseexception.mjs +13 -0
- package/dist/esm/baseexception.mjs.map +7 -0
- package/dist/esm/basefileexception.mjs +14 -0
- package/dist/esm/basefileexception.mjs.map +7 -0
- package/dist/esm/chunk-3A2THGYW.mjs +51 -0
- package/dist/esm/chunk-3A2THGYW.mjs.map +7 -0
- package/dist/esm/chunk-3RJ6JXLX.mjs +29 -0
- package/dist/esm/chunk-3RJ6JXLX.mjs.map +7 -0
- package/dist/esm/chunk-3U4T7O4P.mjs +41 -0
- package/dist/esm/chunk-3U4T7O4P.mjs.map +7 -0
- package/dist/esm/chunk-5HVAQ6AX.mjs +183 -0
- package/dist/esm/chunk-5HVAQ6AX.mjs.map +7 -0
- package/dist/esm/chunk-D4MNWWBB.mjs +43 -0
- package/dist/esm/chunk-D4MNWWBB.mjs.map +7 -0
- package/dist/esm/chunk-DTVQ7VXD.mjs +30 -0
- package/dist/esm/chunk-DTVQ7VXD.mjs.map +7 -0
- package/dist/esm/chunk-FHUVVHGR.mjs +48 -0
- package/dist/esm/chunk-FHUVVHGR.mjs.map +7 -0
- package/dist/esm/chunk-FK2LDKS6.mjs +36 -0
- package/dist/esm/chunk-FK2LDKS6.mjs.map +7 -0
- package/dist/esm/chunk-GOLEPEBI.mjs +56 -0
- package/dist/esm/chunk-GOLEPEBI.mjs.map +7 -0
- package/dist/esm/chunk-I33X6SGY.mjs +70 -0
- package/dist/esm/chunk-I33X6SGY.mjs.map +7 -0
- package/dist/esm/chunk-K4OOJFK5.mjs +93 -0
- package/dist/esm/chunk-K4OOJFK5.mjs.map +7 -0
- package/dist/esm/chunk-LPNGJFU2.mjs +22 -0
- package/dist/esm/chunk-LPNGJFU2.mjs.map +7 -0
- package/dist/esm/chunk-PBL5N3A2.mjs +33 -0
- package/dist/esm/chunk-PBL5N3A2.mjs.map +7 -0
- package/dist/esm/chunk-PMP2SMHG.mjs +17 -0
- package/dist/esm/chunk-PMP2SMHG.mjs.map +7 -0
- package/dist/esm/chunk-Q6G4HQJ7.mjs +151 -0
- package/dist/esm/chunk-Q6G4HQJ7.mjs.map +7 -0
- package/dist/esm/chunk-T6ZBQYEB.mjs +97 -0
- package/dist/esm/chunk-T6ZBQYEB.mjs.map +7 -0
- package/dist/esm/chunk-TP3CT6S4.mjs +35 -0
- package/dist/esm/chunk-TP3CT6S4.mjs.map +7 -0
- package/dist/esm/chunk-WPVG6LP3.mjs +63 -0
- package/dist/esm/chunk-WPVG6LP3.mjs.map +7 -0
- package/dist/esm/chunk-YQVUNOO6.mjs +93 -0
- package/dist/esm/chunk-YQVUNOO6.mjs.map +7 -0
- package/dist/esm/errorcodes.mjs +22 -0
- package/dist/esm/errorcodes.mjs.map +7 -0
- package/dist/esm/filedownloader.mjs +12 -0
- package/dist/esm/filedownloader.mjs.map +7 -0
- package/dist/esm/filewriter.mjs +13 -0
- package/dist/esm/filewriter.mjs.map +7 -0
- package/dist/esm/identifiers.mjs +12 -0
- package/dist/esm/identifiers.mjs.map +7 -0
- package/dist/esm/index.mjs +78 -0
- package/dist/esm/index.mjs.map +7 -0
- package/dist/esm/inmemorywriter.mjs +13 -0
- package/dist/esm/inmemorywriter.mjs.map +7 -0
- package/dist/esm/label.mjs +12 -0
- package/dist/esm/label.mjs.map +7 -0
- package/dist/esm/loaders/compositefileloader.mjs +12 -0
- package/dist/esm/loaders/compositefileloader.mjs.map +7 -0
- package/dist/esm/loaders/defaultfileloader.mjs +15 -0
- package/dist/esm/loaders/defaultfileloader.mjs.map +7 -0
- package/dist/esm/loaders/fileloader.mjs +3 -0
- package/dist/esm/loaders/fileloader.mjs.map +7 -0
- package/dist/esm/loaders/githubfileloader.mjs +13 -0
- package/dist/esm/loaders/githubfileloader.mjs.map +7 -0
- package/dist/esm/loaders/httpfileloader.mjs +12 -0
- package/dist/esm/loaders/httpfileloader.mjs.map +7 -0
- package/dist/esm/logger.mjs +12 -0
- package/dist/esm/logger.mjs.map +7 -0
- package/dist/esm/modelwriter.mjs +10 -0
- package/dist/esm/modelwriter.mjs.map +7 -0
- package/dist/esm/null.mjs +12 -0
- package/dist/esm/null.mjs.map +7 -0
- package/dist/esm/typedstack.mjs +12 -0
- package/dist/esm/typedstack.mjs.map +7 -0
- package/dist/esm/warning.mjs +10 -0
- package/dist/esm/warning.mjs.map +7 -0
- package/dist/esm/writer.mjs +12 -0
- package/dist/esm/writer.mjs.map +7 -0
- package/dist/esm-browser/baseexception.mjs +11 -0
- package/dist/esm-browser/baseexception.mjs.map +7 -0
- package/dist/esm-browser/basefileexception.mjs +12 -0
- package/dist/esm-browser/basefileexception.mjs.map +7 -0
- package/dist/esm-browser/chunk-3XGAUT4O.mjs +100 -0
- package/dist/esm-browser/chunk-3XGAUT4O.mjs.map +7 -0
- package/dist/esm-browser/chunk-4X5DBZDM.mjs +24 -0
- package/dist/esm-browser/chunk-4X5DBZDM.mjs.map +7 -0
- package/dist/esm-browser/chunk-6SOOHVQB.mjs +65 -0
- package/dist/esm-browser/chunk-6SOOHVQB.mjs.map +7 -0
- package/dist/esm-browser/chunk-7DYPHXUR.mjs +50 -0
- package/dist/esm-browser/chunk-7DYPHXUR.mjs.map +7 -0
- package/dist/esm-browser/chunk-7LYWQ57N.mjs +461 -0
- package/dist/esm-browser/chunk-7LYWQ57N.mjs.map +7 -0
- package/dist/esm-browser/chunk-BDMF4RRF.mjs +72 -0
- package/dist/esm-browser/chunk-BDMF4RRF.mjs.map +7 -0
- package/dist/esm-browser/chunk-BSBOEFWN.mjs +57 -0
- package/dist/esm-browser/chunk-BSBOEFWN.mjs.map +7 -0
- package/dist/esm-browser/chunk-DOL2YKDZ.mjs +26 -0
- package/dist/esm-browser/chunk-DOL2YKDZ.mjs.map +7 -0
- package/dist/esm-browser/chunk-EGOFDABS.mjs +62 -0
- package/dist/esm-browser/chunk-EGOFDABS.mjs.map +7 -0
- package/dist/esm-browser/chunk-FMBRY3SQ.mjs +183 -0
- package/dist/esm-browser/chunk-FMBRY3SQ.mjs.map +7 -0
- package/dist/esm-browser/chunk-LZTTRWN3.mjs +153 -0
- package/dist/esm-browser/chunk-LZTTRWN3.mjs.map +7 -0
- package/dist/esm-browser/chunk-MCUSZIV7.mjs +41 -0
- package/dist/esm-browser/chunk-MCUSZIV7.mjs.map +7 -0
- package/dist/esm-browser/chunk-N42BHUZ6.mjs +35 -0
- package/dist/esm-browser/chunk-N42BHUZ6.mjs.map +7 -0
- package/dist/esm-browser/chunk-NAP47VIV.mjs +36 -0
- package/dist/esm-browser/chunk-NAP47VIV.mjs.map +7 -0
- package/dist/esm-browser/chunk-NQ5PDAAD.mjs +95 -0
- package/dist/esm-browser/chunk-NQ5PDAAD.mjs.map +7 -0
- package/dist/esm-browser/chunk-NSJTBLWA.mjs +71 -0
- package/dist/esm-browser/chunk-NSJTBLWA.mjs.map +7 -0
- package/dist/esm-browser/chunk-S52XDDAF.mjs +30 -0
- package/dist/esm-browser/chunk-S52XDDAF.mjs.map +7 -0
- package/dist/esm-browser/chunk-SU6SG5PJ.mjs +45 -0
- package/dist/esm-browser/chunk-SU6SG5PJ.mjs.map +7 -0
- package/dist/esm-browser/chunk-WCGRUR5U.mjs +30 -0
- package/dist/esm-browser/chunk-WCGRUR5U.mjs.map +7 -0
- package/dist/esm-browser/chunk-YI4IYGSC.mjs +53 -0
- package/dist/esm-browser/chunk-YI4IYGSC.mjs.map +7 -0
- package/dist/esm-browser/chunk-YURYZDD2.mjs +453 -0
- package/dist/esm-browser/chunk-YURYZDD2.mjs.map +7 -0
- package/dist/esm-browser/errorcodes.mjs +20 -0
- package/dist/esm-browser/errorcodes.mjs.map +7 -0
- package/dist/esm-browser/filedownloader.mjs +11 -0
- package/dist/esm-browser/filedownloader.mjs.map +7 -0
- package/dist/esm-browser/filewriter.mjs +12 -0
- package/dist/esm-browser/filewriter.mjs.map +7 -0
- package/dist/esm-browser/identifiers.mjs +10 -0
- package/dist/esm-browser/identifiers.mjs.map +7 -0
- package/dist/esm-browser/index.mjs +83 -0
- package/dist/esm-browser/index.mjs.map +7 -0
- package/dist/esm-browser/inmemorywriter.mjs +11 -0
- package/dist/esm-browser/inmemorywriter.mjs.map +7 -0
- package/dist/esm-browser/label.mjs +10 -0
- package/dist/esm-browser/label.mjs.map +7 -0
- package/dist/esm-browser/loaders/compositefileloader.mjs +10 -0
- package/dist/esm-browser/loaders/compositefileloader.mjs.map +7 -0
- package/dist/esm-browser/loaders/defaultfileloader.mjs +14 -0
- package/dist/esm-browser/loaders/defaultfileloader.mjs.map +7 -0
- package/dist/esm-browser/loaders/fileloader.mjs +7 -0
- package/dist/esm-browser/loaders/fileloader.mjs.map +7 -0
- package/dist/esm-browser/loaders/githubfileloader.mjs +12 -0
- package/dist/esm-browser/loaders/githubfileloader.mjs.map +7 -0
- package/dist/esm-browser/loaders/httpfileloader.mjs +11 -0
- package/dist/esm-browser/loaders/httpfileloader.mjs.map +7 -0
- package/dist/esm-browser/logger.mjs +10 -0
- package/dist/esm-browser/logger.mjs.map +7 -0
- package/dist/esm-browser/modelwriter.mjs +9 -0
- package/dist/esm-browser/modelwriter.mjs.map +7 -0
- package/dist/esm-browser/null.mjs +10 -0
- package/dist/esm-browser/null.mjs.map +7 -0
- package/dist/esm-browser/typedstack.mjs +10 -0
- package/dist/esm-browser/typedstack.mjs.map +7 -0
- package/dist/esm-browser/warning.mjs +8 -0
- package/dist/esm-browser/warning.mjs.map +7 -0
- package/dist/esm-browser/writer.mjs +10 -0
- package/dist/esm-browser/writer.mjs.map +7 -0
- package/dist/filedownloader.d.ts +14 -6
- package/dist/filedownloader.js +32 -12
- package/dist/filewriter.d.ts +3 -2
- package/dist/filewriter.js +10 -4
- package/dist/identifiers.js +4 -2
- package/dist/index.d.ts +18 -17
- package/dist/index.js +34 -31
- package/dist/inmemorywriter.d.ts +3 -2
- package/dist/inmemorywriter.js +10 -4
- package/dist/loaders/compositefileloader.d.ts +2 -1
- package/dist/loaders/compositefileloader.js +5 -2
- package/dist/loaders/defaultfileloader.d.ts +3 -2
- package/dist/loaders/defaultfileloader.js +14 -8
- package/dist/loaders/githubfileloader.d.ts +3 -2
- package/dist/loaders/githubfileloader.js +10 -4
- package/dist/loaders/httpfileloader.d.ts +2 -1
- package/dist/loaders/httpfileloader.js +10 -3
- package/dist/logger.d.ts +2 -1
- package/dist/logger.js +5 -2
- package/dist/modelwriter.js +6 -4
- package/dist/null.d.ts +3 -2
- package/dist/null.js +5 -2
- package/dist/typedstack.d.ts +2 -1
- package/dist/typedstack.js +5 -2
- package/dist/writer.d.ts +2 -1
- package/dist/writer.js +5 -2
- package/package.json +16 -8
- package/dist/concerto-util.js +0 -2
- package/dist/concerto-util.js.LICENSE.txt +0 -19
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import {
|
|
2
|
+
init_browser_process_shim
|
|
3
|
+
} from "./chunk-NSJTBLWA.mjs";
|
|
4
|
+
|
|
5
|
+
// src/writer.ts
|
|
6
|
+
init_browser_process_shim();
|
|
7
|
+
var Writer = class {
|
|
8
|
+
/**
|
|
9
|
+
* Create a Writer.
|
|
10
|
+
*/
|
|
11
|
+
constructor() {
|
|
12
|
+
this.beforeBuffer = "";
|
|
13
|
+
this.buffer = "";
|
|
14
|
+
this.linesWritten = 0;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Writes text to the start of the buffer
|
|
18
|
+
* @param tabs - the number of tabs to use
|
|
19
|
+
* @param text - the text to write
|
|
20
|
+
*/
|
|
21
|
+
writeBeforeLine(tabs, text) {
|
|
22
|
+
for (let n = 0; n < tabs; n++) {
|
|
23
|
+
this.beforeBuffer += " ";
|
|
24
|
+
}
|
|
25
|
+
this.beforeBuffer += text;
|
|
26
|
+
this.beforeBuffer += "\n";
|
|
27
|
+
this.linesWritten++;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Append text to the buffer
|
|
31
|
+
* @param tabs - the number of tabs to use
|
|
32
|
+
* @param text - the text to write
|
|
33
|
+
*/
|
|
34
|
+
writeLine(tabs, text) {
|
|
35
|
+
for (let n = 0; n < tabs; n++) {
|
|
36
|
+
this.write(" ");
|
|
37
|
+
}
|
|
38
|
+
this.write(text);
|
|
39
|
+
this.write("\n");
|
|
40
|
+
this.linesWritten++;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Returns the number of lines that have been written to the buffer.
|
|
44
|
+
* @return the number of lines written to the buffer.
|
|
45
|
+
*/
|
|
46
|
+
getLineCount() {
|
|
47
|
+
return this.linesWritten;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Append text to the buffer, prepending tabs
|
|
51
|
+
* @param tabs - the number of tabs to use
|
|
52
|
+
* @param text - the text to write
|
|
53
|
+
*/
|
|
54
|
+
writeIndented(tabs, text) {
|
|
55
|
+
for (let n = 0; n < tabs; n++) {
|
|
56
|
+
this.write(" ");
|
|
57
|
+
}
|
|
58
|
+
this.write(text);
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Append text to the buffer (no automatic newline). The
|
|
62
|
+
* text may contain newline, and these will increment the linesWritten
|
|
63
|
+
* counter.
|
|
64
|
+
* @param msg - the text to write
|
|
65
|
+
*/
|
|
66
|
+
write(msg) {
|
|
67
|
+
if (typeof msg !== "string") {
|
|
68
|
+
throw new Error("Can only append strings. Argument " + msg + " has type " + typeof msg);
|
|
69
|
+
}
|
|
70
|
+
this.buffer += msg;
|
|
71
|
+
this.linesWritten += msg.split(/\r\n|\r|\n/).length;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Returns the text that has been buffered in this Writer.
|
|
75
|
+
* @return the buffered text.
|
|
76
|
+
*/
|
|
77
|
+
getBuffer() {
|
|
78
|
+
return this.beforeBuffer + this.buffer;
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Empties the underyling buffer and resets the line count.
|
|
82
|
+
*/
|
|
83
|
+
clearBuffer() {
|
|
84
|
+
this.beforeBuffer = "";
|
|
85
|
+
this.buffer = "";
|
|
86
|
+
this.linesWritten = 0;
|
|
87
|
+
}
|
|
88
|
+
};
|
|
89
|
+
var writer_default = Writer;
|
|
90
|
+
|
|
91
|
+
export {
|
|
92
|
+
Writer,
|
|
93
|
+
writer_default
|
|
94
|
+
};
|
|
95
|
+
//# sourceMappingURL=chunk-NQ5PDAAD.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/writer.ts"],
|
|
4
|
+
"sourcesContent": ["/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Writer buffers text to be written in memory. It handles simple\n * indentation and tracks the number of lines written.\n * @private\n * @class\n * @memberof module:concerto-util\n */\nclass Writer {\n public beforeBuffer: string;\n public buffer: string;\n public linesWritten: number;\n\n /**\n * Create a Writer.\n */\n constructor() {\n this.beforeBuffer = '';\n this.buffer = '';\n this.linesWritten = 0;\n }\n\n /**\n * Writes text to the start of the buffer\n * @param tabs - the number of tabs to use\n * @param text - the text to write\n */\n writeBeforeLine(tabs: number, text: string): void {\n for(let n=0; n < tabs; n++) {\n this.beforeBuffer += ' ';\n }\n this.beforeBuffer += text;\n this.beforeBuffer += '\\n';\n this.linesWritten++;\n }\n\n /**\n * Append text to the buffer\n * @param tabs - the number of tabs to use\n * @param text - the text to write\n */\n writeLine(tabs: number, text: string): void {\n for(let n=0; n < tabs; n++) {\n this.write(' ');\n }\n this.write(text);\n this.write('\\n');\n this.linesWritten++;\n }\n\n /**\n * Returns the number of lines that have been written to the buffer.\n * @return the number of lines written to the buffer.\n */\n getLineCount(): number {\n return this.linesWritten;\n }\n\n\n /**\n * Append text to the buffer, prepending tabs\n * @param tabs - the number of tabs to use\n * @param text - the text to write\n */\n writeIndented(tabs: number, text: string): void {\n for(let n=0; n < tabs; n++) {\n this.write(' ');\n }\n this.write(text);\n }\n\n /**\n * Append text to the buffer (no automatic newline). The\n * text may contain newline, and these will increment the linesWritten\n * counter.\n * @param msg - the text to write\n */\n write(msg: string): void {\n if(typeof msg !== 'string' ) {\n throw new Error('Can only append strings. Argument ' + msg + ' has type ' + typeof msg);\n }\n\n this.buffer += msg;\n this.linesWritten += msg.split(/\\r\\n|\\r|\\n/).length;\n }\n\n /**\n * Returns the text that has been buffered in this Writer.\n * @return the buffered text.\n */\n getBuffer(): string {\n return this.beforeBuffer + this.buffer;\n }\n\n /**\n * Empties the underyling buffer and resets the line count.\n */\n clearBuffer(): void {\n this.beforeBuffer = '';\n this.buffer = '';\n this.linesWritten = 0;\n }\n}\n\nexport { Writer };\nexport default Writer;\n"],
|
|
5
|
+
"mappings": ";;;;;AAAA;AAqBA,IAAM,SAAN,MAAa;AAAA;AAAA;AAAA;AAAA,EAQT,cAAc;AACV,SAAK,eAAe;AACpB,SAAK,SAAS;AACd,SAAK,eAAe;AAAA,EACxB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAOA,gBAAgB,MAAc,MAAoB;AAC9C,aAAQ,IAAE,GAAG,IAAI,MAAM,KAAK;AACxB,WAAK,gBAAgB;AAAA,IACzB;AACA,SAAK,gBAAgB;AACrB,SAAK,gBAAgB;AACrB,SAAK;AAAA,EACT;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAOA,UAAU,MAAc,MAAoB;AACxC,aAAQ,IAAE,GAAG,IAAI,MAAM,KAAK;AACxB,WAAK,MAAM,KAAK;AAAA,IACpB;AACA,SAAK,MAAM,IAAI;AACf,SAAK,MAAM,IAAI;AACf,SAAK;AAAA,EACT;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,eAAuB;AACnB,WAAO,KAAK;AAAA,EAChB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQA,cAAc,MAAc,MAAoB;AAC5C,aAAQ,IAAE,GAAG,IAAI,MAAM,KAAK;AACxB,WAAK,MAAM,KAAK;AAAA,IACpB;AACA,SAAK,MAAM,IAAI;AAAA,EACnB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQA,MAAM,KAAmB;AACrB,QAAG,OAAO,QAAQ,UAAW;AACzB,YAAM,IAAI,MAAM,uCAAuC,MAAM,eAAe,OAAO,GAAG;AAAA,IAC1F;AAEA,SAAK,UAAU;AACf,SAAK,gBAAgB,IAAI,MAAM,YAAY,EAAE;AAAA,EACjD;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,YAAoB;AAChB,WAAO,KAAK,eAAe,KAAK;AAAA,EACpC;AAAA;AAAA;AAAA;AAAA,EAKA,cAAoB;AAChB,SAAK,eAAe;AACpB,SAAK,SAAS;AACd,SAAK,eAAe;AAAA,EACxB;AACJ;AAGA,IAAO,iBAAQ;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __esm = (fn, res) => function __init() {
|
|
8
|
+
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
|
|
9
|
+
};
|
|
10
|
+
var __commonJS = (cb, mod) => function __require() {
|
|
11
|
+
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
12
|
+
};
|
|
13
|
+
var __export = (target, all) => {
|
|
14
|
+
for (var name in all)
|
|
15
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
16
|
+
};
|
|
17
|
+
var __copyProps = (to, from, except, desc) => {
|
|
18
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
19
|
+
for (let key of __getOwnPropNames(from))
|
|
20
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
21
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
22
|
+
}
|
|
23
|
+
return to;
|
|
24
|
+
};
|
|
25
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
26
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
27
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
28
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
29
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
30
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
31
|
+
mod
|
|
32
|
+
));
|
|
33
|
+
|
|
34
|
+
// ../../scripts/browser-process-shim.js
|
|
35
|
+
var globals, fallback, process;
|
|
36
|
+
var init_browser_process_shim = __esm({
|
|
37
|
+
"../../scripts/browser-process-shim.js"() {
|
|
38
|
+
globals = typeof globalThis !== "undefined" ? globalThis : {};
|
|
39
|
+
fallback = {
|
|
40
|
+
env: {},
|
|
41
|
+
platform: "browser",
|
|
42
|
+
/**
|
|
43
|
+
* Stand-in for Node's process.emitWarning.
|
|
44
|
+
*
|
|
45
|
+
* @param {string} message - the warning text
|
|
46
|
+
* @param {string} [type] - the warning type
|
|
47
|
+
*/
|
|
48
|
+
emitWarning(message, type) {
|
|
49
|
+
console.warn(type ? `${type}: ${message}` : message);
|
|
50
|
+
},
|
|
51
|
+
/**
|
|
52
|
+
* Stand-in for Node's process.cwd.
|
|
53
|
+
*
|
|
54
|
+
* @return {string} the notional working directory
|
|
55
|
+
*/
|
|
56
|
+
cwd() {
|
|
57
|
+
return "/";
|
|
58
|
+
}
|
|
59
|
+
};
|
|
60
|
+
process = globals.process || fallback;
|
|
61
|
+
}
|
|
62
|
+
});
|
|
63
|
+
|
|
64
|
+
export {
|
|
65
|
+
__commonJS,
|
|
66
|
+
__export,
|
|
67
|
+
__toESM,
|
|
68
|
+
process,
|
|
69
|
+
init_browser_process_shim
|
|
70
|
+
};
|
|
71
|
+
//# sourceMappingURL=chunk-NSJTBLWA.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../scripts/browser-process-shim.js"],
|
|
4
|
+
"sourcesContent": ["/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/*\n * Injected into the browser ESM build (see scripts/build-esm.js) to bind the\n * free `process` identifier the sources and their dependencies use \u2014\n * `process.env.TZ` in the serializer, `process.emitWarning` in warning.ts,\n * `process.env.NODE_ENV` inside bundled deps.\n *\n * Leaving it free pushes the problem onto every downstream browser bundler.\n * webpack consumers in particular inject `process: 'process/browser'` through\n * ProvidePlugin, and that extensionless request is rejected as not fully\n * specified when the module it lands in is a .mjs file:\n *\n * Module not found: Can't resolve 'process/browser'\n * BREAKING CHANGE: ... resolved as fully specified\n *\n * The shim defers to a real `globalThis.process` whenever the page has one, so\n * a consumer's own polyfill still wins; the fallback only covers what these\n * packages actually read.\n */\n\nconst globals = typeof globalThis !== 'undefined' ? globalThis : {};\n\nconst fallback = {\n env: {},\n platform: 'browser',\n /**\n * Stand-in for Node's process.emitWarning.\n *\n * @param {string} message - the warning text\n * @param {string} [type] - the warning type\n */\n emitWarning(message, type) {\n // eslint-disable-next-line no-console\n console.warn(type ? `${type}: ${message}` : message);\n },\n /**\n * Stand-in for Node's process.cwd.\n *\n * @return {string} the notional working directory\n */\n cwd() {\n return '/';\n },\n};\n\nexport const process = globals.process || fallback;\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAiCM,SAEA,UAuBO;AA1Db;AAAA;AAiCA,IAAM,UAAU,OAAO,eAAe,cAAc,aAAa,CAAC;AAElE,IAAM,WAAW;AAAA,MACb,KAAK,CAAC;AAAA,MACN,UAAU;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,MAOV,YAAY,SAAS,MAAM;AAEvB,gBAAQ,KAAK,OAAO,GAAG,IAAI,KAAK,OAAO,KAAK,OAAO;AAAA,MACvD;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,MAMA,MAAM;AACF,eAAO;AAAA,MACX;AAAA,IACJ;AAEO,IAAM,UAAU,QAAQ,WAAW;AAAA;AAAA;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export,
|
|
3
|
+
init_browser_process_shim,
|
|
4
|
+
process
|
|
5
|
+
} from "./chunk-NSJTBLWA.mjs";
|
|
6
|
+
|
|
7
|
+
// src/warning.ts
|
|
8
|
+
var warning_exports = {};
|
|
9
|
+
__export(warning_exports, {
|
|
10
|
+
printDeprecationWarning: () => printDeprecationWarning
|
|
11
|
+
});
|
|
12
|
+
init_browser_process_shim();
|
|
13
|
+
var isWarningEmitted = false;
|
|
14
|
+
function printDeprecationWarning(message, type, code, detail) {
|
|
15
|
+
const customEmitWarning = process.emitWarning;
|
|
16
|
+
if (!isWarningEmitted) {
|
|
17
|
+
isWarningEmitted = true;
|
|
18
|
+
customEmitWarning(`DEPRECATED: ${message}`, {
|
|
19
|
+
type,
|
|
20
|
+
code,
|
|
21
|
+
detail
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export {
|
|
27
|
+
printDeprecationWarning,
|
|
28
|
+
warning_exports
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=chunk-S52XDDAF.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/warning.ts"],
|
|
4
|
+
"sourcesContent": ["/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n'use strict';\n\n// Tell TypeScript that 'process' exists globally (shims Node.js types)\ndeclare const process: any;\n\nlet isWarningEmitted = false;\n\n/**\n * Emits DeprecationWaring to stderr only once and can be caught using an warning event listener as well, please define the code\n * and document the deprecation code on https://concerto.accordproject.org/deprecation\n * @param message - message of the deprecation warning\n * @param type - type of the deprecation warning\n * @param code - code of the deprecation warning\n * @param detail - detail of the deprecation warning\n */\nexport function printDeprecationWarning(message: string, type: string, code: string, detail: string): void {\n // This will get polyfilled in the webpack.config.js as process.emitWarning is not available in the browser\n const customEmitWarning = process.emitWarning;\n if (!isWarningEmitted) {\n isWarningEmitted = true;\n customEmitWarning(`DEPRECATED: ${message}`, {\n type,\n code,\n detail\n });\n }\n}"],
|
|
5
|
+
"mappings": ";;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAmBA,IAAI,mBAAmB;AAUhB,SAAS,wBAAwB,SAAiB,MAAc,MAAc,QAAsB;AAEvG,QAAM,oBAAoB,QAAQ;AAClC,MAAI,CAAC,kBAAkB;AACnB,uBAAmB;AACnB,sBAAkB,eAAe,OAAO,IAAI;AAAA,MACxC;AAAA,MACA;AAAA,MACA;AAAA,IACJ,CAAC;AAAA,EACL;AACJ;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import {
|
|
2
|
+
httpfileloader_default
|
|
3
|
+
} from "./chunk-EGOFDABS.mjs";
|
|
4
|
+
import {
|
|
5
|
+
init_browser_process_shim
|
|
6
|
+
} from "./chunk-NSJTBLWA.mjs";
|
|
7
|
+
|
|
8
|
+
// src/loaders/githubfileloader.ts
|
|
9
|
+
init_browser_process_shim();
|
|
10
|
+
var GitHubFileLoader = class extends httpfileloader_default {
|
|
11
|
+
/**
|
|
12
|
+
* Create the GitHubFileLoader.
|
|
13
|
+
* @param processFile - a function to apply to the content of the file
|
|
14
|
+
*/
|
|
15
|
+
constructor(processFile) {
|
|
16
|
+
super(processFile);
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Returns true if this ModelLoader can process the URL
|
|
20
|
+
* @param url - the URL
|
|
21
|
+
* @return true if this ModelLoader accepts the URL
|
|
22
|
+
* @abstract
|
|
23
|
+
*/
|
|
24
|
+
accepts(url) {
|
|
25
|
+
return url.startsWith("github://");
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Load a File from a URL and return it
|
|
29
|
+
* @param url - the url to get
|
|
30
|
+
* @param options - additional options
|
|
31
|
+
* @return a promise to the File
|
|
32
|
+
*/
|
|
33
|
+
load(url, options) {
|
|
34
|
+
const rewrittenUrl = "https://raw.githubusercontent.com/" + url.substring(9);
|
|
35
|
+
const result = super.load(rewrittenUrl, options);
|
|
36
|
+
return result;
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
var githubfileloader_default = GitHubFileLoader;
|
|
40
|
+
|
|
41
|
+
export {
|
|
42
|
+
GitHubFileLoader,
|
|
43
|
+
githubfileloader_default
|
|
44
|
+
};
|
|
45
|
+
//# sourceMappingURL=chunk-SU6SG5PJ.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/loaders/githubfileloader.ts"],
|
|
4
|
+
"sourcesContent": ["/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport HTTPFileLoader from './httpfileloader';\n\n/**\n * Loads Files from an external source, such as a URL.\n *\n * @class\n * @private\n * @memberof module:concerto-util\n */\nclass GitHubFileLoader<T> extends HTTPFileLoader<T> {\n /**\n * Create the GitHubFileLoader.\n * @param processFile - a function to apply to the content of the file\n */\n constructor(processFile: (name: string, text: string) => T) {\n super(processFile);\n }\n\n /**\n * Returns true if this ModelLoader can process the URL\n * @param url - the URL\n * @return true if this ModelLoader accepts the URL\n * @abstract\n */\n accepts(url: string): boolean {\n return url.startsWith('github://');\n }\n\n /**\n * Load a File from a URL and return it\n * @param url - the url to get\n * @param options - additional options\n * @return a promise to the File\n */\n load(url: string, options?: RequestInit): Promise<T> {\n const rewrittenUrl = 'https://raw.githubusercontent.com/' + url.substring(9);\n const result = super.load(rewrittenUrl, options);\n return result;\n }\n}\n\nexport { GitHubFileLoader };\nexport default GitHubFileLoader;\n"],
|
|
5
|
+
"mappings": ";;;;;;;;AAAA;AAuBA,IAAM,mBAAN,cAAkC,uBAAkB;AAAA;AAAA;AAAA;AAAA;AAAA,EAKhD,YAAY,aAAgD;AACxD,UAAM,WAAW;AAAA,EACrB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQA,QAAQ,KAAsB;AAC1B,WAAO,IAAI,WAAW,WAAW;AAAA,EACrC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQA,KAAK,KAAa,SAAmC;AACjD,UAAM,eAAe,uCAAuC,IAAI,UAAU,CAAC;AAC3E,UAAM,SAAS,MAAM,KAAK,cAAc,OAAO;AAC/C,WAAO;AAAA,EACX;AACJ;AAGA,IAAO,2BAAQ;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export,
|
|
3
|
+
init_browser_process_shim
|
|
4
|
+
} from "./chunk-NSJTBLWA.mjs";
|
|
5
|
+
|
|
6
|
+
// src/label.ts
|
|
7
|
+
var label_exports = {};
|
|
8
|
+
__export(label_exports, {
|
|
9
|
+
labelToSentence: () => labelToSentence,
|
|
10
|
+
sentenceToLabel: () => sentenceToLabel
|
|
11
|
+
});
|
|
12
|
+
init_browser_process_shim();
|
|
13
|
+
function labelToSentence(labelName = "") {
|
|
14
|
+
return labelName.replace(/([a-z])([A-Z])/g, "$1 $2").replace(/([A-Z])([a-z])/g, " $1$2").replace(/ +/g, " ").replace(/^./, (str) => str.toUpperCase()).trim();
|
|
15
|
+
}
|
|
16
|
+
function sentenceToLabel(sentence = "") {
|
|
17
|
+
const split = sentence.split(/[^A-Za-z0-9_-]+/);
|
|
18
|
+
split.forEach((word, index) => {
|
|
19
|
+
split[index] = split[index].replace(/^./, (str) => str.toUpperCase());
|
|
20
|
+
});
|
|
21
|
+
const joined = split.join("");
|
|
22
|
+
return joined.replace(/^./, (str) => str.toLowerCase());
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export {
|
|
26
|
+
labelToSentence,
|
|
27
|
+
sentenceToLabel,
|
|
28
|
+
label_exports
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=chunk-WCGRUR5U.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/label.ts"],
|
|
4
|
+
"sourcesContent": ["/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n'use strict';\n\n/**\n * Inserts correct spacing and capitalization to a camelCase label\n * @param labelName - the label text to be transformed\n * @returns - The label text formatted for rendering\n */\nexport function labelToSentence(labelName: string = ''): string {\n return labelName\n .replace(/([a-z])([A-Z])/g, '$1 $2')\n .replace(/([A-Z])([a-z])/g, ' $1$2')\n .replace(/ +/g, ' ')\n .replace(/^./, str => str.toUpperCase())\n .trim();\n}\n\n/**\n * Create a camelCase label from a sentence\n * @param sentence - the sentence\n * @returns - The camelCase label\n */\nexport function sentenceToLabel(sentence: string = ''): string {\n const split = sentence.split(/[^A-Za-z0-9_-]+/);\n split.forEach((word, index) => {\n split[index] = split[index].replace(/^./, str => str.toUpperCase());\n });\n const joined = split.join('');\n return joined.replace(/^./, str => str.toLowerCase());\n}"],
|
|
5
|
+
"mappings": ";;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAqBO,SAAS,gBAAgB,YAAoB,IAAY;AAC5D,SAAO,UACF,QAAQ,mBAAmB,OAAO,EAClC,QAAQ,mBAAmB,OAAO,EAClC,QAAQ,OAAO,GAAG,EAClB,QAAQ,MAAM,SAAO,IAAI,YAAY,CAAC,EACtC,KAAK;AACd;AAOO,SAAS,gBAAgB,WAAmB,IAAY;AAC3D,QAAM,QAAQ,SAAS,MAAM,iBAAiB;AAC9C,QAAM,QAAQ,CAAC,MAAM,UAAU;AAC3B,UAAM,KAAK,IAAI,MAAM,KAAK,EAAE,QAAQ,MAAM,SAAO,IAAI,YAAY,CAAC;AAAA,EACtE,CAAC;AACD,QAAM,SAAS,MAAM,KAAK,EAAE;AAC5B,SAAO,OAAO,QAAQ,MAAM,SAAO,IAAI,YAAY,CAAC;AACxD;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import {
|
|
2
|
+
baseexception_default
|
|
3
|
+
} from "./chunk-FMBRY3SQ.mjs";
|
|
4
|
+
import {
|
|
5
|
+
init_browser_process_shim
|
|
6
|
+
} from "./chunk-NSJTBLWA.mjs";
|
|
7
|
+
|
|
8
|
+
// src/basefileexception.ts
|
|
9
|
+
init_browser_process_shim();
|
|
10
|
+
var BaseFileException = class extends baseexception_default {
|
|
11
|
+
/**
|
|
12
|
+
* Create an BaseFileException
|
|
13
|
+
* @param message - the message for the exception
|
|
14
|
+
* @param fileLocation - the optional file location associated with the exception
|
|
15
|
+
* @param fullMessage - the optional full message text
|
|
16
|
+
* @param fileName - the file name
|
|
17
|
+
* @param component - the component which throws this error
|
|
18
|
+
*/
|
|
19
|
+
constructor(message, fileLocation = null, fullMessage = null, fileName = null, component) {
|
|
20
|
+
super(fullMessage ? fullMessage : message, component);
|
|
21
|
+
this.fileLocation = fileLocation;
|
|
22
|
+
this.shortMessage = message;
|
|
23
|
+
this.fileName = fileName;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Returns the file location associated with the exception or null
|
|
27
|
+
* @return the optional location associated with the exception
|
|
28
|
+
*/
|
|
29
|
+
getFileLocation() {
|
|
30
|
+
return this.fileLocation;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Returns the error message without the location of the error
|
|
34
|
+
* @returns the error message
|
|
35
|
+
*/
|
|
36
|
+
getShortMessage() {
|
|
37
|
+
return this.shortMessage;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Returns the fileName for the error
|
|
41
|
+
* @returns the file name or null
|
|
42
|
+
*/
|
|
43
|
+
getFileName() {
|
|
44
|
+
return this.fileName;
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
var basefileexception_default = BaseFileException;
|
|
48
|
+
|
|
49
|
+
export {
|
|
50
|
+
BaseFileException,
|
|
51
|
+
basefileexception_default
|
|
52
|
+
};
|
|
53
|
+
//# sourceMappingURL=chunk-YI4IYGSC.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/basefileexception.ts"],
|
|
4
|
+
"sourcesContent": ["/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport BaseException from './baseexception';\n\n/**\n * Exception throws when a Concerto file is semantically invalid\n * @extends BaseException\n * @see {@link BaseException}\n * @class\n * @memberof module:concerto-core\n */\nclass BaseFileException extends BaseException {\n public fileLocation: string | null;\n public shortMessage: string;\n public fileName: string | null;\n\n /**\n * Create an BaseFileException\n * @param message - the message for the exception\n * @param fileLocation - the optional file location associated with the exception\n * @param fullMessage - the optional full message text\n * @param fileName - the file name\n * @param component - the component which throws this error\n */\n constructor(message: string, fileLocation: string | null = null, fullMessage: string | null = null, fileName: string | null = null, component?: string) {\n super(fullMessage ? fullMessage : message, component);\n this.fileLocation = fileLocation;\n this.shortMessage = message;\n this.fileName = fileName;\n }\n\n /**\n * Returns the file location associated with the exception or null\n * @return the optional location associated with the exception\n */\n getFileLocation(): string | null {\n return this.fileLocation;\n }\n\n /**\n * Returns the error message without the location of the error\n * @returns the error message\n */\n getShortMessage(): string {\n return this.shortMessage;\n }\n\n /**\n * Returns the fileName for the error\n * @returns the file name or null\n */\n getFileName(): string | null {\n return this.fileName;\n }\n}\n\nexport { BaseFileException };\nexport default BaseFileException;\n"],
|
|
5
|
+
"mappings": ";;;;;;;;AAAA;AAuBA,IAAM,oBAAN,cAAgC,sBAAc;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAa1C,YAAY,SAAiB,eAA8B,MAAM,cAA6B,MAAM,WAA0B,MAAM,WAAoB;AACpJ,UAAM,cAAc,cAAc,SAAS,SAAS;AACpD,SAAK,eAAe;AACpB,SAAK,eAAe;AACpB,SAAK,WAAW;AAAA,EACpB;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,kBAAiC;AAC7B,WAAO,KAAK;AAAA,EAChB;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,kBAA0B;AACtB,WAAO,KAAK;AAAA,EAChB;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,cAA6B;AACzB,WAAO,KAAK;AAAA,EAChB;AACJ;AAGA,IAAO,4BAAQ;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|