storybook 10.2.0-alpha.9 → 10.2.0-beta.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/dist/_browser-chunks/{Color-E5XDEOX4.js → Color-XESOIGZP.js} +57 -3
- package/dist/_browser-chunks/chunk-AFVOZMXQ.js +23 -0
- package/dist/_browser-chunks/{chunk-3PJE6VLG.js → chunk-ASKQZAOS.js} +1 -12
- package/dist/_browser-chunks/chunk-IYCKG66Y.js +171 -0
- package/dist/_browser-chunks/chunk-LCHBOIHN.js +64 -0
- package/dist/_browser-chunks/{chunk-IPA5A322.js → chunk-MEXTPDJG.js} +1 -1
- package/dist/_browser-chunks/{chunk-54PNNATT.js → chunk-NQJGOFZV.js} +18 -1
- package/dist/_browser-chunks/{chunk-VUZYLZ4B.js → chunk-QOXZ7W26.js} +31 -15
- package/dist/_browser-chunks/{chunk-LOTN4ZCW.js → chunk-SI6AKD4S.js} +2 -2
- package/dist/_browser-chunks/chunk-YK43Z22A.js +263 -0
- package/dist/_node-chunks/{builder-manager-FTCODGJP.js → builder-manager-JEJE63VV.js} +15 -12
- package/dist/_node-chunks/camelcase-HALRJETF.js +62 -0
- package/dist/_node-chunks/{chunk-3Y5VHKPI.js → chunk-3SKE4CCB.js} +9 -9
- package/dist/_node-chunks/chunk-4UYAC7Y2.js +18 -0
- package/dist/_node-chunks/{chunk-NYUFS6LX.js → chunk-6UAQEBJX.js} +10 -10
- package/dist/_node-chunks/{chunk-SPOUBCPJ.js → chunk-72K4WVI5.js} +18 -14
- package/dist/_node-chunks/{chunk-FGI35IGB.js → chunk-7ZX5CX6B.js} +15 -69
- package/dist/_node-chunks/{chunk-6SH5SI6S.js → chunk-ADTWC7QJ.js} +7 -7
- package/dist/_node-chunks/{chunk-OUDQWDHY.js → chunk-APUXGW3Y.js} +7 -7
- package/dist/_node-chunks/{chunk-PZCWRKQE.js → chunk-AXDM43NU.js} +6 -6
- package/dist/_node-chunks/{chunk-73GYSTNZ.js → chunk-B422K4XV.js} +6 -6
- package/dist/_node-chunks/{chunk-WTQGSYRO.js → chunk-BJOXVTWM.js} +12 -571
- package/dist/_node-chunks/{chunk-LRBEW57O.js → chunk-BLGRU6F5.js} +7 -7
- package/dist/_node-chunks/{chunk-6ABJZZWS.js → chunk-CG47ALAV.js} +7 -7
- package/dist/_node-chunks/chunk-FH4FRUMP.js +23 -0
- package/dist/_node-chunks/{chunk-RF3L36MK.js → chunk-GBZ23FIZ.js} +125 -73
- package/dist/_node-chunks/{chunk-MWWAQ5S4.js → chunk-IZ3ATSWZ.js} +5262 -1480
- package/dist/_node-chunks/{chunk-SBPB3VWI.js → chunk-IZFEBWVB.js} +6 -6
- package/dist/_node-chunks/{chunk-33XC4R6P.js → chunk-KL5CKFPT.js} +9 -9
- package/dist/_node-chunks/{chunk-D4TCQXIF.js → chunk-MLXCYULR.js} +7 -7
- package/dist/_node-chunks/{chunk-LB74XOLW.js → chunk-MV2QM7P3.js} +6 -6
- package/dist/_node-chunks/chunk-PHX5XNP7.js +144 -0
- package/dist/_node-chunks/{chunk-XZ6V3G6J.js → chunk-QL6L57W7.js} +533 -143
- package/dist/_node-chunks/{chunk-IIBBQZLT.js → chunk-RPBXVPRB.js} +6 -6
- package/dist/_node-chunks/{chunk-BQX766MA.js → chunk-UH2GWMFP.js} +260 -162
- package/dist/_node-chunks/chunk-WNGL2VRJ.js +126 -0
- package/dist/_node-chunks/{chunk-CO7N5AG7.js → chunk-XAL452XB.js} +36 -14
- package/dist/_node-chunks/{chunk-YN6FEZAF.js → chunk-YVXXMWQO.js} +7 -7
- package/dist/_node-chunks/chunk-YYDL7JOC.js +61 -0
- package/dist/_node-chunks/{chunk-3DPKKQ6P.js → chunk-Z7FLE2TR.js} +6 -6
- package/dist/_node-chunks/{globby-AXGFF6I5.js → globby-4D4NBVG7.js} +11 -20
- package/dist/_node-chunks/{lib-ESB7KQ6D.js → lib-RM2DWHZQ.js} +7 -7
- package/dist/_node-chunks/{mdx-N42X6CFJ-XXQ6YIDF.js → mdx-N42X6CFJ-RAL72UTP.js} +8 -8
- package/dist/_node-chunks/{p-limit-P6ND7SUA.js → p-limit-6PUJQL5X.js} +18 -14
- package/dist/babel/index.js +10 -10
- package/dist/bin/core.js +12 -12
- package/dist/bin/dispatcher.js +11 -11
- package/dist/bin/loader.js +9 -9
- package/dist/cli/index.d.ts +1504 -424
- package/dist/cli/index.js +18 -18
- package/dist/common/index.d.ts +1319 -271
- package/dist/common/index.js +19 -19
- package/dist/components/index.d.ts +4 -1
- package/dist/components/index.js +228 -227
- package/dist/core-events/index.d.ts +23 -7
- package/dist/core-events/index.js +5 -1
- package/dist/core-server/index.d.ts +105 -3
- package/dist/core-server/index.js +992 -613
- package/dist/core-server/presets/common-manager.js +208 -160
- package/dist/core-server/presets/common-override-preset.js +11 -11
- package/dist/core-server/presets/common-preset.js +558 -4534
- package/dist/csf/index.d.ts +147 -15
- package/dist/csf/index.js +52 -23
- package/dist/csf-tools/index.d.ts +19 -1
- package/dist/csf-tools/index.js +11 -9
- package/dist/docs-tools/index.d.ts +2 -2
- package/dist/docs-tools/index.js +4 -5
- package/dist/manager/globals-runtime.js +2749 -6907
- package/dist/manager/runtime.js +2939 -2295
- package/dist/manager-api/index.d.ts +89 -21
- package/dist/manager-api/index.js +82 -23
- package/dist/mocking-utils/index.js +8 -8
- package/dist/node-logger/index.d.ts +1453 -108
- package/dist/node-logger/index.js +9 -9
- package/dist/preview/runtime.js +784 -5059
- package/dist/preview-api/index.d.ts +26 -1
- package/dist/preview-api/index.js +11 -8
- package/dist/router/index.js +5 -4
- package/dist/server-errors.js +11 -11
- package/dist/telemetry/index.d.ts +14 -2
- package/dist/telemetry/index.js +23 -22
- package/dist/theming/index.d.ts +5 -5
- package/dist/theming/index.js +21 -2
- package/dist/types/index.d.ts +21 -9
- package/dist/viewport/index.d.ts +5 -3
- package/dist/viewport/index.js +12 -3
- package/package.json +27 -26
- package/dist/_browser-chunks/chunk-2NDLAB5X.js +0 -363
- package/dist/_browser-chunks/chunk-CLSHX4VX.js +0 -4140
- package/dist/_browser-chunks/chunk-HPYUT3WS.js +0 -199
- package/dist/_browser-chunks/chunk-XCZK5QUJ.js +0 -0
- package/dist/_node-chunks/camelcase-5XDKQT3J.js +0 -37
- package/dist/_node-chunks/chunk-GXQRT5M6.js +0 -61
- package/dist/_node-chunks/chunk-MOQRBTWA.js +0 -70
- package/dist/_node-chunks/chunk-PRNP2HO6.js +0 -23
- package/dist/_node-chunks/chunk-VKMYOVNS.js +0 -18
- package/dist/_node-chunks/dist-YRSVYE5A.js +0 -121
|
@@ -0,0 +1,263 @@
|
|
|
1
|
+
import {
|
|
2
|
+
argumentsTag,
|
|
3
|
+
arrayBufferTag,
|
|
4
|
+
arrayTag,
|
|
5
|
+
booleanTag,
|
|
6
|
+
dataViewTag,
|
|
7
|
+
dateTag,
|
|
8
|
+
float32ArrayTag,
|
|
9
|
+
float64ArrayTag,
|
|
10
|
+
getSymbols,
|
|
11
|
+
getTag,
|
|
12
|
+
int16ArrayTag,
|
|
13
|
+
int32ArrayTag,
|
|
14
|
+
int8ArrayTag,
|
|
15
|
+
isPlainObject,
|
|
16
|
+
isPrimitive,
|
|
17
|
+
isTypedArray,
|
|
18
|
+
mapTag,
|
|
19
|
+
numberTag,
|
|
20
|
+
objectTag,
|
|
21
|
+
regexpTag,
|
|
22
|
+
setTag,
|
|
23
|
+
stringTag,
|
|
24
|
+
symbolTag,
|
|
25
|
+
uint16ArrayTag,
|
|
26
|
+
uint32ArrayTag,
|
|
27
|
+
uint8ArrayTag,
|
|
28
|
+
uint8ClampedArrayTag
|
|
29
|
+
} from "./chunk-LCHBOIHN.js";
|
|
30
|
+
|
|
31
|
+
// ../../node_modules/es-toolkit/dist/object/mapValues.mjs
|
|
32
|
+
function mapValues(object, getNewValue) {
|
|
33
|
+
let result = {}, keys = Object.keys(object);
|
|
34
|
+
for (let i = 0; i < keys.length; i++) {
|
|
35
|
+
let key = keys[i], value = object[key];
|
|
36
|
+
result[key] = getNewValue(value, key, object);
|
|
37
|
+
}
|
|
38
|
+
return result;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
// ../../node_modules/es-toolkit/dist/_internal/isUnsafeProperty.mjs
|
|
42
|
+
function isUnsafeProperty(key) {
|
|
43
|
+
return key === "__proto__";
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
// ../../node_modules/es-toolkit/dist/object/mergeWith.mjs
|
|
47
|
+
function mergeWith(target, source, merge2) {
|
|
48
|
+
let sourceKeys = Object.keys(source);
|
|
49
|
+
for (let i = 0; i < sourceKeys.length; i++) {
|
|
50
|
+
let key = sourceKeys[i];
|
|
51
|
+
if (isUnsafeProperty(key))
|
|
52
|
+
continue;
|
|
53
|
+
let sourceValue = source[key], targetValue = target[key], merged = merge2(targetValue, sourceValue, key, target, source);
|
|
54
|
+
merged !== void 0 ? target[key] = merged : Array.isArray(sourceValue) ? Array.isArray(targetValue) ? target[key] = mergeWith(targetValue, sourceValue, merge2) : target[key] = mergeWith([], sourceValue, merge2) : isPlainObject(sourceValue) ? isPlainObject(targetValue) ? target[key] = mergeWith(targetValue, sourceValue, merge2) : target[key] = mergeWith({}, sourceValue, merge2) : (targetValue === void 0 || sourceValue !== void 0) && (target[key] = sourceValue);
|
|
55
|
+
}
|
|
56
|
+
return target;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
// ../../node_modules/es-toolkit/dist/object/pick.mjs
|
|
60
|
+
function pick(obj, keys) {
|
|
61
|
+
let result = {};
|
|
62
|
+
for (let i = 0; i < keys.length; i++) {
|
|
63
|
+
let key = keys[i];
|
|
64
|
+
Object.hasOwn(obj, key) && (result[key] = obj[key]);
|
|
65
|
+
}
|
|
66
|
+
return result;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
// ../../node_modules/es-toolkit/dist/object/pickBy.mjs
|
|
70
|
+
function pickBy(obj, shouldPick) {
|
|
71
|
+
let result = {}, keys = Object.keys(obj);
|
|
72
|
+
for (let i = 0; i < keys.length; i++) {
|
|
73
|
+
let key = keys[i], value = obj[key];
|
|
74
|
+
shouldPick(value, key) && (result[key] = value);
|
|
75
|
+
}
|
|
76
|
+
return result;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
// ../../node_modules/es-toolkit/dist/object/clone.mjs
|
|
80
|
+
function clone(obj) {
|
|
81
|
+
if (isPrimitive(obj))
|
|
82
|
+
return obj;
|
|
83
|
+
if (Array.isArray(obj) || isTypedArray(obj) || obj instanceof ArrayBuffer || typeof SharedArrayBuffer < "u" && obj instanceof SharedArrayBuffer)
|
|
84
|
+
return obj.slice(0);
|
|
85
|
+
let prototype = Object.getPrototypeOf(obj), Constructor = prototype.constructor;
|
|
86
|
+
if (obj instanceof Date || obj instanceof Map || obj instanceof Set)
|
|
87
|
+
return new Constructor(obj);
|
|
88
|
+
if (obj instanceof RegExp) {
|
|
89
|
+
let newRegExp = new Constructor(obj);
|
|
90
|
+
return newRegExp.lastIndex = obj.lastIndex, newRegExp;
|
|
91
|
+
}
|
|
92
|
+
if (obj instanceof DataView)
|
|
93
|
+
return new Constructor(obj.buffer.slice(0));
|
|
94
|
+
if (obj instanceof Error) {
|
|
95
|
+
let newError = new Constructor(obj.message);
|
|
96
|
+
return newError.stack = obj.stack, newError.name = obj.name, newError.cause = obj.cause, newError;
|
|
97
|
+
}
|
|
98
|
+
if (typeof File < "u" && obj instanceof File)
|
|
99
|
+
return new Constructor([obj], obj.name, { type: obj.type, lastModified: obj.lastModified });
|
|
100
|
+
if (typeof obj == "object") {
|
|
101
|
+
let newObject = Object.create(prototype);
|
|
102
|
+
return Object.assign(newObject, obj);
|
|
103
|
+
}
|
|
104
|
+
return obj;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
// ../../node_modules/es-toolkit/dist/object/cloneDeepWith.mjs
|
|
108
|
+
function cloneDeepWithImpl(valueToClone, keyToClone, objectToClone, stack = /* @__PURE__ */ new Map(), cloneValue = void 0) {
|
|
109
|
+
let cloned = cloneValue?.(valueToClone, keyToClone, objectToClone, stack);
|
|
110
|
+
if (cloned !== void 0)
|
|
111
|
+
return cloned;
|
|
112
|
+
if (isPrimitive(valueToClone))
|
|
113
|
+
return valueToClone;
|
|
114
|
+
if (stack.has(valueToClone))
|
|
115
|
+
return stack.get(valueToClone);
|
|
116
|
+
if (Array.isArray(valueToClone)) {
|
|
117
|
+
let result = new Array(valueToClone.length);
|
|
118
|
+
stack.set(valueToClone, result);
|
|
119
|
+
for (let i = 0; i < valueToClone.length; i++)
|
|
120
|
+
result[i] = cloneDeepWithImpl(valueToClone[i], i, objectToClone, stack, cloneValue);
|
|
121
|
+
return Object.hasOwn(valueToClone, "index") && (result.index = valueToClone.index), Object.hasOwn(valueToClone, "input") && (result.input = valueToClone.input), result;
|
|
122
|
+
}
|
|
123
|
+
if (valueToClone instanceof Date)
|
|
124
|
+
return new Date(valueToClone.getTime());
|
|
125
|
+
if (valueToClone instanceof RegExp) {
|
|
126
|
+
let result = new RegExp(valueToClone.source, valueToClone.flags);
|
|
127
|
+
return result.lastIndex = valueToClone.lastIndex, result;
|
|
128
|
+
}
|
|
129
|
+
if (valueToClone instanceof Map) {
|
|
130
|
+
let result = /* @__PURE__ */ new Map();
|
|
131
|
+
stack.set(valueToClone, result);
|
|
132
|
+
for (let [key, value] of valueToClone)
|
|
133
|
+
result.set(key, cloneDeepWithImpl(value, key, objectToClone, stack, cloneValue));
|
|
134
|
+
return result;
|
|
135
|
+
}
|
|
136
|
+
if (valueToClone instanceof Set) {
|
|
137
|
+
let result = /* @__PURE__ */ new Set();
|
|
138
|
+
stack.set(valueToClone, result);
|
|
139
|
+
for (let value of valueToClone)
|
|
140
|
+
result.add(cloneDeepWithImpl(value, void 0, objectToClone, stack, cloneValue));
|
|
141
|
+
return result;
|
|
142
|
+
}
|
|
143
|
+
if (typeof Buffer < "u" && Buffer.isBuffer(valueToClone))
|
|
144
|
+
return valueToClone.subarray();
|
|
145
|
+
if (isTypedArray(valueToClone)) {
|
|
146
|
+
let result = new (Object.getPrototypeOf(valueToClone)).constructor(valueToClone.length);
|
|
147
|
+
stack.set(valueToClone, result);
|
|
148
|
+
for (let i = 0; i < valueToClone.length; i++)
|
|
149
|
+
result[i] = cloneDeepWithImpl(valueToClone[i], i, objectToClone, stack, cloneValue);
|
|
150
|
+
return result;
|
|
151
|
+
}
|
|
152
|
+
if (valueToClone instanceof ArrayBuffer || typeof SharedArrayBuffer < "u" && valueToClone instanceof SharedArrayBuffer)
|
|
153
|
+
return valueToClone.slice(0);
|
|
154
|
+
if (valueToClone instanceof DataView) {
|
|
155
|
+
let result = new DataView(valueToClone.buffer.slice(0), valueToClone.byteOffset, valueToClone.byteLength);
|
|
156
|
+
return stack.set(valueToClone, result), copyProperties(result, valueToClone, objectToClone, stack, cloneValue), result;
|
|
157
|
+
}
|
|
158
|
+
if (typeof File < "u" && valueToClone instanceof File) {
|
|
159
|
+
let result = new File([valueToClone], valueToClone.name, {
|
|
160
|
+
type: valueToClone.type
|
|
161
|
+
});
|
|
162
|
+
return stack.set(valueToClone, result), copyProperties(result, valueToClone, objectToClone, stack, cloneValue), result;
|
|
163
|
+
}
|
|
164
|
+
if (typeof Blob < "u" && valueToClone instanceof Blob) {
|
|
165
|
+
let result = new Blob([valueToClone], { type: valueToClone.type });
|
|
166
|
+
return stack.set(valueToClone, result), copyProperties(result, valueToClone, objectToClone, stack, cloneValue), result;
|
|
167
|
+
}
|
|
168
|
+
if (valueToClone instanceof Error) {
|
|
169
|
+
let result = new valueToClone.constructor();
|
|
170
|
+
return stack.set(valueToClone, result), result.message = valueToClone.message, result.name = valueToClone.name, result.stack = valueToClone.stack, result.cause = valueToClone.cause, copyProperties(result, valueToClone, objectToClone, stack, cloneValue), result;
|
|
171
|
+
}
|
|
172
|
+
if (valueToClone instanceof Boolean) {
|
|
173
|
+
let result = new Boolean(valueToClone.valueOf());
|
|
174
|
+
return stack.set(valueToClone, result), copyProperties(result, valueToClone, objectToClone, stack, cloneValue), result;
|
|
175
|
+
}
|
|
176
|
+
if (valueToClone instanceof Number) {
|
|
177
|
+
let result = new Number(valueToClone.valueOf());
|
|
178
|
+
return stack.set(valueToClone, result), copyProperties(result, valueToClone, objectToClone, stack, cloneValue), result;
|
|
179
|
+
}
|
|
180
|
+
if (valueToClone instanceof String) {
|
|
181
|
+
let result = new String(valueToClone.valueOf());
|
|
182
|
+
return stack.set(valueToClone, result), copyProperties(result, valueToClone, objectToClone, stack, cloneValue), result;
|
|
183
|
+
}
|
|
184
|
+
if (typeof valueToClone == "object" && isCloneableObject(valueToClone)) {
|
|
185
|
+
let result = Object.create(Object.getPrototypeOf(valueToClone));
|
|
186
|
+
return stack.set(valueToClone, result), copyProperties(result, valueToClone, objectToClone, stack, cloneValue), result;
|
|
187
|
+
}
|
|
188
|
+
return valueToClone;
|
|
189
|
+
}
|
|
190
|
+
function copyProperties(target, source, objectToClone = target, stack, cloneValue) {
|
|
191
|
+
let keys = [...Object.keys(source), ...getSymbols(source)];
|
|
192
|
+
for (let i = 0; i < keys.length; i++) {
|
|
193
|
+
let key = keys[i], descriptor = Object.getOwnPropertyDescriptor(target, key);
|
|
194
|
+
(descriptor == null || descriptor.writable) && (target[key] = cloneDeepWithImpl(source[key], key, objectToClone, stack, cloneValue));
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
function isCloneableObject(object) {
|
|
198
|
+
switch (getTag(object)) {
|
|
199
|
+
case argumentsTag:
|
|
200
|
+
case arrayTag:
|
|
201
|
+
case arrayBufferTag:
|
|
202
|
+
case dataViewTag:
|
|
203
|
+
case booleanTag:
|
|
204
|
+
case dateTag:
|
|
205
|
+
case float32ArrayTag:
|
|
206
|
+
case float64ArrayTag:
|
|
207
|
+
case int8ArrayTag:
|
|
208
|
+
case int16ArrayTag:
|
|
209
|
+
case int32ArrayTag:
|
|
210
|
+
case mapTag:
|
|
211
|
+
case numberTag:
|
|
212
|
+
case objectTag:
|
|
213
|
+
case regexpTag:
|
|
214
|
+
case setTag:
|
|
215
|
+
case stringTag:
|
|
216
|
+
case symbolTag:
|
|
217
|
+
case uint8ArrayTag:
|
|
218
|
+
case uint8ClampedArrayTag:
|
|
219
|
+
case uint16ArrayTag:
|
|
220
|
+
case uint32ArrayTag:
|
|
221
|
+
return !0;
|
|
222
|
+
default:
|
|
223
|
+
return !1;
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
// ../../node_modules/es-toolkit/dist/object/cloneDeep.mjs
|
|
228
|
+
function cloneDeep(obj) {
|
|
229
|
+
return cloneDeepWithImpl(obj, void 0, obj, /* @__PURE__ */ new Map(), void 0);
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
// ../../node_modules/es-toolkit/dist/object/omit.mjs
|
|
233
|
+
function omit(obj, keys) {
|
|
234
|
+
let result = { ...obj };
|
|
235
|
+
for (let i = 0; i < keys.length; i++) {
|
|
236
|
+
let key = keys[i];
|
|
237
|
+
delete result[key];
|
|
238
|
+
}
|
|
239
|
+
return result;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
// ../../node_modules/es-toolkit/dist/string/words.mjs
|
|
243
|
+
var CASE_SPLIT_PATTERN = new RegExp("\\p{Lu}?\\p{Ll}+|[0-9]+|\\p{Lu}+(?!\\p{Ll})|\\p{Emoji_Presentation}|\\p{Extended_Pictographic}|\\p{L}+", "gu");
|
|
244
|
+
|
|
245
|
+
// ../../node_modules/es-toolkit/dist/object/toMerged.mjs
|
|
246
|
+
function toMerged(target, source) {
|
|
247
|
+
return mergeWith(clone(target), source, function mergeRecursively(targetValue, sourceValue) {
|
|
248
|
+
if (Array.isArray(sourceValue))
|
|
249
|
+
return Array.isArray(targetValue) ? mergeWith(clone(targetValue), sourceValue, mergeRecursively) : mergeWith([], sourceValue, mergeRecursively);
|
|
250
|
+
if (isPlainObject(sourceValue))
|
|
251
|
+
return isPlainObject(targetValue) ? mergeWith(clone(targetValue), sourceValue, mergeRecursively) : mergeWith({}, sourceValue, mergeRecursively);
|
|
252
|
+
});
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
export {
|
|
256
|
+
cloneDeep,
|
|
257
|
+
mapValues,
|
|
258
|
+
mergeWith,
|
|
259
|
+
omit,
|
|
260
|
+
pick,
|
|
261
|
+
pickBy,
|
|
262
|
+
toMerged
|
|
263
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_phceqgr585q from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_phceqgr585q from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_phceqgr585q from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_phceqgr585q.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_phceqgr585q.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_phceqgr585q.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -13,26 +13,26 @@ import {
|
|
|
13
13
|
BROWSER_TARGETS,
|
|
14
14
|
NODE_TARGET,
|
|
15
15
|
SUPPORTED_FEATURES
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-IZFEBWVB.js";
|
|
17
17
|
import {
|
|
18
18
|
require_build
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-ADTWC7QJ.js";
|
|
20
20
|
import {
|
|
21
21
|
resolveModulePath,
|
|
22
22
|
resolvePackageDir
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-APUXGW3Y.js";
|
|
24
24
|
import {
|
|
25
25
|
join,
|
|
26
26
|
parse
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-MV2QM7P3.js";
|
|
28
28
|
import {
|
|
29
29
|
slash
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-B422K4XV.js";
|
|
31
31
|
import {
|
|
32
32
|
__commonJS,
|
|
33
33
|
__require,
|
|
34
34
|
__toESM
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-AXDM43NU.js";
|
|
36
36
|
|
|
37
37
|
// ../../node_modules/ejs/lib/utils.js
|
|
38
38
|
var require_utils = __commonJS({
|
|
@@ -882,6 +882,7 @@ var exports_default = {
|
|
|
882
882
|
"ManagerContext",
|
|
883
883
|
"Provider",
|
|
884
884
|
"RequestResponseError",
|
|
885
|
+
"Tag",
|
|
885
886
|
"addons",
|
|
886
887
|
"combineParameters",
|
|
887
888
|
"controlOrMetaKey",
|
|
@@ -1152,6 +1153,8 @@ var exports_default = {
|
|
|
1152
1153
|
"FILE_COMPONENT_SEARCH_RESPONSE",
|
|
1153
1154
|
"FORCE_REMOUNT",
|
|
1154
1155
|
"FORCE_RE_RENDER",
|
|
1156
|
+
"GHOST_STORIES_REQUEST",
|
|
1157
|
+
"GHOST_STORIES_RESPONSE",
|
|
1155
1158
|
"GLOBALS_UPDATED",
|
|
1156
1159
|
"MANAGER_INERT_ATTRIBUTE_CHANGED",
|
|
1157
1160
|
"NAVIGATE_URL",
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import CJS_COMPAT_NODE_URL_phceqgr585q from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_phceqgr585q from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_phceqgr585q from "node:module";
|
|
4
|
+
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_phceqgr585q.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_phceqgr585q.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_phceqgr585q.createRequire(import.meta.url);
|
|
8
|
+
|
|
9
|
+
// ------------------------------------------------------------
|
|
10
|
+
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
|
+
// ------------------------------------------------------------
|
|
12
|
+
import "./chunk-AXDM43NU.js";
|
|
13
|
+
|
|
14
|
+
// ../../node_modules/camelcase/index.js
|
|
15
|
+
var UPPERCASE = /[\p{Lu}]/u, LOWERCASE = /[\p{Ll}]/u, LEADING_CAPITAL = /^[\p{Lu}](?![\p{Lu}])/u, SEPARATORS = /[_.\- ]+/, IDENTIFIER = /([\p{Alpha}\p{N}_]|$)/u, LEADING_SEPARATORS = new RegExp("^" + SEPARATORS.source), SEPARATORS_AND_IDENTIFIER = new RegExp(SEPARATORS.source + IDENTIFIER.source, "gu"), NUMBERS_AND_IDENTIFIER = new RegExp(String.raw`\d+` + IDENTIFIER.source, "gu"), preserveCamelCase = (string, toLowerCase, toUpperCase, preserveConsecutiveUppercase2) => {
|
|
16
|
+
let isLastCharLower = !1, isLastCharUpper = !1, isLastLastCharUpper = !1, isLastLastCharPreserved = !1;
|
|
17
|
+
for (let index = 0; index < string.length; index++) {
|
|
18
|
+
let character = string[index];
|
|
19
|
+
isLastLastCharPreserved = index > 2 ? string[index - 3] === "-" : !0, isLastCharLower && UPPERCASE.test(character) ? (string = string.slice(0, index) + "-" + string.slice(index), isLastCharLower = !1, isLastLastCharUpper = isLastCharUpper, isLastCharUpper = !0, index++) : isLastCharUpper && isLastLastCharUpper && LOWERCASE.test(character) && (!isLastLastCharPreserved || preserveConsecutiveUppercase2) ? (string = string.slice(0, index - 1) + "-" + string.slice(index - 1), isLastLastCharUpper = isLastCharUpper, isLastCharUpper = !1, isLastCharLower = !0) : (isLastCharLower = toLowerCase(character) === character && toUpperCase(character) !== character, isLastLastCharUpper = isLastCharUpper, isLastCharUpper = toUpperCase(character) === character && toLowerCase(character) !== character);
|
|
20
|
+
}
|
|
21
|
+
return string;
|
|
22
|
+
}, preserveConsecutiveUppercase = (input, toLowerCase) => input.replace(LEADING_CAPITAL, (match) => toLowerCase(match)), processWithCasePreservation = (input, toLowerCase, preserveConsecutiveUppercase2) => {
|
|
23
|
+
let result = "", previousWasNumber = !1, previousWasUppercase = !1, characters = [...input];
|
|
24
|
+
for (let index = 0; index < characters.length; index++) {
|
|
25
|
+
let character = characters[index], isUpperCase = UPPERCASE.test(character), nextCharIsUpperCase = index + 1 < characters.length && UPPERCASE.test(characters[index + 1]);
|
|
26
|
+
previousWasNumber && /[\p{Alpha}]/u.test(character) ? (result += character, previousWasNumber = !1, previousWasUppercase = isUpperCase) : preserveConsecutiveUppercase2 && isUpperCase && (previousWasUppercase || nextCharIsUpperCase) ? (result += character, previousWasUppercase = !0) : /\d/.test(character) ? (result += character, previousWasNumber = !0, previousWasUppercase = !1) : SEPARATORS.test(character) ? (result += character, previousWasUppercase = !1) : (result += toLowerCase(character), previousWasNumber = !1, previousWasUppercase = !1);
|
|
27
|
+
}
|
|
28
|
+
return result;
|
|
29
|
+
}, postProcess = (input, toUpperCase, { capitalizeAfterNumber }) => {
|
|
30
|
+
let transformNumericIdentifier = capitalizeAfterNumber ? (match, identifier, offset, string) => {
|
|
31
|
+
let nextCharacter = string.charAt(offset + match.length);
|
|
32
|
+
return SEPARATORS.test(nextCharacter) ? match : identifier ? match.slice(0, -identifier.length) + toUpperCase(identifier) : match;
|
|
33
|
+
} : (match) => match;
|
|
34
|
+
return input.replaceAll(NUMBERS_AND_IDENTIFIER, transformNumericIdentifier).replaceAll(
|
|
35
|
+
SEPARATORS_AND_IDENTIFIER,
|
|
36
|
+
(_, identifier) => toUpperCase(identifier)
|
|
37
|
+
);
|
|
38
|
+
};
|
|
39
|
+
function camelCase(input, options) {
|
|
40
|
+
if (!(typeof input == "string" || Array.isArray(input)))
|
|
41
|
+
throw new TypeError("Expected the input to be `string | string[]`");
|
|
42
|
+
if (options = {
|
|
43
|
+
pascalCase: !1,
|
|
44
|
+
preserveConsecutiveUppercase: !1,
|
|
45
|
+
capitalizeAfterNumber: !0,
|
|
46
|
+
...options
|
|
47
|
+
}, Array.isArray(input) ? input = input.map((element) => element.trim()).filter((element) => element.length > 0).join("-") : input = input.trim(), input.length === 0)
|
|
48
|
+
return "";
|
|
49
|
+
let leadingPrefix = input.match(/^[_$]*/)[0];
|
|
50
|
+
if (input = input.slice(leadingPrefix.length), input.length === 0)
|
|
51
|
+
return leadingPrefix;
|
|
52
|
+
let toLowerCase = options.locale === !1 ? (string) => string.toLowerCase() : (string) => string.toLocaleLowerCase(options.locale), toUpperCase = options.locale === !1 ? (string) => string.toUpperCase() : (string) => string.toLocaleUpperCase(options.locale);
|
|
53
|
+
return input.length === 1 ? SEPARATORS.test(input) ? leadingPrefix : leadingPrefix + (options.pascalCase ? toUpperCase(input) : toLowerCase(input)) : (input !== toLowerCase(input) && (input = preserveCamelCase(
|
|
54
|
+
input,
|
|
55
|
+
toLowerCase,
|
|
56
|
+
toUpperCase,
|
|
57
|
+
options.preserveConsecutiveUppercase
|
|
58
|
+
)), input = input.replace(LEADING_SEPARATORS, ""), options.capitalizeAfterNumber ? input = options.preserveConsecutiveUppercase ? preserveConsecutiveUppercase(input, toLowerCase) : toLowerCase(input) : input = processWithCasePreservation(input, toLowerCase, options.preserveConsecutiveUppercase), options.pascalCase && input.length > 0 && (input = toUpperCase(input[0]) + input.slice(1)), leadingPrefix + postProcess(input, toUpperCase, options));
|
|
59
|
+
}
|
|
60
|
+
export {
|
|
61
|
+
camelCase as default
|
|
62
|
+
};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_phceqgr585q from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_phceqgr585q from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_phceqgr585q from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_phceqgr585q.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_phceqgr585q.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_phceqgr585q.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
invariant
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-Z7FLE2TR.js";
|
|
15
15
|
import {
|
|
16
16
|
require_dist
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-BLGRU6F5.js";
|
|
18
18
|
import {
|
|
19
19
|
__export,
|
|
20
20
|
__toESM
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-AXDM43NU.js";
|
|
22
22
|
|
|
23
23
|
// src/cli/globalSettings.ts
|
|
24
24
|
var import_ts_dedent = __toESM(require_dist(), 1);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import CJS_COMPAT_NODE_URL_phceqgr585q from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_phceqgr585q from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_phceqgr585q from "node:module";
|
|
4
|
+
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_phceqgr585q.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_phceqgr585q.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_phceqgr585q.createRequire(import.meta.url);
|
|
8
|
+
|
|
9
|
+
// ------------------------------------------------------------
|
|
10
|
+
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
|
+
// ------------------------------------------------------------
|
|
12
|
+
|
|
13
|
+
// package.json
|
|
14
|
+
var version = "10.2.0-beta.0";
|
|
15
|
+
|
|
16
|
+
export {
|
|
17
|
+
version
|
|
18
|
+
};
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_phceqgr585q from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_phceqgr585q from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_phceqgr585q from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_phceqgr585q.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_phceqgr585q.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_phceqgr585q.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
StorybookError
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-RPBXVPRB.js";
|
|
15
15
|
import {
|
|
16
16
|
require_dist
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-BLGRU6F5.js";
|
|
18
18
|
import {
|
|
19
19
|
require_picocolors
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-CG47ALAV.js";
|
|
21
21
|
import {
|
|
22
22
|
__toESM
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-AXDM43NU.js";
|
|
24
24
|
|
|
25
25
|
// src/server-errors.ts
|
|
26
26
|
var import_picocolors = __toESM(require_picocolors(), 1), import_ts_dedent = __toESM(require_dist(), 1);
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_phceqgr585q from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_phceqgr585q from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_phceqgr585q from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_phceqgr585q.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_phceqgr585q.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_phceqgr585q.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
require_picocolors
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-CG47ALAV.js";
|
|
15
15
|
import {
|
|
16
16
|
__commonJS,
|
|
17
17
|
__export,
|
|
18
18
|
__require,
|
|
19
19
|
__toESM
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-AXDM43NU.js";
|
|
21
21
|
|
|
22
22
|
// ../../node_modules/are-we-there-yet/lib/tracker-base.js
|
|
23
23
|
var require_tracker_base = __commonJS({
|
|
@@ -2661,7 +2661,7 @@ function isFullWidth(x3) {
|
|
|
2661
2661
|
return x3 === 12288 || x3 >= 65281 && x3 <= 65376 || x3 >= 65504 && x3 <= 65510;
|
|
2662
2662
|
}
|
|
2663
2663
|
function isWide(x3) {
|
|
2664
|
-
return x3 >= 4352 && x3 <= 4447 || x3 === 8986 || x3 === 8987 || x3 === 9001 || x3 === 9002 || x3 >= 9193 && x3 <= 9196 || x3 === 9200 || x3 === 9203 || x3 === 9725 || x3 === 9726 || x3 === 9748 || x3 === 9749 || x3 >= 9800 && x3 <= 9811 || x3 === 9855 || x3 === 9875 || x3 === 9889 || x3 === 9898 || x3 === 9899 || x3 === 9917 || x3 === 9918 || x3 === 9924 || x3 === 9925 || x3 === 9934 || x3 === 9940 || x3 === 9962 || x3 === 9970 || x3 === 9971 || x3 === 9973 || x3 === 9978 || x3 === 9981 || x3 === 9989 || x3 === 9994 || x3 === 9995 || x3 === 10024 || x3 === 10060 || x3 === 10062 || x3 >= 10067 && x3 <= 10069 || x3 === 10071 || x3 >= 10133 && x3 <= 10135 || x3 === 10160 || x3 === 10175 || x3 === 11035 || x3 === 11036 || x3 === 11088 || x3 === 11093 || x3 >= 11904 && x3 <= 11929 || x3 >= 11931 && x3 <= 12019 || x3 >= 12032 && x3 <= 12245 || x3 >= 12272 && x3 <= 12287 || x3 >= 12289 && x3 <= 12350 || x3 >= 12353 && x3 <= 12438 || x3 >= 12441 && x3 <= 12543 || x3 >= 12549 && x3 <= 12591 || x3 >= 12593 && x3 <= 12686 || x3 >= 12688 && x3 <=
|
|
2664
|
+
return x3 >= 4352 && x3 <= 4447 || x3 === 8986 || x3 === 8987 || x3 === 9001 || x3 === 9002 || x3 >= 9193 && x3 <= 9196 || x3 === 9200 || x3 === 9203 || x3 === 9725 || x3 === 9726 || x3 === 9748 || x3 === 9749 || x3 >= 9776 && x3 <= 9783 || x3 >= 9800 && x3 <= 9811 || x3 === 9855 || x3 >= 9866 && x3 <= 9871 || x3 === 9875 || x3 === 9889 || x3 === 9898 || x3 === 9899 || x3 === 9917 || x3 === 9918 || x3 === 9924 || x3 === 9925 || x3 === 9934 || x3 === 9940 || x3 === 9962 || x3 === 9970 || x3 === 9971 || x3 === 9973 || x3 === 9978 || x3 === 9981 || x3 === 9989 || x3 === 9994 || x3 === 9995 || x3 === 10024 || x3 === 10060 || x3 === 10062 || x3 >= 10067 && x3 <= 10069 || x3 === 10071 || x3 >= 10133 && x3 <= 10135 || x3 === 10160 || x3 === 10175 || x3 === 11035 || x3 === 11036 || x3 === 11088 || x3 === 11093 || x3 >= 11904 && x3 <= 11929 || x3 >= 11931 && x3 <= 12019 || x3 >= 12032 && x3 <= 12245 || x3 >= 12272 && x3 <= 12287 || x3 >= 12289 && x3 <= 12350 || x3 >= 12353 && x3 <= 12438 || x3 >= 12441 && x3 <= 12543 || x3 >= 12549 && x3 <= 12591 || x3 >= 12593 && x3 <= 12686 || x3 >= 12688 && x3 <= 12773 || x3 >= 12783 && x3 <= 12830 || x3 >= 12832 && x3 <= 12871 || x3 >= 12880 && x3 <= 42124 || x3 >= 42128 && x3 <= 42182 || x3 >= 43360 && x3 <= 43388 || x3 >= 44032 && x3 <= 55203 || x3 >= 63744 && x3 <= 64255 || x3 >= 65040 && x3 <= 65049 || x3 >= 65072 && x3 <= 65106 || x3 >= 65108 && x3 <= 65126 || x3 >= 65128 && x3 <= 65131 || x3 >= 94176 && x3 <= 94180 || x3 >= 94192 && x3 <= 94198 || x3 >= 94208 && x3 <= 101589 || x3 >= 101631 && x3 <= 101662 || x3 >= 101760 && x3 <= 101874 || x3 >= 110576 && x3 <= 110579 || x3 >= 110581 && x3 <= 110587 || x3 === 110589 || x3 === 110590 || x3 >= 110592 && x3 <= 110882 || x3 === 110898 || x3 >= 110928 && x3 <= 110930 || x3 === 110933 || x3 >= 110948 && x3 <= 110951 || x3 >= 110960 && x3 <= 111355 || x3 >= 119552 && x3 <= 119638 || x3 >= 119648 && x3 <= 119670 || x3 === 126980 || x3 === 127183 || x3 === 127374 || x3 >= 127377 && x3 <= 127386 || x3 >= 127488 && x3 <= 127490 || x3 >= 127504 && x3 <= 127547 || x3 >= 127552 && x3 <= 127560 || x3 === 127568 || x3 === 127569 || x3 >= 127584 && x3 <= 127589 || x3 >= 127744 && x3 <= 127776 || x3 >= 127789 && x3 <= 127797 || x3 >= 127799 && x3 <= 127868 || x3 >= 127870 && x3 <= 127891 || x3 >= 127904 && x3 <= 127946 || x3 >= 127951 && x3 <= 127955 || x3 >= 127968 && x3 <= 127984 || x3 === 127988 || x3 >= 127992 && x3 <= 128062 || x3 === 128064 || x3 >= 128066 && x3 <= 128252 || x3 >= 128255 && x3 <= 128317 || x3 >= 128331 && x3 <= 128334 || x3 >= 128336 && x3 <= 128359 || x3 === 128378 || x3 === 128405 || x3 === 128406 || x3 === 128420 || x3 >= 128507 && x3 <= 128591 || x3 >= 128640 && x3 <= 128709 || x3 === 128716 || x3 >= 128720 && x3 <= 128722 || x3 >= 128725 && x3 <= 128728 || x3 >= 128732 && x3 <= 128735 || x3 === 128747 || x3 === 128748 || x3 >= 128756 && x3 <= 128764 || x3 >= 128992 && x3 <= 129003 || x3 === 129008 || x3 >= 129292 && x3 <= 129338 || x3 >= 129340 && x3 <= 129349 || x3 >= 129351 && x3 <= 129535 || x3 >= 129648 && x3 <= 129660 || x3 >= 129664 && x3 <= 129674 || x3 >= 129678 && x3 <= 129734 || x3 === 129736 || x3 >= 129741 && x3 <= 129756 || x3 >= 129759 && x3 <= 129770 || x3 >= 129775 && x3 <= 129784 || x3 >= 131072 && x3 <= 196605 || x3 >= 196608 && x3 <= 262141;
|
|
2665
2665
|
}
|
|
2666
2666
|
|
|
2667
2667
|
// ../../node_modules/get-east-asian-width/index.js
|
|
@@ -3184,7 +3184,7 @@ function getMinimalTrace() {
|
|
|
3184
3184
|
(line) => !["getMinimalTrace", "createLogger", "logFunction"].some((fn) => line.includes(fn))
|
|
3185
3185
|
);
|
|
3186
3186
|
return userStackLines.length === 0 ? void 0 : `
|
|
3187
|
-
` + userStackLines.slice(0,
|
|
3187
|
+
` + userStackLines.slice(0, 4).join(`
|
|
3188
3188
|
`);
|
|
3189
3189
|
}
|
|
3190
3190
|
var formatLogMessage = (args) => args.map((arg) => typeof arg == "string" ? arg : typeof arg == "object" ? JSON.stringify(arg, null, 2) : String(arg)).join(" ");
|
|
@@ -3216,10 +3216,14 @@ var debug = createLogger(
|
|
|
3216
3216
|
"error",
|
|
3217
3217
|
(...args) => LOG_FUNCTIONS.error()(...args)
|
|
3218
3218
|
), logBox = (message, { title, ...options } = {}) => {
|
|
3219
|
-
|
|
3220
|
-
|
|
3221
|
-
|
|
3222
|
-
|
|
3219
|
+
try {
|
|
3220
|
+
shouldLog("info") && (logTracker.addLog("info", message), isClackEnabled() ? Tt2(message, title, {
|
|
3221
|
+
...options,
|
|
3222
|
+
width: options.width ?? "auto"
|
|
3223
|
+
}) : console.log(message));
|
|
3224
|
+
} catch {
|
|
3225
|
+
R2.message(message);
|
|
3226
|
+
}
|
|
3223
3227
|
}, intro = (message) => {
|
|
3224
3228
|
logTracker.addLog("info", message), shouldLog("info") && (console.log(""), LOG_FUNCTIONS.intro()(message));
|
|
3225
3229
|
}, outro = (message) => {
|