@modern-js/tailwindcss-generator 3.1.16 → 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 +111 -153
- package/package.json +9 -10
package/dist/index.js
CHANGED
|
@@ -84400,11 +84400,11 @@ var mime = Import.lazy("../compiled/mime-types", require);
|
|
|
84400
84400
|
var chokidar = Import.lazy("../compiled/chokidar", require);
|
|
84401
84401
|
var inquirer = Import.lazy("../compiled/inquirer", require);
|
|
84402
84402
|
|
|
84403
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.
|
|
84403
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-api-app/dist/esm/index.js
|
|
84404
84404
|
var import_lodash6 = __toESM(require_lodash2());
|
|
84405
84405
|
var import_comment_json = __toESM(require_src2());
|
|
84406
84406
|
|
|
84407
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.2.
|
|
84407
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.2.3/node_modules/@modern-js/codesmith-api-npm/dist/esm/utils/env.js
|
|
84408
84408
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
84409
84409
|
try {
|
|
84410
84410
|
var info = gen[key](arg);
|
|
@@ -84712,7 +84712,7 @@ function _canUsePnpm() {
|
|
|
84712
84712
|
return _canUsePnpm.apply(this, arguments);
|
|
84713
84713
|
}
|
|
84714
84714
|
|
|
84715
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.2.
|
|
84715
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.2.3/node_modules/@modern-js/codesmith-api-npm/dist/esm/utils/install.js
|
|
84716
84716
|
function asyncGeneratorStep2(gen, resolve, reject, _next, _throw, key, arg) {
|
|
84717
84717
|
try {
|
|
84718
84718
|
var info = gen[key](arg);
|
|
@@ -85079,7 +85079,7 @@ function _pnpmInstall() {
|
|
|
85079
85079
|
return _pnpmInstall.apply(this, arguments);
|
|
85080
85080
|
}
|
|
85081
85081
|
|
|
85082
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.2.
|
|
85082
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.2.3/node_modules/@modern-js/codesmith-api-npm/dist/esm/index.js
|
|
85083
85083
|
function _class_call_check(instance, Constructor) {
|
|
85084
85084
|
if (!(instance instanceof Constructor)) {
|
|
85085
85085
|
throw new TypeError("Cannot call a class as a function");
|
|
@@ -85160,7 +85160,7 @@ var NpmAPI = /* @__PURE__ */ function() {
|
|
|
85160
85160
|
return NpmAPI2;
|
|
85161
85161
|
}();
|
|
85162
85162
|
|
|
85163
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.2.
|
|
85163
|
+
// ../../../../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
|
|
85164
85164
|
function asyncGeneratorStep3(gen, resolve, reject, _next, _throw, key, arg) {
|
|
85165
85165
|
try {
|
|
85166
85166
|
var info = gen[key](arg);
|
|
@@ -85502,7 +85502,7 @@ function _gitCommit() {
|
|
|
85502
85502
|
return _gitCommit.apply(this, arguments);
|
|
85503
85503
|
}
|
|
85504
85504
|
|
|
85505
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.2.
|
|
85505
|
+
// ../../../../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
|
|
85506
85506
|
function asyncGeneratorStep4(gen, resolve, reject, _next, _throw, key, arg) {
|
|
85507
85507
|
try {
|
|
85508
85508
|
var info = gen[key](arg);
|
|
@@ -85833,11 +85833,11 @@ var GitAPI = /* @__PURE__ */ function() {
|
|
|
85833
85833
|
return GitAPI2;
|
|
85834
85834
|
}();
|
|
85835
85835
|
|
|
85836
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.
|
|
85836
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith/dist/esm/materials/FsResource.js
|
|
85837
85837
|
var import_path = __toESM(require("path"));
|
|
85838
85838
|
var FS_RESOURCE = "_codesmith_core_fs_resource";
|
|
85839
85839
|
|
|
85840
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.
|
|
85840
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith/dist/esm/utils/fsExists.js
|
|
85841
85841
|
function asyncGeneratorStep5(gen, resolve, reject, _next, _throw, key, arg) {
|
|
85842
85842
|
try {
|
|
85843
85843
|
var info = gen[key](arg);
|
|
@@ -86010,7 +86010,7 @@ function _fsExists() {
|
|
|
86010
86010
|
return _fsExists.apply(this, arguments);
|
|
86011
86011
|
}
|
|
86012
86012
|
|
|
86013
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.2.
|
|
86013
|
+
// ../../../../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
|
|
86014
86014
|
var import_handlebars = __toESM(require_lib());
|
|
86015
86015
|
function _define_property4(obj, key, value) {
|
|
86016
86016
|
if (key in obj) {
|
|
@@ -86052,7 +86052,7 @@ function renderString(template, fullData, registers) {
|
|
|
86052
86052
|
return import_handlebars.default.compile(template)(fullData) || "";
|
|
86053
86053
|
}
|
|
86054
86054
|
|
|
86055
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.2.
|
|
86055
|
+
// ../../../../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
|
|
86056
86056
|
function asyncGeneratorStep6(gen, resolve, reject, _next, _throw, key, arg) {
|
|
86057
86057
|
try {
|
|
86058
86058
|
var info = gen[key](arg);
|
|
@@ -86370,13 +86370,13 @@ var HandlebarsAPI = /* @__PURE__ */ function() {
|
|
|
86370
86370
|
return HandlebarsAPI2;
|
|
86371
86371
|
}();
|
|
86372
86372
|
|
|
86373
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.2.
|
|
86373
|
+
// ../../../../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
|
|
86374
86374
|
var import_ejs = __toESM(require_ejs());
|
|
86375
86375
|
function renderString2(template, fullData) {
|
|
86376
86376
|
return import_ejs.default.render(template, fullData) || "";
|
|
86377
86377
|
}
|
|
86378
86378
|
|
|
86379
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.2.
|
|
86379
|
+
// ../../../../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
|
|
86380
86380
|
function asyncGeneratorStep7(gen, resolve, reject, _next, _throw, key, arg) {
|
|
86381
86381
|
try {
|
|
86382
86382
|
var info = gen[key](arg);
|
|
@@ -86646,24 +86646,8 @@ var EjsAPI = /* @__PURE__ */ function() {
|
|
|
86646
86646
|
return EjsAPI2;
|
|
86647
86647
|
}();
|
|
86648
86648
|
|
|
86649
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-fs@2.2.
|
|
86649
|
+
// ../../../../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
|
|
86650
86650
|
var import_path2 = __toESM(require("path"));
|
|
86651
|
-
|
|
86652
|
-
// ../../../../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
|
|
86653
|
-
var imageExtNameList = [
|
|
86654
|
-
".jpg",
|
|
86655
|
-
".jpeg",
|
|
86656
|
-
".png",
|
|
86657
|
-
".gif",
|
|
86658
|
-
".bmp",
|
|
86659
|
-
".ico",
|
|
86660
|
-
".icon",
|
|
86661
|
-
".mpt",
|
|
86662
|
-
".psd",
|
|
86663
|
-
".wmf"
|
|
86664
|
-
];
|
|
86665
|
-
|
|
86666
|
-
// ../../../../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
|
|
86667
86651
|
function asyncGeneratorStep8(gen, resolve, reject, _next, _throw, key, arg) {
|
|
86668
86652
|
try {
|
|
86669
86653
|
var info = gen[key](arg);
|
|
@@ -86843,48 +86827,26 @@ var FsAPI = /* @__PURE__ */ function() {
|
|
|
86843
86827
|
value: function renderFile(resource, target) {
|
|
86844
86828
|
var _this = this;
|
|
86845
86829
|
return _async_to_generator8(function() {
|
|
86846
|
-
var
|
|
86830
|
+
var filePath;
|
|
86847
86831
|
return __generator8(this, function(_state) {
|
|
86848
86832
|
switch (_state.label) {
|
|
86849
86833
|
case 0:
|
|
86850
86834
|
if (resource._type !== FS_RESOURCE) {
|
|
86851
86835
|
throw new Error("resource not match");
|
|
86852
86836
|
}
|
|
86837
|
+
filePath = import_path2.default.resolve(_this.generatorCore.outputPath, target.toString());
|
|
86853
86838
|
return [
|
|
86854
86839
|
4,
|
|
86855
|
-
|
|
86840
|
+
import_fs_extra.default.mkdirp(import_path2.default.dirname(filePath))
|
|
86856
86841
|
];
|
|
86857
86842
|
case 1:
|
|
86858
|
-
resourceValue = _state.sent();
|
|
86859
|
-
resourceFileExt = import_path2.default.extname(resource.filePath);
|
|
86860
|
-
if (!imageExtNameList.includes(resourceFileExt))
|
|
86861
|
-
return [
|
|
86862
|
-
3,
|
|
86863
|
-
3
|
|
86864
|
-
];
|
|
86865
|
-
return [
|
|
86866
|
-
4,
|
|
86867
|
-
_this.generatorCore.output.fs(target, resourceValue.content, {
|
|
86868
|
-
encoding: "binary"
|
|
86869
|
-
})
|
|
86870
|
-
];
|
|
86871
|
-
case 2:
|
|
86872
86843
|
_state.sent();
|
|
86873
|
-
return [
|
|
86874
|
-
3,
|
|
86875
|
-
5
|
|
86876
|
-
];
|
|
86877
|
-
case 3:
|
|
86878
86844
|
return [
|
|
86879
86845
|
4,
|
|
86880
|
-
|
|
86881
|
-
encoding: "utf-8"
|
|
86882
|
-
})
|
|
86846
|
+
import_fs_extra.default.copyFile(resource.filePath, filePath)
|
|
86883
86847
|
];
|
|
86884
|
-
case
|
|
86848
|
+
case 2:
|
|
86885
86849
|
_state.sent();
|
|
86886
|
-
_state.label = 5;
|
|
86887
|
-
case 5:
|
|
86888
86850
|
return [
|
|
86889
86851
|
2
|
|
86890
86852
|
];
|
|
@@ -86947,7 +86909,7 @@ var FsAPI = /* @__PURE__ */ function() {
|
|
|
86947
86909
|
return FsAPI2;
|
|
86948
86910
|
}();
|
|
86949
86911
|
|
|
86950
|
-
// ../../../../node_modules/.pnpm/@formily+shared@2.2.
|
|
86912
|
+
// ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/checkers.js
|
|
86951
86913
|
var toString = Object.prototype.toString;
|
|
86952
86914
|
var isType = function(type) {
|
|
86953
86915
|
return function(obj) {
|
|
@@ -86973,7 +86935,7 @@ var isObj = function(val) {
|
|
|
86973
86935
|
};
|
|
86974
86936
|
var isRegExp = isType("RegExp");
|
|
86975
86937
|
|
|
86976
|
-
// ../../../../node_modules/.pnpm/@formily+shared@2.2.
|
|
86938
|
+
// ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/array.js
|
|
86977
86939
|
var toArr = function(val) {
|
|
86978
86940
|
return isArr(val) ? val : val ? [val] : [];
|
|
86979
86941
|
};
|
|
@@ -87024,7 +86986,7 @@ function reduce(val, iterator, accumulator, revert) {
|
|
|
87024
86986
|
return result;
|
|
87025
86987
|
}
|
|
87026
86988
|
|
|
87027
|
-
// ../../../../node_modules/.pnpm/@formily+shared@2.2.
|
|
86989
|
+
// ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/global.js
|
|
87028
86990
|
function globalSelf() {
|
|
87029
86991
|
try {
|
|
87030
86992
|
if (typeof self !== "undefined") {
|
|
@@ -87048,7 +87010,7 @@ function globalSelf() {
|
|
|
87048
87010
|
}
|
|
87049
87011
|
var globalThisPolyfill = globalSelf();
|
|
87050
87012
|
|
|
87051
|
-
// ../../../../node_modules/.pnpm/@formily+shared@2.2.
|
|
87013
|
+
// ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/instanceof.js
|
|
87052
87014
|
var instOf = function(value, cls) {
|
|
87053
87015
|
if (isFn(cls))
|
|
87054
87016
|
return value instanceof cls;
|
|
@@ -87057,7 +87019,7 @@ var instOf = function(value, cls) {
|
|
|
87057
87019
|
return false;
|
|
87058
87020
|
};
|
|
87059
87021
|
|
|
87060
|
-
// ../../../../node_modules/.pnpm/@formily+shared@2.2.
|
|
87022
|
+
// ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/compare.js
|
|
87061
87023
|
var isArray = isArr;
|
|
87062
87024
|
var keyList = Object.keys;
|
|
87063
87025
|
var hasProp = Object.prototype.hasOwnProperty;
|
|
@@ -87164,7 +87126,7 @@ var isEqual = function exportedEqual(a, b) {
|
|
|
87164
87126
|
}
|
|
87165
87127
|
};
|
|
87166
87128
|
|
|
87167
|
-
// ../../../../node_modules/.pnpm/@formily+shared@2.2.
|
|
87129
|
+
// ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/clone.js
|
|
87168
87130
|
var clone = function(values) {
|
|
87169
87131
|
if (Array.isArray(values)) {
|
|
87170
87132
|
var res_1 = [];
|
|
@@ -87200,7 +87162,7 @@ var clone = function(values) {
|
|
|
87200
87162
|
}
|
|
87201
87163
|
};
|
|
87202
87164
|
|
|
87203
|
-
// ../../../../node_modules/.pnpm/@formily+shared@2.2.
|
|
87165
|
+
// ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/isEmpty.js
|
|
87204
87166
|
var has = Object.prototype.hasOwnProperty;
|
|
87205
87167
|
var toString2 = Object.prototype.toString;
|
|
87206
87168
|
var isUndef = function(val) {
|
|
@@ -87328,7 +87290,7 @@ function pascalCase(input, options) {
|
|
|
87328
87290
|
return noCase(input, __assign({ delimiter: "", transform: pascalCaseTransform }, options));
|
|
87329
87291
|
}
|
|
87330
87292
|
|
|
87331
|
-
// ../../../../node_modules/.pnpm/@formily+shared@2.2.
|
|
87293
|
+
// ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/string.js
|
|
87332
87294
|
var ansiRegex = function() {
|
|
87333
87295
|
var pattern = [
|
|
87334
87296
|
"[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[a-zA-Z\\d]*)*)?\\u0007)",
|
|
@@ -87347,7 +87309,7 @@ var stringLength = function(input) {
|
|
|
87347
87309
|
return stripAnsi(input).replace(astralRegex(), " ").length;
|
|
87348
87310
|
};
|
|
87349
87311
|
|
|
87350
|
-
// ../../../../node_modules/.pnpm/@formily+path@2.2.
|
|
87312
|
+
// ../../../../node_modules/.pnpm/@formily+path@2.2.24/node_modules/@formily/path/esm/contexts.js
|
|
87351
87313
|
var __assign2 = function() {
|
|
87352
87314
|
__assign2 = Object.assign || function(t) {
|
|
87353
87315
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -87370,7 +87332,7 @@ var parenContext = ContextType("()");
|
|
|
87370
87332
|
var braceContext = ContextType("{}");
|
|
87371
87333
|
var destructorContext = ContextType("{x}");
|
|
87372
87334
|
|
|
87373
|
-
// ../../../../node_modules/.pnpm/@formily+path@2.2.
|
|
87335
|
+
// ../../../../node_modules/.pnpm/@formily+path@2.2.24/node_modules/@formily/path/esm/tokens.js
|
|
87374
87336
|
var __assign3 = function() {
|
|
87375
87337
|
__assign3 = Object.assign || function(t) {
|
|
87376
87338
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -87538,7 +87500,7 @@ var expandTok = TokenType("expandTok", {
|
|
|
87538
87500
|
});
|
|
87539
87501
|
var eofTok = TokenType("eof");
|
|
87540
87502
|
|
|
87541
|
-
// ../../../../node_modules/.pnpm/@formily+path@2.2.
|
|
87503
|
+
// ../../../../node_modules/.pnpm/@formily+path@2.2.24/node_modules/@formily/path/esm/tokenizer.js
|
|
87542
87504
|
var nonASCIIWhitespace = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/;
|
|
87543
87505
|
var fullCharCodeAtPos = function(input, pos) {
|
|
87544
87506
|
if (String.fromCharCode)
|
|
@@ -87790,7 +87752,7 @@ var Tokenizer = (
|
|
|
87790
87752
|
}()
|
|
87791
87753
|
);
|
|
87792
87754
|
|
|
87793
|
-
// ../../../../node_modules/.pnpm/@formily+path@2.2.
|
|
87755
|
+
// ../../../../node_modules/.pnpm/@formily+path@2.2.24/node_modules/@formily/path/esm/types.js
|
|
87794
87756
|
var isType2 = function(type) {
|
|
87795
87757
|
return function(obj) {
|
|
87796
87758
|
return obj && obj.type === type;
|
|
@@ -87808,7 +87770,7 @@ var isObjectPattern = isType2("ObjectPattern");
|
|
|
87808
87770
|
var isObjectPatternProperty = isType2("ObjectPatternProperty");
|
|
87809
87771
|
var isArrayPattern = isType2("ArrayPattern");
|
|
87810
87772
|
|
|
87811
|
-
// ../../../../node_modules/.pnpm/@formily+path@2.2.
|
|
87773
|
+
// ../../../../node_modules/.pnpm/@formily+path@2.2.24/node_modules/@formily/path/esm/shared.js
|
|
87812
87774
|
var toString3 = Object.prototype.toString;
|
|
87813
87775
|
var isType3 = function(type) {
|
|
87814
87776
|
return function(obj) {
|
|
@@ -87885,7 +87847,7 @@ var isSegmentEqual = function(a, b) {
|
|
|
87885
87847
|
return a === b;
|
|
87886
87848
|
};
|
|
87887
87849
|
|
|
87888
|
-
// ../../../../node_modules/.pnpm/@formily+path@2.2.
|
|
87850
|
+
// ../../../../node_modules/.pnpm/@formily+path@2.2.24/node_modules/@formily/path/esm/destructor.js
|
|
87889
87851
|
var DestructorCache = /* @__PURE__ */ new Map();
|
|
87890
87852
|
var isValid2 = function(val) {
|
|
87891
87853
|
return val !== void 0 && val !== null;
|
|
@@ -88003,7 +87965,7 @@ var existInByDestructor = function(source, rules, start, mutators) {
|
|
|
88003
87965
|
});
|
|
88004
87966
|
};
|
|
88005
87967
|
|
|
88006
|
-
// ../../../../node_modules/.pnpm/@formily+path@2.2.
|
|
87968
|
+
// ../../../../node_modules/.pnpm/@formily+path@2.2.24/node_modules/@formily/path/esm/parser.js
|
|
88007
87969
|
var __extends = function() {
|
|
88008
87970
|
var extendStatics = function(d, b) {
|
|
88009
87971
|
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
|
|
@@ -88394,7 +88356,7 @@ var Parser = (
|
|
|
88394
88356
|
}(Tokenizer)
|
|
88395
88357
|
);
|
|
88396
88358
|
|
|
88397
|
-
// ../../../../node_modules/.pnpm/@formily+path@2.2.
|
|
88359
|
+
// ../../../../node_modules/.pnpm/@formily+path@2.2.24/node_modules/@formily/path/esm/matcher.js
|
|
88398
88360
|
var Matcher = (
|
|
88399
88361
|
/** @class */
|
|
88400
88362
|
function() {
|
|
@@ -88576,7 +88538,7 @@ var Matcher = (
|
|
|
88576
88538
|
}()
|
|
88577
88539
|
);
|
|
88578
88540
|
|
|
88579
|
-
// ../../../../node_modules/.pnpm/@formily+path@2.2.
|
|
88541
|
+
// ../../../../node_modules/.pnpm/@formily+path@2.2.24/node_modules/@formily/path/esm/index.js
|
|
88580
88542
|
var __read = function(o, n) {
|
|
88581
88543
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
88582
88544
|
if (!m)
|
|
@@ -89130,7 +89092,7 @@ var Path = (
|
|
|
89130
89092
|
}()
|
|
89131
89093
|
);
|
|
89132
89094
|
|
|
89133
|
-
// ../../../../node_modules/.pnpm/@formily+shared@2.2.
|
|
89095
|
+
// ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/subscribable.js
|
|
89134
89096
|
var Subscribable = (
|
|
89135
89097
|
/** @class */
|
|
89136
89098
|
function() {
|
|
@@ -89182,7 +89144,7 @@ var Subscribable = (
|
|
|
89182
89144
|
}()
|
|
89183
89145
|
);
|
|
89184
89146
|
|
|
89185
|
-
// ../../../../node_modules/.pnpm/@formily+shared@2.2.
|
|
89147
|
+
// ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/merge.js
|
|
89186
89148
|
function defaultIsMergeableObject(value) {
|
|
89187
89149
|
return isNonNullObject(value) && !isSpecial(value);
|
|
89188
89150
|
}
|
|
@@ -89375,7 +89337,7 @@ var lazyMerge = function(target) {
|
|
|
89375
89337
|
};
|
|
89376
89338
|
var merge = deepmerge;
|
|
89377
89339
|
|
|
89378
|
-
// ../../../../node_modules/.pnpm/@formily+shared@2.2.
|
|
89340
|
+
// ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/uid.js
|
|
89379
89341
|
var IDX = 36;
|
|
89380
89342
|
var HEX = "";
|
|
89381
89343
|
while (IDX--)
|
|
@@ -89387,7 +89349,7 @@ function uid(len) {
|
|
|
89387
89349
|
return str;
|
|
89388
89350
|
}
|
|
89389
89351
|
|
|
89390
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
89352
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/checkers.js
|
|
89391
89353
|
var toString4 = Object.prototype.toString;
|
|
89392
89354
|
var isMap = function(val) {
|
|
89393
89355
|
return val && val instanceof Map;
|
|
@@ -89418,7 +89380,7 @@ var isNormalType = function(target) {
|
|
|
89418
89380
|
return isPlainObj3(target) || isArr3(target);
|
|
89419
89381
|
};
|
|
89420
89382
|
|
|
89421
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
89383
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/array.js
|
|
89422
89384
|
var toArray = function(value) {
|
|
89423
89385
|
return Array.isArray(value) ? value : value !== void 0 && value !== null ? [value] : [];
|
|
89424
89386
|
};
|
|
@@ -89482,7 +89444,7 @@ var ArraySet = (
|
|
|
89482
89444
|
}()
|
|
89483
89445
|
);
|
|
89484
89446
|
|
|
89485
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
89447
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/environment.js
|
|
89486
89448
|
var ProxyRaw = /* @__PURE__ */ new WeakMap();
|
|
89487
89449
|
var RawProxy = /* @__PURE__ */ new WeakMap();
|
|
89488
89450
|
var RawShallowProxy = /* @__PURE__ */ new WeakMap();
|
|
@@ -89501,7 +89463,7 @@ var MakeObModelSymbol = Symbol("MakeObModelSymbol");
|
|
|
89501
89463
|
var ObModelSymbol = Symbol("ObModelSymbol");
|
|
89502
89464
|
var ObModelNodeSymbol = Symbol("ObModelNodeSymbol");
|
|
89503
89465
|
|
|
89504
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
89466
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/reaction.js
|
|
89505
89467
|
var ITERATION_KEY = Symbol("iteration key");
|
|
89506
89468
|
var addRawReactionsMap = function(target, key, reaction2) {
|
|
89507
89469
|
var reactionsMap = RawReactionsMap.get(target);
|
|
@@ -89731,7 +89693,7 @@ var disposeEffects = function(reaction2) {
|
|
|
89731
89693
|
}
|
|
89732
89694
|
};
|
|
89733
89695
|
|
|
89734
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
89696
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/tree.js
|
|
89735
89697
|
var DataChange = (
|
|
89736
89698
|
/** @class */
|
|
89737
89699
|
function() {
|
|
@@ -89827,7 +89789,7 @@ var buildDataTree = function(target, key, value) {
|
|
|
89827
89789
|
setDataNode(raw2, new DataNode(target, key, value));
|
|
89828
89790
|
};
|
|
89829
89791
|
|
|
89830
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
89792
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/externals.js
|
|
89831
89793
|
var RAW_TYPE = Symbol("RAW_TYPE");
|
|
89832
89794
|
var OBSERVABLE_TYPE = Symbol("OBSERVABLE_TYPE");
|
|
89833
89795
|
var hasOwnProperty2 = Object.prototype.hasOwnProperty;
|
|
@@ -89929,7 +89891,7 @@ var hasCollected = function(callback) {
|
|
|
89929
89891
|
return DependencyCollected.value;
|
|
89930
89892
|
};
|
|
89931
89893
|
|
|
89932
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
89894
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/handlers.js
|
|
89933
89895
|
var __read2 = function(o, n) {
|
|
89934
89896
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
89935
89897
|
if (!m)
|
|
@@ -90185,7 +90147,7 @@ var baseHandlers = {
|
|
|
90185
90147
|
}
|
|
90186
90148
|
};
|
|
90187
90149
|
|
|
90188
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
90150
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/internals.js
|
|
90189
90151
|
var createNormalProxy = function(target, shallow2) {
|
|
90190
90152
|
var proxy = new Proxy(target, baseHandlers);
|
|
90191
90153
|
ProxyRaw.set(proxy, target);
|
|
@@ -90300,7 +90262,7 @@ var createBoundaryAnnotation = function(start, end) {
|
|
|
90300
90262
|
return boundary;
|
|
90301
90263
|
};
|
|
90302
90264
|
|
|
90303
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
90265
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/batch.js
|
|
90304
90266
|
var batch = createBoundaryAnnotation(batchStart, batchEnd);
|
|
90305
90267
|
batch.scope = createBoundaryAnnotation(batchScopeStart, batchScopeEnd);
|
|
90306
90268
|
batch.endpoint = function(callback) {
|
|
@@ -90313,7 +90275,7 @@ batch.endpoint = function(callback) {
|
|
|
90313
90275
|
}
|
|
90314
90276
|
};
|
|
90315
90277
|
|
|
90316
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
90278
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/action.js
|
|
90317
90279
|
var action = createBoundaryAnnotation(function() {
|
|
90318
90280
|
batchStart();
|
|
90319
90281
|
untrackStart();
|
|
@@ -90329,10 +90291,10 @@ action.scope = createBoundaryAnnotation(function() {
|
|
|
90329
90291
|
batchScopeEnd();
|
|
90330
90292
|
});
|
|
90331
90293
|
|
|
90332
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
90294
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/untracked.js
|
|
90333
90295
|
var untracked = createBoundaryFunction(untrackStart, untrackEnd);
|
|
90334
90296
|
|
|
90335
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
90297
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/annotations/observable.js
|
|
90336
90298
|
var observable = createAnnotation(function(_a2) {
|
|
90337
90299
|
var target = _a2.target, key = _a2.key, value = _a2.value;
|
|
90338
90300
|
var store = {
|
|
@@ -90372,7 +90334,7 @@ var observable = createAnnotation(function(_a2) {
|
|
|
90372
90334
|
return store.value;
|
|
90373
90335
|
});
|
|
90374
90336
|
|
|
90375
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
90337
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/annotations/box.js
|
|
90376
90338
|
var box = createAnnotation(function(_a2) {
|
|
90377
90339
|
var target = _a2.target, key = _a2.key, value = _a2.value;
|
|
90378
90340
|
var store = {
|
|
@@ -90418,7 +90380,7 @@ var box = createAnnotation(function(_a2) {
|
|
|
90418
90380
|
return proxy;
|
|
90419
90381
|
});
|
|
90420
90382
|
|
|
90421
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
90383
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/annotations/ref.js
|
|
90422
90384
|
var ref = createAnnotation(function(_a2) {
|
|
90423
90385
|
var target = _a2.target, key = _a2.key, value = _a2.value;
|
|
90424
90386
|
var store = {
|
|
@@ -90466,7 +90428,7 @@ var ref = createAnnotation(function(_a2) {
|
|
|
90466
90428
|
return proxy;
|
|
90467
90429
|
});
|
|
90468
90430
|
|
|
90469
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
90431
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/annotations/shallow.js
|
|
90470
90432
|
var shallow = createAnnotation(function(_a2) {
|
|
90471
90433
|
var target = _a2.target, key = _a2.key, value = _a2.value;
|
|
90472
90434
|
var store = {
|
|
@@ -90506,7 +90468,7 @@ var shallow = createAnnotation(function(_a2) {
|
|
|
90506
90468
|
return store.value;
|
|
90507
90469
|
});
|
|
90508
90470
|
|
|
90509
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
90471
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/annotations/computed.js
|
|
90510
90472
|
var getDescriptor = Object.getOwnPropertyDescriptor;
|
|
90511
90473
|
var getProto = Object.getPrototypeOf;
|
|
90512
90474
|
var ClassDescriptorSymbol = Symbol("ClassDescriptorSymbol");
|
|
@@ -90627,7 +90589,7 @@ var computed = createAnnotation(function(_a2) {
|
|
|
90627
90589
|
return proxy;
|
|
90628
90590
|
});
|
|
90629
90591
|
|
|
90630
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
90592
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/observable.js
|
|
90631
90593
|
function observable2(target) {
|
|
90632
90594
|
return createObservable(null, null, target);
|
|
90633
90595
|
}
|
|
@@ -90638,7 +90600,7 @@ observable2.shallow = shallow;
|
|
|
90638
90600
|
observable2.computed = computed;
|
|
90639
90601
|
observable2[MakeObModelSymbol] = observable;
|
|
90640
90602
|
|
|
90641
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
90603
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/model.js
|
|
90642
90604
|
function define2(target, annotations) {
|
|
90643
90605
|
if (isObservable(target))
|
|
90644
90606
|
return target;
|
|
@@ -90658,7 +90620,7 @@ function define2(target, annotations) {
|
|
|
90658
90620
|
return target;
|
|
90659
90621
|
}
|
|
90660
90622
|
|
|
90661
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
90623
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/autorun.js
|
|
90662
90624
|
var __assign4 = function() {
|
|
90663
90625
|
__assign4 = Object.assign || function(t) {
|
|
90664
90626
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -90804,7 +90766,7 @@ var reaction = function(tracker, subscriber, options) {
|
|
|
90804
90766
|
};
|
|
90805
90767
|
};
|
|
90806
90768
|
|
|
90807
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
90769
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/tracker.js
|
|
90808
90770
|
var Tracker = (
|
|
90809
90771
|
/** @class */
|
|
90810
90772
|
function() {
|
|
@@ -90849,7 +90811,7 @@ var Tracker = (
|
|
|
90849
90811
|
}()
|
|
90850
90812
|
);
|
|
90851
90813
|
|
|
90852
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
90814
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/observe.js
|
|
90853
90815
|
var observe = function(target, observer, deep) {
|
|
90854
90816
|
if (deep === void 0) {
|
|
90855
90817
|
deep = true;
|
|
@@ -90882,7 +90844,7 @@ var observe = function(target, observer, deep) {
|
|
|
90882
90844
|
return addListener(target);
|
|
90883
90845
|
};
|
|
90884
90846
|
|
|
90885
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.
|
|
90847
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.0.4/node_modules/@formily/json-schema/esm/shared.js
|
|
90886
90848
|
var REVA_ACTIONS_KEY = Symbol.for("__REVA_ACTIONS");
|
|
90887
90849
|
var SchemaNestedMap = {
|
|
90888
90850
|
parent: true,
|
|
@@ -91069,7 +91031,7 @@ var patchStateFormSchema = function(targetState, pattern, compiled) {
|
|
|
91069
91031
|
});
|
|
91070
91032
|
};
|
|
91071
91033
|
|
|
91072
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.
|
|
91034
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.0.4/node_modules/@formily/json-schema/esm/compiler.js
|
|
91073
91035
|
var ExpRE = /^\s*\{\{([\s\S]*)\}\}\s*$/;
|
|
91074
91036
|
var Registry = {
|
|
91075
91037
|
silent: false,
|
|
@@ -91173,7 +91135,7 @@ var patchSchemaCompile = function(targetState, sourceSchema, scope, demand) {
|
|
|
91173
91135
|
});
|
|
91174
91136
|
};
|
|
91175
91137
|
|
|
91176
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
91138
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/models/LifeCycle.js
|
|
91177
91139
|
var LifeCycle = (
|
|
91178
91140
|
/** @class */
|
|
91179
91141
|
function() {
|
|
@@ -91219,7 +91181,7 @@ var LifeCycle = (
|
|
|
91219
91181
|
}()
|
|
91220
91182
|
);
|
|
91221
91183
|
|
|
91222
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
91184
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/models/Heart.js
|
|
91223
91185
|
var __extends2 = function() {
|
|
91224
91186
|
var extendStatics = function(d, b) {
|
|
91225
91187
|
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
|
|
@@ -91315,7 +91277,7 @@ var Heart = (
|
|
|
91315
91277
|
}(Subscribable)
|
|
91316
91278
|
);
|
|
91317
91279
|
|
|
91318
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
91280
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/shared/checkers.js
|
|
91319
91281
|
var isForm = function(node) {
|
|
91320
91282
|
return node instanceof Form;
|
|
91321
91283
|
};
|
|
@@ -91361,7 +91323,7 @@ var isQuery = function(query) {
|
|
|
91361
91323
|
return query && query instanceof Query;
|
|
91362
91324
|
};
|
|
91363
91325
|
|
|
91364
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
91326
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/models/Graph.js
|
|
91365
91327
|
var Graph = (
|
|
91366
91328
|
/** @class */
|
|
91367
91329
|
function() {
|
|
@@ -91413,12 +91375,12 @@ var Graph = (
|
|
|
91413
91375
|
}()
|
|
91414
91376
|
);
|
|
91415
91377
|
|
|
91416
|
-
// ../../../../node_modules/.pnpm/@formily+validator@2.2.
|
|
91378
|
+
// ../../../../node_modules/.pnpm/@formily+validator@2.2.24/node_modules/@formily/validator/esm/types.js
|
|
91417
91379
|
var isValidateResult = function(obj) {
|
|
91418
91380
|
return !!obj["type"] && !!obj["message"];
|
|
91419
91381
|
};
|
|
91420
91382
|
|
|
91421
|
-
// ../../../../node_modules/.pnpm/@formily+validator@2.2.
|
|
91383
|
+
// ../../../../node_modules/.pnpm/@formily+validator@2.2.24/node_modules/@formily/validator/esm/registry.js
|
|
91422
91384
|
var getIn2 = Path.getIn;
|
|
91423
91385
|
var self2 = globalThisPolyfill;
|
|
91424
91386
|
var defaultLanguage = "en";
|
|
@@ -91489,7 +91451,7 @@ var registerValidateFormats = function(formats) {
|
|
|
91489
91451
|
});
|
|
91490
91452
|
};
|
|
91491
91453
|
|
|
91492
|
-
// ../../../../node_modules/.pnpm/@formily+validator@2.2.
|
|
91454
|
+
// ../../../../node_modules/.pnpm/@formily+validator@2.2.24/node_modules/@formily/validator/esm/template.js
|
|
91493
91455
|
var render = function(result, rules) {
|
|
91494
91456
|
var message = result.message;
|
|
91495
91457
|
if (isStr(result.message)) {
|
|
@@ -91504,7 +91466,7 @@ var render = function(result, rules) {
|
|
|
91504
91466
|
return result;
|
|
91505
91467
|
};
|
|
91506
91468
|
|
|
91507
|
-
// ../../../../node_modules/.pnpm/@formily+validator@2.2.
|
|
91469
|
+
// ../../../../node_modules/.pnpm/@formily+validator@2.2.24/node_modules/@formily/validator/esm/parser.js
|
|
91508
91470
|
var __assign5 = function() {
|
|
91509
91471
|
__assign5 = Object.assign || function(t) {
|
|
91510
91472
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -91755,7 +91717,7 @@ var parseValidator = function(validator, options) {
|
|
|
91755
91717
|
}, []);
|
|
91756
91718
|
};
|
|
91757
91719
|
|
|
91758
|
-
// ../../../../node_modules/.pnpm/@formily+validator@2.2.
|
|
91720
|
+
// ../../../../node_modules/.pnpm/@formily+validator@2.2.24/node_modules/@formily/validator/esm/locale.js
|
|
91759
91721
|
var locale_default = {
|
|
91760
91722
|
en: {
|
|
91761
91723
|
pattern: "This field is invalid",
|
|
@@ -91975,7 +91937,7 @@ var locale_default = {
|
|
|
91975
91937
|
}
|
|
91976
91938
|
};
|
|
91977
91939
|
|
|
91978
|
-
// ../../../../node_modules/.pnpm/@formily+validator@2.2.
|
|
91940
|
+
// ../../../../node_modules/.pnpm/@formily+validator@2.2.24/node_modules/@formily/validator/esm/formats.js
|
|
91979
91941
|
var formats_default = {
|
|
91980
91942
|
url: new RegExp(
|
|
91981
91943
|
// protocol identifier
|
|
@@ -91995,7 +91957,7 @@ var formats_default = {
|
|
|
91995
91957
|
zip: /^[0-9]{6}$/
|
|
91996
91958
|
};
|
|
91997
91959
|
|
|
91998
|
-
// ../../../../node_modules/.pnpm/@formily+validator@2.2.
|
|
91960
|
+
// ../../../../node_modules/.pnpm/@formily+validator@2.2.24/node_modules/@formily/validator/esm/rules.js
|
|
91999
91961
|
var __assign6 = function() {
|
|
92000
91962
|
__assign6 = Object.assign || function(t) {
|
|
92001
91963
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -92310,7 +92272,7 @@ extendSameRules(RULES, {
|
|
|
92310
92272
|
});
|
|
92311
92273
|
var rules_default = RULES;
|
|
92312
92274
|
|
|
92313
|
-
// ../../../../node_modules/.pnpm/@formily+validator@2.2.
|
|
92275
|
+
// ../../../../node_modules/.pnpm/@formily+validator@2.2.24/node_modules/@formily/validator/esm/validator.js
|
|
92314
92276
|
var __awaiter3 = function(thisArg, _arguments, P, generator) {
|
|
92315
92277
|
function adopt(value) {
|
|
92316
92278
|
return value instanceof P ? value : new P(function(resolve) {
|
|
@@ -92455,7 +92417,7 @@ var validate = function(value, validator, options) {
|
|
|
92455
92417
|
});
|
|
92456
92418
|
};
|
|
92457
92419
|
|
|
92458
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
92420
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/types.js
|
|
92459
92421
|
var LifeCycleTypes;
|
|
92460
92422
|
(function(LifeCycleTypes2) {
|
|
92461
92423
|
LifeCycleTypes2["ON_FORM_INIT"] = "onFormInit";
|
|
@@ -92507,7 +92469,7 @@ var LifeCycleTypes;
|
|
|
92507
92469
|
LifeCycleTypes2["ON_FIELD_UNMOUNT"] = "onFieldUnmount";
|
|
92508
92470
|
})(LifeCycleTypes || (LifeCycleTypes = {}));
|
|
92509
92471
|
|
|
92510
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
92472
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/shared/constants.js
|
|
92511
92473
|
var ReservedProperties = {
|
|
92512
92474
|
form: true,
|
|
92513
92475
|
parent: true,
|
|
@@ -92559,7 +92521,7 @@ var GlobalState = {
|
|
|
92559
92521
|
};
|
|
92560
92522
|
var NumberIndexReg = /^\.(\d+)/;
|
|
92561
92523
|
|
|
92562
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
92524
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/shared/internals.js
|
|
92563
92525
|
var __assign7 = function() {
|
|
92564
92526
|
__assign7 = Object.assign || function(t) {
|
|
92565
92527
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -93666,7 +93628,7 @@ var getObjectParent = function(field) {
|
|
|
93666
93628
|
}
|
|
93667
93629
|
};
|
|
93668
93630
|
|
|
93669
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
93631
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/models/Query.js
|
|
93670
93632
|
var output = function(field, taker) {
|
|
93671
93633
|
if (!field)
|
|
93672
93634
|
return;
|
|
@@ -93749,7 +93711,7 @@ var Query = (
|
|
|
93749
93711
|
}()
|
|
93750
93712
|
);
|
|
93751
93713
|
|
|
93752
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
93714
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/models/BaseField.js
|
|
93753
93715
|
var __read4 = function(o, n) {
|
|
93754
93716
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
93755
93717
|
if (!m)
|
|
@@ -94129,7 +94091,7 @@ var BaseField = (
|
|
|
94129
94091
|
}()
|
|
94130
94092
|
);
|
|
94131
94093
|
|
|
94132
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
94094
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/models/Field.js
|
|
94133
94095
|
var __extends3 = function() {
|
|
94134
94096
|
var extendStatics = function(d, b) {
|
|
94135
94097
|
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
|
|
@@ -94770,7 +94732,7 @@ var Field = (
|
|
|
94770
94732
|
}(BaseField)
|
|
94771
94733
|
);
|
|
94772
94734
|
|
|
94773
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
94735
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/shared/effective.js
|
|
94774
94736
|
var __read5 = function(o, n) {
|
|
94775
94737
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
94776
94738
|
if (!m)
|
|
@@ -94864,7 +94826,7 @@ var runEffects = function(context) {
|
|
|
94864
94826
|
return GlobalState.lifecycles;
|
|
94865
94827
|
};
|
|
94866
94828
|
|
|
94867
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
94829
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/models/ArrayField.js
|
|
94868
94830
|
var __extends4 = function() {
|
|
94869
94831
|
var extendStatics = function(d, b) {
|
|
94870
94832
|
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
|
|
@@ -95054,7 +95016,7 @@ var ArrayField = (
|
|
|
95054
95016
|
}(Field)
|
|
95055
95017
|
);
|
|
95056
95018
|
|
|
95057
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
95019
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/models/ObjectField.js
|
|
95058
95020
|
var __extends5 = function() {
|
|
95059
95021
|
var extendStatics = function(d, b) {
|
|
95060
95022
|
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
|
|
@@ -95115,7 +95077,7 @@ var ObjectField = (
|
|
|
95115
95077
|
}(Field)
|
|
95116
95078
|
);
|
|
95117
95079
|
|
|
95118
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
95080
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/models/VoidField.js
|
|
95119
95081
|
var __extends6 = function() {
|
|
95120
95082
|
var extendStatics = function(d, b) {
|
|
95121
95083
|
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
|
|
@@ -95230,7 +95192,7 @@ var VoidField = (
|
|
|
95230
95192
|
}(BaseField)
|
|
95231
95193
|
);
|
|
95232
95194
|
|
|
95233
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
95195
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/models/Form.js
|
|
95234
95196
|
var __assign8 = function() {
|
|
95235
95197
|
__assign8 = Object.assign || function(t) {
|
|
95236
95198
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -95758,7 +95720,7 @@ var Form = (
|
|
|
95758
95720
|
}()
|
|
95759
95721
|
);
|
|
95760
95722
|
|
|
95761
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
95723
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/effects/onFormEffects.js
|
|
95762
95724
|
function createFormEffect(type) {
|
|
95763
95725
|
return createEffectHook(type, function(form) {
|
|
95764
95726
|
return function(callback) {
|
|
@@ -95791,7 +95753,7 @@ var onFormValidateEnd = createFormEffect(LifeCycleTypes.ON_FORM_VALIDATE_END);
|
|
|
95791
95753
|
var onFormGraphChange = createFormEffect(LifeCycleTypes.ON_FORM_GRAPH_CHANGE);
|
|
95792
95754
|
var onFormLoading = createFormEffect(LifeCycleTypes.ON_FORM_LOADING);
|
|
95793
95755
|
|
|
95794
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
95756
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/effects/onFieldEffects.js
|
|
95795
95757
|
function createFieldEffect(type) {
|
|
95796
95758
|
return createEffectHook(type, function(field, form) {
|
|
95797
95759
|
return function(pattern, callback) {
|
|
@@ -95836,7 +95798,7 @@ function onFieldInit(pattern, callback) {
|
|
|
95836
95798
|
}
|
|
95837
95799
|
}
|
|
95838
95800
|
|
|
95839
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.
|
|
95801
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.0.4/node_modules/@formily/json-schema/esm/transformer.js
|
|
95840
95802
|
var __read7 = function(o, n) {
|
|
95841
95803
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
95842
95804
|
if (!m)
|
|
@@ -96061,7 +96023,7 @@ var transformFieldProps = function(schema, options) {
|
|
|
96061
96023
|
};
|
|
96062
96024
|
};
|
|
96063
96025
|
|
|
96064
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.
|
|
96026
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.0.4/node_modules/@formily/json-schema/esm/patches.js
|
|
96065
96027
|
var __assign9 = function() {
|
|
96066
96028
|
__assign9 = Object.assign || function(t) {
|
|
96067
96029
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -96110,7 +96072,7 @@ var enablePolyfills = function(versions) {
|
|
|
96110
96072
|
}
|
|
96111
96073
|
};
|
|
96112
96074
|
|
|
96113
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.
|
|
96075
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.0.4/node_modules/@formily/json-schema/esm/polyfills/SPECIFICATION_1_0.js
|
|
96114
96076
|
var __assign10 = function() {
|
|
96115
96077
|
__assign10 = Object.assign || function(t) {
|
|
96116
96078
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -96267,7 +96229,7 @@ var registerTypeDefaultComponents = function(maps) {
|
|
|
96267
96229
|
Object.assign(TYPE_DEFAULT_COMPONENTS, maps);
|
|
96268
96230
|
};
|
|
96269
96231
|
|
|
96270
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.
|
|
96232
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.0.4/node_modules/@formily/json-schema/esm/schema.js
|
|
96271
96233
|
var Schema = (
|
|
96272
96234
|
/** @class */
|
|
96273
96235
|
function() {
|
|
@@ -96503,10 +96465,10 @@ var Schema = (
|
|
|
96503
96465
|
}()
|
|
96504
96466
|
);
|
|
96505
96467
|
|
|
96506
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.
|
|
96468
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-formily/dist/esm/prompt.js
|
|
96507
96469
|
var import_inquirer = __toESM(require_inquirer());
|
|
96508
96470
|
|
|
96509
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.
|
|
96471
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-formily/dist/esm/transform.js
|
|
96510
96472
|
var import_lodash2 = __toESM(require_lodash2());
|
|
96511
96473
|
function asyncGeneratorStep9(gen, resolve, reject, _next, _throw, key, arg) {
|
|
96512
96474
|
try {
|
|
@@ -96853,7 +96815,7 @@ function transformForm(schema) {
|
|
|
96853
96815
|
return getQuestionFromSchema(schema, configValue, validateMap, initValue);
|
|
96854
96816
|
}
|
|
96855
96817
|
|
|
96856
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.
|
|
96818
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-formily/dist/esm/prompt.js
|
|
96857
96819
|
function asyncGeneratorStep10(gen, resolve, reject, _next, _throw, key, arg) {
|
|
96858
96820
|
try {
|
|
96859
96821
|
var info = gen[key](arg);
|
|
@@ -97377,7 +97339,7 @@ function _prompt() {
|
|
|
97377
97339
|
return _prompt.apply(this, arguments);
|
|
97378
97340
|
}
|
|
97379
97341
|
|
|
97380
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.
|
|
97342
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-formily/dist/esm/inquirer.js
|
|
97381
97343
|
function asyncGeneratorStep11(gen, resolve, reject, _next, _throw, key, arg) {
|
|
97382
97344
|
try {
|
|
97383
97345
|
var info = gen[key](arg);
|
|
@@ -97617,7 +97579,7 @@ var CLIReader = /* @__PURE__ */ function() {
|
|
|
97617
97579
|
return CLIReader2;
|
|
97618
97580
|
}();
|
|
97619
97581
|
|
|
97620
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.
|
|
97582
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-api-app/dist/esm/index.js
|
|
97621
97583
|
var import_inquirer2 = __toESM(require_inquirer2());
|
|
97622
97584
|
|
|
97623
97585
|
// ../../../../node_modules/.pnpm/@modern-js+plugin-i18n@2.18.0/node_modules/@modern-js/plugin-i18n/dist/esm-node/index.js
|
|
@@ -97696,7 +97658,7 @@ var I18n = class {
|
|
|
97696
97658
|
}
|
|
97697
97659
|
};
|
|
97698
97660
|
|
|
97699
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.
|
|
97661
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-api-app/dist/esm/locale/zh.js
|
|
97700
97662
|
var ZH_LOCALE = {
|
|
97701
97663
|
environment: {
|
|
97702
97664
|
node_version: "请升级 Node 版本至 LIS",
|
|
@@ -97723,7 +97685,7 @@ var ZH_LOCALE = {
|
|
|
97723
97685
|
}
|
|
97724
97686
|
};
|
|
97725
97687
|
|
|
97726
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.
|
|
97688
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-api-app/dist/esm/locale/en.js
|
|
97727
97689
|
var EN_LOCALE = {
|
|
97728
97690
|
environment: {
|
|
97729
97691
|
node_version: "please upgrade node to lts version",
|
|
@@ -97750,14 +97712,14 @@ var EN_LOCALE = {
|
|
|
97750
97712
|
}
|
|
97751
97713
|
};
|
|
97752
97714
|
|
|
97753
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.
|
|
97715
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-api-app/dist/esm/locale/index.js
|
|
97754
97716
|
var i18n = new I18n();
|
|
97755
97717
|
var localeKeys = i18n.init("zh", {
|
|
97756
97718
|
zh: ZH_LOCALE,
|
|
97757
97719
|
en: EN_LOCALE
|
|
97758
97720
|
});
|
|
97759
97721
|
|
|
97760
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.
|
|
97722
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-api-app/dist/esm/utils/transform.js
|
|
97761
97723
|
var import_lodash5 = __toESM(require_lodash2());
|
|
97762
97724
|
function asyncGeneratorStep12(gen, resolve, reject, _next, _throw, key, arg) {
|
|
97763
97725
|
try {
|
|
@@ -97966,7 +97928,7 @@ function transformInquirerSchema(questions) {
|
|
|
97966
97928
|
return questions;
|
|
97967
97929
|
}
|
|
97968
97930
|
|
|
97969
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.
|
|
97931
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-api-app/dist/esm/utils/checkUseNvm.js
|
|
97970
97932
|
var import_path4 = __toESM(require("path"));
|
|
97971
97933
|
function asyncGeneratorStep13(gen, resolve, reject, _next, _throw, key, arg) {
|
|
97972
97934
|
try {
|
|
@@ -98230,7 +98192,7 @@ function _checkUseNvm() {
|
|
|
98230
98192
|
return _checkUseNvm.apply(this, arguments);
|
|
98231
98193
|
}
|
|
98232
98194
|
|
|
98233
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.
|
|
98195
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-api-app/dist/esm/index.js
|
|
98234
98196
|
function _array_like_to_array(arr, len) {
|
|
98235
98197
|
if (len == null || len > arr.length)
|
|
98236
98198
|
len = arr.length;
|
|
@@ -98811,7 +98773,7 @@ var AppAPI = /* @__PURE__ */ function() {
|
|
|
98811
98773
|
switch (_state2.label) {
|
|
98812
98774
|
case 0:
|
|
98813
98775
|
_this.generatorCore.logger.debug("[renderDir] resourceKey=".concat(resourceKey));
|
|
98814
|
-
target = rename ? rename(resourceKey) : resourceKey.replace("templates/", "").replace(".handlebars", "");
|
|
98776
|
+
target = rename ? rename(resourceKey) : resourceKey.replace("templates/", "").replace(".handlebars", "").replace(".ejs", "");
|
|
98815
98777
|
return [
|
|
98816
98778
|
4,
|
|
98817
98779
|
api.renderTemplate(material.get(resourceKey), target, _object_spread7({}, _this.generatorContext.data || {}, parameters || {}))
|
|
@@ -99160,6 +99122,15 @@ var AppAPI = /* @__PURE__ */ function() {
|
|
|
99160
99122
|
return AppAPI2;
|
|
99161
99123
|
}();
|
|
99162
99124
|
|
|
99125
|
+
// ../../../../node_modules/.pnpm/@swc+helpers@0.5.1/node_modules/@swc/helpers/esm/_define_property.js
|
|
99126
|
+
function _define_property13(obj, key, value) {
|
|
99127
|
+
if (key in obj) {
|
|
99128
|
+
Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
|
|
99129
|
+
} else
|
|
99130
|
+
obj[key] = value;
|
|
99131
|
+
return obj;
|
|
99132
|
+
}
|
|
99133
|
+
|
|
99163
99134
|
// ../../../cli/plugin-i18n/dist/esm-node/index.js
|
|
99164
99135
|
var import_lodash8 = __toESM(require_lodash3());
|
|
99165
99136
|
|
|
@@ -99178,19 +99149,6 @@ function getObjKeyMap2(obj, prefix = "") {
|
|
|
99178
99149
|
}
|
|
99179
99150
|
|
|
99180
99151
|
// ../../../cli/plugin-i18n/dist/esm-node/index.js
|
|
99181
|
-
function _define_property13(obj, key, value) {
|
|
99182
|
-
if (key in obj) {
|
|
99183
|
-
Object.defineProperty(obj, key, {
|
|
99184
|
-
value,
|
|
99185
|
-
enumerable: true,
|
|
99186
|
-
configurable: true,
|
|
99187
|
-
writable: true
|
|
99188
|
-
});
|
|
99189
|
-
} else {
|
|
99190
|
-
obj[key] = value;
|
|
99191
|
-
}
|
|
99192
|
-
return obj;
|
|
99193
|
-
}
|
|
99194
99152
|
var I18n2 = class {
|
|
99195
99153
|
format(msg, vars) {
|
|
99196
99154
|
return msg.replace(/\{(\w+)\}/g, (_match, capture) => Object.prototype.hasOwnProperty.call(vars, capture) ? vars[capture] : capture);
|
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,18 +23,17 @@
|
|
|
23
23
|
"/dist/index.js"
|
|
24
24
|
],
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@
|
|
27
|
-
"@modern-js/codesmith": "2.2.
|
|
28
|
-
"@modern-js/codesmith-api-app": "2.2.0",
|
|
26
|
+
"@modern-js/codesmith": "2.2.3",
|
|
27
|
+
"@modern-js/codesmith-api-app": "2.2.3",
|
|
29
28
|
"@types/jest": "^29",
|
|
30
29
|
"@types/node": "^14",
|
|
31
30
|
"jest": "^29",
|
|
32
|
-
"typescript": "^
|
|
33
|
-
"@modern-js/generator-common": "3.1.
|
|
34
|
-
"@
|
|
35
|
-
"@
|
|
36
|
-
"@
|
|
37
|
-
"@
|
|
31
|
+
"typescript": "^5",
|
|
32
|
+
"@modern-js/generator-common": "3.1.18",
|
|
33
|
+
"@scripts/build": "2.21.0",
|
|
34
|
+
"@scripts/jest-config": "2.21.0",
|
|
35
|
+
"@modern-js/generator-utils": "3.1.18",
|
|
36
|
+
"@modern-js/dependence-generator": "3.1.18"
|
|
38
37
|
},
|
|
39
38
|
"sideEffects": false,
|
|
40
39
|
"publishConfig": {
|