foldkit 0.98.1 → 0.100.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/devTools/overlay.d.ts +2 -2
- package/dist/devTools/protocol.d.ts +94 -2
- package/dist/devTools/protocol.d.ts.map +1 -1
- package/dist/devTools/protocol.js +32 -0
- package/dist/devTools/public.d.ts +1 -1
- package/dist/devTools/public.d.ts.map +1 -1
- package/dist/devTools/public.js +1 -1
- package/dist/devTools/schemaSummarize.d.ts +82 -0
- package/dist/devTools/schemaSummarize.d.ts.map +1 -0
- package/dist/devTools/schemaSummarize.js +264 -0
- package/dist/devTools/webSocketBridge.d.ts +9 -0
- package/dist/devTools/webSocketBridge.d.ts.map +1 -1
- package/dist/devTools/webSocketBridge.js +64 -3
- package/dist/managedResource/index.js +1 -1
- package/dist/mount/index.d.ts +27 -9
- package/dist/mount/index.d.ts.map +1 -1
- package/dist/runtime/browserListeners.d.ts +1 -0
- package/dist/runtime/browserListeners.d.ts.map +1 -1
- package/dist/runtime/browserListeners.js +17 -5
- package/dist/ui/combobox/multi.d.ts +27 -27
- package/dist/ui/combobox/shared.d.ts +2 -2
- package/dist/ui/combobox/single.d.ts +30 -30
- package/dist/ui/dragAndDrop/index.d.ts +13 -13
- package/dist/ui/listbox/multi.d.ts +21 -21
- package/dist/ui/listbox/shared.d.ts +3 -3
- package/dist/ui/listbox/single.d.ts +21 -21
- package/dist/ui/slider/index.d.ts +2 -2
- package/dist/ui/toast/index.d.ts +54 -54
- package/dist/ui/toast/update.d.ts +43 -43
- package/dist/ui/virtualList/index.d.ts +1 -1
- package/dist/url/index.d.ts +3 -3
- package/package.json +6 -6
package/dist/ui/toast/index.d.ts
CHANGED
|
@@ -42,34 +42,34 @@ export type EntryHandlers<ParentMessage> = Readonly<{
|
|
|
42
42
|
export declare const make: <A, I>(payloadSchema: S.Codec<A, I>) => {
|
|
43
43
|
readonly view: <ParentMessage>(config: Readonly<{
|
|
44
44
|
model: {
|
|
45
|
+
readonly id: string;
|
|
46
|
+
readonly defaultDuration: import("effect/Duration").Duration;
|
|
45
47
|
readonly entries: readonly {
|
|
46
48
|
readonly id: string;
|
|
49
|
+
readonly variant: "Success" | "Error" | "Info" | "Warning";
|
|
47
50
|
readonly animation: {
|
|
48
51
|
readonly id: string;
|
|
49
52
|
readonly isShowing: boolean;
|
|
50
53
|
readonly transitionState: "Idle" | "EnterStart" | "EnterAnimating" | "LeaveStart" | "LeaveAnimating";
|
|
51
54
|
};
|
|
52
55
|
readonly maybeDuration: import("effect/Option").Option<import("effect/Duration").Duration>;
|
|
53
|
-
readonly variant: "Success" | "Error" | "Info" | "Warning";
|
|
54
56
|
readonly pendingDismissVersion: number;
|
|
55
57
|
readonly isHovered: boolean;
|
|
56
58
|
readonly payload: A;
|
|
57
59
|
}[];
|
|
58
|
-
readonly id: string;
|
|
59
|
-
readonly defaultDuration: import("effect/Duration").Duration;
|
|
60
60
|
readonly nextEntryKey: number;
|
|
61
61
|
};
|
|
62
62
|
position: Position;
|
|
63
63
|
toParentMessage: (message: Dismissed | HoveredEntry | LeftEntry) => ParentMessage;
|
|
64
64
|
renderEntry: (entry: {
|
|
65
65
|
readonly id: string;
|
|
66
|
+
readonly variant: "Success" | "Error" | "Info" | "Warning";
|
|
66
67
|
readonly animation: {
|
|
67
68
|
readonly id: string;
|
|
68
69
|
readonly isShowing: boolean;
|
|
69
70
|
readonly transitionState: "Idle" | "EnterStart" | "EnterAnimating" | "LeaveStart" | "LeaveAnimating";
|
|
70
71
|
};
|
|
71
72
|
readonly maybeDuration: import("effect/Option").Option<import("effect/Duration").Duration>;
|
|
72
|
-
readonly variant: "Success" | "Error" | "Info" | "Warning";
|
|
73
73
|
readonly pendingDismissVersion: number;
|
|
74
74
|
readonly isHovered: boolean;
|
|
75
75
|
readonly payload: A;
|
|
@@ -84,34 +84,34 @@ export declare const make: <A, I>(payloadSchema: S.Codec<A, I>) => {
|
|
|
84
84
|
}>) => Html;
|
|
85
85
|
readonly lazy: <ParentMessage>(staticConfig: Omit<Readonly<{
|
|
86
86
|
model: {
|
|
87
|
+
readonly id: string;
|
|
88
|
+
readonly defaultDuration: import("effect/Duration").Duration;
|
|
87
89
|
readonly entries: readonly {
|
|
88
90
|
readonly id: string;
|
|
91
|
+
readonly variant: "Success" | "Error" | "Info" | "Warning";
|
|
89
92
|
readonly animation: {
|
|
90
93
|
readonly id: string;
|
|
91
94
|
readonly isShowing: boolean;
|
|
92
95
|
readonly transitionState: "Idle" | "EnterStart" | "EnterAnimating" | "LeaveStart" | "LeaveAnimating";
|
|
93
96
|
};
|
|
94
97
|
readonly maybeDuration: import("effect/Option").Option<import("effect/Duration").Duration>;
|
|
95
|
-
readonly variant: "Success" | "Error" | "Info" | "Warning";
|
|
96
98
|
readonly pendingDismissVersion: number;
|
|
97
99
|
readonly isHovered: boolean;
|
|
98
100
|
readonly payload: A;
|
|
99
101
|
}[];
|
|
100
|
-
readonly id: string;
|
|
101
|
-
readonly defaultDuration: import("effect/Duration").Duration;
|
|
102
102
|
readonly nextEntryKey: number;
|
|
103
103
|
};
|
|
104
104
|
position: Position;
|
|
105
105
|
toParentMessage: (message: Dismissed | HoveredEntry | LeftEntry) => ParentMessage;
|
|
106
106
|
renderEntry: (entry: {
|
|
107
107
|
readonly id: string;
|
|
108
|
+
readonly variant: "Success" | "Error" | "Info" | "Warning";
|
|
108
109
|
readonly animation: {
|
|
109
110
|
readonly id: string;
|
|
110
111
|
readonly isShowing: boolean;
|
|
111
112
|
readonly transitionState: "Idle" | "EnterStart" | "EnterAnimating" | "LeaveStart" | "LeaveAnimating";
|
|
112
113
|
};
|
|
113
114
|
readonly maybeDuration: import("effect/Option").Option<import("effect/Duration").Duration>;
|
|
114
|
-
readonly variant: "Success" | "Error" | "Info" | "Warning";
|
|
115
115
|
readonly pendingDismissVersion: number;
|
|
116
116
|
readonly isHovered: boolean;
|
|
117
117
|
readonly payload: A;
|
|
@@ -124,31 +124,31 @@ export declare const make: <A, I>(payloadSchema: S.Codec<A, I>) => {
|
|
|
124
124
|
entryClassName?: string;
|
|
125
125
|
entryAttributes?: readonly Attribute<ParentMessage>[];
|
|
126
126
|
}>, "model" | "toParentMessage" | "renderEntry">) => ((model: {
|
|
127
|
+
readonly id: string;
|
|
128
|
+
readonly defaultDuration: import("effect/Duration").Duration;
|
|
127
129
|
readonly entries: readonly {
|
|
128
130
|
readonly id: string;
|
|
131
|
+
readonly variant: "Success" | "Error" | "Info" | "Warning";
|
|
129
132
|
readonly animation: {
|
|
130
133
|
readonly id: string;
|
|
131
134
|
readonly isShowing: boolean;
|
|
132
135
|
readonly transitionState: "Idle" | "EnterStart" | "EnterAnimating" | "LeaveStart" | "LeaveAnimating";
|
|
133
136
|
};
|
|
134
137
|
readonly maybeDuration: import("effect/Option").Option<import("effect/Duration").Duration>;
|
|
135
|
-
readonly variant: "Success" | "Error" | "Info" | "Warning";
|
|
136
138
|
readonly pendingDismissVersion: number;
|
|
137
139
|
readonly isHovered: boolean;
|
|
138
140
|
readonly payload: A;
|
|
139
141
|
}[];
|
|
140
|
-
readonly id: string;
|
|
141
|
-
readonly defaultDuration: import("effect/Duration").Duration;
|
|
142
142
|
readonly nextEntryKey: number;
|
|
143
143
|
}, toParentMessage: (message: Dismissed | HoveredEntry | LeftEntry) => ParentMessage, renderEntry: (entry: {
|
|
144
144
|
readonly id: string;
|
|
145
|
+
readonly variant: "Success" | "Error" | "Info" | "Warning";
|
|
145
146
|
readonly animation: {
|
|
146
147
|
readonly id: string;
|
|
147
148
|
readonly isShowing: boolean;
|
|
148
149
|
readonly transitionState: "Idle" | "EnterStart" | "EnterAnimating" | "LeaveStart" | "LeaveAnimating";
|
|
149
150
|
};
|
|
150
151
|
readonly maybeDuration: import("effect/Option").Option<import("effect/Duration").Duration>;
|
|
151
|
-
readonly variant: "Success" | "Error" | "Info" | "Warning";
|
|
152
152
|
readonly pendingDismissVersion: number;
|
|
153
153
|
readonly isHovered: boolean;
|
|
154
154
|
readonly payload: A;
|
|
@@ -232,39 +232,39 @@ export declare const make: <A, I>(payloadSchema: S.Codec<A, I>) => {
|
|
|
232
232
|
id: string;
|
|
233
233
|
defaultDuration?: import("effect/Duration").Input;
|
|
234
234
|
}>) => {
|
|
235
|
+
readonly id: string;
|
|
236
|
+
readonly defaultDuration: import("effect/Duration").Duration;
|
|
235
237
|
readonly entries: readonly {
|
|
236
238
|
readonly id: string;
|
|
239
|
+
readonly variant: "Success" | "Error" | "Info" | "Warning";
|
|
237
240
|
readonly animation: {
|
|
238
241
|
readonly id: string;
|
|
239
242
|
readonly isShowing: boolean;
|
|
240
243
|
readonly transitionState: "Idle" | "EnterStart" | "EnterAnimating" | "LeaveStart" | "LeaveAnimating";
|
|
241
244
|
};
|
|
242
245
|
readonly maybeDuration: import("effect/Option").Option<import("effect/Duration").Duration>;
|
|
243
|
-
readonly variant: "Success" | "Error" | "Info" | "Warning";
|
|
244
246
|
readonly pendingDismissVersion: number;
|
|
245
247
|
readonly isHovered: boolean;
|
|
246
248
|
readonly payload: A;
|
|
247
249
|
}[];
|
|
248
|
-
readonly id: string;
|
|
249
|
-
readonly defaultDuration: import("effect/Duration").Duration;
|
|
250
250
|
readonly nextEntryKey: number;
|
|
251
251
|
};
|
|
252
252
|
readonly update: (model: {
|
|
253
|
+
readonly id: string;
|
|
254
|
+
readonly defaultDuration: import("effect/Duration").Duration;
|
|
253
255
|
readonly entries: readonly {
|
|
254
256
|
readonly id: string;
|
|
257
|
+
readonly variant: "Success" | "Error" | "Info" | "Warning";
|
|
255
258
|
readonly animation: {
|
|
256
259
|
readonly id: string;
|
|
257
260
|
readonly isShowing: boolean;
|
|
258
261
|
readonly transitionState: "Idle" | "EnterStart" | "EnterAnimating" | "LeaveStart" | "LeaveAnimating";
|
|
259
262
|
};
|
|
260
263
|
readonly maybeDuration: import("effect/Option").Option<import("effect/Duration").Duration>;
|
|
261
|
-
readonly variant: "Success" | "Error" | "Info" | "Warning";
|
|
262
264
|
readonly pendingDismissVersion: number;
|
|
263
265
|
readonly isHovered: boolean;
|
|
264
266
|
readonly payload: A;
|
|
265
267
|
}[];
|
|
266
|
-
readonly id: string;
|
|
267
|
-
readonly defaultDuration: import("effect/Duration").Duration;
|
|
268
268
|
readonly nextEntryKey: number;
|
|
269
269
|
}, message: {
|
|
270
270
|
readonly _tag: "Dismissed";
|
|
@@ -273,8 +273,8 @@ export declare const make: <A, I>(payloadSchema: S.Codec<A, I>) => {
|
|
|
273
273
|
readonly _tag: "DismissedAll";
|
|
274
274
|
} | {
|
|
275
275
|
readonly _tag: "ElapsedDuration";
|
|
276
|
-
readonly version: number;
|
|
277
276
|
readonly entryId: string;
|
|
277
|
+
readonly version: number;
|
|
278
278
|
} | {
|
|
279
279
|
readonly _tag: "HoveredEntry";
|
|
280
280
|
readonly entryId: string;
|
|
@@ -283,6 +283,7 @@ export declare const make: <A, I>(payloadSchema: S.Codec<A, I>) => {
|
|
|
283
283
|
readonly entryId: string;
|
|
284
284
|
} | {
|
|
285
285
|
readonly _tag: "GotAnimationMessage";
|
|
286
|
+
readonly entryId: string;
|
|
286
287
|
readonly message: {
|
|
287
288
|
readonly _tag: "Showed";
|
|
288
289
|
} | {
|
|
@@ -292,38 +293,37 @@ export declare const make: <A, I>(payloadSchema: S.Codec<A, I>) => {
|
|
|
292
293
|
} | {
|
|
293
294
|
readonly _tag: "EndedAnimation";
|
|
294
295
|
};
|
|
295
|
-
readonly entryId: string;
|
|
296
296
|
} | {
|
|
297
297
|
readonly _tag: "Added";
|
|
298
298
|
readonly entry: {
|
|
299
299
|
readonly id: string;
|
|
300
|
+
readonly variant: "Success" | "Error" | "Info" | "Warning";
|
|
300
301
|
readonly animation: {
|
|
301
302
|
readonly id: string;
|
|
302
303
|
readonly isShowing: boolean;
|
|
303
304
|
readonly transitionState: "Idle" | "EnterStart" | "EnterAnimating" | "LeaveStart" | "LeaveAnimating";
|
|
304
305
|
};
|
|
305
306
|
readonly maybeDuration: import("effect/Option").Option<import("effect/Duration").Duration>;
|
|
306
|
-
readonly variant: "Success" | "Error" | "Info" | "Warning";
|
|
307
307
|
readonly pendingDismissVersion: number;
|
|
308
308
|
readonly isHovered: boolean;
|
|
309
309
|
readonly payload: A;
|
|
310
310
|
};
|
|
311
311
|
}) => readonly [{
|
|
312
|
+
readonly id: string;
|
|
313
|
+
readonly defaultDuration: import("effect/Duration").Duration;
|
|
312
314
|
readonly entries: readonly {
|
|
313
315
|
readonly id: string;
|
|
316
|
+
readonly variant: "Success" | "Error" | "Info" | "Warning";
|
|
314
317
|
readonly animation: {
|
|
315
318
|
readonly id: string;
|
|
316
319
|
readonly isShowing: boolean;
|
|
317
320
|
readonly transitionState: "Idle" | "EnterStart" | "EnterAnimating" | "LeaveStart" | "LeaveAnimating";
|
|
318
321
|
};
|
|
319
322
|
readonly maybeDuration: import("effect/Option").Option<import("effect/Duration").Duration>;
|
|
320
|
-
readonly variant: "Success" | "Error" | "Info" | "Warning";
|
|
321
323
|
readonly pendingDismissVersion: number;
|
|
322
324
|
readonly isHovered: boolean;
|
|
323
325
|
readonly payload: A;
|
|
324
326
|
}[];
|
|
325
|
-
readonly id: string;
|
|
326
|
-
readonly defaultDuration: import("effect/Duration").Duration;
|
|
327
327
|
readonly nextEntryKey: number;
|
|
328
328
|
}, readonly Readonly<{
|
|
329
329
|
name: string;
|
|
@@ -335,8 +335,8 @@ export declare const make: <A, I>(payloadSchema: S.Codec<A, I>) => {
|
|
|
335
335
|
readonly _tag: "DismissedAll";
|
|
336
336
|
} | {
|
|
337
337
|
readonly _tag: "ElapsedDuration";
|
|
338
|
-
readonly version: number;
|
|
339
338
|
readonly entryId: string;
|
|
339
|
+
readonly version: number;
|
|
340
340
|
} | {
|
|
341
341
|
readonly _tag: "HoveredEntry";
|
|
342
342
|
readonly entryId: string;
|
|
@@ -345,6 +345,7 @@ export declare const make: <A, I>(payloadSchema: S.Codec<A, I>) => {
|
|
|
345
345
|
readonly entryId: string;
|
|
346
346
|
} | {
|
|
347
347
|
readonly _tag: "GotAnimationMessage";
|
|
348
|
+
readonly entryId: string;
|
|
348
349
|
readonly message: {
|
|
349
350
|
readonly _tag: "Showed";
|
|
350
351
|
} | {
|
|
@@ -354,18 +355,17 @@ export declare const make: <A, I>(payloadSchema: S.Codec<A, I>) => {
|
|
|
354
355
|
} | {
|
|
355
356
|
readonly _tag: "EndedAnimation";
|
|
356
357
|
};
|
|
357
|
-
readonly entryId: string;
|
|
358
358
|
} | {
|
|
359
359
|
readonly _tag: "Added";
|
|
360
360
|
readonly entry: {
|
|
361
361
|
readonly id: string;
|
|
362
|
+
readonly variant: "Success" | "Error" | "Info" | "Warning";
|
|
362
363
|
readonly animation: {
|
|
363
364
|
readonly id: string;
|
|
364
365
|
readonly isShowing: boolean;
|
|
365
366
|
readonly transitionState: "Idle" | "EnterStart" | "EnterAnimating" | "LeaveStart" | "LeaveAnimating";
|
|
366
367
|
};
|
|
367
368
|
readonly maybeDuration: import("effect/Option").Option<import("effect/Duration").Duration>;
|
|
368
|
-
readonly variant: "Success" | "Error" | "Info" | "Warning";
|
|
369
369
|
readonly pendingDismissVersion: number;
|
|
370
370
|
readonly isHovered: boolean;
|
|
371
371
|
readonly payload: A;
|
|
@@ -373,21 +373,21 @@ export declare const make: <A, I>(payloadSchema: S.Codec<A, I>) => {
|
|
|
373
373
|
}, never, never>;
|
|
374
374
|
}>[]];
|
|
375
375
|
readonly show: (model: {
|
|
376
|
+
readonly id: string;
|
|
377
|
+
readonly defaultDuration: import("effect/Duration").Duration;
|
|
376
378
|
readonly entries: readonly {
|
|
377
379
|
readonly id: string;
|
|
380
|
+
readonly variant: "Success" | "Error" | "Info" | "Warning";
|
|
378
381
|
readonly animation: {
|
|
379
382
|
readonly id: string;
|
|
380
383
|
readonly isShowing: boolean;
|
|
381
384
|
readonly transitionState: "Idle" | "EnterStart" | "EnterAnimating" | "LeaveStart" | "LeaveAnimating";
|
|
382
385
|
};
|
|
383
386
|
readonly maybeDuration: import("effect/Option").Option<import("effect/Duration").Duration>;
|
|
384
|
-
readonly variant: "Success" | "Error" | "Info" | "Warning";
|
|
385
387
|
readonly pendingDismissVersion: number;
|
|
386
388
|
readonly isHovered: boolean;
|
|
387
389
|
readonly payload: A;
|
|
388
390
|
}[];
|
|
389
|
-
readonly id: string;
|
|
390
|
-
readonly defaultDuration: import("effect/Duration").Duration;
|
|
391
391
|
readonly nextEntryKey: number;
|
|
392
392
|
}, input: Readonly<{
|
|
393
393
|
payload: A;
|
|
@@ -395,21 +395,21 @@ export declare const make: <A, I>(payloadSchema: S.Codec<A, I>) => {
|
|
|
395
395
|
duration?: import("effect/Duration").Input;
|
|
396
396
|
sticky?: boolean;
|
|
397
397
|
}>) => readonly [{
|
|
398
|
+
readonly id: string;
|
|
399
|
+
readonly defaultDuration: import("effect/Duration").Duration;
|
|
398
400
|
readonly entries: readonly {
|
|
399
401
|
readonly id: string;
|
|
402
|
+
readonly variant: "Success" | "Error" | "Info" | "Warning";
|
|
400
403
|
readonly animation: {
|
|
401
404
|
readonly id: string;
|
|
402
405
|
readonly isShowing: boolean;
|
|
403
406
|
readonly transitionState: "Idle" | "EnterStart" | "EnterAnimating" | "LeaveStart" | "LeaveAnimating";
|
|
404
407
|
};
|
|
405
408
|
readonly maybeDuration: import("effect/Option").Option<import("effect/Duration").Duration>;
|
|
406
|
-
readonly variant: "Success" | "Error" | "Info" | "Warning";
|
|
407
409
|
readonly pendingDismissVersion: number;
|
|
408
410
|
readonly isHovered: boolean;
|
|
409
411
|
readonly payload: A;
|
|
410
412
|
}[];
|
|
411
|
-
readonly id: string;
|
|
412
|
-
readonly defaultDuration: import("effect/Duration").Duration;
|
|
413
413
|
readonly nextEntryKey: number;
|
|
414
414
|
}, readonly Readonly<{
|
|
415
415
|
name: string;
|
|
@@ -421,8 +421,8 @@ export declare const make: <A, I>(payloadSchema: S.Codec<A, I>) => {
|
|
|
421
421
|
readonly _tag: "DismissedAll";
|
|
422
422
|
} | {
|
|
423
423
|
readonly _tag: "ElapsedDuration";
|
|
424
|
-
readonly version: number;
|
|
425
424
|
readonly entryId: string;
|
|
425
|
+
readonly version: number;
|
|
426
426
|
} | {
|
|
427
427
|
readonly _tag: "HoveredEntry";
|
|
428
428
|
readonly entryId: string;
|
|
@@ -431,6 +431,7 @@ export declare const make: <A, I>(payloadSchema: S.Codec<A, I>) => {
|
|
|
431
431
|
readonly entryId: string;
|
|
432
432
|
} | {
|
|
433
433
|
readonly _tag: "GotAnimationMessage";
|
|
434
|
+
readonly entryId: string;
|
|
434
435
|
readonly message: {
|
|
435
436
|
readonly _tag: "Showed";
|
|
436
437
|
} | {
|
|
@@ -440,18 +441,17 @@ export declare const make: <A, I>(payloadSchema: S.Codec<A, I>) => {
|
|
|
440
441
|
} | {
|
|
441
442
|
readonly _tag: "EndedAnimation";
|
|
442
443
|
};
|
|
443
|
-
readonly entryId: string;
|
|
444
444
|
} | {
|
|
445
445
|
readonly _tag: "Added";
|
|
446
446
|
readonly entry: {
|
|
447
447
|
readonly id: string;
|
|
448
|
+
readonly variant: "Success" | "Error" | "Info" | "Warning";
|
|
448
449
|
readonly animation: {
|
|
449
450
|
readonly id: string;
|
|
450
451
|
readonly isShowing: boolean;
|
|
451
452
|
readonly transitionState: "Idle" | "EnterStart" | "EnterAnimating" | "LeaveStart" | "LeaveAnimating";
|
|
452
453
|
};
|
|
453
454
|
readonly maybeDuration: import("effect/Option").Option<import("effect/Duration").Duration>;
|
|
454
|
-
readonly variant: "Success" | "Error" | "Info" | "Warning";
|
|
455
455
|
readonly pendingDismissVersion: number;
|
|
456
456
|
readonly isHovered: boolean;
|
|
457
457
|
readonly payload: A;
|
|
@@ -459,38 +459,38 @@ export declare const make: <A, I>(payloadSchema: S.Codec<A, I>) => {
|
|
|
459
459
|
}, never, never>;
|
|
460
460
|
}>[]];
|
|
461
461
|
readonly dismiss: (model: {
|
|
462
|
+
readonly id: string;
|
|
463
|
+
readonly defaultDuration: import("effect/Duration").Duration;
|
|
462
464
|
readonly entries: readonly {
|
|
463
465
|
readonly id: string;
|
|
466
|
+
readonly variant: "Success" | "Error" | "Info" | "Warning";
|
|
464
467
|
readonly animation: {
|
|
465
468
|
readonly id: string;
|
|
466
469
|
readonly isShowing: boolean;
|
|
467
470
|
readonly transitionState: "Idle" | "EnterStart" | "EnterAnimating" | "LeaveStart" | "LeaveAnimating";
|
|
468
471
|
};
|
|
469
472
|
readonly maybeDuration: import("effect/Option").Option<import("effect/Duration").Duration>;
|
|
470
|
-
readonly variant: "Success" | "Error" | "Info" | "Warning";
|
|
471
473
|
readonly pendingDismissVersion: number;
|
|
472
474
|
readonly isHovered: boolean;
|
|
473
475
|
readonly payload: A;
|
|
474
476
|
}[];
|
|
475
|
-
readonly id: string;
|
|
476
|
-
readonly defaultDuration: import("effect/Duration").Duration;
|
|
477
477
|
readonly nextEntryKey: number;
|
|
478
478
|
}, entryId: string) => readonly [{
|
|
479
|
+
readonly id: string;
|
|
480
|
+
readonly defaultDuration: import("effect/Duration").Duration;
|
|
479
481
|
readonly entries: readonly {
|
|
480
482
|
readonly id: string;
|
|
483
|
+
readonly variant: "Success" | "Error" | "Info" | "Warning";
|
|
481
484
|
readonly animation: {
|
|
482
485
|
readonly id: string;
|
|
483
486
|
readonly isShowing: boolean;
|
|
484
487
|
readonly transitionState: "Idle" | "EnterStart" | "EnterAnimating" | "LeaveStart" | "LeaveAnimating";
|
|
485
488
|
};
|
|
486
489
|
readonly maybeDuration: import("effect/Option").Option<import("effect/Duration").Duration>;
|
|
487
|
-
readonly variant: "Success" | "Error" | "Info" | "Warning";
|
|
488
490
|
readonly pendingDismissVersion: number;
|
|
489
491
|
readonly isHovered: boolean;
|
|
490
492
|
readonly payload: A;
|
|
491
493
|
}[];
|
|
492
|
-
readonly id: string;
|
|
493
|
-
readonly defaultDuration: import("effect/Duration").Duration;
|
|
494
494
|
readonly nextEntryKey: number;
|
|
495
495
|
}, readonly Readonly<{
|
|
496
496
|
name: string;
|
|
@@ -502,8 +502,8 @@ export declare const make: <A, I>(payloadSchema: S.Codec<A, I>) => {
|
|
|
502
502
|
readonly _tag: "DismissedAll";
|
|
503
503
|
} | {
|
|
504
504
|
readonly _tag: "ElapsedDuration";
|
|
505
|
-
readonly version: number;
|
|
506
505
|
readonly entryId: string;
|
|
506
|
+
readonly version: number;
|
|
507
507
|
} | {
|
|
508
508
|
readonly _tag: "HoveredEntry";
|
|
509
509
|
readonly entryId: string;
|
|
@@ -512,6 +512,7 @@ export declare const make: <A, I>(payloadSchema: S.Codec<A, I>) => {
|
|
|
512
512
|
readonly entryId: string;
|
|
513
513
|
} | {
|
|
514
514
|
readonly _tag: "GotAnimationMessage";
|
|
515
|
+
readonly entryId: string;
|
|
515
516
|
readonly message: {
|
|
516
517
|
readonly _tag: "Showed";
|
|
517
518
|
} | {
|
|
@@ -521,18 +522,17 @@ export declare const make: <A, I>(payloadSchema: S.Codec<A, I>) => {
|
|
|
521
522
|
} | {
|
|
522
523
|
readonly _tag: "EndedAnimation";
|
|
523
524
|
};
|
|
524
|
-
readonly entryId: string;
|
|
525
525
|
} | {
|
|
526
526
|
readonly _tag: "Added";
|
|
527
527
|
readonly entry: {
|
|
528
528
|
readonly id: string;
|
|
529
|
+
readonly variant: "Success" | "Error" | "Info" | "Warning";
|
|
529
530
|
readonly animation: {
|
|
530
531
|
readonly id: string;
|
|
531
532
|
readonly isShowing: boolean;
|
|
532
533
|
readonly transitionState: "Idle" | "EnterStart" | "EnterAnimating" | "LeaveStart" | "LeaveAnimating";
|
|
533
534
|
};
|
|
534
535
|
readonly maybeDuration: import("effect/Option").Option<import("effect/Duration").Duration>;
|
|
535
|
-
readonly variant: "Success" | "Error" | "Info" | "Warning";
|
|
536
536
|
readonly pendingDismissVersion: number;
|
|
537
537
|
readonly isHovered: boolean;
|
|
538
538
|
readonly payload: A;
|
|
@@ -540,38 +540,38 @@ export declare const make: <A, I>(payloadSchema: S.Codec<A, I>) => {
|
|
|
540
540
|
}, never, never>;
|
|
541
541
|
}>[]];
|
|
542
542
|
readonly dismissAll: (model: {
|
|
543
|
+
readonly id: string;
|
|
544
|
+
readonly defaultDuration: import("effect/Duration").Duration;
|
|
543
545
|
readonly entries: readonly {
|
|
544
546
|
readonly id: string;
|
|
547
|
+
readonly variant: "Success" | "Error" | "Info" | "Warning";
|
|
545
548
|
readonly animation: {
|
|
546
549
|
readonly id: string;
|
|
547
550
|
readonly isShowing: boolean;
|
|
548
551
|
readonly transitionState: "Idle" | "EnterStart" | "EnterAnimating" | "LeaveStart" | "LeaveAnimating";
|
|
549
552
|
};
|
|
550
553
|
readonly maybeDuration: import("effect/Option").Option<import("effect/Duration").Duration>;
|
|
551
|
-
readonly variant: "Success" | "Error" | "Info" | "Warning";
|
|
552
554
|
readonly pendingDismissVersion: number;
|
|
553
555
|
readonly isHovered: boolean;
|
|
554
556
|
readonly payload: A;
|
|
555
557
|
}[];
|
|
556
|
-
readonly id: string;
|
|
557
|
-
readonly defaultDuration: import("effect/Duration").Duration;
|
|
558
558
|
readonly nextEntryKey: number;
|
|
559
559
|
}) => readonly [{
|
|
560
|
+
readonly id: string;
|
|
561
|
+
readonly defaultDuration: import("effect/Duration").Duration;
|
|
560
562
|
readonly entries: readonly {
|
|
561
563
|
readonly id: string;
|
|
564
|
+
readonly variant: "Success" | "Error" | "Info" | "Warning";
|
|
562
565
|
readonly animation: {
|
|
563
566
|
readonly id: string;
|
|
564
567
|
readonly isShowing: boolean;
|
|
565
568
|
readonly transitionState: "Idle" | "EnterStart" | "EnterAnimating" | "LeaveStart" | "LeaveAnimating";
|
|
566
569
|
};
|
|
567
570
|
readonly maybeDuration: import("effect/Option").Option<import("effect/Duration").Duration>;
|
|
568
|
-
readonly variant: "Success" | "Error" | "Info" | "Warning";
|
|
569
571
|
readonly pendingDismissVersion: number;
|
|
570
572
|
readonly isHovered: boolean;
|
|
571
573
|
readonly payload: A;
|
|
572
574
|
}[];
|
|
573
|
-
readonly id: string;
|
|
574
|
-
readonly defaultDuration: import("effect/Duration").Duration;
|
|
575
575
|
readonly nextEntryKey: number;
|
|
576
576
|
}, readonly Readonly<{
|
|
577
577
|
name: string;
|
|
@@ -583,8 +583,8 @@ export declare const make: <A, I>(payloadSchema: S.Codec<A, I>) => {
|
|
|
583
583
|
readonly _tag: "DismissedAll";
|
|
584
584
|
} | {
|
|
585
585
|
readonly _tag: "ElapsedDuration";
|
|
586
|
-
readonly version: number;
|
|
587
586
|
readonly entryId: string;
|
|
587
|
+
readonly version: number;
|
|
588
588
|
} | {
|
|
589
589
|
readonly _tag: "HoveredEntry";
|
|
590
590
|
readonly entryId: string;
|
|
@@ -593,6 +593,7 @@ export declare const make: <A, I>(payloadSchema: S.Codec<A, I>) => {
|
|
|
593
593
|
readonly entryId: string;
|
|
594
594
|
} | {
|
|
595
595
|
readonly _tag: "GotAnimationMessage";
|
|
596
|
+
readonly entryId: string;
|
|
596
597
|
readonly message: {
|
|
597
598
|
readonly _tag: "Showed";
|
|
598
599
|
} | {
|
|
@@ -602,18 +603,17 @@ export declare const make: <A, I>(payloadSchema: S.Codec<A, I>) => {
|
|
|
602
603
|
} | {
|
|
603
604
|
readonly _tag: "EndedAnimation";
|
|
604
605
|
};
|
|
605
|
-
readonly entryId: string;
|
|
606
606
|
} | {
|
|
607
607
|
readonly _tag: "Added";
|
|
608
608
|
readonly entry: {
|
|
609
609
|
readonly id: string;
|
|
610
|
+
readonly variant: "Success" | "Error" | "Info" | "Warning";
|
|
610
611
|
readonly animation: {
|
|
611
612
|
readonly id: string;
|
|
612
613
|
readonly isShowing: boolean;
|
|
613
614
|
readonly transitionState: "Idle" | "EnterStart" | "EnterAnimating" | "LeaveStart" | "LeaveAnimating";
|
|
614
615
|
};
|
|
615
616
|
readonly maybeDuration: import("effect/Option").Option<import("effect/Duration").Duration>;
|
|
616
|
-
readonly variant: "Success" | "Error" | "Info" | "Warning";
|
|
617
617
|
readonly pendingDismissVersion: number;
|
|
618
618
|
readonly isHovered: boolean;
|
|
619
619
|
readonly payload: A;
|