@modern-js/server-generator 3.1.17 → 3.1.18
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 -145
- package/package.json +10 -10
package/dist/index.js
CHANGED
|
@@ -35143,6 +35143,8 @@ var require_chainId = __commonJS({
|
|
|
35143
35143
|
BOTTOM_TEMPLATE: "bottom-template",
|
|
35144
35144
|
/** HtmlCrossOriginPlugin */
|
|
35145
35145
|
HTML_CROSS_ORIGIN: "html-cross-origin",
|
|
35146
|
+
/** HtmlNoncePlugin */
|
|
35147
|
+
HTML_NONCE: "html-nonce",
|
|
35146
35148
|
/** MiniCssExtractPlugin */
|
|
35147
35149
|
MINI_CSS_EXTRACT: "mini-css-extract",
|
|
35148
35150
|
/** ReactFastRefreshPlugin */
|
|
@@ -118015,11 +118017,18 @@ function getModernPluginVersion(_0, _1) {
|
|
|
118015
118017
|
if (!packageName.startsWith("@modern-js") || packageName.includes("electron") || packageName.includes("codesmith") || packageName.includes("easy-form") || packageName.startsWith("@modern-js-reduck")) {
|
|
118016
118018
|
return getLatetPluginVersion("latest");
|
|
118017
118019
|
}
|
|
118018
|
-
|
|
118020
|
+
let pkgPath = import_path.default.join(require.resolve(SolutionToolsMap[solution], {
|
|
118019
118021
|
paths: [
|
|
118020
118022
|
cwd
|
|
118021
118023
|
]
|
|
118022
|
-
}), "
|
|
118024
|
+
}), "../../..", "package.json");
|
|
118025
|
+
if (solution === Solution.Module) {
|
|
118026
|
+
pkgPath = import_path.default.join(require.resolve(SolutionToolsMap[solution], {
|
|
118027
|
+
paths: [
|
|
118028
|
+
cwd
|
|
118029
|
+
]
|
|
118030
|
+
}), "../..", "package.json");
|
|
118031
|
+
}
|
|
118023
118032
|
if (import_utils3.fs.existsSync(pkgPath)) {
|
|
118024
118033
|
const pkgInfo = import_utils3.fs.readJSONSync(pkgPath);
|
|
118025
118034
|
const modernVersion = pkgInfo.version;
|
|
@@ -118078,11 +118087,11 @@ var mime = Import.lazy("../compiled/mime-types", require);
|
|
|
118078
118087
|
var chokidar = Import.lazy("../compiled/chokidar", require);
|
|
118079
118088
|
var inquirer = Import.lazy("../compiled/inquirer", require);
|
|
118080
118089
|
|
|
118081
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.
|
|
118090
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-api-app/dist/esm/index.js
|
|
118082
118091
|
var import_lodash8 = __toESM(require_lodash4());
|
|
118083
118092
|
var import_comment_json = __toESM(require_src2());
|
|
118084
118093
|
|
|
118085
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.2.
|
|
118094
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.2.3/node_modules/@modern-js/codesmith-api-npm/dist/esm/utils/env.js
|
|
118086
118095
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
118087
118096
|
try {
|
|
118088
118097
|
var info = gen[key](arg);
|
|
@@ -118390,7 +118399,7 @@ function _canUsePnpm() {
|
|
|
118390
118399
|
return _canUsePnpm.apply(this, arguments);
|
|
118391
118400
|
}
|
|
118392
118401
|
|
|
118393
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.2.
|
|
118402
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.2.3/node_modules/@modern-js/codesmith-api-npm/dist/esm/utils/install.js
|
|
118394
118403
|
function asyncGeneratorStep2(gen, resolve, reject, _next, _throw, key, arg) {
|
|
118395
118404
|
try {
|
|
118396
118405
|
var info = gen[key](arg);
|
|
@@ -118757,7 +118766,7 @@ function _pnpmInstall() {
|
|
|
118757
118766
|
return _pnpmInstall.apply(this, arguments);
|
|
118758
118767
|
}
|
|
118759
118768
|
|
|
118760
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.2.
|
|
118769
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.2.3/node_modules/@modern-js/codesmith-api-npm/dist/esm/index.js
|
|
118761
118770
|
function _class_call_check(instance, Constructor) {
|
|
118762
118771
|
if (!(instance instanceof Constructor)) {
|
|
118763
118772
|
throw new TypeError("Cannot call a class as a function");
|
|
@@ -118838,7 +118847,7 @@ var NpmAPI = /* @__PURE__ */ function() {
|
|
|
118838
118847
|
return NpmAPI2;
|
|
118839
118848
|
}();
|
|
118840
118849
|
|
|
118841
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.2.
|
|
118850
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.2.3_@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith-api-git/dist/esm/utils/index.js
|
|
118842
118851
|
function asyncGeneratorStep3(gen, resolve, reject, _next, _throw, key, arg) {
|
|
118843
118852
|
try {
|
|
118844
118853
|
var info = gen[key](arg);
|
|
@@ -119180,7 +119189,7 @@ function _gitCommit() {
|
|
|
119180
119189
|
return _gitCommit.apply(this, arguments);
|
|
119181
119190
|
}
|
|
119182
119191
|
|
|
119183
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.2.
|
|
119192
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.2.3_@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith-api-git/dist/esm/index.js
|
|
119184
119193
|
function asyncGeneratorStep4(gen, resolve, reject, _next, _throw, key, arg) {
|
|
119185
119194
|
try {
|
|
119186
119195
|
var info = gen[key](arg);
|
|
@@ -119511,11 +119520,11 @@ var GitAPI = /* @__PURE__ */ function() {
|
|
|
119511
119520
|
return GitAPI2;
|
|
119512
119521
|
}();
|
|
119513
119522
|
|
|
119514
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.
|
|
119523
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith/dist/esm/materials/FsResource.js
|
|
119515
119524
|
var import_path2 = __toESM(require("path"));
|
|
119516
119525
|
var FS_RESOURCE = "_codesmith_core_fs_resource";
|
|
119517
119526
|
|
|
119518
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.
|
|
119527
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith/dist/esm/utils/fsExists.js
|
|
119519
119528
|
function asyncGeneratorStep5(gen, resolve, reject, _next, _throw, key, arg) {
|
|
119520
119529
|
try {
|
|
119521
119530
|
var info = gen[key](arg);
|
|
@@ -119688,7 +119697,7 @@ function _fsExists() {
|
|
|
119688
119697
|
return _fsExists.apply(this, arguments);
|
|
119689
119698
|
}
|
|
119690
119699
|
|
|
119691
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.2.
|
|
119700
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.2.3_@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith-api-handlebars/dist/esm/utils/renderString.js
|
|
119692
119701
|
var import_handlebars = __toESM(require_lib());
|
|
119693
119702
|
function _define_property5(obj, key, value) {
|
|
119694
119703
|
if (key in obj) {
|
|
@@ -119730,7 +119739,7 @@ function renderString(template, fullData, registers) {
|
|
|
119730
119739
|
return import_handlebars.default.compile(template)(fullData) || "";
|
|
119731
119740
|
}
|
|
119732
119741
|
|
|
119733
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.2.
|
|
119742
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.2.3_@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith-api-handlebars/dist/esm/index.js
|
|
119734
119743
|
function asyncGeneratorStep6(gen, resolve, reject, _next, _throw, key, arg) {
|
|
119735
119744
|
try {
|
|
119736
119745
|
var info = gen[key](arg);
|
|
@@ -120048,13 +120057,13 @@ var HandlebarsAPI = /* @__PURE__ */ function() {
|
|
|
120048
120057
|
return HandlebarsAPI2;
|
|
120049
120058
|
}();
|
|
120050
120059
|
|
|
120051
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.2.
|
|
120060
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.2.3_@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith-api-ejs/dist/esm/utils/renderString.js
|
|
120052
120061
|
var import_ejs = __toESM(require_ejs());
|
|
120053
120062
|
function renderString2(template, fullData) {
|
|
120054
120063
|
return import_ejs.default.render(template, fullData) || "";
|
|
120055
120064
|
}
|
|
120056
120065
|
|
|
120057
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.2.
|
|
120066
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.2.3_@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith-api-ejs/dist/esm/index.js
|
|
120058
120067
|
function asyncGeneratorStep7(gen, resolve, reject, _next, _throw, key, arg) {
|
|
120059
120068
|
try {
|
|
120060
120069
|
var info = gen[key](arg);
|
|
@@ -120324,24 +120333,8 @@ var EjsAPI = /* @__PURE__ */ function() {
|
|
|
120324
120333
|
return EjsAPI2;
|
|
120325
120334
|
}();
|
|
120326
120335
|
|
|
120327
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-fs@2.2.
|
|
120336
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-fs@2.2.3_@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith-api-fs/dist/esm/index.js
|
|
120328
120337
|
var import_path3 = __toESM(require("path"));
|
|
120329
|
-
|
|
120330
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-fs@2.2.0_@modern-js+codesmith@2.2.0/node_modules/@modern-js/codesmith-api-fs/dist/esm/constant.js
|
|
120331
|
-
var imageExtNameList = [
|
|
120332
|
-
".jpg",
|
|
120333
|
-
".jpeg",
|
|
120334
|
-
".png",
|
|
120335
|
-
".gif",
|
|
120336
|
-
".bmp",
|
|
120337
|
-
".ico",
|
|
120338
|
-
".icon",
|
|
120339
|
-
".mpt",
|
|
120340
|
-
".psd",
|
|
120341
|
-
".wmf"
|
|
120342
|
-
];
|
|
120343
|
-
|
|
120344
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-fs@2.2.0_@modern-js+codesmith@2.2.0/node_modules/@modern-js/codesmith-api-fs/dist/esm/index.js
|
|
120345
120338
|
function asyncGeneratorStep8(gen, resolve, reject, _next, _throw, key, arg) {
|
|
120346
120339
|
try {
|
|
120347
120340
|
var info = gen[key](arg);
|
|
@@ -120521,48 +120514,26 @@ var FsAPI = /* @__PURE__ */ function() {
|
|
|
120521
120514
|
value: function renderFile(resource, target) {
|
|
120522
120515
|
var _this = this;
|
|
120523
120516
|
return _async_to_generator8(function() {
|
|
120524
|
-
var
|
|
120517
|
+
var filePath;
|
|
120525
120518
|
return __generator8(this, function(_state) {
|
|
120526
120519
|
switch (_state.label) {
|
|
120527
120520
|
case 0:
|
|
120528
120521
|
if (resource._type !== FS_RESOURCE) {
|
|
120529
120522
|
throw new Error("resource not match");
|
|
120530
120523
|
}
|
|
120524
|
+
filePath = import_path3.default.resolve(_this.generatorCore.outputPath, target.toString());
|
|
120531
120525
|
return [
|
|
120532
120526
|
4,
|
|
120533
|
-
|
|
120527
|
+
import_fs_extra.default.mkdirp(import_path3.default.dirname(filePath))
|
|
120534
120528
|
];
|
|
120535
120529
|
case 1:
|
|
120536
|
-
resourceValue = _state.sent();
|
|
120537
|
-
resourceFileExt = import_path3.default.extname(resource.filePath);
|
|
120538
|
-
if (!imageExtNameList.includes(resourceFileExt))
|
|
120539
|
-
return [
|
|
120540
|
-
3,
|
|
120541
|
-
3
|
|
120542
|
-
];
|
|
120543
|
-
return [
|
|
120544
|
-
4,
|
|
120545
|
-
_this.generatorCore.output.fs(target, resourceValue.content, {
|
|
120546
|
-
encoding: "binary"
|
|
120547
|
-
})
|
|
120548
|
-
];
|
|
120549
|
-
case 2:
|
|
120550
120530
|
_state.sent();
|
|
120551
|
-
return [
|
|
120552
|
-
3,
|
|
120553
|
-
5
|
|
120554
|
-
];
|
|
120555
|
-
case 3:
|
|
120556
120531
|
return [
|
|
120557
120532
|
4,
|
|
120558
|
-
|
|
120559
|
-
encoding: "utf-8"
|
|
120560
|
-
})
|
|
120533
|
+
import_fs_extra.default.copyFile(resource.filePath, filePath)
|
|
120561
120534
|
];
|
|
120562
|
-
case
|
|
120535
|
+
case 2:
|
|
120563
120536
|
_state.sent();
|
|
120564
|
-
_state.label = 5;
|
|
120565
|
-
case 5:
|
|
120566
120537
|
return [
|
|
120567
120538
|
2
|
|
120568
120539
|
];
|
|
@@ -120625,7 +120596,7 @@ var FsAPI = /* @__PURE__ */ function() {
|
|
|
120625
120596
|
return FsAPI2;
|
|
120626
120597
|
}();
|
|
120627
120598
|
|
|
120628
|
-
// ../../../../node_modules/.pnpm/@formily+shared@2.2.
|
|
120599
|
+
// ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/checkers.js
|
|
120629
120600
|
var toString = Object.prototype.toString;
|
|
120630
120601
|
var isType = function(type) {
|
|
120631
120602
|
return function(obj) {
|
|
@@ -120651,7 +120622,7 @@ var isObj = function(val) {
|
|
|
120651
120622
|
};
|
|
120652
120623
|
var isRegExp = isType("RegExp");
|
|
120653
120624
|
|
|
120654
|
-
// ../../../../node_modules/.pnpm/@formily+shared@2.2.
|
|
120625
|
+
// ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/array.js
|
|
120655
120626
|
var toArr = function(val) {
|
|
120656
120627
|
return isArr(val) ? val : val ? [val] : [];
|
|
120657
120628
|
};
|
|
@@ -120702,7 +120673,7 @@ function reduce(val, iterator, accumulator, revert) {
|
|
|
120702
120673
|
return result;
|
|
120703
120674
|
}
|
|
120704
120675
|
|
|
120705
|
-
// ../../../../node_modules/.pnpm/@formily+shared@2.2.
|
|
120676
|
+
// ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/global.js
|
|
120706
120677
|
function globalSelf() {
|
|
120707
120678
|
try {
|
|
120708
120679
|
if (typeof self !== "undefined") {
|
|
@@ -120726,7 +120697,7 @@ function globalSelf() {
|
|
|
120726
120697
|
}
|
|
120727
120698
|
var globalThisPolyfill = globalSelf();
|
|
120728
120699
|
|
|
120729
|
-
// ../../../../node_modules/.pnpm/@formily+shared@2.2.
|
|
120700
|
+
// ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/instanceof.js
|
|
120730
120701
|
var instOf = function(value, cls) {
|
|
120731
120702
|
if (isFn(cls))
|
|
120732
120703
|
return value instanceof cls;
|
|
@@ -120735,7 +120706,7 @@ var instOf = function(value, cls) {
|
|
|
120735
120706
|
return false;
|
|
120736
120707
|
};
|
|
120737
120708
|
|
|
120738
|
-
// ../../../../node_modules/.pnpm/@formily+shared@2.2.
|
|
120709
|
+
// ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/compare.js
|
|
120739
120710
|
var isArray = isArr;
|
|
120740
120711
|
var keyList = Object.keys;
|
|
120741
120712
|
var hasProp = Object.prototype.hasOwnProperty;
|
|
@@ -120842,7 +120813,7 @@ var isEqual = function exportedEqual(a, b) {
|
|
|
120842
120813
|
}
|
|
120843
120814
|
};
|
|
120844
120815
|
|
|
120845
|
-
// ../../../../node_modules/.pnpm/@formily+shared@2.2.
|
|
120816
|
+
// ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/clone.js
|
|
120846
120817
|
var clone = function(values) {
|
|
120847
120818
|
if (Array.isArray(values)) {
|
|
120848
120819
|
var res_1 = [];
|
|
@@ -120878,7 +120849,7 @@ var clone = function(values) {
|
|
|
120878
120849
|
}
|
|
120879
120850
|
};
|
|
120880
120851
|
|
|
120881
|
-
// ../../../../node_modules/.pnpm/@formily+shared@2.2.
|
|
120852
|
+
// ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/isEmpty.js
|
|
120882
120853
|
var has = Object.prototype.hasOwnProperty;
|
|
120883
120854
|
var toString2 = Object.prototype.toString;
|
|
120884
120855
|
var isUndef = function(val) {
|
|
@@ -121006,7 +120977,7 @@ function pascalCase(input, options) {
|
|
|
121006
120977
|
return noCase(input, __assign({ delimiter: "", transform: pascalCaseTransform }, options));
|
|
121007
120978
|
}
|
|
121008
120979
|
|
|
121009
|
-
// ../../../../node_modules/.pnpm/@formily+shared@2.2.
|
|
120980
|
+
// ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/string.js
|
|
121010
120981
|
var ansiRegex2 = function() {
|
|
121011
120982
|
var pattern = [
|
|
121012
120983
|
"[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[a-zA-Z\\d]*)*)?\\u0007)",
|
|
@@ -121025,7 +120996,7 @@ var stringLength = function(input) {
|
|
|
121025
120996
|
return stripAnsi3(input).replace(astralRegex(), " ").length;
|
|
121026
120997
|
};
|
|
121027
120998
|
|
|
121028
|
-
// ../../../../node_modules/.pnpm/@formily+path@2.2.
|
|
120999
|
+
// ../../../../node_modules/.pnpm/@formily+path@2.2.24/node_modules/@formily/path/esm/contexts.js
|
|
121029
121000
|
var __assign2 = function() {
|
|
121030
121001
|
__assign2 = Object.assign || function(t) {
|
|
121031
121002
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -121048,7 +121019,7 @@ var parenContext = ContextType("()");
|
|
|
121048
121019
|
var braceContext = ContextType("{}");
|
|
121049
121020
|
var destructorContext = ContextType("{x}");
|
|
121050
121021
|
|
|
121051
|
-
// ../../../../node_modules/.pnpm/@formily+path@2.2.
|
|
121022
|
+
// ../../../../node_modules/.pnpm/@formily+path@2.2.24/node_modules/@formily/path/esm/tokens.js
|
|
121052
121023
|
var __assign3 = function() {
|
|
121053
121024
|
__assign3 = Object.assign || function(t) {
|
|
121054
121025
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -121216,7 +121187,7 @@ var expandTok = TokenType("expandTok", {
|
|
|
121216
121187
|
});
|
|
121217
121188
|
var eofTok = TokenType("eof");
|
|
121218
121189
|
|
|
121219
|
-
// ../../../../node_modules/.pnpm/@formily+path@2.2.
|
|
121190
|
+
// ../../../../node_modules/.pnpm/@formily+path@2.2.24/node_modules/@formily/path/esm/tokenizer.js
|
|
121220
121191
|
var nonASCIIWhitespace = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/;
|
|
121221
121192
|
var fullCharCodeAtPos = function(input, pos) {
|
|
121222
121193
|
if (String.fromCharCode)
|
|
@@ -121468,7 +121439,7 @@ var Tokenizer = (
|
|
|
121468
121439
|
}()
|
|
121469
121440
|
);
|
|
121470
121441
|
|
|
121471
|
-
// ../../../../node_modules/.pnpm/@formily+path@2.2.
|
|
121442
|
+
// ../../../../node_modules/.pnpm/@formily+path@2.2.24/node_modules/@formily/path/esm/types.js
|
|
121472
121443
|
var isType2 = function(type) {
|
|
121473
121444
|
return function(obj) {
|
|
121474
121445
|
return obj && obj.type === type;
|
|
@@ -121486,7 +121457,7 @@ var isObjectPattern = isType2("ObjectPattern");
|
|
|
121486
121457
|
var isObjectPatternProperty = isType2("ObjectPatternProperty");
|
|
121487
121458
|
var isArrayPattern = isType2("ArrayPattern");
|
|
121488
121459
|
|
|
121489
|
-
// ../../../../node_modules/.pnpm/@formily+path@2.2.
|
|
121460
|
+
// ../../../../node_modules/.pnpm/@formily+path@2.2.24/node_modules/@formily/path/esm/shared.js
|
|
121490
121461
|
var toString3 = Object.prototype.toString;
|
|
121491
121462
|
var isType3 = function(type) {
|
|
121492
121463
|
return function(obj) {
|
|
@@ -121563,7 +121534,7 @@ var isSegmentEqual = function(a, b) {
|
|
|
121563
121534
|
return a === b;
|
|
121564
121535
|
};
|
|
121565
121536
|
|
|
121566
|
-
// ../../../../node_modules/.pnpm/@formily+path@2.2.
|
|
121537
|
+
// ../../../../node_modules/.pnpm/@formily+path@2.2.24/node_modules/@formily/path/esm/destructor.js
|
|
121567
121538
|
var DestructorCache = /* @__PURE__ */ new Map();
|
|
121568
121539
|
var isValid2 = function(val) {
|
|
121569
121540
|
return val !== void 0 && val !== null;
|
|
@@ -121681,7 +121652,7 @@ var existInByDestructor = function(source, rules, start, mutators) {
|
|
|
121681
121652
|
});
|
|
121682
121653
|
};
|
|
121683
121654
|
|
|
121684
|
-
// ../../../../node_modules/.pnpm/@formily+path@2.2.
|
|
121655
|
+
// ../../../../node_modules/.pnpm/@formily+path@2.2.24/node_modules/@formily/path/esm/parser.js
|
|
121685
121656
|
var __extends = function() {
|
|
121686
121657
|
var extendStatics = function(d, b) {
|
|
121687
121658
|
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
|
|
@@ -122072,7 +122043,7 @@ var Parser = (
|
|
|
122072
122043
|
}(Tokenizer)
|
|
122073
122044
|
);
|
|
122074
122045
|
|
|
122075
|
-
// ../../../../node_modules/.pnpm/@formily+path@2.2.
|
|
122046
|
+
// ../../../../node_modules/.pnpm/@formily+path@2.2.24/node_modules/@formily/path/esm/matcher.js
|
|
122076
122047
|
var Matcher = (
|
|
122077
122048
|
/** @class */
|
|
122078
122049
|
function() {
|
|
@@ -122254,7 +122225,7 @@ var Matcher = (
|
|
|
122254
122225
|
}()
|
|
122255
122226
|
);
|
|
122256
122227
|
|
|
122257
|
-
// ../../../../node_modules/.pnpm/@formily+path@2.2.
|
|
122228
|
+
// ../../../../node_modules/.pnpm/@formily+path@2.2.24/node_modules/@formily/path/esm/index.js
|
|
122258
122229
|
var __read = function(o, n) {
|
|
122259
122230
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
122260
122231
|
if (!m)
|
|
@@ -122808,7 +122779,7 @@ var Path = (
|
|
|
122808
122779
|
}()
|
|
122809
122780
|
);
|
|
122810
122781
|
|
|
122811
|
-
// ../../../../node_modules/.pnpm/@formily+shared@2.2.
|
|
122782
|
+
// ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/subscribable.js
|
|
122812
122783
|
var Subscribable = (
|
|
122813
122784
|
/** @class */
|
|
122814
122785
|
function() {
|
|
@@ -122860,7 +122831,7 @@ var Subscribable = (
|
|
|
122860
122831
|
}()
|
|
122861
122832
|
);
|
|
122862
122833
|
|
|
122863
|
-
// ../../../../node_modules/.pnpm/@formily+shared@2.2.
|
|
122834
|
+
// ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/merge.js
|
|
122864
122835
|
function defaultIsMergeableObject(value) {
|
|
122865
122836
|
return isNonNullObject(value) && !isSpecial(value);
|
|
122866
122837
|
}
|
|
@@ -123053,7 +123024,7 @@ var lazyMerge = function(target) {
|
|
|
123053
123024
|
};
|
|
123054
123025
|
var merge = deepmerge;
|
|
123055
123026
|
|
|
123056
|
-
// ../../../../node_modules/.pnpm/@formily+shared@2.2.
|
|
123027
|
+
// ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/uid.js
|
|
123057
123028
|
var IDX = 36;
|
|
123058
123029
|
var HEX = "";
|
|
123059
123030
|
while (IDX--)
|
|
@@ -123065,7 +123036,7 @@ function uid(len) {
|
|
|
123065
123036
|
return str;
|
|
123066
123037
|
}
|
|
123067
123038
|
|
|
123068
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
123039
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/checkers.js
|
|
123069
123040
|
var toString4 = Object.prototype.toString;
|
|
123070
123041
|
var isMap = function(val) {
|
|
123071
123042
|
return val && val instanceof Map;
|
|
@@ -123096,7 +123067,7 @@ var isNormalType = function(target) {
|
|
|
123096
123067
|
return isPlainObj3(target) || isArr3(target);
|
|
123097
123068
|
};
|
|
123098
123069
|
|
|
123099
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
123070
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/array.js
|
|
123100
123071
|
var toArray = function(value) {
|
|
123101
123072
|
return Array.isArray(value) ? value : value !== void 0 && value !== null ? [value] : [];
|
|
123102
123073
|
};
|
|
@@ -123160,7 +123131,7 @@ var ArraySet = (
|
|
|
123160
123131
|
}()
|
|
123161
123132
|
);
|
|
123162
123133
|
|
|
123163
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
123134
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/environment.js
|
|
123164
123135
|
var ProxyRaw = /* @__PURE__ */ new WeakMap();
|
|
123165
123136
|
var RawProxy = /* @__PURE__ */ new WeakMap();
|
|
123166
123137
|
var RawShallowProxy = /* @__PURE__ */ new WeakMap();
|
|
@@ -123179,7 +123150,7 @@ var MakeObModelSymbol = Symbol("MakeObModelSymbol");
|
|
|
123179
123150
|
var ObModelSymbol = Symbol("ObModelSymbol");
|
|
123180
123151
|
var ObModelNodeSymbol = Symbol("ObModelNodeSymbol");
|
|
123181
123152
|
|
|
123182
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
123153
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/reaction.js
|
|
123183
123154
|
var ITERATION_KEY = Symbol("iteration key");
|
|
123184
123155
|
var addRawReactionsMap = function(target, key, reaction2) {
|
|
123185
123156
|
var reactionsMap = RawReactionsMap.get(target);
|
|
@@ -123409,7 +123380,7 @@ var disposeEffects = function(reaction2) {
|
|
|
123409
123380
|
}
|
|
123410
123381
|
};
|
|
123411
123382
|
|
|
123412
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
123383
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/tree.js
|
|
123413
123384
|
var DataChange = (
|
|
123414
123385
|
/** @class */
|
|
123415
123386
|
function() {
|
|
@@ -123505,7 +123476,7 @@ var buildDataTree = function(target, key, value) {
|
|
|
123505
123476
|
setDataNode(raw2, new DataNode(target, key, value));
|
|
123506
123477
|
};
|
|
123507
123478
|
|
|
123508
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
123479
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/externals.js
|
|
123509
123480
|
var RAW_TYPE = Symbol("RAW_TYPE");
|
|
123510
123481
|
var OBSERVABLE_TYPE = Symbol("OBSERVABLE_TYPE");
|
|
123511
123482
|
var hasOwnProperty2 = Object.prototype.hasOwnProperty;
|
|
@@ -123607,7 +123578,7 @@ var hasCollected = function(callback) {
|
|
|
123607
123578
|
return DependencyCollected.value;
|
|
123608
123579
|
};
|
|
123609
123580
|
|
|
123610
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
123581
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/handlers.js
|
|
123611
123582
|
var __read2 = function(o, n) {
|
|
123612
123583
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
123613
123584
|
if (!m)
|
|
@@ -123863,7 +123834,7 @@ var baseHandlers = {
|
|
|
123863
123834
|
}
|
|
123864
123835
|
};
|
|
123865
123836
|
|
|
123866
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
123837
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/internals.js
|
|
123867
123838
|
var createNormalProxy = function(target, shallow2) {
|
|
123868
123839
|
var proxy = new Proxy(target, baseHandlers);
|
|
123869
123840
|
ProxyRaw.set(proxy, target);
|
|
@@ -123978,7 +123949,7 @@ var createBoundaryAnnotation = function(start, end) {
|
|
|
123978
123949
|
return boundary;
|
|
123979
123950
|
};
|
|
123980
123951
|
|
|
123981
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
123952
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/batch.js
|
|
123982
123953
|
var batch = createBoundaryAnnotation(batchStart, batchEnd);
|
|
123983
123954
|
batch.scope = createBoundaryAnnotation(batchScopeStart, batchScopeEnd);
|
|
123984
123955
|
batch.endpoint = function(callback) {
|
|
@@ -123991,7 +123962,7 @@ batch.endpoint = function(callback) {
|
|
|
123991
123962
|
}
|
|
123992
123963
|
};
|
|
123993
123964
|
|
|
123994
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
123965
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/action.js
|
|
123995
123966
|
var action = createBoundaryAnnotation(function() {
|
|
123996
123967
|
batchStart();
|
|
123997
123968
|
untrackStart();
|
|
@@ -124007,10 +123978,10 @@ action.scope = createBoundaryAnnotation(function() {
|
|
|
124007
123978
|
batchScopeEnd();
|
|
124008
123979
|
});
|
|
124009
123980
|
|
|
124010
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
123981
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/untracked.js
|
|
124011
123982
|
var untracked = createBoundaryFunction(untrackStart, untrackEnd);
|
|
124012
123983
|
|
|
124013
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
123984
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/annotations/observable.js
|
|
124014
123985
|
var observable = createAnnotation(function(_a2) {
|
|
124015
123986
|
var target = _a2.target, key = _a2.key, value = _a2.value;
|
|
124016
123987
|
var store = {
|
|
@@ -124050,7 +124021,7 @@ var observable = createAnnotation(function(_a2) {
|
|
|
124050
124021
|
return store.value;
|
|
124051
124022
|
});
|
|
124052
124023
|
|
|
124053
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
124024
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/annotations/box.js
|
|
124054
124025
|
var box = createAnnotation(function(_a2) {
|
|
124055
124026
|
var target = _a2.target, key = _a2.key, value = _a2.value;
|
|
124056
124027
|
var store = {
|
|
@@ -124096,7 +124067,7 @@ var box = createAnnotation(function(_a2) {
|
|
|
124096
124067
|
return proxy;
|
|
124097
124068
|
});
|
|
124098
124069
|
|
|
124099
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
124070
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/annotations/ref.js
|
|
124100
124071
|
var ref = createAnnotation(function(_a2) {
|
|
124101
124072
|
var target = _a2.target, key = _a2.key, value = _a2.value;
|
|
124102
124073
|
var store = {
|
|
@@ -124144,7 +124115,7 @@ var ref = createAnnotation(function(_a2) {
|
|
|
124144
124115
|
return proxy;
|
|
124145
124116
|
});
|
|
124146
124117
|
|
|
124147
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
124118
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/annotations/shallow.js
|
|
124148
124119
|
var shallow = createAnnotation(function(_a2) {
|
|
124149
124120
|
var target = _a2.target, key = _a2.key, value = _a2.value;
|
|
124150
124121
|
var store = {
|
|
@@ -124184,7 +124155,7 @@ var shallow = createAnnotation(function(_a2) {
|
|
|
124184
124155
|
return store.value;
|
|
124185
124156
|
});
|
|
124186
124157
|
|
|
124187
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
124158
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/annotations/computed.js
|
|
124188
124159
|
var getDescriptor = Object.getOwnPropertyDescriptor;
|
|
124189
124160
|
var getProto = Object.getPrototypeOf;
|
|
124190
124161
|
var ClassDescriptorSymbol = Symbol("ClassDescriptorSymbol");
|
|
@@ -124305,7 +124276,7 @@ var computed = createAnnotation(function(_a2) {
|
|
|
124305
124276
|
return proxy;
|
|
124306
124277
|
});
|
|
124307
124278
|
|
|
124308
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
124279
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/observable.js
|
|
124309
124280
|
function observable2(target) {
|
|
124310
124281
|
return createObservable(null, null, target);
|
|
124311
124282
|
}
|
|
@@ -124316,7 +124287,7 @@ observable2.shallow = shallow;
|
|
|
124316
124287
|
observable2.computed = computed;
|
|
124317
124288
|
observable2[MakeObModelSymbol] = observable;
|
|
124318
124289
|
|
|
124319
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
124290
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/model.js
|
|
124320
124291
|
function define2(target, annotations) {
|
|
124321
124292
|
if (isObservable(target))
|
|
124322
124293
|
return target;
|
|
@@ -124336,7 +124307,7 @@ function define2(target, annotations) {
|
|
|
124336
124307
|
return target;
|
|
124337
124308
|
}
|
|
124338
124309
|
|
|
124339
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
124310
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/autorun.js
|
|
124340
124311
|
var __assign4 = function() {
|
|
124341
124312
|
__assign4 = Object.assign || function(t) {
|
|
124342
124313
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -124482,7 +124453,7 @@ var reaction = function(tracker, subscriber, options) {
|
|
|
124482
124453
|
};
|
|
124483
124454
|
};
|
|
124484
124455
|
|
|
124485
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
124456
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/tracker.js
|
|
124486
124457
|
var Tracker = (
|
|
124487
124458
|
/** @class */
|
|
124488
124459
|
function() {
|
|
@@ -124527,7 +124498,7 @@ var Tracker = (
|
|
|
124527
124498
|
}()
|
|
124528
124499
|
);
|
|
124529
124500
|
|
|
124530
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
124501
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/observe.js
|
|
124531
124502
|
var observe = function(target, observer, deep) {
|
|
124532
124503
|
if (deep === void 0) {
|
|
124533
124504
|
deep = true;
|
|
@@ -124560,7 +124531,7 @@ var observe = function(target, observer, deep) {
|
|
|
124560
124531
|
return addListener(target);
|
|
124561
124532
|
};
|
|
124562
124533
|
|
|
124563
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.
|
|
124534
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.0.4/node_modules/@formily/json-schema/esm/shared.js
|
|
124564
124535
|
var REVA_ACTIONS_KEY = Symbol.for("__REVA_ACTIONS");
|
|
124565
124536
|
var SchemaNestedMap = {
|
|
124566
124537
|
parent: true,
|
|
@@ -124747,7 +124718,7 @@ var patchStateFormSchema = function(targetState, pattern, compiled) {
|
|
|
124747
124718
|
});
|
|
124748
124719
|
};
|
|
124749
124720
|
|
|
124750
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.
|
|
124721
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.0.4/node_modules/@formily/json-schema/esm/compiler.js
|
|
124751
124722
|
var ExpRE = /^\s*\{\{([\s\S]*)\}\}\s*$/;
|
|
124752
124723
|
var Registry = {
|
|
124753
124724
|
silent: false,
|
|
@@ -124851,7 +124822,7 @@ var patchSchemaCompile = function(targetState, sourceSchema, scope, demand) {
|
|
|
124851
124822
|
});
|
|
124852
124823
|
};
|
|
124853
124824
|
|
|
124854
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
124825
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/models/LifeCycle.js
|
|
124855
124826
|
var LifeCycle = (
|
|
124856
124827
|
/** @class */
|
|
124857
124828
|
function() {
|
|
@@ -124897,7 +124868,7 @@ var LifeCycle = (
|
|
|
124897
124868
|
}()
|
|
124898
124869
|
);
|
|
124899
124870
|
|
|
124900
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
124871
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/models/Heart.js
|
|
124901
124872
|
var __extends2 = function() {
|
|
124902
124873
|
var extendStatics = function(d, b) {
|
|
124903
124874
|
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
|
|
@@ -124993,7 +124964,7 @@ var Heart = (
|
|
|
124993
124964
|
}(Subscribable)
|
|
124994
124965
|
);
|
|
124995
124966
|
|
|
124996
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
124967
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/shared/checkers.js
|
|
124997
124968
|
var isForm = function(node) {
|
|
124998
124969
|
return node instanceof Form;
|
|
124999
124970
|
};
|
|
@@ -125039,7 +125010,7 @@ var isQuery = function(query2) {
|
|
|
125039
125010
|
return query2 && query2 instanceof Query;
|
|
125040
125011
|
};
|
|
125041
125012
|
|
|
125042
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
125013
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/models/Graph.js
|
|
125043
125014
|
var Graph = (
|
|
125044
125015
|
/** @class */
|
|
125045
125016
|
function() {
|
|
@@ -125091,12 +125062,12 @@ var Graph = (
|
|
|
125091
125062
|
}()
|
|
125092
125063
|
);
|
|
125093
125064
|
|
|
125094
|
-
// ../../../../node_modules/.pnpm/@formily+validator@2.2.
|
|
125065
|
+
// ../../../../node_modules/.pnpm/@formily+validator@2.2.24/node_modules/@formily/validator/esm/types.js
|
|
125095
125066
|
var isValidateResult = function(obj) {
|
|
125096
125067
|
return !!obj["type"] && !!obj["message"];
|
|
125097
125068
|
};
|
|
125098
125069
|
|
|
125099
|
-
// ../../../../node_modules/.pnpm/@formily+validator@2.2.
|
|
125070
|
+
// ../../../../node_modules/.pnpm/@formily+validator@2.2.24/node_modules/@formily/validator/esm/registry.js
|
|
125100
125071
|
var getIn2 = Path.getIn;
|
|
125101
125072
|
var self2 = globalThisPolyfill;
|
|
125102
125073
|
var defaultLanguage = "en";
|
|
@@ -125167,7 +125138,7 @@ var registerValidateFormats = function(formats) {
|
|
|
125167
125138
|
});
|
|
125168
125139
|
};
|
|
125169
125140
|
|
|
125170
|
-
// ../../../../node_modules/.pnpm/@formily+validator@2.2.
|
|
125141
|
+
// ../../../../node_modules/.pnpm/@formily+validator@2.2.24/node_modules/@formily/validator/esm/template.js
|
|
125171
125142
|
var render = function(result, rules) {
|
|
125172
125143
|
var message = result.message;
|
|
125173
125144
|
if (isStr(result.message)) {
|
|
@@ -125182,7 +125153,7 @@ var render = function(result, rules) {
|
|
|
125182
125153
|
return result;
|
|
125183
125154
|
};
|
|
125184
125155
|
|
|
125185
|
-
// ../../../../node_modules/.pnpm/@formily+validator@2.2.
|
|
125156
|
+
// ../../../../node_modules/.pnpm/@formily+validator@2.2.24/node_modules/@formily/validator/esm/parser.js
|
|
125186
125157
|
var __assign5 = function() {
|
|
125187
125158
|
__assign5 = Object.assign || function(t) {
|
|
125188
125159
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -125433,7 +125404,7 @@ var parseValidator = function(validator, options) {
|
|
|
125433
125404
|
}, []);
|
|
125434
125405
|
};
|
|
125435
125406
|
|
|
125436
|
-
// ../../../../node_modules/.pnpm/@formily+validator@2.2.
|
|
125407
|
+
// ../../../../node_modules/.pnpm/@formily+validator@2.2.24/node_modules/@formily/validator/esm/locale.js
|
|
125437
125408
|
var locale_default = {
|
|
125438
125409
|
en: {
|
|
125439
125410
|
pattern: "This field is invalid",
|
|
@@ -125653,7 +125624,7 @@ var locale_default = {
|
|
|
125653
125624
|
}
|
|
125654
125625
|
};
|
|
125655
125626
|
|
|
125656
|
-
// ../../../../node_modules/.pnpm/@formily+validator@2.2.
|
|
125627
|
+
// ../../../../node_modules/.pnpm/@formily+validator@2.2.24/node_modules/@formily/validator/esm/formats.js
|
|
125657
125628
|
var formats_default = {
|
|
125658
125629
|
url: new RegExp(
|
|
125659
125630
|
// protocol identifier
|
|
@@ -125673,7 +125644,7 @@ var formats_default = {
|
|
|
125673
125644
|
zip: /^[0-9]{6}$/
|
|
125674
125645
|
};
|
|
125675
125646
|
|
|
125676
|
-
// ../../../../node_modules/.pnpm/@formily+validator@2.2.
|
|
125647
|
+
// ../../../../node_modules/.pnpm/@formily+validator@2.2.24/node_modules/@formily/validator/esm/rules.js
|
|
125677
125648
|
var __assign6 = function() {
|
|
125678
125649
|
__assign6 = Object.assign || function(t) {
|
|
125679
125650
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -125988,7 +125959,7 @@ extendSameRules(RULES, {
|
|
|
125988
125959
|
});
|
|
125989
125960
|
var rules_default = RULES;
|
|
125990
125961
|
|
|
125991
|
-
// ../../../../node_modules/.pnpm/@formily+validator@2.2.
|
|
125962
|
+
// ../../../../node_modules/.pnpm/@formily+validator@2.2.24/node_modules/@formily/validator/esm/validator.js
|
|
125992
125963
|
var __awaiter3 = function(thisArg, _arguments, P, generator) {
|
|
125993
125964
|
function adopt(value) {
|
|
125994
125965
|
return value instanceof P ? value : new P(function(resolve) {
|
|
@@ -126133,7 +126104,7 @@ var validate = function(value, validator, options) {
|
|
|
126133
126104
|
});
|
|
126134
126105
|
};
|
|
126135
126106
|
|
|
126136
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
126107
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/types.js
|
|
126137
126108
|
var LifeCycleTypes;
|
|
126138
126109
|
(function(LifeCycleTypes2) {
|
|
126139
126110
|
LifeCycleTypes2["ON_FORM_INIT"] = "onFormInit";
|
|
@@ -126185,7 +126156,7 @@ var LifeCycleTypes;
|
|
|
126185
126156
|
LifeCycleTypes2["ON_FIELD_UNMOUNT"] = "onFieldUnmount";
|
|
126186
126157
|
})(LifeCycleTypes || (LifeCycleTypes = {}));
|
|
126187
126158
|
|
|
126188
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
126159
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/shared/constants.js
|
|
126189
126160
|
var ReservedProperties = {
|
|
126190
126161
|
form: true,
|
|
126191
126162
|
parent: true,
|
|
@@ -126237,7 +126208,7 @@ var GlobalState = {
|
|
|
126237
126208
|
};
|
|
126238
126209
|
var NumberIndexReg = /^\.(\d+)/;
|
|
126239
126210
|
|
|
126240
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
126211
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/shared/internals.js
|
|
126241
126212
|
var __assign7 = function() {
|
|
126242
126213
|
__assign7 = Object.assign || function(t) {
|
|
126243
126214
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -127344,7 +127315,7 @@ var getObjectParent = function(field) {
|
|
|
127344
127315
|
}
|
|
127345
127316
|
};
|
|
127346
127317
|
|
|
127347
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
127318
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/models/Query.js
|
|
127348
127319
|
var output = function(field, taker) {
|
|
127349
127320
|
if (!field)
|
|
127350
127321
|
return;
|
|
@@ -127427,7 +127398,7 @@ var Query = (
|
|
|
127427
127398
|
}()
|
|
127428
127399
|
);
|
|
127429
127400
|
|
|
127430
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
127401
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/models/BaseField.js
|
|
127431
127402
|
var __read4 = function(o, n) {
|
|
127432
127403
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
127433
127404
|
if (!m)
|
|
@@ -127807,7 +127778,7 @@ var BaseField = (
|
|
|
127807
127778
|
}()
|
|
127808
127779
|
);
|
|
127809
127780
|
|
|
127810
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
127781
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/models/Field.js
|
|
127811
127782
|
var __extends3 = function() {
|
|
127812
127783
|
var extendStatics = function(d, b) {
|
|
127813
127784
|
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
|
|
@@ -128448,7 +128419,7 @@ var Field = (
|
|
|
128448
128419
|
}(BaseField)
|
|
128449
128420
|
);
|
|
128450
128421
|
|
|
128451
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
128422
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/shared/effective.js
|
|
128452
128423
|
var __read5 = function(o, n) {
|
|
128453
128424
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
128454
128425
|
if (!m)
|
|
@@ -128542,7 +128513,7 @@ var runEffects = function(context) {
|
|
|
128542
128513
|
return GlobalState.lifecycles;
|
|
128543
128514
|
};
|
|
128544
128515
|
|
|
128545
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
128516
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/models/ArrayField.js
|
|
128546
128517
|
var __extends4 = function() {
|
|
128547
128518
|
var extendStatics = function(d, b) {
|
|
128548
128519
|
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
|
|
@@ -128732,7 +128703,7 @@ var ArrayField = (
|
|
|
128732
128703
|
}(Field)
|
|
128733
128704
|
);
|
|
128734
128705
|
|
|
128735
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
128706
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/models/ObjectField.js
|
|
128736
128707
|
var __extends5 = function() {
|
|
128737
128708
|
var extendStatics = function(d, b) {
|
|
128738
128709
|
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
|
|
@@ -128793,7 +128764,7 @@ var ObjectField = (
|
|
|
128793
128764
|
}(Field)
|
|
128794
128765
|
);
|
|
128795
128766
|
|
|
128796
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
128767
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/models/VoidField.js
|
|
128797
128768
|
var __extends6 = function() {
|
|
128798
128769
|
var extendStatics = function(d, b) {
|
|
128799
128770
|
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
|
|
@@ -128908,7 +128879,7 @@ var VoidField = (
|
|
|
128908
128879
|
}(BaseField)
|
|
128909
128880
|
);
|
|
128910
128881
|
|
|
128911
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
128882
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/models/Form.js
|
|
128912
128883
|
var __assign8 = function() {
|
|
128913
128884
|
__assign8 = Object.assign || function(t) {
|
|
128914
128885
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -129436,7 +129407,7 @@ var Form = (
|
|
|
129436
129407
|
}()
|
|
129437
129408
|
);
|
|
129438
129409
|
|
|
129439
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
129410
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/effects/onFormEffects.js
|
|
129440
129411
|
function createFormEffect(type) {
|
|
129441
129412
|
return createEffectHook(type, function(form) {
|
|
129442
129413
|
return function(callback) {
|
|
@@ -129469,7 +129440,7 @@ var onFormValidateEnd = createFormEffect(LifeCycleTypes.ON_FORM_VALIDATE_END);
|
|
|
129469
129440
|
var onFormGraphChange = createFormEffect(LifeCycleTypes.ON_FORM_GRAPH_CHANGE);
|
|
129470
129441
|
var onFormLoading = createFormEffect(LifeCycleTypes.ON_FORM_LOADING);
|
|
129471
129442
|
|
|
129472
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
129443
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/effects/onFieldEffects.js
|
|
129473
129444
|
function createFieldEffect(type) {
|
|
129474
129445
|
return createEffectHook(type, function(field, form) {
|
|
129475
129446
|
return function(pattern, callback) {
|
|
@@ -129514,7 +129485,7 @@ function onFieldInit(pattern, callback) {
|
|
|
129514
129485
|
}
|
|
129515
129486
|
}
|
|
129516
129487
|
|
|
129517
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.
|
|
129488
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.0.4/node_modules/@formily/json-schema/esm/transformer.js
|
|
129518
129489
|
var __read7 = function(o, n) {
|
|
129519
129490
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
129520
129491
|
if (!m)
|
|
@@ -129739,7 +129710,7 @@ var transformFieldProps = function(schema, options) {
|
|
|
129739
129710
|
};
|
|
129740
129711
|
};
|
|
129741
129712
|
|
|
129742
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.
|
|
129713
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.0.4/node_modules/@formily/json-schema/esm/patches.js
|
|
129743
129714
|
var __assign9 = function() {
|
|
129744
129715
|
__assign9 = Object.assign || function(t) {
|
|
129745
129716
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -129788,7 +129759,7 @@ var enablePolyfills = function(versions) {
|
|
|
129788
129759
|
}
|
|
129789
129760
|
};
|
|
129790
129761
|
|
|
129791
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.
|
|
129762
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.0.4/node_modules/@formily/json-schema/esm/polyfills/SPECIFICATION_1_0.js
|
|
129792
129763
|
var __assign10 = function() {
|
|
129793
129764
|
__assign10 = Object.assign || function(t) {
|
|
129794
129765
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -129945,7 +129916,7 @@ var registerTypeDefaultComponents = function(maps) {
|
|
|
129945
129916
|
Object.assign(TYPE_DEFAULT_COMPONENTS, maps);
|
|
129946
129917
|
};
|
|
129947
129918
|
|
|
129948
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.
|
|
129919
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.0.4/node_modules/@formily/json-schema/esm/schema.js
|
|
129949
129920
|
var Schema = (
|
|
129950
129921
|
/** @class */
|
|
129951
129922
|
function() {
|
|
@@ -130181,10 +130152,10 @@ var Schema = (
|
|
|
130181
130152
|
}()
|
|
130182
130153
|
);
|
|
130183
130154
|
|
|
130184
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.
|
|
130155
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-formily/dist/esm/prompt.js
|
|
130185
130156
|
var import_inquirer = __toESM(require_inquirer());
|
|
130186
130157
|
|
|
130187
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.
|
|
130158
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-formily/dist/esm/transform.js
|
|
130188
130159
|
var import_lodash4 = __toESM(require_lodash4());
|
|
130189
130160
|
function asyncGeneratorStep9(gen, resolve, reject, _next, _throw, key, arg) {
|
|
130190
130161
|
try {
|
|
@@ -130531,7 +130502,7 @@ function transformForm(schema) {
|
|
|
130531
130502
|
return getQuestionFromSchema(schema, configValue, validateMap, initValue);
|
|
130532
130503
|
}
|
|
130533
130504
|
|
|
130534
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.
|
|
130505
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-formily/dist/esm/prompt.js
|
|
130535
130506
|
function asyncGeneratorStep10(gen, resolve, reject, _next, _throw, key, arg) {
|
|
130536
130507
|
try {
|
|
130537
130508
|
var info = gen[key](arg);
|
|
@@ -131055,7 +131026,7 @@ function _prompt() {
|
|
|
131055
131026
|
return _prompt.apply(this, arguments);
|
|
131056
131027
|
}
|
|
131057
131028
|
|
|
131058
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.
|
|
131029
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-formily/dist/esm/inquirer.js
|
|
131059
131030
|
function asyncGeneratorStep11(gen, resolve, reject, _next, _throw, key, arg) {
|
|
131060
131031
|
try {
|
|
131061
131032
|
var info = gen[key](arg);
|
|
@@ -131295,7 +131266,7 @@ var CLIReader = /* @__PURE__ */ function() {
|
|
|
131295
131266
|
return CLIReader2;
|
|
131296
131267
|
}();
|
|
131297
131268
|
|
|
131298
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.
|
|
131269
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-api-app/dist/esm/index.js
|
|
131299
131270
|
var import_inquirer2 = __toESM(require_inquirer2());
|
|
131300
131271
|
|
|
131301
131272
|
// ../../../../node_modules/.pnpm/@modern-js+plugin-i18n@2.18.0/node_modules/@modern-js/plugin-i18n/dist/esm-node/index.js
|
|
@@ -131374,7 +131345,7 @@ var I18n2 = class {
|
|
|
131374
131345
|
}
|
|
131375
131346
|
};
|
|
131376
131347
|
|
|
131377
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.
|
|
131348
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-api-app/dist/esm/locale/zh.js
|
|
131378
131349
|
var ZH_LOCALE2 = {
|
|
131379
131350
|
environment: {
|
|
131380
131351
|
node_version: "请升级 Node 版本至 LIS",
|
|
@@ -131401,7 +131372,7 @@ var ZH_LOCALE2 = {
|
|
|
131401
131372
|
}
|
|
131402
131373
|
};
|
|
131403
131374
|
|
|
131404
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.
|
|
131375
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-api-app/dist/esm/locale/en.js
|
|
131405
131376
|
var EN_LOCALE2 = {
|
|
131406
131377
|
environment: {
|
|
131407
131378
|
node_version: "please upgrade node to lts version",
|
|
@@ -131428,14 +131399,14 @@ var EN_LOCALE2 = {
|
|
|
131428
131399
|
}
|
|
131429
131400
|
};
|
|
131430
131401
|
|
|
131431
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.
|
|
131402
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-api-app/dist/esm/locale/index.js
|
|
131432
131403
|
var i18n2 = new I18n2();
|
|
131433
131404
|
var localeKeys2 = i18n2.init("zh", {
|
|
131434
131405
|
zh: ZH_LOCALE2,
|
|
131435
131406
|
en: EN_LOCALE2
|
|
131436
131407
|
});
|
|
131437
131408
|
|
|
131438
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.
|
|
131409
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-api-app/dist/esm/utils/transform.js
|
|
131439
131410
|
var import_lodash7 = __toESM(require_lodash4());
|
|
131440
131411
|
function asyncGeneratorStep12(gen, resolve, reject, _next, _throw, key, arg) {
|
|
131441
131412
|
try {
|
|
@@ -131644,7 +131615,7 @@ function transformInquirerSchema(questions) {
|
|
|
131644
131615
|
return questions;
|
|
131645
131616
|
}
|
|
131646
131617
|
|
|
131647
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.
|
|
131618
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-api-app/dist/esm/utils/checkUseNvm.js
|
|
131648
131619
|
var import_path5 = __toESM(require("path"));
|
|
131649
131620
|
function asyncGeneratorStep13(gen, resolve, reject, _next, _throw, key, arg) {
|
|
131650
131621
|
try {
|
|
@@ -131908,7 +131879,7 @@ function _checkUseNvm() {
|
|
|
131908
131879
|
return _checkUseNvm.apply(this, arguments);
|
|
131909
131880
|
}
|
|
131910
131881
|
|
|
131911
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.
|
|
131882
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-api-app/dist/esm/index.js
|
|
131912
131883
|
function _array_like_to_array(arr, len) {
|
|
131913
131884
|
if (len == null || len > arr.length)
|
|
131914
131885
|
len = arr.length;
|
|
@@ -132489,7 +132460,7 @@ var AppAPI = /* @__PURE__ */ function() {
|
|
|
132489
132460
|
switch (_state2.label) {
|
|
132490
132461
|
case 0:
|
|
132491
132462
|
_this.generatorCore.logger.debug("[renderDir] resourceKey=".concat(resourceKey));
|
|
132492
|
-
target = rename ? rename(resourceKey) : resourceKey.replace("templates/", "").replace(".handlebars", "");
|
|
132463
|
+
target = rename ? rename(resourceKey) : resourceKey.replace("templates/", "").replace(".handlebars", "").replace(".ejs", "");
|
|
132493
132464
|
return [
|
|
132494
132465
|
4,
|
|
132495
132466
|
api.renderTemplate(material.get(resourceKey), target, _object_spread7({}, _this.generatorContext.data || {}, parameters || {}))
|
|
@@ -132838,11 +132809,11 @@ var AppAPI = /* @__PURE__ */ function() {
|
|
|
132838
132809
|
return AppAPI2;
|
|
132839
132810
|
}();
|
|
132840
132811
|
|
|
132841
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.2.
|
|
132812
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.2.3/node_modules/@modern-js/codesmith-api-json/dist/esm/index.js
|
|
132842
132813
|
var import_comment_json2 = __toESM(require_src2());
|
|
132843
132814
|
var declarationUpdate = __toESM(require_dist());
|
|
132844
132815
|
|
|
132845
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.2.
|
|
132816
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.2.3/node_modules/@modern-js/codesmith-api-json/dist/esm/utils/index.js
|
|
132846
132817
|
function asyncGeneratorStep15(gen, resolve, reject, _next, _throw, key, arg) {
|
|
132847
132818
|
try {
|
|
132848
132819
|
var info = gen[key](arg);
|
|
@@ -133016,7 +132987,7 @@ function _editJson() {
|
|
|
133016
132987
|
return _editJson.apply(this, arguments);
|
|
133017
132988
|
}
|
|
133018
132989
|
|
|
133019
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.2.
|
|
132990
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.2.3/node_modules/@modern-js/codesmith-api-json/dist/esm/index.js
|
|
133020
132991
|
function asyncGeneratorStep16(gen, resolve, reject, _next, _throw, key, arg) {
|
|
133021
132992
|
try {
|
|
133022
132993
|
var info = gen[key](arg);
|
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"modern",
|
|
16
16
|
"modern.js"
|
|
17
17
|
],
|
|
18
|
-
"version": "3.1.
|
|
18
|
+
"version": "3.1.18",
|
|
19
19
|
"jsnext:source": "./src/index.ts",
|
|
20
20
|
"types": "./src/index.ts",
|
|
21
21
|
"main": "./dist/index.js",
|
|
@@ -24,18 +24,18 @@
|
|
|
24
24
|
"/dist/index.js"
|
|
25
25
|
],
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@modern-js/codesmith": "2.2.
|
|
28
|
-
"@modern-js/codesmith-api-app": "2.2.
|
|
29
|
-
"@modern-js/codesmith-api-json": "2.2.
|
|
27
|
+
"@modern-js/codesmith": "2.2.3",
|
|
28
|
+
"@modern-js/codesmith-api-app": "2.2.3",
|
|
29
|
+
"@modern-js/codesmith-api-json": "2.2.3",
|
|
30
30
|
"@types/jest": "^29",
|
|
31
31
|
"@types/node": "^14",
|
|
32
32
|
"jest": "^29",
|
|
33
|
-
"typescript": "^
|
|
34
|
-
"@modern-js/generator
|
|
35
|
-
"@
|
|
36
|
-
"@modern-js/
|
|
37
|
-
"@
|
|
38
|
-
"@scripts/
|
|
33
|
+
"typescript": "^5",
|
|
34
|
+
"@modern-js/dependence-generator": "3.1.18",
|
|
35
|
+
"@scripts/jest-config": "2.21.0",
|
|
36
|
+
"@modern-js/generator-utils": "3.1.18",
|
|
37
|
+
"@modern-js/generator-common": "3.1.18",
|
|
38
|
+
"@scripts/build": "2.21.0"
|
|
39
39
|
},
|
|
40
40
|
"sideEffects": false,
|
|
41
41
|
"publishConfig": {
|