@modern-js/entry-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 +307 -479
- package/package.json +11 -12
package/dist/index.js
CHANGED
|
@@ -5554,6 +5554,79 @@ var require_lodash2 = __commonJS({
|
|
|
5554
5554
|
}
|
|
5555
5555
|
});
|
|
5556
5556
|
|
|
5557
|
+
// ../../../../node_modules/.pnpm/@swc+helpers@0.5.1/node_modules/@swc/helpers/cjs/_export_star.cjs
|
|
5558
|
+
var require_export_star = __commonJS({
|
|
5559
|
+
"../../../../node_modules/.pnpm/@swc+helpers@0.5.1/node_modules/@swc/helpers/cjs/_export_star.cjs"(exports) {
|
|
5560
|
+
"use strict";
|
|
5561
|
+
exports._ = exports._export_star = _export_star;
|
|
5562
|
+
function _export_star(from, to) {
|
|
5563
|
+
Object.keys(from).forEach(function(k) {
|
|
5564
|
+
if (k !== "default" && !Object.prototype.hasOwnProperty.call(to, k)) {
|
|
5565
|
+
Object.defineProperty(to, k, {
|
|
5566
|
+
enumerable: true,
|
|
5567
|
+
get: function() {
|
|
5568
|
+
return from[k];
|
|
5569
|
+
}
|
|
5570
|
+
});
|
|
5571
|
+
}
|
|
5572
|
+
});
|
|
5573
|
+
return from;
|
|
5574
|
+
}
|
|
5575
|
+
}
|
|
5576
|
+
});
|
|
5577
|
+
|
|
5578
|
+
// ../../../../node_modules/.pnpm/@swc+helpers@0.5.1/node_modules/@swc/helpers/cjs/_interop_require_default.cjs
|
|
5579
|
+
var require_interop_require_default = __commonJS({
|
|
5580
|
+
"../../../../node_modules/.pnpm/@swc+helpers@0.5.1/node_modules/@swc/helpers/cjs/_interop_require_default.cjs"(exports) {
|
|
5581
|
+
"use strict";
|
|
5582
|
+
exports._ = exports._interop_require_default = _interop_require_default;
|
|
5583
|
+
function _interop_require_default(obj) {
|
|
5584
|
+
return obj && obj.__esModule ? obj : { default: obj };
|
|
5585
|
+
}
|
|
5586
|
+
}
|
|
5587
|
+
});
|
|
5588
|
+
|
|
5589
|
+
// ../../../../node_modules/.pnpm/@swc+helpers@0.5.1/node_modules/@swc/helpers/cjs/_interop_require_wildcard.cjs
|
|
5590
|
+
var require_interop_require_wildcard = __commonJS({
|
|
5591
|
+
"../../../../node_modules/.pnpm/@swc+helpers@0.5.1/node_modules/@swc/helpers/cjs/_interop_require_wildcard.cjs"(exports) {
|
|
5592
|
+
"use strict";
|
|
5593
|
+
function _getRequireWildcardCache(nodeInterop) {
|
|
5594
|
+
if (typeof WeakMap !== "function")
|
|
5595
|
+
return null;
|
|
5596
|
+
var cacheBabelInterop = /* @__PURE__ */ new WeakMap();
|
|
5597
|
+
var cacheNodeInterop = /* @__PURE__ */ new WeakMap();
|
|
5598
|
+
return (_getRequireWildcardCache = function(nodeInterop2) {
|
|
5599
|
+
return nodeInterop2 ? cacheNodeInterop : cacheBabelInterop;
|
|
5600
|
+
})(nodeInterop);
|
|
5601
|
+
}
|
|
5602
|
+
exports._ = exports._interop_require_wildcard = _interop_require_wildcard;
|
|
5603
|
+
function _interop_require_wildcard(obj, nodeInterop) {
|
|
5604
|
+
if (!nodeInterop && obj && obj.__esModule)
|
|
5605
|
+
return obj;
|
|
5606
|
+
if (obj === null || typeof obj !== "object" && typeof obj !== "function")
|
|
5607
|
+
return { default: obj };
|
|
5608
|
+
var cache = _getRequireWildcardCache(nodeInterop);
|
|
5609
|
+
if (cache && cache.has(obj))
|
|
5610
|
+
return cache.get(obj);
|
|
5611
|
+
var newObj = {};
|
|
5612
|
+
var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
5613
|
+
for (var key in obj) {
|
|
5614
|
+
if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) {
|
|
5615
|
+
var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;
|
|
5616
|
+
if (desc && (desc.get || desc.set))
|
|
5617
|
+
Object.defineProperty(newObj, key, desc);
|
|
5618
|
+
else
|
|
5619
|
+
newObj[key] = obj[key];
|
|
5620
|
+
}
|
|
5621
|
+
}
|
|
5622
|
+
newObj.default = obj;
|
|
5623
|
+
if (cache)
|
|
5624
|
+
cache.set(obj, newObj);
|
|
5625
|
+
return newObj;
|
|
5626
|
+
}
|
|
5627
|
+
}
|
|
5628
|
+
});
|
|
5629
|
+
|
|
5557
5630
|
// ../../../toolkit/utils/dist/compiled/import-lazy/index.js
|
|
5558
5631
|
var require_import_lazy = __commonJS({
|
|
5559
5632
|
"../../../toolkit/utils/dist/compiled/import-lazy/index.js"(exports, module2) {
|
|
@@ -34897,80 +34970,37 @@ var require_compiled = __commonJS({
|
|
|
34897
34970
|
chokidar: () => chokidar2,
|
|
34898
34971
|
inquirer: () => inquirer4
|
|
34899
34972
|
});
|
|
34973
|
+
var _interop_require_default = require_interop_require_default();
|
|
34974
|
+
var _interop_require_wildcard = require_interop_require_wildcard();
|
|
34900
34975
|
var _import = require_import();
|
|
34901
|
-
var _fsextra = /* @__PURE__ */ _interop_require_default(require_fs_extra());
|
|
34902
|
-
var _ora = /* @__PURE__ */ _interop_require_default(require_ora());
|
|
34903
|
-
var _glob = /* @__PURE__ */ _interop_require_default(require_glob());
|
|
34904
|
-
var _jsyaml = /* @__PURE__ */ _interop_require_default(require_js_yaml());
|
|
34905
|
-
var _chalk = /* @__PURE__ */ _interop_require_default(require_chalk());
|
|
34906
|
-
var _debug = /* @__PURE__ */ _interop_require_default(require_debug());
|
|
34907
|
-
var _slash = /* @__PURE__ */ _interop_require_default(require_slash());
|
|
34908
|
-
var _execa = /* @__PURE__ */ _interop_require_default(require_execa());
|
|
34909
|
-
var _json5 = /* @__PURE__ */ _interop_require_default(require_json5());
|
|
34910
|
-
var _upath = /* @__PURE__ */ _interop_require_default(require_upath());
|
|
34911
|
-
var _pkgup = /* @__PURE__ */ _interop_require_default(require_pkg_up());
|
|
34976
|
+
var _fsextra = /* @__PURE__ */ _interop_require_default._(require_fs_extra());
|
|
34977
|
+
var _ora = /* @__PURE__ */ _interop_require_default._(require_ora());
|
|
34978
|
+
var _glob = /* @__PURE__ */ _interop_require_default._(require_glob());
|
|
34979
|
+
var _jsyaml = /* @__PURE__ */ _interop_require_default._(require_js_yaml());
|
|
34980
|
+
var _chalk = /* @__PURE__ */ _interop_require_default._(require_chalk());
|
|
34981
|
+
var _debug = /* @__PURE__ */ _interop_require_default._(require_debug());
|
|
34982
|
+
var _slash = /* @__PURE__ */ _interop_require_default._(require_slash());
|
|
34983
|
+
var _execa = /* @__PURE__ */ _interop_require_default._(require_execa());
|
|
34984
|
+
var _json5 = /* @__PURE__ */ _interop_require_default._(require_json5());
|
|
34985
|
+
var _upath = /* @__PURE__ */ _interop_require_default._(require_upath());
|
|
34986
|
+
var _pkgup = /* @__PURE__ */ _interop_require_default._(require_pkg_up());
|
|
34912
34987
|
var _nanoid = require_nanoid();
|
|
34913
|
-
var _semver = /* @__PURE__ */ _interop_require_default(require_semver());
|
|
34914
|
-
var _dotenv = /* @__PURE__ */ _interop_require_default(require_dotenv());
|
|
34915
|
-
var _lodash = /* @__PURE__ */ _interop_require_default(require_lodash3());
|
|
34916
|
-
var _globby = /* @__PURE__ */ _interop_require_default(require_globby());
|
|
34917
|
-
var _address = /* @__PURE__ */ _interop_require_default(require_address());
|
|
34918
|
-
var _signale = /* @__PURE__ */ _interop_require_wildcard(require_signale());
|
|
34919
|
-
var _urljoin = /* @__PURE__ */ _interop_require_default(require_url_join());
|
|
34920
|
-
var _minimist = /* @__PURE__ */ _interop_require_default(require_minimist());
|
|
34921
|
-
var _fastglob = /* @__PURE__ */ _interop_require_default(require_fast_glob());
|
|
34922
|
-
var _filesize = /* @__PURE__ */ _interop_require_default(require_filesize());
|
|
34923
|
-
var _gzipsize = /* @__PURE__ */ _interop_require_default(require_gzip_size());
|
|
34924
|
-
var _stripansi = /* @__PURE__ */ _interop_require_default(require_strip_ansi());
|
|
34925
|
-
var _dotenvexpand = /* @__PURE__ */ _interop_require_default(require_dotenv_expand());
|
|
34926
|
-
var _browserslist = /* @__PURE__ */ _interop_require_default(require_browserslist());
|
|
34927
|
-
var _recursivereaddir = /* @__PURE__ */ _interop_require_default(require_recursive_readdir());
|
|
34988
|
+
var _semver = /* @__PURE__ */ _interop_require_default._(require_semver());
|
|
34989
|
+
var _dotenv = /* @__PURE__ */ _interop_require_default._(require_dotenv());
|
|
34990
|
+
var _lodash = /* @__PURE__ */ _interop_require_default._(require_lodash3());
|
|
34991
|
+
var _globby = /* @__PURE__ */ _interop_require_default._(require_globby());
|
|
34992
|
+
var _address = /* @__PURE__ */ _interop_require_default._(require_address());
|
|
34993
|
+
var _signale = /* @__PURE__ */ _interop_require_wildcard._(require_signale());
|
|
34994
|
+
var _urljoin = /* @__PURE__ */ _interop_require_default._(require_url_join());
|
|
34995
|
+
var _minimist = /* @__PURE__ */ _interop_require_default._(require_minimist());
|
|
34996
|
+
var _fastglob = /* @__PURE__ */ _interop_require_default._(require_fast_glob());
|
|
34997
|
+
var _filesize = /* @__PURE__ */ _interop_require_default._(require_filesize());
|
|
34998
|
+
var _gzipsize = /* @__PURE__ */ _interop_require_default._(require_gzip_size());
|
|
34999
|
+
var _stripansi = /* @__PURE__ */ _interop_require_default._(require_strip_ansi());
|
|
35000
|
+
var _dotenvexpand = /* @__PURE__ */ _interop_require_default._(require_dotenv_expand());
|
|
35001
|
+
var _browserslist = /* @__PURE__ */ _interop_require_default._(require_browserslist());
|
|
35002
|
+
var _recursivereaddir = /* @__PURE__ */ _interop_require_default._(require_recursive_readdir());
|
|
34928
35003
|
var _commander = require_commander();
|
|
34929
|
-
function _interop_require_default(obj) {
|
|
34930
|
-
return obj && obj.__esModule ? obj : {
|
|
34931
|
-
default: obj
|
|
34932
|
-
};
|
|
34933
|
-
}
|
|
34934
|
-
function _getRequireWildcardCache(nodeInterop) {
|
|
34935
|
-
if (typeof WeakMap !== "function")
|
|
34936
|
-
return null;
|
|
34937
|
-
var cacheBabelInterop = /* @__PURE__ */ new WeakMap();
|
|
34938
|
-
var cacheNodeInterop = /* @__PURE__ */ new WeakMap();
|
|
34939
|
-
return (_getRequireWildcardCache = function(nodeInterop2) {
|
|
34940
|
-
return nodeInterop2 ? cacheNodeInterop : cacheBabelInterop;
|
|
34941
|
-
})(nodeInterop);
|
|
34942
|
-
}
|
|
34943
|
-
function _interop_require_wildcard(obj, nodeInterop) {
|
|
34944
|
-
if (!nodeInterop && obj && obj.__esModule) {
|
|
34945
|
-
return obj;
|
|
34946
|
-
}
|
|
34947
|
-
if (obj === null || typeof obj !== "object" && typeof obj !== "function") {
|
|
34948
|
-
return {
|
|
34949
|
-
default: obj
|
|
34950
|
-
};
|
|
34951
|
-
}
|
|
34952
|
-
var cache = _getRequireWildcardCache(nodeInterop);
|
|
34953
|
-
if (cache && cache.has(obj)) {
|
|
34954
|
-
return cache.get(obj);
|
|
34955
|
-
}
|
|
34956
|
-
var newObj = {};
|
|
34957
|
-
var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
34958
|
-
for (var key in obj) {
|
|
34959
|
-
if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) {
|
|
34960
|
-
var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;
|
|
34961
|
-
if (desc && (desc.get || desc.set)) {
|
|
34962
|
-
Object.defineProperty(newObj, key, desc);
|
|
34963
|
-
} else {
|
|
34964
|
-
newObj[key] = obj[key];
|
|
34965
|
-
}
|
|
34966
|
-
}
|
|
34967
|
-
}
|
|
34968
|
-
newObj.default = obj;
|
|
34969
|
-
if (cache) {
|
|
34970
|
-
cache.set(obj, newObj);
|
|
34971
|
-
}
|
|
34972
|
-
return newObj;
|
|
34973
|
-
}
|
|
34974
35004
|
var mime2 = _import.Import.lazy("../compiled/mime-types", require);
|
|
34975
35005
|
var chokidar2 = _import.Import.lazy("../compiled/chokidar", require);
|
|
34976
35006
|
var inquirer4 = _import.Import.lazy("../compiled/inquirer", require);
|
|
@@ -35120,6 +35150,8 @@ var require_chainId = __commonJS({
|
|
|
35120
35150
|
BOTTOM_TEMPLATE: "bottom-template",
|
|
35121
35151
|
/** HtmlCrossOriginPlugin */
|
|
35122
35152
|
HTML_CROSS_ORIGIN: "html-cross-origin",
|
|
35153
|
+
/** HtmlNoncePlugin */
|
|
35154
|
+
HTML_NONCE: "html-nonce",
|
|
35123
35155
|
/** MiniCssExtractPlugin */
|
|
35124
35156
|
MINI_CSS_EXTRACT: "mini-css-extract",
|
|
35125
35157
|
/** ReactFastRefreshPlugin */
|
|
@@ -35208,20 +35240,8 @@ var require_constants = __commonJS({
|
|
|
35208
35240
|
PLUGIN_SCHEMAS: () => PLUGIN_SCHEMAS,
|
|
35209
35241
|
DEFAULT_BABEL_PRESET_TYPESCRIPT_OPTIONS: () => DEFAULT_BABEL_PRESET_TYPESCRIPT_OPTIONS
|
|
35210
35242
|
});
|
|
35211
|
-
_export_star(
|
|
35212
|
-
|
|
35213
|
-
Object.keys(from).forEach(function(k) {
|
|
35214
|
-
if (k !== "default" && !Object.prototype.hasOwnProperty.call(to, k)) {
|
|
35215
|
-
Object.defineProperty(to, k, {
|
|
35216
|
-
enumerable: true,
|
|
35217
|
-
get: function() {
|
|
35218
|
-
return from[k];
|
|
35219
|
-
}
|
|
35220
|
-
});
|
|
35221
|
-
}
|
|
35222
|
-
});
|
|
35223
|
-
return from;
|
|
35224
|
-
}
|
|
35243
|
+
var _export_star = require_export_star();
|
|
35244
|
+
_export_star._(require_chainId(), exports);
|
|
35225
35245
|
var ROUTE_SPEC_FILE = "route.json";
|
|
35226
35246
|
var MAIN_ENTRY_NAME = "main";
|
|
35227
35247
|
var SERVER_BUNDLE_DIRECTORY = "bundles";
|
|
@@ -35834,12 +35854,8 @@ var require_ensure = __commonJS({
|
|
|
35834
35854
|
ensureAbsolutePath: () => ensureAbsolutePath,
|
|
35835
35855
|
ensureArray: () => ensureArray
|
|
35836
35856
|
});
|
|
35837
|
-
var
|
|
35838
|
-
|
|
35839
|
-
return obj && obj.__esModule ? obj : {
|
|
35840
|
-
default: obj
|
|
35841
|
-
};
|
|
35842
|
-
}
|
|
35857
|
+
var _interop_require_default = require_interop_require_default();
|
|
35858
|
+
var _path = /* @__PURE__ */ _interop_require_default._(require("path"));
|
|
35843
35859
|
var ensureAbsolutePath = (base, filePath) => _path.default.isAbsolute(filePath) ? filePath : _path.default.resolve(base, filePath);
|
|
35844
35860
|
var ensureArray = (params) => {
|
|
35845
35861
|
if (Array.isArray(params)) {
|
|
@@ -35875,16 +35891,12 @@ var require_project = __commonJS({
|
|
|
35875
35891
|
isReact18: () => isReact182,
|
|
35876
35892
|
isTypescript: () => isTypescript
|
|
35877
35893
|
});
|
|
35878
|
-
var
|
|
35894
|
+
var _interop_require_default = require_interop_require_default();
|
|
35895
|
+
var _path = /* @__PURE__ */ _interop_require_default._(require("path"));
|
|
35879
35896
|
var _commands = require_commands();
|
|
35880
35897
|
var _compiled = require_compiled();
|
|
35881
35898
|
var _common = require_common();
|
|
35882
35899
|
var _ensure = require_ensure();
|
|
35883
|
-
function _interop_require_default(obj) {
|
|
35884
|
-
return obj && obj.__esModule ? obj : {
|
|
35885
|
-
default: obj
|
|
35886
|
-
};
|
|
35887
|
-
}
|
|
35888
35900
|
var debug = (0, _common.createDebugger)("judge-depExists");
|
|
35889
35901
|
var isDepExists = (appDirectory, name) => {
|
|
35890
35902
|
const pkgPath = _path.default.resolve(appDirectory, "./package.json");
|
|
@@ -35951,24 +35963,12 @@ var require_is = __commonJS({
|
|
|
35951
35963
|
Object.defineProperty(exports, "__esModule", {
|
|
35952
35964
|
value: true
|
|
35953
35965
|
});
|
|
35954
|
-
_export_star(
|
|
35955
|
-
_export_star(
|
|
35956
|
-
_export_star(
|
|
35957
|
-
_export_star(
|
|
35958
|
-
_export_star(
|
|
35959
|
-
|
|
35960
|
-
Object.keys(from).forEach(function(k) {
|
|
35961
|
-
if (k !== "default" && !Object.prototype.hasOwnProperty.call(to, k)) {
|
|
35962
|
-
Object.defineProperty(to, k, {
|
|
35963
|
-
enumerable: true,
|
|
35964
|
-
get: function() {
|
|
35965
|
-
return from[k];
|
|
35966
|
-
}
|
|
35967
|
-
});
|
|
35968
|
-
}
|
|
35969
|
-
});
|
|
35970
|
-
return from;
|
|
35971
|
-
}
|
|
35966
|
+
var _export_star = require_export_star();
|
|
35967
|
+
_export_star._(require_env(), exports);
|
|
35968
|
+
_export_star._(require_platform(), exports);
|
|
35969
|
+
_export_star._(require_type(), exports);
|
|
35970
|
+
_export_star._(require_config(), exports);
|
|
35971
|
+
_export_star._(require_project(), exports);
|
|
35972
35972
|
}
|
|
35973
35973
|
});
|
|
35974
35974
|
|
|
@@ -36070,17 +36070,13 @@ var require_data = __commonJS({
|
|
|
36070
36070
|
readTsConfig: () => readTsConfig,
|
|
36071
36071
|
readTsConfigByFile: () => readTsConfigByFile2
|
|
36072
36072
|
});
|
|
36073
|
-
var
|
|
36074
|
-
var
|
|
36073
|
+
var _interop_require_default = require_interop_require_default();
|
|
36074
|
+
var _os = /* @__PURE__ */ _interop_require_default._(require("os"));
|
|
36075
|
+
var _path = /* @__PURE__ */ _interop_require_default._(require("path"));
|
|
36075
36076
|
var _compiled = require_compiled();
|
|
36076
36077
|
var _constants = require_constants();
|
|
36077
36078
|
var _is = require_is();
|
|
36078
36079
|
var _package = require_package2();
|
|
36079
|
-
function _interop_require_default(obj) {
|
|
36080
|
-
return obj && obj.__esModule ? obj : {
|
|
36081
|
-
default: obj
|
|
36082
|
-
};
|
|
36083
|
-
}
|
|
36084
36080
|
var MAX_TIMES = 5;
|
|
36085
36081
|
function getPackageManager2() {
|
|
36086
36082
|
return __async(this, arguments, function* (cwd = process.cwd()) {
|
|
@@ -36212,29 +36208,13 @@ var require_get = __commonJS({
|
|
|
36212
36208
|
getServerConfig: () => getServerConfig,
|
|
36213
36209
|
getTargetDir: () => getTargetDir
|
|
36214
36210
|
});
|
|
36215
|
-
var
|
|
36211
|
+
var _export_star = require_export_star();
|
|
36212
|
+
var _interop_require_default = require_interop_require_default();
|
|
36213
|
+
var _path = /* @__PURE__ */ _interop_require_default._(require("path"));
|
|
36216
36214
|
var _constants = require_constants();
|
|
36217
36215
|
var _fs = require_fs();
|
|
36218
|
-
_export_star(require_data(), exports);
|
|
36219
|
-
_export_star(require_config2(), exports);
|
|
36220
|
-
function _export_star(from, to) {
|
|
36221
|
-
Object.keys(from).forEach(function(k) {
|
|
36222
|
-
if (k !== "default" && !Object.prototype.hasOwnProperty.call(to, k)) {
|
|
36223
|
-
Object.defineProperty(to, k, {
|
|
36224
|
-
enumerable: true,
|
|
36225
|
-
get: function() {
|
|
36226
|
-
return from[k];
|
|
36227
|
-
}
|
|
36228
|
-
});
|
|
36229
|
-
}
|
|
36230
|
-
});
|
|
36231
|
-
return from;
|
|
36232
|
-
}
|
|
36233
|
-
function _interop_require_default(obj) {
|
|
36234
|
-
return obj && obj.__esModule ? obj : {
|
|
36235
|
-
default: obj
|
|
36236
|
-
};
|
|
36237
|
-
}
|
|
36216
|
+
_export_star._(require_data(), exports);
|
|
36217
|
+
_export_star._(require_config2(), exports);
|
|
36238
36218
|
var getServerConfig = (appDirectory, configFile) => __async(exports, null, function* () {
|
|
36239
36219
|
const configFilePath = (0, _fs.findExists)(_constants.CONFIG_FILE_EXTENSIONS.map((extension) => _path.default.resolve(appDirectory, `${configFile}${extension}`)));
|
|
36240
36220
|
return configFilePath;
|
|
@@ -36246,6 +36226,21 @@ var require_get = __commonJS({
|
|
|
36246
36226
|
}
|
|
36247
36227
|
});
|
|
36248
36228
|
|
|
36229
|
+
// ../../../../node_modules/.pnpm/@swc+helpers@0.5.1/node_modules/@swc/helpers/cjs/_define_property.cjs
|
|
36230
|
+
var require_define_property = __commonJS({
|
|
36231
|
+
"../../../../node_modules/.pnpm/@swc+helpers@0.5.1/node_modules/@swc/helpers/cjs/_define_property.cjs"(exports) {
|
|
36232
|
+
"use strict";
|
|
36233
|
+
exports._ = exports._define_property = _define_property14;
|
|
36234
|
+
function _define_property14(obj, key, value) {
|
|
36235
|
+
if (key in obj) {
|
|
36236
|
+
Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
|
|
36237
|
+
} else
|
|
36238
|
+
obj[key] = value;
|
|
36239
|
+
return obj;
|
|
36240
|
+
}
|
|
36241
|
+
}
|
|
36242
|
+
});
|
|
36243
|
+
|
|
36249
36244
|
// ../../../toolkit/utils/dist/cjs/cli/logger.js
|
|
36250
36245
|
var require_logger = __commonJS({
|
|
36251
36246
|
"../../../toolkit/utils/dist/cjs/cli/logger.js"(exports) {
|
|
@@ -36264,25 +36259,9 @@ var require_logger = __commonJS({
|
|
|
36264
36259
|
Logger: () => Logger,
|
|
36265
36260
|
logger: () => logger
|
|
36266
36261
|
});
|
|
36267
|
-
var
|
|
36268
|
-
|
|
36269
|
-
|
|
36270
|
-
Object.defineProperty(obj, key, {
|
|
36271
|
-
value,
|
|
36272
|
-
enumerable: true,
|
|
36273
|
-
configurable: true,
|
|
36274
|
-
writable: true
|
|
36275
|
-
});
|
|
36276
|
-
} else {
|
|
36277
|
-
obj[key] = value;
|
|
36278
|
-
}
|
|
36279
|
-
return obj;
|
|
36280
|
-
}
|
|
36281
|
-
function _interop_require_default(obj) {
|
|
36282
|
-
return obj && obj.__esModule ? obj : {
|
|
36283
|
-
default: obj
|
|
36284
|
-
};
|
|
36285
|
-
}
|
|
36262
|
+
var _define_property14 = require_define_property();
|
|
36263
|
+
var _interop_require_default = require_interop_require_default();
|
|
36264
|
+
var _chalk = /* @__PURE__ */ _interop_require_default._(require_chalk());
|
|
36286
36265
|
var LOG_LEVEL = {
|
|
36287
36266
|
error: 0,
|
|
36288
36267
|
warn: 1,
|
|
@@ -36366,10 +36345,10 @@ ${_chalk.default.grey(rest.join("\n"))}`;
|
|
|
36366
36345
|
return longestLabel;
|
|
36367
36346
|
}
|
|
36368
36347
|
constructor(options = {}) {
|
|
36369
|
-
_define_property14(this, "level", void 0);
|
|
36370
|
-
_define_property14(this, "config", void 0);
|
|
36371
|
-
_define_property14(this, "types", void 0);
|
|
36372
|
-
_define_property14(this, "longestLabel", void 0);
|
|
36348
|
+
_define_property14._(this, "level", void 0);
|
|
36349
|
+
_define_property14._(this, "config", void 0);
|
|
36350
|
+
_define_property14._(this, "types", void 0);
|
|
36351
|
+
_define_property14._(this, "longestLabel", void 0);
|
|
36373
36352
|
this.level = options.level || LOG_TYPES.log.level;
|
|
36374
36353
|
this.config = __spreadValues(__spreadValues({}, DEFAULT_CONFIG), options.config || {});
|
|
36375
36354
|
this.types = __spreadValues(__spreadValues({}, LOG_TYPES), options.types || {});
|
|
@@ -36442,16 +36421,12 @@ var require_alias = __commonJS({
|
|
|
36442
36421
|
getAliasConfig: () => getAliasConfig,
|
|
36443
36422
|
getUserAlias: () => getUserAlias
|
|
36444
36423
|
});
|
|
36445
|
-
var
|
|
36446
|
-
var
|
|
36424
|
+
var _interop_require_default = require_interop_require_default();
|
|
36425
|
+
var _fs = /* @__PURE__ */ _interop_require_default._(require("fs"));
|
|
36426
|
+
var _path = /* @__PURE__ */ _interop_require_default._(require("path"));
|
|
36447
36427
|
var _compiled = require_compiled();
|
|
36448
36428
|
var _get = require_get();
|
|
36449
36429
|
var _applyOptionsChain = require_applyOptionsChain();
|
|
36450
|
-
function _interop_require_default(obj) {
|
|
36451
|
-
return obj && obj.__esModule ? obj : {
|
|
36452
|
-
default: obj
|
|
36453
|
-
};
|
|
36454
|
-
}
|
|
36455
36430
|
var validAlias = (modernConfig, { tsconfigPath }) => {
|
|
36456
36431
|
const { source: { alias } } = modernConfig;
|
|
36457
36432
|
if (!alias) {
|
|
@@ -36527,15 +36502,11 @@ var require_path = __commonJS({
|
|
|
36527
36502
|
removeTailSlash: () => removeTailSlash,
|
|
36528
36503
|
removeSlash: () => removeSlash
|
|
36529
36504
|
});
|
|
36530
|
-
var
|
|
36531
|
-
var
|
|
36532
|
-
var
|
|
36505
|
+
var _interop_require_default = require_interop_require_default();
|
|
36506
|
+
var _path = /* @__PURE__ */ _interop_require_default._(require("path"));
|
|
36507
|
+
var _os = /* @__PURE__ */ _interop_require_default._(require("os"));
|
|
36508
|
+
var _fs = /* @__PURE__ */ _interop_require_default._(require("fs"));
|
|
36533
36509
|
var _compiled = require_compiled();
|
|
36534
|
-
function _interop_require_default(obj) {
|
|
36535
|
-
return obj && obj.__esModule ? obj : {
|
|
36536
|
-
default: obj
|
|
36537
|
-
};
|
|
36538
|
-
}
|
|
36539
36510
|
var isPathString = (test) => _path.default.posix.basename(test) !== test || _path.default.win32.basename(test) !== test;
|
|
36540
36511
|
var isRelativePath = (test) => /^\.\.?($|[\\/])/.test(test);
|
|
36541
36512
|
var normalizeOutputPath = (s) => s.replace(/\\/g, "\\\\");
|
|
@@ -36699,54 +36670,6 @@ var require_babel = __commonJS({
|
|
|
36699
36670
|
}
|
|
36700
36671
|
});
|
|
36701
36672
|
|
|
36702
|
-
// ../../../toolkit/utils/dist/cjs/cli/generateMetaTags.js
|
|
36703
|
-
var require_generateMetaTags = __commonJS({
|
|
36704
|
-
"../../../toolkit/utils/dist/cjs/cli/generateMetaTags.js"(exports) {
|
|
36705
|
-
"use strict";
|
|
36706
|
-
Object.defineProperty(exports, "__esModule", {
|
|
36707
|
-
value: true
|
|
36708
|
-
});
|
|
36709
|
-
Object.defineProperty(exports, "generateMetaTags", {
|
|
36710
|
-
enumerable: true,
|
|
36711
|
-
get: () => generateMetaTags
|
|
36712
|
-
});
|
|
36713
|
-
var tagObjectToString = (tagDefinition) => {
|
|
36714
|
-
const attributes = Object.keys(tagDefinition.attributes || {}).filter((attributeName) => tagDefinition.attributes[attributeName] !== false).map((attributeName) => {
|
|
36715
|
-
if (tagDefinition.attributes[attributeName] === true) {
|
|
36716
|
-
return attributeName;
|
|
36717
|
-
}
|
|
36718
|
-
return `${attributeName}="${tagDefinition.attributes[attributeName]}"`;
|
|
36719
|
-
});
|
|
36720
|
-
return `<${[
|
|
36721
|
-
tagDefinition.tagName
|
|
36722
|
-
].concat(attributes).join(" ")}>${tagDefinition.innerHTML || ""}${tagDefinition.voidTag ? "" : `</${tagDefinition.tagName}>`}`;
|
|
36723
|
-
};
|
|
36724
|
-
var generateMetaTags = (metaOptions) => {
|
|
36725
|
-
if (!metaOptions) {
|
|
36726
|
-
return "";
|
|
36727
|
-
}
|
|
36728
|
-
const metaTagAttributeObjects = Object.keys(metaOptions).map((metaName) => {
|
|
36729
|
-
const metaTagContent = metaOptions[metaName];
|
|
36730
|
-
return typeof metaTagContent === "string" ? {
|
|
36731
|
-
name: metaName,
|
|
36732
|
-
content: metaTagContent
|
|
36733
|
-
} : metaTagContent;
|
|
36734
|
-
}).filter((attribute) => attribute !== false);
|
|
36735
|
-
return metaTagAttributeObjects.map((metaTagAttributes) => {
|
|
36736
|
-
if (metaTagAttributes === false) {
|
|
36737
|
-
throw new Error("Invalid meta tag");
|
|
36738
|
-
}
|
|
36739
|
-
return {
|
|
36740
|
-
tagName: "meta",
|
|
36741
|
-
voidTag: true,
|
|
36742
|
-
attributes: metaTagAttributes
|
|
36743
|
-
};
|
|
36744
|
-
}).reduce((memo, tagObject) => `${memo}
|
|
36745
|
-
${tagObjectToString(tagObject)}`, "");
|
|
36746
|
-
};
|
|
36747
|
-
}
|
|
36748
|
-
});
|
|
36749
|
-
|
|
36750
36673
|
// ../../../toolkit/utils/dist/cjs/cli/monorepo.js
|
|
36751
36674
|
var require_monorepo = __commonJS({
|
|
36752
36675
|
"../../../toolkit/utils/dist/cjs/cli/monorepo.js"(exports) {
|
|
@@ -36770,14 +36693,10 @@ var require_monorepo = __commonJS({
|
|
|
36770
36693
|
findMonorepoRoot: () => findMonorepoRoot,
|
|
36771
36694
|
getMonorepoPackages: () => getMonorepoPackages2
|
|
36772
36695
|
});
|
|
36773
|
-
var
|
|
36774
|
-
var
|
|
36696
|
+
var _interop_require_default = require_interop_require_default();
|
|
36697
|
+
var _fs = /* @__PURE__ */ _interop_require_default._(require("fs"));
|
|
36698
|
+
var _path = /* @__PURE__ */ _interop_require_default._(require("path"));
|
|
36775
36699
|
var _compiled = require_compiled();
|
|
36776
|
-
function _interop_require_default(obj) {
|
|
36777
|
-
return obj && obj.__esModule ? obj : {
|
|
36778
|
-
default: obj
|
|
36779
|
-
};
|
|
36780
|
-
}
|
|
36781
36700
|
var PACKAGE_MAX_DEPTH = 5;
|
|
36782
36701
|
var WORKSPACE_FILES = {
|
|
36783
36702
|
YARN: "package.json",
|
|
@@ -36865,14 +36784,10 @@ var require_pathSerializer = __commonJS({
|
|
|
36865
36784
|
applyMatcherReplacement: () => applyMatcherReplacement,
|
|
36866
36785
|
createDefaultPathMatchers: () => createDefaultPathMatchers
|
|
36867
36786
|
});
|
|
36868
|
-
var
|
|
36869
|
-
var
|
|
36787
|
+
var _interop_require_default = require_interop_require_default();
|
|
36788
|
+
var _os = /* @__PURE__ */ _interop_require_default._(require("os"));
|
|
36789
|
+
var _lodash = /* @__PURE__ */ _interop_require_default._(require_lodash3());
|
|
36870
36790
|
var _path = require_path();
|
|
36871
|
-
function _interop_require_default(obj) {
|
|
36872
|
-
return obj && obj.__esModule ? obj : {
|
|
36873
|
-
default: obj
|
|
36874
|
-
};
|
|
36875
|
-
}
|
|
36876
36791
|
var matchUpwardPathsAsUnknown = (p) => (0, _lodash.default)((0, _path.upwardPaths)((0, _path.normalizeToPosixPath)(p))).map((match) => ({
|
|
36877
36792
|
match,
|
|
36878
36793
|
mark: "unknown"
|
|
@@ -36930,14 +36845,10 @@ var require_port = __commonJS({
|
|
|
36930
36845
|
enumerable: true,
|
|
36931
36846
|
get: () => getPort
|
|
36932
36847
|
});
|
|
36933
|
-
var
|
|
36848
|
+
var _interop_require_default = require_interop_require_default();
|
|
36849
|
+
var _net = /* @__PURE__ */ _interop_require_default._(require("net"));
|
|
36934
36850
|
var _compiled = require_compiled();
|
|
36935
36851
|
var _logger = require_logger();
|
|
36936
|
-
function _interop_require_default(obj) {
|
|
36937
|
-
return obj && obj.__esModule ? obj : {
|
|
36938
|
-
default: obj
|
|
36939
|
-
};
|
|
36940
|
-
}
|
|
36941
36852
|
var getPort = (_0, ..._1) => __async(exports, [_0, ..._1], function* (port, { tryLimits = 20, strictPort = false } = {}) {
|
|
36942
36853
|
if (typeof port === "string") {
|
|
36943
36854
|
port = parseInt(port, 10);
|
|
@@ -37000,15 +36911,11 @@ var require_prettyInstructions = __commonJS({
|
|
|
37000
36911
|
getAddressUrls: () => getAddressUrls,
|
|
37001
36912
|
prettyInstructions: () => prettyInstructions
|
|
37002
36913
|
});
|
|
37003
|
-
var
|
|
36914
|
+
var _interop_require_default = require_interop_require_default();
|
|
36915
|
+
var _os = /* @__PURE__ */ _interop_require_default._(require("os"));
|
|
37004
36916
|
var _compiled = require_compiled();
|
|
37005
36917
|
var _is = require_is();
|
|
37006
36918
|
var _constants = require_constants();
|
|
37007
|
-
function _interop_require_default(obj) {
|
|
37008
|
-
return obj && obj.__esModule ? obj : {
|
|
37009
|
-
default: obj
|
|
37010
|
-
};
|
|
37011
|
-
}
|
|
37012
36919
|
var normalizeUrl = (url) => url.replace(/([^:]\/)\/+/g, "$1");
|
|
37013
36920
|
var getIpv4Interfaces = () => {
|
|
37014
36921
|
const interfaces = _os.default.networkInterfaces();
|
|
@@ -37212,14 +37119,10 @@ var require_routes = __commonJS({
|
|
|
37212
37119
|
enumerable: true,
|
|
37213
37120
|
get: () => getRouteId
|
|
37214
37121
|
});
|
|
37215
|
-
var
|
|
37122
|
+
var _interop_require_default = require_interop_require_default();
|
|
37123
|
+
var _path = /* @__PURE__ */ _interop_require_default._(require("path"));
|
|
37216
37124
|
var _constants = require_constants();
|
|
37217
37125
|
var _path1 = require_path();
|
|
37218
|
-
function _interop_require_default(obj) {
|
|
37219
|
-
return obj && obj.__esModule ? obj : {
|
|
37220
|
-
default: obj
|
|
37221
|
-
};
|
|
37222
|
-
}
|
|
37223
37126
|
var getPathWithoutExt = (filename) => {
|
|
37224
37127
|
const extname = _path.default.extname(filename);
|
|
37225
37128
|
return filename.slice(0, -extname.length);
|
|
@@ -37249,14 +37152,10 @@ var require_runtimeExports = __commonJS({
|
|
|
37249
37152
|
enumerable: true,
|
|
37250
37153
|
get: () => createRuntimeExportsUtils
|
|
37251
37154
|
});
|
|
37252
|
-
var
|
|
37155
|
+
var _interop_require_default = require_interop_require_default();
|
|
37156
|
+
var _path = /* @__PURE__ */ _interop_require_default._(require("path"));
|
|
37253
37157
|
var _compiled = require_compiled();
|
|
37254
37158
|
var _path1 = require_path();
|
|
37255
|
-
function _interop_require_default(obj) {
|
|
37256
|
-
return obj && obj.__esModule ? obj : {
|
|
37257
|
-
default: obj
|
|
37258
|
-
};
|
|
37259
|
-
}
|
|
37260
37159
|
var memo = (fn) => {
|
|
37261
37160
|
const cache = /* @__PURE__ */ new Map();
|
|
37262
37161
|
return (...params) => {
|
|
@@ -37333,13 +37232,9 @@ var require_watch = __commonJS({
|
|
|
37333
37232
|
WatchChangeType: () => WatchChangeType,
|
|
37334
37233
|
watch: () => watch
|
|
37335
37234
|
});
|
|
37336
|
-
var
|
|
37235
|
+
var _interop_require_default = require_interop_require_default();
|
|
37236
|
+
var _path = /* @__PURE__ */ _interop_require_default._(require("path"));
|
|
37337
37237
|
var _compiled = require_compiled();
|
|
37338
|
-
function _interop_require_default(obj) {
|
|
37339
|
-
return obj && obj.__esModule ? obj : {
|
|
37340
|
-
default: obj
|
|
37341
|
-
};
|
|
37342
|
-
}
|
|
37343
37238
|
var WatchChangeType = {
|
|
37344
37239
|
ADD: "add",
|
|
37345
37240
|
UNLINK: "unlink",
|
|
@@ -37389,43 +37284,30 @@ var require_cli = __commonJS({
|
|
|
37389
37284
|
Object.defineProperty(exports, "__esModule", {
|
|
37390
37285
|
value: true
|
|
37391
37286
|
});
|
|
37392
|
-
_export_star(
|
|
37393
|
-
_export_star(
|
|
37394
|
-
_export_star(
|
|
37395
|
-
_export_star(
|
|
37396
|
-
_export_star(
|
|
37397
|
-
_export_star(
|
|
37398
|
-
_export_star(
|
|
37399
|
-
_export_star(
|
|
37400
|
-
_export_star(
|
|
37401
|
-
_export_star(
|
|
37402
|
-
_export_star(
|
|
37403
|
-
_export_star(require_logger(), exports);
|
|
37404
|
-
_export_star(require_monorepo(), exports);
|
|
37405
|
-
_export_star(require_package2(), exports);
|
|
37406
|
-
_export_star(require_path(), exports);
|
|
37407
|
-
_export_star(require_pathSerializer(), exports);
|
|
37408
|
-
_export_star(require_port(), exports);
|
|
37409
|
-
_export_star(require_prettyInstructions(), exports);
|
|
37410
|
-
_export_star(require_print(), exports);
|
|
37411
|
-
_export_star(require_require(), exports);
|
|
37412
|
-
_export_star(require_routes(), exports);
|
|
37413
|
-
_export_star(require_runtimeExports(), exports);
|
|
37414
|
-
_export_star(require_test(), exports);
|
|
37415
|
-
_export_star(require_watch(), exports);
|
|
37416
|
-
function _export_star(from, to) {
|
|
37417
|
-
Object.keys(from).forEach(function(k) {
|
|
37418
|
-
if (k !== "default" && !Object.prototype.hasOwnProperty.call(to, k)) {
|
|
37419
|
-
Object.defineProperty(to, k, {
|
|
37420
|
-
enumerable: true,
|
|
37421
|
-
get: function() {
|
|
37422
|
-
return from[k];
|
|
37423
|
-
}
|
|
37424
|
-
});
|
|
37425
|
-
}
|
|
37426
|
-
});
|
|
37427
|
-
return from;
|
|
37428
|
-
}
|
|
37287
|
+
var _export_star = require_export_star();
|
|
37288
|
+
_export_star._(require_constants(), exports);
|
|
37289
|
+
_export_star._(require_get(), exports);
|
|
37290
|
+
_export_star._(require_is(), exports);
|
|
37291
|
+
_export_star._(require_alias(), exports);
|
|
37292
|
+
_export_star._(require_applyOptionsChain(), exports);
|
|
37293
|
+
_export_star._(require_babel(), exports);
|
|
37294
|
+
_export_star._(require_commands(), exports);
|
|
37295
|
+
_export_star._(require_common(), exports);
|
|
37296
|
+
_export_star._(require_ensure(), exports);
|
|
37297
|
+
_export_star._(require_fs(), exports);
|
|
37298
|
+
_export_star._(require_logger(), exports);
|
|
37299
|
+
_export_star._(require_monorepo(), exports);
|
|
37300
|
+
_export_star._(require_package2(), exports);
|
|
37301
|
+
_export_star._(require_path(), exports);
|
|
37302
|
+
_export_star._(require_pathSerializer(), exports);
|
|
37303
|
+
_export_star._(require_port(), exports);
|
|
37304
|
+
_export_star._(require_prettyInstructions(), exports);
|
|
37305
|
+
_export_star._(require_print(), exports);
|
|
37306
|
+
_export_star._(require_require(), exports);
|
|
37307
|
+
_export_star._(require_routes(), exports);
|
|
37308
|
+
_export_star._(require_runtimeExports(), exports);
|
|
37309
|
+
_export_star._(require_test(), exports);
|
|
37310
|
+
_export_star._(require_watch(), exports);
|
|
37429
37311
|
}
|
|
37430
37312
|
});
|
|
37431
37313
|
|
|
@@ -37436,22 +37318,10 @@ var require_cjs = __commonJS({
|
|
|
37436
37318
|
Object.defineProperty(exports, "__esModule", {
|
|
37437
37319
|
value: true
|
|
37438
37320
|
});
|
|
37439
|
-
_export_star(
|
|
37440
|
-
_export_star(
|
|
37441
|
-
_export_star(
|
|
37442
|
-
|
|
37443
|
-
Object.keys(from).forEach(function(k) {
|
|
37444
|
-
if (k !== "default" && !Object.prototype.hasOwnProperty.call(to, k)) {
|
|
37445
|
-
Object.defineProperty(to, k, {
|
|
37446
|
-
enumerable: true,
|
|
37447
|
-
get: function() {
|
|
37448
|
-
return from[k];
|
|
37449
|
-
}
|
|
37450
|
-
});
|
|
37451
|
-
}
|
|
37452
|
-
});
|
|
37453
|
-
return from;
|
|
37454
|
-
}
|
|
37321
|
+
var _export_star = require_export_star();
|
|
37322
|
+
_export_star._(require_compiled(), exports);
|
|
37323
|
+
_export_star._(require_cli(), exports);
|
|
37324
|
+
_export_star._(require_import(), exports);
|
|
37455
37325
|
}
|
|
37456
37326
|
});
|
|
37457
37327
|
|
|
@@ -116071,6 +115941,15 @@ var import_lodash9 = __toESM(require_lodash2());
|
|
|
116071
115941
|
var import_path = __toESM(require("path"));
|
|
116072
115942
|
var import_utils2 = __toESM(require_cjs());
|
|
116073
115943
|
|
|
115944
|
+
// ../../../../node_modules/.pnpm/@swc+helpers@0.5.1/node_modules/@swc/helpers/esm/_define_property.js
|
|
115945
|
+
function _define_property(obj, key, value) {
|
|
115946
|
+
if (key in obj) {
|
|
115947
|
+
Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
|
|
115948
|
+
} else
|
|
115949
|
+
obj[key] = value;
|
|
115950
|
+
return obj;
|
|
115951
|
+
}
|
|
115952
|
+
|
|
116074
115953
|
// ../../../cli/plugin-i18n/dist/esm-node/index.js
|
|
116075
115954
|
var import_lodash2 = __toESM(require_lodash2());
|
|
116076
115955
|
|
|
@@ -116089,19 +115968,6 @@ function getObjKeyMap(obj, prefix = "") {
|
|
|
116089
115968
|
}
|
|
116090
115969
|
|
|
116091
115970
|
// ../../../cli/plugin-i18n/dist/esm-node/index.js
|
|
116092
|
-
function _define_property(obj, key, value) {
|
|
116093
|
-
if (key in obj) {
|
|
116094
|
-
Object.defineProperty(obj, key, {
|
|
116095
|
-
value,
|
|
116096
|
-
enumerable: true,
|
|
116097
|
-
configurable: true,
|
|
116098
|
-
writable: true
|
|
116099
|
-
});
|
|
116100
|
-
} else {
|
|
116101
|
-
obj[key] = value;
|
|
116102
|
-
}
|
|
116103
|
-
return obj;
|
|
116104
|
-
}
|
|
116105
115971
|
var I18n = class {
|
|
116106
115972
|
format(msg, vars) {
|
|
116107
115973
|
return msg.replace(/\{(\w+)\}/g, (_match, capture) => Object.prototype.hasOwnProperty.call(vars, capture) ? vars[capture] : capture);
|
|
@@ -116457,11 +116323,11 @@ var mime = Import.lazy("../compiled/mime-types", require);
|
|
|
116457
116323
|
var chokidar = Import.lazy("../compiled/chokidar", require);
|
|
116458
116324
|
var inquirer = Import.lazy("../compiled/inquirer", require);
|
|
116459
116325
|
|
|
116460
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.
|
|
116326
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-api-app/dist/esm/index.js
|
|
116461
116327
|
var import_lodash8 = __toESM(require_lodash4());
|
|
116462
116328
|
var import_comment_json = __toESM(require_src2());
|
|
116463
116329
|
|
|
116464
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.2.
|
|
116330
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.2.3/node_modules/@modern-js/codesmith-api-npm/dist/esm/utils/env.js
|
|
116465
116331
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
116466
116332
|
try {
|
|
116467
116333
|
var info = gen[key](arg);
|
|
@@ -116769,7 +116635,7 @@ function _canUsePnpm() {
|
|
|
116769
116635
|
return _canUsePnpm.apply(this, arguments);
|
|
116770
116636
|
}
|
|
116771
116637
|
|
|
116772
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.2.
|
|
116638
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.2.3/node_modules/@modern-js/codesmith-api-npm/dist/esm/utils/install.js
|
|
116773
116639
|
function asyncGeneratorStep2(gen, resolve, reject, _next, _throw, key, arg) {
|
|
116774
116640
|
try {
|
|
116775
116641
|
var info = gen[key](arg);
|
|
@@ -117136,7 +117002,7 @@ function _pnpmInstall() {
|
|
|
117136
117002
|
return _pnpmInstall.apply(this, arguments);
|
|
117137
117003
|
}
|
|
117138
117004
|
|
|
117139
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.2.
|
|
117005
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.2.3/node_modules/@modern-js/codesmith-api-npm/dist/esm/index.js
|
|
117140
117006
|
function _class_call_check(instance, Constructor) {
|
|
117141
117007
|
if (!(instance instanceof Constructor)) {
|
|
117142
117008
|
throw new TypeError("Cannot call a class as a function");
|
|
@@ -117217,7 +117083,7 @@ var NpmAPI = /* @__PURE__ */ function() {
|
|
|
117217
117083
|
return NpmAPI2;
|
|
117218
117084
|
}();
|
|
117219
117085
|
|
|
117220
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.2.
|
|
117086
|
+
// ../../../../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
|
|
117221
117087
|
function asyncGeneratorStep3(gen, resolve, reject, _next, _throw, key, arg) {
|
|
117222
117088
|
try {
|
|
117223
117089
|
var info = gen[key](arg);
|
|
@@ -117559,7 +117425,7 @@ function _gitCommit() {
|
|
|
117559
117425
|
return _gitCommit.apply(this, arguments);
|
|
117560
117426
|
}
|
|
117561
117427
|
|
|
117562
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.2.
|
|
117428
|
+
// ../../../../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
|
|
117563
117429
|
function asyncGeneratorStep4(gen, resolve, reject, _next, _throw, key, arg) {
|
|
117564
117430
|
try {
|
|
117565
117431
|
var info = gen[key](arg);
|
|
@@ -117890,11 +117756,11 @@ var GitAPI = /* @__PURE__ */ function() {
|
|
|
117890
117756
|
return GitAPI2;
|
|
117891
117757
|
}();
|
|
117892
117758
|
|
|
117893
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.
|
|
117759
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith/dist/esm/materials/FsResource.js
|
|
117894
117760
|
var import_path2 = __toESM(require("path"));
|
|
117895
117761
|
var FS_RESOURCE = "_codesmith_core_fs_resource";
|
|
117896
117762
|
|
|
117897
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.
|
|
117763
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith/dist/esm/utils/fsExists.js
|
|
117898
117764
|
function asyncGeneratorStep5(gen, resolve, reject, _next, _throw, key, arg) {
|
|
117899
117765
|
try {
|
|
117900
117766
|
var info = gen[key](arg);
|
|
@@ -118067,7 +117933,7 @@ function _fsExists() {
|
|
|
118067
117933
|
return _fsExists.apply(this, arguments);
|
|
118068
117934
|
}
|
|
118069
117935
|
|
|
118070
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.2.
|
|
117936
|
+
// ../../../../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
|
|
118071
117937
|
var import_handlebars = __toESM(require_lib());
|
|
118072
117938
|
function _define_property5(obj, key, value) {
|
|
118073
117939
|
if (key in obj) {
|
|
@@ -118109,7 +117975,7 @@ function renderString(template, fullData, registers) {
|
|
|
118109
117975
|
return import_handlebars.default.compile(template)(fullData) || "";
|
|
118110
117976
|
}
|
|
118111
117977
|
|
|
118112
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.2.
|
|
117978
|
+
// ../../../../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
|
|
118113
117979
|
function asyncGeneratorStep6(gen, resolve, reject, _next, _throw, key, arg) {
|
|
118114
117980
|
try {
|
|
118115
117981
|
var info = gen[key](arg);
|
|
@@ -118427,13 +118293,13 @@ var HandlebarsAPI = /* @__PURE__ */ function() {
|
|
|
118427
118293
|
return HandlebarsAPI2;
|
|
118428
118294
|
}();
|
|
118429
118295
|
|
|
118430
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.2.
|
|
118296
|
+
// ../../../../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
|
|
118431
118297
|
var import_ejs = __toESM(require_ejs());
|
|
118432
118298
|
function renderString2(template, fullData) {
|
|
118433
118299
|
return import_ejs.default.render(template, fullData) || "";
|
|
118434
118300
|
}
|
|
118435
118301
|
|
|
118436
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.2.
|
|
118302
|
+
// ../../../../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
|
|
118437
118303
|
function asyncGeneratorStep7(gen, resolve, reject, _next, _throw, key, arg) {
|
|
118438
118304
|
try {
|
|
118439
118305
|
var info = gen[key](arg);
|
|
@@ -118703,24 +118569,8 @@ var EjsAPI = /* @__PURE__ */ function() {
|
|
|
118703
118569
|
return EjsAPI2;
|
|
118704
118570
|
}();
|
|
118705
118571
|
|
|
118706
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-fs@2.2.
|
|
118572
|
+
// ../../../../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
|
|
118707
118573
|
var import_path3 = __toESM(require("path"));
|
|
118708
|
-
|
|
118709
|
-
// ../../../../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
|
|
118710
|
-
var imageExtNameList = [
|
|
118711
|
-
".jpg",
|
|
118712
|
-
".jpeg",
|
|
118713
|
-
".png",
|
|
118714
|
-
".gif",
|
|
118715
|
-
".bmp",
|
|
118716
|
-
".ico",
|
|
118717
|
-
".icon",
|
|
118718
|
-
".mpt",
|
|
118719
|
-
".psd",
|
|
118720
|
-
".wmf"
|
|
118721
|
-
];
|
|
118722
|
-
|
|
118723
|
-
// ../../../../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
|
|
118724
118574
|
function asyncGeneratorStep8(gen, resolve, reject, _next, _throw, key, arg) {
|
|
118725
118575
|
try {
|
|
118726
118576
|
var info = gen[key](arg);
|
|
@@ -118900,48 +118750,26 @@ var FsAPI = /* @__PURE__ */ function() {
|
|
|
118900
118750
|
value: function renderFile(resource, target) {
|
|
118901
118751
|
var _this = this;
|
|
118902
118752
|
return _async_to_generator8(function() {
|
|
118903
|
-
var
|
|
118753
|
+
var filePath;
|
|
118904
118754
|
return __generator8(this, function(_state) {
|
|
118905
118755
|
switch (_state.label) {
|
|
118906
118756
|
case 0:
|
|
118907
118757
|
if (resource._type !== FS_RESOURCE) {
|
|
118908
118758
|
throw new Error("resource not match");
|
|
118909
118759
|
}
|
|
118760
|
+
filePath = import_path3.default.resolve(_this.generatorCore.outputPath, target.toString());
|
|
118910
118761
|
return [
|
|
118911
118762
|
4,
|
|
118912
|
-
|
|
118763
|
+
import_fs_extra.default.mkdirp(import_path3.default.dirname(filePath))
|
|
118913
118764
|
];
|
|
118914
118765
|
case 1:
|
|
118915
|
-
resourceValue = _state.sent();
|
|
118916
|
-
resourceFileExt = import_path3.default.extname(resource.filePath);
|
|
118917
|
-
if (!imageExtNameList.includes(resourceFileExt))
|
|
118918
|
-
return [
|
|
118919
|
-
3,
|
|
118920
|
-
3
|
|
118921
|
-
];
|
|
118922
|
-
return [
|
|
118923
|
-
4,
|
|
118924
|
-
_this.generatorCore.output.fs(target, resourceValue.content, {
|
|
118925
|
-
encoding: "binary"
|
|
118926
|
-
})
|
|
118927
|
-
];
|
|
118928
|
-
case 2:
|
|
118929
118766
|
_state.sent();
|
|
118930
|
-
return [
|
|
118931
|
-
3,
|
|
118932
|
-
5
|
|
118933
|
-
];
|
|
118934
|
-
case 3:
|
|
118935
118767
|
return [
|
|
118936
118768
|
4,
|
|
118937
|
-
|
|
118938
|
-
encoding: "utf-8"
|
|
118939
|
-
})
|
|
118769
|
+
import_fs_extra.default.copyFile(resource.filePath, filePath)
|
|
118940
118770
|
];
|
|
118941
|
-
case
|
|
118771
|
+
case 2:
|
|
118942
118772
|
_state.sent();
|
|
118943
|
-
_state.label = 5;
|
|
118944
|
-
case 5:
|
|
118945
118773
|
return [
|
|
118946
118774
|
2
|
|
118947
118775
|
];
|
|
@@ -119004,7 +118832,7 @@ var FsAPI = /* @__PURE__ */ function() {
|
|
|
119004
118832
|
return FsAPI2;
|
|
119005
118833
|
}();
|
|
119006
118834
|
|
|
119007
|
-
// ../../../../node_modules/.pnpm/@formily+shared@2.2.
|
|
118835
|
+
// ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/checkers.js
|
|
119008
118836
|
var toString = Object.prototype.toString;
|
|
119009
118837
|
var isType = function(type) {
|
|
119010
118838
|
return function(obj) {
|
|
@@ -119030,7 +118858,7 @@ var isObj = function(val) {
|
|
|
119030
118858
|
};
|
|
119031
118859
|
var isRegExp = isType("RegExp");
|
|
119032
118860
|
|
|
119033
|
-
// ../../../../node_modules/.pnpm/@formily+shared@2.2.
|
|
118861
|
+
// ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/array.js
|
|
119034
118862
|
var toArr = function(val) {
|
|
119035
118863
|
return isArr(val) ? val : val ? [val] : [];
|
|
119036
118864
|
};
|
|
@@ -119081,7 +118909,7 @@ function reduce(val, iterator, accumulator, revert) {
|
|
|
119081
118909
|
return result;
|
|
119082
118910
|
}
|
|
119083
118911
|
|
|
119084
|
-
// ../../../../node_modules/.pnpm/@formily+shared@2.2.
|
|
118912
|
+
// ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/global.js
|
|
119085
118913
|
function globalSelf() {
|
|
119086
118914
|
try {
|
|
119087
118915
|
if (typeof self !== "undefined") {
|
|
@@ -119105,7 +118933,7 @@ function globalSelf() {
|
|
|
119105
118933
|
}
|
|
119106
118934
|
var globalThisPolyfill = globalSelf();
|
|
119107
118935
|
|
|
119108
|
-
// ../../../../node_modules/.pnpm/@formily+shared@2.2.
|
|
118936
|
+
// ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/instanceof.js
|
|
119109
118937
|
var instOf = function(value, cls) {
|
|
119110
118938
|
if (isFn(cls))
|
|
119111
118939
|
return value instanceof cls;
|
|
@@ -119114,7 +118942,7 @@ var instOf = function(value, cls) {
|
|
|
119114
118942
|
return false;
|
|
119115
118943
|
};
|
|
119116
118944
|
|
|
119117
|
-
// ../../../../node_modules/.pnpm/@formily+shared@2.2.
|
|
118945
|
+
// ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/compare.js
|
|
119118
118946
|
var isArray = isArr;
|
|
119119
118947
|
var keyList = Object.keys;
|
|
119120
118948
|
var hasProp = Object.prototype.hasOwnProperty;
|
|
@@ -119221,7 +119049,7 @@ var isEqual = function exportedEqual(a, b) {
|
|
|
119221
119049
|
}
|
|
119222
119050
|
};
|
|
119223
119051
|
|
|
119224
|
-
// ../../../../node_modules/.pnpm/@formily+shared@2.2.
|
|
119052
|
+
// ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/clone.js
|
|
119225
119053
|
var clone = function(values) {
|
|
119226
119054
|
if (Array.isArray(values)) {
|
|
119227
119055
|
var res_1 = [];
|
|
@@ -119257,7 +119085,7 @@ var clone = function(values) {
|
|
|
119257
119085
|
}
|
|
119258
119086
|
};
|
|
119259
119087
|
|
|
119260
|
-
// ../../../../node_modules/.pnpm/@formily+shared@2.2.
|
|
119088
|
+
// ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/isEmpty.js
|
|
119261
119089
|
var has = Object.prototype.hasOwnProperty;
|
|
119262
119090
|
var toString2 = Object.prototype.toString;
|
|
119263
119091
|
var isUndef = function(val) {
|
|
@@ -119385,7 +119213,7 @@ function pascalCase(input, options) {
|
|
|
119385
119213
|
return noCase(input, __assign({ delimiter: "", transform: pascalCaseTransform }, options));
|
|
119386
119214
|
}
|
|
119387
119215
|
|
|
119388
|
-
// ../../../../node_modules/.pnpm/@formily+shared@2.2.
|
|
119216
|
+
// ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/string.js
|
|
119389
119217
|
var ansiRegex = function() {
|
|
119390
119218
|
var pattern = [
|
|
119391
119219
|
"[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[a-zA-Z\\d]*)*)?\\u0007)",
|
|
@@ -119404,7 +119232,7 @@ var stringLength = function(input) {
|
|
|
119404
119232
|
return stripAnsi(input).replace(astralRegex(), " ").length;
|
|
119405
119233
|
};
|
|
119406
119234
|
|
|
119407
|
-
// ../../../../node_modules/.pnpm/@formily+path@2.2.
|
|
119235
|
+
// ../../../../node_modules/.pnpm/@formily+path@2.2.24/node_modules/@formily/path/esm/contexts.js
|
|
119408
119236
|
var __assign2 = function() {
|
|
119409
119237
|
__assign2 = Object.assign || function(t) {
|
|
119410
119238
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -119427,7 +119255,7 @@ var parenContext = ContextType("()");
|
|
|
119427
119255
|
var braceContext = ContextType("{}");
|
|
119428
119256
|
var destructorContext = ContextType("{x}");
|
|
119429
119257
|
|
|
119430
|
-
// ../../../../node_modules/.pnpm/@formily+path@2.2.
|
|
119258
|
+
// ../../../../node_modules/.pnpm/@formily+path@2.2.24/node_modules/@formily/path/esm/tokens.js
|
|
119431
119259
|
var __assign3 = function() {
|
|
119432
119260
|
__assign3 = Object.assign || function(t) {
|
|
119433
119261
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -119595,7 +119423,7 @@ var expandTok = TokenType("expandTok", {
|
|
|
119595
119423
|
});
|
|
119596
119424
|
var eofTok = TokenType("eof");
|
|
119597
119425
|
|
|
119598
|
-
// ../../../../node_modules/.pnpm/@formily+path@2.2.
|
|
119426
|
+
// ../../../../node_modules/.pnpm/@formily+path@2.2.24/node_modules/@formily/path/esm/tokenizer.js
|
|
119599
119427
|
var nonASCIIWhitespace = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/;
|
|
119600
119428
|
var fullCharCodeAtPos = function(input, pos) {
|
|
119601
119429
|
if (String.fromCharCode)
|
|
@@ -119847,7 +119675,7 @@ var Tokenizer = (
|
|
|
119847
119675
|
}()
|
|
119848
119676
|
);
|
|
119849
119677
|
|
|
119850
|
-
// ../../../../node_modules/.pnpm/@formily+path@2.2.
|
|
119678
|
+
// ../../../../node_modules/.pnpm/@formily+path@2.2.24/node_modules/@formily/path/esm/types.js
|
|
119851
119679
|
var isType2 = function(type) {
|
|
119852
119680
|
return function(obj) {
|
|
119853
119681
|
return obj && obj.type === type;
|
|
@@ -119865,7 +119693,7 @@ var isObjectPattern = isType2("ObjectPattern");
|
|
|
119865
119693
|
var isObjectPatternProperty = isType2("ObjectPatternProperty");
|
|
119866
119694
|
var isArrayPattern = isType2("ArrayPattern");
|
|
119867
119695
|
|
|
119868
|
-
// ../../../../node_modules/.pnpm/@formily+path@2.2.
|
|
119696
|
+
// ../../../../node_modules/.pnpm/@formily+path@2.2.24/node_modules/@formily/path/esm/shared.js
|
|
119869
119697
|
var toString3 = Object.prototype.toString;
|
|
119870
119698
|
var isType3 = function(type) {
|
|
119871
119699
|
return function(obj) {
|
|
@@ -119942,7 +119770,7 @@ var isSegmentEqual = function(a, b) {
|
|
|
119942
119770
|
return a === b;
|
|
119943
119771
|
};
|
|
119944
119772
|
|
|
119945
|
-
// ../../../../node_modules/.pnpm/@formily+path@2.2.
|
|
119773
|
+
// ../../../../node_modules/.pnpm/@formily+path@2.2.24/node_modules/@formily/path/esm/destructor.js
|
|
119946
119774
|
var DestructorCache = /* @__PURE__ */ new Map();
|
|
119947
119775
|
var isValid2 = function(val) {
|
|
119948
119776
|
return val !== void 0 && val !== null;
|
|
@@ -120060,7 +119888,7 @@ var existInByDestructor = function(source, rules, start, mutators) {
|
|
|
120060
119888
|
});
|
|
120061
119889
|
};
|
|
120062
119890
|
|
|
120063
|
-
// ../../../../node_modules/.pnpm/@formily+path@2.2.
|
|
119891
|
+
// ../../../../node_modules/.pnpm/@formily+path@2.2.24/node_modules/@formily/path/esm/parser.js
|
|
120064
119892
|
var __extends = function() {
|
|
120065
119893
|
var extendStatics = function(d, b) {
|
|
120066
119894
|
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
|
|
@@ -120451,7 +120279,7 @@ var Parser = (
|
|
|
120451
120279
|
}(Tokenizer)
|
|
120452
120280
|
);
|
|
120453
120281
|
|
|
120454
|
-
// ../../../../node_modules/.pnpm/@formily+path@2.2.
|
|
120282
|
+
// ../../../../node_modules/.pnpm/@formily+path@2.2.24/node_modules/@formily/path/esm/matcher.js
|
|
120455
120283
|
var Matcher = (
|
|
120456
120284
|
/** @class */
|
|
120457
120285
|
function() {
|
|
@@ -120633,7 +120461,7 @@ var Matcher = (
|
|
|
120633
120461
|
}()
|
|
120634
120462
|
);
|
|
120635
120463
|
|
|
120636
|
-
// ../../../../node_modules/.pnpm/@formily+path@2.2.
|
|
120464
|
+
// ../../../../node_modules/.pnpm/@formily+path@2.2.24/node_modules/@formily/path/esm/index.js
|
|
120637
120465
|
var __read = function(o, n) {
|
|
120638
120466
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
120639
120467
|
if (!m)
|
|
@@ -121187,7 +121015,7 @@ var Path = (
|
|
|
121187
121015
|
}()
|
|
121188
121016
|
);
|
|
121189
121017
|
|
|
121190
|
-
// ../../../../node_modules/.pnpm/@formily+shared@2.2.
|
|
121018
|
+
// ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/subscribable.js
|
|
121191
121019
|
var Subscribable = (
|
|
121192
121020
|
/** @class */
|
|
121193
121021
|
function() {
|
|
@@ -121239,7 +121067,7 @@ var Subscribable = (
|
|
|
121239
121067
|
}()
|
|
121240
121068
|
);
|
|
121241
121069
|
|
|
121242
|
-
// ../../../../node_modules/.pnpm/@formily+shared@2.2.
|
|
121070
|
+
// ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/merge.js
|
|
121243
121071
|
function defaultIsMergeableObject(value) {
|
|
121244
121072
|
return isNonNullObject(value) && !isSpecial(value);
|
|
121245
121073
|
}
|
|
@@ -121432,7 +121260,7 @@ var lazyMerge = function(target) {
|
|
|
121432
121260
|
};
|
|
121433
121261
|
var merge = deepmerge;
|
|
121434
121262
|
|
|
121435
|
-
// ../../../../node_modules/.pnpm/@formily+shared@2.2.
|
|
121263
|
+
// ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/uid.js
|
|
121436
121264
|
var IDX = 36;
|
|
121437
121265
|
var HEX = "";
|
|
121438
121266
|
while (IDX--)
|
|
@@ -121444,7 +121272,7 @@ function uid(len) {
|
|
|
121444
121272
|
return str;
|
|
121445
121273
|
}
|
|
121446
121274
|
|
|
121447
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
121275
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/checkers.js
|
|
121448
121276
|
var toString4 = Object.prototype.toString;
|
|
121449
121277
|
var isMap = function(val) {
|
|
121450
121278
|
return val && val instanceof Map;
|
|
@@ -121475,7 +121303,7 @@ var isNormalType = function(target) {
|
|
|
121475
121303
|
return isPlainObj3(target) || isArr3(target);
|
|
121476
121304
|
};
|
|
121477
121305
|
|
|
121478
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
121306
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/array.js
|
|
121479
121307
|
var toArray = function(value) {
|
|
121480
121308
|
return Array.isArray(value) ? value : value !== void 0 && value !== null ? [value] : [];
|
|
121481
121309
|
};
|
|
@@ -121539,7 +121367,7 @@ var ArraySet = (
|
|
|
121539
121367
|
}()
|
|
121540
121368
|
);
|
|
121541
121369
|
|
|
121542
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
121370
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/environment.js
|
|
121543
121371
|
var ProxyRaw = /* @__PURE__ */ new WeakMap();
|
|
121544
121372
|
var RawProxy = /* @__PURE__ */ new WeakMap();
|
|
121545
121373
|
var RawShallowProxy = /* @__PURE__ */ new WeakMap();
|
|
@@ -121558,7 +121386,7 @@ var MakeObModelSymbol = Symbol("MakeObModelSymbol");
|
|
|
121558
121386
|
var ObModelSymbol = Symbol("ObModelSymbol");
|
|
121559
121387
|
var ObModelNodeSymbol = Symbol("ObModelNodeSymbol");
|
|
121560
121388
|
|
|
121561
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
121389
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/reaction.js
|
|
121562
121390
|
var ITERATION_KEY = Symbol("iteration key");
|
|
121563
121391
|
var addRawReactionsMap = function(target, key, reaction2) {
|
|
121564
121392
|
var reactionsMap = RawReactionsMap.get(target);
|
|
@@ -121788,7 +121616,7 @@ var disposeEffects = function(reaction2) {
|
|
|
121788
121616
|
}
|
|
121789
121617
|
};
|
|
121790
121618
|
|
|
121791
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
121619
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/tree.js
|
|
121792
121620
|
var DataChange = (
|
|
121793
121621
|
/** @class */
|
|
121794
121622
|
function() {
|
|
@@ -121884,7 +121712,7 @@ var buildDataTree = function(target, key, value) {
|
|
|
121884
121712
|
setDataNode(raw2, new DataNode(target, key, value));
|
|
121885
121713
|
};
|
|
121886
121714
|
|
|
121887
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
121715
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/externals.js
|
|
121888
121716
|
var RAW_TYPE = Symbol("RAW_TYPE");
|
|
121889
121717
|
var OBSERVABLE_TYPE = Symbol("OBSERVABLE_TYPE");
|
|
121890
121718
|
var hasOwnProperty2 = Object.prototype.hasOwnProperty;
|
|
@@ -121986,7 +121814,7 @@ var hasCollected = function(callback) {
|
|
|
121986
121814
|
return DependencyCollected.value;
|
|
121987
121815
|
};
|
|
121988
121816
|
|
|
121989
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
121817
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/handlers.js
|
|
121990
121818
|
var __read2 = function(o, n) {
|
|
121991
121819
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
121992
121820
|
if (!m)
|
|
@@ -122242,7 +122070,7 @@ var baseHandlers = {
|
|
|
122242
122070
|
}
|
|
122243
122071
|
};
|
|
122244
122072
|
|
|
122245
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
122073
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/internals.js
|
|
122246
122074
|
var createNormalProxy = function(target, shallow2) {
|
|
122247
122075
|
var proxy = new Proxy(target, baseHandlers);
|
|
122248
122076
|
ProxyRaw.set(proxy, target);
|
|
@@ -122357,7 +122185,7 @@ var createBoundaryAnnotation = function(start, end) {
|
|
|
122357
122185
|
return boundary;
|
|
122358
122186
|
};
|
|
122359
122187
|
|
|
122360
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
122188
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/batch.js
|
|
122361
122189
|
var batch = createBoundaryAnnotation(batchStart, batchEnd);
|
|
122362
122190
|
batch.scope = createBoundaryAnnotation(batchScopeStart, batchScopeEnd);
|
|
122363
122191
|
batch.endpoint = function(callback) {
|
|
@@ -122370,7 +122198,7 @@ batch.endpoint = function(callback) {
|
|
|
122370
122198
|
}
|
|
122371
122199
|
};
|
|
122372
122200
|
|
|
122373
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
122201
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/action.js
|
|
122374
122202
|
var action = createBoundaryAnnotation(function() {
|
|
122375
122203
|
batchStart();
|
|
122376
122204
|
untrackStart();
|
|
@@ -122386,10 +122214,10 @@ action.scope = createBoundaryAnnotation(function() {
|
|
|
122386
122214
|
batchScopeEnd();
|
|
122387
122215
|
});
|
|
122388
122216
|
|
|
122389
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
122217
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/untracked.js
|
|
122390
122218
|
var untracked = createBoundaryFunction(untrackStart, untrackEnd);
|
|
122391
122219
|
|
|
122392
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
122220
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/annotations/observable.js
|
|
122393
122221
|
var observable = createAnnotation(function(_a2) {
|
|
122394
122222
|
var target = _a2.target, key = _a2.key, value = _a2.value;
|
|
122395
122223
|
var store = {
|
|
@@ -122429,7 +122257,7 @@ var observable = createAnnotation(function(_a2) {
|
|
|
122429
122257
|
return store.value;
|
|
122430
122258
|
});
|
|
122431
122259
|
|
|
122432
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
122260
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/annotations/box.js
|
|
122433
122261
|
var box = createAnnotation(function(_a2) {
|
|
122434
122262
|
var target = _a2.target, key = _a2.key, value = _a2.value;
|
|
122435
122263
|
var store = {
|
|
@@ -122475,7 +122303,7 @@ var box = createAnnotation(function(_a2) {
|
|
|
122475
122303
|
return proxy;
|
|
122476
122304
|
});
|
|
122477
122305
|
|
|
122478
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
122306
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/annotations/ref.js
|
|
122479
122307
|
var ref = createAnnotation(function(_a2) {
|
|
122480
122308
|
var target = _a2.target, key = _a2.key, value = _a2.value;
|
|
122481
122309
|
var store = {
|
|
@@ -122523,7 +122351,7 @@ var ref = createAnnotation(function(_a2) {
|
|
|
122523
122351
|
return proxy;
|
|
122524
122352
|
});
|
|
122525
122353
|
|
|
122526
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
122354
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/annotations/shallow.js
|
|
122527
122355
|
var shallow = createAnnotation(function(_a2) {
|
|
122528
122356
|
var target = _a2.target, key = _a2.key, value = _a2.value;
|
|
122529
122357
|
var store = {
|
|
@@ -122563,7 +122391,7 @@ var shallow = createAnnotation(function(_a2) {
|
|
|
122563
122391
|
return store.value;
|
|
122564
122392
|
});
|
|
122565
122393
|
|
|
122566
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
122394
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/annotations/computed.js
|
|
122567
122395
|
var getDescriptor = Object.getOwnPropertyDescriptor;
|
|
122568
122396
|
var getProto = Object.getPrototypeOf;
|
|
122569
122397
|
var ClassDescriptorSymbol = Symbol("ClassDescriptorSymbol");
|
|
@@ -122684,7 +122512,7 @@ var computed = createAnnotation(function(_a2) {
|
|
|
122684
122512
|
return proxy;
|
|
122685
122513
|
});
|
|
122686
122514
|
|
|
122687
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
122515
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/observable.js
|
|
122688
122516
|
function observable2(target) {
|
|
122689
122517
|
return createObservable(null, null, target);
|
|
122690
122518
|
}
|
|
@@ -122695,7 +122523,7 @@ observable2.shallow = shallow;
|
|
|
122695
122523
|
observable2.computed = computed;
|
|
122696
122524
|
observable2[MakeObModelSymbol] = observable;
|
|
122697
122525
|
|
|
122698
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
122526
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/model.js
|
|
122699
122527
|
function define2(target, annotations) {
|
|
122700
122528
|
if (isObservable(target))
|
|
122701
122529
|
return target;
|
|
@@ -122715,7 +122543,7 @@ function define2(target, annotations) {
|
|
|
122715
122543
|
return target;
|
|
122716
122544
|
}
|
|
122717
122545
|
|
|
122718
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
122546
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/autorun.js
|
|
122719
122547
|
var __assign4 = function() {
|
|
122720
122548
|
__assign4 = Object.assign || function(t) {
|
|
122721
122549
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -122861,7 +122689,7 @@ var reaction = function(tracker, subscriber, options) {
|
|
|
122861
122689
|
};
|
|
122862
122690
|
};
|
|
122863
122691
|
|
|
122864
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
122692
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/tracker.js
|
|
122865
122693
|
var Tracker = (
|
|
122866
122694
|
/** @class */
|
|
122867
122695
|
function() {
|
|
@@ -122906,7 +122734,7 @@ var Tracker = (
|
|
|
122906
122734
|
}()
|
|
122907
122735
|
);
|
|
122908
122736
|
|
|
122909
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
122737
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/observe.js
|
|
122910
122738
|
var observe = function(target, observer, deep) {
|
|
122911
122739
|
if (deep === void 0) {
|
|
122912
122740
|
deep = true;
|
|
@@ -122939,7 +122767,7 @@ var observe = function(target, observer, deep) {
|
|
|
122939
122767
|
return addListener(target);
|
|
122940
122768
|
};
|
|
122941
122769
|
|
|
122942
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.
|
|
122770
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.0.4/node_modules/@formily/json-schema/esm/shared.js
|
|
122943
122771
|
var REVA_ACTIONS_KEY = Symbol.for("__REVA_ACTIONS");
|
|
122944
122772
|
var SchemaNestedMap = {
|
|
122945
122773
|
parent: true,
|
|
@@ -123126,7 +122954,7 @@ var patchStateFormSchema = function(targetState, pattern, compiled) {
|
|
|
123126
122954
|
});
|
|
123127
122955
|
};
|
|
123128
122956
|
|
|
123129
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.
|
|
122957
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.0.4/node_modules/@formily/json-schema/esm/compiler.js
|
|
123130
122958
|
var ExpRE = /^\s*\{\{([\s\S]*)\}\}\s*$/;
|
|
123131
122959
|
var Registry = {
|
|
123132
122960
|
silent: false,
|
|
@@ -123230,7 +123058,7 @@ var patchSchemaCompile = function(targetState, sourceSchema, scope, demand) {
|
|
|
123230
123058
|
});
|
|
123231
123059
|
};
|
|
123232
123060
|
|
|
123233
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
123061
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/models/LifeCycle.js
|
|
123234
123062
|
var LifeCycle = (
|
|
123235
123063
|
/** @class */
|
|
123236
123064
|
function() {
|
|
@@ -123276,7 +123104,7 @@ var LifeCycle = (
|
|
|
123276
123104
|
}()
|
|
123277
123105
|
);
|
|
123278
123106
|
|
|
123279
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
123107
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/models/Heart.js
|
|
123280
123108
|
var __extends2 = function() {
|
|
123281
123109
|
var extendStatics = function(d, b) {
|
|
123282
123110
|
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
|
|
@@ -123372,7 +123200,7 @@ var Heart = (
|
|
|
123372
123200
|
}(Subscribable)
|
|
123373
123201
|
);
|
|
123374
123202
|
|
|
123375
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
123203
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/shared/checkers.js
|
|
123376
123204
|
var isForm = function(node) {
|
|
123377
123205
|
return node instanceof Form;
|
|
123378
123206
|
};
|
|
@@ -123418,7 +123246,7 @@ var isQuery = function(query) {
|
|
|
123418
123246
|
return query && query instanceof Query;
|
|
123419
123247
|
};
|
|
123420
123248
|
|
|
123421
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
123249
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/models/Graph.js
|
|
123422
123250
|
var Graph = (
|
|
123423
123251
|
/** @class */
|
|
123424
123252
|
function() {
|
|
@@ -123470,12 +123298,12 @@ var Graph = (
|
|
|
123470
123298
|
}()
|
|
123471
123299
|
);
|
|
123472
123300
|
|
|
123473
|
-
// ../../../../node_modules/.pnpm/@formily+validator@2.2.
|
|
123301
|
+
// ../../../../node_modules/.pnpm/@formily+validator@2.2.24/node_modules/@formily/validator/esm/types.js
|
|
123474
123302
|
var isValidateResult = function(obj) {
|
|
123475
123303
|
return !!obj["type"] && !!obj["message"];
|
|
123476
123304
|
};
|
|
123477
123305
|
|
|
123478
|
-
// ../../../../node_modules/.pnpm/@formily+validator@2.2.
|
|
123306
|
+
// ../../../../node_modules/.pnpm/@formily+validator@2.2.24/node_modules/@formily/validator/esm/registry.js
|
|
123479
123307
|
var getIn2 = Path.getIn;
|
|
123480
123308
|
var self2 = globalThisPolyfill;
|
|
123481
123309
|
var defaultLanguage = "en";
|
|
@@ -123546,7 +123374,7 @@ var registerValidateFormats = function(formats) {
|
|
|
123546
123374
|
});
|
|
123547
123375
|
};
|
|
123548
123376
|
|
|
123549
|
-
// ../../../../node_modules/.pnpm/@formily+validator@2.2.
|
|
123377
|
+
// ../../../../node_modules/.pnpm/@formily+validator@2.2.24/node_modules/@formily/validator/esm/template.js
|
|
123550
123378
|
var render = function(result, rules) {
|
|
123551
123379
|
var message = result.message;
|
|
123552
123380
|
if (isStr(result.message)) {
|
|
@@ -123561,7 +123389,7 @@ var render = function(result, rules) {
|
|
|
123561
123389
|
return result;
|
|
123562
123390
|
};
|
|
123563
123391
|
|
|
123564
|
-
// ../../../../node_modules/.pnpm/@formily+validator@2.2.
|
|
123392
|
+
// ../../../../node_modules/.pnpm/@formily+validator@2.2.24/node_modules/@formily/validator/esm/parser.js
|
|
123565
123393
|
var __assign5 = function() {
|
|
123566
123394
|
__assign5 = Object.assign || function(t) {
|
|
123567
123395
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -123812,7 +123640,7 @@ var parseValidator = function(validator, options) {
|
|
|
123812
123640
|
}, []);
|
|
123813
123641
|
};
|
|
123814
123642
|
|
|
123815
|
-
// ../../../../node_modules/.pnpm/@formily+validator@2.2.
|
|
123643
|
+
// ../../../../node_modules/.pnpm/@formily+validator@2.2.24/node_modules/@formily/validator/esm/locale.js
|
|
123816
123644
|
var locale_default = {
|
|
123817
123645
|
en: {
|
|
123818
123646
|
pattern: "This field is invalid",
|
|
@@ -124032,7 +123860,7 @@ var locale_default = {
|
|
|
124032
123860
|
}
|
|
124033
123861
|
};
|
|
124034
123862
|
|
|
124035
|
-
// ../../../../node_modules/.pnpm/@formily+validator@2.2.
|
|
123863
|
+
// ../../../../node_modules/.pnpm/@formily+validator@2.2.24/node_modules/@formily/validator/esm/formats.js
|
|
124036
123864
|
var formats_default = {
|
|
124037
123865
|
url: new RegExp(
|
|
124038
123866
|
// protocol identifier
|
|
@@ -124052,7 +123880,7 @@ var formats_default = {
|
|
|
124052
123880
|
zip: /^[0-9]{6}$/
|
|
124053
123881
|
};
|
|
124054
123882
|
|
|
124055
|
-
// ../../../../node_modules/.pnpm/@formily+validator@2.2.
|
|
123883
|
+
// ../../../../node_modules/.pnpm/@formily+validator@2.2.24/node_modules/@formily/validator/esm/rules.js
|
|
124056
123884
|
var __assign6 = function() {
|
|
124057
123885
|
__assign6 = Object.assign || function(t) {
|
|
124058
123886
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -124367,7 +124195,7 @@ extendSameRules(RULES, {
|
|
|
124367
124195
|
});
|
|
124368
124196
|
var rules_default = RULES;
|
|
124369
124197
|
|
|
124370
|
-
// ../../../../node_modules/.pnpm/@formily+validator@2.2.
|
|
124198
|
+
// ../../../../node_modules/.pnpm/@formily+validator@2.2.24/node_modules/@formily/validator/esm/validator.js
|
|
124371
124199
|
var __awaiter3 = function(thisArg, _arguments, P, generator) {
|
|
124372
124200
|
function adopt(value) {
|
|
124373
124201
|
return value instanceof P ? value : new P(function(resolve) {
|
|
@@ -124512,7 +124340,7 @@ var validate = function(value, validator, options) {
|
|
|
124512
124340
|
});
|
|
124513
124341
|
};
|
|
124514
124342
|
|
|
124515
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
124343
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/types.js
|
|
124516
124344
|
var LifeCycleTypes;
|
|
124517
124345
|
(function(LifeCycleTypes2) {
|
|
124518
124346
|
LifeCycleTypes2["ON_FORM_INIT"] = "onFormInit";
|
|
@@ -124564,7 +124392,7 @@ var LifeCycleTypes;
|
|
|
124564
124392
|
LifeCycleTypes2["ON_FIELD_UNMOUNT"] = "onFieldUnmount";
|
|
124565
124393
|
})(LifeCycleTypes || (LifeCycleTypes = {}));
|
|
124566
124394
|
|
|
124567
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
124395
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/shared/constants.js
|
|
124568
124396
|
var ReservedProperties = {
|
|
124569
124397
|
form: true,
|
|
124570
124398
|
parent: true,
|
|
@@ -124616,7 +124444,7 @@ var GlobalState = {
|
|
|
124616
124444
|
};
|
|
124617
124445
|
var NumberIndexReg = /^\.(\d+)/;
|
|
124618
124446
|
|
|
124619
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
124447
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/shared/internals.js
|
|
124620
124448
|
var __assign7 = function() {
|
|
124621
124449
|
__assign7 = Object.assign || function(t) {
|
|
124622
124450
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -125723,7 +125551,7 @@ var getObjectParent = function(field) {
|
|
|
125723
125551
|
}
|
|
125724
125552
|
};
|
|
125725
125553
|
|
|
125726
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
125554
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/models/Query.js
|
|
125727
125555
|
var output = function(field, taker) {
|
|
125728
125556
|
if (!field)
|
|
125729
125557
|
return;
|
|
@@ -125806,7 +125634,7 @@ var Query = (
|
|
|
125806
125634
|
}()
|
|
125807
125635
|
);
|
|
125808
125636
|
|
|
125809
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
125637
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/models/BaseField.js
|
|
125810
125638
|
var __read4 = function(o, n) {
|
|
125811
125639
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
125812
125640
|
if (!m)
|
|
@@ -126186,7 +126014,7 @@ var BaseField = (
|
|
|
126186
126014
|
}()
|
|
126187
126015
|
);
|
|
126188
126016
|
|
|
126189
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
126017
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/models/Field.js
|
|
126190
126018
|
var __extends3 = function() {
|
|
126191
126019
|
var extendStatics = function(d, b) {
|
|
126192
126020
|
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
|
|
@@ -126827,7 +126655,7 @@ var Field = (
|
|
|
126827
126655
|
}(BaseField)
|
|
126828
126656
|
);
|
|
126829
126657
|
|
|
126830
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
126658
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/shared/effective.js
|
|
126831
126659
|
var __read5 = function(o, n) {
|
|
126832
126660
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
126833
126661
|
if (!m)
|
|
@@ -126921,7 +126749,7 @@ var runEffects = function(context) {
|
|
|
126921
126749
|
return GlobalState.lifecycles;
|
|
126922
126750
|
};
|
|
126923
126751
|
|
|
126924
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
126752
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/models/ArrayField.js
|
|
126925
126753
|
var __extends4 = function() {
|
|
126926
126754
|
var extendStatics = function(d, b) {
|
|
126927
126755
|
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
|
|
@@ -127111,7 +126939,7 @@ var ArrayField = (
|
|
|
127111
126939
|
}(Field)
|
|
127112
126940
|
);
|
|
127113
126941
|
|
|
127114
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
126942
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/models/ObjectField.js
|
|
127115
126943
|
var __extends5 = function() {
|
|
127116
126944
|
var extendStatics = function(d, b) {
|
|
127117
126945
|
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
|
|
@@ -127172,7 +127000,7 @@ var ObjectField = (
|
|
|
127172
127000
|
}(Field)
|
|
127173
127001
|
);
|
|
127174
127002
|
|
|
127175
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
127003
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/models/VoidField.js
|
|
127176
127004
|
var __extends6 = function() {
|
|
127177
127005
|
var extendStatics = function(d, b) {
|
|
127178
127006
|
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
|
|
@@ -127287,7 +127115,7 @@ var VoidField = (
|
|
|
127287
127115
|
}(BaseField)
|
|
127288
127116
|
);
|
|
127289
127117
|
|
|
127290
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
127118
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/models/Form.js
|
|
127291
127119
|
var __assign8 = function() {
|
|
127292
127120
|
__assign8 = Object.assign || function(t) {
|
|
127293
127121
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -127815,7 +127643,7 @@ var Form = (
|
|
|
127815
127643
|
}()
|
|
127816
127644
|
);
|
|
127817
127645
|
|
|
127818
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
127646
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/effects/onFormEffects.js
|
|
127819
127647
|
function createFormEffect(type) {
|
|
127820
127648
|
return createEffectHook(type, function(form) {
|
|
127821
127649
|
return function(callback) {
|
|
@@ -127848,7 +127676,7 @@ var onFormValidateEnd = createFormEffect(LifeCycleTypes.ON_FORM_VALIDATE_END);
|
|
|
127848
127676
|
var onFormGraphChange = createFormEffect(LifeCycleTypes.ON_FORM_GRAPH_CHANGE);
|
|
127849
127677
|
var onFormLoading = createFormEffect(LifeCycleTypes.ON_FORM_LOADING);
|
|
127850
127678
|
|
|
127851
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
127679
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/effects/onFieldEffects.js
|
|
127852
127680
|
function createFieldEffect(type) {
|
|
127853
127681
|
return createEffectHook(type, function(field, form) {
|
|
127854
127682
|
return function(pattern, callback) {
|
|
@@ -127893,7 +127721,7 @@ function onFieldInit(pattern, callback) {
|
|
|
127893
127721
|
}
|
|
127894
127722
|
}
|
|
127895
127723
|
|
|
127896
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.
|
|
127724
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.0.4/node_modules/@formily/json-schema/esm/transformer.js
|
|
127897
127725
|
var __read7 = function(o, n) {
|
|
127898
127726
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
127899
127727
|
if (!m)
|
|
@@ -128118,7 +127946,7 @@ var transformFieldProps = function(schema, options) {
|
|
|
128118
127946
|
};
|
|
128119
127947
|
};
|
|
128120
127948
|
|
|
128121
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.
|
|
127949
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.0.4/node_modules/@formily/json-schema/esm/patches.js
|
|
128122
127950
|
var __assign9 = function() {
|
|
128123
127951
|
__assign9 = Object.assign || function(t) {
|
|
128124
127952
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -128167,7 +127995,7 @@ var enablePolyfills = function(versions) {
|
|
|
128167
127995
|
}
|
|
128168
127996
|
};
|
|
128169
127997
|
|
|
128170
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.
|
|
127998
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.0.4/node_modules/@formily/json-schema/esm/polyfills/SPECIFICATION_1_0.js
|
|
128171
127999
|
var __assign10 = function() {
|
|
128172
128000
|
__assign10 = Object.assign || function(t) {
|
|
128173
128001
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -128324,7 +128152,7 @@ var registerTypeDefaultComponents = function(maps) {
|
|
|
128324
128152
|
Object.assign(TYPE_DEFAULT_COMPONENTS, maps);
|
|
128325
128153
|
};
|
|
128326
128154
|
|
|
128327
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.
|
|
128155
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.0.4/node_modules/@formily/json-schema/esm/schema.js
|
|
128328
128156
|
var Schema = (
|
|
128329
128157
|
/** @class */
|
|
128330
128158
|
function() {
|
|
@@ -128560,10 +128388,10 @@ var Schema = (
|
|
|
128560
128388
|
}()
|
|
128561
128389
|
);
|
|
128562
128390
|
|
|
128563
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.
|
|
128391
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-formily/dist/esm/prompt.js
|
|
128564
128392
|
var import_inquirer = __toESM(require_inquirer());
|
|
128565
128393
|
|
|
128566
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.
|
|
128394
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-formily/dist/esm/transform.js
|
|
128567
128395
|
var import_lodash4 = __toESM(require_lodash4());
|
|
128568
128396
|
function asyncGeneratorStep9(gen, resolve, reject, _next, _throw, key, arg) {
|
|
128569
128397
|
try {
|
|
@@ -128910,7 +128738,7 @@ function transformForm(schema) {
|
|
|
128910
128738
|
return getQuestionFromSchema(schema, configValue, validateMap, initValue);
|
|
128911
128739
|
}
|
|
128912
128740
|
|
|
128913
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.
|
|
128741
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-formily/dist/esm/prompt.js
|
|
128914
128742
|
function asyncGeneratorStep10(gen, resolve, reject, _next, _throw, key, arg) {
|
|
128915
128743
|
try {
|
|
128916
128744
|
var info = gen[key](arg);
|
|
@@ -129434,7 +129262,7 @@ function _prompt() {
|
|
|
129434
129262
|
return _prompt.apply(this, arguments);
|
|
129435
129263
|
}
|
|
129436
129264
|
|
|
129437
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.
|
|
129265
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-formily/dist/esm/inquirer.js
|
|
129438
129266
|
function asyncGeneratorStep11(gen, resolve, reject, _next, _throw, key, arg) {
|
|
129439
129267
|
try {
|
|
129440
129268
|
var info = gen[key](arg);
|
|
@@ -129674,7 +129502,7 @@ var CLIReader = /* @__PURE__ */ function() {
|
|
|
129674
129502
|
return CLIReader2;
|
|
129675
129503
|
}();
|
|
129676
129504
|
|
|
129677
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.
|
|
129505
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-api-app/dist/esm/index.js
|
|
129678
129506
|
var import_inquirer2 = __toESM(require_inquirer2());
|
|
129679
129507
|
|
|
129680
129508
|
// ../../../../node_modules/.pnpm/@modern-js+plugin-i18n@2.18.0/node_modules/@modern-js/plugin-i18n/dist/esm-node/index.js
|
|
@@ -129753,7 +129581,7 @@ var I18n2 = class {
|
|
|
129753
129581
|
}
|
|
129754
129582
|
};
|
|
129755
129583
|
|
|
129756
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.
|
|
129584
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-api-app/dist/esm/locale/zh.js
|
|
129757
129585
|
var ZH_LOCALE2 = {
|
|
129758
129586
|
environment: {
|
|
129759
129587
|
node_version: "请升级 Node 版本至 LIS",
|
|
@@ -129780,7 +129608,7 @@ var ZH_LOCALE2 = {
|
|
|
129780
129608
|
}
|
|
129781
129609
|
};
|
|
129782
129610
|
|
|
129783
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.
|
|
129611
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-api-app/dist/esm/locale/en.js
|
|
129784
129612
|
var EN_LOCALE2 = {
|
|
129785
129613
|
environment: {
|
|
129786
129614
|
node_version: "please upgrade node to lts version",
|
|
@@ -129807,14 +129635,14 @@ var EN_LOCALE2 = {
|
|
|
129807
129635
|
}
|
|
129808
129636
|
};
|
|
129809
129637
|
|
|
129810
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.
|
|
129638
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-api-app/dist/esm/locale/index.js
|
|
129811
129639
|
var i18n2 = new I18n2();
|
|
129812
129640
|
var localeKeys2 = i18n2.init("zh", {
|
|
129813
129641
|
zh: ZH_LOCALE2,
|
|
129814
129642
|
en: EN_LOCALE2
|
|
129815
129643
|
});
|
|
129816
129644
|
|
|
129817
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.
|
|
129645
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-api-app/dist/esm/utils/transform.js
|
|
129818
129646
|
var import_lodash7 = __toESM(require_lodash4());
|
|
129819
129647
|
function asyncGeneratorStep12(gen, resolve, reject, _next, _throw, key, arg) {
|
|
129820
129648
|
try {
|
|
@@ -130023,7 +129851,7 @@ function transformInquirerSchema(questions) {
|
|
|
130023
129851
|
return questions;
|
|
130024
129852
|
}
|
|
130025
129853
|
|
|
130026
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.
|
|
129854
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-api-app/dist/esm/utils/checkUseNvm.js
|
|
130027
129855
|
var import_path5 = __toESM(require("path"));
|
|
130028
129856
|
function asyncGeneratorStep13(gen, resolve, reject, _next, _throw, key, arg) {
|
|
130029
129857
|
try {
|
|
@@ -130287,7 +130115,7 @@ function _checkUseNvm() {
|
|
|
130287
130115
|
return _checkUseNvm.apply(this, arguments);
|
|
130288
130116
|
}
|
|
130289
130117
|
|
|
130290
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.
|
|
130118
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-api-app/dist/esm/index.js
|
|
130291
130119
|
function _array_like_to_array(arr, len) {
|
|
130292
130120
|
if (len == null || len > arr.length)
|
|
130293
130121
|
len = arr.length;
|
|
@@ -130868,7 +130696,7 @@ var AppAPI = /* @__PURE__ */ function() {
|
|
|
130868
130696
|
switch (_state2.label) {
|
|
130869
130697
|
case 0:
|
|
130870
130698
|
_this.generatorCore.logger.debug("[renderDir] resourceKey=".concat(resourceKey));
|
|
130871
|
-
target = rename ? rename(resourceKey) : resourceKey.replace("templates/", "").replace(".handlebars", "");
|
|
130699
|
+
target = rename ? rename(resourceKey) : resourceKey.replace("templates/", "").replace(".handlebars", "").replace(".ejs", "");
|
|
130872
130700
|
return [
|
|
130873
130701
|
4,
|
|
130874
130702
|
api.renderTemplate(material.get(resourceKey), target, _object_spread7({}, _this.generatorContext.data || {}, parameters || {}))
|