@modern-js/monorepo-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 +317 -489
- package/package.json +13 -14
package/dist/index.js
CHANGED
@@ -85963,6 +85963,79 @@ var require_lodash3 = __commonJS({
|
|
85963
85963
|
}
|
85964
85964
|
});
|
85965
85965
|
|
85966
|
+
// ../../../../node_modules/.pnpm/@swc+helpers@0.5.1/node_modules/@swc/helpers/cjs/_export_star.cjs
|
85967
|
+
var require_export_star = __commonJS({
|
85968
|
+
"../../../../node_modules/.pnpm/@swc+helpers@0.5.1/node_modules/@swc/helpers/cjs/_export_star.cjs"(exports) {
|
85969
|
+
"use strict";
|
85970
|
+
exports._ = exports._export_star = _export_star;
|
85971
|
+
function _export_star(from, to) {
|
85972
|
+
Object.keys(from).forEach(function(k) {
|
85973
|
+
if (k !== "default" && !Object.prototype.hasOwnProperty.call(to, k)) {
|
85974
|
+
Object.defineProperty(to, k, {
|
85975
|
+
enumerable: true,
|
85976
|
+
get: function() {
|
85977
|
+
return from[k];
|
85978
|
+
}
|
85979
|
+
});
|
85980
|
+
}
|
85981
|
+
});
|
85982
|
+
return from;
|
85983
|
+
}
|
85984
|
+
}
|
85985
|
+
});
|
85986
|
+
|
85987
|
+
// ../../../../node_modules/.pnpm/@swc+helpers@0.5.1/node_modules/@swc/helpers/cjs/_interop_require_default.cjs
|
85988
|
+
var require_interop_require_default = __commonJS({
|
85989
|
+
"../../../../node_modules/.pnpm/@swc+helpers@0.5.1/node_modules/@swc/helpers/cjs/_interop_require_default.cjs"(exports) {
|
85990
|
+
"use strict";
|
85991
|
+
exports._ = exports._interop_require_default = _interop_require_default;
|
85992
|
+
function _interop_require_default(obj) {
|
85993
|
+
return obj && obj.__esModule ? obj : { default: obj };
|
85994
|
+
}
|
85995
|
+
}
|
85996
|
+
});
|
85997
|
+
|
85998
|
+
// ../../../../node_modules/.pnpm/@swc+helpers@0.5.1/node_modules/@swc/helpers/cjs/_interop_require_wildcard.cjs
|
85999
|
+
var require_interop_require_wildcard = __commonJS({
|
86000
|
+
"../../../../node_modules/.pnpm/@swc+helpers@0.5.1/node_modules/@swc/helpers/cjs/_interop_require_wildcard.cjs"(exports) {
|
86001
|
+
"use strict";
|
86002
|
+
function _getRequireWildcardCache(nodeInterop) {
|
86003
|
+
if (typeof WeakMap !== "function")
|
86004
|
+
return null;
|
86005
|
+
var cacheBabelInterop = /* @__PURE__ */ new WeakMap();
|
86006
|
+
var cacheNodeInterop = /* @__PURE__ */ new WeakMap();
|
86007
|
+
return (_getRequireWildcardCache = function(nodeInterop2) {
|
86008
|
+
return nodeInterop2 ? cacheNodeInterop : cacheBabelInterop;
|
86009
|
+
})(nodeInterop);
|
86010
|
+
}
|
86011
|
+
exports._ = exports._interop_require_wildcard = _interop_require_wildcard;
|
86012
|
+
function _interop_require_wildcard(obj, nodeInterop) {
|
86013
|
+
if (!nodeInterop && obj && obj.__esModule)
|
86014
|
+
return obj;
|
86015
|
+
if (obj === null || typeof obj !== "object" && typeof obj !== "function")
|
86016
|
+
return { default: obj };
|
86017
|
+
var cache = _getRequireWildcardCache(nodeInterop);
|
86018
|
+
if (cache && cache.has(obj))
|
86019
|
+
return cache.get(obj);
|
86020
|
+
var newObj = {};
|
86021
|
+
var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
86022
|
+
for (var key in obj) {
|
86023
|
+
if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) {
|
86024
|
+
var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;
|
86025
|
+
if (desc && (desc.get || desc.set))
|
86026
|
+
Object.defineProperty(newObj, key, desc);
|
86027
|
+
else
|
86028
|
+
newObj[key] = obj[key];
|
86029
|
+
}
|
86030
|
+
}
|
86031
|
+
newObj.default = obj;
|
86032
|
+
if (cache)
|
86033
|
+
cache.set(obj, newObj);
|
86034
|
+
return newObj;
|
86035
|
+
}
|
86036
|
+
}
|
86037
|
+
});
|
86038
|
+
|
85966
86039
|
// ../../../toolkit/utils/dist/compiled/import-lazy/index.js
|
85967
86040
|
var require_import_lazy2 = __commonJS({
|
85968
86041
|
"../../../toolkit/utils/dist/compiled/import-lazy/index.js"(exports, module2) {
|
@@ -115114,80 +115187,37 @@ var require_compiled = __commonJS({
|
|
115114
115187
|
chokidar: () => chokidar2,
|
115115
115188
|
inquirer: () => inquirer4
|
115116
115189
|
});
|
115190
|
+
var _interop_require_default = require_interop_require_default();
|
115191
|
+
var _interop_require_wildcard = require_interop_require_wildcard();
|
115117
115192
|
var _import = require_import();
|
115118
|
-
var _fsextra = /* @__PURE__ */ _interop_require_default(require_fs_extra2());
|
115119
|
-
var _ora = /* @__PURE__ */ _interop_require_default(require_ora3());
|
115120
|
-
var _glob = /* @__PURE__ */ _interop_require_default(require_glob2());
|
115121
|
-
var _jsyaml = /* @__PURE__ */ _interop_require_default(require_js_yaml2());
|
115122
|
-
var _chalk = /* @__PURE__ */ _interop_require_default(require_chalk2());
|
115123
|
-
var _debug = /* @__PURE__ */ _interop_require_default(require_debug2());
|
115124
|
-
var _slash = /* @__PURE__ */ _interop_require_default(require_slash2());
|
115125
|
-
var _execa = /* @__PURE__ */ _interop_require_default(require_execa2());
|
115126
|
-
var _json5 = /* @__PURE__ */ _interop_require_default(require_json52());
|
115127
|
-
var _upath = /* @__PURE__ */ _interop_require_default(require_upath2());
|
115128
|
-
var _pkgup = /* @__PURE__ */ _interop_require_default(require_pkg_up2());
|
115193
|
+
var _fsextra = /* @__PURE__ */ _interop_require_default._(require_fs_extra2());
|
115194
|
+
var _ora = /* @__PURE__ */ _interop_require_default._(require_ora3());
|
115195
|
+
var _glob = /* @__PURE__ */ _interop_require_default._(require_glob2());
|
115196
|
+
var _jsyaml = /* @__PURE__ */ _interop_require_default._(require_js_yaml2());
|
115197
|
+
var _chalk = /* @__PURE__ */ _interop_require_default._(require_chalk2());
|
115198
|
+
var _debug = /* @__PURE__ */ _interop_require_default._(require_debug2());
|
115199
|
+
var _slash = /* @__PURE__ */ _interop_require_default._(require_slash2());
|
115200
|
+
var _execa = /* @__PURE__ */ _interop_require_default._(require_execa2());
|
115201
|
+
var _json5 = /* @__PURE__ */ _interop_require_default._(require_json52());
|
115202
|
+
var _upath = /* @__PURE__ */ _interop_require_default._(require_upath2());
|
115203
|
+
var _pkgup = /* @__PURE__ */ _interop_require_default._(require_pkg_up2());
|
115129
115204
|
var _nanoid = require_nanoid2();
|
115130
|
-
var _semver = /* @__PURE__ */ _interop_require_default(require_semver2());
|
115131
|
-
var _dotenv = /* @__PURE__ */ _interop_require_default(require_dotenv2());
|
115132
|
-
var _lodash = /* @__PURE__ */ _interop_require_default(require_lodash4());
|
115133
|
-
var _globby = /* @__PURE__ */ _interop_require_default(require_globby2());
|
115134
|
-
var _address = /* @__PURE__ */ _interop_require_default(require_address2());
|
115135
|
-
var _signale = /* @__PURE__ */ _interop_require_wildcard(require_signale2());
|
115136
|
-
var _urljoin = /* @__PURE__ */ _interop_require_default(require_url_join2());
|
115137
|
-
var _minimist = /* @__PURE__ */ _interop_require_default(require_minimist2());
|
115138
|
-
var _fastglob = /* @__PURE__ */ _interop_require_default(require_fast_glob2());
|
115139
|
-
var _filesize = /* @__PURE__ */ _interop_require_default(require_filesize2());
|
115140
|
-
var _gzipsize = /* @__PURE__ */ _interop_require_default(require_gzip_size2());
|
115141
|
-
var _stripansi = /* @__PURE__ */ _interop_require_default(require_strip_ansi3());
|
115142
|
-
var _dotenvexpand = /* @__PURE__ */ _interop_require_default(require_dotenv_expand2());
|
115143
|
-
var _browserslist = /* @__PURE__ */ _interop_require_default(require_browserslist2());
|
115144
|
-
var _recursivereaddir = /* @__PURE__ */ _interop_require_default(require_recursive_readdir2());
|
115205
|
+
var _semver = /* @__PURE__ */ _interop_require_default._(require_semver2());
|
115206
|
+
var _dotenv = /* @__PURE__ */ _interop_require_default._(require_dotenv2());
|
115207
|
+
var _lodash = /* @__PURE__ */ _interop_require_default._(require_lodash4());
|
115208
|
+
var _globby = /* @__PURE__ */ _interop_require_default._(require_globby2());
|
115209
|
+
var _address = /* @__PURE__ */ _interop_require_default._(require_address2());
|
115210
|
+
var _signale = /* @__PURE__ */ _interop_require_wildcard._(require_signale2());
|
115211
|
+
var _urljoin = /* @__PURE__ */ _interop_require_default._(require_url_join2());
|
115212
|
+
var _minimist = /* @__PURE__ */ _interop_require_default._(require_minimist2());
|
115213
|
+
var _fastglob = /* @__PURE__ */ _interop_require_default._(require_fast_glob2());
|
115214
|
+
var _filesize = /* @__PURE__ */ _interop_require_default._(require_filesize2());
|
115215
|
+
var _gzipsize = /* @__PURE__ */ _interop_require_default._(require_gzip_size2());
|
115216
|
+
var _stripansi = /* @__PURE__ */ _interop_require_default._(require_strip_ansi3());
|
115217
|
+
var _dotenvexpand = /* @__PURE__ */ _interop_require_default._(require_dotenv_expand2());
|
115218
|
+
var _browserslist = /* @__PURE__ */ _interop_require_default._(require_browserslist2());
|
115219
|
+
var _recursivereaddir = /* @__PURE__ */ _interop_require_default._(require_recursive_readdir2());
|
115145
115220
|
var _commander = require_commander2();
|
115146
|
-
function _interop_require_default(obj) {
|
115147
|
-
return obj && obj.__esModule ? obj : {
|
115148
|
-
default: obj
|
115149
|
-
};
|
115150
|
-
}
|
115151
|
-
function _getRequireWildcardCache(nodeInterop) {
|
115152
|
-
if (typeof WeakMap !== "function")
|
115153
|
-
return null;
|
115154
|
-
var cacheBabelInterop = /* @__PURE__ */ new WeakMap();
|
115155
|
-
var cacheNodeInterop = /* @__PURE__ */ new WeakMap();
|
115156
|
-
return (_getRequireWildcardCache = function(nodeInterop2) {
|
115157
|
-
return nodeInterop2 ? cacheNodeInterop : cacheBabelInterop;
|
115158
|
-
})(nodeInterop);
|
115159
|
-
}
|
115160
|
-
function _interop_require_wildcard(obj, nodeInterop) {
|
115161
|
-
if (!nodeInterop && obj && obj.__esModule) {
|
115162
|
-
return obj;
|
115163
|
-
}
|
115164
|
-
if (obj === null || typeof obj !== "object" && typeof obj !== "function") {
|
115165
|
-
return {
|
115166
|
-
default: obj
|
115167
|
-
};
|
115168
|
-
}
|
115169
|
-
var cache = _getRequireWildcardCache(nodeInterop);
|
115170
|
-
if (cache && cache.has(obj)) {
|
115171
|
-
return cache.get(obj);
|
115172
|
-
}
|
115173
|
-
var newObj = {};
|
115174
|
-
var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
115175
|
-
for (var key in obj) {
|
115176
|
-
if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) {
|
115177
|
-
var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;
|
115178
|
-
if (desc && (desc.get || desc.set)) {
|
115179
|
-
Object.defineProperty(newObj, key, desc);
|
115180
|
-
} else {
|
115181
|
-
newObj[key] = obj[key];
|
115182
|
-
}
|
115183
|
-
}
|
115184
|
-
}
|
115185
|
-
newObj.default = obj;
|
115186
|
-
if (cache) {
|
115187
|
-
cache.set(obj, newObj);
|
115188
|
-
}
|
115189
|
-
return newObj;
|
115190
|
-
}
|
115191
115221
|
var mime2 = _import.Import.lazy("../compiled/mime-types", require);
|
115192
115222
|
var chokidar2 = _import.Import.lazy("../compiled/chokidar", require);
|
115193
115223
|
var inquirer4 = _import.Import.lazy("../compiled/inquirer", require);
|
@@ -115337,6 +115367,8 @@ var require_chainId = __commonJS({
|
|
115337
115367
|
BOTTOM_TEMPLATE: "bottom-template",
|
115338
115368
|
/** HtmlCrossOriginPlugin */
|
115339
115369
|
HTML_CROSS_ORIGIN: "html-cross-origin",
|
115370
|
+
/** HtmlNoncePlugin */
|
115371
|
+
HTML_NONCE: "html-nonce",
|
115340
115372
|
/** MiniCssExtractPlugin */
|
115341
115373
|
MINI_CSS_EXTRACT: "mini-css-extract",
|
115342
115374
|
/** ReactFastRefreshPlugin */
|
@@ -115425,20 +115457,8 @@ var require_constants = __commonJS({
|
|
115425
115457
|
PLUGIN_SCHEMAS: () => PLUGIN_SCHEMAS,
|
115426
115458
|
DEFAULT_BABEL_PRESET_TYPESCRIPT_OPTIONS: () => DEFAULT_BABEL_PRESET_TYPESCRIPT_OPTIONS
|
115427
115459
|
});
|
115428
|
-
_export_star(
|
115429
|
-
|
115430
|
-
Object.keys(from).forEach(function(k) {
|
115431
|
-
if (k !== "default" && !Object.prototype.hasOwnProperty.call(to, k)) {
|
115432
|
-
Object.defineProperty(to, k, {
|
115433
|
-
enumerable: true,
|
115434
|
-
get: function() {
|
115435
|
-
return from[k];
|
115436
|
-
}
|
115437
|
-
});
|
115438
|
-
}
|
115439
|
-
});
|
115440
|
-
return from;
|
115441
|
-
}
|
115460
|
+
var _export_star = require_export_star();
|
115461
|
+
_export_star._(require_chainId(), exports);
|
115442
115462
|
var ROUTE_SPEC_FILE = "route.json";
|
115443
115463
|
var MAIN_ENTRY_NAME = "main";
|
115444
115464
|
var SERVER_BUNDLE_DIRECTORY = "bundles";
|
@@ -116051,12 +116071,8 @@ var require_ensure = __commonJS({
|
|
116051
116071
|
ensureAbsolutePath: () => ensureAbsolutePath,
|
116052
116072
|
ensureArray: () => ensureArray
|
116053
116073
|
});
|
116054
|
-
var
|
116055
|
-
|
116056
|
-
return obj && obj.__esModule ? obj : {
|
116057
|
-
default: obj
|
116058
|
-
};
|
116059
|
-
}
|
116074
|
+
var _interop_require_default = require_interop_require_default();
|
116075
|
+
var _path = /* @__PURE__ */ _interop_require_default._(require("path"));
|
116060
116076
|
var ensureAbsolutePath = (base, filePath) => _path.default.isAbsolute(filePath) ? filePath : _path.default.resolve(base, filePath);
|
116061
116077
|
var ensureArray = (params) => {
|
116062
116078
|
if (Array.isArray(params)) {
|
@@ -116092,16 +116108,12 @@ var require_project = __commonJS({
|
|
116092
116108
|
isReact18: () => isReact18,
|
116093
116109
|
isTypescript: () => isTypescript
|
116094
116110
|
});
|
116095
|
-
var
|
116111
|
+
var _interop_require_default = require_interop_require_default();
|
116112
|
+
var _path = /* @__PURE__ */ _interop_require_default._(require("path"));
|
116096
116113
|
var _commands = require_commands();
|
116097
116114
|
var _compiled = require_compiled();
|
116098
116115
|
var _common = require_common3();
|
116099
116116
|
var _ensure = require_ensure();
|
116100
|
-
function _interop_require_default(obj) {
|
116101
|
-
return obj && obj.__esModule ? obj : {
|
116102
|
-
default: obj
|
116103
|
-
};
|
116104
|
-
}
|
116105
116117
|
var debug = (0, _common.createDebugger)("judge-depExists");
|
116106
116118
|
var isDepExists = (appDirectory, name) => {
|
116107
116119
|
const pkgPath = _path.default.resolve(appDirectory, "./package.json");
|
@@ -116168,24 +116180,12 @@ var require_is = __commonJS({
|
|
116168
116180
|
Object.defineProperty(exports, "__esModule", {
|
116169
116181
|
value: true
|
116170
116182
|
});
|
116171
|
-
_export_star(
|
116172
|
-
_export_star(
|
116173
|
-
_export_star(
|
116174
|
-
_export_star(
|
116175
|
-
_export_star(
|
116176
|
-
|
116177
|
-
Object.keys(from).forEach(function(k) {
|
116178
|
-
if (k !== "default" && !Object.prototype.hasOwnProperty.call(to, k)) {
|
116179
|
-
Object.defineProperty(to, k, {
|
116180
|
-
enumerable: true,
|
116181
|
-
get: function() {
|
116182
|
-
return from[k];
|
116183
|
-
}
|
116184
|
-
});
|
116185
|
-
}
|
116186
|
-
});
|
116187
|
-
return from;
|
116188
|
-
}
|
116183
|
+
var _export_star = require_export_star();
|
116184
|
+
_export_star._(require_env(), exports);
|
116185
|
+
_export_star._(require_platform(), exports);
|
116186
|
+
_export_star._(require_type(), exports);
|
116187
|
+
_export_star._(require_config2(), exports);
|
116188
|
+
_export_star._(require_project(), exports);
|
116189
116189
|
}
|
116190
116190
|
});
|
116191
116191
|
|
@@ -116287,17 +116287,13 @@ var require_data = __commonJS({
|
|
116287
116287
|
readTsConfig: () => readTsConfig,
|
116288
116288
|
readTsConfigByFile: () => readTsConfigByFile
|
116289
116289
|
});
|
116290
|
-
var
|
116291
|
-
var
|
116290
|
+
var _interop_require_default = require_interop_require_default();
|
116291
|
+
var _os = /* @__PURE__ */ _interop_require_default._(require("os"));
|
116292
|
+
var _path = /* @__PURE__ */ _interop_require_default._(require("path"));
|
116292
116293
|
var _compiled = require_compiled();
|
116293
116294
|
var _constants = require_constants();
|
116294
116295
|
var _is = require_is();
|
116295
116296
|
var _package = require_package4();
|
116296
|
-
function _interop_require_default(obj) {
|
116297
|
-
return obj && obj.__esModule ? obj : {
|
116298
|
-
default: obj
|
116299
|
-
};
|
116300
|
-
}
|
116301
116297
|
var MAX_TIMES = 5;
|
116302
116298
|
function getPackageManager() {
|
116303
116299
|
return __async(this, arguments, function* (cwd = process.cwd()) {
|
@@ -116429,29 +116425,13 @@ var require_get2 = __commonJS({
|
|
116429
116425
|
getServerConfig: () => getServerConfig,
|
116430
116426
|
getTargetDir: () => getTargetDir
|
116431
116427
|
});
|
116432
|
-
var
|
116428
|
+
var _export_star = require_export_star();
|
116429
|
+
var _interop_require_default = require_interop_require_default();
|
116430
|
+
var _path = /* @__PURE__ */ _interop_require_default._(require("path"));
|
116433
116431
|
var _constants = require_constants();
|
116434
116432
|
var _fs = require_fs();
|
116435
|
-
_export_star(require_data(), exports);
|
116436
|
-
_export_star(require_config3(), exports);
|
116437
|
-
function _export_star(from, to) {
|
116438
|
-
Object.keys(from).forEach(function(k) {
|
116439
|
-
if (k !== "default" && !Object.prototype.hasOwnProperty.call(to, k)) {
|
116440
|
-
Object.defineProperty(to, k, {
|
116441
|
-
enumerable: true,
|
116442
|
-
get: function() {
|
116443
|
-
return from[k];
|
116444
|
-
}
|
116445
|
-
});
|
116446
|
-
}
|
116447
|
-
});
|
116448
|
-
return from;
|
116449
|
-
}
|
116450
|
-
function _interop_require_default(obj) {
|
116451
|
-
return obj && obj.__esModule ? obj : {
|
116452
|
-
default: obj
|
116453
|
-
};
|
116454
|
-
}
|
116433
|
+
_export_star._(require_data(), exports);
|
116434
|
+
_export_star._(require_config3(), exports);
|
116455
116435
|
var getServerConfig = (appDirectory, configFile) => __async(exports, null, function* () {
|
116456
116436
|
const configFilePath = (0, _fs.findExists)(_constants.CONFIG_FILE_EXTENSIONS.map((extension) => _path.default.resolve(appDirectory, `${configFile}${extension}`)));
|
116457
116437
|
return configFilePath;
|
@@ -116463,6 +116443,21 @@ var require_get2 = __commonJS({
|
|
116463
116443
|
}
|
116464
116444
|
});
|
116465
116445
|
|
116446
|
+
// ../../../../node_modules/.pnpm/@swc+helpers@0.5.1/node_modules/@swc/helpers/cjs/_define_property.cjs
|
116447
|
+
var require_define_property = __commonJS({
|
116448
|
+
"../../../../node_modules/.pnpm/@swc+helpers@0.5.1/node_modules/@swc/helpers/cjs/_define_property.cjs"(exports) {
|
116449
|
+
"use strict";
|
116450
|
+
exports._ = exports._define_property = _define_property15;
|
116451
|
+
function _define_property15(obj, key, value) {
|
116452
|
+
if (key in obj) {
|
116453
|
+
Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
|
116454
|
+
} else
|
116455
|
+
obj[key] = value;
|
116456
|
+
return obj;
|
116457
|
+
}
|
116458
|
+
}
|
116459
|
+
});
|
116460
|
+
|
116466
116461
|
// ../../../toolkit/utils/dist/cjs/cli/logger.js
|
116467
116462
|
var require_logger2 = __commonJS({
|
116468
116463
|
"../../../toolkit/utils/dist/cjs/cli/logger.js"(exports) {
|
@@ -116481,25 +116476,9 @@ var require_logger2 = __commonJS({
|
|
116481
116476
|
Logger: () => Logger,
|
116482
116477
|
logger: () => logger
|
116483
116478
|
});
|
116484
|
-
var
|
116485
|
-
|
116486
|
-
|
116487
|
-
Object.defineProperty(obj, key, {
|
116488
|
-
value,
|
116489
|
-
enumerable: true,
|
116490
|
-
configurable: true,
|
116491
|
-
writable: true
|
116492
|
-
});
|
116493
|
-
} else {
|
116494
|
-
obj[key] = value;
|
116495
|
-
}
|
116496
|
-
return obj;
|
116497
|
-
}
|
116498
|
-
function _interop_require_default(obj) {
|
116499
|
-
return obj && obj.__esModule ? obj : {
|
116500
|
-
default: obj
|
116501
|
-
};
|
116502
|
-
}
|
116479
|
+
var _define_property15 = require_define_property();
|
116480
|
+
var _interop_require_default = require_interop_require_default();
|
116481
|
+
var _chalk = /* @__PURE__ */ _interop_require_default._(require_chalk2());
|
116503
116482
|
var LOG_LEVEL = {
|
116504
116483
|
error: 0,
|
116505
116484
|
warn: 1,
|
@@ -116583,10 +116562,10 @@ ${_chalk.default.grey(rest.join("\n"))}`;
|
|
116583
116562
|
return longestLabel;
|
116584
116563
|
}
|
116585
116564
|
constructor(options = {}) {
|
116586
|
-
_define_property15(this, "level", void 0);
|
116587
|
-
_define_property15(this, "config", void 0);
|
116588
|
-
_define_property15(this, "types", void 0);
|
116589
|
-
_define_property15(this, "longestLabel", void 0);
|
116565
|
+
_define_property15._(this, "level", void 0);
|
116566
|
+
_define_property15._(this, "config", void 0);
|
116567
|
+
_define_property15._(this, "types", void 0);
|
116568
|
+
_define_property15._(this, "longestLabel", void 0);
|
116590
116569
|
this.level = options.level || LOG_TYPES.log.level;
|
116591
116570
|
this.config = __spreadValues(__spreadValues({}, DEFAULT_CONFIG), options.config || {});
|
116592
116571
|
this.types = __spreadValues(__spreadValues({}, LOG_TYPES), options.types || {});
|
@@ -116659,16 +116638,12 @@ var require_alias = __commonJS({
|
|
116659
116638
|
getAliasConfig: () => getAliasConfig,
|
116660
116639
|
getUserAlias: () => getUserAlias
|
116661
116640
|
});
|
116662
|
-
var
|
116663
|
-
var
|
116641
|
+
var _interop_require_default = require_interop_require_default();
|
116642
|
+
var _fs = /* @__PURE__ */ _interop_require_default._(require("fs"));
|
116643
|
+
var _path = /* @__PURE__ */ _interop_require_default._(require("path"));
|
116664
116644
|
var _compiled = require_compiled();
|
116665
116645
|
var _get = require_get2();
|
116666
116646
|
var _applyOptionsChain = require_applyOptionsChain();
|
116667
|
-
function _interop_require_default(obj) {
|
116668
|
-
return obj && obj.__esModule ? obj : {
|
116669
|
-
default: obj
|
116670
|
-
};
|
116671
|
-
}
|
116672
116647
|
var validAlias = (modernConfig, { tsconfigPath }) => {
|
116673
116648
|
const { source: { alias } } = modernConfig;
|
116674
116649
|
if (!alias) {
|
@@ -116744,15 +116719,11 @@ var require_path = __commonJS({
|
|
116744
116719
|
removeTailSlash: () => removeTailSlash,
|
116745
116720
|
removeSlash: () => removeSlash
|
116746
116721
|
});
|
116747
|
-
var
|
116748
|
-
var
|
116749
|
-
var
|
116722
|
+
var _interop_require_default = require_interop_require_default();
|
116723
|
+
var _path = /* @__PURE__ */ _interop_require_default._(require("path"));
|
116724
|
+
var _os = /* @__PURE__ */ _interop_require_default._(require("os"));
|
116725
|
+
var _fs = /* @__PURE__ */ _interop_require_default._(require("fs"));
|
116750
116726
|
var _compiled = require_compiled();
|
116751
|
-
function _interop_require_default(obj) {
|
116752
|
-
return obj && obj.__esModule ? obj : {
|
116753
|
-
default: obj
|
116754
|
-
};
|
116755
|
-
}
|
116756
116727
|
var isPathString = (test) => _path.default.posix.basename(test) !== test || _path.default.win32.basename(test) !== test;
|
116757
116728
|
var isRelativePath = (test) => /^\.\.?($|[\\/])/.test(test);
|
116758
116729
|
var normalizeOutputPath = (s) => s.replace(/\\/g, "\\\\");
|
@@ -116916,54 +116887,6 @@ var require_babel = __commonJS({
|
|
116916
116887
|
}
|
116917
116888
|
});
|
116918
116889
|
|
116919
|
-
// ../../../toolkit/utils/dist/cjs/cli/generateMetaTags.js
|
116920
|
-
var require_generateMetaTags = __commonJS({
|
116921
|
-
"../../../toolkit/utils/dist/cjs/cli/generateMetaTags.js"(exports) {
|
116922
|
-
"use strict";
|
116923
|
-
Object.defineProperty(exports, "__esModule", {
|
116924
|
-
value: true
|
116925
|
-
});
|
116926
|
-
Object.defineProperty(exports, "generateMetaTags", {
|
116927
|
-
enumerable: true,
|
116928
|
-
get: () => generateMetaTags
|
116929
|
-
});
|
116930
|
-
var tagObjectToString = (tagDefinition) => {
|
116931
|
-
const attributes = Object.keys(tagDefinition.attributes || {}).filter((attributeName) => tagDefinition.attributes[attributeName] !== false).map((attributeName) => {
|
116932
|
-
if (tagDefinition.attributes[attributeName] === true) {
|
116933
|
-
return attributeName;
|
116934
|
-
}
|
116935
|
-
return `${attributeName}="${tagDefinition.attributes[attributeName]}"`;
|
116936
|
-
});
|
116937
|
-
return `<${[
|
116938
|
-
tagDefinition.tagName
|
116939
|
-
].concat(attributes).join(" ")}>${tagDefinition.innerHTML || ""}${tagDefinition.voidTag ? "" : `</${tagDefinition.tagName}>`}`;
|
116940
|
-
};
|
116941
|
-
var generateMetaTags = (metaOptions) => {
|
116942
|
-
if (!metaOptions) {
|
116943
|
-
return "";
|
116944
|
-
}
|
116945
|
-
const metaTagAttributeObjects = Object.keys(metaOptions).map((metaName) => {
|
116946
|
-
const metaTagContent = metaOptions[metaName];
|
116947
|
-
return typeof metaTagContent === "string" ? {
|
116948
|
-
name: metaName,
|
116949
|
-
content: metaTagContent
|
116950
|
-
} : metaTagContent;
|
116951
|
-
}).filter((attribute) => attribute !== false);
|
116952
|
-
return metaTagAttributeObjects.map((metaTagAttributes) => {
|
116953
|
-
if (metaTagAttributes === false) {
|
116954
|
-
throw new Error("Invalid meta tag");
|
116955
|
-
}
|
116956
|
-
return {
|
116957
|
-
tagName: "meta",
|
116958
|
-
voidTag: true,
|
116959
|
-
attributes: metaTagAttributes
|
116960
|
-
};
|
116961
|
-
}).reduce((memo, tagObject) => `${memo}
|
116962
|
-
${tagObjectToString(tagObject)}`, "");
|
116963
|
-
};
|
116964
|
-
}
|
116965
|
-
});
|
116966
|
-
|
116967
116890
|
// ../../../toolkit/utils/dist/cjs/cli/monorepo.js
|
116968
116891
|
var require_monorepo = __commonJS({
|
116969
116892
|
"../../../toolkit/utils/dist/cjs/cli/monorepo.js"(exports) {
|
@@ -116987,14 +116910,10 @@ var require_monorepo = __commonJS({
|
|
116987
116910
|
findMonorepoRoot: () => findMonorepoRoot,
|
116988
116911
|
getMonorepoPackages: () => getMonorepoPackages2
|
116989
116912
|
});
|
116990
|
-
var
|
116991
|
-
var
|
116913
|
+
var _interop_require_default = require_interop_require_default();
|
116914
|
+
var _fs = /* @__PURE__ */ _interop_require_default._(require("fs"));
|
116915
|
+
var _path = /* @__PURE__ */ _interop_require_default._(require("path"));
|
116992
116916
|
var _compiled = require_compiled();
|
116993
|
-
function _interop_require_default(obj) {
|
116994
|
-
return obj && obj.__esModule ? obj : {
|
116995
|
-
default: obj
|
116996
|
-
};
|
116997
|
-
}
|
116998
116917
|
var PACKAGE_MAX_DEPTH = 5;
|
116999
116918
|
var WORKSPACE_FILES = {
|
117000
116919
|
YARN: "package.json",
|
@@ -117082,14 +117001,10 @@ var require_pathSerializer = __commonJS({
|
|
117082
117001
|
applyMatcherReplacement: () => applyMatcherReplacement,
|
117083
117002
|
createDefaultPathMatchers: () => createDefaultPathMatchers
|
117084
117003
|
});
|
117085
|
-
var
|
117086
|
-
var
|
117004
|
+
var _interop_require_default = require_interop_require_default();
|
117005
|
+
var _os = /* @__PURE__ */ _interop_require_default._(require("os"));
|
117006
|
+
var _lodash = /* @__PURE__ */ _interop_require_default._(require_lodash4());
|
117087
117007
|
var _path = require_path();
|
117088
|
-
function _interop_require_default(obj) {
|
117089
|
-
return obj && obj.__esModule ? obj : {
|
117090
|
-
default: obj
|
117091
|
-
};
|
117092
|
-
}
|
117093
117008
|
var matchUpwardPathsAsUnknown = (p) => (0, _lodash.default)((0, _path.upwardPaths)((0, _path.normalizeToPosixPath)(p))).map((match) => ({
|
117094
117009
|
match,
|
117095
117010
|
mark: "unknown"
|
@@ -117147,14 +117062,10 @@ var require_port = __commonJS({
|
|
117147
117062
|
enumerable: true,
|
117148
117063
|
get: () => getPort
|
117149
117064
|
});
|
117150
|
-
var
|
117065
|
+
var _interop_require_default = require_interop_require_default();
|
117066
|
+
var _net = /* @__PURE__ */ _interop_require_default._(require("net"));
|
117151
117067
|
var _compiled = require_compiled();
|
117152
117068
|
var _logger = require_logger2();
|
117153
|
-
function _interop_require_default(obj) {
|
117154
|
-
return obj && obj.__esModule ? obj : {
|
117155
|
-
default: obj
|
117156
|
-
};
|
117157
|
-
}
|
117158
117069
|
var getPort = (_0, ..._1) => __async(exports, [_0, ..._1], function* (port, { tryLimits = 20, strictPort = false } = {}) {
|
117159
117070
|
if (typeof port === "string") {
|
117160
117071
|
port = parseInt(port, 10);
|
@@ -117217,15 +117128,11 @@ var require_prettyInstructions = __commonJS({
|
|
117217
117128
|
getAddressUrls: () => getAddressUrls,
|
117218
117129
|
prettyInstructions: () => prettyInstructions
|
117219
117130
|
});
|
117220
|
-
var
|
117131
|
+
var _interop_require_default = require_interop_require_default();
|
117132
|
+
var _os = /* @__PURE__ */ _interop_require_default._(require("os"));
|
117221
117133
|
var _compiled = require_compiled();
|
117222
117134
|
var _is = require_is();
|
117223
117135
|
var _constants = require_constants();
|
117224
|
-
function _interop_require_default(obj) {
|
117225
|
-
return obj && obj.__esModule ? obj : {
|
117226
|
-
default: obj
|
117227
|
-
};
|
117228
|
-
}
|
117229
117136
|
var normalizeUrl = (url) => url.replace(/([^:]\/)\/+/g, "$1");
|
117230
117137
|
var getIpv4Interfaces = () => {
|
117231
117138
|
const interfaces = _os.default.networkInterfaces();
|
@@ -117429,14 +117336,10 @@ var require_routes = __commonJS({
|
|
117429
117336
|
enumerable: true,
|
117430
117337
|
get: () => getRouteId
|
117431
117338
|
});
|
117432
|
-
var
|
117339
|
+
var _interop_require_default = require_interop_require_default();
|
117340
|
+
var _path = /* @__PURE__ */ _interop_require_default._(require("path"));
|
117433
117341
|
var _constants = require_constants();
|
117434
117342
|
var _path1 = require_path();
|
117435
|
-
function _interop_require_default(obj) {
|
117436
|
-
return obj && obj.__esModule ? obj : {
|
117437
|
-
default: obj
|
117438
|
-
};
|
117439
|
-
}
|
117440
117343
|
var getPathWithoutExt = (filename) => {
|
117441
117344
|
const extname = _path.default.extname(filename);
|
117442
117345
|
return filename.slice(0, -extname.length);
|
@@ -117466,14 +117369,10 @@ var require_runtimeExports = __commonJS({
|
|
117466
117369
|
enumerable: true,
|
117467
117370
|
get: () => createRuntimeExportsUtils
|
117468
117371
|
});
|
117469
|
-
var
|
117372
|
+
var _interop_require_default = require_interop_require_default();
|
117373
|
+
var _path = /* @__PURE__ */ _interop_require_default._(require("path"));
|
117470
117374
|
var _compiled = require_compiled();
|
117471
117375
|
var _path1 = require_path();
|
117472
|
-
function _interop_require_default(obj) {
|
117473
|
-
return obj && obj.__esModule ? obj : {
|
117474
|
-
default: obj
|
117475
|
-
};
|
117476
|
-
}
|
117477
117376
|
var memo = (fn) => {
|
117478
117377
|
const cache = /* @__PURE__ */ new Map();
|
117479
117378
|
return (...params) => {
|
@@ -117550,13 +117449,9 @@ var require_watch = __commonJS({
|
|
117550
117449
|
WatchChangeType: () => WatchChangeType,
|
117551
117450
|
watch: () => watch
|
117552
117451
|
});
|
117553
|
-
var
|
117452
|
+
var _interop_require_default = require_interop_require_default();
|
117453
|
+
var _path = /* @__PURE__ */ _interop_require_default._(require("path"));
|
117554
117454
|
var _compiled = require_compiled();
|
117555
|
-
function _interop_require_default(obj) {
|
117556
|
-
return obj && obj.__esModule ? obj : {
|
117557
|
-
default: obj
|
117558
|
-
};
|
117559
|
-
}
|
117560
117455
|
var WatchChangeType = {
|
117561
117456
|
ADD: "add",
|
117562
117457
|
UNLINK: "unlink",
|
@@ -117606,43 +117501,30 @@ var require_cli = __commonJS({
|
|
117606
117501
|
Object.defineProperty(exports, "__esModule", {
|
117607
117502
|
value: true
|
117608
117503
|
});
|
117609
|
-
_export_star(
|
117610
|
-
_export_star(
|
117611
|
-
_export_star(
|
117612
|
-
_export_star(
|
117613
|
-
_export_star(
|
117614
|
-
_export_star(
|
117615
|
-
_export_star(
|
117616
|
-
_export_star(
|
117617
|
-
_export_star(
|
117618
|
-
_export_star(
|
117619
|
-
_export_star(
|
117620
|
-
_export_star(require_logger2(), exports);
|
117621
|
-
_export_star(require_monorepo(), exports);
|
117622
|
-
_export_star(require_package4(), exports);
|
117623
|
-
_export_star(require_path(), exports);
|
117624
|
-
_export_star(require_pathSerializer(), exports);
|
117625
|
-
_export_star(require_port(), exports);
|
117626
|
-
_export_star(require_prettyInstructions(), exports);
|
117627
|
-
_export_star(require_print(), exports);
|
117628
|
-
_export_star(require_require(), exports);
|
117629
|
-
_export_star(require_routes(), exports);
|
117630
|
-
_export_star(require_runtimeExports(), exports);
|
117631
|
-
_export_star(require_test(), exports);
|
117632
|
-
_export_star(require_watch(), exports);
|
117633
|
-
function _export_star(from, to) {
|
117634
|
-
Object.keys(from).forEach(function(k) {
|
117635
|
-
if (k !== "default" && !Object.prototype.hasOwnProperty.call(to, k)) {
|
117636
|
-
Object.defineProperty(to, k, {
|
117637
|
-
enumerable: true,
|
117638
|
-
get: function() {
|
117639
|
-
return from[k];
|
117640
|
-
}
|
117641
|
-
});
|
117642
|
-
}
|
117643
|
-
});
|
117644
|
-
return from;
|
117645
|
-
}
|
117504
|
+
var _export_star = require_export_star();
|
117505
|
+
_export_star._(require_constants(), exports);
|
117506
|
+
_export_star._(require_get2(), exports);
|
117507
|
+
_export_star._(require_is(), exports);
|
117508
|
+
_export_star._(require_alias(), exports);
|
117509
|
+
_export_star._(require_applyOptionsChain(), exports);
|
117510
|
+
_export_star._(require_babel(), exports);
|
117511
|
+
_export_star._(require_commands(), exports);
|
117512
|
+
_export_star._(require_common3(), exports);
|
117513
|
+
_export_star._(require_ensure(), exports);
|
117514
|
+
_export_star._(require_fs(), exports);
|
117515
|
+
_export_star._(require_logger2(), exports);
|
117516
|
+
_export_star._(require_monorepo(), exports);
|
117517
|
+
_export_star._(require_package4(), exports);
|
117518
|
+
_export_star._(require_path(), exports);
|
117519
|
+
_export_star._(require_pathSerializer(), exports);
|
117520
|
+
_export_star._(require_port(), exports);
|
117521
|
+
_export_star._(require_prettyInstructions(), exports);
|
117522
|
+
_export_star._(require_print(), exports);
|
117523
|
+
_export_star._(require_require(), exports);
|
117524
|
+
_export_star._(require_routes(), exports);
|
117525
|
+
_export_star._(require_runtimeExports(), exports);
|
117526
|
+
_export_star._(require_test(), exports);
|
117527
|
+
_export_star._(require_watch(), exports);
|
117646
117528
|
}
|
117647
117529
|
});
|
117648
117530
|
|
@@ -117653,22 +117535,10 @@ var require_cjs2 = __commonJS({
|
|
117653
117535
|
Object.defineProperty(exports, "__esModule", {
|
117654
117536
|
value: true
|
117655
117537
|
});
|
117656
|
-
_export_star(
|
117657
|
-
_export_star(
|
117658
|
-
_export_star(
|
117659
|
-
|
117660
|
-
Object.keys(from).forEach(function(k) {
|
117661
|
-
if (k !== "default" && !Object.prototype.hasOwnProperty.call(to, k)) {
|
117662
|
-
Object.defineProperty(to, k, {
|
117663
|
-
enumerable: true,
|
117664
|
-
get: function() {
|
117665
|
-
return from[k];
|
117666
|
-
}
|
117667
|
-
});
|
117668
|
-
}
|
117669
|
-
});
|
117670
|
-
return from;
|
117671
|
-
}
|
117538
|
+
var _export_star = require_export_star();
|
117539
|
+
_export_star._(require_compiled(), exports);
|
117540
|
+
_export_star._(require_cli(), exports);
|
117541
|
+
_export_star._(require_import(), exports);
|
117672
117542
|
}
|
117673
117543
|
});
|
117674
117544
|
|
@@ -117724,11 +117594,11 @@ var mime = Import.lazy("../compiled/mime-types", require);
|
|
117724
117594
|
var chokidar = Import.lazy("../compiled/chokidar", require);
|
117725
117595
|
var inquirer = Import.lazy("../compiled/inquirer", require);
|
117726
117596
|
|
117727
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.
|
117597
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith/dist/esm/materials/FsResource.js
|
117728
117598
|
var import_path = __toESM(require("path"));
|
117729
117599
|
var FS_RESOURCE = "_codesmith_core_fs_resource";
|
117730
117600
|
|
117731
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.
|
117601
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith/dist/esm/utils/fsExists.js
|
117732
117602
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
117733
117603
|
try {
|
117734
117604
|
var info = gen[key](arg);
|
@@ -117901,7 +117771,7 @@ function _fsExists() {
|
|
117901
117771
|
return _fsExists.apply(this, arguments);
|
117902
117772
|
}
|
117903
117773
|
|
117904
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.
|
117774
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith/dist/esm/utils/packageManager.js
|
117905
117775
|
var import_path2 = __toESM(require("path"));
|
117906
117776
|
function asyncGeneratorStep2(gen, resolve, reject, _next, _throw, key, arg) {
|
117907
117777
|
try {
|
@@ -118123,11 +117993,11 @@ function _canUsePnpm() {
|
|
118123
117993
|
return _canUsePnpm.apply(this, arguments);
|
118124
117994
|
}
|
118125
117995
|
|
118126
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.
|
117996
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-api-app/dist/esm/index.js
|
118127
117997
|
var import_lodash6 = __toESM(require_lodash2());
|
118128
117998
|
var import_comment_json = __toESM(require_src2());
|
118129
117999
|
|
118130
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.2.
|
118000
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.2.3/node_modules/@modern-js/codesmith-api-npm/dist/esm/utils/env.js
|
118131
118001
|
function asyncGeneratorStep3(gen, resolve, reject, _next, _throw, key, arg) {
|
118132
118002
|
try {
|
118133
118003
|
var info = gen[key](arg);
|
@@ -118435,7 +118305,7 @@ function _canUsePnpm2() {
|
|
118435
118305
|
return _canUsePnpm2.apply(this, arguments);
|
118436
118306
|
}
|
118437
118307
|
|
118438
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.2.
|
118308
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.2.3/node_modules/@modern-js/codesmith-api-npm/dist/esm/utils/install.js
|
118439
118309
|
function asyncGeneratorStep4(gen, resolve, reject, _next, _throw, key, arg) {
|
118440
118310
|
try {
|
118441
118311
|
var info = gen[key](arg);
|
@@ -118802,7 +118672,7 @@ function _pnpmInstall() {
|
|
118802
118672
|
return _pnpmInstall.apply(this, arguments);
|
118803
118673
|
}
|
118804
118674
|
|
118805
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.2.
|
118675
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.2.3/node_modules/@modern-js/codesmith-api-npm/dist/esm/index.js
|
118806
118676
|
function _class_call_check(instance, Constructor) {
|
118807
118677
|
if (!(instance instanceof Constructor)) {
|
118808
118678
|
throw new TypeError("Cannot call a class as a function");
|
@@ -118883,7 +118753,7 @@ var NpmAPI = /* @__PURE__ */ function() {
|
|
118883
118753
|
return NpmAPI2;
|
118884
118754
|
}();
|
118885
118755
|
|
118886
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.2.
|
118756
|
+
// ../../../../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
|
118887
118757
|
function asyncGeneratorStep5(gen, resolve, reject, _next, _throw, key, arg) {
|
118888
118758
|
try {
|
118889
118759
|
var info = gen[key](arg);
|
@@ -119225,7 +119095,7 @@ function _gitCommit() {
|
|
119225
119095
|
return _gitCommit.apply(this, arguments);
|
119226
119096
|
}
|
119227
119097
|
|
119228
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.2.
|
119098
|
+
// ../../../../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
|
119229
119099
|
function asyncGeneratorStep6(gen, resolve, reject, _next, _throw, key, arg) {
|
119230
119100
|
try {
|
119231
119101
|
var info = gen[key](arg);
|
@@ -119556,7 +119426,7 @@ var GitAPI = /* @__PURE__ */ function() {
|
|
119556
119426
|
return GitAPI2;
|
119557
119427
|
}();
|
119558
119428
|
|
119559
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.2.
|
119429
|
+
// ../../../../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
|
119560
119430
|
var import_handlebars = __toESM(require_lib());
|
119561
119431
|
function _define_property4(obj, key, value) {
|
119562
119432
|
if (key in obj) {
|
@@ -119598,7 +119468,7 @@ function renderString(template, fullData, registers) {
|
|
119598
119468
|
return import_handlebars.default.compile(template)(fullData) || "";
|
119599
119469
|
}
|
119600
119470
|
|
119601
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.2.
|
119471
|
+
// ../../../../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
|
119602
119472
|
function asyncGeneratorStep7(gen, resolve, reject, _next, _throw, key, arg) {
|
119603
119473
|
try {
|
119604
119474
|
var info = gen[key](arg);
|
@@ -119916,13 +119786,13 @@ var HandlebarsAPI = /* @__PURE__ */ function() {
|
|
119916
119786
|
return HandlebarsAPI2;
|
119917
119787
|
}();
|
119918
119788
|
|
119919
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.2.
|
119789
|
+
// ../../../../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
|
119920
119790
|
var import_ejs = __toESM(require_ejs());
|
119921
119791
|
function renderString2(template, fullData) {
|
119922
119792
|
return import_ejs.default.render(template, fullData) || "";
|
119923
119793
|
}
|
119924
119794
|
|
119925
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.2.
|
119795
|
+
// ../../../../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
|
119926
119796
|
function asyncGeneratorStep8(gen, resolve, reject, _next, _throw, key, arg) {
|
119927
119797
|
try {
|
119928
119798
|
var info = gen[key](arg);
|
@@ -120192,24 +120062,8 @@ var EjsAPI = /* @__PURE__ */ function() {
|
|
120192
120062
|
return EjsAPI2;
|
120193
120063
|
}();
|
120194
120064
|
|
120195
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-fs@2.2.
|
120065
|
+
// ../../../../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
|
120196
120066
|
var import_path3 = __toESM(require("path"));
|
120197
|
-
|
120198
|
-
// ../../../../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
|
120199
|
-
var imageExtNameList = [
|
120200
|
-
".jpg",
|
120201
|
-
".jpeg",
|
120202
|
-
".png",
|
120203
|
-
".gif",
|
120204
|
-
".bmp",
|
120205
|
-
".ico",
|
120206
|
-
".icon",
|
120207
|
-
".mpt",
|
120208
|
-
".psd",
|
120209
|
-
".wmf"
|
120210
|
-
];
|
120211
|
-
|
120212
|
-
// ../../../../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
|
120213
120067
|
function asyncGeneratorStep9(gen, resolve, reject, _next, _throw, key, arg) {
|
120214
120068
|
try {
|
120215
120069
|
var info = gen[key](arg);
|
@@ -120389,48 +120243,26 @@ var FsAPI = /* @__PURE__ */ function() {
|
|
120389
120243
|
value: function renderFile(resource, target) {
|
120390
120244
|
var _this = this;
|
120391
120245
|
return _async_to_generator9(function() {
|
120392
|
-
var
|
120246
|
+
var filePath;
|
120393
120247
|
return __generator9(this, function(_state) {
|
120394
120248
|
switch (_state.label) {
|
120395
120249
|
case 0:
|
120396
120250
|
if (resource._type !== FS_RESOURCE) {
|
120397
120251
|
throw new Error("resource not match");
|
120398
120252
|
}
|
120253
|
+
filePath = import_path3.default.resolve(_this.generatorCore.outputPath, target.toString());
|
120399
120254
|
return [
|
120400
120255
|
4,
|
120401
|
-
|
120256
|
+
import_fs_extra.default.mkdirp(import_path3.default.dirname(filePath))
|
120402
120257
|
];
|
120403
120258
|
case 1:
|
120404
|
-
resourceValue = _state.sent();
|
120405
|
-
resourceFileExt = import_path3.default.extname(resource.filePath);
|
120406
|
-
if (!imageExtNameList.includes(resourceFileExt))
|
120407
|
-
return [
|
120408
|
-
3,
|
120409
|
-
3
|
120410
|
-
];
|
120411
|
-
return [
|
120412
|
-
4,
|
120413
|
-
_this.generatorCore.output.fs(target, resourceValue.content, {
|
120414
|
-
encoding: "binary"
|
120415
|
-
})
|
120416
|
-
];
|
120417
|
-
case 2:
|
120418
120259
|
_state.sent();
|
120419
|
-
return [
|
120420
|
-
3,
|
120421
|
-
5
|
120422
|
-
];
|
120423
|
-
case 3:
|
120424
120260
|
return [
|
120425
120261
|
4,
|
120426
|
-
|
120427
|
-
encoding: "utf-8"
|
120428
|
-
})
|
120262
|
+
import_fs_extra.default.copyFile(resource.filePath, filePath)
|
120429
120263
|
];
|
120430
|
-
case
|
120264
|
+
case 2:
|
120431
120265
|
_state.sent();
|
120432
|
-
_state.label = 5;
|
120433
|
-
case 5:
|
120434
120266
|
return [
|
120435
120267
|
2
|
120436
120268
|
];
|
@@ -120493,7 +120325,7 @@ var FsAPI = /* @__PURE__ */ function() {
|
|
120493
120325
|
return FsAPI2;
|
120494
120326
|
}();
|
120495
120327
|
|
120496
|
-
// ../../../../node_modules/.pnpm/@formily+shared@2.2.
|
120328
|
+
// ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/checkers.js
|
120497
120329
|
var toString = Object.prototype.toString;
|
120498
120330
|
var isType = function(type) {
|
120499
120331
|
return function(obj) {
|
@@ -120519,7 +120351,7 @@ var isObj = function(val) {
|
|
120519
120351
|
};
|
120520
120352
|
var isRegExp = isType("RegExp");
|
120521
120353
|
|
120522
|
-
// ../../../../node_modules/.pnpm/@formily+shared@2.2.
|
120354
|
+
// ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/array.js
|
120523
120355
|
var toArr = function(val) {
|
120524
120356
|
return isArr(val) ? val : val ? [val] : [];
|
120525
120357
|
};
|
@@ -120570,7 +120402,7 @@ function reduce(val, iterator, accumulator, revert) {
|
|
120570
120402
|
return result;
|
120571
120403
|
}
|
120572
120404
|
|
120573
|
-
// ../../../../node_modules/.pnpm/@formily+shared@2.2.
|
120405
|
+
// ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/global.js
|
120574
120406
|
function globalSelf() {
|
120575
120407
|
try {
|
120576
120408
|
if (typeof self !== "undefined") {
|
@@ -120594,7 +120426,7 @@ function globalSelf() {
|
|
120594
120426
|
}
|
120595
120427
|
var globalThisPolyfill = globalSelf();
|
120596
120428
|
|
120597
|
-
// ../../../../node_modules/.pnpm/@formily+shared@2.2.
|
120429
|
+
// ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/instanceof.js
|
120598
120430
|
var instOf = function(value, cls) {
|
120599
120431
|
if (isFn(cls))
|
120600
120432
|
return value instanceof cls;
|
@@ -120603,7 +120435,7 @@ var instOf = function(value, cls) {
|
|
120603
120435
|
return false;
|
120604
120436
|
};
|
120605
120437
|
|
120606
|
-
// ../../../../node_modules/.pnpm/@formily+shared@2.2.
|
120438
|
+
// ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/compare.js
|
120607
120439
|
var isArray = isArr;
|
120608
120440
|
var keyList = Object.keys;
|
120609
120441
|
var hasProp = Object.prototype.hasOwnProperty;
|
@@ -120710,7 +120542,7 @@ var isEqual = function exportedEqual(a, b) {
|
|
120710
120542
|
}
|
120711
120543
|
};
|
120712
120544
|
|
120713
|
-
// ../../../../node_modules/.pnpm/@formily+shared@2.2.
|
120545
|
+
// ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/clone.js
|
120714
120546
|
var clone = function(values) {
|
120715
120547
|
if (Array.isArray(values)) {
|
120716
120548
|
var res_1 = [];
|
@@ -120746,7 +120578,7 @@ var clone = function(values) {
|
|
120746
120578
|
}
|
120747
120579
|
};
|
120748
120580
|
|
120749
|
-
// ../../../../node_modules/.pnpm/@formily+shared@2.2.
|
120581
|
+
// ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/isEmpty.js
|
120750
120582
|
var has = Object.prototype.hasOwnProperty;
|
120751
120583
|
var toString2 = Object.prototype.toString;
|
120752
120584
|
var isUndef = function(val) {
|
@@ -120874,7 +120706,7 @@ function pascalCase(input, options) {
|
|
120874
120706
|
return noCase(input, __assign({ delimiter: "", transform: pascalCaseTransform }, options));
|
120875
120707
|
}
|
120876
120708
|
|
120877
|
-
// ../../../../node_modules/.pnpm/@formily+shared@2.2.
|
120709
|
+
// ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/string.js
|
120878
120710
|
var ansiRegex = function() {
|
120879
120711
|
var pattern = [
|
120880
120712
|
"[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[a-zA-Z\\d]*)*)?\\u0007)",
|
@@ -120893,7 +120725,7 @@ var stringLength = function(input) {
|
|
120893
120725
|
return stripAnsi(input).replace(astralRegex(), " ").length;
|
120894
120726
|
};
|
120895
120727
|
|
120896
|
-
// ../../../../node_modules/.pnpm/@formily+path@2.2.
|
120728
|
+
// ../../../../node_modules/.pnpm/@formily+path@2.2.24/node_modules/@formily/path/esm/contexts.js
|
120897
120729
|
var __assign2 = function() {
|
120898
120730
|
__assign2 = Object.assign || function(t) {
|
120899
120731
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
@@ -120916,7 +120748,7 @@ var parenContext = ContextType("()");
|
|
120916
120748
|
var braceContext = ContextType("{}");
|
120917
120749
|
var destructorContext = ContextType("{x}");
|
120918
120750
|
|
120919
|
-
// ../../../../node_modules/.pnpm/@formily+path@2.2.
|
120751
|
+
// ../../../../node_modules/.pnpm/@formily+path@2.2.24/node_modules/@formily/path/esm/tokens.js
|
120920
120752
|
var __assign3 = function() {
|
120921
120753
|
__assign3 = Object.assign || function(t) {
|
120922
120754
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
@@ -121084,7 +120916,7 @@ var expandTok = TokenType("expandTok", {
|
|
121084
120916
|
});
|
121085
120917
|
var eofTok = TokenType("eof");
|
121086
120918
|
|
121087
|
-
// ../../../../node_modules/.pnpm/@formily+path@2.2.
|
120919
|
+
// ../../../../node_modules/.pnpm/@formily+path@2.2.24/node_modules/@formily/path/esm/tokenizer.js
|
121088
120920
|
var nonASCIIWhitespace = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/;
|
121089
120921
|
var fullCharCodeAtPos = function(input, pos) {
|
121090
120922
|
if (String.fromCharCode)
|
@@ -121336,7 +121168,7 @@ var Tokenizer = (
|
|
121336
121168
|
}()
|
121337
121169
|
);
|
121338
121170
|
|
121339
|
-
// ../../../../node_modules/.pnpm/@formily+path@2.2.
|
121171
|
+
// ../../../../node_modules/.pnpm/@formily+path@2.2.24/node_modules/@formily/path/esm/types.js
|
121340
121172
|
var isType2 = function(type) {
|
121341
121173
|
return function(obj) {
|
121342
121174
|
return obj && obj.type === type;
|
@@ -121354,7 +121186,7 @@ var isObjectPattern = isType2("ObjectPattern");
|
|
121354
121186
|
var isObjectPatternProperty = isType2("ObjectPatternProperty");
|
121355
121187
|
var isArrayPattern = isType2("ArrayPattern");
|
121356
121188
|
|
121357
|
-
// ../../../../node_modules/.pnpm/@formily+path@2.2.
|
121189
|
+
// ../../../../node_modules/.pnpm/@formily+path@2.2.24/node_modules/@formily/path/esm/shared.js
|
121358
121190
|
var toString3 = Object.prototype.toString;
|
121359
121191
|
var isType3 = function(type) {
|
121360
121192
|
return function(obj) {
|
@@ -121431,7 +121263,7 @@ var isSegmentEqual = function(a, b) {
|
|
121431
121263
|
return a === b;
|
121432
121264
|
};
|
121433
121265
|
|
121434
|
-
// ../../../../node_modules/.pnpm/@formily+path@2.2.
|
121266
|
+
// ../../../../node_modules/.pnpm/@formily+path@2.2.24/node_modules/@formily/path/esm/destructor.js
|
121435
121267
|
var DestructorCache = /* @__PURE__ */ new Map();
|
121436
121268
|
var isValid2 = function(val) {
|
121437
121269
|
return val !== void 0 && val !== null;
|
@@ -121549,7 +121381,7 @@ var existInByDestructor = function(source, rules, start, mutators) {
|
|
121549
121381
|
});
|
121550
121382
|
};
|
121551
121383
|
|
121552
|
-
// ../../../../node_modules/.pnpm/@formily+path@2.2.
|
121384
|
+
// ../../../../node_modules/.pnpm/@formily+path@2.2.24/node_modules/@formily/path/esm/parser.js
|
121553
121385
|
var __extends = function() {
|
121554
121386
|
var extendStatics = function(d, b) {
|
121555
121387
|
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
|
@@ -121940,7 +121772,7 @@ var Parser = (
|
|
121940
121772
|
}(Tokenizer)
|
121941
121773
|
);
|
121942
121774
|
|
121943
|
-
// ../../../../node_modules/.pnpm/@formily+path@2.2.
|
121775
|
+
// ../../../../node_modules/.pnpm/@formily+path@2.2.24/node_modules/@formily/path/esm/matcher.js
|
121944
121776
|
var Matcher = (
|
121945
121777
|
/** @class */
|
121946
121778
|
function() {
|
@@ -122122,7 +121954,7 @@ var Matcher = (
|
|
122122
121954
|
}()
|
122123
121955
|
);
|
122124
121956
|
|
122125
|
-
// ../../../../node_modules/.pnpm/@formily+path@2.2.
|
121957
|
+
// ../../../../node_modules/.pnpm/@formily+path@2.2.24/node_modules/@formily/path/esm/index.js
|
122126
121958
|
var __read = function(o, n) {
|
122127
121959
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
122128
121960
|
if (!m)
|
@@ -122676,7 +122508,7 @@ var Path = (
|
|
122676
122508
|
}()
|
122677
122509
|
);
|
122678
122510
|
|
122679
|
-
// ../../../../node_modules/.pnpm/@formily+shared@2.2.
|
122511
|
+
// ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/subscribable.js
|
122680
122512
|
var Subscribable = (
|
122681
122513
|
/** @class */
|
122682
122514
|
function() {
|
@@ -122728,7 +122560,7 @@ var Subscribable = (
|
|
122728
122560
|
}()
|
122729
122561
|
);
|
122730
122562
|
|
122731
|
-
// ../../../../node_modules/.pnpm/@formily+shared@2.2.
|
122563
|
+
// ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/merge.js
|
122732
122564
|
function defaultIsMergeableObject(value) {
|
122733
122565
|
return isNonNullObject(value) && !isSpecial(value);
|
122734
122566
|
}
|
@@ -122921,7 +122753,7 @@ var lazyMerge = function(target) {
|
|
122921
122753
|
};
|
122922
122754
|
var merge = deepmerge;
|
122923
122755
|
|
122924
|
-
// ../../../../node_modules/.pnpm/@formily+shared@2.2.
|
122756
|
+
// ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/uid.js
|
122925
122757
|
var IDX = 36;
|
122926
122758
|
var HEX = "";
|
122927
122759
|
while (IDX--)
|
@@ -122933,7 +122765,7 @@ function uid(len) {
|
|
122933
122765
|
return str;
|
122934
122766
|
}
|
122935
122767
|
|
122936
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
122768
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/checkers.js
|
122937
122769
|
var toString4 = Object.prototype.toString;
|
122938
122770
|
var isMap = function(val) {
|
122939
122771
|
return val && val instanceof Map;
|
@@ -122964,7 +122796,7 @@ var isNormalType = function(target) {
|
|
122964
122796
|
return isPlainObj3(target) || isArr3(target);
|
122965
122797
|
};
|
122966
122798
|
|
122967
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
122799
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/array.js
|
122968
122800
|
var toArray = function(value) {
|
122969
122801
|
return Array.isArray(value) ? value : value !== void 0 && value !== null ? [value] : [];
|
122970
122802
|
};
|
@@ -123028,7 +122860,7 @@ var ArraySet = (
|
|
123028
122860
|
}()
|
123029
122861
|
);
|
123030
122862
|
|
123031
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
122863
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/environment.js
|
123032
122864
|
var ProxyRaw = /* @__PURE__ */ new WeakMap();
|
123033
122865
|
var RawProxy = /* @__PURE__ */ new WeakMap();
|
123034
122866
|
var RawShallowProxy = /* @__PURE__ */ new WeakMap();
|
@@ -123047,7 +122879,7 @@ var MakeObModelSymbol = Symbol("MakeObModelSymbol");
|
|
123047
122879
|
var ObModelSymbol = Symbol("ObModelSymbol");
|
123048
122880
|
var ObModelNodeSymbol = Symbol("ObModelNodeSymbol");
|
123049
122881
|
|
123050
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
122882
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/reaction.js
|
123051
122883
|
var ITERATION_KEY = Symbol("iteration key");
|
123052
122884
|
var addRawReactionsMap = function(target, key, reaction2) {
|
123053
122885
|
var reactionsMap = RawReactionsMap.get(target);
|
@@ -123277,7 +123109,7 @@ var disposeEffects = function(reaction2) {
|
|
123277
123109
|
}
|
123278
123110
|
};
|
123279
123111
|
|
123280
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
123112
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/tree.js
|
123281
123113
|
var DataChange = (
|
123282
123114
|
/** @class */
|
123283
123115
|
function() {
|
@@ -123373,7 +123205,7 @@ var buildDataTree = function(target, key, value) {
|
|
123373
123205
|
setDataNode(raw2, new DataNode(target, key, value));
|
123374
123206
|
};
|
123375
123207
|
|
123376
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
123208
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/externals.js
|
123377
123209
|
var RAW_TYPE = Symbol("RAW_TYPE");
|
123378
123210
|
var OBSERVABLE_TYPE = Symbol("OBSERVABLE_TYPE");
|
123379
123211
|
var hasOwnProperty2 = Object.prototype.hasOwnProperty;
|
@@ -123475,7 +123307,7 @@ var hasCollected = function(callback) {
|
|
123475
123307
|
return DependencyCollected.value;
|
123476
123308
|
};
|
123477
123309
|
|
123478
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
123310
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/handlers.js
|
123479
123311
|
var __read2 = function(o, n) {
|
123480
123312
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
123481
123313
|
if (!m)
|
@@ -123731,7 +123563,7 @@ var baseHandlers = {
|
|
123731
123563
|
}
|
123732
123564
|
};
|
123733
123565
|
|
123734
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
123566
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/internals.js
|
123735
123567
|
var createNormalProxy = function(target, shallow2) {
|
123736
123568
|
var proxy = new Proxy(target, baseHandlers);
|
123737
123569
|
ProxyRaw.set(proxy, target);
|
@@ -123846,7 +123678,7 @@ var createBoundaryAnnotation = function(start, end) {
|
|
123846
123678
|
return boundary;
|
123847
123679
|
};
|
123848
123680
|
|
123849
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
123681
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/batch.js
|
123850
123682
|
var batch = createBoundaryAnnotation(batchStart, batchEnd);
|
123851
123683
|
batch.scope = createBoundaryAnnotation(batchScopeStart, batchScopeEnd);
|
123852
123684
|
batch.endpoint = function(callback) {
|
@@ -123859,7 +123691,7 @@ batch.endpoint = function(callback) {
|
|
123859
123691
|
}
|
123860
123692
|
};
|
123861
123693
|
|
123862
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
123694
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/action.js
|
123863
123695
|
var action = createBoundaryAnnotation(function() {
|
123864
123696
|
batchStart();
|
123865
123697
|
untrackStart();
|
@@ -123875,10 +123707,10 @@ action.scope = createBoundaryAnnotation(function() {
|
|
123875
123707
|
batchScopeEnd();
|
123876
123708
|
});
|
123877
123709
|
|
123878
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
123710
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/untracked.js
|
123879
123711
|
var untracked = createBoundaryFunction(untrackStart, untrackEnd);
|
123880
123712
|
|
123881
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
123713
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/annotations/observable.js
|
123882
123714
|
var observable = createAnnotation(function(_a2) {
|
123883
123715
|
var target = _a2.target, key = _a2.key, value = _a2.value;
|
123884
123716
|
var store = {
|
@@ -123918,7 +123750,7 @@ var observable = createAnnotation(function(_a2) {
|
|
123918
123750
|
return store.value;
|
123919
123751
|
});
|
123920
123752
|
|
123921
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
123753
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/annotations/box.js
|
123922
123754
|
var box = createAnnotation(function(_a2) {
|
123923
123755
|
var target = _a2.target, key = _a2.key, value = _a2.value;
|
123924
123756
|
var store = {
|
@@ -123964,7 +123796,7 @@ var box = createAnnotation(function(_a2) {
|
|
123964
123796
|
return proxy;
|
123965
123797
|
});
|
123966
123798
|
|
123967
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
123799
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/annotations/ref.js
|
123968
123800
|
var ref = createAnnotation(function(_a2) {
|
123969
123801
|
var target = _a2.target, key = _a2.key, value = _a2.value;
|
123970
123802
|
var store = {
|
@@ -124012,7 +123844,7 @@ var ref = createAnnotation(function(_a2) {
|
|
124012
123844
|
return proxy;
|
124013
123845
|
});
|
124014
123846
|
|
124015
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
123847
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/annotations/shallow.js
|
124016
123848
|
var shallow = createAnnotation(function(_a2) {
|
124017
123849
|
var target = _a2.target, key = _a2.key, value = _a2.value;
|
124018
123850
|
var store = {
|
@@ -124052,7 +123884,7 @@ var shallow = createAnnotation(function(_a2) {
|
|
124052
123884
|
return store.value;
|
124053
123885
|
});
|
124054
123886
|
|
124055
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
123887
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/annotations/computed.js
|
124056
123888
|
var getDescriptor = Object.getOwnPropertyDescriptor;
|
124057
123889
|
var getProto = Object.getPrototypeOf;
|
124058
123890
|
var ClassDescriptorSymbol = Symbol("ClassDescriptorSymbol");
|
@@ -124173,7 +124005,7 @@ var computed = createAnnotation(function(_a2) {
|
|
124173
124005
|
return proxy;
|
124174
124006
|
});
|
124175
124007
|
|
124176
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
124008
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/observable.js
|
124177
124009
|
function observable2(target) {
|
124178
124010
|
return createObservable(null, null, target);
|
124179
124011
|
}
|
@@ -124184,7 +124016,7 @@ observable2.shallow = shallow;
|
|
124184
124016
|
observable2.computed = computed;
|
124185
124017
|
observable2[MakeObModelSymbol] = observable;
|
124186
124018
|
|
124187
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
124019
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/model.js
|
124188
124020
|
function define2(target, annotations) {
|
124189
124021
|
if (isObservable(target))
|
124190
124022
|
return target;
|
@@ -124204,7 +124036,7 @@ function define2(target, annotations) {
|
|
124204
124036
|
return target;
|
124205
124037
|
}
|
124206
124038
|
|
124207
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
124039
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/autorun.js
|
124208
124040
|
var __assign4 = function() {
|
124209
124041
|
__assign4 = Object.assign || function(t) {
|
124210
124042
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
@@ -124350,7 +124182,7 @@ var reaction = function(tracker, subscriber, options) {
|
|
124350
124182
|
};
|
124351
124183
|
};
|
124352
124184
|
|
124353
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
124185
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/tracker.js
|
124354
124186
|
var Tracker = (
|
124355
124187
|
/** @class */
|
124356
124188
|
function() {
|
@@ -124395,7 +124227,7 @@ var Tracker = (
|
|
124395
124227
|
}()
|
124396
124228
|
);
|
124397
124229
|
|
124398
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
124230
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/observe.js
|
124399
124231
|
var observe = function(target, observer, deep) {
|
124400
124232
|
if (deep === void 0) {
|
124401
124233
|
deep = true;
|
@@ -124428,7 +124260,7 @@ var observe = function(target, observer, deep) {
|
|
124428
124260
|
return addListener(target);
|
124429
124261
|
};
|
124430
124262
|
|
124431
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.
|
124263
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.0.4/node_modules/@formily/json-schema/esm/shared.js
|
124432
124264
|
var REVA_ACTIONS_KEY = Symbol.for("__REVA_ACTIONS");
|
124433
124265
|
var SchemaNestedMap = {
|
124434
124266
|
parent: true,
|
@@ -124615,7 +124447,7 @@ var patchStateFormSchema = function(targetState, pattern, compiled) {
|
|
124615
124447
|
});
|
124616
124448
|
};
|
124617
124449
|
|
124618
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.
|
124450
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.0.4/node_modules/@formily/json-schema/esm/compiler.js
|
124619
124451
|
var ExpRE = /^\s*\{\{([\s\S]*)\}\}\s*$/;
|
124620
124452
|
var Registry = {
|
124621
124453
|
silent: false,
|
@@ -124719,7 +124551,7 @@ var patchSchemaCompile = function(targetState, sourceSchema, scope, demand) {
|
|
124719
124551
|
});
|
124720
124552
|
};
|
124721
124553
|
|
124722
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
124554
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/models/LifeCycle.js
|
124723
124555
|
var LifeCycle = (
|
124724
124556
|
/** @class */
|
124725
124557
|
function() {
|
@@ -124765,7 +124597,7 @@ var LifeCycle = (
|
|
124765
124597
|
}()
|
124766
124598
|
);
|
124767
124599
|
|
124768
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
124600
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/models/Heart.js
|
124769
124601
|
var __extends2 = function() {
|
124770
124602
|
var extendStatics = function(d, b) {
|
124771
124603
|
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
|
@@ -124861,7 +124693,7 @@ var Heart = (
|
|
124861
124693
|
}(Subscribable)
|
124862
124694
|
);
|
124863
124695
|
|
124864
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
124696
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/shared/checkers.js
|
124865
124697
|
var isForm = function(node) {
|
124866
124698
|
return node instanceof Form;
|
124867
124699
|
};
|
@@ -124907,7 +124739,7 @@ var isQuery = function(query2) {
|
|
124907
124739
|
return query2 && query2 instanceof Query;
|
124908
124740
|
};
|
124909
124741
|
|
124910
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
124742
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/models/Graph.js
|
124911
124743
|
var Graph = (
|
124912
124744
|
/** @class */
|
124913
124745
|
function() {
|
@@ -124959,12 +124791,12 @@ var Graph = (
|
|
124959
124791
|
}()
|
124960
124792
|
);
|
124961
124793
|
|
124962
|
-
// ../../../../node_modules/.pnpm/@formily+validator@2.2.
|
124794
|
+
// ../../../../node_modules/.pnpm/@formily+validator@2.2.24/node_modules/@formily/validator/esm/types.js
|
124963
124795
|
var isValidateResult = function(obj) {
|
124964
124796
|
return !!obj["type"] && !!obj["message"];
|
124965
124797
|
};
|
124966
124798
|
|
124967
|
-
// ../../../../node_modules/.pnpm/@formily+validator@2.2.
|
124799
|
+
// ../../../../node_modules/.pnpm/@formily+validator@2.2.24/node_modules/@formily/validator/esm/registry.js
|
124968
124800
|
var getIn2 = Path.getIn;
|
124969
124801
|
var self2 = globalThisPolyfill;
|
124970
124802
|
var defaultLanguage = "en";
|
@@ -125035,7 +124867,7 @@ var registerValidateFormats = function(formats) {
|
|
125035
124867
|
});
|
125036
124868
|
};
|
125037
124869
|
|
125038
|
-
// ../../../../node_modules/.pnpm/@formily+validator@2.2.
|
124870
|
+
// ../../../../node_modules/.pnpm/@formily+validator@2.2.24/node_modules/@formily/validator/esm/template.js
|
125039
124871
|
var render = function(result, rules) {
|
125040
124872
|
var message = result.message;
|
125041
124873
|
if (isStr(result.message)) {
|
@@ -125050,7 +124882,7 @@ var render = function(result, rules) {
|
|
125050
124882
|
return result;
|
125051
124883
|
};
|
125052
124884
|
|
125053
|
-
// ../../../../node_modules/.pnpm/@formily+validator@2.2.
|
124885
|
+
// ../../../../node_modules/.pnpm/@formily+validator@2.2.24/node_modules/@formily/validator/esm/parser.js
|
125054
124886
|
var __assign5 = function() {
|
125055
124887
|
__assign5 = Object.assign || function(t) {
|
125056
124888
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
@@ -125301,7 +125133,7 @@ var parseValidator = function(validator, options) {
|
|
125301
125133
|
}, []);
|
125302
125134
|
};
|
125303
125135
|
|
125304
|
-
// ../../../../node_modules/.pnpm/@formily+validator@2.2.
|
125136
|
+
// ../../../../node_modules/.pnpm/@formily+validator@2.2.24/node_modules/@formily/validator/esm/locale.js
|
125305
125137
|
var locale_default = {
|
125306
125138
|
en: {
|
125307
125139
|
pattern: "This field is invalid",
|
@@ -125521,7 +125353,7 @@ var locale_default = {
|
|
125521
125353
|
}
|
125522
125354
|
};
|
125523
125355
|
|
125524
|
-
// ../../../../node_modules/.pnpm/@formily+validator@2.2.
|
125356
|
+
// ../../../../node_modules/.pnpm/@formily+validator@2.2.24/node_modules/@formily/validator/esm/formats.js
|
125525
125357
|
var formats_default = {
|
125526
125358
|
url: new RegExp(
|
125527
125359
|
// protocol identifier
|
@@ -125541,7 +125373,7 @@ var formats_default = {
|
|
125541
125373
|
zip: /^[0-9]{6}$/
|
125542
125374
|
};
|
125543
125375
|
|
125544
|
-
// ../../../../node_modules/.pnpm/@formily+validator@2.2.
|
125376
|
+
// ../../../../node_modules/.pnpm/@formily+validator@2.2.24/node_modules/@formily/validator/esm/rules.js
|
125545
125377
|
var __assign6 = function() {
|
125546
125378
|
__assign6 = Object.assign || function(t) {
|
125547
125379
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
@@ -125856,7 +125688,7 @@ extendSameRules(RULES, {
|
|
125856
125688
|
});
|
125857
125689
|
var rules_default = RULES;
|
125858
125690
|
|
125859
|
-
// ../../../../node_modules/.pnpm/@formily+validator@2.2.
|
125691
|
+
// ../../../../node_modules/.pnpm/@formily+validator@2.2.24/node_modules/@formily/validator/esm/validator.js
|
125860
125692
|
var __awaiter3 = function(thisArg, _arguments, P, generator) {
|
125861
125693
|
function adopt(value) {
|
125862
125694
|
return value instanceof P ? value : new P(function(resolve) {
|
@@ -126001,7 +125833,7 @@ var validate = function(value, validator, options) {
|
|
126001
125833
|
});
|
126002
125834
|
};
|
126003
125835
|
|
126004
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
125836
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/types.js
|
126005
125837
|
var LifeCycleTypes;
|
126006
125838
|
(function(LifeCycleTypes2) {
|
126007
125839
|
LifeCycleTypes2["ON_FORM_INIT"] = "onFormInit";
|
@@ -126053,7 +125885,7 @@ var LifeCycleTypes;
|
|
126053
125885
|
LifeCycleTypes2["ON_FIELD_UNMOUNT"] = "onFieldUnmount";
|
126054
125886
|
})(LifeCycleTypes || (LifeCycleTypes = {}));
|
126055
125887
|
|
126056
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
125888
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/shared/constants.js
|
126057
125889
|
var ReservedProperties = {
|
126058
125890
|
form: true,
|
126059
125891
|
parent: true,
|
@@ -126105,7 +125937,7 @@ var GlobalState = {
|
|
126105
125937
|
};
|
126106
125938
|
var NumberIndexReg = /^\.(\d+)/;
|
126107
125939
|
|
126108
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
125940
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/shared/internals.js
|
126109
125941
|
var __assign7 = function() {
|
126110
125942
|
__assign7 = Object.assign || function(t) {
|
126111
125943
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
@@ -127212,7 +127044,7 @@ var getObjectParent = function(field) {
|
|
127212
127044
|
}
|
127213
127045
|
};
|
127214
127046
|
|
127215
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
127047
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/models/Query.js
|
127216
127048
|
var output = function(field, taker) {
|
127217
127049
|
if (!field)
|
127218
127050
|
return;
|
@@ -127295,7 +127127,7 @@ var Query = (
|
|
127295
127127
|
}()
|
127296
127128
|
);
|
127297
127129
|
|
127298
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
127130
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/models/BaseField.js
|
127299
127131
|
var __read4 = function(o, n) {
|
127300
127132
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
127301
127133
|
if (!m)
|
@@ -127675,7 +127507,7 @@ var BaseField = (
|
|
127675
127507
|
}()
|
127676
127508
|
);
|
127677
127509
|
|
127678
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
127510
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/models/Field.js
|
127679
127511
|
var __extends3 = function() {
|
127680
127512
|
var extendStatics = function(d, b) {
|
127681
127513
|
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
|
@@ -128316,7 +128148,7 @@ var Field = (
|
|
128316
128148
|
}(BaseField)
|
128317
128149
|
);
|
128318
128150
|
|
128319
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
128151
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/shared/effective.js
|
128320
128152
|
var __read5 = function(o, n) {
|
128321
128153
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
128322
128154
|
if (!m)
|
@@ -128410,7 +128242,7 @@ var runEffects = function(context) {
|
|
128410
128242
|
return GlobalState.lifecycles;
|
128411
128243
|
};
|
128412
128244
|
|
128413
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
128245
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/models/ArrayField.js
|
128414
128246
|
var __extends4 = function() {
|
128415
128247
|
var extendStatics = function(d, b) {
|
128416
128248
|
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
|
@@ -128600,7 +128432,7 @@ var ArrayField = (
|
|
128600
128432
|
}(Field)
|
128601
128433
|
);
|
128602
128434
|
|
128603
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
128435
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/models/ObjectField.js
|
128604
128436
|
var __extends5 = function() {
|
128605
128437
|
var extendStatics = function(d, b) {
|
128606
128438
|
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
|
@@ -128661,7 +128493,7 @@ var ObjectField = (
|
|
128661
128493
|
}(Field)
|
128662
128494
|
);
|
128663
128495
|
|
128664
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
128496
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/models/VoidField.js
|
128665
128497
|
var __extends6 = function() {
|
128666
128498
|
var extendStatics = function(d, b) {
|
128667
128499
|
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
|
@@ -128776,7 +128608,7 @@ var VoidField = (
|
|
128776
128608
|
}(BaseField)
|
128777
128609
|
);
|
128778
128610
|
|
128779
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
128611
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/models/Form.js
|
128780
128612
|
var __assign8 = function() {
|
128781
128613
|
__assign8 = Object.assign || function(t) {
|
128782
128614
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
@@ -129304,7 +129136,7 @@ var Form = (
|
|
129304
129136
|
}()
|
129305
129137
|
);
|
129306
129138
|
|
129307
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
129139
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/effects/onFormEffects.js
|
129308
129140
|
function createFormEffect(type) {
|
129309
129141
|
return createEffectHook(type, function(form) {
|
129310
129142
|
return function(callback) {
|
@@ -129337,7 +129169,7 @@ var onFormValidateEnd = createFormEffect(LifeCycleTypes.ON_FORM_VALIDATE_END);
|
|
129337
129169
|
var onFormGraphChange = createFormEffect(LifeCycleTypes.ON_FORM_GRAPH_CHANGE);
|
129338
129170
|
var onFormLoading = createFormEffect(LifeCycleTypes.ON_FORM_LOADING);
|
129339
129171
|
|
129340
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
129172
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/effects/onFieldEffects.js
|
129341
129173
|
function createFieldEffect(type) {
|
129342
129174
|
return createEffectHook(type, function(field, form) {
|
129343
129175
|
return function(pattern, callback) {
|
@@ -129382,7 +129214,7 @@ function onFieldInit(pattern, callback) {
|
|
129382
129214
|
}
|
129383
129215
|
}
|
129384
129216
|
|
129385
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.
|
129217
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.0.4/node_modules/@formily/json-schema/esm/transformer.js
|
129386
129218
|
var __read7 = function(o, n) {
|
129387
129219
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
129388
129220
|
if (!m)
|
@@ -129607,7 +129439,7 @@ var transformFieldProps = function(schema, options) {
|
|
129607
129439
|
};
|
129608
129440
|
};
|
129609
129441
|
|
129610
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.
|
129442
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.0.4/node_modules/@formily/json-schema/esm/patches.js
|
129611
129443
|
var __assign9 = function() {
|
129612
129444
|
__assign9 = Object.assign || function(t) {
|
129613
129445
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
@@ -129656,7 +129488,7 @@ var enablePolyfills = function(versions) {
|
|
129656
129488
|
}
|
129657
129489
|
};
|
129658
129490
|
|
129659
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.
|
129491
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.0.4/node_modules/@formily/json-schema/esm/polyfills/SPECIFICATION_1_0.js
|
129660
129492
|
var __assign10 = function() {
|
129661
129493
|
__assign10 = Object.assign || function(t) {
|
129662
129494
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
@@ -129813,7 +129645,7 @@ var registerTypeDefaultComponents = function(maps) {
|
|
129813
129645
|
Object.assign(TYPE_DEFAULT_COMPONENTS, maps);
|
129814
129646
|
};
|
129815
129647
|
|
129816
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.
|
129648
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.0.4/node_modules/@formily/json-schema/esm/schema.js
|
129817
129649
|
var Schema = (
|
129818
129650
|
/** @class */
|
129819
129651
|
function() {
|
@@ -130049,10 +129881,10 @@ var Schema = (
|
|
130049
129881
|
}()
|
130050
129882
|
);
|
130051
129883
|
|
130052
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.
|
129884
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-formily/dist/esm/prompt.js
|
130053
129885
|
var import_inquirer = __toESM(require_inquirer());
|
130054
129886
|
|
130055
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.
|
129887
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-formily/dist/esm/transform.js
|
130056
129888
|
var import_lodash2 = __toESM(require_lodash2());
|
130057
129889
|
function asyncGeneratorStep10(gen, resolve, reject, _next, _throw, key, arg) {
|
130058
129890
|
try {
|
@@ -130399,7 +130231,7 @@ function transformForm(schema) {
|
|
130399
130231
|
return getQuestionFromSchema(schema, configValue, validateMap, initValue);
|
130400
130232
|
}
|
130401
130233
|
|
130402
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.
|
130234
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-formily/dist/esm/prompt.js
|
130403
130235
|
function asyncGeneratorStep11(gen, resolve, reject, _next, _throw, key, arg) {
|
130404
130236
|
try {
|
130405
130237
|
var info = gen[key](arg);
|
@@ -130923,7 +130755,7 @@ function _prompt() {
|
|
130923
130755
|
return _prompt.apply(this, arguments);
|
130924
130756
|
}
|
130925
130757
|
|
130926
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.
|
130758
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-formily/dist/esm/inquirer.js
|
130927
130759
|
function asyncGeneratorStep12(gen, resolve, reject, _next, _throw, key, arg) {
|
130928
130760
|
try {
|
130929
130761
|
var info = gen[key](arg);
|
@@ -131163,7 +130995,7 @@ var CLIReader = /* @__PURE__ */ function() {
|
|
131163
130995
|
return CLIReader2;
|
131164
130996
|
}();
|
131165
130997
|
|
131166
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.
|
130998
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-api-app/dist/esm/index.js
|
131167
130999
|
var import_inquirer2 = __toESM(require_inquirer2());
|
131168
131000
|
|
131169
131001
|
// ../../../../node_modules/.pnpm/@modern-js+plugin-i18n@2.18.0/node_modules/@modern-js/plugin-i18n/dist/esm-node/index.js
|
@@ -131242,7 +131074,7 @@ var I18n = class {
|
|
131242
131074
|
}
|
131243
131075
|
};
|
131244
131076
|
|
131245
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.
|
131077
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-api-app/dist/esm/locale/zh.js
|
131246
131078
|
var ZH_LOCALE = {
|
131247
131079
|
environment: {
|
131248
131080
|
node_version: "请升级 Node 版本至 LIS",
|
@@ -131269,7 +131101,7 @@ var ZH_LOCALE = {
|
|
131269
131101
|
}
|
131270
131102
|
};
|
131271
131103
|
|
131272
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.
|
131104
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-api-app/dist/esm/locale/en.js
|
131273
131105
|
var EN_LOCALE = {
|
131274
131106
|
environment: {
|
131275
131107
|
node_version: "please upgrade node to lts version",
|
@@ -131296,14 +131128,14 @@ var EN_LOCALE = {
|
|
131296
131128
|
}
|
131297
131129
|
};
|
131298
131130
|
|
131299
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.
|
131131
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-api-app/dist/esm/locale/index.js
|
131300
131132
|
var i18n = new I18n();
|
131301
131133
|
var localeKeys = i18n.init("zh", {
|
131302
131134
|
zh: ZH_LOCALE,
|
131303
131135
|
en: EN_LOCALE
|
131304
131136
|
});
|
131305
131137
|
|
131306
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.
|
131138
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-api-app/dist/esm/utils/transform.js
|
131307
131139
|
var import_lodash5 = __toESM(require_lodash2());
|
131308
131140
|
function asyncGeneratorStep13(gen, resolve, reject, _next, _throw, key, arg) {
|
131309
131141
|
try {
|
@@ -131512,7 +131344,7 @@ function transformInquirerSchema(questions) {
|
|
131512
131344
|
return questions;
|
131513
131345
|
}
|
131514
131346
|
|
131515
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.
|
131347
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-api-app/dist/esm/utils/checkUseNvm.js
|
131516
131348
|
var import_path5 = __toESM(require("path"));
|
131517
131349
|
function asyncGeneratorStep14(gen, resolve, reject, _next, _throw, key, arg) {
|
131518
131350
|
try {
|
@@ -131776,7 +131608,7 @@ function _checkUseNvm() {
|
|
131776
131608
|
return _checkUseNvm.apply(this, arguments);
|
131777
131609
|
}
|
131778
131610
|
|
131779
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.
|
131611
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-api-app/dist/esm/index.js
|
131780
131612
|
function _array_like_to_array(arr, len) {
|
131781
131613
|
if (len == null || len > arr.length)
|
131782
131614
|
len = arr.length;
|
@@ -132357,7 +132189,7 @@ var AppAPI = /* @__PURE__ */ function() {
|
|
132357
132189
|
switch (_state2.label) {
|
132358
132190
|
case 0:
|
132359
132191
|
_this.generatorCore.logger.debug("[renderDir] resourceKey=".concat(resourceKey));
|
132360
|
-
target = rename ? rename(resourceKey) : resourceKey.replace("templates/", "").replace(".handlebars", "");
|
132192
|
+
target = rename ? rename(resourceKey) : resourceKey.replace("templates/", "").replace(".handlebars", "").replace(".ejs", "");
|
132361
132193
|
return [
|
132362
132194
|
4,
|
132363
132195
|
api.renderTemplate(material.get(resourceKey), target, _object_spread7({}, _this.generatorContext.data || {}, parameters || {}))
|
@@ -132706,11 +132538,11 @@ var AppAPI = /* @__PURE__ */ function() {
|
|
132706
132538
|
return AppAPI2;
|
132707
132539
|
}();
|
132708
132540
|
|
132709
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.2.
|
132541
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.2.3/node_modules/@modern-js/codesmith-api-json/dist/esm/index.js
|
132710
132542
|
var import_comment_json2 = __toESM(require_src2());
|
132711
132543
|
var declarationUpdate = __toESM(require_dist());
|
132712
132544
|
|
132713
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.2.
|
132545
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.2.3/node_modules/@modern-js/codesmith-api-json/dist/esm/utils/index.js
|
132714
132546
|
function asyncGeneratorStep16(gen, resolve, reject, _next, _throw, key, arg) {
|
132715
132547
|
try {
|
132716
132548
|
var info = gen[key](arg);
|
@@ -132884,7 +132716,7 @@ function _editJson() {
|
|
132884
132716
|
return _editJson.apply(this, arguments);
|
132885
132717
|
}
|
132886
132718
|
|
132887
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.2.
|
132719
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.2.3/node_modules/@modern-js/codesmith-api-json/dist/esm/index.js
|
132888
132720
|
function asyncGeneratorStep17(gen, resolve, reject, _next, _throw, key, arg) {
|
132889
132721
|
try {
|
132890
132722
|
var info = gen[key](arg);
|
@@ -133178,6 +133010,15 @@ var JsonAPI = /* @__PURE__ */ function() {
|
|
133178
133010
|
return JsonAPI2;
|
133179
133011
|
}();
|
133180
133012
|
|
133013
|
+
// ../../../../node_modules/.pnpm/@swc+helpers@0.5.1/node_modules/@swc/helpers/esm/_define_property.js
|
133014
|
+
function _define_property14(obj, key, value) {
|
133015
|
+
if (key in obj) {
|
133016
|
+
Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
|
133017
|
+
} else
|
133018
|
+
obj[key] = value;
|
133019
|
+
return obj;
|
133020
|
+
}
|
133021
|
+
|
133181
133022
|
// ../../../cli/plugin-i18n/dist/esm-node/index.js
|
133182
133023
|
var import_lodash8 = __toESM(require_lodash3());
|
133183
133024
|
|
@@ -133196,19 +133037,6 @@ function getObjKeyMap2(obj, prefix = "") {
|
|
133196
133037
|
}
|
133197
133038
|
|
133198
133039
|
// ../../../cli/plugin-i18n/dist/esm-node/index.js
|
133199
|
-
function _define_property14(obj, key, value) {
|
133200
|
-
if (key in obj) {
|
133201
|
-
Object.defineProperty(obj, key, {
|
133202
|
-
value,
|
133203
|
-
enumerable: true,
|
133204
|
-
configurable: true,
|
133205
|
-
writable: true
|
133206
|
-
});
|
133207
|
-
} else {
|
133208
|
-
obj[key] = value;
|
133209
|
-
}
|
133210
|
-
return obj;
|
133211
|
-
}
|
133212
133040
|
var I18n2 = class {
|
133213
133041
|
format(msg, vars) {
|
133214
133042
|
return msg.replace(/\{(\w+)\}/g, (_match, capture) => Object.prototype.hasOwnProperty.call(vars, capture) ? vars[capture] : capture);
|
@@ -133555,7 +133383,7 @@ var MonorepoDefaultConfig = {
|
|
133555
133383
|
|
133556
133384
|
// ../../generator-utils/dist/esm/index.js
|
133557
133385
|
var import_path6 = __toESM(require("path"));
|
133558
|
-
var
|
133386
|
+
var import_utils16 = __toESM(require_cjs2());
|
133559
133387
|
|
133560
133388
|
// ../../generator-utils/dist/esm/utils/stripAnsi.js
|
133561
133389
|
function ansiRegex2({ onlyFirst = false } = {}) {
|
@@ -133575,11 +133403,11 @@ function stripAnsi2(string) {
|
|
133575
133403
|
// ../../generator-utils/dist/esm/index.js
|
133576
133404
|
function getPackageVersion(packageName, registry2) {
|
133577
133405
|
return __async(this, null, function* () {
|
133578
|
-
const spinner = (0,
|
133406
|
+
const spinner = (0, import_utils16.ora)({
|
133579
133407
|
text: "Load Generator...",
|
133580
133408
|
spinner: "runner"
|
133581
133409
|
}).start();
|
133582
|
-
if (yield (0,
|
133410
|
+
if (yield (0, import_utils16.canUsePnpm)()) {
|
133583
133411
|
const args = [
|
133584
133412
|
"info",
|
133585
133413
|
packageName,
|
@@ -133588,11 +133416,11 @@ function getPackageVersion(packageName, registry2) {
|
|
133588
133416
|
if (registry2) {
|
133589
133417
|
args.push(`--registry=${registry2}`);
|
133590
133418
|
}
|
133591
|
-
const result = yield (0,
|
133419
|
+
const result = yield (0, import_utils16.execa)("pnpm", args);
|
133592
133420
|
spinner.stop();
|
133593
133421
|
return stripAnsi2(result.stdout);
|
133594
133422
|
}
|
133595
|
-
if (yield (0,
|
133423
|
+
if (yield (0, import_utils16.canUseNpm)()) {
|
133596
133424
|
const args = [
|
133597
133425
|
"view",
|
133598
133426
|
packageName,
|
@@ -133601,7 +133429,7 @@ function getPackageVersion(packageName, registry2) {
|
|
133601
133429
|
if (registry2) {
|
133602
133430
|
args.push(`--registry=${registry2}`);
|
133603
133431
|
}
|
133604
|
-
const result = yield (0,
|
133432
|
+
const result = yield (0, import_utils16.execa)("npm", args);
|
133605
133433
|
spinner.stop();
|
133606
133434
|
return stripAnsi2(result.stdout);
|
133607
133435
|
}
|