storybook 10.2.0-alpha.1 → 10.2.0-alpha.3
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 +484 -0
- package/dist/_browser-chunks/{WithTooltip-IO6J4KBT.js → WithTooltip-65CFNBJE.js} +70 -70
- package/dist/_browser-chunks/{chunk-45UGUKRX.js → chunk-242VQQM5.js} +1 -1
- package/dist/_browser-chunks/chunk-2NDLAB5X.js +363 -0
- package/dist/_browser-chunks/{chunk-JP7NCOJX.js → chunk-3LY4VQVK.js} +1 -1
- package/dist/_browser-chunks/{chunk-XJNX76GA.js → chunk-54PNNATT.js} +3 -20
- package/dist/_browser-chunks/{chunk-VYJQ7RU5.js → chunk-6QKNWBQB.js} +17 -17
- package/dist/_browser-chunks/chunk-CLSHX4VX.js +4140 -0
- package/dist/_browser-chunks/{chunk-2XZMBGTA.js → chunk-DOSERVNW.js} +1 -1
- package/dist/_browser-chunks/chunk-HPYUT3WS.js +199 -0
- package/dist/_browser-chunks/{chunk-BRX2HXH7.js → chunk-IH6QJILI.js} +1 -1
- package/dist/_browser-chunks/{chunk-AS2HQEYC.js → chunk-IWQGIXJS.js} +1 -1
- package/dist/_browser-chunks/{chunk-UD6FQLAF.js → chunk-JK6U3MQW.js} +3 -3
- package/dist/_browser-chunks/{chunk-CHUV5WSW.js → chunk-LE2LTDW3.js} +1 -1
- package/dist/_browser-chunks/chunk-NZMVUW5T.js +7 -0
- package/dist/_browser-chunks/{chunk-RP5RXKFU.js → chunk-Q5RYDXT3.js} +38 -30
- package/dist/_browser-chunks/{chunk-AXG2BOBL.js → chunk-S6TK43XQ.js} +10 -10
- package/dist/_browser-chunks/{chunk-H6XK3RSC.js → chunk-UAYGIC3L.js} +6 -6
- package/dist/_browser-chunks/{chunk-YKE5S47A.js → chunk-V2VKKSMQ.js} +18 -18
- package/dist/_browser-chunks/chunk-VIJ7SQRO.js +568 -0
- package/dist/_browser-chunks/chunk-XCZK5QUJ.js +0 -0
- package/dist/_browser-chunks/{chunk-3OXGAGBE.js → chunk-XLJZ7AOP.js} +14 -14
- package/dist/_browser-chunks/{chunk-SS2NHR7W.js → chunk-Y6HZAT53.js} +10 -12
- package/dist/_browser-chunks/{chunk-P4F4UVXX.js → chunk-YKABRMAI.js} +15 -15
- package/dist/_browser-chunks/{chunk-WJYERY3R.js → chunk-ZCFV7BZB.js} +2 -2
- package/dist/_browser-chunks/{formatter-QJ4M4OGQ.js → formatter-EIJCOSYU.js} +2 -2
- package/dist/_browser-chunks/{syntaxhighlighter-IQDEPFLK.js → syntaxhighlighter-ED5Y7EFY.js} +119 -119
- package/dist/_node-chunks/{builder-manager-LXL5N6M5.js → builder-manager-U6SN6ZED.js} +22 -22
- package/dist/_node-chunks/{camelcase-64II7H4U.js → camelcase-GLXVGCEV.js} +8 -8
- package/dist/_node-chunks/{chunk-KMTK5W6O.js → chunk-2IFACTU4.js} +19 -19
- package/dist/_node-chunks/{chunk-5NWCBUGD.js → chunk-4VZME5CV.js} +6 -6
- package/dist/_node-chunks/{chunk-PGFQADZC.js → chunk-5SCVRD6U.js} +7 -7
- package/dist/_node-chunks/{chunk-VFTNRF5X.js → chunk-5ZGZ22PV.js} +17 -17
- package/dist/_node-chunks/{chunk-LEDV47V2.js → chunk-6RXAFKLM.js} +15 -15
- package/dist/_node-chunks/chunk-6WHPDWFA.js +61 -0
- package/dist/_node-chunks/chunk-B6AJKALV.js +20 -0
- package/dist/_node-chunks/{chunk-5GNBLJKS.js → chunk-C2G5ML5F.js} +8 -8
- package/dist/_node-chunks/chunk-CFCZ5PKC.js +18 -0
- package/dist/_node-chunks/{chunk-ET4VMMZG.js → chunk-DO56XDMZ.js} +10 -10
- package/dist/_node-chunks/{chunk-SR5ZYD7K.js → chunk-E6CKDKNL.js} +8 -8
- package/dist/_node-chunks/{chunk-77APSTTM.js → chunk-H4BZRGVO.js} +8 -8
- package/dist/_node-chunks/{chunk-TX77W2KY.js → chunk-HGYHQF7Z.js} +597 -593
- package/dist/_node-chunks/{chunk-4EZYJUAC.js → chunk-HKTRFCJD.js} +10 -10
- package/dist/_node-chunks/{chunk-KXDU466E.js → chunk-HYH2IT7K.js} +31 -31
- package/dist/_node-chunks/{chunk-R3WYNAT5.js → chunk-IKSK6CEY.js} +6 -6
- package/dist/_node-chunks/{chunk-VR5LMO3F.js → chunk-KP6H4S3L.js} +9 -9
- package/dist/_node-chunks/{chunk-JYMZJCZ7.js → chunk-LHBDNMEP.js} +66 -72
- package/dist/_node-chunks/{chunk-ZI2RAI3I.js → chunk-MUWHX7GN.js} +6 -6
- package/dist/_node-chunks/{chunk-AJUO2ZU3.js → chunk-N3O3HJMU.js} +9 -9
- package/dist/_node-chunks/{chunk-FTR6MHOX.js → chunk-NKUDIVPF.js} +619 -148
- package/dist/_node-chunks/chunk-O5OIO47U.js +23 -0
- package/dist/_node-chunks/{chunk-GYZQMMTN.js → chunk-Q27GKV7Y.js} +9 -9
- package/dist/_node-chunks/{chunk-4BQMSZKI.js → chunk-Q47IIVLL.js} +165 -191
- package/dist/_node-chunks/{chunk-F7377GT2.js → chunk-SM7QXYN4.js} +48 -32
- package/dist/_node-chunks/{chunk-CLNMK7MP.js → chunk-VKFEIIOF.js} +249 -240
- package/dist/_node-chunks/{chunk-TP6ICLTL.js → chunk-XYVZIRZC.js} +6 -6
- package/dist/_node-chunks/{chunk-GOOBGRAV.js → chunk-YPCGEC3N.js} +165 -21
- package/dist/_node-chunks/{dist-HGQ5R6JU.js → dist-GGDI7EVD.js} +10 -10
- package/dist/_node-chunks/{globby-5XJTXKUJ.js → globby-DY2UCDKN.js} +154 -154
- package/dist/_node-chunks/{lib-XNLTS2RI.js → lib-PFKECSVA.js} +16 -16
- package/dist/_node-chunks/{mdx-N42X6CFJ-7WF3QWVO.js → mdx-N42X6CFJ-OPAAI5WZ.js} +11 -11
- package/dist/_node-chunks/{p-limit-RBKYTJKF.js → p-limit-PMYE6ZFC.js} +8 -8
- package/dist/babel/index.js +10 -10
- package/dist/bin/core.js +40 -34
- package/dist/bin/dispatcher.js +11 -11
- package/dist/bin/loader.js +14 -11
- package/dist/channels/index.js +3 -3
- package/dist/cli/index.d.ts +2 -1
- package/dist/cli/index.js +18 -18
- package/dist/common/index.d.ts +25 -18
- package/dist/common/index.js +19 -19
- package/dist/components/index.d.ts +9 -2
- package/dist/components/index.js +327 -311
- package/dist/core-server/index.js +127 -127
- package/dist/core-server/presets/common-manager.css +2 -2
- package/dist/core-server/presets/common-manager.js +43 -38
- package/dist/core-server/presets/common-override-preset.js +9 -9
- package/dist/core-server/presets/common-preset.js +4390 -173
- package/dist/csf/index.js +39 -35
- package/dist/csf-tools/index.js +9 -9
- package/dist/docs-tools/index.js +6 -5
- package/dist/instrumenter/index.js +1 -1
- package/dist/manager/globals-runtime.js +21087 -14648
- package/dist/manager/runtime.js +148 -132
- package/dist/manager-api/index.js +31 -22
- package/dist/mocking-utils/index.js +14 -14
- package/dist/node-logger/index.d.ts +3 -3
- package/dist/node-logger/index.js +9 -9
- package/dist/preview/runtime.js +22291 -15810
- package/dist/preview-api/index.js +12 -11
- package/dist/preview-errors.js +2 -2
- package/dist/router/index.js +12 -13
- package/dist/server-errors.js +11 -11
- package/dist/telemetry/index.d.ts +1 -1
- package/dist/telemetry/index.js +23 -23
- package/dist/test/index.js +3237 -1653
- package/dist/theming/create.js +3 -3
- package/dist/theming/index.js +38 -38
- package/dist/types/index.d.ts +3 -1
- package/package.json +2 -8
- package/dist/_browser-chunks/Color-TNPFN3FC.js +0 -1097
- package/dist/_browser-chunks/chunk-3IAH5M2U.js +0 -171
- package/dist/_browser-chunks/chunk-AIOS4NGK.js +0 -252
- package/dist/_browser-chunks/chunk-EZSQOHRI.js +0 -18
- package/dist/_browser-chunks/chunk-GFLS4VP3.js +0 -64
- package/dist/_browser-chunks/chunk-QKODTO7K.js +0 -7
- package/dist/_node-chunks/chunk-COQ27OZ3.js +0 -61
- package/dist/_node-chunks/chunk-MC2R4DSD.js +0 -20
- package/dist/_node-chunks/chunk-NEENMS4J.js +0 -18
- package/dist/_node-chunks/chunk-XEPVDCRL.js +0 -23
|
@@ -0,0 +1,363 @@
|
|
|
1
|
+
import {
|
|
2
|
+
noop
|
|
3
|
+
} from "./chunk-NZMVUW5T.js";
|
|
4
|
+
|
|
5
|
+
// ../../node_modules/es-toolkit/dist/predicate/isPlainObject.mjs
|
|
6
|
+
function isPlainObject(value) {
|
|
7
|
+
if (!value || typeof value != "object")
|
|
8
|
+
return !1;
|
|
9
|
+
let proto = Object.getPrototypeOf(value);
|
|
10
|
+
return proto === null || proto === Object.prototype || Object.getPrototypeOf(proto) === null ? Object.prototype.toString.call(value) === "[object Object]" : !1;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
// ../../node_modules/es-toolkit/dist/compat/_internal/getSymbols.mjs
|
|
14
|
+
function getSymbols(object) {
|
|
15
|
+
return Object.getOwnPropertySymbols(object).filter((symbol) => Object.prototype.propertyIsEnumerable.call(object, symbol));
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
// ../../node_modules/es-toolkit/dist/compat/_internal/getTag.mjs
|
|
19
|
+
function getTag(value) {
|
|
20
|
+
return value == null ? value === void 0 ? "[object Undefined]" : "[object Null]" : Object.prototype.toString.call(value);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
// ../../node_modules/es-toolkit/dist/compat/_internal/tags.mjs
|
|
24
|
+
var regexpTag = "[object RegExp]", stringTag = "[object String]", numberTag = "[object Number]", booleanTag = "[object Boolean]", argumentsTag = "[object Arguments]", symbolTag = "[object Symbol]", dateTag = "[object Date]", mapTag = "[object Map]", setTag = "[object Set]", arrayTag = "[object Array]", functionTag = "[object Function]", arrayBufferTag = "[object ArrayBuffer]", objectTag = "[object Object]", errorTag = "[object Error]", dataViewTag = "[object DataView]", uint8ArrayTag = "[object Uint8Array]", uint8ClampedArrayTag = "[object Uint8ClampedArray]", uint16ArrayTag = "[object Uint16Array]", uint32ArrayTag = "[object Uint32Array]", bigUint64ArrayTag = "[object BigUint64Array]", int8ArrayTag = "[object Int8Array]", int16ArrayTag = "[object Int16Array]", int32ArrayTag = "[object Int32Array]", bigInt64ArrayTag = "[object BigInt64Array]", float32ArrayTag = "[object Float32Array]", float64ArrayTag = "[object Float64Array]";
|
|
25
|
+
|
|
26
|
+
// ../../node_modules/es-toolkit/dist/compat/util/eq.mjs
|
|
27
|
+
function eq(value, other) {
|
|
28
|
+
return value === other || Number.isNaN(value) && Number.isNaN(other);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
// ../../node_modules/es-toolkit/dist/predicate/isEqualWith.mjs
|
|
32
|
+
function isEqualWith(a, b, areValuesEqual) {
|
|
33
|
+
return isEqualWithImpl(a, b, void 0, void 0, void 0, void 0, areValuesEqual);
|
|
34
|
+
}
|
|
35
|
+
function isEqualWithImpl(a, b, property, aParent, bParent, stack, areValuesEqual) {
|
|
36
|
+
let result = areValuesEqual(a, b, property, aParent, bParent, stack);
|
|
37
|
+
if (result !== void 0)
|
|
38
|
+
return result;
|
|
39
|
+
if (typeof a == typeof b)
|
|
40
|
+
switch (typeof a) {
|
|
41
|
+
case "bigint":
|
|
42
|
+
case "string":
|
|
43
|
+
case "boolean":
|
|
44
|
+
case "symbol":
|
|
45
|
+
case "undefined":
|
|
46
|
+
return a === b;
|
|
47
|
+
case "number":
|
|
48
|
+
return a === b || Object.is(a, b);
|
|
49
|
+
case "function":
|
|
50
|
+
return a === b;
|
|
51
|
+
case "object":
|
|
52
|
+
return areObjectsEqual(a, b, stack, areValuesEqual);
|
|
53
|
+
}
|
|
54
|
+
return areObjectsEqual(a, b, stack, areValuesEqual);
|
|
55
|
+
}
|
|
56
|
+
function areObjectsEqual(a, b, stack, areValuesEqual) {
|
|
57
|
+
if (Object.is(a, b))
|
|
58
|
+
return !0;
|
|
59
|
+
let aTag = getTag(a), bTag = getTag(b);
|
|
60
|
+
if (aTag === argumentsTag && (aTag = objectTag), bTag === argumentsTag && (bTag = objectTag), aTag !== bTag)
|
|
61
|
+
return !1;
|
|
62
|
+
switch (aTag) {
|
|
63
|
+
case stringTag:
|
|
64
|
+
return a.toString() === b.toString();
|
|
65
|
+
case numberTag: {
|
|
66
|
+
let x = a.valueOf(), y = b.valueOf();
|
|
67
|
+
return eq(x, y);
|
|
68
|
+
}
|
|
69
|
+
case booleanTag:
|
|
70
|
+
case dateTag:
|
|
71
|
+
case symbolTag:
|
|
72
|
+
return Object.is(a.valueOf(), b.valueOf());
|
|
73
|
+
case regexpTag:
|
|
74
|
+
return a.source === b.source && a.flags === b.flags;
|
|
75
|
+
case functionTag:
|
|
76
|
+
return a === b;
|
|
77
|
+
}
|
|
78
|
+
stack = stack ?? /* @__PURE__ */ new Map();
|
|
79
|
+
let aStack = stack.get(a), bStack = stack.get(b);
|
|
80
|
+
if (aStack != null && bStack != null)
|
|
81
|
+
return aStack === b;
|
|
82
|
+
stack.set(a, b), stack.set(b, a);
|
|
83
|
+
try {
|
|
84
|
+
switch (aTag) {
|
|
85
|
+
case mapTag: {
|
|
86
|
+
if (a.size !== b.size)
|
|
87
|
+
return !1;
|
|
88
|
+
for (let [key, value] of a.entries())
|
|
89
|
+
if (!b.has(key) || !isEqualWithImpl(value, b.get(key), key, a, b, stack, areValuesEqual))
|
|
90
|
+
return !1;
|
|
91
|
+
return !0;
|
|
92
|
+
}
|
|
93
|
+
case setTag: {
|
|
94
|
+
if (a.size !== b.size)
|
|
95
|
+
return !1;
|
|
96
|
+
let aValues = Array.from(a.values()), bValues = Array.from(b.values());
|
|
97
|
+
for (let i = 0; i < aValues.length; i++) {
|
|
98
|
+
let aValue = aValues[i], index = bValues.findIndex((bValue) => isEqualWithImpl(aValue, bValue, void 0, a, b, stack, areValuesEqual));
|
|
99
|
+
if (index === -1)
|
|
100
|
+
return !1;
|
|
101
|
+
bValues.splice(index, 1);
|
|
102
|
+
}
|
|
103
|
+
return !0;
|
|
104
|
+
}
|
|
105
|
+
case arrayTag:
|
|
106
|
+
case uint8ArrayTag:
|
|
107
|
+
case uint8ClampedArrayTag:
|
|
108
|
+
case uint16ArrayTag:
|
|
109
|
+
case uint32ArrayTag:
|
|
110
|
+
case bigUint64ArrayTag:
|
|
111
|
+
case int8ArrayTag:
|
|
112
|
+
case int16ArrayTag:
|
|
113
|
+
case int32ArrayTag:
|
|
114
|
+
case bigInt64ArrayTag:
|
|
115
|
+
case float32ArrayTag:
|
|
116
|
+
case float64ArrayTag: {
|
|
117
|
+
if (typeof Buffer < "u" && Buffer.isBuffer(a) !== Buffer.isBuffer(b) || a.length !== b.length)
|
|
118
|
+
return !1;
|
|
119
|
+
for (let i = 0; i < a.length; i++)
|
|
120
|
+
if (!isEqualWithImpl(a[i], b[i], i, a, b, stack, areValuesEqual))
|
|
121
|
+
return !1;
|
|
122
|
+
return !0;
|
|
123
|
+
}
|
|
124
|
+
case arrayBufferTag:
|
|
125
|
+
return a.byteLength !== b.byteLength ? !1 : areObjectsEqual(new Uint8Array(a), new Uint8Array(b), stack, areValuesEqual);
|
|
126
|
+
case dataViewTag:
|
|
127
|
+
return a.byteLength !== b.byteLength || a.byteOffset !== b.byteOffset ? !1 : areObjectsEqual(new Uint8Array(a), new Uint8Array(b), stack, areValuesEqual);
|
|
128
|
+
case errorTag:
|
|
129
|
+
return a.name === b.name && a.message === b.message;
|
|
130
|
+
case objectTag: {
|
|
131
|
+
if (!(areObjectsEqual(a.constructor, b.constructor, stack, areValuesEqual) || isPlainObject(a) && isPlainObject(b)))
|
|
132
|
+
return !1;
|
|
133
|
+
let aKeys = [...Object.keys(a), ...getSymbols(a)], bKeys = [...Object.keys(b), ...getSymbols(b)];
|
|
134
|
+
if (aKeys.length !== bKeys.length)
|
|
135
|
+
return !1;
|
|
136
|
+
for (let i = 0; i < aKeys.length; i++) {
|
|
137
|
+
let propKey = aKeys[i], aProp = a[propKey];
|
|
138
|
+
if (!Object.hasOwn(b, propKey))
|
|
139
|
+
return !1;
|
|
140
|
+
let bProp = b[propKey];
|
|
141
|
+
if (!isEqualWithImpl(aProp, bProp, propKey, a, b, stack, areValuesEqual))
|
|
142
|
+
return !1;
|
|
143
|
+
}
|
|
144
|
+
return !0;
|
|
145
|
+
}
|
|
146
|
+
default:
|
|
147
|
+
return !1;
|
|
148
|
+
}
|
|
149
|
+
} finally {
|
|
150
|
+
stack.delete(a), stack.delete(b);
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
// ../../node_modules/es-toolkit/dist/predicate/isEqual.mjs
|
|
155
|
+
function isEqual(a, b) {
|
|
156
|
+
return isEqualWith(a, b, noop);
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
// ../../node_modules/es-toolkit/dist/predicate/isPrimitive.mjs
|
|
160
|
+
function isPrimitive(value) {
|
|
161
|
+
return value == null || typeof value != "object" && typeof value != "function";
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
// ../../node_modules/es-toolkit/dist/predicate/isTypedArray.mjs
|
|
165
|
+
function isTypedArray(x) {
|
|
166
|
+
return ArrayBuffer.isView(x) && !(x instanceof DataView);
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
// ../../node_modules/es-toolkit/dist/predicate/isBlob.mjs
|
|
170
|
+
function isBlob(x) {
|
|
171
|
+
return typeof Blob > "u" ? !1 : x instanceof Blob;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
// ../../node_modules/es-toolkit/dist/predicate/isBrowser.mjs
|
|
175
|
+
function isBrowser() {
|
|
176
|
+
return typeof window < "u" && window?.document != null;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
// ../../node_modules/es-toolkit/dist/predicate/isFile.mjs
|
|
180
|
+
function isFile(x) {
|
|
181
|
+
return typeof File > "u" ? !1 : isBlob(x) && x instanceof File;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
// ../../node_modules/es-toolkit/dist/predicate/isFunction.mjs
|
|
185
|
+
function isFunction(value) {
|
|
186
|
+
return typeof value == "function";
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
// ../../node_modules/es-toolkit/dist/predicate/isJSON.mjs
|
|
190
|
+
function isJSON(value) {
|
|
191
|
+
if (typeof value != "string")
|
|
192
|
+
return !1;
|
|
193
|
+
try {
|
|
194
|
+
return JSON.parse(value), !0;
|
|
195
|
+
} catch {
|
|
196
|
+
return !1;
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
// ../../node_modules/es-toolkit/dist/predicate/isJSONValue.mjs
|
|
201
|
+
function isJSONValue(value) {
|
|
202
|
+
switch (typeof value) {
|
|
203
|
+
case "object":
|
|
204
|
+
return value === null || isJSONArray(value) || isJSONObject(value);
|
|
205
|
+
case "string":
|
|
206
|
+
case "number":
|
|
207
|
+
case "boolean":
|
|
208
|
+
return !0;
|
|
209
|
+
default:
|
|
210
|
+
return !1;
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
function isJSONArray(value) {
|
|
214
|
+
return Array.isArray(value) ? value.every((item) => isJSONValue(item)) : !1;
|
|
215
|
+
}
|
|
216
|
+
function isJSONObject(obj) {
|
|
217
|
+
if (!isPlainObject(obj))
|
|
218
|
+
return !1;
|
|
219
|
+
let keys = Reflect.ownKeys(obj);
|
|
220
|
+
for (let i = 0; i < keys.length; i++) {
|
|
221
|
+
let key = keys[i], value = obj[key];
|
|
222
|
+
if (typeof key != "string" || !isJSONValue(value))
|
|
223
|
+
return !1;
|
|
224
|
+
}
|
|
225
|
+
return !0;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
// ../../node_modules/es-toolkit/dist/predicate/isLength.mjs
|
|
229
|
+
function isLength(value) {
|
|
230
|
+
return Number.isSafeInteger(value) && value >= 0;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
// ../../node_modules/es-toolkit/dist/predicate/isNode.mjs
|
|
234
|
+
function isNode() {
|
|
235
|
+
return typeof process < "u" && process?.versions?.node != null;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
// ../../node_modules/es-toolkit/dist/predicate/isNotNil.mjs
|
|
239
|
+
function isNotNil(x) {
|
|
240
|
+
return x != null;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
// ../../node_modules/es-toolkit/dist/predicate/isNull.mjs
|
|
244
|
+
function isNull(x) {
|
|
245
|
+
return x === null;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
// ../../node_modules/es-toolkit/dist/predicate/isPromise.mjs
|
|
249
|
+
function isPromise(value) {
|
|
250
|
+
return value instanceof Promise;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
// ../../node_modules/es-toolkit/dist/predicate/isUndefined.mjs
|
|
254
|
+
function isUndefined(x) {
|
|
255
|
+
return x === void 0;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
// ../../node_modules/es-toolkit/dist/predicate/isNil.mjs
|
|
259
|
+
function isNil(x) {
|
|
260
|
+
return x == null;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
// ../../node_modules/es-toolkit/dist/predicate/isSymbol.mjs
|
|
264
|
+
function isSymbol(value) {
|
|
265
|
+
return typeof value == "symbol";
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
// ../../node_modules/es-toolkit/dist/predicate/isBuffer.mjs
|
|
269
|
+
function isBuffer(x) {
|
|
270
|
+
return typeof Buffer < "u" && Buffer.isBuffer(x);
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
// ../../node_modules/es-toolkit/dist/predicate/isArrayBuffer.mjs
|
|
274
|
+
function isArrayBuffer(value) {
|
|
275
|
+
return value instanceof ArrayBuffer;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
// ../../node_modules/es-toolkit/dist/predicate/isDate.mjs
|
|
279
|
+
function isDate(value) {
|
|
280
|
+
return value instanceof Date;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
// ../../node_modules/es-toolkit/dist/predicate/isMap.mjs
|
|
284
|
+
function isMap(value) {
|
|
285
|
+
return value instanceof Map;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
// ../../node_modules/es-toolkit/dist/predicate/isRegExp.mjs
|
|
289
|
+
function isRegExp(value) {
|
|
290
|
+
return value instanceof RegExp;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
// ../../node_modules/es-toolkit/dist/predicate/isSet.mjs
|
|
294
|
+
function isSet(value) {
|
|
295
|
+
return value instanceof Set;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
// ../../node_modules/es-toolkit/dist/predicate/isWeakMap.mjs
|
|
299
|
+
function isWeakMap(value) {
|
|
300
|
+
return value instanceof WeakMap;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
// ../../node_modules/es-toolkit/dist/predicate/isWeakSet.mjs
|
|
304
|
+
function isWeakSet(value) {
|
|
305
|
+
return value instanceof WeakSet;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
export {
|
|
309
|
+
isPrimitive,
|
|
310
|
+
isTypedArray,
|
|
311
|
+
getSymbols,
|
|
312
|
+
getTag,
|
|
313
|
+
regexpTag,
|
|
314
|
+
stringTag,
|
|
315
|
+
numberTag,
|
|
316
|
+
booleanTag,
|
|
317
|
+
argumentsTag,
|
|
318
|
+
symbolTag,
|
|
319
|
+
dateTag,
|
|
320
|
+
mapTag,
|
|
321
|
+
setTag,
|
|
322
|
+
arrayTag,
|
|
323
|
+
arrayBufferTag,
|
|
324
|
+
objectTag,
|
|
325
|
+
dataViewTag,
|
|
326
|
+
uint8ArrayTag,
|
|
327
|
+
uint8ClampedArrayTag,
|
|
328
|
+
uint16ArrayTag,
|
|
329
|
+
uint32ArrayTag,
|
|
330
|
+
int8ArrayTag,
|
|
331
|
+
int16ArrayTag,
|
|
332
|
+
int32ArrayTag,
|
|
333
|
+
float32ArrayTag,
|
|
334
|
+
float64ArrayTag,
|
|
335
|
+
isPlainObject,
|
|
336
|
+
isBlob,
|
|
337
|
+
isBrowser,
|
|
338
|
+
eq,
|
|
339
|
+
isEqualWith,
|
|
340
|
+
isEqual,
|
|
341
|
+
isFile,
|
|
342
|
+
isFunction,
|
|
343
|
+
isJSON,
|
|
344
|
+
isJSONValue,
|
|
345
|
+
isJSONArray,
|
|
346
|
+
isJSONObject,
|
|
347
|
+
isLength,
|
|
348
|
+
isNode,
|
|
349
|
+
isNotNil,
|
|
350
|
+
isNull,
|
|
351
|
+
isPromise,
|
|
352
|
+
isUndefined,
|
|
353
|
+
isNil,
|
|
354
|
+
isSymbol,
|
|
355
|
+
isBuffer,
|
|
356
|
+
isArrayBuffer,
|
|
357
|
+
isDate,
|
|
358
|
+
isMap,
|
|
359
|
+
isRegExp,
|
|
360
|
+
isSet,
|
|
361
|
+
isWeakMap,
|
|
362
|
+
isWeakSet
|
|
363
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//
|
|
1
|
+
// ../../node_modules/dequal/dist/index.mjs
|
|
2
2
|
var has = Object.prototype.hasOwnProperty;
|
|
3
3
|
function find(iter, tar, key) {
|
|
4
4
|
for (key of iter.keys())
|
|
@@ -52,7 +52,7 @@ function dequal(foo, bar) {
|
|
|
52
52
|
return foo !== foo && bar !== bar;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
//
|
|
55
|
+
// ../../node_modules/es-toolkit/dist/array/partition.mjs
|
|
56
56
|
function partition(arr, isInTruthy) {
|
|
57
57
|
let truthy = [], falsy = [];
|
|
58
58
|
for (let i = 0; i < arr.length; i++) {
|
|
@@ -62,24 +62,7 @@ function partition(arr, isInTruthy) {
|
|
|
62
62
|
return [truthy, falsy];
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
// ../node_modules/es-toolkit/dist/array/countBy.mjs
|
|
66
|
-
function countBy(arr, mapper) {
|
|
67
|
-
let result = {};
|
|
68
|
-
for (let i = 0; i < arr.length; i++) {
|
|
69
|
-
let item = arr[i], key = mapper(item);
|
|
70
|
-
result[key] = (result[key] ?? 0) + 1;
|
|
71
|
-
}
|
|
72
|
-
return result;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
// ../node_modules/es-toolkit/dist/array/uniq.mjs
|
|
76
|
-
function uniq(arr) {
|
|
77
|
-
return [...new Set(arr)];
|
|
78
|
-
}
|
|
79
|
-
|
|
80
65
|
export {
|
|
81
66
|
dequal,
|
|
82
|
-
|
|
83
|
-
partition,
|
|
84
|
-
uniq
|
|
67
|
+
partition
|
|
85
68
|
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mapValues
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-CLSHX4VX.js";
|
|
4
4
|
import {
|
|
5
5
|
isPlainObject
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-2NDLAB5X.js";
|
|
7
7
|
import {
|
|
8
8
|
__commonJS,
|
|
9
9
|
__toESM
|
|
10
10
|
} from "./chunk-A242L54C.js";
|
|
11
11
|
|
|
12
|
-
//
|
|
12
|
+
// ../../node_modules/jsdoc-type-pratt-parser/dist/index.js
|
|
13
13
|
var require_dist = __commonJS({
|
|
14
|
-
"
|
|
14
|
+
"../../node_modules/jsdoc-type-pratt-parser/dist/index.js"(exports, module) {
|
|
15
15
|
(function(global, factory) {
|
|
16
16
|
typeof exports == "object" && typeof module < "u" ? factory(exports) : typeof define == "function" && define.amd ? define(["exports"], factory) : (global = typeof globalThis < "u" ? globalThis : global || self, factory(global.jtpp = {}));
|
|
17
17
|
})(exports, (function(exports2) {
|
|
@@ -2205,13 +2205,13 @@ function getDocgenDescription(component) {
|
|
|
2205
2205
|
return hasDocgen(component) ? str(component.__docgenInfo.description) : "";
|
|
2206
2206
|
}
|
|
2207
2207
|
|
|
2208
|
-
//
|
|
2208
|
+
// ../../node_modules/comment-parser/es6/primitives.js
|
|
2209
2209
|
var Markers;
|
|
2210
2210
|
(function(Markers2) {
|
|
2211
2211
|
Markers2.start = "/**", Markers2.nostart = "/***", Markers2.delim = "*", Markers2.end = "*/";
|
|
2212
2212
|
})(Markers = Markers || (Markers = {}));
|
|
2213
2213
|
|
|
2214
|
-
//
|
|
2214
|
+
// ../../node_modules/comment-parser/es6/util.js
|
|
2215
2215
|
function isSpace(source) {
|
|
2216
2216
|
return /^\s+$/.test(source);
|
|
2217
2217
|
}
|
|
@@ -2233,7 +2233,7 @@ function seedTokens(tokens = {}) {
|
|
|
2233
2233
|
return Object.assign({ start: "", delimiter: "", postDelimiter: "", tag: "", postTag: "", name: "", postName: "", type: "", postType: "", description: "", end: "", lineEnd: "" }, tokens);
|
|
2234
2234
|
}
|
|
2235
2235
|
|
|
2236
|
-
//
|
|
2236
|
+
// ../../node_modules/comment-parser/es6/parser/block-parser.js
|
|
2237
2237
|
var reTag = /^@\S+/;
|
|
2238
2238
|
function getParser({ fence = "```" } = {}) {
|
|
2239
2239
|
let fencer = getFencer(fence), toggleFence = (source, isFenced) => fencer(source) ? !isFenced : isFenced;
|
|
@@ -2248,7 +2248,7 @@ function getFencer(fence) {
|
|
|
2248
2248
|
return typeof fence == "string" ? (source) => source.split(fence).length % 2 === 0 : fence;
|
|
2249
2249
|
}
|
|
2250
2250
|
|
|
2251
|
-
//
|
|
2251
|
+
// ../../node_modules/comment-parser/es6/parser/source-parser.js
|
|
2252
2252
|
function getParser2({ startLine = 0, markers = Markers } = {}) {
|
|
2253
2253
|
let block = null, num = startLine;
|
|
2254
2254
|
return function(source) {
|
|
@@ -2268,7 +2268,7 @@ function getParser2({ startLine = 0, markers = Markers } = {}) {
|
|
|
2268
2268
|
};
|
|
2269
2269
|
}
|
|
2270
2270
|
|
|
2271
|
-
//
|
|
2271
|
+
// ../../node_modules/comment-parser/es6/parser/spec-parser.js
|
|
2272
2272
|
function getParser3({ tokenizers }) {
|
|
2273
2273
|
return function(source) {
|
|
2274
2274
|
var _a;
|
|
@@ -2280,7 +2280,7 @@ function getParser3({ tokenizers }) {
|
|
|
2280
2280
|
};
|
|
2281
2281
|
}
|
|
2282
2282
|
|
|
2283
|
-
//
|
|
2283
|
+
// ../../node_modules/comment-parser/es6/parser/tokenizers/tag.js
|
|
2284
2284
|
function tagTokenizer() {
|
|
2285
2285
|
return (spec) => {
|
|
2286
2286
|
let { tokens } = spec.source[0], match = tokens.description.match(/\s*(@(\S+))(\s*)/);
|
|
@@ -2293,7 +2293,7 @@ function tagTokenizer() {
|
|
|
2293
2293
|
};
|
|
2294
2294
|
}
|
|
2295
2295
|
|
|
2296
|
-
//
|
|
2296
|
+
// ../../node_modules/comment-parser/es6/parser/tokenizers/type.js
|
|
2297
2297
|
function typeTokenizer(spacing = "compact") {
|
|
2298
2298
|
let join2 = getJoiner(spacing);
|
|
2299
2299
|
return (spec) => {
|
|
@@ -2327,7 +2327,7 @@ function getJoiner(spacing) {
|
|
|
2327
2327
|
`) : spacing;
|
|
2328
2328
|
}
|
|
2329
2329
|
|
|
2330
|
-
//
|
|
2330
|
+
// ../../node_modules/comment-parser/es6/parser/tokenizers/name.js
|
|
2331
2331
|
var isQuoted = (s) => s && s.startsWith('"') && s.endsWith('"');
|
|
2332
2332
|
function nameTokenizer() {
|
|
2333
2333
|
let typeEnd = (num, { tokens }, i) => tokens.type === "" ? num : i;
|
|
@@ -2378,7 +2378,7 @@ function nameTokenizer() {
|
|
|
2378
2378
|
};
|
|
2379
2379
|
}
|
|
2380
2380
|
|
|
2381
|
-
//
|
|
2381
|
+
// ../../node_modules/comment-parser/es6/parser/tokenizers/description.js
|
|
2382
2382
|
function descriptionTokenizer(spacing = "compact", markers = Markers) {
|
|
2383
2383
|
let join2 = getJoiner2(spacing);
|
|
2384
2384
|
return (spec) => (spec.description = join2(spec.source, markers), spec);
|
|
@@ -2399,7 +2399,7 @@ function preserveJoiner(lines, markers = Markers) {
|
|
|
2399
2399
|
`);
|
|
2400
2400
|
}
|
|
2401
2401
|
|
|
2402
|
-
//
|
|
2402
|
+
// ../../node_modules/comment-parser/es6/parser/index.js
|
|
2403
2403
|
function getParser4({ startLine = 0, fence = "```", spacing = "compact", markers = Markers, tokenizers = [
|
|
2404
2404
|
tagTokenizer(),
|
|
2405
2405
|
typeTokenizer(spacing),
|
|
@@ -2427,7 +2427,7 @@ function getParser4({ startLine = 0, fence = "```", spacing = "compact", markers
|
|
|
2427
2427
|
};
|
|
2428
2428
|
}
|
|
2429
2429
|
|
|
2430
|
-
//
|
|
2430
|
+
// ../../node_modules/comment-parser/es6/stringifier/index.js
|
|
2431
2431
|
function join(tokens) {
|
|
2432
2432
|
return tokens.start + tokens.delimiter + tokens.postDelimiter + tokens.tag + tokens.postTag + tokens.type + tokens.postType + tokens.name + tokens.postName + tokens.description + tokens.end + tokens.lineEnd;
|
|
2433
2433
|
}
|
|
@@ -2436,7 +2436,7 @@ function getStringifier() {
|
|
|
2436
2436
|
`);
|
|
2437
2437
|
}
|
|
2438
2438
|
|
|
2439
|
-
//
|
|
2439
|
+
// ../../node_modules/comment-parser/es6/stringifier/inspect.js
|
|
2440
2440
|
var zeroWidth = {
|
|
2441
2441
|
line: 0,
|
|
2442
2442
|
start: 0,
|
|
@@ -2454,7 +2454,7 @@ var zeroWidth = {
|
|
|
2454
2454
|
};
|
|
2455
2455
|
var fields = Object.keys(zeroWidth);
|
|
2456
2456
|
|
|
2457
|
-
//
|
|
2457
|
+
// ../../node_modules/comment-parser/es6/index.js
|
|
2458
2458
|
function parse(source, options = {}) {
|
|
2459
2459
|
return getParser4(options)(source);
|
|
2460
2460
|
}
|