@lynx-js/config-rsbuild-plugin 0.1.0 → 0.2.0
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/CHANGELOG.md +12 -0
- package/dist/index.js +210 -1000
- package/package.json +9 -9
package/dist/index.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/*! LICENSE: index.js.LICENSE.txt */
|
|
2
2
|
import node_process from "node:process";
|
|
3
|
+
import node_os from "node:os";
|
|
4
|
+
import node_tty from "node:tty";
|
|
5
|
+
import process from "process";
|
|
3
6
|
import { compilerOptionsKeys as type_config_compilerOptionsKeys, configKeys as type_config_configKeys } from "@lynx-js/type-config";
|
|
4
|
-
import { createRequire as __rspack_createRequire } from "node:module";
|
|
5
|
-
const __rspack_createRequire_require = __rspack_createRequire(import.meta.url);
|
|
6
7
|
var __webpack_modules__ = {};
|
|
7
8
|
var __webpack_module_cache__ = {};
|
|
8
9
|
function __webpack_require__(moduleId) {
|
|
@@ -45,14 +46,6 @@ __webpack_require__.m = __webpack_modules__;
|
|
|
45
46
|
__webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
|
|
46
47
|
})();
|
|
47
48
|
__webpack_require__.add({
|
|
48
|
-
"../../../node_modules/.pnpm/has-flag@4.0.0/node_modules/has-flag/index.js" (module) {
|
|
49
|
-
module.exports = (flag, argv = process.argv)=>{
|
|
50
|
-
const prefix = flag.startsWith('-') ? '' : 1 === flag.length ? '-' : '--';
|
|
51
|
-
const position = argv.indexOf(prefix + flag);
|
|
52
|
-
const terminatorPosition = argv.indexOf('--');
|
|
53
|
-
return -1 !== position && (-1 === terminatorPosition || position < terminatorPosition);
|
|
54
|
-
};
|
|
55
|
-
},
|
|
56
49
|
"../../../node_modules/.pnpm/isobject@3.0.1/node_modules/isobject/index.js" (module) {
|
|
57
50
|
/*!
|
|
58
51
|
* isobject <https://github.com/jonschlinkert/isobject>
|
|
@@ -151,141 +144,6 @@ __webpack_require__.add({
|
|
|
151
144
|
};
|
|
152
145
|
module.exports = createColors();
|
|
153
146
|
module.exports.createColors = createColors;
|
|
154
|
-
},
|
|
155
|
-
"../../../node_modules/.pnpm/supports-color@7.2.0/node_modules/supports-color/index.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
156
|
-
const os = __webpack_require__("os");
|
|
157
|
-
const tty = __webpack_require__("tty");
|
|
158
|
-
const hasFlag = __webpack_require__("../../../node_modules/.pnpm/has-flag@4.0.0/node_modules/has-flag/index.js");
|
|
159
|
-
const { env } = process;
|
|
160
|
-
let forceColor;
|
|
161
|
-
if (hasFlag('no-color') || hasFlag('no-colors') || hasFlag('color=false') || hasFlag('color=never')) forceColor = 0;
|
|
162
|
-
else if (hasFlag('color') || hasFlag('colors') || hasFlag('color=true') || hasFlag('color=always')) forceColor = 1;
|
|
163
|
-
if ('FORCE_COLOR' in env) forceColor = 'true' === env.FORCE_COLOR ? 1 : 'false' === env.FORCE_COLOR ? 0 : 0 === env.FORCE_COLOR.length ? 1 : Math.min(parseInt(env.FORCE_COLOR, 10), 3);
|
|
164
|
-
function translateLevel(level) {
|
|
165
|
-
if (0 === level) return false;
|
|
166
|
-
return {
|
|
167
|
-
level,
|
|
168
|
-
hasBasic: true,
|
|
169
|
-
has256: level >= 2,
|
|
170
|
-
has16m: level >= 3
|
|
171
|
-
};
|
|
172
|
-
}
|
|
173
|
-
function supportsColor(haveStream, streamIsTTY) {
|
|
174
|
-
if (0 === forceColor) return 0;
|
|
175
|
-
if (hasFlag('color=16m') || hasFlag('color=full') || hasFlag('color=truecolor')) return 3;
|
|
176
|
-
if (hasFlag('color=256')) return 2;
|
|
177
|
-
if (haveStream && !streamIsTTY && void 0 === forceColor) return 0;
|
|
178
|
-
const min = forceColor || 0;
|
|
179
|
-
if ('dumb' === env.TERM) return min;
|
|
180
|
-
if ('win32' === process.platform) {
|
|
181
|
-
const osRelease = os.release().split('.');
|
|
182
|
-
if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) return Number(osRelease[2]) >= 14931 ? 3 : 2;
|
|
183
|
-
return 1;
|
|
184
|
-
}
|
|
185
|
-
if ('CI' in env) {
|
|
186
|
-
if ([
|
|
187
|
-
'TRAVIS',
|
|
188
|
-
'CIRCLECI',
|
|
189
|
-
'APPVEYOR',
|
|
190
|
-
'GITLAB_CI',
|
|
191
|
-
'GITHUB_ACTIONS',
|
|
192
|
-
'BUILDKITE'
|
|
193
|
-
].some((sign)=>sign in env) || 'codeship' === env.CI_NAME) return 1;
|
|
194
|
-
return min;
|
|
195
|
-
}
|
|
196
|
-
if ('TEAMCITY_VERSION' in env) return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
|
|
197
|
-
if ('truecolor' === env.COLORTERM) return 3;
|
|
198
|
-
if ('TERM_PROGRAM' in env) {
|
|
199
|
-
const version = parseInt((env.TERM_PROGRAM_VERSION || '').split('.')[0], 10);
|
|
200
|
-
switch(env.TERM_PROGRAM){
|
|
201
|
-
case 'iTerm.app':
|
|
202
|
-
return version >= 3 ? 3 : 2;
|
|
203
|
-
case 'Apple_Terminal':
|
|
204
|
-
return 2;
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
if (/-256(color)?$/i.test(env.TERM)) return 2;
|
|
208
|
-
if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) return 1;
|
|
209
|
-
if ('COLORTERM' in env) return 1;
|
|
210
|
-
return min;
|
|
211
|
-
}
|
|
212
|
-
function getSupportLevel(stream) {
|
|
213
|
-
const level = supportsColor(stream, stream && stream.isTTY);
|
|
214
|
-
return translateLevel(level);
|
|
215
|
-
}
|
|
216
|
-
module.exports = {
|
|
217
|
-
supportsColor: getSupportLevel,
|
|
218
|
-
stdout: translateLevel(supportsColor(true, tty.isatty(1))),
|
|
219
|
-
stderr: translateLevel(supportsColor(true, tty.isatty(2)))
|
|
220
|
-
};
|
|
221
|
-
},
|
|
222
|
-
"../../../node_modules/.pnpm/supports-hyperlinks@3.2.0/node_modules/supports-hyperlinks/index.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
223
|
-
const supportsColor = __webpack_require__("../../../node_modules/.pnpm/supports-color@7.2.0/node_modules/supports-color/index.js");
|
|
224
|
-
const hasFlag = __webpack_require__("../../../node_modules/.pnpm/has-flag@4.0.0/node_modules/has-flag/index.js");
|
|
225
|
-
function parseVersion(versionString) {
|
|
226
|
-
if (/^\d{3,4}$/.test(versionString)) {
|
|
227
|
-
const m = /(\d{1,2})(\d{2})/.exec(versionString) || [];
|
|
228
|
-
return {
|
|
229
|
-
major: 0,
|
|
230
|
-
minor: parseInt(m[1], 10),
|
|
231
|
-
patch: parseInt(m[2], 10)
|
|
232
|
-
};
|
|
233
|
-
}
|
|
234
|
-
const versions = (versionString || '').split('.').map((n)=>parseInt(n, 10));
|
|
235
|
-
return {
|
|
236
|
-
major: versions[0],
|
|
237
|
-
minor: versions[1],
|
|
238
|
-
patch: versions[2]
|
|
239
|
-
};
|
|
240
|
-
}
|
|
241
|
-
function supportsHyperlink(stream) {
|
|
242
|
-
const { CI, FORCE_HYPERLINK, NETLIFY, TEAMCITY_VERSION, TERM_PROGRAM, TERM_PROGRAM_VERSION, VTE_VERSION, TERM } = process.env;
|
|
243
|
-
if (FORCE_HYPERLINK) return !(FORCE_HYPERLINK.length > 0 && 0 === parseInt(FORCE_HYPERLINK, 10));
|
|
244
|
-
if (hasFlag('no-hyperlink') || hasFlag('no-hyperlinks') || hasFlag('hyperlink=false') || hasFlag('hyperlink=never')) return false;
|
|
245
|
-
if (hasFlag('hyperlink=true') || hasFlag('hyperlink=always')) return true;
|
|
246
|
-
if (NETLIFY) return true;
|
|
247
|
-
if (!supportsColor.supportsColor(stream)) return false;
|
|
248
|
-
if (stream && !stream.isTTY) return false;
|
|
249
|
-
if ('WT_SESSION' in process.env) return true;
|
|
250
|
-
if ('win32' === process.platform) return false;
|
|
251
|
-
if (CI) return false;
|
|
252
|
-
if (TEAMCITY_VERSION) return false;
|
|
253
|
-
if (TERM_PROGRAM) {
|
|
254
|
-
const version = parseVersion(TERM_PROGRAM_VERSION || '');
|
|
255
|
-
switch(TERM_PROGRAM){
|
|
256
|
-
case 'iTerm.app':
|
|
257
|
-
if (3 === version.major) return version.minor >= 1;
|
|
258
|
-
return version.major > 3;
|
|
259
|
-
case 'WezTerm':
|
|
260
|
-
return version.major >= 20200620;
|
|
261
|
-
case 'vscode':
|
|
262
|
-
return version.major > 1 || 1 === version.major && version.minor >= 72;
|
|
263
|
-
case 'ghostty':
|
|
264
|
-
return true;
|
|
265
|
-
}
|
|
266
|
-
}
|
|
267
|
-
if (VTE_VERSION) {
|
|
268
|
-
if ('0.50.0' === VTE_VERSION) return false;
|
|
269
|
-
const version = parseVersion(VTE_VERSION);
|
|
270
|
-
return version.major > 0 || version.minor >= 50;
|
|
271
|
-
}
|
|
272
|
-
switch(TERM){
|
|
273
|
-
case 'alacritty':
|
|
274
|
-
return true;
|
|
275
|
-
}
|
|
276
|
-
return false;
|
|
277
|
-
}
|
|
278
|
-
module.exports = {
|
|
279
|
-
supportsHyperlink,
|
|
280
|
-
stdout: supportsHyperlink(process.stdout),
|
|
281
|
-
stderr: supportsHyperlink(process.stderr)
|
|
282
|
-
};
|
|
283
|
-
},
|
|
284
|
-
os (module) {
|
|
285
|
-
module.exports = __rspack_createRequire_require("os");
|
|
286
|
-
},
|
|
287
|
-
tty (module) {
|
|
288
|
-
module.exports = __rspack_createRequire_require("tty");
|
|
289
147
|
}
|
|
290
148
|
});
|
|
291
149
|
const isBrowser = globalThis.window?.document !== void 0;
|
|
@@ -323,11 +181,183 @@ const base_link = (text, url)=>[
|
|
|
323
181
|
SEP,
|
|
324
182
|
BEL
|
|
325
183
|
].join('');
|
|
326
|
-
|
|
184
|
+
function hasFlag(flag, argv = globalThis.Deno ? globalThis.Deno.args : node_process.argv) {
|
|
185
|
+
const prefix = flag.startsWith('-') ? '' : 1 === flag.length ? '-' : '--';
|
|
186
|
+
const position = argv.indexOf(prefix + flag);
|
|
187
|
+
const terminatorPosition = argv.indexOf('--');
|
|
188
|
+
return -1 !== position && (-1 === terminatorPosition || position < terminatorPosition);
|
|
189
|
+
}
|
|
190
|
+
const { env: env } = node_process;
|
|
191
|
+
let flagForceColor;
|
|
192
|
+
if (hasFlag('no-color') || hasFlag('no-colors') || hasFlag('color=false') || hasFlag('color=never')) flagForceColor = 0;
|
|
193
|
+
else if (hasFlag('color') || hasFlag('colors') || hasFlag('color=true') || hasFlag('color=always')) flagForceColor = 1;
|
|
194
|
+
function envForceColor() {
|
|
195
|
+
if (!('FORCE_COLOR' in env)) return;
|
|
196
|
+
if ('true' === env.FORCE_COLOR) return 1;
|
|
197
|
+
if ('false' === env.FORCE_COLOR) return 0;
|
|
198
|
+
if (0 === env.FORCE_COLOR.length) return 1;
|
|
199
|
+
const level = Math.min(Number.parseInt(env.FORCE_COLOR, 10), 3);
|
|
200
|
+
if (![
|
|
201
|
+
0,
|
|
202
|
+
1,
|
|
203
|
+
2,
|
|
204
|
+
3
|
|
205
|
+
].includes(level)) return;
|
|
206
|
+
return level;
|
|
207
|
+
}
|
|
208
|
+
function translateLevel(level) {
|
|
209
|
+
if (0 === level) return false;
|
|
210
|
+
return {
|
|
211
|
+
level,
|
|
212
|
+
hasBasic: true,
|
|
213
|
+
has256: level >= 2,
|
|
214
|
+
has16m: level >= 3
|
|
215
|
+
};
|
|
216
|
+
}
|
|
217
|
+
function _supportsColor(haveStream, { streamIsTTY, sniffFlags = true } = {}) {
|
|
218
|
+
const noFlagForceColor = envForceColor();
|
|
219
|
+
if (void 0 !== noFlagForceColor) flagForceColor = noFlagForceColor;
|
|
220
|
+
const forceColor = sniffFlags ? flagForceColor : noFlagForceColor;
|
|
221
|
+
if (0 === forceColor) return 0;
|
|
222
|
+
if (sniffFlags) {
|
|
223
|
+
if (hasFlag('color=16m') || hasFlag('color=full') || hasFlag('color=truecolor')) return 3;
|
|
224
|
+
if (hasFlag('color=256')) return 2;
|
|
225
|
+
}
|
|
226
|
+
if ('TF_BUILD' in env && 'AGENT_NAME' in env) return 1;
|
|
227
|
+
if (haveStream && !streamIsTTY && void 0 === forceColor) return 0;
|
|
228
|
+
const min = forceColor || 0;
|
|
229
|
+
if ('dumb' === env.TERM) return min;
|
|
230
|
+
if ('win32' === node_process.platform) {
|
|
231
|
+
const osRelease = node_os.release().split('.');
|
|
232
|
+
if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) return Number(osRelease[2]) >= 14931 ? 3 : 2;
|
|
233
|
+
return 1;
|
|
234
|
+
}
|
|
235
|
+
if ('CI' in env) {
|
|
236
|
+
if ([
|
|
237
|
+
'GITHUB_ACTIONS',
|
|
238
|
+
'GITEA_ACTIONS',
|
|
239
|
+
'CIRCLECI'
|
|
240
|
+
].some((key)=>key in env)) return 3;
|
|
241
|
+
if ([
|
|
242
|
+
'TRAVIS',
|
|
243
|
+
'APPVEYOR',
|
|
244
|
+
'GITLAB_CI',
|
|
245
|
+
'BUILDKITE',
|
|
246
|
+
'DRONE'
|
|
247
|
+
].some((sign)=>sign in env) || 'codeship' === env.CI_NAME) return 1;
|
|
248
|
+
return min;
|
|
249
|
+
}
|
|
250
|
+
if ('TEAMCITY_VERSION' in env) return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
|
|
251
|
+
if ('truecolor' === env.COLORTERM) return 3;
|
|
252
|
+
if ('xterm-kitty' === env.TERM) return 3;
|
|
253
|
+
if ('xterm-ghostty' === env.TERM) return 3;
|
|
254
|
+
if ('wezterm' === env.TERM) return 3;
|
|
255
|
+
if ('TERM_PROGRAM' in env) {
|
|
256
|
+
const version = Number.parseInt((env.TERM_PROGRAM_VERSION || '').split('.')[0], 10);
|
|
257
|
+
switch(env.TERM_PROGRAM){
|
|
258
|
+
case 'iTerm.app':
|
|
259
|
+
return version >= 3 ? 3 : 2;
|
|
260
|
+
case 'Apple_Terminal':
|
|
261
|
+
return 2;
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
if (/-256(color)?$/i.test(env.TERM)) return 2;
|
|
265
|
+
if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) return 1;
|
|
266
|
+
if ('COLORTERM' in env) return 1;
|
|
267
|
+
return min;
|
|
268
|
+
}
|
|
269
|
+
function createSupportsColor(stream, options = {}) {
|
|
270
|
+
const level = _supportsColor(stream, {
|
|
271
|
+
streamIsTTY: stream && stream.isTTY,
|
|
272
|
+
...options
|
|
273
|
+
});
|
|
274
|
+
return translateLevel(level);
|
|
275
|
+
}
|
|
276
|
+
createSupportsColor({
|
|
277
|
+
isTTY: node_tty.isatty(1)
|
|
278
|
+
}), createSupportsColor({
|
|
279
|
+
isTTY: node_tty.isatty(2)
|
|
280
|
+
});
|
|
281
|
+
function has_flag_hasFlag(flag, argv = process.argv) {
|
|
282
|
+
const prefix = flag.startsWith('-') ? '' : 1 === flag.length ? '-' : '--';
|
|
283
|
+
const position = argv.indexOf(prefix + flag);
|
|
284
|
+
const terminatorPosition = argv.indexOf('--');
|
|
285
|
+
return -1 !== position && (-1 === terminatorPosition || position < terminatorPosition);
|
|
286
|
+
}
|
|
287
|
+
function parseVersion(versionString = '') {
|
|
288
|
+
if (/^\d{3,4}$/.test(versionString)) {
|
|
289
|
+
const match = /(\d{1,2})(\d{2})/.exec(versionString) ?? [];
|
|
290
|
+
return {
|
|
291
|
+
major: 0,
|
|
292
|
+
minor: Number.parseInt(match[1], 10),
|
|
293
|
+
patch: Number.parseInt(match[2], 10)
|
|
294
|
+
};
|
|
295
|
+
}
|
|
296
|
+
const versions = (versionString ?? '').split('.').map((n)=>Number.parseInt(n, 10));
|
|
297
|
+
return {
|
|
298
|
+
major: versions[0],
|
|
299
|
+
minor: versions[1],
|
|
300
|
+
patch: versions[2]
|
|
301
|
+
};
|
|
302
|
+
}
|
|
303
|
+
function createSupportsHyperlinks(stream) {
|
|
304
|
+
const { CI, CURSOR_TRACE_ID, FORCE_HYPERLINK, NETLIFY, TEAMCITY_VERSION, TERM_PROGRAM, TERM_PROGRAM_VERSION, VTE_VERSION, TERM } = node_process.env;
|
|
305
|
+
if (FORCE_HYPERLINK) return !(FORCE_HYPERLINK.length > 0 && 0 === Number.parseInt(FORCE_HYPERLINK, 10));
|
|
306
|
+
if (has_flag_hasFlag('no-hyperlink') || has_flag_hasFlag('no-hyperlinks') || has_flag_hasFlag('hyperlink=false') || has_flag_hasFlag('hyperlink=never')) return false;
|
|
307
|
+
if (has_flag_hasFlag('hyperlink=true') || has_flag_hasFlag('hyperlink=always')) return true;
|
|
308
|
+
if (NETLIFY) return true;
|
|
309
|
+
if (!createSupportsColor(stream)) return false;
|
|
310
|
+
if (stream && !stream.isTTY) return false;
|
|
311
|
+
if ("WT_SESSION" in node_process.env) return true;
|
|
312
|
+
if ('win32' === node_process.platform) return false;
|
|
313
|
+
if (CI) return false;
|
|
314
|
+
if (TEAMCITY_VERSION) return false;
|
|
315
|
+
if (TERM_PROGRAM) {
|
|
316
|
+
const version = parseVersion(TERM_PROGRAM_VERSION);
|
|
317
|
+
switch(TERM_PROGRAM){
|
|
318
|
+
case 'iTerm.app':
|
|
319
|
+
if (3 === version.major) return version.minor >= 1;
|
|
320
|
+
return version.major > 3;
|
|
321
|
+
case 'WezTerm':
|
|
322
|
+
if (/^0-unstable-\d{4}-\d{2}-\d{2}$/.test(TERM_PROGRAM_VERSION)) {
|
|
323
|
+
const date = TERM_PROGRAM_VERSION.slice(11);
|
|
324
|
+
return date >= '2020-06-20';
|
|
325
|
+
}
|
|
326
|
+
return version.major >= 20200620;
|
|
327
|
+
case 'vscode':
|
|
328
|
+
if (CURSOR_TRACE_ID) return true;
|
|
329
|
+
return version.major > 1 || 1 === version.major && version.minor >= 72;
|
|
330
|
+
case 'ghostty':
|
|
331
|
+
return true;
|
|
332
|
+
case 'zed':
|
|
333
|
+
return true;
|
|
334
|
+
case 'Orca':
|
|
335
|
+
return true;
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
if (VTE_VERSION) {
|
|
339
|
+
if ('0.50.0' === VTE_VERSION) return false;
|
|
340
|
+
const version = parseVersion(VTE_VERSION);
|
|
341
|
+
return version.major > 0 || version.minor >= 50;
|
|
342
|
+
}
|
|
343
|
+
switch(TERM){
|
|
344
|
+
case 'alacritty':
|
|
345
|
+
return true;
|
|
346
|
+
case 'xterm-kitty':
|
|
347
|
+
return true;
|
|
348
|
+
}
|
|
349
|
+
return false;
|
|
350
|
+
}
|
|
351
|
+
const supportsHyperlinks = {
|
|
352
|
+
stdout: createSupportsHyperlinks(node_process.stdout),
|
|
353
|
+
stderr: createSupportsHyperlinks(node_process.stderr)
|
|
354
|
+
};
|
|
355
|
+
const supports_hyperlinks = supportsHyperlinks;
|
|
327
356
|
function terminalLink(text, url, { target = 'stdout', ...options } = {}) {
|
|
328
357
|
if (!supports_hyperlinks[target]) {
|
|
329
358
|
if (false === options.fallback) return text;
|
|
330
|
-
|
|
359
|
+
if ('function' == typeof options.fallback) return options.fallback(text, url);
|
|
360
|
+
return `${text} ${url}`;
|
|
331
361
|
}
|
|
332
362
|
return base_link(text, url);
|
|
333
363
|
}
|
|
@@ -505,211 +535,50 @@ const typiaPathToStandardSchemaPath = (path)=>{
|
|
|
505
535
|
const picocolors = __webpack_require__("../../../node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.js");
|
|
506
536
|
var picocolors_default = /*#__PURE__*/ __webpack_require__.n(picocolors);
|
|
507
537
|
const validateConfig = (()=>{
|
|
508
|
-
const _io0 = (input, _exceptionable = true)=>(void 0 === input.absoluteInContentBound || "boolean" == typeof input.absoluteInContentBound) && (void 0 === input.asyncRedirect || "boolean" == typeof input.asyncRedirect) && (void 0 === input.autoExpose || "boolean" == typeof input.autoExpose) && (void 0 === input.CSSAlignWithLegacyW3C || "boolean" == typeof input.CSSAlignWithLegacyW3C) && (void 0 === input.customCSSInheritanceList || Array.isArray(input.customCSSInheritanceList) && input.customCSSInheritanceList.every((elem, _index1)=>"string" == typeof elem)) && (void 0 === input.dataStrictMode || "boolean" == typeof input.dataStrictMode) && (void 0 === input.disableLongpressAfterScroll || "boolean" == typeof input.disableLongpressAfterScroll) && (void 0 === input.disableQuickTracingGC || "boolean" == typeof input.disableQuickTracingGC) && (void 0 === input.enableA11y || "boolean" == typeof input.enableA11y) && (void 0 === input.enableAccessibilityElement || "boolean" == typeof input.enableAccessibilityElement) && (void 0 === input.enableAsyncInitVideoEngine || "boolean" == typeof input.enableAsyncInitVideoEngine) && (void 0 === input.enableAsyncRequestImage || "boolean" == typeof input.enableAsyncRequestImage) && (void 0 === input.enableAsyncResolveSubtree || "boolean" == typeof input.enableAsyncResolveSubtree) && (void 0 === input.enableCheckExposureOptimize || "boolean" == typeof input.enableCheckExposureOptimize) && (void 0 === input.enableCheckLocalImage || "boolean" == typeof input.enableCheckLocalImage) && (void 0 === input.enableCircularDataCheck || "boolean" == typeof input.enableCircularDataCheck) && (void 0 === input.enableComponentAsyncDecode || "boolean" == typeof input.enableComponentAsyncDecode) && (void 0 === input.enableComponentNullProp || "boolean" == typeof input.enableComponentNullProp) && (void 0 === input.enableCreateViewAsync || "boolean" == typeof input.enableCreateViewAsync) && (void 0 === input.enableCSSInheritance || "boolean" == typeof input.enableCSSInheritance) && (void 0 === input.enableCSSInlineVariables || "boolean" == typeof input.enableCSSInlineVariables) && (void 0 === input.enableCSSLazyImport || "boolean" == typeof input.enableCSSLazyImport) && (void 0 === input.enableDisexposureWhenLynxHidden || "boolean" == typeof input.enableDisexposureWhenLynxHidden) && (void 0 === input.enableEndGestureAtLastFingerUp || "boolean" == typeof input.enableEndGestureAtLastFingerUp) && (void 0 === input.enableEventHandleRefactor || "boolean" == typeof input.enableEventHandleRefactor) && (void 0 === input.enableEventThrough || "boolean" == typeof input.enableEventThrough) && (void 0 === input.enableExposureUIMargin || "boolean" == typeof input.enableExposureUIMargin) && (void 0 === input.enableExposureWhenLayout || "boolean" == typeof input.enableExposureWhenLayout) && (void 0 === input.enableExposureWhenReload || "boolean" == typeof input.enableExposureWhenReload) && (void 0 === input.enableFixedNew || "boolean" == typeof input.enableFixedNew) && (void 0 === input.enableHarmonyNewOverlay || "boolean" == typeof input.enableHarmonyNewOverlay) && (void 0 === input.enableHarmonyVisibleAreaChangeForExposure || "boolean" == typeof input.enableHarmonyVisibleAreaChangeForExposure) && (void 0 === input.enableICU || "boolean" == typeof input.enableICU) && (void 0 === input.enableImageDownsampling || "boolean" == typeof input.enableImageDownsampling) && (void 0 === input.enableJsBindingApiThrowException || "boolean" == typeof input.enableJsBindingApiThrowException) && (void 0 === input.enableJSDataProcessor || "boolean" == typeof input.enableJSDataProcessor) && (void 0 === input.enableListMoveOperation || "boolean" == typeof input.enableListMoveOperation) && (void 0 === input.enableListNewArchitecture || "boolean" == typeof input.enableListNewArchitecture) && (void 0 === input.enableListPlug || "boolean" == typeof input.enableListPlug) && (void 0 === input.enableLynxScrollFluency || "number" == typeof input.enableLynxScrollFluency || "boolean" == typeof input.enableLynxScrollFluency) && (void 0 === input.enableMicrotaskPromisePolyfill || "boolean" == typeof input.enableMicrotaskPromisePolyfill) && (void 0 === input.enableMultiTouch || "boolean" == typeof input.enableMultiTouch) && (void 0 === input.enableMultiTouchParamsCompatible || "boolean" == typeof input.enableMultiTouchParamsCompatible) && (void 0 === input.enableNativeList || "boolean" == typeof input.enableNativeList) && (void 0 === input.enableNewAnimator || "boolean" == typeof input.enableNewAnimator) && (void 0 === input.enableNewClipMode || "boolean" == typeof input.enableNewClipMode) && (void 0 === input.enableNewGesture || "boolean" == typeof input.enableNewGesture) && (void 0 === input.enableNewImage || "boolean" == typeof input.enableNewImage) && (void 0 === input.enableNewIntersectionObserver || "boolean" == typeof input.enableNewIntersectionObserver) && (void 0 === input.enableNewListContainer || "boolean" == typeof input.enableNewListContainer) && (void 0 === input.enableNewTransformOrigin || "boolean" == typeof input.enableNewTransformOrigin) && (void 0 === input.enablePlatformGesture || "boolean" == typeof input.enablePlatformGesture) && (void 0 === input.enablePropertyBasedSimpleStyle || "boolean" == typeof input.enablePropertyBasedSimpleStyle) && (void 0 === input.enableQueryComponentSync || "boolean" == typeof input.enableQueryComponentSync) && (void 0 === input.enableReactOnlyPropsId || "boolean" == typeof input.enableReactOnlyPropsId) && (void 0 === input.enableReduceInitDataCopy || "boolean" == typeof input.enableReduceInitDataCopy) && (void 0 === input.enableReloadLifecycle || "boolean" == typeof input.enableReloadLifecycle) && (void 0 === input.enableRemoveComponentExtraData || "boolean" == typeof input.enableRemoveComponentExtraData) && (void 0 === input.enableReuseLoadScriptExports || "boolean" == typeof input.enableReuseLoadScriptExports) && (void 0 === input.enableSignalAPI || "boolean" == typeof input.enableSignalAPI) && (void 0 === input.enableSimultaneousTap || "boolean" == typeof input.enableSimultaneousTap) && (void 0 === input.enableTextBoringLayout || "boolean" == typeof input.enableTextBoringLayout) && (void 0 === input.enableTextGradientOpt || "boolean" == typeof input.enableTextGradientOpt) && (void 0 === input.enableTextLanguageAlignment || "boolean" == typeof input.enableTextLanguageAlignment) && (void 0 === input.enableTextLayerRender || "boolean" == typeof input.enableTextLayerRender) && (void 0 === input.enableTextLayoutCache || "boolean" == typeof input.enableTextLayoutCache) && (void 0 === input.enableTextNonContiguousLayout || "boolean" == typeof input.enableTextNonContiguousLayout) && (void 0 === input.enableTextOverflow || "boolean" == typeof input.enableTextOverflow) && (void 0 === input.enableTextRefactor || "boolean" == typeof input.enableTextRefactor) && (void 0 === input.enableTouchRefactor || "boolean" == typeof input.enableTouchRefactor) && (void 0 === input.enableUIOperationOptimize || "boolean" == typeof input.enableUIOperationOptimize) && (void 0 === input.enableUnifiedPipeline || "boolean" == typeof input.enableUnifiedPipeline) && (void 0 === input.enableUseContextPool || "boolean" == typeof input.enableUseContextPool) && (void 0 === input.enableUseMapBuffer || "boolean" == typeof input.enableUseMapBuffer) && (void 0 === input.enableViewReceiveTouch || "boolean" == typeof input.enableViewReceiveTouch) && (void 0 === input.enableVsyncAlignedFlush || "boolean" == typeof input.enableVsyncAlignedFlush) && (void 0 === input.enableXTextLayoutReused || "boolean" == typeof input.enableXTextLayoutReused) && (void 0 === input.extendedLayoutOnlyOpt || "boolean" == typeof input.extendedLayoutOnlyOpt) && (void 0 === input.extraInfo || "object" == typeof input.extraInfo && null !== input.extraInfo && false === Array.isArray(input.extraInfo) && _io1(input.extraInfo, _exceptionable)) && (void 0 === input.flatten || "boolean" == typeof input.flatten) && (void 0 === input.fontScaleEffectiveOnlyOnSp || "boolean" == typeof input.fontScaleEffectiveOnlyOnSp) && (void 0 === input.implicit || "boolean" == typeof input.implicit) && (void 0 === input.includeFontPadding || "boolean" == typeof input.includeFontPadding) && (void 0 === input.keyboardCallbackPassRelativeHeight || "boolean" == typeof input.keyboardCallbackPassRelativeHeight) && (void 0 === input.longPressDuration || "number" == typeof input.longPressDuration) && (void 0 === input.observerFrameRate || "number" == typeof input.observerFrameRate) && (void 0 === input.pipelineSchedulerConfig || "number" == typeof input.pipelineSchedulerConfig) && (void 0 === input.preferredFps || "string" == typeof input.preferredFps) && (void 0 === input.quirksMode || "string" == typeof input.quirksMode || "boolean" == typeof input.quirksMode) && (void 0 === input.removeDescendantSelectorScope || "boolean" == typeof input.removeDescendantSelectorScope) && (void 0 === input.strictPropType || "boolean" == typeof input.strictPropType) && (void 0 === input.tapSlop || "string" == typeof input.tapSlop) && (void 0 === input.trailNewImage || "boolean" == typeof input.trailNewImage) && (void 0 === input.unifyVWVHBehavior || "boolean" == typeof input.unifyVWVHBehavior) && (void 0 === input.useImagePostProcessor || "boolean" == typeof input.useImagePostProcessor) && (void 0 === input.useNewSwiper || "boolean" == typeof input.useNewSwiper) && (void 0 === input.autoResumeAnimation || "boolean" == typeof input.autoResumeAnimation) && (void 0 === input.cli || "string" == typeof input.cli) && (void 0 === input.compileRender || "boolean" == typeof input.compileRender) && (void 0 === input.customData || "string" == typeof input.customData) && (void 0 === input.enableA11yIDMutationObserver || "boolean" == typeof input.enableA11yIDMutationObserver) && (void 0 === input.enableAsyncDisplay || "boolean" == typeof input.enableAsyncDisplay) && (void 0 === input.enableBackgroundShapeLayer || "boolean" == typeof input.enableBackgroundShapeLayer) && (void 0 === input.enableCascadePseudo || "boolean" == typeof input.enableCascadePseudo) && (void 0 === input.enableCheckDataWhenUpdatePage || "boolean" == typeof input.enableCheckDataWhenUpdatePage) && (void 0 === input.enableComponentLayoutOnly || "boolean" == typeof input.enableComponentLayoutOnly) && (void 0 === input.enableGlobalComponentMap || "boolean" == typeof input.enableGlobalComponentMap) && (void 0 === input.enableNativeScheduleCreateViewAsync || "boolean" == typeof input.enableNativeScheduleCreateViewAsync) && (void 0 === input.enableNewAccessibility || "boolean" == typeof input.enableNewAccessibility) && (void 0 === input.enableNewLayoutOnly || "boolean" == typeof input.enableNewLayoutOnly) && (void 0 === input.enableOptPushStyleToBundle || "boolean" == typeof input.enableOptPushStyleToBundle) && (void 0 === input.enableOverlapForAccessibilityElement || "boolean" == typeof input.enableOverlapForAccessibilityElement) && (void 0 === input.fixCSSImportRuleOrder || "boolean" == typeof input.fixCSSImportRuleOrder) && (void 0 === input.forceCalcNewStyle || "boolean" == typeof input.forceCalcNewStyle) && (void 0 === input.reactVersion || "string" == typeof input.reactVersion) && (void 0 === input.redBoxImageSizeWarningThreshold || "number" == typeof input.redBoxImageSizeWarningThreshold) && (void 0 === input.removeComponentElement || "boolean" == typeof input.removeComponentElement) && (void 0 === input.syncImageAttach || "boolean" == typeof input.syncImageAttach) && (void 0 === input.useNewImage || "boolean" == typeof input.useNewImage) && (void 0 === input.version || "string" == typeof input.version) && (void 0 === input.debugInfoOutside || "boolean" == typeof input.debugInfoOutside) && (void 0 === input.defaultDisplayLinear || "boolean" == typeof input.defaultDisplayLinear) && (void 0 === input.defaultOverflowVisible || "boolean" == typeof input.defaultOverflowVisible) && (void 0 === input.disableMultipleCascadeCSS || "boolean" == typeof input.disableMultipleCascadeCSS) && (void 0 === input.enableComponentConfig || "boolean" == typeof input.enableComponentConfig) && (void 0 === input.enableCSSAsyncDecode || "boolean" == typeof input.enableCSSAsyncDecode) && (void 0 === input.enableCSSClassMerge || "boolean" == typeof input.enableCSSClassMerge) && (void 0 === input.enableCSSEngine || "boolean" == typeof input.enableCSSEngine) && (void 0 === input.enableCSSExternalClass || "boolean" == typeof input.enableCSSExternalClass) && (void 0 === input.enableCSSInvalidation || "boolean" == typeof input.enableCSSInvalidation) && (void 0 === input.enableCSSLazyDecode || "boolean" == typeof input.enableCSSLazyDecode) && (void 0 === input.enableCSSSelector || "boolean" == typeof input.enableCSSSelector) && (void 0 === input.enableCSSStrictMode || "boolean" == typeof input.enableCSSStrictMode) && (void 0 === input.enableCSSVariable || "boolean" == typeof input.enableCSSVariable) && (void 0 === input.enableEventRefactor || "boolean" == typeof input.enableEventRefactor) && (void 0 === input.enableFiberArch || "boolean" == typeof input.enableFiberArch) && (void 0 === input.enableFlexibleTemplate || "boolean" == typeof input.enableFlexibleTemplate) && (void 0 === input.enableKeepPageData || "boolean" == typeof input.enableKeepPageData) && (void 0 === input.enableRemoveCSSScope || "boolean" == typeof input.enableRemoveCSSScope) && (void 0 === input.enableSimpleStyling || "boolean" == typeof input.enableSimpleStyling) && (void 0 === input.experimental_encodeQuickjsBytecode || "boolean" == typeof input.experimental_encodeQuickjsBytecode) && (void 0 === input.implicitAnimation || "boolean" == typeof input.implicitAnimation) && (void 0 === input.removeCSSParserLog || "boolean" == typeof input.removeCSSParserLog) && (void 0 === input.targetSdkVersion || "string" == typeof input.targetSdkVersion) && (void 0 === input.templateDebugUrl || "string" == typeof input.templateDebugUrl) && (0 === Object.keys(input).length || Object.keys(input).every((key)=>{
|
|
538
|
+
const _io0 = (input, _exceptionable = true)=>(void 0 === input.disableLongpressAfterScroll || "boolean" == typeof input.disableLongpressAfterScroll) && (void 0 === input.enableA11y || "boolean" == typeof input.enableA11y) && (void 0 === input.enableAccessibilityElement || "boolean" == typeof input.enableAccessibilityElement) && (void 0 === input.enableCSSInheritance || "boolean" == typeof input.enableCSSInheritance) && (void 0 === input.enableCSSInlineVariables || "boolean" == typeof input.enableCSSInlineVariables) && (void 0 === input.enableCSSRule || "boolean" == typeof input.enableCSSRule) && (void 0 === input.enableEndGestureAtLastFingerUp || "boolean" == typeof input.enableEndGestureAtLastFingerUp) && (void 0 === input.enableEventThrough || "boolean" == typeof input.enableEventThrough) && (void 0 === input.enableFetchAPIStandardStreaming || "boolean" == typeof input.enableFetchAPIStandardStreaming) && (void 0 === input.enableFixedNew || "boolean" == typeof input.enableFixedNew) && (void 0 === input.enableFlexBasisZeroPercent || "boolean" == typeof input.enableFlexBasisZeroPercent) && (void 0 === input.enableGridPlacementShorthands || "boolean" == typeof input.enableGridPlacementShorthands) && (void 0 === input.enableJsBindingApiThrowException || "boolean" == typeof input.enableJsBindingApiThrowException) && (void 0 === input.enableListNewArchitecture || "boolean" == typeof input.enableListNewArchitecture) && (void 0 === input.enableMultiTouch || "boolean" == typeof input.enableMultiTouch) && (void 0 === input.enableNativeList || "boolean" == typeof input.enableNativeList) && (void 0 === input.enableNewGesture || "boolean" == typeof input.enableNewGesture) && (void 0 === input.enableNewIntersectionObserver || "boolean" == typeof input.enableNewIntersectionObserver) && (void 0 === input.enableNewTransformOrigin || "boolean" == typeof input.enableNewTransformOrigin) && (void 0 === input.enableParseIntFlex || "boolean" == typeof input.enableParseIntFlex) && (void 0 === input.enableReloadLifecycle || "boolean" == typeof input.enableReloadLifecycle) && (void 0 === input.enableSimultaneousTap || "boolean" == typeof input.enableSimultaneousTap) && (void 0 === input.enableTextOverflow || "boolean" == typeof input.enableTextOverflow) && (void 0 === input.enableTransformedTouchPosition || "boolean" == typeof input.enableTransformedTouchPosition) && (void 0 === input.fontScaleEffectiveOnlyOnSp || "boolean" == typeof input.fontScaleEffectiveOnlyOnSp) && (void 0 === input.includeFontPadding || "boolean" == typeof input.includeFontPadding) && (void 0 === input.keyboardCallbackPassRelativeHeight || "boolean" == typeof input.keyboardCallbackPassRelativeHeight) && (void 0 === input.longPressDuration || "number" == typeof input.longPressDuration) && (void 0 === input.removeDescendantSelectorScope || "boolean" == typeof input.removeDescendantSelectorScope) && (void 0 === input.tapSlop || "string" == typeof input.tapSlop) && (void 0 === input.unifyVWVHBehavior || "boolean" == typeof input.unifyVWVHBehavior) && (0 === Object.keys(input).length || Object.keys(input).every((key)=>{
|
|
509
539
|
if ([
|
|
510
|
-
"absoluteInContentBound",
|
|
511
|
-
"asyncRedirect",
|
|
512
|
-
"autoExpose",
|
|
513
|
-
"CSSAlignWithLegacyW3C",
|
|
514
|
-
"customCSSInheritanceList",
|
|
515
|
-
"dataStrictMode",
|
|
516
540
|
"disableLongpressAfterScroll",
|
|
517
|
-
"disableQuickTracingGC",
|
|
518
541
|
"enableA11y",
|
|
519
542
|
"enableAccessibilityElement",
|
|
520
|
-
"enableAsyncInitVideoEngine",
|
|
521
|
-
"enableAsyncRequestImage",
|
|
522
|
-
"enableAsyncResolveSubtree",
|
|
523
|
-
"enableCheckExposureOptimize",
|
|
524
|
-
"enableCheckLocalImage",
|
|
525
|
-
"enableCircularDataCheck",
|
|
526
|
-
"enableComponentAsyncDecode",
|
|
527
|
-
"enableComponentNullProp",
|
|
528
|
-
"enableCreateViewAsync",
|
|
529
543
|
"enableCSSInheritance",
|
|
530
544
|
"enableCSSInlineVariables",
|
|
531
|
-
"
|
|
532
|
-
"enableDisexposureWhenLynxHidden",
|
|
545
|
+
"enableCSSRule",
|
|
533
546
|
"enableEndGestureAtLastFingerUp",
|
|
534
|
-
"enableEventHandleRefactor",
|
|
535
547
|
"enableEventThrough",
|
|
536
|
-
"
|
|
537
|
-
"enableExposureWhenLayout",
|
|
538
|
-
"enableExposureWhenReload",
|
|
548
|
+
"enableFetchAPIStandardStreaming",
|
|
539
549
|
"enableFixedNew",
|
|
540
|
-
"
|
|
541
|
-
"
|
|
542
|
-
"enableICU",
|
|
543
|
-
"enableImageDownsampling",
|
|
550
|
+
"enableFlexBasisZeroPercent",
|
|
551
|
+
"enableGridPlacementShorthands",
|
|
544
552
|
"enableJsBindingApiThrowException",
|
|
545
|
-
"enableJSDataProcessor",
|
|
546
|
-
"enableListMoveOperation",
|
|
547
553
|
"enableListNewArchitecture",
|
|
548
|
-
"enableListPlug",
|
|
549
|
-
"enableLynxScrollFluency",
|
|
550
|
-
"enableMicrotaskPromisePolyfill",
|
|
551
554
|
"enableMultiTouch",
|
|
552
|
-
"enableMultiTouchParamsCompatible",
|
|
553
555
|
"enableNativeList",
|
|
554
|
-
"enableNewAnimator",
|
|
555
|
-
"enableNewClipMode",
|
|
556
556
|
"enableNewGesture",
|
|
557
|
-
"enableNewImage",
|
|
558
557
|
"enableNewIntersectionObserver",
|
|
559
|
-
"enableNewListContainer",
|
|
560
558
|
"enableNewTransformOrigin",
|
|
561
|
-
"
|
|
562
|
-
"enablePropertyBasedSimpleStyle",
|
|
563
|
-
"enableQueryComponentSync",
|
|
564
|
-
"enableReactOnlyPropsId",
|
|
565
|
-
"enableReduceInitDataCopy",
|
|
559
|
+
"enableParseIntFlex",
|
|
566
560
|
"enableReloadLifecycle",
|
|
567
|
-
"enableRemoveComponentExtraData",
|
|
568
|
-
"enableReuseLoadScriptExports",
|
|
569
|
-
"enableSignalAPI",
|
|
570
561
|
"enableSimultaneousTap",
|
|
571
|
-
"enableTextBoringLayout",
|
|
572
|
-
"enableTextGradientOpt",
|
|
573
|
-
"enableTextLanguageAlignment",
|
|
574
|
-
"enableTextLayerRender",
|
|
575
|
-
"enableTextLayoutCache",
|
|
576
|
-
"enableTextNonContiguousLayout",
|
|
577
562
|
"enableTextOverflow",
|
|
578
|
-
"
|
|
579
|
-
"enableTouchRefactor",
|
|
580
|
-
"enableUIOperationOptimize",
|
|
581
|
-
"enableUnifiedPipeline",
|
|
582
|
-
"enableUseContextPool",
|
|
583
|
-
"enableUseMapBuffer",
|
|
584
|
-
"enableViewReceiveTouch",
|
|
585
|
-
"enableVsyncAlignedFlush",
|
|
586
|
-
"enableXTextLayoutReused",
|
|
587
|
-
"extendedLayoutOnlyOpt",
|
|
588
|
-
"extraInfo",
|
|
589
|
-
"flatten",
|
|
563
|
+
"enableTransformedTouchPosition",
|
|
590
564
|
"fontScaleEffectiveOnlyOnSp",
|
|
591
|
-
"implicit",
|
|
592
565
|
"includeFontPadding",
|
|
593
566
|
"keyboardCallbackPassRelativeHeight",
|
|
594
567
|
"longPressDuration",
|
|
595
|
-
"observerFrameRate",
|
|
596
|
-
"pipelineSchedulerConfig",
|
|
597
|
-
"preferredFps",
|
|
598
|
-
"quirksMode",
|
|
599
568
|
"removeDescendantSelectorScope",
|
|
600
|
-
"strictPropType",
|
|
601
569
|
"tapSlop",
|
|
602
|
-
"
|
|
603
|
-
"unifyVWVHBehavior",
|
|
604
|
-
"useImagePostProcessor",
|
|
605
|
-
"useNewSwiper",
|
|
606
|
-
"autoResumeAnimation",
|
|
607
|
-
"cli",
|
|
608
|
-
"compileRender",
|
|
609
|
-
"customData",
|
|
610
|
-
"enableA11yIDMutationObserver",
|
|
611
|
-
"enableAsyncDisplay",
|
|
612
|
-
"enableBackgroundShapeLayer",
|
|
613
|
-
"enableCascadePseudo",
|
|
614
|
-
"enableCheckDataWhenUpdatePage",
|
|
615
|
-
"enableComponentLayoutOnly",
|
|
616
|
-
"enableGlobalComponentMap",
|
|
617
|
-
"enableNativeScheduleCreateViewAsync",
|
|
618
|
-
"enableNewAccessibility",
|
|
619
|
-
"enableNewLayoutOnly",
|
|
620
|
-
"enableOptPushStyleToBundle",
|
|
621
|
-
"enableOverlapForAccessibilityElement",
|
|
622
|
-
"fixCSSImportRuleOrder",
|
|
623
|
-
"forceCalcNewStyle",
|
|
624
|
-
"reactVersion",
|
|
625
|
-
"redBoxImageSizeWarningThreshold",
|
|
626
|
-
"removeComponentElement",
|
|
627
|
-
"syncImageAttach",
|
|
628
|
-
"useNewImage",
|
|
629
|
-
"version",
|
|
630
|
-
"debugInfoOutside",
|
|
631
|
-
"defaultDisplayLinear",
|
|
632
|
-
"defaultOverflowVisible",
|
|
633
|
-
"disableMultipleCascadeCSS",
|
|
634
|
-
"enableComponentConfig",
|
|
635
|
-
"enableCSSAsyncDecode",
|
|
636
|
-
"enableCSSClassMerge",
|
|
637
|
-
"enableCSSEngine",
|
|
638
|
-
"enableCSSExternalClass",
|
|
639
|
-
"enableCSSInvalidation",
|
|
640
|
-
"enableCSSLazyDecode",
|
|
641
|
-
"enableCSSSelector",
|
|
642
|
-
"enableCSSStrictMode",
|
|
643
|
-
"enableCSSVariable",
|
|
644
|
-
"enableEventRefactor",
|
|
645
|
-
"enableFiberArch",
|
|
646
|
-
"enableFlexibleTemplate",
|
|
647
|
-
"enableKeepPageData",
|
|
648
|
-
"enableRemoveCSSScope",
|
|
649
|
-
"enableSimpleStyling",
|
|
650
|
-
"experimental_encodeQuickjsBytecode",
|
|
651
|
-
"implicitAnimation",
|
|
652
|
-
"removeCSSParserLog",
|
|
653
|
-
"targetSdkVersion",
|
|
654
|
-
"templateDebugUrl"
|
|
570
|
+
"unifyVWVHBehavior"
|
|
655
571
|
].some((prop)=>key === prop)) return true;
|
|
656
572
|
const value = input[key];
|
|
657
573
|
if (void 0 === value) return true;
|
|
658
574
|
return false;
|
|
659
575
|
}));
|
|
660
|
-
const _io1 = (input, _exceptionable = true)=>Object.keys(input).every((key)=>{
|
|
661
|
-
input[key];
|
|
662
|
-
return true;
|
|
663
|
-
});
|
|
664
576
|
const _vo0 = (input, _path, _exceptionable = true)=>[
|
|
665
|
-
void 0 === input.absoluteInContentBound || "boolean" == typeof input.absoluteInContentBound || _report(_exceptionable, {
|
|
666
|
-
path: _path + ".absoluteInContentBound",
|
|
667
|
-
expected: "(boolean | undefined)",
|
|
668
|
-
value: input.absoluteInContentBound
|
|
669
|
-
}),
|
|
670
|
-
void 0 === input.asyncRedirect || "boolean" == typeof input.asyncRedirect || _report(_exceptionable, {
|
|
671
|
-
path: _path + ".asyncRedirect",
|
|
672
|
-
expected: "(boolean | undefined)",
|
|
673
|
-
value: input.asyncRedirect
|
|
674
|
-
}),
|
|
675
|
-
void 0 === input.autoExpose || "boolean" == typeof input.autoExpose || _report(_exceptionable, {
|
|
676
|
-
path: _path + ".autoExpose",
|
|
677
|
-
expected: "(boolean | undefined)",
|
|
678
|
-
value: input.autoExpose
|
|
679
|
-
}),
|
|
680
|
-
void 0 === input.CSSAlignWithLegacyW3C || "boolean" == typeof input.CSSAlignWithLegacyW3C || _report(_exceptionable, {
|
|
681
|
-
path: _path + ".CSSAlignWithLegacyW3C",
|
|
682
|
-
expected: "(boolean | undefined)",
|
|
683
|
-
value: input.CSSAlignWithLegacyW3C
|
|
684
|
-
}),
|
|
685
|
-
void 0 === input.customCSSInheritanceList || (Array.isArray(input.customCSSInheritanceList) || _report(_exceptionable, {
|
|
686
|
-
path: _path + ".customCSSInheritanceList",
|
|
687
|
-
expected: "(Array<string> | undefined)",
|
|
688
|
-
value: input.customCSSInheritanceList
|
|
689
|
-
})) && input.customCSSInheritanceList.map((elem, _index2)=>"string" == typeof elem || _report(_exceptionable, {
|
|
690
|
-
path: _path + ".customCSSInheritanceList[" + _index2 + "]",
|
|
691
|
-
expected: "string",
|
|
692
|
-
value: elem
|
|
693
|
-
})).every((flag)=>flag) || _report(_exceptionable, {
|
|
694
|
-
path: _path + ".customCSSInheritanceList",
|
|
695
|
-
expected: "(Array<string> | undefined)",
|
|
696
|
-
value: input.customCSSInheritanceList
|
|
697
|
-
}),
|
|
698
|
-
void 0 === input.dataStrictMode || "boolean" == typeof input.dataStrictMode || _report(_exceptionable, {
|
|
699
|
-
path: _path + ".dataStrictMode",
|
|
700
|
-
expected: "(boolean | undefined)",
|
|
701
|
-
value: input.dataStrictMode
|
|
702
|
-
}),
|
|
703
577
|
void 0 === input.disableLongpressAfterScroll || "boolean" == typeof input.disableLongpressAfterScroll || _report(_exceptionable, {
|
|
704
578
|
path: _path + ".disableLongpressAfterScroll",
|
|
705
579
|
expected: "(boolean | undefined)",
|
|
706
580
|
value: input.disableLongpressAfterScroll
|
|
707
581
|
}),
|
|
708
|
-
void 0 === input.disableQuickTracingGC || "boolean" == typeof input.disableQuickTracingGC || _report(_exceptionable, {
|
|
709
|
-
path: _path + ".disableQuickTracingGC",
|
|
710
|
-
expected: "(boolean | undefined)",
|
|
711
|
-
value: input.disableQuickTracingGC
|
|
712
|
-
}),
|
|
713
582
|
void 0 === input.enableA11y || "boolean" == typeof input.enableA11y || _report(_exceptionable, {
|
|
714
583
|
path: _path + ".enableA11y",
|
|
715
584
|
expected: "(boolean | undefined)",
|
|
@@ -720,51 +589,6 @@ const validateConfig = (()=>{
|
|
|
720
589
|
expected: "(boolean | undefined)",
|
|
721
590
|
value: input.enableAccessibilityElement
|
|
722
591
|
}),
|
|
723
|
-
void 0 === input.enableAsyncInitVideoEngine || "boolean" == typeof input.enableAsyncInitVideoEngine || _report(_exceptionable, {
|
|
724
|
-
path: _path + ".enableAsyncInitVideoEngine",
|
|
725
|
-
expected: "(boolean | undefined)",
|
|
726
|
-
value: input.enableAsyncInitVideoEngine
|
|
727
|
-
}),
|
|
728
|
-
void 0 === input.enableAsyncRequestImage || "boolean" == typeof input.enableAsyncRequestImage || _report(_exceptionable, {
|
|
729
|
-
path: _path + ".enableAsyncRequestImage",
|
|
730
|
-
expected: "(boolean | undefined)",
|
|
731
|
-
value: input.enableAsyncRequestImage
|
|
732
|
-
}),
|
|
733
|
-
void 0 === input.enableAsyncResolveSubtree || "boolean" == typeof input.enableAsyncResolveSubtree || _report(_exceptionable, {
|
|
734
|
-
path: _path + ".enableAsyncResolveSubtree",
|
|
735
|
-
expected: "(boolean | undefined)",
|
|
736
|
-
value: input.enableAsyncResolveSubtree
|
|
737
|
-
}),
|
|
738
|
-
void 0 === input.enableCheckExposureOptimize || "boolean" == typeof input.enableCheckExposureOptimize || _report(_exceptionable, {
|
|
739
|
-
path: _path + ".enableCheckExposureOptimize",
|
|
740
|
-
expected: "(boolean | undefined)",
|
|
741
|
-
value: input.enableCheckExposureOptimize
|
|
742
|
-
}),
|
|
743
|
-
void 0 === input.enableCheckLocalImage || "boolean" == typeof input.enableCheckLocalImage || _report(_exceptionable, {
|
|
744
|
-
path: _path + ".enableCheckLocalImage",
|
|
745
|
-
expected: "(boolean | undefined)",
|
|
746
|
-
value: input.enableCheckLocalImage
|
|
747
|
-
}),
|
|
748
|
-
void 0 === input.enableCircularDataCheck || "boolean" == typeof input.enableCircularDataCheck || _report(_exceptionable, {
|
|
749
|
-
path: _path + ".enableCircularDataCheck",
|
|
750
|
-
expected: "(boolean | undefined)",
|
|
751
|
-
value: input.enableCircularDataCheck
|
|
752
|
-
}),
|
|
753
|
-
void 0 === input.enableComponentAsyncDecode || "boolean" == typeof input.enableComponentAsyncDecode || _report(_exceptionable, {
|
|
754
|
-
path: _path + ".enableComponentAsyncDecode",
|
|
755
|
-
expected: "(boolean | undefined)",
|
|
756
|
-
value: input.enableComponentAsyncDecode
|
|
757
|
-
}),
|
|
758
|
-
void 0 === input.enableComponentNullProp || "boolean" == typeof input.enableComponentNullProp || _report(_exceptionable, {
|
|
759
|
-
path: _path + ".enableComponentNullProp",
|
|
760
|
-
expected: "(boolean | undefined)",
|
|
761
|
-
value: input.enableComponentNullProp
|
|
762
|
-
}),
|
|
763
|
-
void 0 === input.enableCreateViewAsync || "boolean" == typeof input.enableCreateViewAsync || _report(_exceptionable, {
|
|
764
|
-
path: _path + ".enableCreateViewAsync",
|
|
765
|
-
expected: "(boolean | undefined)",
|
|
766
|
-
value: input.enableCreateViewAsync
|
|
767
|
-
}),
|
|
768
592
|
void 0 === input.enableCSSInheritance || "boolean" == typeof input.enableCSSInheritance || _report(_exceptionable, {
|
|
769
593
|
path: _path + ".enableCSSInheritance",
|
|
770
594
|
expected: "(boolean | undefined)",
|
|
@@ -775,315 +599,106 @@ const validateConfig = (()=>{
|
|
|
775
599
|
expected: "(boolean | undefined)",
|
|
776
600
|
value: input.enableCSSInlineVariables
|
|
777
601
|
}),
|
|
778
|
-
void 0 === input.
|
|
779
|
-
path: _path + ".
|
|
602
|
+
void 0 === input.enableCSSRule || "boolean" == typeof input.enableCSSRule || _report(_exceptionable, {
|
|
603
|
+
path: _path + ".enableCSSRule",
|
|
780
604
|
expected: "(boolean | undefined)",
|
|
781
|
-
value: input.
|
|
782
|
-
}),
|
|
783
|
-
void 0 === input.enableDisexposureWhenLynxHidden || "boolean" == typeof input.enableDisexposureWhenLynxHidden || _report(_exceptionable, {
|
|
784
|
-
path: _path + ".enableDisexposureWhenLynxHidden",
|
|
785
|
-
expected: "(boolean | undefined)",
|
|
786
|
-
value: input.enableDisexposureWhenLynxHidden
|
|
605
|
+
value: input.enableCSSRule
|
|
787
606
|
}),
|
|
788
607
|
void 0 === input.enableEndGestureAtLastFingerUp || "boolean" == typeof input.enableEndGestureAtLastFingerUp || _report(_exceptionable, {
|
|
789
608
|
path: _path + ".enableEndGestureAtLastFingerUp",
|
|
790
609
|
expected: "(boolean | undefined)",
|
|
791
610
|
value: input.enableEndGestureAtLastFingerUp
|
|
792
611
|
}),
|
|
793
|
-
void 0 === input.enableEventHandleRefactor || "boolean" == typeof input.enableEventHandleRefactor || _report(_exceptionable, {
|
|
794
|
-
path: _path + ".enableEventHandleRefactor",
|
|
795
|
-
expected: "(boolean | undefined)",
|
|
796
|
-
value: input.enableEventHandleRefactor
|
|
797
|
-
}),
|
|
798
612
|
void 0 === input.enableEventThrough || "boolean" == typeof input.enableEventThrough || _report(_exceptionable, {
|
|
799
613
|
path: _path + ".enableEventThrough",
|
|
800
614
|
expected: "(boolean | undefined)",
|
|
801
615
|
value: input.enableEventThrough
|
|
802
616
|
}),
|
|
803
|
-
void 0 === input.
|
|
804
|
-
path: _path + ".
|
|
805
|
-
expected: "(boolean | undefined)",
|
|
806
|
-
value: input.enableExposureUIMargin
|
|
807
|
-
}),
|
|
808
|
-
void 0 === input.enableExposureWhenLayout || "boolean" == typeof input.enableExposureWhenLayout || _report(_exceptionable, {
|
|
809
|
-
path: _path + ".enableExposureWhenLayout",
|
|
810
|
-
expected: "(boolean | undefined)",
|
|
811
|
-
value: input.enableExposureWhenLayout
|
|
812
|
-
}),
|
|
813
|
-
void 0 === input.enableExposureWhenReload || "boolean" == typeof input.enableExposureWhenReload || _report(_exceptionable, {
|
|
814
|
-
path: _path + ".enableExposureWhenReload",
|
|
617
|
+
void 0 === input.enableFetchAPIStandardStreaming || "boolean" == typeof input.enableFetchAPIStandardStreaming || _report(_exceptionable, {
|
|
618
|
+
path: _path + ".enableFetchAPIStandardStreaming",
|
|
815
619
|
expected: "(boolean | undefined)",
|
|
816
|
-
value: input.
|
|
620
|
+
value: input.enableFetchAPIStandardStreaming
|
|
817
621
|
}),
|
|
818
622
|
void 0 === input.enableFixedNew || "boolean" == typeof input.enableFixedNew || _report(_exceptionable, {
|
|
819
623
|
path: _path + ".enableFixedNew",
|
|
820
624
|
expected: "(boolean | undefined)",
|
|
821
625
|
value: input.enableFixedNew
|
|
822
626
|
}),
|
|
823
|
-
void 0 === input.
|
|
824
|
-
path: _path + ".
|
|
825
|
-
expected: "(boolean | undefined)",
|
|
826
|
-
value: input.enableHarmonyNewOverlay
|
|
827
|
-
}),
|
|
828
|
-
void 0 === input.enableHarmonyVisibleAreaChangeForExposure || "boolean" == typeof input.enableHarmonyVisibleAreaChangeForExposure || _report(_exceptionable, {
|
|
829
|
-
path: _path + ".enableHarmonyVisibleAreaChangeForExposure",
|
|
627
|
+
void 0 === input.enableFlexBasisZeroPercent || "boolean" == typeof input.enableFlexBasisZeroPercent || _report(_exceptionable, {
|
|
628
|
+
path: _path + ".enableFlexBasisZeroPercent",
|
|
830
629
|
expected: "(boolean | undefined)",
|
|
831
|
-
value: input.
|
|
630
|
+
value: input.enableFlexBasisZeroPercent
|
|
832
631
|
}),
|
|
833
|
-
void 0 === input.
|
|
834
|
-
path: _path + ".
|
|
632
|
+
void 0 === input.enableGridPlacementShorthands || "boolean" == typeof input.enableGridPlacementShorthands || _report(_exceptionable, {
|
|
633
|
+
path: _path + ".enableGridPlacementShorthands",
|
|
835
634
|
expected: "(boolean | undefined)",
|
|
836
|
-
value: input.
|
|
837
|
-
}),
|
|
838
|
-
void 0 === input.enableImageDownsampling || "boolean" == typeof input.enableImageDownsampling || _report(_exceptionable, {
|
|
839
|
-
path: _path + ".enableImageDownsampling",
|
|
840
|
-
expected: "(boolean | undefined)",
|
|
841
|
-
value: input.enableImageDownsampling
|
|
635
|
+
value: input.enableGridPlacementShorthands
|
|
842
636
|
}),
|
|
843
637
|
void 0 === input.enableJsBindingApiThrowException || "boolean" == typeof input.enableJsBindingApiThrowException || _report(_exceptionable, {
|
|
844
638
|
path: _path + ".enableJsBindingApiThrowException",
|
|
845
639
|
expected: "(boolean | undefined)",
|
|
846
640
|
value: input.enableJsBindingApiThrowException
|
|
847
641
|
}),
|
|
848
|
-
void 0 === input.enableJSDataProcessor || "boolean" == typeof input.enableJSDataProcessor || _report(_exceptionable, {
|
|
849
|
-
path: _path + ".enableJSDataProcessor",
|
|
850
|
-
expected: "(boolean | undefined)",
|
|
851
|
-
value: input.enableJSDataProcessor
|
|
852
|
-
}),
|
|
853
|
-
void 0 === input.enableListMoveOperation || "boolean" == typeof input.enableListMoveOperation || _report(_exceptionable, {
|
|
854
|
-
path: _path + ".enableListMoveOperation",
|
|
855
|
-
expected: "(boolean | undefined)",
|
|
856
|
-
value: input.enableListMoveOperation
|
|
857
|
-
}),
|
|
858
642
|
void 0 === input.enableListNewArchitecture || "boolean" == typeof input.enableListNewArchitecture || _report(_exceptionable, {
|
|
859
643
|
path: _path + ".enableListNewArchitecture",
|
|
860
644
|
expected: "(boolean | undefined)",
|
|
861
645
|
value: input.enableListNewArchitecture
|
|
862
646
|
}),
|
|
863
|
-
void 0 === input.enableListPlug || "boolean" == typeof input.enableListPlug || _report(_exceptionable, {
|
|
864
|
-
path: _path + ".enableListPlug",
|
|
865
|
-
expected: "(boolean | undefined)",
|
|
866
|
-
value: input.enableListPlug
|
|
867
|
-
}),
|
|
868
|
-
void 0 === input.enableLynxScrollFluency || "number" == typeof input.enableLynxScrollFluency || "boolean" == typeof input.enableLynxScrollFluency || _report(_exceptionable, {
|
|
869
|
-
path: _path + ".enableLynxScrollFluency",
|
|
870
|
-
expected: "(boolean | number | undefined)",
|
|
871
|
-
value: input.enableLynxScrollFluency
|
|
872
|
-
}),
|
|
873
|
-
void 0 === input.enableMicrotaskPromisePolyfill || "boolean" == typeof input.enableMicrotaskPromisePolyfill || _report(_exceptionable, {
|
|
874
|
-
path: _path + ".enableMicrotaskPromisePolyfill",
|
|
875
|
-
expected: "(boolean | undefined)",
|
|
876
|
-
value: input.enableMicrotaskPromisePolyfill
|
|
877
|
-
}),
|
|
878
647
|
void 0 === input.enableMultiTouch || "boolean" == typeof input.enableMultiTouch || _report(_exceptionable, {
|
|
879
648
|
path: _path + ".enableMultiTouch",
|
|
880
649
|
expected: "(boolean | undefined)",
|
|
881
650
|
value: input.enableMultiTouch
|
|
882
651
|
}),
|
|
883
|
-
void 0 === input.enableMultiTouchParamsCompatible || "boolean" == typeof input.enableMultiTouchParamsCompatible || _report(_exceptionable, {
|
|
884
|
-
path: _path + ".enableMultiTouchParamsCompatible",
|
|
885
|
-
expected: "(boolean | undefined)",
|
|
886
|
-
value: input.enableMultiTouchParamsCompatible
|
|
887
|
-
}),
|
|
888
652
|
void 0 === input.enableNativeList || "boolean" == typeof input.enableNativeList || _report(_exceptionable, {
|
|
889
653
|
path: _path + ".enableNativeList",
|
|
890
654
|
expected: "(boolean | undefined)",
|
|
891
655
|
value: input.enableNativeList
|
|
892
656
|
}),
|
|
893
|
-
void 0 === input.enableNewAnimator || "boolean" == typeof input.enableNewAnimator || _report(_exceptionable, {
|
|
894
|
-
path: _path + ".enableNewAnimator",
|
|
895
|
-
expected: "(boolean | undefined)",
|
|
896
|
-
value: input.enableNewAnimator
|
|
897
|
-
}),
|
|
898
|
-
void 0 === input.enableNewClipMode || "boolean" == typeof input.enableNewClipMode || _report(_exceptionable, {
|
|
899
|
-
path: _path + ".enableNewClipMode",
|
|
900
|
-
expected: "(boolean | undefined)",
|
|
901
|
-
value: input.enableNewClipMode
|
|
902
|
-
}),
|
|
903
657
|
void 0 === input.enableNewGesture || "boolean" == typeof input.enableNewGesture || _report(_exceptionable, {
|
|
904
658
|
path: _path + ".enableNewGesture",
|
|
905
659
|
expected: "(boolean | undefined)",
|
|
906
660
|
value: input.enableNewGesture
|
|
907
661
|
}),
|
|
908
|
-
void 0 === input.enableNewImage || "boolean" == typeof input.enableNewImage || _report(_exceptionable, {
|
|
909
|
-
path: _path + ".enableNewImage",
|
|
910
|
-
expected: "(boolean | undefined)",
|
|
911
|
-
value: input.enableNewImage
|
|
912
|
-
}),
|
|
913
662
|
void 0 === input.enableNewIntersectionObserver || "boolean" == typeof input.enableNewIntersectionObserver || _report(_exceptionable, {
|
|
914
663
|
path: _path + ".enableNewIntersectionObserver",
|
|
915
664
|
expected: "(boolean | undefined)",
|
|
916
665
|
value: input.enableNewIntersectionObserver
|
|
917
666
|
}),
|
|
918
|
-
void 0 === input.enableNewListContainer || "boolean" == typeof input.enableNewListContainer || _report(_exceptionable, {
|
|
919
|
-
path: _path + ".enableNewListContainer",
|
|
920
|
-
expected: "(boolean | undefined)",
|
|
921
|
-
value: input.enableNewListContainer
|
|
922
|
-
}),
|
|
923
667
|
void 0 === input.enableNewTransformOrigin || "boolean" == typeof input.enableNewTransformOrigin || _report(_exceptionable, {
|
|
924
668
|
path: _path + ".enableNewTransformOrigin",
|
|
925
669
|
expected: "(boolean | undefined)",
|
|
926
670
|
value: input.enableNewTransformOrigin
|
|
927
671
|
}),
|
|
928
|
-
void 0 === input.
|
|
929
|
-
path: _path + ".
|
|
930
|
-
expected: "(boolean | undefined)",
|
|
931
|
-
value: input.enablePlatformGesture
|
|
932
|
-
}),
|
|
933
|
-
void 0 === input.enablePropertyBasedSimpleStyle || "boolean" == typeof input.enablePropertyBasedSimpleStyle || _report(_exceptionable, {
|
|
934
|
-
path: _path + ".enablePropertyBasedSimpleStyle",
|
|
935
|
-
expected: "(boolean | undefined)",
|
|
936
|
-
value: input.enablePropertyBasedSimpleStyle
|
|
937
|
-
}),
|
|
938
|
-
void 0 === input.enableQueryComponentSync || "boolean" == typeof input.enableQueryComponentSync || _report(_exceptionable, {
|
|
939
|
-
path: _path + ".enableQueryComponentSync",
|
|
940
|
-
expected: "(boolean | undefined)",
|
|
941
|
-
value: input.enableQueryComponentSync
|
|
942
|
-
}),
|
|
943
|
-
void 0 === input.enableReactOnlyPropsId || "boolean" == typeof input.enableReactOnlyPropsId || _report(_exceptionable, {
|
|
944
|
-
path: _path + ".enableReactOnlyPropsId",
|
|
672
|
+
void 0 === input.enableParseIntFlex || "boolean" == typeof input.enableParseIntFlex || _report(_exceptionable, {
|
|
673
|
+
path: _path + ".enableParseIntFlex",
|
|
945
674
|
expected: "(boolean | undefined)",
|
|
946
|
-
value: input.
|
|
947
|
-
}),
|
|
948
|
-
void 0 === input.enableReduceInitDataCopy || "boolean" == typeof input.enableReduceInitDataCopy || _report(_exceptionable, {
|
|
949
|
-
path: _path + ".enableReduceInitDataCopy",
|
|
950
|
-
expected: "(boolean | undefined)",
|
|
951
|
-
value: input.enableReduceInitDataCopy
|
|
675
|
+
value: input.enableParseIntFlex
|
|
952
676
|
}),
|
|
953
677
|
void 0 === input.enableReloadLifecycle || "boolean" == typeof input.enableReloadLifecycle || _report(_exceptionable, {
|
|
954
678
|
path: _path + ".enableReloadLifecycle",
|
|
955
679
|
expected: "(boolean | undefined)",
|
|
956
680
|
value: input.enableReloadLifecycle
|
|
957
681
|
}),
|
|
958
|
-
void 0 === input.enableRemoveComponentExtraData || "boolean" == typeof input.enableRemoveComponentExtraData || _report(_exceptionable, {
|
|
959
|
-
path: _path + ".enableRemoveComponentExtraData",
|
|
960
|
-
expected: "(boolean | undefined)",
|
|
961
|
-
value: input.enableRemoveComponentExtraData
|
|
962
|
-
}),
|
|
963
|
-
void 0 === input.enableReuseLoadScriptExports || "boolean" == typeof input.enableReuseLoadScriptExports || _report(_exceptionable, {
|
|
964
|
-
path: _path + ".enableReuseLoadScriptExports",
|
|
965
|
-
expected: "(boolean | undefined)",
|
|
966
|
-
value: input.enableReuseLoadScriptExports
|
|
967
|
-
}),
|
|
968
|
-
void 0 === input.enableSignalAPI || "boolean" == typeof input.enableSignalAPI || _report(_exceptionable, {
|
|
969
|
-
path: _path + ".enableSignalAPI",
|
|
970
|
-
expected: "(boolean | undefined)",
|
|
971
|
-
value: input.enableSignalAPI
|
|
972
|
-
}),
|
|
973
682
|
void 0 === input.enableSimultaneousTap || "boolean" == typeof input.enableSimultaneousTap || _report(_exceptionable, {
|
|
974
683
|
path: _path + ".enableSimultaneousTap",
|
|
975
684
|
expected: "(boolean | undefined)",
|
|
976
685
|
value: input.enableSimultaneousTap
|
|
977
686
|
}),
|
|
978
|
-
void 0 === input.enableTextBoringLayout || "boolean" == typeof input.enableTextBoringLayout || _report(_exceptionable, {
|
|
979
|
-
path: _path + ".enableTextBoringLayout",
|
|
980
|
-
expected: "(boolean | undefined)",
|
|
981
|
-
value: input.enableTextBoringLayout
|
|
982
|
-
}),
|
|
983
|
-
void 0 === input.enableTextGradientOpt || "boolean" == typeof input.enableTextGradientOpt || _report(_exceptionable, {
|
|
984
|
-
path: _path + ".enableTextGradientOpt",
|
|
985
|
-
expected: "(boolean | undefined)",
|
|
986
|
-
value: input.enableTextGradientOpt
|
|
987
|
-
}),
|
|
988
|
-
void 0 === input.enableTextLanguageAlignment || "boolean" == typeof input.enableTextLanguageAlignment || _report(_exceptionable, {
|
|
989
|
-
path: _path + ".enableTextLanguageAlignment",
|
|
990
|
-
expected: "(boolean | undefined)",
|
|
991
|
-
value: input.enableTextLanguageAlignment
|
|
992
|
-
}),
|
|
993
|
-
void 0 === input.enableTextLayerRender || "boolean" == typeof input.enableTextLayerRender || _report(_exceptionable, {
|
|
994
|
-
path: _path + ".enableTextLayerRender",
|
|
995
|
-
expected: "(boolean | undefined)",
|
|
996
|
-
value: input.enableTextLayerRender
|
|
997
|
-
}),
|
|
998
|
-
void 0 === input.enableTextLayoutCache || "boolean" == typeof input.enableTextLayoutCache || _report(_exceptionable, {
|
|
999
|
-
path: _path + ".enableTextLayoutCache",
|
|
1000
|
-
expected: "(boolean | undefined)",
|
|
1001
|
-
value: input.enableTextLayoutCache
|
|
1002
|
-
}),
|
|
1003
|
-
void 0 === input.enableTextNonContiguousLayout || "boolean" == typeof input.enableTextNonContiguousLayout || _report(_exceptionable, {
|
|
1004
|
-
path: _path + ".enableTextNonContiguousLayout",
|
|
1005
|
-
expected: "(boolean | undefined)",
|
|
1006
|
-
value: input.enableTextNonContiguousLayout
|
|
1007
|
-
}),
|
|
1008
687
|
void 0 === input.enableTextOverflow || "boolean" == typeof input.enableTextOverflow || _report(_exceptionable, {
|
|
1009
688
|
path: _path + ".enableTextOverflow",
|
|
1010
689
|
expected: "(boolean | undefined)",
|
|
1011
690
|
value: input.enableTextOverflow
|
|
1012
691
|
}),
|
|
1013
|
-
void 0 === input.
|
|
1014
|
-
path: _path + ".
|
|
1015
|
-
expected: "(boolean | undefined)",
|
|
1016
|
-
value: input.enableTextRefactor
|
|
1017
|
-
}),
|
|
1018
|
-
void 0 === input.enableTouchRefactor || "boolean" == typeof input.enableTouchRefactor || _report(_exceptionable, {
|
|
1019
|
-
path: _path + ".enableTouchRefactor",
|
|
1020
|
-
expected: "(boolean | undefined)",
|
|
1021
|
-
value: input.enableTouchRefactor
|
|
1022
|
-
}),
|
|
1023
|
-
void 0 === input.enableUIOperationOptimize || "boolean" == typeof input.enableUIOperationOptimize || _report(_exceptionable, {
|
|
1024
|
-
path: _path + ".enableUIOperationOptimize",
|
|
1025
|
-
expected: "(boolean | undefined)",
|
|
1026
|
-
value: input.enableUIOperationOptimize
|
|
1027
|
-
}),
|
|
1028
|
-
void 0 === input.enableUnifiedPipeline || "boolean" == typeof input.enableUnifiedPipeline || _report(_exceptionable, {
|
|
1029
|
-
path: _path + ".enableUnifiedPipeline",
|
|
1030
|
-
expected: "(boolean | undefined)",
|
|
1031
|
-
value: input.enableUnifiedPipeline
|
|
1032
|
-
}),
|
|
1033
|
-
void 0 === input.enableUseContextPool || "boolean" == typeof input.enableUseContextPool || _report(_exceptionable, {
|
|
1034
|
-
path: _path + ".enableUseContextPool",
|
|
1035
|
-
expected: "(boolean | undefined)",
|
|
1036
|
-
value: input.enableUseContextPool
|
|
1037
|
-
}),
|
|
1038
|
-
void 0 === input.enableUseMapBuffer || "boolean" == typeof input.enableUseMapBuffer || _report(_exceptionable, {
|
|
1039
|
-
path: _path + ".enableUseMapBuffer",
|
|
1040
|
-
expected: "(boolean | undefined)",
|
|
1041
|
-
value: input.enableUseMapBuffer
|
|
1042
|
-
}),
|
|
1043
|
-
void 0 === input.enableViewReceiveTouch || "boolean" == typeof input.enableViewReceiveTouch || _report(_exceptionable, {
|
|
1044
|
-
path: _path + ".enableViewReceiveTouch",
|
|
692
|
+
void 0 === input.enableTransformedTouchPosition || "boolean" == typeof input.enableTransformedTouchPosition || _report(_exceptionable, {
|
|
693
|
+
path: _path + ".enableTransformedTouchPosition",
|
|
1045
694
|
expected: "(boolean | undefined)",
|
|
1046
|
-
value: input.
|
|
1047
|
-
}),
|
|
1048
|
-
void 0 === input.enableVsyncAlignedFlush || "boolean" == typeof input.enableVsyncAlignedFlush || _report(_exceptionable, {
|
|
1049
|
-
path: _path + ".enableVsyncAlignedFlush",
|
|
1050
|
-
expected: "(boolean | undefined)",
|
|
1051
|
-
value: input.enableVsyncAlignedFlush
|
|
1052
|
-
}),
|
|
1053
|
-
void 0 === input.enableXTextLayoutReused || "boolean" == typeof input.enableXTextLayoutReused || _report(_exceptionable, {
|
|
1054
|
-
path: _path + ".enableXTextLayoutReused",
|
|
1055
|
-
expected: "(boolean | undefined)",
|
|
1056
|
-
value: input.enableXTextLayoutReused
|
|
1057
|
-
}),
|
|
1058
|
-
void 0 === input.extendedLayoutOnlyOpt || "boolean" == typeof input.extendedLayoutOnlyOpt || _report(_exceptionable, {
|
|
1059
|
-
path: _path + ".extendedLayoutOnlyOpt",
|
|
1060
|
-
expected: "(boolean | undefined)",
|
|
1061
|
-
value: input.extendedLayoutOnlyOpt
|
|
1062
|
-
}),
|
|
1063
|
-
void 0 === input.extraInfo || ("object" == typeof input.extraInfo && null !== input.extraInfo && false === Array.isArray(input.extraInfo) || _report(_exceptionable, {
|
|
1064
|
-
path: _path + ".extraInfo",
|
|
1065
|
-
expected: "(Record<string, unknown> | undefined)",
|
|
1066
|
-
value: input.extraInfo
|
|
1067
|
-
})) && _vo1(input.extraInfo, _path + ".extraInfo", _exceptionable) || _report(_exceptionable, {
|
|
1068
|
-
path: _path + ".extraInfo",
|
|
1069
|
-
expected: "(Record<string, unknown> | undefined)",
|
|
1070
|
-
value: input.extraInfo
|
|
1071
|
-
}),
|
|
1072
|
-
void 0 === input.flatten || "boolean" == typeof input.flatten || _report(_exceptionable, {
|
|
1073
|
-
path: _path + ".flatten",
|
|
1074
|
-
expected: "(boolean | undefined)",
|
|
1075
|
-
value: input.flatten
|
|
695
|
+
value: input.enableTransformedTouchPosition
|
|
1076
696
|
}),
|
|
1077
697
|
void 0 === input.fontScaleEffectiveOnlyOnSp || "boolean" == typeof input.fontScaleEffectiveOnlyOnSp || _report(_exceptionable, {
|
|
1078
698
|
path: _path + ".fontScaleEffectiveOnlyOnSp",
|
|
1079
699
|
expected: "(boolean | undefined)",
|
|
1080
700
|
value: input.fontScaleEffectiveOnlyOnSp
|
|
1081
701
|
}),
|
|
1082
|
-
void 0 === input.implicit || "boolean" == typeof input.implicit || _report(_exceptionable, {
|
|
1083
|
-
path: _path + ".implicit",
|
|
1084
|
-
expected: "(boolean | undefined)",
|
|
1085
|
-
value: input.implicit
|
|
1086
|
-
}),
|
|
1087
702
|
void 0 === input.includeFontPadding || "boolean" == typeof input.includeFontPadding || _report(_exceptionable, {
|
|
1088
703
|
path: _path + ".includeFontPadding",
|
|
1089
704
|
expected: "(boolean | undefined)",
|
|
@@ -1099,453 +714,54 @@ const validateConfig = (()=>{
|
|
|
1099
714
|
expected: "(number | undefined)",
|
|
1100
715
|
value: input.longPressDuration
|
|
1101
716
|
}),
|
|
1102
|
-
void 0 === input.observerFrameRate || "number" == typeof input.observerFrameRate || _report(_exceptionable, {
|
|
1103
|
-
path: _path + ".observerFrameRate",
|
|
1104
|
-
expected: "(number | undefined)",
|
|
1105
|
-
value: input.observerFrameRate
|
|
1106
|
-
}),
|
|
1107
|
-
void 0 === input.pipelineSchedulerConfig || "number" == typeof input.pipelineSchedulerConfig || _report(_exceptionable, {
|
|
1108
|
-
path: _path + ".pipelineSchedulerConfig",
|
|
1109
|
-
expected: "(number | undefined)",
|
|
1110
|
-
value: input.pipelineSchedulerConfig
|
|
1111
|
-
}),
|
|
1112
|
-
void 0 === input.preferredFps || "string" == typeof input.preferredFps || _report(_exceptionable, {
|
|
1113
|
-
path: _path + ".preferredFps",
|
|
1114
|
-
expected: "(string | undefined)",
|
|
1115
|
-
value: input.preferredFps
|
|
1116
|
-
}),
|
|
1117
|
-
void 0 === input.quirksMode || "string" == typeof input.quirksMode || "boolean" == typeof input.quirksMode || _report(_exceptionable, {
|
|
1118
|
-
path: _path + ".quirksMode",
|
|
1119
|
-
expected: "(boolean | string | undefined)",
|
|
1120
|
-
value: input.quirksMode
|
|
1121
|
-
}),
|
|
1122
717
|
void 0 === input.removeDescendantSelectorScope || "boolean" == typeof input.removeDescendantSelectorScope || _report(_exceptionable, {
|
|
1123
718
|
path: _path + ".removeDescendantSelectorScope",
|
|
1124
719
|
expected: "(boolean | undefined)",
|
|
1125
720
|
value: input.removeDescendantSelectorScope
|
|
1126
721
|
}),
|
|
1127
|
-
void 0 === input.strictPropType || "boolean" == typeof input.strictPropType || _report(_exceptionable, {
|
|
1128
|
-
path: _path + ".strictPropType",
|
|
1129
|
-
expected: "(boolean | undefined)",
|
|
1130
|
-
value: input.strictPropType
|
|
1131
|
-
}),
|
|
1132
722
|
void 0 === input.tapSlop || "string" == typeof input.tapSlop || _report(_exceptionable, {
|
|
1133
723
|
path: _path + ".tapSlop",
|
|
1134
724
|
expected: "(string | undefined)",
|
|
1135
725
|
value: input.tapSlop
|
|
1136
726
|
}),
|
|
1137
|
-
void 0 === input.trailNewImage || "boolean" == typeof input.trailNewImage || _report(_exceptionable, {
|
|
1138
|
-
path: _path + ".trailNewImage",
|
|
1139
|
-
expected: "(boolean | undefined)",
|
|
1140
|
-
value: input.trailNewImage
|
|
1141
|
-
}),
|
|
1142
727
|
void 0 === input.unifyVWVHBehavior || "boolean" == typeof input.unifyVWVHBehavior || _report(_exceptionable, {
|
|
1143
728
|
path: _path + ".unifyVWVHBehavior",
|
|
1144
729
|
expected: "(boolean | undefined)",
|
|
1145
730
|
value: input.unifyVWVHBehavior
|
|
1146
731
|
}),
|
|
1147
|
-
void 0 === input.useImagePostProcessor || "boolean" == typeof input.useImagePostProcessor || _report(_exceptionable, {
|
|
1148
|
-
path: _path + ".useImagePostProcessor",
|
|
1149
|
-
expected: "(boolean | undefined)",
|
|
1150
|
-
value: input.useImagePostProcessor
|
|
1151
|
-
}),
|
|
1152
|
-
void 0 === input.useNewSwiper || "boolean" == typeof input.useNewSwiper || _report(_exceptionable, {
|
|
1153
|
-
path: _path + ".useNewSwiper",
|
|
1154
|
-
expected: "(boolean | undefined)",
|
|
1155
|
-
value: input.useNewSwiper
|
|
1156
|
-
}),
|
|
1157
|
-
void 0 === input.autoResumeAnimation || "boolean" == typeof input.autoResumeAnimation || _report(_exceptionable, {
|
|
1158
|
-
path: _path + ".autoResumeAnimation",
|
|
1159
|
-
expected: "(boolean | undefined)",
|
|
1160
|
-
value: input.autoResumeAnimation
|
|
1161
|
-
}),
|
|
1162
|
-
void 0 === input.cli || "string" == typeof input.cli || _report(_exceptionable, {
|
|
1163
|
-
path: _path + ".cli",
|
|
1164
|
-
expected: "(string | undefined)",
|
|
1165
|
-
value: input.cli
|
|
1166
|
-
}),
|
|
1167
|
-
void 0 === input.compileRender || "boolean" == typeof input.compileRender || _report(_exceptionable, {
|
|
1168
|
-
path: _path + ".compileRender",
|
|
1169
|
-
expected: "(boolean | undefined)",
|
|
1170
|
-
value: input.compileRender
|
|
1171
|
-
}),
|
|
1172
|
-
void 0 === input.customData || "string" == typeof input.customData || _report(_exceptionable, {
|
|
1173
|
-
path: _path + ".customData",
|
|
1174
|
-
expected: "(string | undefined)",
|
|
1175
|
-
value: input.customData
|
|
1176
|
-
}),
|
|
1177
|
-
void 0 === input.enableA11yIDMutationObserver || "boolean" == typeof input.enableA11yIDMutationObserver || _report(_exceptionable, {
|
|
1178
|
-
path: _path + ".enableA11yIDMutationObserver",
|
|
1179
|
-
expected: "(boolean | undefined)",
|
|
1180
|
-
value: input.enableA11yIDMutationObserver
|
|
1181
|
-
}),
|
|
1182
|
-
void 0 === input.enableAsyncDisplay || "boolean" == typeof input.enableAsyncDisplay || _report(_exceptionable, {
|
|
1183
|
-
path: _path + ".enableAsyncDisplay",
|
|
1184
|
-
expected: "(boolean | undefined)",
|
|
1185
|
-
value: input.enableAsyncDisplay
|
|
1186
|
-
}),
|
|
1187
|
-
void 0 === input.enableBackgroundShapeLayer || "boolean" == typeof input.enableBackgroundShapeLayer || _report(_exceptionable, {
|
|
1188
|
-
path: _path + ".enableBackgroundShapeLayer",
|
|
1189
|
-
expected: "(boolean | undefined)",
|
|
1190
|
-
value: input.enableBackgroundShapeLayer
|
|
1191
|
-
}),
|
|
1192
|
-
void 0 === input.enableCascadePseudo || "boolean" == typeof input.enableCascadePseudo || _report(_exceptionable, {
|
|
1193
|
-
path: _path + ".enableCascadePseudo",
|
|
1194
|
-
expected: "(boolean | undefined)",
|
|
1195
|
-
value: input.enableCascadePseudo
|
|
1196
|
-
}),
|
|
1197
|
-
void 0 === input.enableCheckDataWhenUpdatePage || "boolean" == typeof input.enableCheckDataWhenUpdatePage || _report(_exceptionable, {
|
|
1198
|
-
path: _path + ".enableCheckDataWhenUpdatePage",
|
|
1199
|
-
expected: "(boolean | undefined)",
|
|
1200
|
-
value: input.enableCheckDataWhenUpdatePage
|
|
1201
|
-
}),
|
|
1202
|
-
void 0 === input.enableComponentLayoutOnly || "boolean" == typeof input.enableComponentLayoutOnly || _report(_exceptionable, {
|
|
1203
|
-
path: _path + ".enableComponentLayoutOnly",
|
|
1204
|
-
expected: "(boolean | undefined)",
|
|
1205
|
-
value: input.enableComponentLayoutOnly
|
|
1206
|
-
}),
|
|
1207
|
-
void 0 === input.enableGlobalComponentMap || "boolean" == typeof input.enableGlobalComponentMap || _report(_exceptionable, {
|
|
1208
|
-
path: _path + ".enableGlobalComponentMap",
|
|
1209
|
-
expected: "(boolean | undefined)",
|
|
1210
|
-
value: input.enableGlobalComponentMap
|
|
1211
|
-
}),
|
|
1212
|
-
void 0 === input.enableNativeScheduleCreateViewAsync || "boolean" == typeof input.enableNativeScheduleCreateViewAsync || _report(_exceptionable, {
|
|
1213
|
-
path: _path + ".enableNativeScheduleCreateViewAsync",
|
|
1214
|
-
expected: "(boolean | undefined)",
|
|
1215
|
-
value: input.enableNativeScheduleCreateViewAsync
|
|
1216
|
-
}),
|
|
1217
|
-
void 0 === input.enableNewAccessibility || "boolean" == typeof input.enableNewAccessibility || _report(_exceptionable, {
|
|
1218
|
-
path: _path + ".enableNewAccessibility",
|
|
1219
|
-
expected: "(boolean | undefined)",
|
|
1220
|
-
value: input.enableNewAccessibility
|
|
1221
|
-
}),
|
|
1222
|
-
void 0 === input.enableNewLayoutOnly || "boolean" == typeof input.enableNewLayoutOnly || _report(_exceptionable, {
|
|
1223
|
-
path: _path + ".enableNewLayoutOnly",
|
|
1224
|
-
expected: "(boolean | undefined)",
|
|
1225
|
-
value: input.enableNewLayoutOnly
|
|
1226
|
-
}),
|
|
1227
|
-
void 0 === input.enableOptPushStyleToBundle || "boolean" == typeof input.enableOptPushStyleToBundle || _report(_exceptionable, {
|
|
1228
|
-
path: _path + ".enableOptPushStyleToBundle",
|
|
1229
|
-
expected: "(boolean | undefined)",
|
|
1230
|
-
value: input.enableOptPushStyleToBundle
|
|
1231
|
-
}),
|
|
1232
|
-
void 0 === input.enableOverlapForAccessibilityElement || "boolean" == typeof input.enableOverlapForAccessibilityElement || _report(_exceptionable, {
|
|
1233
|
-
path: _path + ".enableOverlapForAccessibilityElement",
|
|
1234
|
-
expected: "(boolean | undefined)",
|
|
1235
|
-
value: input.enableOverlapForAccessibilityElement
|
|
1236
|
-
}),
|
|
1237
|
-
void 0 === input.fixCSSImportRuleOrder || "boolean" == typeof input.fixCSSImportRuleOrder || _report(_exceptionable, {
|
|
1238
|
-
path: _path + ".fixCSSImportRuleOrder",
|
|
1239
|
-
expected: "(boolean | undefined)",
|
|
1240
|
-
value: input.fixCSSImportRuleOrder
|
|
1241
|
-
}),
|
|
1242
|
-
void 0 === input.forceCalcNewStyle || "boolean" == typeof input.forceCalcNewStyle || _report(_exceptionable, {
|
|
1243
|
-
path: _path + ".forceCalcNewStyle",
|
|
1244
|
-
expected: "(boolean | undefined)",
|
|
1245
|
-
value: input.forceCalcNewStyle
|
|
1246
|
-
}),
|
|
1247
|
-
void 0 === input.reactVersion || "string" == typeof input.reactVersion || _report(_exceptionable, {
|
|
1248
|
-
path: _path + ".reactVersion",
|
|
1249
|
-
expected: "(string | undefined)",
|
|
1250
|
-
value: input.reactVersion
|
|
1251
|
-
}),
|
|
1252
|
-
void 0 === input.redBoxImageSizeWarningThreshold || "number" == typeof input.redBoxImageSizeWarningThreshold || _report(_exceptionable, {
|
|
1253
|
-
path: _path + ".redBoxImageSizeWarningThreshold",
|
|
1254
|
-
expected: "(number | undefined)",
|
|
1255
|
-
value: input.redBoxImageSizeWarningThreshold
|
|
1256
|
-
}),
|
|
1257
|
-
void 0 === input.removeComponentElement || "boolean" == typeof input.removeComponentElement || _report(_exceptionable, {
|
|
1258
|
-
path: _path + ".removeComponentElement",
|
|
1259
|
-
expected: "(boolean | undefined)",
|
|
1260
|
-
value: input.removeComponentElement
|
|
1261
|
-
}),
|
|
1262
|
-
void 0 === input.syncImageAttach || "boolean" == typeof input.syncImageAttach || _report(_exceptionable, {
|
|
1263
|
-
path: _path + ".syncImageAttach",
|
|
1264
|
-
expected: "(boolean | undefined)",
|
|
1265
|
-
value: input.syncImageAttach
|
|
1266
|
-
}),
|
|
1267
|
-
void 0 === input.useNewImage || "boolean" == typeof input.useNewImage || _report(_exceptionable, {
|
|
1268
|
-
path: _path + ".useNewImage",
|
|
1269
|
-
expected: "(boolean | undefined)",
|
|
1270
|
-
value: input.useNewImage
|
|
1271
|
-
}),
|
|
1272
|
-
void 0 === input.version || "string" == typeof input.version || _report(_exceptionable, {
|
|
1273
|
-
path: _path + ".version",
|
|
1274
|
-
expected: "(string | undefined)",
|
|
1275
|
-
value: input.version
|
|
1276
|
-
}),
|
|
1277
|
-
void 0 === input.debugInfoOutside || "boolean" == typeof input.debugInfoOutside || _report(_exceptionable, {
|
|
1278
|
-
path: _path + ".debugInfoOutside",
|
|
1279
|
-
expected: "(boolean | undefined)",
|
|
1280
|
-
value: input.debugInfoOutside
|
|
1281
|
-
}),
|
|
1282
|
-
void 0 === input.defaultDisplayLinear || "boolean" == typeof input.defaultDisplayLinear || _report(_exceptionable, {
|
|
1283
|
-
path: _path + ".defaultDisplayLinear",
|
|
1284
|
-
expected: "(boolean | undefined)",
|
|
1285
|
-
value: input.defaultDisplayLinear
|
|
1286
|
-
}),
|
|
1287
|
-
void 0 === input.defaultOverflowVisible || "boolean" == typeof input.defaultOverflowVisible || _report(_exceptionable, {
|
|
1288
|
-
path: _path + ".defaultOverflowVisible",
|
|
1289
|
-
expected: "(boolean | undefined)",
|
|
1290
|
-
value: input.defaultOverflowVisible
|
|
1291
|
-
}),
|
|
1292
|
-
void 0 === input.disableMultipleCascadeCSS || "boolean" == typeof input.disableMultipleCascadeCSS || _report(_exceptionable, {
|
|
1293
|
-
path: _path + ".disableMultipleCascadeCSS",
|
|
1294
|
-
expected: "(boolean | undefined)",
|
|
1295
|
-
value: input.disableMultipleCascadeCSS
|
|
1296
|
-
}),
|
|
1297
|
-
void 0 === input.enableComponentConfig || "boolean" == typeof input.enableComponentConfig || _report(_exceptionable, {
|
|
1298
|
-
path: _path + ".enableComponentConfig",
|
|
1299
|
-
expected: "(boolean | undefined)",
|
|
1300
|
-
value: input.enableComponentConfig
|
|
1301
|
-
}),
|
|
1302
|
-
void 0 === input.enableCSSAsyncDecode || "boolean" == typeof input.enableCSSAsyncDecode || _report(_exceptionable, {
|
|
1303
|
-
path: _path + ".enableCSSAsyncDecode",
|
|
1304
|
-
expected: "(boolean | undefined)",
|
|
1305
|
-
value: input.enableCSSAsyncDecode
|
|
1306
|
-
}),
|
|
1307
|
-
void 0 === input.enableCSSClassMerge || "boolean" == typeof input.enableCSSClassMerge || _report(_exceptionable, {
|
|
1308
|
-
path: _path + ".enableCSSClassMerge",
|
|
1309
|
-
expected: "(boolean | undefined)",
|
|
1310
|
-
value: input.enableCSSClassMerge
|
|
1311
|
-
}),
|
|
1312
|
-
void 0 === input.enableCSSEngine || "boolean" == typeof input.enableCSSEngine || _report(_exceptionable, {
|
|
1313
|
-
path: _path + ".enableCSSEngine",
|
|
1314
|
-
expected: "(boolean | undefined)",
|
|
1315
|
-
value: input.enableCSSEngine
|
|
1316
|
-
}),
|
|
1317
|
-
void 0 === input.enableCSSExternalClass || "boolean" == typeof input.enableCSSExternalClass || _report(_exceptionable, {
|
|
1318
|
-
path: _path + ".enableCSSExternalClass",
|
|
1319
|
-
expected: "(boolean | undefined)",
|
|
1320
|
-
value: input.enableCSSExternalClass
|
|
1321
|
-
}),
|
|
1322
|
-
void 0 === input.enableCSSInvalidation || "boolean" == typeof input.enableCSSInvalidation || _report(_exceptionable, {
|
|
1323
|
-
path: _path + ".enableCSSInvalidation",
|
|
1324
|
-
expected: "(boolean | undefined)",
|
|
1325
|
-
value: input.enableCSSInvalidation
|
|
1326
|
-
}),
|
|
1327
|
-
void 0 === input.enableCSSLazyDecode || "boolean" == typeof input.enableCSSLazyDecode || _report(_exceptionable, {
|
|
1328
|
-
path: _path + ".enableCSSLazyDecode",
|
|
1329
|
-
expected: "(boolean | undefined)",
|
|
1330
|
-
value: input.enableCSSLazyDecode
|
|
1331
|
-
}),
|
|
1332
|
-
void 0 === input.enableCSSSelector || "boolean" == typeof input.enableCSSSelector || _report(_exceptionable, {
|
|
1333
|
-
path: _path + ".enableCSSSelector",
|
|
1334
|
-
expected: "(boolean | undefined)",
|
|
1335
|
-
value: input.enableCSSSelector
|
|
1336
|
-
}),
|
|
1337
|
-
void 0 === input.enableCSSStrictMode || "boolean" == typeof input.enableCSSStrictMode || _report(_exceptionable, {
|
|
1338
|
-
path: _path + ".enableCSSStrictMode",
|
|
1339
|
-
expected: "(boolean | undefined)",
|
|
1340
|
-
value: input.enableCSSStrictMode
|
|
1341
|
-
}),
|
|
1342
|
-
void 0 === input.enableCSSVariable || "boolean" == typeof input.enableCSSVariable || _report(_exceptionable, {
|
|
1343
|
-
path: _path + ".enableCSSVariable",
|
|
1344
|
-
expected: "(boolean | undefined)",
|
|
1345
|
-
value: input.enableCSSVariable
|
|
1346
|
-
}),
|
|
1347
|
-
void 0 === input.enableEventRefactor || "boolean" == typeof input.enableEventRefactor || _report(_exceptionable, {
|
|
1348
|
-
path: _path + ".enableEventRefactor",
|
|
1349
|
-
expected: "(boolean | undefined)",
|
|
1350
|
-
value: input.enableEventRefactor
|
|
1351
|
-
}),
|
|
1352
|
-
void 0 === input.enableFiberArch || "boolean" == typeof input.enableFiberArch || _report(_exceptionable, {
|
|
1353
|
-
path: _path + ".enableFiberArch",
|
|
1354
|
-
expected: "(boolean | undefined)",
|
|
1355
|
-
value: input.enableFiberArch
|
|
1356
|
-
}),
|
|
1357
|
-
void 0 === input.enableFlexibleTemplate || "boolean" == typeof input.enableFlexibleTemplate || _report(_exceptionable, {
|
|
1358
|
-
path: _path + ".enableFlexibleTemplate",
|
|
1359
|
-
expected: "(boolean | undefined)",
|
|
1360
|
-
value: input.enableFlexibleTemplate
|
|
1361
|
-
}),
|
|
1362
|
-
void 0 === input.enableKeepPageData || "boolean" == typeof input.enableKeepPageData || _report(_exceptionable, {
|
|
1363
|
-
path: _path + ".enableKeepPageData",
|
|
1364
|
-
expected: "(boolean | undefined)",
|
|
1365
|
-
value: input.enableKeepPageData
|
|
1366
|
-
}),
|
|
1367
|
-
void 0 === input.enableRemoveCSSScope || "boolean" == typeof input.enableRemoveCSSScope || _report(_exceptionable, {
|
|
1368
|
-
path: _path + ".enableRemoveCSSScope",
|
|
1369
|
-
expected: "(boolean | undefined)",
|
|
1370
|
-
value: input.enableRemoveCSSScope
|
|
1371
|
-
}),
|
|
1372
|
-
void 0 === input.enableSimpleStyling || "boolean" == typeof input.enableSimpleStyling || _report(_exceptionable, {
|
|
1373
|
-
path: _path + ".enableSimpleStyling",
|
|
1374
|
-
expected: "(boolean | undefined)",
|
|
1375
|
-
value: input.enableSimpleStyling
|
|
1376
|
-
}),
|
|
1377
|
-
void 0 === input.experimental_encodeQuickjsBytecode || "boolean" == typeof input.experimental_encodeQuickjsBytecode || _report(_exceptionable, {
|
|
1378
|
-
path: _path + ".experimental_encodeQuickjsBytecode",
|
|
1379
|
-
expected: "(boolean | undefined)",
|
|
1380
|
-
value: input.experimental_encodeQuickjsBytecode
|
|
1381
|
-
}),
|
|
1382
|
-
void 0 === input.implicitAnimation || "boolean" == typeof input.implicitAnimation || _report(_exceptionable, {
|
|
1383
|
-
path: _path + ".implicitAnimation",
|
|
1384
|
-
expected: "(boolean | undefined)",
|
|
1385
|
-
value: input.implicitAnimation
|
|
1386
|
-
}),
|
|
1387
|
-
void 0 === input.removeCSSParserLog || "boolean" == typeof input.removeCSSParserLog || _report(_exceptionable, {
|
|
1388
|
-
path: _path + ".removeCSSParserLog",
|
|
1389
|
-
expected: "(boolean | undefined)",
|
|
1390
|
-
value: input.removeCSSParserLog
|
|
1391
|
-
}),
|
|
1392
|
-
void 0 === input.targetSdkVersion || "string" == typeof input.targetSdkVersion || _report(_exceptionable, {
|
|
1393
|
-
path: _path + ".targetSdkVersion",
|
|
1394
|
-
expected: "(string | undefined)",
|
|
1395
|
-
value: input.targetSdkVersion
|
|
1396
|
-
}),
|
|
1397
|
-
void 0 === input.templateDebugUrl || "string" == typeof input.templateDebugUrl || _report(_exceptionable, {
|
|
1398
|
-
path: _path + ".templateDebugUrl",
|
|
1399
|
-
expected: "(string | undefined)",
|
|
1400
|
-
value: input.templateDebugUrl
|
|
1401
|
-
}),
|
|
1402
732
|
0 === Object.keys(input).length || false === _exceptionable || Object.keys(input).map((key)=>{
|
|
1403
733
|
if ([
|
|
1404
|
-
"absoluteInContentBound",
|
|
1405
|
-
"asyncRedirect",
|
|
1406
|
-
"autoExpose",
|
|
1407
|
-
"CSSAlignWithLegacyW3C",
|
|
1408
|
-
"customCSSInheritanceList",
|
|
1409
|
-
"dataStrictMode",
|
|
1410
734
|
"disableLongpressAfterScroll",
|
|
1411
|
-
"disableQuickTracingGC",
|
|
1412
735
|
"enableA11y",
|
|
1413
736
|
"enableAccessibilityElement",
|
|
1414
|
-
"enableAsyncInitVideoEngine",
|
|
1415
|
-
"enableAsyncRequestImage",
|
|
1416
|
-
"enableAsyncResolveSubtree",
|
|
1417
|
-
"enableCheckExposureOptimize",
|
|
1418
|
-
"enableCheckLocalImage",
|
|
1419
|
-
"enableCircularDataCheck",
|
|
1420
|
-
"enableComponentAsyncDecode",
|
|
1421
|
-
"enableComponentNullProp",
|
|
1422
|
-
"enableCreateViewAsync",
|
|
1423
737
|
"enableCSSInheritance",
|
|
1424
738
|
"enableCSSInlineVariables",
|
|
1425
|
-
"
|
|
1426
|
-
"enableDisexposureWhenLynxHidden",
|
|
739
|
+
"enableCSSRule",
|
|
1427
740
|
"enableEndGestureAtLastFingerUp",
|
|
1428
|
-
"enableEventHandleRefactor",
|
|
1429
741
|
"enableEventThrough",
|
|
1430
|
-
"
|
|
1431
|
-
"enableExposureWhenLayout",
|
|
1432
|
-
"enableExposureWhenReload",
|
|
742
|
+
"enableFetchAPIStandardStreaming",
|
|
1433
743
|
"enableFixedNew",
|
|
1434
|
-
"
|
|
1435
|
-
"
|
|
1436
|
-
"enableICU",
|
|
1437
|
-
"enableImageDownsampling",
|
|
744
|
+
"enableFlexBasisZeroPercent",
|
|
745
|
+
"enableGridPlacementShorthands",
|
|
1438
746
|
"enableJsBindingApiThrowException",
|
|
1439
|
-
"enableJSDataProcessor",
|
|
1440
|
-
"enableListMoveOperation",
|
|
1441
747
|
"enableListNewArchitecture",
|
|
1442
|
-
"enableListPlug",
|
|
1443
|
-
"enableLynxScrollFluency",
|
|
1444
|
-
"enableMicrotaskPromisePolyfill",
|
|
1445
748
|
"enableMultiTouch",
|
|
1446
|
-
"enableMultiTouchParamsCompatible",
|
|
1447
749
|
"enableNativeList",
|
|
1448
|
-
"enableNewAnimator",
|
|
1449
|
-
"enableNewClipMode",
|
|
1450
750
|
"enableNewGesture",
|
|
1451
|
-
"enableNewImage",
|
|
1452
751
|
"enableNewIntersectionObserver",
|
|
1453
|
-
"enableNewListContainer",
|
|
1454
752
|
"enableNewTransformOrigin",
|
|
1455
|
-
"
|
|
1456
|
-
"enablePropertyBasedSimpleStyle",
|
|
1457
|
-
"enableQueryComponentSync",
|
|
1458
|
-
"enableReactOnlyPropsId",
|
|
1459
|
-
"enableReduceInitDataCopy",
|
|
753
|
+
"enableParseIntFlex",
|
|
1460
754
|
"enableReloadLifecycle",
|
|
1461
|
-
"enableRemoveComponentExtraData",
|
|
1462
|
-
"enableReuseLoadScriptExports",
|
|
1463
|
-
"enableSignalAPI",
|
|
1464
755
|
"enableSimultaneousTap",
|
|
1465
|
-
"enableTextBoringLayout",
|
|
1466
|
-
"enableTextGradientOpt",
|
|
1467
|
-
"enableTextLanguageAlignment",
|
|
1468
|
-
"enableTextLayerRender",
|
|
1469
|
-
"enableTextLayoutCache",
|
|
1470
|
-
"enableTextNonContiguousLayout",
|
|
1471
756
|
"enableTextOverflow",
|
|
1472
|
-
"
|
|
1473
|
-
"enableTouchRefactor",
|
|
1474
|
-
"enableUIOperationOptimize",
|
|
1475
|
-
"enableUnifiedPipeline",
|
|
1476
|
-
"enableUseContextPool",
|
|
1477
|
-
"enableUseMapBuffer",
|
|
1478
|
-
"enableViewReceiveTouch",
|
|
1479
|
-
"enableVsyncAlignedFlush",
|
|
1480
|
-
"enableXTextLayoutReused",
|
|
1481
|
-
"extendedLayoutOnlyOpt",
|
|
1482
|
-
"extraInfo",
|
|
1483
|
-
"flatten",
|
|
757
|
+
"enableTransformedTouchPosition",
|
|
1484
758
|
"fontScaleEffectiveOnlyOnSp",
|
|
1485
|
-
"implicit",
|
|
1486
759
|
"includeFontPadding",
|
|
1487
760
|
"keyboardCallbackPassRelativeHeight",
|
|
1488
761
|
"longPressDuration",
|
|
1489
|
-
"observerFrameRate",
|
|
1490
|
-
"pipelineSchedulerConfig",
|
|
1491
|
-
"preferredFps",
|
|
1492
|
-
"quirksMode",
|
|
1493
762
|
"removeDescendantSelectorScope",
|
|
1494
|
-
"strictPropType",
|
|
1495
763
|
"tapSlop",
|
|
1496
|
-
"
|
|
1497
|
-
"unifyVWVHBehavior",
|
|
1498
|
-
"useImagePostProcessor",
|
|
1499
|
-
"useNewSwiper",
|
|
1500
|
-
"autoResumeAnimation",
|
|
1501
|
-
"cli",
|
|
1502
|
-
"compileRender",
|
|
1503
|
-
"customData",
|
|
1504
|
-
"enableA11yIDMutationObserver",
|
|
1505
|
-
"enableAsyncDisplay",
|
|
1506
|
-
"enableBackgroundShapeLayer",
|
|
1507
|
-
"enableCascadePseudo",
|
|
1508
|
-
"enableCheckDataWhenUpdatePage",
|
|
1509
|
-
"enableComponentLayoutOnly",
|
|
1510
|
-
"enableGlobalComponentMap",
|
|
1511
|
-
"enableNativeScheduleCreateViewAsync",
|
|
1512
|
-
"enableNewAccessibility",
|
|
1513
|
-
"enableNewLayoutOnly",
|
|
1514
|
-
"enableOptPushStyleToBundle",
|
|
1515
|
-
"enableOverlapForAccessibilityElement",
|
|
1516
|
-
"fixCSSImportRuleOrder",
|
|
1517
|
-
"forceCalcNewStyle",
|
|
1518
|
-
"reactVersion",
|
|
1519
|
-
"redBoxImageSizeWarningThreshold",
|
|
1520
|
-
"removeComponentElement",
|
|
1521
|
-
"syncImageAttach",
|
|
1522
|
-
"useNewImage",
|
|
1523
|
-
"version",
|
|
1524
|
-
"debugInfoOutside",
|
|
1525
|
-
"defaultDisplayLinear",
|
|
1526
|
-
"defaultOverflowVisible",
|
|
1527
|
-
"disableMultipleCascadeCSS",
|
|
1528
|
-
"enableComponentConfig",
|
|
1529
|
-
"enableCSSAsyncDecode",
|
|
1530
|
-
"enableCSSClassMerge",
|
|
1531
|
-
"enableCSSEngine",
|
|
1532
|
-
"enableCSSExternalClass",
|
|
1533
|
-
"enableCSSInvalidation",
|
|
1534
|
-
"enableCSSLazyDecode",
|
|
1535
|
-
"enableCSSSelector",
|
|
1536
|
-
"enableCSSStrictMode",
|
|
1537
|
-
"enableCSSVariable",
|
|
1538
|
-
"enableEventRefactor",
|
|
1539
|
-
"enableFiberArch",
|
|
1540
|
-
"enableFlexibleTemplate",
|
|
1541
|
-
"enableKeepPageData",
|
|
1542
|
-
"enableRemoveCSSScope",
|
|
1543
|
-
"enableSimpleStyling",
|
|
1544
|
-
"experimental_encodeQuickjsBytecode",
|
|
1545
|
-
"implicitAnimation",
|
|
1546
|
-
"removeCSSParserLog",
|
|
1547
|
-
"targetSdkVersion",
|
|
1548
|
-
"templateDebugUrl"
|
|
764
|
+
"unifyVWVHBehavior"
|
|
1549
765
|
].some((prop)=>key === prop)) return true;
|
|
1550
766
|
const value = input[key];
|
|
1551
767
|
if (void 0 === value) return true;
|
|
@@ -1561,12 +777,6 @@ const validateConfig = (()=>{
|
|
|
1561
777
|
});
|
|
1562
778
|
}).every((flag)=>flag)
|
|
1563
779
|
].every((flag)=>flag);
|
|
1564
|
-
const _vo1 = (input, _path, _exceptionable = true)=>[
|
|
1565
|
-
false === _exceptionable || Object.keys(input).map((key)=>{
|
|
1566
|
-
input[key];
|
|
1567
|
-
return true;
|
|
1568
|
-
}).every((flag)=>flag)
|
|
1569
|
-
].every((flag)=>flag);
|
|
1570
780
|
const __is = (input, _exceptionable = true)=>"object" == typeof input && null !== input && false === Array.isArray(input) && _io0(input, true);
|
|
1571
781
|
let errors;
|
|
1572
782
|
let _report;
|