@kontur.candy/generator 5.59.0 → 5.60.0
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/index.js +116 -100
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -45071,6 +45071,42 @@ function extractGfvFromFormPath(formPath) {
|
|
|
45071
45071
|
|
|
45072
45072
|
/***/ }),
|
|
45073
45073
|
|
|
45074
|
+
/***/ "./Common/GetRngSchemaFileExtension.ts":
|
|
45075
|
+
/*!*********************************************!*\
|
|
45076
|
+
!*** ./Common/GetRngSchemaFileExtension.ts ***!
|
|
45077
|
+
\*********************************************/
|
|
45078
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
45079
|
+
|
|
45080
|
+
"use strict";
|
|
45081
|
+
__webpack_require__.r(__webpack_exports__);
|
|
45082
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
45083
|
+
/* harmony export */ getRngSchemaFileExtension: () => (/* binding */ getRngSchemaFileExtension)
|
|
45084
|
+
/* harmony export */ });
|
|
45085
|
+
/* harmony import */ var fs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! fs */ "fs");
|
|
45086
|
+
/* harmony import */ var fs__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(fs__WEBPACK_IMPORTED_MODULE_0__);
|
|
45087
|
+
/* harmony import */ var path__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! path */ "path");
|
|
45088
|
+
/* harmony import */ var path__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(path__WEBPACK_IMPORTED_MODULE_1__);
|
|
45089
|
+
|
|
45090
|
+
|
|
45091
|
+
function getRngSchemaFileExtension(formSchemasDirPath, gfv) {
|
|
45092
|
+
if (!Boolean(Number(gfv))) {
|
|
45093
|
+
return ".rng.xml";
|
|
45094
|
+
}
|
|
45095
|
+
try {
|
|
45096
|
+
const maxSubversion = (0,fs__WEBPACK_IMPORTED_MODULE_0__.readdirSync)(formSchemasDirPath).map(fileName => fileName.includes(".rng.xml") && !fileName.includes("схема.rng.xml")).filter(i => i === true).length - 1;
|
|
45097
|
+
if (maxSubversion === undefined || !(0,fs__WEBPACK_IMPORTED_MODULE_0__.existsSync)(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSchemasDirPath, `${gfv}.${maxSubversion}.rng.xml`))) {
|
|
45098
|
+
return ".rng.xml";
|
|
45099
|
+
}
|
|
45100
|
+
return `.${maxSubversion}.rng.xml`;
|
|
45101
|
+
} catch (e) {
|
|
45102
|
+
// eslint-disable-next-line no-console
|
|
45103
|
+
console.log(`Folder does not exist. ${formSchemasDirPath}`);
|
|
45104
|
+
return ".rng.xml";
|
|
45105
|
+
}
|
|
45106
|
+
}
|
|
45107
|
+
|
|
45108
|
+
/***/ }),
|
|
45109
|
+
|
|
45074
45110
|
/***/ "./Common/IndentString.ts":
|
|
45075
45111
|
/*!********************************!*\
|
|
45076
45112
|
!*** ./Common/IndentString.ts ***!
|
|
@@ -46941,43 +46977,7 @@ WellKnownDirectories.FormsDirectory = "forms";
|
|
|
46941
46977
|
WellKnownDirectories.CandySubdirectoryName = "Candy";
|
|
46942
46978
|
WellKnownDirectories.FormJsonFileName = "form.json";
|
|
46943
46979
|
WellKnownDirectories.GeneratedFormSubdirectory = "form";
|
|
46944
|
-
WellKnownDirectories.TestFarmDir = "
|
|
46945
|
-
|
|
46946
|
-
/***/ }),
|
|
46947
|
-
|
|
46948
|
-
/***/ "./Common/getRngSchemaFilename.ts":
|
|
46949
|
-
/*!****************************************!*\
|
|
46950
|
-
!*** ./Common/getRngSchemaFilename.ts ***!
|
|
46951
|
-
\****************************************/
|
|
46952
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
46953
|
-
|
|
46954
|
-
"use strict";
|
|
46955
|
-
__webpack_require__.r(__webpack_exports__);
|
|
46956
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
46957
|
-
/* harmony export */ getRngSchemaFilename: () => (/* binding */ getRngSchemaFilename)
|
|
46958
|
-
/* harmony export */ });
|
|
46959
|
-
/* harmony import */ var fs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! fs */ "fs");
|
|
46960
|
-
/* harmony import */ var fs__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(fs__WEBPACK_IMPORTED_MODULE_0__);
|
|
46961
|
-
/* harmony import */ var path__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! path */ "path");
|
|
46962
|
-
/* harmony import */ var path__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(path__WEBPACK_IMPORTED_MODULE_1__);
|
|
46963
|
-
|
|
46964
|
-
|
|
46965
|
-
const getRngSchemaFilename = (formSchemasDirPath, gfv) => {
|
|
46966
|
-
if (!Boolean(Number(gfv))) {
|
|
46967
|
-
return ".rng.xml";
|
|
46968
|
-
}
|
|
46969
|
-
try {
|
|
46970
|
-
const maxSubversion = (0,fs__WEBPACK_IMPORTED_MODULE_0__.readdirSync)(formSchemasDirPath).map(fileName => fileName.includes(".rng.xml") && !fileName.includes("схема.rng.xml")).filter(i => i === true).length - 1;
|
|
46971
|
-
if (maxSubversion === undefined || !(0,fs__WEBPACK_IMPORTED_MODULE_0__.existsSync)(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSchemasDirPath, `${gfv}.${maxSubversion}.rng.xml`))) {
|
|
46972
|
-
return ".rng.xml";
|
|
46973
|
-
}
|
|
46974
|
-
return `.${maxSubversion}.rng.xml`;
|
|
46975
|
-
} catch (e) {
|
|
46976
|
-
// eslint-disable-next-line no-console
|
|
46977
|
-
console.log(`Folder not exist. ${formSchemasDirPath}`);
|
|
46978
|
-
return ".rng.xml";
|
|
46979
|
-
}
|
|
46980
|
-
};
|
|
46980
|
+
WellKnownDirectories.TestFarmDir = "candy.farm";
|
|
46981
46981
|
|
|
46982
46982
|
/***/ }),
|
|
46983
46983
|
|
|
@@ -49418,89 +49418,80 @@ const getSumByKeysKCLangFunction = params => {
|
|
|
49418
49418
|
"use strict";
|
|
49419
49419
|
__webpack_require__.r(__webpack_exports__);
|
|
49420
49420
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
49421
|
-
/* harmony export */
|
|
49422
|
-
/* harmony export */
|
|
49421
|
+
/* harmony export */ KCLangAntlrParser: () => (/* binding */ KCLangAntlrParser),
|
|
49422
|
+
/* harmony export */ getKCLangGlobalFunctionBuilders: () => (/* binding */ getKCLangGlobalFunctionBuilders)
|
|
49423
49423
|
/* harmony export */ });
|
|
49424
49424
|
/* harmony import */ var antlr4ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! antlr4ts */ "./node_modules/antlr4ts/index.js");
|
|
49425
49425
|
/* harmony import */ var antlr4ts__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(antlr4ts__WEBPACK_IMPORTED_MODULE_0__);
|
|
49426
|
-
/* harmony import */ var
|
|
49427
|
-
/* harmony import */ var
|
|
49428
|
-
/* harmony import */ var
|
|
49429
|
-
/* harmony import */ var
|
|
49426
|
+
/* harmony import */ var _KcLangGenerated_KcLangLexer__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./KcLangGenerated/KcLangLexer */ "./Generator/src/common/KCLang/Antlr/KcLangGenerated/KcLangLexer.ts");
|
|
49427
|
+
/* harmony import */ var _KcLangGenerated_KcLang__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./KcLangGenerated/KcLang */ "./Generator/src/common/KCLang/Antlr/KcLangGenerated/KcLang.ts");
|
|
49428
|
+
/* harmony import */ var _Parser_ErrorListener__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Parser/ErrorListener */ "./Generator/src/common/KCLang/Antlr/Parser/ErrorListener.ts");
|
|
49429
|
+
/* harmony import */ var _KCLangAntlrVisitor__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./KCLangAntlrVisitor */ "./Generator/src/common/KCLang/Antlr/KCLangAntlrVisitor.ts");
|
|
49430
|
+
/* harmony import */ var _KCLangAntlrFunctions__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./KCLangAntlrFunctions */ "./Generator/src/common/KCLang/Antlr/KCLangAntlrFunctions.ts");
|
|
49431
|
+
|
|
49430
49432
|
|
|
49431
49433
|
|
|
49432
49434
|
|
|
49433
49435
|
|
|
49434
49436
|
|
|
49435
49437
|
const getKCLangGlobalFunctionBuilders = () => ({
|
|
49436
|
-
length: [
|
|
49437
|
-
abs: [
|
|
49438
|
-
xabs: [
|
|
49439
|
-
regexMatch: [
|
|
49440
|
-
round: [
|
|
49441
|
-
floor: [
|
|
49442
|
-
exists: [
|
|
49443
|
-
isSnils: [
|
|
49444
|
-
isRegNumSfr: [
|
|
49445
|
-
isInn: [
|
|
49446
|
-
firstOrDefault: [
|
|
49447
|
-
nodeps: [
|
|
49448
|
-
hashSet: [
|
|
49449
|
-
isValidAccountNumber: [
|
|
49450
|
-
isValidMirCardNumber: [
|
|
49451
|
-
getPicklistValues: [
|
|
49452
|
-
array: [
|
|
49453
|
-
sum: [
|
|
49454
|
-
substring: [
|
|
49455
|
-
count: [
|
|
49456
|
-
groupSum: [
|
|
49457
|
-
groupCount: [
|
|
49458
|
-
concat: [
|
|
49459
|
-
newline: [
|
|
49460
|
-
dateNow: [
|
|
49461
|
-
getDaysInMonth: [
|
|
49462
|
-
getDay: [
|
|
49463
|
-
getMonth: [
|
|
49464
|
-
getYear: [
|
|
49465
|
-
isDate: [
|
|
49466
|
-
differenceInMonths: [
|
|
49467
|
-
differenceInDays: [
|
|
49468
|
-
addDays: [
|
|
49469
|
-
addMonths: [
|
|
49470
|
-
addYears: [
|
|
49471
|
-
dateToString: [
|
|
49472
|
-
dateTime: [
|
|
49473
|
-
hasAutoFlag: [
|
|
49474
|
-
makeDict: [
|
|
49475
|
-
getSumByKeys: [
|
|
49438
|
+
length: [_KCLangAntlrFunctions__WEBPACK_IMPORTED_MODULE_5__.lengthKCLangFunction],
|
|
49439
|
+
abs: [_KCLangAntlrFunctions__WEBPACK_IMPORTED_MODULE_5__.absKCLangFunction],
|
|
49440
|
+
xabs: [_KCLangAntlrFunctions__WEBPACK_IMPORTED_MODULE_5__.xabsKCLangFunction],
|
|
49441
|
+
regexMatch: [_KCLangAntlrFunctions__WEBPACK_IMPORTED_MODULE_5__.regexMatchKCLangFunction],
|
|
49442
|
+
round: [_KCLangAntlrFunctions__WEBPACK_IMPORTED_MODULE_5__.roundKCLangFunction],
|
|
49443
|
+
floor: [_KCLangAntlrFunctions__WEBPACK_IMPORTED_MODULE_5__.floorKCLangFunction],
|
|
49444
|
+
exists: [_KCLangAntlrFunctions__WEBPACK_IMPORTED_MODULE_5__.existsKCLangFunction],
|
|
49445
|
+
isSnils: [_KCLangAntlrFunctions__WEBPACK_IMPORTED_MODULE_5__.isSnilsKCLangFunction],
|
|
49446
|
+
isRegNumSfr: [_KCLangAntlrFunctions__WEBPACK_IMPORTED_MODULE_5__.isRegNumSfrKCLangFunction],
|
|
49447
|
+
isInn: [_KCLangAntlrFunctions__WEBPACK_IMPORTED_MODULE_5__.isInnKCLangFunction],
|
|
49448
|
+
firstOrDefault: [_KCLangAntlrFunctions__WEBPACK_IMPORTED_MODULE_5__.firstOrDefaultKCLangFunction],
|
|
49449
|
+
nodeps: [_KCLangAntlrFunctions__WEBPACK_IMPORTED_MODULE_5__.noDepsKCLangFunction],
|
|
49450
|
+
hashSet: [_KCLangAntlrFunctions__WEBPACK_IMPORTED_MODULE_5__.hashSetKCLangFunction],
|
|
49451
|
+
isValidAccountNumber: [_KCLangAntlrFunctions__WEBPACK_IMPORTED_MODULE_5__.isValidAccountNumberKCLangFunction],
|
|
49452
|
+
isValidMirCardNumber: [_KCLangAntlrFunctions__WEBPACK_IMPORTED_MODULE_5__.isValidMirCardNumberKCLangFunction],
|
|
49453
|
+
getPicklistValues: [_KCLangAntlrFunctions__WEBPACK_IMPORTED_MODULE_5__.getPicklistValuesKCLangFunction],
|
|
49454
|
+
array: [_KCLangAntlrFunctions__WEBPACK_IMPORTED_MODULE_5__.arrayKCLangFunction],
|
|
49455
|
+
sum: [_KCLangAntlrFunctions__WEBPACK_IMPORTED_MODULE_5__.sumKCLangFunction],
|
|
49456
|
+
substring: [_KCLangAntlrFunctions__WEBPACK_IMPORTED_MODULE_5__.substringKCLangFunction],
|
|
49457
|
+
count: [_KCLangAntlrFunctions__WEBPACK_IMPORTED_MODULE_5__.countKCLangFunction],
|
|
49458
|
+
groupSum: [_KCLangAntlrFunctions__WEBPACK_IMPORTED_MODULE_5__.groupSumKCLangFunction],
|
|
49459
|
+
groupCount: [_KCLangAntlrFunctions__WEBPACK_IMPORTED_MODULE_5__.groupCountKCLangFunction],
|
|
49460
|
+
concat: [_KCLangAntlrFunctions__WEBPACK_IMPORTED_MODULE_5__.concatKCLangFunction],
|
|
49461
|
+
newline: [_KCLangAntlrFunctions__WEBPACK_IMPORTED_MODULE_5__.newlineKCLangFunction],
|
|
49462
|
+
dateNow: [_KCLangAntlrFunctions__WEBPACK_IMPORTED_MODULE_5__.dateNowKCLangFunction],
|
|
49463
|
+
getDaysInMonth: [_KCLangAntlrFunctions__WEBPACK_IMPORTED_MODULE_5__.getDaysInMonthKCLangFunction],
|
|
49464
|
+
getDay: [_KCLangAntlrFunctions__WEBPACK_IMPORTED_MODULE_5__.getDayKCLangFunction],
|
|
49465
|
+
getMonth: [_KCLangAntlrFunctions__WEBPACK_IMPORTED_MODULE_5__.getMonthKCLangFunction],
|
|
49466
|
+
getYear: [_KCLangAntlrFunctions__WEBPACK_IMPORTED_MODULE_5__.getYearKCLangFunction],
|
|
49467
|
+
isDate: [_KCLangAntlrFunctions__WEBPACK_IMPORTED_MODULE_5__.isDateInMonthKCLangFunction],
|
|
49468
|
+
differenceInMonths: [_KCLangAntlrFunctions__WEBPACK_IMPORTED_MODULE_5__.differenceInMonthsKCLangFunction],
|
|
49469
|
+
differenceInDays: [_KCLangAntlrFunctions__WEBPACK_IMPORTED_MODULE_5__.differenceInDaysKCLangFunction],
|
|
49470
|
+
addDays: [_KCLangAntlrFunctions__WEBPACK_IMPORTED_MODULE_5__.addDaysKCLangFunction],
|
|
49471
|
+
addMonths: [_KCLangAntlrFunctions__WEBPACK_IMPORTED_MODULE_5__.addMonthsKCLangFunction],
|
|
49472
|
+
addYears: [_KCLangAntlrFunctions__WEBPACK_IMPORTED_MODULE_5__.addYearsKCLangFunction],
|
|
49473
|
+
dateToString: [_KCLangAntlrFunctions__WEBPACK_IMPORTED_MODULE_5__.dateToStringKCLangFunction],
|
|
49474
|
+
dateTime: [_KCLangAntlrFunctions__WEBPACK_IMPORTED_MODULE_5__.dateTimeKCLangFunction],
|
|
49475
|
+
hasAutoFlag: [_KCLangAntlrFunctions__WEBPACK_IMPORTED_MODULE_5__.hasAutoFlagKCLangFunction],
|
|
49476
|
+
makeDict: [_KCLangAntlrFunctions__WEBPACK_IMPORTED_MODULE_5__.makeDictKCLangFunction],
|
|
49477
|
+
getSumByKeys: [_KCLangAntlrFunctions__WEBPACK_IMPORTED_MODULE_5__.getSumByKeysKCLangFunction]
|
|
49476
49478
|
});
|
|
49477
|
-
class ErrorListener {
|
|
49478
|
-
constructor() {
|
|
49479
|
-
this.innerErrorMessages = [];
|
|
49480
|
-
}
|
|
49481
|
-
get errorMessages() {
|
|
49482
|
-
return this.innerErrorMessages;
|
|
49483
|
-
}
|
|
49484
|
-
syntaxError(recognizer, offendingSymbol, line, charPositionInLine, msg, e) {
|
|
49485
|
-
this.innerErrorMessages.push(`Parsing error at [${line}, ${charPositionInLine}]. Message: ${msg}`);
|
|
49486
|
-
}
|
|
49487
|
-
}
|
|
49488
49479
|
class KCLangAntlrParser {
|
|
49489
49480
|
static parse(code) {
|
|
49490
49481
|
const chars = antlr4ts__WEBPACK_IMPORTED_MODULE_0__.CharStreams.fromString(code);
|
|
49491
|
-
const lexer = new
|
|
49492
|
-
const errorListener = new ErrorListener();
|
|
49482
|
+
const lexer = new _KcLangGenerated_KcLangLexer__WEBPACK_IMPORTED_MODULE_1__.KcLangLexer(chars);
|
|
49483
|
+
const errorListener = new _Parser_ErrorListener__WEBPACK_IMPORTED_MODULE_3__.ErrorListener();
|
|
49493
49484
|
lexer.removeErrorListeners();
|
|
49494
49485
|
lexer.addErrorListener(errorListener);
|
|
49495
49486
|
const tokens = new antlr4ts__WEBPACK_IMPORTED_MODULE_0__.CommonTokenStream(lexer);
|
|
49496
|
-
const parser = new
|
|
49487
|
+
const parser = new _KcLangGenerated_KcLang__WEBPACK_IMPORTED_MODULE_2__.KcLang(tokens);
|
|
49497
49488
|
parser.removeErrorListeners();
|
|
49498
49489
|
parser.addErrorListener(errorListener);
|
|
49499
49490
|
const tree = parser.kclang();
|
|
49500
49491
|
if (errorListener.errorMessages.length > 0) {
|
|
49501
49492
|
throw new Error(errorListener.errorMessages.join("\r\n"));
|
|
49502
49493
|
}
|
|
49503
|
-
const visitor = new
|
|
49494
|
+
const visitor = new _KCLangAntlrVisitor__WEBPACK_IMPORTED_MODULE_4__.KCLangAntlrVisitor(getKCLangGlobalFunctionBuilders());
|
|
49504
49495
|
const result = tree.accept(visitor);
|
|
49505
49496
|
return result;
|
|
49506
49497
|
}
|
|
@@ -56829,6 +56820,31 @@ KcLangLexer.__ATN = void 0;
|
|
|
56829
56820
|
|
|
56830
56821
|
/***/ }),
|
|
56831
56822
|
|
|
56823
|
+
/***/ "./Generator/src/common/KCLang/Antlr/Parser/ErrorListener.ts":
|
|
56824
|
+
/*!*******************************************************************!*\
|
|
56825
|
+
!*** ./Generator/src/common/KCLang/Antlr/Parser/ErrorListener.ts ***!
|
|
56826
|
+
\*******************************************************************/
|
|
56827
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
56828
|
+
|
|
56829
|
+
"use strict";
|
|
56830
|
+
__webpack_require__.r(__webpack_exports__);
|
|
56831
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
56832
|
+
/* harmony export */ ErrorListener: () => (/* binding */ ErrorListener)
|
|
56833
|
+
/* harmony export */ });
|
|
56834
|
+
class ErrorListener {
|
|
56835
|
+
constructor() {
|
|
56836
|
+
this.innerErrorMessages = [];
|
|
56837
|
+
}
|
|
56838
|
+
get errorMessages() {
|
|
56839
|
+
return this.innerErrorMessages;
|
|
56840
|
+
}
|
|
56841
|
+
syntaxError(recognizer, offendingSymbol, line, charPositionInLine, msg, e) {
|
|
56842
|
+
this.innerErrorMessages.push(`Parsing error at [${line}, ${charPositionInLine}]. Message: ${msg}`);
|
|
56843
|
+
}
|
|
56844
|
+
}
|
|
56845
|
+
|
|
56846
|
+
/***/ }),
|
|
56847
|
+
|
|
56832
56848
|
/***/ "./Generator/src/common/KCLang/IKCLangExpressionVisitor.ts":
|
|
56833
56849
|
/*!*****************************************************************!*\
|
|
56834
56850
|
!*** ./Generator/src/common/KCLang/IKCLangExpressionVisitor.ts ***!
|
|
@@ -67761,7 +67777,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
67761
67777
|
/* harmony import */ var recursive_readdir__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! recursive-readdir */ "./node_modules/recursive-readdir/index.js");
|
|
67762
67778
|
/* harmony import */ var recursive_readdir__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(recursive_readdir__WEBPACK_IMPORTED_MODULE_6__);
|
|
67763
67779
|
/* harmony import */ var _common_ExtractSugarReferences__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../common/ExtractSugarReferences */ "./Generator/src/common/ExtractSugarReferences.ts");
|
|
67764
|
-
/* harmony import */ var
|
|
67780
|
+
/* harmony import */ var _Common_GetRngSchemaFileExtension__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../Common/GetRngSchemaFileExtension */ "./Common/GetRngSchemaFileExtension.ts");
|
|
67765
67781
|
/* harmony import */ var _Common_FormPathUtils__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../Common/FormPathUtils */ "./Common/FormPathUtils.ts");
|
|
67766
67782
|
|
|
67767
67783
|
|
|
@@ -68003,7 +68019,7 @@ async function connectJSFilesWithNames(formJavaScriptFilesPath) {
|
|
|
68003
68019
|
}
|
|
68004
68020
|
}
|
|
68005
68021
|
function readSchemaRngFile(formSchemasPath, gfv) {
|
|
68006
|
-
return readFileAsync(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSchemasPath, `${gfv}${(0,
|
|
68022
|
+
return readFileAsync(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSchemasPath, `${gfv}${(0,_Common_GetRngSchemaFileExtension__WEBPACK_IMPORTED_MODULE_8__.getRngSchemaFileExtension)(formSchemasPath, gfv)}`), "utf-8");
|
|
68007
68023
|
}
|
|
68008
68024
|
function readHooksFile(formDirectoryPath) {
|
|
68009
68025
|
return readFileAsync(path__WEBPACK_IMPORTED_MODULE_1___default().join(formDirectoryPath, "hooks.js"), "utf-8").catch(() => "");
|