@modern-js/packages-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 +110 -146
- package/package.json +9 -9
package/dist/index.js
CHANGED
|
@@ -115678,6 +115678,8 @@ var require_chainId = __commonJS({
|
|
|
115678
115678
|
BOTTOM_TEMPLATE: "bottom-template",
|
|
115679
115679
|
/** HtmlCrossOriginPlugin */
|
|
115680
115680
|
HTML_CROSS_ORIGIN: "html-cross-origin",
|
|
115681
|
+
/** HtmlNoncePlugin */
|
|
115682
|
+
HTML_NONCE: "html-nonce",
|
|
115681
115683
|
/** MiniCssExtractPlugin */
|
|
115682
115684
|
MINI_CSS_EXTRACT: "mini-css-extract",
|
|
115683
115685
|
/** ReactFastRefreshPlugin */
|
|
@@ -117902,11 +117904,11 @@ var mime = Import.lazy("../compiled/mime-types", require);
|
|
|
117902
117904
|
var chokidar = Import.lazy("../compiled/chokidar", require);
|
|
117903
117905
|
var inquirer = Import.lazy("../compiled/inquirer", require);
|
|
117904
117906
|
|
|
117905
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.
|
|
117907
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-api-app/dist/esm/index.js
|
|
117906
117908
|
var import_lodash6 = __toESM(require_lodash2());
|
|
117907
117909
|
var import_comment_json = __toESM(require_src2());
|
|
117908
117910
|
|
|
117909
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.2.
|
|
117911
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.2.3/node_modules/@modern-js/codesmith-api-npm/dist/esm/utils/env.js
|
|
117910
117912
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
117911
117913
|
try {
|
|
117912
117914
|
var info = gen[key](arg);
|
|
@@ -118214,7 +118216,7 @@ function _canUsePnpm() {
|
|
|
118214
118216
|
return _canUsePnpm.apply(this, arguments);
|
|
118215
118217
|
}
|
|
118216
118218
|
|
|
118217
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.2.
|
|
118219
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.2.3/node_modules/@modern-js/codesmith-api-npm/dist/esm/utils/install.js
|
|
118218
118220
|
function asyncGeneratorStep2(gen, resolve, reject, _next, _throw, key, arg) {
|
|
118219
118221
|
try {
|
|
118220
118222
|
var info = gen[key](arg);
|
|
@@ -118581,7 +118583,7 @@ function _pnpmInstall() {
|
|
|
118581
118583
|
return _pnpmInstall.apply(this, arguments);
|
|
118582
118584
|
}
|
|
118583
118585
|
|
|
118584
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.2.
|
|
118586
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.2.3/node_modules/@modern-js/codesmith-api-npm/dist/esm/index.js
|
|
118585
118587
|
function _class_call_check(instance, Constructor) {
|
|
118586
118588
|
if (!(instance instanceof Constructor)) {
|
|
118587
118589
|
throw new TypeError("Cannot call a class as a function");
|
|
@@ -118662,7 +118664,7 @@ var NpmAPI = /* @__PURE__ */ function() {
|
|
|
118662
118664
|
return NpmAPI2;
|
|
118663
118665
|
}();
|
|
118664
118666
|
|
|
118665
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.2.
|
|
118667
|
+
// ../../../../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
|
|
118666
118668
|
function asyncGeneratorStep3(gen, resolve, reject, _next, _throw, key, arg) {
|
|
118667
118669
|
try {
|
|
118668
118670
|
var info = gen[key](arg);
|
|
@@ -119004,7 +119006,7 @@ function _gitCommit() {
|
|
|
119004
119006
|
return _gitCommit.apply(this, arguments);
|
|
119005
119007
|
}
|
|
119006
119008
|
|
|
119007
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.2.
|
|
119009
|
+
// ../../../../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
|
|
119008
119010
|
function asyncGeneratorStep4(gen, resolve, reject, _next, _throw, key, arg) {
|
|
119009
119011
|
try {
|
|
119010
119012
|
var info = gen[key](arg);
|
|
@@ -119335,11 +119337,11 @@ var GitAPI = /* @__PURE__ */ function() {
|
|
|
119335
119337
|
return GitAPI2;
|
|
119336
119338
|
}();
|
|
119337
119339
|
|
|
119338
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.
|
|
119340
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith/dist/esm/materials/FsResource.js
|
|
119339
119341
|
var import_path = __toESM(require("path"));
|
|
119340
119342
|
var FS_RESOURCE = "_codesmith_core_fs_resource";
|
|
119341
119343
|
|
|
119342
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.
|
|
119344
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith/dist/esm/utils/fsExists.js
|
|
119343
119345
|
function asyncGeneratorStep5(gen, resolve, reject, _next, _throw, key, arg) {
|
|
119344
119346
|
try {
|
|
119345
119347
|
var info = gen[key](arg);
|
|
@@ -119512,7 +119514,7 @@ function _fsExists() {
|
|
|
119512
119514
|
return _fsExists.apply(this, arguments);
|
|
119513
119515
|
}
|
|
119514
119516
|
|
|
119515
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.2.
|
|
119517
|
+
// ../../../../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
|
|
119516
119518
|
var import_handlebars = __toESM(require_lib());
|
|
119517
119519
|
function _define_property4(obj, key, value) {
|
|
119518
119520
|
if (key in obj) {
|
|
@@ -119554,7 +119556,7 @@ function renderString(template, fullData, registers) {
|
|
|
119554
119556
|
return import_handlebars.default.compile(template)(fullData) || "";
|
|
119555
119557
|
}
|
|
119556
119558
|
|
|
119557
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.2.
|
|
119559
|
+
// ../../../../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
|
|
119558
119560
|
function asyncGeneratorStep6(gen, resolve, reject, _next, _throw, key, arg) {
|
|
119559
119561
|
try {
|
|
119560
119562
|
var info = gen[key](arg);
|
|
@@ -119872,13 +119874,13 @@ var HandlebarsAPI = /* @__PURE__ */ function() {
|
|
|
119872
119874
|
return HandlebarsAPI2;
|
|
119873
119875
|
}();
|
|
119874
119876
|
|
|
119875
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.2.
|
|
119877
|
+
// ../../../../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
|
|
119876
119878
|
var import_ejs = __toESM(require_ejs());
|
|
119877
119879
|
function renderString2(template, fullData) {
|
|
119878
119880
|
return import_ejs.default.render(template, fullData) || "";
|
|
119879
119881
|
}
|
|
119880
119882
|
|
|
119881
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.2.
|
|
119883
|
+
// ../../../../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
|
|
119882
119884
|
function asyncGeneratorStep7(gen, resolve, reject, _next, _throw, key, arg) {
|
|
119883
119885
|
try {
|
|
119884
119886
|
var info = gen[key](arg);
|
|
@@ -120148,24 +120150,8 @@ var EjsAPI = /* @__PURE__ */ function() {
|
|
|
120148
120150
|
return EjsAPI2;
|
|
120149
120151
|
}();
|
|
120150
120152
|
|
|
120151
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-fs@2.2.
|
|
120153
|
+
// ../../../../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
|
|
120152
120154
|
var import_path2 = __toESM(require("path"));
|
|
120153
|
-
|
|
120154
|
-
// ../../../../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
|
|
120155
|
-
var imageExtNameList = [
|
|
120156
|
-
".jpg",
|
|
120157
|
-
".jpeg",
|
|
120158
|
-
".png",
|
|
120159
|
-
".gif",
|
|
120160
|
-
".bmp",
|
|
120161
|
-
".ico",
|
|
120162
|
-
".icon",
|
|
120163
|
-
".mpt",
|
|
120164
|
-
".psd",
|
|
120165
|
-
".wmf"
|
|
120166
|
-
];
|
|
120167
|
-
|
|
120168
|
-
// ../../../../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
|
|
120169
120155
|
function asyncGeneratorStep8(gen, resolve, reject, _next, _throw, key, arg) {
|
|
120170
120156
|
try {
|
|
120171
120157
|
var info = gen[key](arg);
|
|
@@ -120345,48 +120331,26 @@ var FsAPI = /* @__PURE__ */ function() {
|
|
|
120345
120331
|
value: function renderFile(resource, target) {
|
|
120346
120332
|
var _this = this;
|
|
120347
120333
|
return _async_to_generator8(function() {
|
|
120348
|
-
var
|
|
120334
|
+
var filePath;
|
|
120349
120335
|
return __generator8(this, function(_state) {
|
|
120350
120336
|
switch (_state.label) {
|
|
120351
120337
|
case 0:
|
|
120352
120338
|
if (resource._type !== FS_RESOURCE) {
|
|
120353
120339
|
throw new Error("resource not match");
|
|
120354
120340
|
}
|
|
120341
|
+
filePath = import_path2.default.resolve(_this.generatorCore.outputPath, target.toString());
|
|
120355
120342
|
return [
|
|
120356
120343
|
4,
|
|
120357
|
-
|
|
120344
|
+
import_fs_extra.default.mkdirp(import_path2.default.dirname(filePath))
|
|
120358
120345
|
];
|
|
120359
120346
|
case 1:
|
|
120360
|
-
resourceValue = _state.sent();
|
|
120361
|
-
resourceFileExt = import_path2.default.extname(resource.filePath);
|
|
120362
|
-
if (!imageExtNameList.includes(resourceFileExt))
|
|
120363
|
-
return [
|
|
120364
|
-
3,
|
|
120365
|
-
3
|
|
120366
|
-
];
|
|
120367
|
-
return [
|
|
120368
|
-
4,
|
|
120369
|
-
_this.generatorCore.output.fs(target, resourceValue.content, {
|
|
120370
|
-
encoding: "binary"
|
|
120371
|
-
})
|
|
120372
|
-
];
|
|
120373
|
-
case 2:
|
|
120374
120347
|
_state.sent();
|
|
120375
|
-
return [
|
|
120376
|
-
3,
|
|
120377
|
-
5
|
|
120378
|
-
];
|
|
120379
|
-
case 3:
|
|
120380
120348
|
return [
|
|
120381
120349
|
4,
|
|
120382
|
-
|
|
120383
|
-
encoding: "utf-8"
|
|
120384
|
-
})
|
|
120350
|
+
import_fs_extra.default.copyFile(resource.filePath, filePath)
|
|
120385
120351
|
];
|
|
120386
|
-
case
|
|
120352
|
+
case 2:
|
|
120387
120353
|
_state.sent();
|
|
120388
|
-
_state.label = 5;
|
|
120389
|
-
case 5:
|
|
120390
120354
|
return [
|
|
120391
120355
|
2
|
|
120392
120356
|
];
|
|
@@ -120449,7 +120413,7 @@ var FsAPI = /* @__PURE__ */ function() {
|
|
|
120449
120413
|
return FsAPI2;
|
|
120450
120414
|
}();
|
|
120451
120415
|
|
|
120452
|
-
// ../../../../node_modules/.pnpm/@formily+shared@2.2.
|
|
120416
|
+
// ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/checkers.js
|
|
120453
120417
|
var toString = Object.prototype.toString;
|
|
120454
120418
|
var isType = function(type) {
|
|
120455
120419
|
return function(obj) {
|
|
@@ -120475,7 +120439,7 @@ var isObj = function(val) {
|
|
|
120475
120439
|
};
|
|
120476
120440
|
var isRegExp = isType("RegExp");
|
|
120477
120441
|
|
|
120478
|
-
// ../../../../node_modules/.pnpm/@formily+shared@2.2.
|
|
120442
|
+
// ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/array.js
|
|
120479
120443
|
var toArr = function(val) {
|
|
120480
120444
|
return isArr(val) ? val : val ? [val] : [];
|
|
120481
120445
|
};
|
|
@@ -120526,7 +120490,7 @@ function reduce(val, iterator, accumulator, revert) {
|
|
|
120526
120490
|
return result;
|
|
120527
120491
|
}
|
|
120528
120492
|
|
|
120529
|
-
// ../../../../node_modules/.pnpm/@formily+shared@2.2.
|
|
120493
|
+
// ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/global.js
|
|
120530
120494
|
function globalSelf() {
|
|
120531
120495
|
try {
|
|
120532
120496
|
if (typeof self !== "undefined") {
|
|
@@ -120550,7 +120514,7 @@ function globalSelf() {
|
|
|
120550
120514
|
}
|
|
120551
120515
|
var globalThisPolyfill = globalSelf();
|
|
120552
120516
|
|
|
120553
|
-
// ../../../../node_modules/.pnpm/@formily+shared@2.2.
|
|
120517
|
+
// ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/instanceof.js
|
|
120554
120518
|
var instOf = function(value, cls) {
|
|
120555
120519
|
if (isFn(cls))
|
|
120556
120520
|
return value instanceof cls;
|
|
@@ -120559,7 +120523,7 @@ var instOf = function(value, cls) {
|
|
|
120559
120523
|
return false;
|
|
120560
120524
|
};
|
|
120561
120525
|
|
|
120562
|
-
// ../../../../node_modules/.pnpm/@formily+shared@2.2.
|
|
120526
|
+
// ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/compare.js
|
|
120563
120527
|
var isArray = isArr;
|
|
120564
120528
|
var keyList = Object.keys;
|
|
120565
120529
|
var hasProp = Object.prototype.hasOwnProperty;
|
|
@@ -120666,7 +120630,7 @@ var isEqual = function exportedEqual(a, b) {
|
|
|
120666
120630
|
}
|
|
120667
120631
|
};
|
|
120668
120632
|
|
|
120669
|
-
// ../../../../node_modules/.pnpm/@formily+shared@2.2.
|
|
120633
|
+
// ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/clone.js
|
|
120670
120634
|
var clone = function(values) {
|
|
120671
120635
|
if (Array.isArray(values)) {
|
|
120672
120636
|
var res_1 = [];
|
|
@@ -120702,7 +120666,7 @@ var clone = function(values) {
|
|
|
120702
120666
|
}
|
|
120703
120667
|
};
|
|
120704
120668
|
|
|
120705
|
-
// ../../../../node_modules/.pnpm/@formily+shared@2.2.
|
|
120669
|
+
// ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/isEmpty.js
|
|
120706
120670
|
var has = Object.prototype.hasOwnProperty;
|
|
120707
120671
|
var toString2 = Object.prototype.toString;
|
|
120708
120672
|
var isUndef = function(val) {
|
|
@@ -120830,7 +120794,7 @@ function pascalCase(input, options) {
|
|
|
120830
120794
|
return noCase(input, __assign({ delimiter: "", transform: pascalCaseTransform }, options));
|
|
120831
120795
|
}
|
|
120832
120796
|
|
|
120833
|
-
// ../../../../node_modules/.pnpm/@formily+shared@2.2.
|
|
120797
|
+
// ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/string.js
|
|
120834
120798
|
var ansiRegex = function() {
|
|
120835
120799
|
var pattern = [
|
|
120836
120800
|
"[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[a-zA-Z\\d]*)*)?\\u0007)",
|
|
@@ -120849,7 +120813,7 @@ var stringLength = function(input) {
|
|
|
120849
120813
|
return stripAnsi(input).replace(astralRegex(), " ").length;
|
|
120850
120814
|
};
|
|
120851
120815
|
|
|
120852
|
-
// ../../../../node_modules/.pnpm/@formily+path@2.2.
|
|
120816
|
+
// ../../../../node_modules/.pnpm/@formily+path@2.2.24/node_modules/@formily/path/esm/contexts.js
|
|
120853
120817
|
var __assign2 = function() {
|
|
120854
120818
|
__assign2 = Object.assign || function(t) {
|
|
120855
120819
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -120872,7 +120836,7 @@ var parenContext = ContextType("()");
|
|
|
120872
120836
|
var braceContext = ContextType("{}");
|
|
120873
120837
|
var destructorContext = ContextType("{x}");
|
|
120874
120838
|
|
|
120875
|
-
// ../../../../node_modules/.pnpm/@formily+path@2.2.
|
|
120839
|
+
// ../../../../node_modules/.pnpm/@formily+path@2.2.24/node_modules/@formily/path/esm/tokens.js
|
|
120876
120840
|
var __assign3 = function() {
|
|
120877
120841
|
__assign3 = Object.assign || function(t) {
|
|
120878
120842
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -121040,7 +121004,7 @@ var expandTok = TokenType("expandTok", {
|
|
|
121040
121004
|
});
|
|
121041
121005
|
var eofTok = TokenType("eof");
|
|
121042
121006
|
|
|
121043
|
-
// ../../../../node_modules/.pnpm/@formily+path@2.2.
|
|
121007
|
+
// ../../../../node_modules/.pnpm/@formily+path@2.2.24/node_modules/@formily/path/esm/tokenizer.js
|
|
121044
121008
|
var nonASCIIWhitespace = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/;
|
|
121045
121009
|
var fullCharCodeAtPos = function(input, pos) {
|
|
121046
121010
|
if (String.fromCharCode)
|
|
@@ -121292,7 +121256,7 @@ var Tokenizer = (
|
|
|
121292
121256
|
}()
|
|
121293
121257
|
);
|
|
121294
121258
|
|
|
121295
|
-
// ../../../../node_modules/.pnpm/@formily+path@2.2.
|
|
121259
|
+
// ../../../../node_modules/.pnpm/@formily+path@2.2.24/node_modules/@formily/path/esm/types.js
|
|
121296
121260
|
var isType2 = function(type) {
|
|
121297
121261
|
return function(obj) {
|
|
121298
121262
|
return obj && obj.type === type;
|
|
@@ -121310,7 +121274,7 @@ var isObjectPattern = isType2("ObjectPattern");
|
|
|
121310
121274
|
var isObjectPatternProperty = isType2("ObjectPatternProperty");
|
|
121311
121275
|
var isArrayPattern = isType2("ArrayPattern");
|
|
121312
121276
|
|
|
121313
|
-
// ../../../../node_modules/.pnpm/@formily+path@2.2.
|
|
121277
|
+
// ../../../../node_modules/.pnpm/@formily+path@2.2.24/node_modules/@formily/path/esm/shared.js
|
|
121314
121278
|
var toString3 = Object.prototype.toString;
|
|
121315
121279
|
var isType3 = function(type) {
|
|
121316
121280
|
return function(obj) {
|
|
@@ -121387,7 +121351,7 @@ var isSegmentEqual = function(a, b) {
|
|
|
121387
121351
|
return a === b;
|
|
121388
121352
|
};
|
|
121389
121353
|
|
|
121390
|
-
// ../../../../node_modules/.pnpm/@formily+path@2.2.
|
|
121354
|
+
// ../../../../node_modules/.pnpm/@formily+path@2.2.24/node_modules/@formily/path/esm/destructor.js
|
|
121391
121355
|
var DestructorCache = /* @__PURE__ */ new Map();
|
|
121392
121356
|
var isValid2 = function(val) {
|
|
121393
121357
|
return val !== void 0 && val !== null;
|
|
@@ -121505,7 +121469,7 @@ var existInByDestructor = function(source, rules, start, mutators) {
|
|
|
121505
121469
|
});
|
|
121506
121470
|
};
|
|
121507
121471
|
|
|
121508
|
-
// ../../../../node_modules/.pnpm/@formily+path@2.2.
|
|
121472
|
+
// ../../../../node_modules/.pnpm/@formily+path@2.2.24/node_modules/@formily/path/esm/parser.js
|
|
121509
121473
|
var __extends = function() {
|
|
121510
121474
|
var extendStatics = function(d, b) {
|
|
121511
121475
|
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
|
|
@@ -121896,7 +121860,7 @@ var Parser = (
|
|
|
121896
121860
|
}(Tokenizer)
|
|
121897
121861
|
);
|
|
121898
121862
|
|
|
121899
|
-
// ../../../../node_modules/.pnpm/@formily+path@2.2.
|
|
121863
|
+
// ../../../../node_modules/.pnpm/@formily+path@2.2.24/node_modules/@formily/path/esm/matcher.js
|
|
121900
121864
|
var Matcher = (
|
|
121901
121865
|
/** @class */
|
|
121902
121866
|
function() {
|
|
@@ -122078,7 +122042,7 @@ var Matcher = (
|
|
|
122078
122042
|
}()
|
|
122079
122043
|
);
|
|
122080
122044
|
|
|
122081
|
-
// ../../../../node_modules/.pnpm/@formily+path@2.2.
|
|
122045
|
+
// ../../../../node_modules/.pnpm/@formily+path@2.2.24/node_modules/@formily/path/esm/index.js
|
|
122082
122046
|
var __read = function(o, n) {
|
|
122083
122047
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
122084
122048
|
if (!m)
|
|
@@ -122632,7 +122596,7 @@ var Path = (
|
|
|
122632
122596
|
}()
|
|
122633
122597
|
);
|
|
122634
122598
|
|
|
122635
|
-
// ../../../../node_modules/.pnpm/@formily+shared@2.2.
|
|
122599
|
+
// ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/subscribable.js
|
|
122636
122600
|
var Subscribable = (
|
|
122637
122601
|
/** @class */
|
|
122638
122602
|
function() {
|
|
@@ -122684,7 +122648,7 @@ var Subscribable = (
|
|
|
122684
122648
|
}()
|
|
122685
122649
|
);
|
|
122686
122650
|
|
|
122687
|
-
// ../../../../node_modules/.pnpm/@formily+shared@2.2.
|
|
122651
|
+
// ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/merge.js
|
|
122688
122652
|
function defaultIsMergeableObject(value) {
|
|
122689
122653
|
return isNonNullObject(value) && !isSpecial(value);
|
|
122690
122654
|
}
|
|
@@ -122877,7 +122841,7 @@ var lazyMerge = function(target) {
|
|
|
122877
122841
|
};
|
|
122878
122842
|
var merge = deepmerge;
|
|
122879
122843
|
|
|
122880
|
-
// ../../../../node_modules/.pnpm/@formily+shared@2.2.
|
|
122844
|
+
// ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/uid.js
|
|
122881
122845
|
var IDX = 36;
|
|
122882
122846
|
var HEX = "";
|
|
122883
122847
|
while (IDX--)
|
|
@@ -122889,7 +122853,7 @@ function uid(len) {
|
|
|
122889
122853
|
return str;
|
|
122890
122854
|
}
|
|
122891
122855
|
|
|
122892
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
122856
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/checkers.js
|
|
122893
122857
|
var toString4 = Object.prototype.toString;
|
|
122894
122858
|
var isMap = function(val) {
|
|
122895
122859
|
return val && val instanceof Map;
|
|
@@ -122920,7 +122884,7 @@ var isNormalType = function(target) {
|
|
|
122920
122884
|
return isPlainObj3(target) || isArr3(target);
|
|
122921
122885
|
};
|
|
122922
122886
|
|
|
122923
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
122887
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/array.js
|
|
122924
122888
|
var toArray = function(value) {
|
|
122925
122889
|
return Array.isArray(value) ? value : value !== void 0 && value !== null ? [value] : [];
|
|
122926
122890
|
};
|
|
@@ -122984,7 +122948,7 @@ var ArraySet = (
|
|
|
122984
122948
|
}()
|
|
122985
122949
|
);
|
|
122986
122950
|
|
|
122987
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
122951
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/environment.js
|
|
122988
122952
|
var ProxyRaw = /* @__PURE__ */ new WeakMap();
|
|
122989
122953
|
var RawProxy = /* @__PURE__ */ new WeakMap();
|
|
122990
122954
|
var RawShallowProxy = /* @__PURE__ */ new WeakMap();
|
|
@@ -123003,7 +122967,7 @@ var MakeObModelSymbol = Symbol("MakeObModelSymbol");
|
|
|
123003
122967
|
var ObModelSymbol = Symbol("ObModelSymbol");
|
|
123004
122968
|
var ObModelNodeSymbol = Symbol("ObModelNodeSymbol");
|
|
123005
122969
|
|
|
123006
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
122970
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/reaction.js
|
|
123007
122971
|
var ITERATION_KEY = Symbol("iteration key");
|
|
123008
122972
|
var addRawReactionsMap = function(target, key, reaction2) {
|
|
123009
122973
|
var reactionsMap = RawReactionsMap.get(target);
|
|
@@ -123233,7 +123197,7 @@ var disposeEffects = function(reaction2) {
|
|
|
123233
123197
|
}
|
|
123234
123198
|
};
|
|
123235
123199
|
|
|
123236
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
123200
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/tree.js
|
|
123237
123201
|
var DataChange = (
|
|
123238
123202
|
/** @class */
|
|
123239
123203
|
function() {
|
|
@@ -123329,7 +123293,7 @@ var buildDataTree = function(target, key, value) {
|
|
|
123329
123293
|
setDataNode(raw2, new DataNode(target, key, value));
|
|
123330
123294
|
};
|
|
123331
123295
|
|
|
123332
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
123296
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/externals.js
|
|
123333
123297
|
var RAW_TYPE = Symbol("RAW_TYPE");
|
|
123334
123298
|
var OBSERVABLE_TYPE = Symbol("OBSERVABLE_TYPE");
|
|
123335
123299
|
var hasOwnProperty2 = Object.prototype.hasOwnProperty;
|
|
@@ -123431,7 +123395,7 @@ var hasCollected = function(callback) {
|
|
|
123431
123395
|
return DependencyCollected.value;
|
|
123432
123396
|
};
|
|
123433
123397
|
|
|
123434
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
123398
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/handlers.js
|
|
123435
123399
|
var __read2 = function(o, n) {
|
|
123436
123400
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
123437
123401
|
if (!m)
|
|
@@ -123687,7 +123651,7 @@ var baseHandlers = {
|
|
|
123687
123651
|
}
|
|
123688
123652
|
};
|
|
123689
123653
|
|
|
123690
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
123654
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/internals.js
|
|
123691
123655
|
var createNormalProxy = function(target, shallow2) {
|
|
123692
123656
|
var proxy = new Proxy(target, baseHandlers);
|
|
123693
123657
|
ProxyRaw.set(proxy, target);
|
|
@@ -123802,7 +123766,7 @@ var createBoundaryAnnotation = function(start, end) {
|
|
|
123802
123766
|
return boundary;
|
|
123803
123767
|
};
|
|
123804
123768
|
|
|
123805
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
123769
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/batch.js
|
|
123806
123770
|
var batch = createBoundaryAnnotation(batchStart, batchEnd);
|
|
123807
123771
|
batch.scope = createBoundaryAnnotation(batchScopeStart, batchScopeEnd);
|
|
123808
123772
|
batch.endpoint = function(callback) {
|
|
@@ -123815,7 +123779,7 @@ batch.endpoint = function(callback) {
|
|
|
123815
123779
|
}
|
|
123816
123780
|
};
|
|
123817
123781
|
|
|
123818
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
123782
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/action.js
|
|
123819
123783
|
var action = createBoundaryAnnotation(function() {
|
|
123820
123784
|
batchStart();
|
|
123821
123785
|
untrackStart();
|
|
@@ -123831,10 +123795,10 @@ action.scope = createBoundaryAnnotation(function() {
|
|
|
123831
123795
|
batchScopeEnd();
|
|
123832
123796
|
});
|
|
123833
123797
|
|
|
123834
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
123798
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/untracked.js
|
|
123835
123799
|
var untracked = createBoundaryFunction(untrackStart, untrackEnd);
|
|
123836
123800
|
|
|
123837
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
123801
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/annotations/observable.js
|
|
123838
123802
|
var observable = createAnnotation(function(_a2) {
|
|
123839
123803
|
var target = _a2.target, key = _a2.key, value = _a2.value;
|
|
123840
123804
|
var store = {
|
|
@@ -123874,7 +123838,7 @@ var observable = createAnnotation(function(_a2) {
|
|
|
123874
123838
|
return store.value;
|
|
123875
123839
|
});
|
|
123876
123840
|
|
|
123877
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
123841
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/annotations/box.js
|
|
123878
123842
|
var box = createAnnotation(function(_a2) {
|
|
123879
123843
|
var target = _a2.target, key = _a2.key, value = _a2.value;
|
|
123880
123844
|
var store = {
|
|
@@ -123920,7 +123884,7 @@ var box = createAnnotation(function(_a2) {
|
|
|
123920
123884
|
return proxy;
|
|
123921
123885
|
});
|
|
123922
123886
|
|
|
123923
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
123887
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/annotations/ref.js
|
|
123924
123888
|
var ref = createAnnotation(function(_a2) {
|
|
123925
123889
|
var target = _a2.target, key = _a2.key, value = _a2.value;
|
|
123926
123890
|
var store = {
|
|
@@ -123968,7 +123932,7 @@ var ref = createAnnotation(function(_a2) {
|
|
|
123968
123932
|
return proxy;
|
|
123969
123933
|
});
|
|
123970
123934
|
|
|
123971
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
123935
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/annotations/shallow.js
|
|
123972
123936
|
var shallow = createAnnotation(function(_a2) {
|
|
123973
123937
|
var target = _a2.target, key = _a2.key, value = _a2.value;
|
|
123974
123938
|
var store = {
|
|
@@ -124008,7 +123972,7 @@ var shallow = createAnnotation(function(_a2) {
|
|
|
124008
123972
|
return store.value;
|
|
124009
123973
|
});
|
|
124010
123974
|
|
|
124011
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
123975
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/annotations/computed.js
|
|
124012
123976
|
var getDescriptor = Object.getOwnPropertyDescriptor;
|
|
124013
123977
|
var getProto = Object.getPrototypeOf;
|
|
124014
123978
|
var ClassDescriptorSymbol = Symbol("ClassDescriptorSymbol");
|
|
@@ -124129,7 +124093,7 @@ var computed = createAnnotation(function(_a2) {
|
|
|
124129
124093
|
return proxy;
|
|
124130
124094
|
});
|
|
124131
124095
|
|
|
124132
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
124096
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/observable.js
|
|
124133
124097
|
function observable2(target) {
|
|
124134
124098
|
return createObservable(null, null, target);
|
|
124135
124099
|
}
|
|
@@ -124140,7 +124104,7 @@ observable2.shallow = shallow;
|
|
|
124140
124104
|
observable2.computed = computed;
|
|
124141
124105
|
observable2[MakeObModelSymbol] = observable;
|
|
124142
124106
|
|
|
124143
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
124107
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/model.js
|
|
124144
124108
|
function define2(target, annotations) {
|
|
124145
124109
|
if (isObservable(target))
|
|
124146
124110
|
return target;
|
|
@@ -124160,7 +124124,7 @@ function define2(target, annotations) {
|
|
|
124160
124124
|
return target;
|
|
124161
124125
|
}
|
|
124162
124126
|
|
|
124163
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
124127
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/autorun.js
|
|
124164
124128
|
var __assign4 = function() {
|
|
124165
124129
|
__assign4 = Object.assign || function(t) {
|
|
124166
124130
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -124306,7 +124270,7 @@ var reaction = function(tracker, subscriber, options) {
|
|
|
124306
124270
|
};
|
|
124307
124271
|
};
|
|
124308
124272
|
|
|
124309
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
124273
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/tracker.js
|
|
124310
124274
|
var Tracker = (
|
|
124311
124275
|
/** @class */
|
|
124312
124276
|
function() {
|
|
@@ -124351,7 +124315,7 @@ var Tracker = (
|
|
|
124351
124315
|
}()
|
|
124352
124316
|
);
|
|
124353
124317
|
|
|
124354
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
124318
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/observe.js
|
|
124355
124319
|
var observe = function(target, observer, deep) {
|
|
124356
124320
|
if (deep === void 0) {
|
|
124357
124321
|
deep = true;
|
|
@@ -124384,7 +124348,7 @@ var observe = function(target, observer, deep) {
|
|
|
124384
124348
|
return addListener(target);
|
|
124385
124349
|
};
|
|
124386
124350
|
|
|
124387
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.
|
|
124351
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.0.4/node_modules/@formily/json-schema/esm/shared.js
|
|
124388
124352
|
var REVA_ACTIONS_KEY = Symbol.for("__REVA_ACTIONS");
|
|
124389
124353
|
var SchemaNestedMap = {
|
|
124390
124354
|
parent: true,
|
|
@@ -124571,7 +124535,7 @@ var patchStateFormSchema = function(targetState, pattern, compiled) {
|
|
|
124571
124535
|
});
|
|
124572
124536
|
};
|
|
124573
124537
|
|
|
124574
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.
|
|
124538
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.0.4/node_modules/@formily/json-schema/esm/compiler.js
|
|
124575
124539
|
var ExpRE = /^\s*\{\{([\s\S]*)\}\}\s*$/;
|
|
124576
124540
|
var Registry = {
|
|
124577
124541
|
silent: false,
|
|
@@ -124675,7 +124639,7 @@ var patchSchemaCompile = function(targetState, sourceSchema, scope, demand) {
|
|
|
124675
124639
|
});
|
|
124676
124640
|
};
|
|
124677
124641
|
|
|
124678
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
124642
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/models/LifeCycle.js
|
|
124679
124643
|
var LifeCycle = (
|
|
124680
124644
|
/** @class */
|
|
124681
124645
|
function() {
|
|
@@ -124721,7 +124685,7 @@ var LifeCycle = (
|
|
|
124721
124685
|
}()
|
|
124722
124686
|
);
|
|
124723
124687
|
|
|
124724
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
124688
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/models/Heart.js
|
|
124725
124689
|
var __extends2 = function() {
|
|
124726
124690
|
var extendStatics = function(d, b) {
|
|
124727
124691
|
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
|
|
@@ -124817,7 +124781,7 @@ var Heart = (
|
|
|
124817
124781
|
}(Subscribable)
|
|
124818
124782
|
);
|
|
124819
124783
|
|
|
124820
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
124784
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/shared/checkers.js
|
|
124821
124785
|
var isForm = function(node) {
|
|
124822
124786
|
return node instanceof Form;
|
|
124823
124787
|
};
|
|
@@ -124863,7 +124827,7 @@ var isQuery = function(query2) {
|
|
|
124863
124827
|
return query2 && query2 instanceof Query;
|
|
124864
124828
|
};
|
|
124865
124829
|
|
|
124866
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
124830
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/models/Graph.js
|
|
124867
124831
|
var Graph = (
|
|
124868
124832
|
/** @class */
|
|
124869
124833
|
function() {
|
|
@@ -124915,12 +124879,12 @@ var Graph = (
|
|
|
124915
124879
|
}()
|
|
124916
124880
|
);
|
|
124917
124881
|
|
|
124918
|
-
// ../../../../node_modules/.pnpm/@formily+validator@2.2.
|
|
124882
|
+
// ../../../../node_modules/.pnpm/@formily+validator@2.2.24/node_modules/@formily/validator/esm/types.js
|
|
124919
124883
|
var isValidateResult = function(obj) {
|
|
124920
124884
|
return !!obj["type"] && !!obj["message"];
|
|
124921
124885
|
};
|
|
124922
124886
|
|
|
124923
|
-
// ../../../../node_modules/.pnpm/@formily+validator@2.2.
|
|
124887
|
+
// ../../../../node_modules/.pnpm/@formily+validator@2.2.24/node_modules/@formily/validator/esm/registry.js
|
|
124924
124888
|
var getIn2 = Path.getIn;
|
|
124925
124889
|
var self2 = globalThisPolyfill;
|
|
124926
124890
|
var defaultLanguage = "en";
|
|
@@ -124991,7 +124955,7 @@ var registerValidateFormats = function(formats) {
|
|
|
124991
124955
|
});
|
|
124992
124956
|
};
|
|
124993
124957
|
|
|
124994
|
-
// ../../../../node_modules/.pnpm/@formily+validator@2.2.
|
|
124958
|
+
// ../../../../node_modules/.pnpm/@formily+validator@2.2.24/node_modules/@formily/validator/esm/template.js
|
|
124995
124959
|
var render = function(result, rules) {
|
|
124996
124960
|
var message = result.message;
|
|
124997
124961
|
if (isStr(result.message)) {
|
|
@@ -125006,7 +124970,7 @@ var render = function(result, rules) {
|
|
|
125006
124970
|
return result;
|
|
125007
124971
|
};
|
|
125008
124972
|
|
|
125009
|
-
// ../../../../node_modules/.pnpm/@formily+validator@2.2.
|
|
124973
|
+
// ../../../../node_modules/.pnpm/@formily+validator@2.2.24/node_modules/@formily/validator/esm/parser.js
|
|
125010
124974
|
var __assign5 = function() {
|
|
125011
124975
|
__assign5 = Object.assign || function(t) {
|
|
125012
124976
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -125257,7 +125221,7 @@ var parseValidator = function(validator, options) {
|
|
|
125257
125221
|
}, []);
|
|
125258
125222
|
};
|
|
125259
125223
|
|
|
125260
|
-
// ../../../../node_modules/.pnpm/@formily+validator@2.2.
|
|
125224
|
+
// ../../../../node_modules/.pnpm/@formily+validator@2.2.24/node_modules/@formily/validator/esm/locale.js
|
|
125261
125225
|
var locale_default = {
|
|
125262
125226
|
en: {
|
|
125263
125227
|
pattern: "This field is invalid",
|
|
@@ -125477,7 +125441,7 @@ var locale_default = {
|
|
|
125477
125441
|
}
|
|
125478
125442
|
};
|
|
125479
125443
|
|
|
125480
|
-
// ../../../../node_modules/.pnpm/@formily+validator@2.2.
|
|
125444
|
+
// ../../../../node_modules/.pnpm/@formily+validator@2.2.24/node_modules/@formily/validator/esm/formats.js
|
|
125481
125445
|
var formats_default = {
|
|
125482
125446
|
url: new RegExp(
|
|
125483
125447
|
// protocol identifier
|
|
@@ -125497,7 +125461,7 @@ var formats_default = {
|
|
|
125497
125461
|
zip: /^[0-9]{6}$/
|
|
125498
125462
|
};
|
|
125499
125463
|
|
|
125500
|
-
// ../../../../node_modules/.pnpm/@formily+validator@2.2.
|
|
125464
|
+
// ../../../../node_modules/.pnpm/@formily+validator@2.2.24/node_modules/@formily/validator/esm/rules.js
|
|
125501
125465
|
var __assign6 = function() {
|
|
125502
125466
|
__assign6 = Object.assign || function(t) {
|
|
125503
125467
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -125812,7 +125776,7 @@ extendSameRules(RULES, {
|
|
|
125812
125776
|
});
|
|
125813
125777
|
var rules_default = RULES;
|
|
125814
125778
|
|
|
125815
|
-
// ../../../../node_modules/.pnpm/@formily+validator@2.2.
|
|
125779
|
+
// ../../../../node_modules/.pnpm/@formily+validator@2.2.24/node_modules/@formily/validator/esm/validator.js
|
|
125816
125780
|
var __awaiter3 = function(thisArg, _arguments, P, generator) {
|
|
125817
125781
|
function adopt(value) {
|
|
125818
125782
|
return value instanceof P ? value : new P(function(resolve) {
|
|
@@ -125957,7 +125921,7 @@ var validate = function(value, validator, options) {
|
|
|
125957
125921
|
});
|
|
125958
125922
|
};
|
|
125959
125923
|
|
|
125960
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
125924
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/types.js
|
|
125961
125925
|
var LifeCycleTypes;
|
|
125962
125926
|
(function(LifeCycleTypes2) {
|
|
125963
125927
|
LifeCycleTypes2["ON_FORM_INIT"] = "onFormInit";
|
|
@@ -126009,7 +125973,7 @@ var LifeCycleTypes;
|
|
|
126009
125973
|
LifeCycleTypes2["ON_FIELD_UNMOUNT"] = "onFieldUnmount";
|
|
126010
125974
|
})(LifeCycleTypes || (LifeCycleTypes = {}));
|
|
126011
125975
|
|
|
126012
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
125976
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/shared/constants.js
|
|
126013
125977
|
var ReservedProperties = {
|
|
126014
125978
|
form: true,
|
|
126015
125979
|
parent: true,
|
|
@@ -126061,7 +126025,7 @@ var GlobalState = {
|
|
|
126061
126025
|
};
|
|
126062
126026
|
var NumberIndexReg = /^\.(\d+)/;
|
|
126063
126027
|
|
|
126064
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
126028
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/shared/internals.js
|
|
126065
126029
|
var __assign7 = function() {
|
|
126066
126030
|
__assign7 = Object.assign || function(t) {
|
|
126067
126031
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -127168,7 +127132,7 @@ var getObjectParent = function(field) {
|
|
|
127168
127132
|
}
|
|
127169
127133
|
};
|
|
127170
127134
|
|
|
127171
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
127135
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/models/Query.js
|
|
127172
127136
|
var output = function(field, taker) {
|
|
127173
127137
|
if (!field)
|
|
127174
127138
|
return;
|
|
@@ -127251,7 +127215,7 @@ var Query = (
|
|
|
127251
127215
|
}()
|
|
127252
127216
|
);
|
|
127253
127217
|
|
|
127254
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
127218
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/models/BaseField.js
|
|
127255
127219
|
var __read4 = function(o, n) {
|
|
127256
127220
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
127257
127221
|
if (!m)
|
|
@@ -127631,7 +127595,7 @@ var BaseField = (
|
|
|
127631
127595
|
}()
|
|
127632
127596
|
);
|
|
127633
127597
|
|
|
127634
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
127598
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/models/Field.js
|
|
127635
127599
|
var __extends3 = function() {
|
|
127636
127600
|
var extendStatics = function(d, b) {
|
|
127637
127601
|
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
|
|
@@ -128272,7 +128236,7 @@ var Field = (
|
|
|
128272
128236
|
}(BaseField)
|
|
128273
128237
|
);
|
|
128274
128238
|
|
|
128275
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
128239
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/shared/effective.js
|
|
128276
128240
|
var __read5 = function(o, n) {
|
|
128277
128241
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
128278
128242
|
if (!m)
|
|
@@ -128366,7 +128330,7 @@ var runEffects = function(context) {
|
|
|
128366
128330
|
return GlobalState.lifecycles;
|
|
128367
128331
|
};
|
|
128368
128332
|
|
|
128369
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
128333
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/models/ArrayField.js
|
|
128370
128334
|
var __extends4 = function() {
|
|
128371
128335
|
var extendStatics = function(d, b) {
|
|
128372
128336
|
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
|
|
@@ -128556,7 +128520,7 @@ var ArrayField = (
|
|
|
128556
128520
|
}(Field)
|
|
128557
128521
|
);
|
|
128558
128522
|
|
|
128559
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
128523
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/models/ObjectField.js
|
|
128560
128524
|
var __extends5 = function() {
|
|
128561
128525
|
var extendStatics = function(d, b) {
|
|
128562
128526
|
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
|
|
@@ -128617,7 +128581,7 @@ var ObjectField = (
|
|
|
128617
128581
|
}(Field)
|
|
128618
128582
|
);
|
|
128619
128583
|
|
|
128620
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
128584
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/models/VoidField.js
|
|
128621
128585
|
var __extends6 = function() {
|
|
128622
128586
|
var extendStatics = function(d, b) {
|
|
128623
128587
|
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
|
|
@@ -128732,7 +128696,7 @@ var VoidField = (
|
|
|
128732
128696
|
}(BaseField)
|
|
128733
128697
|
);
|
|
128734
128698
|
|
|
128735
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
128699
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/models/Form.js
|
|
128736
128700
|
var __assign8 = function() {
|
|
128737
128701
|
__assign8 = Object.assign || function(t) {
|
|
128738
128702
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -129260,7 +129224,7 @@ var Form = (
|
|
|
129260
129224
|
}()
|
|
129261
129225
|
);
|
|
129262
129226
|
|
|
129263
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
129227
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/effects/onFormEffects.js
|
|
129264
129228
|
function createFormEffect(type) {
|
|
129265
129229
|
return createEffectHook(type, function(form) {
|
|
129266
129230
|
return function(callback) {
|
|
@@ -129293,7 +129257,7 @@ var onFormValidateEnd = createFormEffect(LifeCycleTypes.ON_FORM_VALIDATE_END);
|
|
|
129293
129257
|
var onFormGraphChange = createFormEffect(LifeCycleTypes.ON_FORM_GRAPH_CHANGE);
|
|
129294
129258
|
var onFormLoading = createFormEffect(LifeCycleTypes.ON_FORM_LOADING);
|
|
129295
129259
|
|
|
129296
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
129260
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/effects/onFieldEffects.js
|
|
129297
129261
|
function createFieldEffect(type) {
|
|
129298
129262
|
return createEffectHook(type, function(field, form) {
|
|
129299
129263
|
return function(pattern, callback) {
|
|
@@ -129338,7 +129302,7 @@ function onFieldInit(pattern, callback) {
|
|
|
129338
129302
|
}
|
|
129339
129303
|
}
|
|
129340
129304
|
|
|
129341
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.
|
|
129305
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.0.4/node_modules/@formily/json-schema/esm/transformer.js
|
|
129342
129306
|
var __read7 = function(o, n) {
|
|
129343
129307
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
129344
129308
|
if (!m)
|
|
@@ -129563,7 +129527,7 @@ var transformFieldProps = function(schema, options) {
|
|
|
129563
129527
|
};
|
|
129564
129528
|
};
|
|
129565
129529
|
|
|
129566
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.
|
|
129530
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.0.4/node_modules/@formily/json-schema/esm/patches.js
|
|
129567
129531
|
var __assign9 = function() {
|
|
129568
129532
|
__assign9 = Object.assign || function(t) {
|
|
129569
129533
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -129612,7 +129576,7 @@ var enablePolyfills = function(versions) {
|
|
|
129612
129576
|
}
|
|
129613
129577
|
};
|
|
129614
129578
|
|
|
129615
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.
|
|
129579
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.0.4/node_modules/@formily/json-schema/esm/polyfills/SPECIFICATION_1_0.js
|
|
129616
129580
|
var __assign10 = function() {
|
|
129617
129581
|
__assign10 = Object.assign || function(t) {
|
|
129618
129582
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -129769,7 +129733,7 @@ var registerTypeDefaultComponents = function(maps) {
|
|
|
129769
129733
|
Object.assign(TYPE_DEFAULT_COMPONENTS, maps);
|
|
129770
129734
|
};
|
|
129771
129735
|
|
|
129772
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.
|
|
129736
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.0.4/node_modules/@formily/json-schema/esm/schema.js
|
|
129773
129737
|
var Schema = (
|
|
129774
129738
|
/** @class */
|
|
129775
129739
|
function() {
|
|
@@ -130005,10 +129969,10 @@ var Schema = (
|
|
|
130005
129969
|
}()
|
|
130006
129970
|
);
|
|
130007
129971
|
|
|
130008
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.
|
|
129972
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-formily/dist/esm/prompt.js
|
|
130009
129973
|
var import_inquirer = __toESM(require_inquirer());
|
|
130010
129974
|
|
|
130011
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.
|
|
129975
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-formily/dist/esm/transform.js
|
|
130012
129976
|
var import_lodash2 = __toESM(require_lodash2());
|
|
130013
129977
|
function asyncGeneratorStep9(gen, resolve, reject, _next, _throw, key, arg) {
|
|
130014
129978
|
try {
|
|
@@ -130355,7 +130319,7 @@ function transformForm(schema) {
|
|
|
130355
130319
|
return getQuestionFromSchema(schema, configValue, validateMap, initValue);
|
|
130356
130320
|
}
|
|
130357
130321
|
|
|
130358
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.
|
|
130322
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-formily/dist/esm/prompt.js
|
|
130359
130323
|
function asyncGeneratorStep10(gen, resolve, reject, _next, _throw, key, arg) {
|
|
130360
130324
|
try {
|
|
130361
130325
|
var info = gen[key](arg);
|
|
@@ -130879,7 +130843,7 @@ function _prompt() {
|
|
|
130879
130843
|
return _prompt.apply(this, arguments);
|
|
130880
130844
|
}
|
|
130881
130845
|
|
|
130882
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.
|
|
130846
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-formily/dist/esm/inquirer.js
|
|
130883
130847
|
function asyncGeneratorStep11(gen, resolve, reject, _next, _throw, key, arg) {
|
|
130884
130848
|
try {
|
|
130885
130849
|
var info = gen[key](arg);
|
|
@@ -131119,7 +131083,7 @@ var CLIReader = /* @__PURE__ */ function() {
|
|
|
131119
131083
|
return CLIReader2;
|
|
131120
131084
|
}();
|
|
131121
131085
|
|
|
131122
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.
|
|
131086
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-api-app/dist/esm/index.js
|
|
131123
131087
|
var import_inquirer2 = __toESM(require_inquirer2());
|
|
131124
131088
|
|
|
131125
131089
|
// ../../../../node_modules/.pnpm/@modern-js+plugin-i18n@2.18.0/node_modules/@modern-js/plugin-i18n/dist/esm-node/index.js
|
|
@@ -131198,7 +131162,7 @@ var I18n = class {
|
|
|
131198
131162
|
}
|
|
131199
131163
|
};
|
|
131200
131164
|
|
|
131201
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.
|
|
131165
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-api-app/dist/esm/locale/zh.js
|
|
131202
131166
|
var ZH_LOCALE = {
|
|
131203
131167
|
environment: {
|
|
131204
131168
|
node_version: "请升级 Node 版本至 LIS",
|
|
@@ -131225,7 +131189,7 @@ var ZH_LOCALE = {
|
|
|
131225
131189
|
}
|
|
131226
131190
|
};
|
|
131227
131191
|
|
|
131228
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.
|
|
131192
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-api-app/dist/esm/locale/en.js
|
|
131229
131193
|
var EN_LOCALE = {
|
|
131230
131194
|
environment: {
|
|
131231
131195
|
node_version: "please upgrade node to lts version",
|
|
@@ -131252,14 +131216,14 @@ var EN_LOCALE = {
|
|
|
131252
131216
|
}
|
|
131253
131217
|
};
|
|
131254
131218
|
|
|
131255
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.
|
|
131219
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-api-app/dist/esm/locale/index.js
|
|
131256
131220
|
var i18n = new I18n();
|
|
131257
131221
|
var localeKeys = i18n.init("zh", {
|
|
131258
131222
|
zh: ZH_LOCALE,
|
|
131259
131223
|
en: EN_LOCALE
|
|
131260
131224
|
});
|
|
131261
131225
|
|
|
131262
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.
|
|
131226
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-api-app/dist/esm/utils/transform.js
|
|
131263
131227
|
var import_lodash5 = __toESM(require_lodash2());
|
|
131264
131228
|
function asyncGeneratorStep12(gen, resolve, reject, _next, _throw, key, arg) {
|
|
131265
131229
|
try {
|
|
@@ -131468,7 +131432,7 @@ function transformInquirerSchema(questions) {
|
|
|
131468
131432
|
return questions;
|
|
131469
131433
|
}
|
|
131470
131434
|
|
|
131471
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.
|
|
131435
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-api-app/dist/esm/utils/checkUseNvm.js
|
|
131472
131436
|
var import_path4 = __toESM(require("path"));
|
|
131473
131437
|
function asyncGeneratorStep13(gen, resolve, reject, _next, _throw, key, arg) {
|
|
131474
131438
|
try {
|
|
@@ -131732,7 +131696,7 @@ function _checkUseNvm() {
|
|
|
131732
131696
|
return _checkUseNvm.apply(this, arguments);
|
|
131733
131697
|
}
|
|
131734
131698
|
|
|
131735
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.
|
|
131699
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-api-app/dist/esm/index.js
|
|
131736
131700
|
function _array_like_to_array(arr, len) {
|
|
131737
131701
|
if (len == null || len > arr.length)
|
|
131738
131702
|
len = arr.length;
|
|
@@ -132313,7 +132277,7 @@ var AppAPI = /* @__PURE__ */ function() {
|
|
|
132313
132277
|
switch (_state2.label) {
|
|
132314
132278
|
case 0:
|
|
132315
132279
|
_this.generatorCore.logger.debug("[renderDir] resourceKey=".concat(resourceKey));
|
|
132316
|
-
target = rename ? rename(resourceKey) : resourceKey.replace("templates/", "").replace(".handlebars", "");
|
|
132280
|
+
target = rename ? rename(resourceKey) : resourceKey.replace("templates/", "").replace(".handlebars", "").replace(".ejs", "");
|
|
132317
132281
|
return [
|
|
132318
132282
|
4,
|
|
132319
132283
|
api.renderTemplate(material.get(resourceKey), target, _object_spread7({}, _this.generatorContext.data || {}, parameters || {}))
|
|
@@ -132662,11 +132626,11 @@ var AppAPI = /* @__PURE__ */ function() {
|
|
|
132662
132626
|
return AppAPI2;
|
|
132663
132627
|
}();
|
|
132664
132628
|
|
|
132665
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.2.
|
|
132629
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.2.3/node_modules/@modern-js/codesmith-api-json/dist/esm/index.js
|
|
132666
132630
|
var import_comment_json2 = __toESM(require_src2());
|
|
132667
132631
|
var declarationUpdate = __toESM(require_dist());
|
|
132668
132632
|
|
|
132669
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.2.
|
|
132633
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.2.3/node_modules/@modern-js/codesmith-api-json/dist/esm/utils/index.js
|
|
132670
132634
|
function asyncGeneratorStep15(gen, resolve, reject, _next, _throw, key, arg) {
|
|
132671
132635
|
try {
|
|
132672
132636
|
var info = gen[key](arg);
|
|
@@ -132840,7 +132804,7 @@ function _editJson() {
|
|
|
132840
132804
|
return _editJson.apply(this, arguments);
|
|
132841
132805
|
}
|
|
132842
132806
|
|
|
132843
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.2.
|
|
132807
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.2.3/node_modules/@modern-js/codesmith-api-json/dist/esm/index.js
|
|
132844
132808
|
function asyncGeneratorStep16(gen, resolve, reject, _next, _throw, key, arg) {
|
|
132845
132809
|
try {
|
|
132846
132810
|
var info = gen[key](arg);
|
|
@@ -133149,7 +133113,7 @@ var PackageManagerName = {
|
|
|
133149
133113
|
|
|
133150
133114
|
// ../../generator-utils/dist/esm/index.js
|
|
133151
133115
|
var import_path5 = __toESM(require("path"));
|
|
133152
|
-
var
|
|
133116
|
+
var import_utils14 = __toESM(require_cjs2());
|
|
133153
133117
|
|
|
133154
133118
|
// src/index.ts
|
|
133155
133119
|
var handleTemplateFile = (context, generator) => __async(void 0, null, function* () {
|
|
@@ -133167,7 +133131,7 @@ var handleTemplateFile = (context, generator) => __async(void 0, null, function*
|
|
|
133167
133131
|
}
|
|
133168
133132
|
});
|
|
133169
133133
|
} else if (packageManager === PackageManager.Yarn) {
|
|
133170
|
-
const pkgInfo =
|
|
133134
|
+
const pkgInfo = import_utils14.fs.readJSONSync(
|
|
133171
133135
|
import_path6.default.join(context.materials.default.basePath, "package.json"),
|
|
133172
133136
|
"utf-8"
|
|
133173
133137
|
);
|
|
@@ -133189,7 +133153,7 @@ var handleTemplateFile = (context, generator) => __async(void 0, null, function*
|
|
|
133189
133153
|
}
|
|
133190
133154
|
});
|
|
133191
133155
|
} else {
|
|
133192
|
-
const pkgInfo =
|
|
133156
|
+
const pkgInfo = import_utils14.fs.readJSONSync(
|
|
133193
133157
|
import_path6.default.join(context.materials.default.basePath, "package.json"),
|
|
133194
133158
|
"utf-8"
|
|
133195
133159
|
);
|
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
|
"main": "./dist/index.js",
|
|
21
21
|
"files": [
|
|
@@ -23,17 +23,17 @@
|
|
|
23
23
|
"/dist/index.js"
|
|
24
24
|
],
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@modern-js/codesmith": "2.2.
|
|
27
|
-
"@modern-js/codesmith-api-app": "2.2.
|
|
28
|
-
"@modern-js/codesmith-api-json": "2.2.
|
|
26
|
+
"@modern-js/codesmith": "2.2.3",
|
|
27
|
+
"@modern-js/codesmith-api-app": "2.2.3",
|
|
28
|
+
"@modern-js/codesmith-api-json": "2.2.3",
|
|
29
29
|
"@types/jest": "^29",
|
|
30
30
|
"@types/node": "^14",
|
|
31
31
|
"jest": "^29",
|
|
32
|
-
"typescript": "^
|
|
33
|
-
"@modern-js/generator-common": "3.1.
|
|
34
|
-
"@
|
|
35
|
-
"@scripts/
|
|
36
|
-
"@
|
|
32
|
+
"typescript": "^5",
|
|
33
|
+
"@modern-js/generator-common": "3.1.18",
|
|
34
|
+
"@scripts/build": "2.21.0",
|
|
35
|
+
"@scripts/jest-config": "2.21.0",
|
|
36
|
+
"@modern-js/generator-utils": "3.1.18"
|
|
37
37
|
},
|
|
38
38
|
"sideEffects": false,
|
|
39
39
|
"publishConfig": {
|