@morlay/ui-conversation-message-actions 0.0.17 → 0.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.js +24 -24
- package/dist/testing.d.mts +14 -14
- package/dist/testing.mjs +163 -163
- package/package.json +4 -4
package/dist/client.js
CHANGED
|
@@ -378,12 +378,12 @@ window.__ModuleLoader__.load({
|
|
|
378
378
|
document.head.appendChild(tag);
|
|
379
379
|
}
|
|
380
380
|
var MessageIconActions_module_css_default = {
|
|
381
|
-
"runTimeDot": "zUzlda_runTimeDot",
|
|
382
381
|
"timeStart": "zUzlda_timeStart",
|
|
383
|
-
"
|
|
382
|
+
"runTimeDot": "zUzlda_runTimeDot",
|
|
384
383
|
"visuallyHidden": "zUzlda_visuallyHidden",
|
|
384
|
+
"actions": "zUzlda_actions",
|
|
385
385
|
"timeEnd": "zUzlda_timeEnd",
|
|
386
|
-
"
|
|
386
|
+
"action": "zUzlda_action"
|
|
387
387
|
};
|
|
388
388
|
//#endregion
|
|
389
389
|
//#region src/client/chat-node/MessageIconActions.tsx
|
|
@@ -525,34 +525,34 @@ window.__ModuleLoader__.load({
|
|
|
525
525
|
document.head.appendChild(tag);
|
|
526
526
|
}
|
|
527
527
|
var MessageItem_module_css_default = {
|
|
528
|
-
"turnErrorCode": "rSGQoW_turnErrorCode",
|
|
529
|
-
"maxTokensTitle": "rSGQoW_maxTokensTitle",
|
|
530
|
-
"retryDetailLabel": "rSGQoW_retryDetailLabel",
|
|
531
|
-
"refChip": "rSGQoW_refChip",
|
|
532
|
-
"compactionContextIcon": "rSGQoW_compactionContextIcon",
|
|
533
|
-
"turnErrorDot": "rSGQoW_turnErrorDot",
|
|
534
|
-
"retryRow": "rSGQoW_retryRow",
|
|
535
|
-
"bubble": "rSGQoW_bubble",
|
|
536
528
|
"compactionSummary": "rSGQoW_compactionSummary",
|
|
537
|
-
"
|
|
538
|
-
"userStack": "rSGQoW_userStack",
|
|
539
|
-
"compactionButton": "rSGQoW_compactionButton",
|
|
540
|
-
"compactionDisclosureIcon": "rSGQoW_compactionDisclosureIcon",
|
|
541
|
-
"retryText": "rSGQoW_retryText",
|
|
529
|
+
"compactionContextIcon": "rSGQoW_compactionContextIcon",
|
|
542
530
|
"compactionTitle": "rSGQoW_compactionTitle",
|
|
531
|
+
"turnErrorCopy": "rSGQoW_turnErrorCopy",
|
|
532
|
+
"compactionRow": "rSGQoW_compactionRow",
|
|
533
|
+
"retrySummary": "rSGQoW_retrySummary",
|
|
543
534
|
"compactionLeading": "rSGQoW_compactionLeading",
|
|
535
|
+
"turnErrorMessage": "rSGQoW_turnErrorMessage",
|
|
536
|
+
"compactionButton": "rSGQoW_compactionButton",
|
|
537
|
+
"retryRow": "rSGQoW_retryRow",
|
|
538
|
+
"confirmActions": "rSGQoW_confirmActions",
|
|
539
|
+
"turnErrorRow": "rSGQoW_turnErrorRow",
|
|
540
|
+
"retryDetailLabel": "rSGQoW_retryDetailLabel",
|
|
544
541
|
"contextRow": "rSGQoW_contextRow",
|
|
542
|
+
"userStack": "rSGQoW_userStack",
|
|
545
543
|
"compactionSep": "rSGQoW_compactionSep",
|
|
546
|
-
"
|
|
544
|
+
"compactionDisclosureIcon": "rSGQoW_compactionDisclosureIcon",
|
|
545
|
+
"userRow": "rSGQoW_userRow",
|
|
547
546
|
"retry-shimmer": "rSGQoW_retry-shimmer",
|
|
548
|
-
"
|
|
549
|
-
"
|
|
547
|
+
"refChip": "rSGQoW_refChip",
|
|
548
|
+
"bubble": "rSGQoW_bubble",
|
|
549
|
+
"compactionBody": "rSGQoW_compactionBody",
|
|
550
|
+
"retryText": "rSGQoW_retryText",
|
|
550
551
|
"retryDetails": "rSGQoW_retryDetails",
|
|
551
|
-
"
|
|
552
|
-
"
|
|
553
|
-
"
|
|
554
|
-
"
|
|
555
|
-
"userRow": "rSGQoW_userRow"
|
|
552
|
+
"turnErrorCode": "rSGQoW_turnErrorCode",
|
|
553
|
+
"maxTokensTitle": "rSGQoW_maxTokensTitle",
|
|
554
|
+
"turnErrorDot": "rSGQoW_turnErrorDot",
|
|
555
|
+
"turnErrorTitle": "rSGQoW_turnErrorTitle"
|
|
556
556
|
};
|
|
557
557
|
//#endregion
|
|
558
558
|
//#region src/client/chat-node/MessageItem.tsx
|
package/dist/testing.d.mts
CHANGED
|
@@ -296,7 +296,7 @@ declare class ValidationError extends TypeError {
|
|
|
296
296
|
type Schema<S = any, T = S> = Schemastery<S, T>;
|
|
297
297
|
declare const Schema: Schemastery.Static;
|
|
298
298
|
//#endregion
|
|
299
|
-
//#region ../../../node_modules/.pnpm/zod@4.6.
|
|
299
|
+
//#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/json-schema.d.cts
|
|
300
300
|
type _JSONSchema = boolean | JSONSchema;
|
|
301
301
|
type SchemaType = "object" | "array" | "string" | "number" | "boolean" | "null" | "integer";
|
|
302
302
|
type JSONSchema = {
|
|
@@ -365,7 +365,7 @@ type JSONSchema = {
|
|
|
365
365
|
};
|
|
366
366
|
type BaseSchema = JSONSchema;
|
|
367
367
|
//#endregion
|
|
368
|
-
//#region ../../../node_modules/.pnpm/zod@4.6.
|
|
368
|
+
//#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/standard-schema.d.cts
|
|
369
369
|
/** The Standard interface. */
|
|
370
370
|
interface StandardTypedV1<Input = unknown, Output = Input> {
|
|
371
371
|
/** The Standard properties. */
|
|
@@ -484,7 +484,7 @@ declare namespace StandardJSONSchemaV1 {
|
|
|
484
484
|
}
|
|
485
485
|
interface StandardSchemaWithJSONProps<Input = unknown, Output = Input> extends StandardSchemaV1.Props<Input, Output>, StandardJSONSchemaV1.Props<Input, Output> {}
|
|
486
486
|
//#endregion
|
|
487
|
-
//#region ../../../node_modules/.pnpm/zod@4.6.
|
|
487
|
+
//#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/registries.d.cts
|
|
488
488
|
declare const $output: unique symbol;
|
|
489
489
|
type $output = typeof $output;
|
|
490
490
|
declare const $input: unique symbol;
|
|
@@ -511,7 +511,7 @@ interface JSONSchemaMeta {
|
|
|
511
511
|
}
|
|
512
512
|
interface GlobalMeta extends JSONSchemaMeta {}
|
|
513
513
|
//#endregion
|
|
514
|
-
//#region ../../../node_modules/.pnpm/zod@4.6.
|
|
514
|
+
//#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/to-json-schema.d.cts
|
|
515
515
|
type Processor<T extends $ZodType = $ZodType> = (schema: T, ctx: ToJSONSchemaContext, json: BaseSchema, params: ProcessParams) => void;
|
|
516
516
|
/**
|
|
517
517
|
* Called for each schema that has no JSON Schema equivalent. Return a JSON Schema to use in its
|
|
@@ -633,7 +633,7 @@ interface ZodStandardJSONSchemaPayload<T> extends BaseSchema {
|
|
|
633
633
|
"~standard": ZodStandardSchemaWithJSON$1<T>;
|
|
634
634
|
}
|
|
635
635
|
//#endregion
|
|
636
|
-
//#region ../../../node_modules/.pnpm/zod@4.6.
|
|
636
|
+
//#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/util.d.cts
|
|
637
637
|
type MimeTypes = "application/json" | "application/xml" | "application/x-www-form-urlencoded" | "application/javascript" | "application/pdf" | "application/zip" | "application/vnd.ms-excel" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.ms-powerpoint" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/octet-stream" | "application/graphql" | "text/html" | "text/plain" | "text/css" | "text/javascript" | "text/csv" | "image/png" | "image/jpeg" | "image/gif" | "image/svg+xml" | "image/webp" | "audio/mpeg" | "audio/ogg" | "audio/wav" | "audio/webm" | "video/mp4" | "video/webm" | "video/ogg" | "font/woff" | "font/woff2" | "font/ttf" | "font/otf" | "multipart/form-data" | (string & {});
|
|
638
638
|
type IsAny<T> = 0 extends 1 & T ? true : false;
|
|
639
639
|
type Omit$1<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
|
|
@@ -669,14 +669,14 @@ declare abstract class Class {
|
|
|
669
669
|
/** A trait's prototype members: a partial view of its own interface, with `this` typed as the instance. */
|
|
670
670
|
type ProtoOf<T> = { [K in keyof T]?: (T[K] extends ((...args: infer A) => infer R) ? (...args: A) => R : T[K]) | undefined; } & ThisType<T>;
|
|
671
671
|
//#endregion
|
|
672
|
-
//#region ../../../node_modules/.pnpm/zod@4.6.
|
|
672
|
+
//#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/versions.d.cts
|
|
673
673
|
declare const version: {
|
|
674
674
|
readonly major: 4;
|
|
675
675
|
readonly minor: 6;
|
|
676
676
|
readonly patch: number;
|
|
677
677
|
};
|
|
678
678
|
//#endregion
|
|
679
|
-
//#region ../../../node_modules/.pnpm/zod@4.6.
|
|
679
|
+
//#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/schemas.d.cts
|
|
680
680
|
interface ParseContext<T extends $ZodIssueBase = never> {
|
|
681
681
|
/** Customize error messages. */
|
|
682
682
|
readonly error?: $ZodErrorMap<T>;
|
|
@@ -1470,7 +1470,7 @@ interface $ZodCustom<O = unknown, I = unknown> extends $ZodType {
|
|
|
1470
1470
|
declare const $ZodCustom: $constructor<$ZodCustom>;
|
|
1471
1471
|
type $ZodTypes = $ZodString | $ZodNumber | $ZodBigInt | $ZodBoolean | $ZodDate | $ZodSymbol | $ZodUndefined | $ZodNullable | $ZodNull | $ZodAny | $ZodUnknown | $ZodNever | $ZodVoid | $ZodArray | $ZodObject | $ZodUnion | $ZodIntersection | $ZodTuple | $ZodRecord | $ZodMap | $ZodSet | $ZodLiteral | $ZodEnum | $ZodFunction | $ZodPromise | $ZodLazy | $ZodOptional | $ZodDefault | $ZodPrefault | $ZodTemplateLiteral | $ZodCustom | $ZodTransform | $ZodNonOptional | $ZodReadonly | $ZodNaN | $ZodPipe | $ZodSuccess | $ZodCatch | $ZodFile;
|
|
1472
1472
|
//#endregion
|
|
1473
|
-
//#region ../../../node_modules/.pnpm/zod@4.6.
|
|
1473
|
+
//#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/checks.d.cts
|
|
1474
1474
|
interface $ZodCheckDef {
|
|
1475
1475
|
check: string;
|
|
1476
1476
|
error?: $ZodErrorMap<never> | undefined;
|
|
@@ -1528,7 +1528,7 @@ interface $ZodCheckLengthEquals<T extends HasLength = HasLength> extends $ZodChe
|
|
|
1528
1528
|
declare const $ZodCheckLengthEquals: $constructor<$ZodCheckLengthEquals>;
|
|
1529
1529
|
type $ZodStringFormats = "email" | "url" | "emoji" | "uuid" | "guid" | "nanoid" | "cuid" | "cuid2" | "ulid" | "xid" | "ksuid" | "datetime" | "date" | "time" | "duration" | "ipv4" | "ipv6" | "cidrv4" | "cidrv6" | "base64" | "base64url" | "json_string" | "e164" | "credit_card" | "iban" | "lowercase" | "uppercase" | "regex" | "jwt" | "starts_with" | "ends_with" | "includes";
|
|
1530
1530
|
//#endregion
|
|
1531
|
-
//#region ../../../node_modules/.pnpm/zod@4.6.
|
|
1531
|
+
//#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/errors.d.cts
|
|
1532
1532
|
interface $ZodIssueBase {
|
|
1533
1533
|
readonly code?: string;
|
|
1534
1534
|
readonly input?: unknown;
|
|
@@ -1657,7 +1657,7 @@ type $ZodFormattedError<T, U = string> = {
|
|
|
1657
1657
|
_errors: U[];
|
|
1658
1658
|
} & Flatten<_ZodFormattedError<T, U>>;
|
|
1659
1659
|
//#endregion
|
|
1660
|
-
//#region ../../../node_modules/.pnpm/zod@4.6.
|
|
1660
|
+
//#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/core.d.cts
|
|
1661
1661
|
type ZodTrait = {
|
|
1662
1662
|
_zod: {
|
|
1663
1663
|
def: any;
|
|
@@ -1703,7 +1703,7 @@ type output<T> = T extends {
|
|
|
1703
1703
|
};
|
|
1704
1704
|
} ? T["_zod"]["output"] : unknown;
|
|
1705
1705
|
//#endregion
|
|
1706
|
-
//#region ../../../node_modules/.pnpm/zod@4.6.
|
|
1706
|
+
//#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/api.d.cts
|
|
1707
1707
|
type Params<T extends $ZodType | $ZodCheck, IssueTypes extends $ZodIssueBase, OmitKeys extends keyof T["_zod"]["def"] = never> = Flatten<Partial<EmptyToNever<Omit<T["_zod"]["def"], OmitKeys> & ([IssueTypes] extends [never] ? {} : {
|
|
1708
1708
|
error?: string | $ZodErrorMap<IssueTypes> | undefined;
|
|
1709
1709
|
/** @deprecated This parameter is deprecated. Use `error` instead. */
|
|
@@ -1735,7 +1735,7 @@ interface $ZodSuperRefineParams {
|
|
|
1735
1735
|
when?: ((payload: ParsePayload) => boolean) | undefined;
|
|
1736
1736
|
}
|
|
1737
1737
|
//#endregion
|
|
1738
|
-
//#region ../../../node_modules/.pnpm/zod@4.6.
|
|
1738
|
+
//#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/errors.d.cts
|
|
1739
1739
|
/** An Error-like class used to store Zod validation issues. */
|
|
1740
1740
|
interface ZodError<T = unknown> extends $ZodError<T> {
|
|
1741
1741
|
/** @deprecated Use the `z.treeifyError(err)` function instead. */
|
|
@@ -1753,7 +1753,7 @@ interface ZodError<T = unknown> extends $ZodError<T> {
|
|
|
1753
1753
|
}
|
|
1754
1754
|
declare const ZodError: $constructor<ZodError>;
|
|
1755
1755
|
//#endregion
|
|
1756
|
-
//#region ../../../node_modules/.pnpm/zod@4.6.
|
|
1756
|
+
//#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/parse.d.cts
|
|
1757
1757
|
type ZodSafeParseResult<T> = ZodSafeParseSuccess<T> | ZodSafeParseError<T>;
|
|
1758
1758
|
type ZodSafeParseSuccess<T> = {
|
|
1759
1759
|
success: true;
|
|
@@ -1766,7 +1766,7 @@ type ZodSafeParseError<T> = {
|
|
|
1766
1766
|
error: ZodError<T>;
|
|
1767
1767
|
};
|
|
1768
1768
|
//#endregion
|
|
1769
|
-
//#region ../../../node_modules/.pnpm/zod@4.6.
|
|
1769
|
+
//#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/schemas.d.cts
|
|
1770
1770
|
type ZodStandardSchemaWithJSON<T> = StandardSchemaWithJSONProps<input<T>, output<T>>;
|
|
1771
1771
|
interface ZodType<out Output = unknown, out Input = unknown, out Internals extends $ZodTypeInternals<Output, Input> = $ZodTypeInternals<Output, Input>> extends $ZodType<Output, Input, Internals> {
|
|
1772
1772
|
def: Internals["def"];
|