@inkeep/agents-ui 0.0.0-dev-20260508215802 → 0.0.0-dev-20260508234956

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.
Files changed (21) hide show
  1. package/dist/primitives/components/embedded-chat/use-inkeep-chat.cjs +2 -2
  2. package/dist/primitives/components/embedded-chat/use-inkeep-chat.d.ts +0 -13
  3. package/dist/primitives/components/embedded-chat/use-inkeep-chat.js +183 -181
  4. package/dist/styled/components/message.cjs +1 -1
  5. package/dist/styled/components/message.js +210 -272
  6. package/dist/styled/inkeep.css.cjs +0 -78
  7. package/dist/styled/inkeep.css.js +0 -78
  8. package/package.json +1 -2
  9. package/dist/node_modules/.pnpm/@hookform_resolvers@5.2.2_react-hook-form@7.70.0_react@19.3.0-canary-87ae75b3-20260128_/node_modules/@hookform/resolvers/zod/dist/zod.cjs +0 -1
  10. package/dist/node_modules/.pnpm/@hookform_resolvers@5.2.2_react-hook-form@7.70.0_react@19.3.0-canary-87ae75b3-20260128_/node_modules/@hookform/resolvers/zod/dist/zod.js +0 -93
  11. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/core.cjs +0 -1
  12. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/core.js +0 -49
  13. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/errors.cjs +0 -1
  14. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/errors.js +0 -19
  15. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/parse.cjs +0 -1
  16. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/parse.js +0 -28
  17. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/util.cjs +0 -1
  18. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/util.js +0 -23
  19. package/dist/styled/components/ask-user-form.cjs +0 -1
  20. package/dist/styled/components/ask-user-form.d.ts +0 -96
  21. package/dist/styled/components/ask-user-form.js +0 -672
@@ -582,9 +582,6 @@ video {
582
582
  .visible {
583
583
  visibility: visible;
584
584
  }
585
- .static {
586
- position: static;
587
- }
588
585
  .fixed {
589
586
  position: fixed;
590
587
  }
@@ -759,9 +756,6 @@ video {
759
756
  .mb-6 {
760
757
  margin-bottom: 1.5rem;
761
758
  }
762
- .ml-0\\.5 {
763
- margin-left: 0.125rem;
764
- }
765
759
  .ml-1 {
766
760
  margin-left: 0.25rem;
767
761
  }
@@ -795,9 +789,6 @@ video {
795
789
  .mt-0\\.5 {
796
790
  margin-top: 0.125rem;
797
791
  }
798
- .mt-1 {
799
- margin-top: 0.25rem;
800
- }
801
792
  .mt-1\\.5 {
802
793
  margin-top: 0.375rem;
803
794
  }
@@ -990,15 +981,9 @@ video {
990
981
  .min-h-9 {
991
982
  min-height: 2.25rem;
992
983
  }
993
- .min-h-\\[32px\\] {
994
- min-height: 32px;
995
- }
996
984
  .min-h-\\[38px\\] {
997
985
  min-height: 38px;
998
986
  }
999
- .min-h-\\[60px\\] {
1000
- min-height: 60px;
1001
- }
1002
987
  .min-h-\\[unset\\] {
1003
988
  min-height: unset;
1004
989
  }
@@ -1029,9 +1014,6 @@ video {
1029
1014
  .w-3\\/4 {
1030
1015
  width: 75%;
1031
1016
  }
1032
- .w-32 {
1033
- width: 8rem;
1034
- }
1035
1017
  .w-4 {
1036
1018
  width: 1rem;
1037
1019
  }
@@ -1041,9 +1023,6 @@ video {
1041
1023
  .w-40 {
1042
1024
  width: 10rem;
1043
1025
  }
1044
- .w-48 {
1045
- width: 12rem;
1046
- }
1047
1026
  .w-5 {
1048
1027
  width: 1.25rem;
1049
1028
  }
@@ -1056,9 +1035,6 @@ video {
1056
1035
  .w-8 {
1057
1036
  width: 2rem;
1058
1037
  }
1059
- .w-9 {
1060
- width: 2.25rem;
1061
- }
1062
1038
  .w-\\[--width\\] {
1063
1039
  width: var(--width);
1064
1040
  }
@@ -1105,9 +1081,6 @@ video {
1105
1081
  .min-w-9 {
1106
1082
  min-width: 2.25rem;
1107
1083
  }
1108
- .min-w-\\[80px\\] {
1109
- min-width: 80px;
1110
- }
1111
1084
  .min-w-\\[8rem\\] {
1112
1085
  min-width: 8rem;
1113
1086
  }
@@ -1182,14 +1155,6 @@ video {
1182
1155
  --tw-translate-y: -50%;
1183
1156
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
1184
1157
  }
1185
- .translate-x-0\\.5 {
1186
- --tw-translate-x: 0.125rem;
1187
- transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
1188
- }
1189
- .translate-x-4 {
1190
- --tw-translate-x: 1rem;
1191
- transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
1192
- }
1193
1158
  .translate-x-\\[-50\\%\\] {
1194
1159
  --tw-translate-x: -50%;
1195
1160
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
@@ -1325,9 +1290,6 @@ video {
1325
1290
  .cursor-pointer {
1326
1291
  cursor: pointer;
1327
1292
  }
1328
- .cursor-text {
1329
- cursor: text;
1330
- }
1331
1293
  .touch-none {
1332
1294
  touch-action: none;
1333
1295
  }
@@ -1455,11 +1417,6 @@ video {
1455
1417
  margin-top: calc(0.25rem * calc(1 - var(--tw-space-y-reverse)));
1456
1418
  margin-bottom: calc(0.25rem * var(--tw-space-y-reverse));
1457
1419
  }
1458
- .space-y-2 > :not([hidden]) ~ :not([hidden]) {
1459
- --tw-space-y-reverse: 0;
1460
- margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
1461
- margin-bottom: calc(0.5rem * var(--tw-space-y-reverse));
1462
- }
1463
1420
  .space-y-3 > :not([hidden]) ~ :not([hidden]) {
1464
1421
  --tw-space-y-reverse: 0;
1465
1422
  margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));
@@ -1700,9 +1657,6 @@ video {
1700
1657
  .p-2 {
1701
1658
  padding: 0.5rem;
1702
1659
  }
1703
- .p-4 {
1704
- padding: 1rem;
1705
- }
1706
1660
  .p-8 {
1707
1661
  padding: 2rem;
1708
1662
  }
@@ -2022,10 +1976,6 @@ video {
2022
1976
  --tw-text-opacity: 1;
2023
1977
  color: rgb(239 68 68 / var(--tw-text-opacity, 1));
2024
1978
  }
2025
- .text-red-600 {
2026
- --tw-text-opacity: 1;
2027
- color: rgb(220 38 38 / var(--tw-text-opacity, 1));
2028
- }
2029
1979
  .text-transparent {
2030
1980
  color: transparent;
2031
1981
  }
@@ -2707,16 +2657,6 @@ slot {
2707
2657
  outline-color: var(--ikp-color-inkeep-expanded-primary-700);
2708
2658
  }
2709
2659
 
2710
- .focus\\:ring-1:focus {
2711
- --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
2712
- --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
2713
- box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
2714
- }
2715
-
2716
- .focus\\:ring-inkeep-expanded-primary-500:focus {
2717
- --tw-ring-color: var(--ikp-color-inkeep-expanded-primary-500);
2718
- }
2719
-
2720
2660
  .focus-visible\\:rounded:focus-visible {
2721
2661
  border-radius: 0.25rem;
2722
2662
  }
@@ -2806,10 +2746,6 @@ slot {
2806
2746
  opacity: 0.5;
2807
2747
  }
2808
2748
 
2809
- .disabled\\:opacity-60:disabled {
2810
- opacity: 0.6;
2811
- }
2812
-
2813
2749
  .disabled\\:shadow-none:disabled {
2814
2750
  --tw-shadow: 0 0 #0000;
2815
2751
  --tw-shadow-colored: 0 0 #0000;
@@ -3623,11 +3559,6 @@ slot {
3623
3559
  color: var(--ikp-color-inkeep-primary-stronger);
3624
3560
  }
3625
3561
 
3626
- .hover\\:text-red-500:hover:not(:disabled) {
3627
- --tw-text-opacity: 1;
3628
- color: rgb(239 68 68 / var(--tw-text-opacity, 1));
3629
- }
3630
-
3631
3562
  .hover\\:underline:hover:not(:disabled) {
3632
3563
  text-decoration-line: underline;
3633
3564
  }
@@ -3830,10 +3761,6 @@ slot {
3830
3761
  border-color: var(--ikp-color-inkeep-expanded-primary-600);
3831
3762
  }
3832
3763
 
3833
- .dark\\:border-white-alpha-100:is([data-theme="dark"] *) {
3834
- border-color: var(--ikp-color-white-alpha-100);
3835
- }
3836
-
3837
3764
  .dark\\:border-white-alpha-200:is([data-theme="dark"] *) {
3838
3765
  border-color: var(--ikp-color-white-alpha-200);
3839
3766
  }
@@ -3952,11 +3879,6 @@ slot {
3952
3879
  color: rgb(252 165 165 / var(--tw-text-opacity, 1));
3953
3880
  }
3954
3881
 
3955
- .dark\\:text-red-400:is([data-theme="dark"] *) {
3956
- --tw-text-opacity: 1;
3957
- color: rgb(248 113 113 / var(--tw-text-opacity, 1));
3958
- }
3959
-
3960
3882
  .dark\\:text-white:is([data-theme="dark"] *) {
3961
3883
  --tw-text-opacity: 1;
3962
3884
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
@@ -583,9 +583,6 @@ video {
583
583
  .visible {
584
584
  visibility: visible;
585
585
  }
586
- .static {
587
- position: static;
588
- }
589
586
  .fixed {
590
587
  position: fixed;
591
588
  }
@@ -760,9 +757,6 @@ video {
760
757
  .mb-6 {
761
758
  margin-bottom: 1.5rem;
762
759
  }
763
- .ml-0\\.5 {
764
- margin-left: 0.125rem;
765
- }
766
760
  .ml-1 {
767
761
  margin-left: 0.25rem;
768
762
  }
@@ -796,9 +790,6 @@ video {
796
790
  .mt-0\\.5 {
797
791
  margin-top: 0.125rem;
798
792
  }
799
- .mt-1 {
800
- margin-top: 0.25rem;
801
- }
802
793
  .mt-1\\.5 {
803
794
  margin-top: 0.375rem;
804
795
  }
@@ -991,15 +982,9 @@ video {
991
982
  .min-h-9 {
992
983
  min-height: 2.25rem;
993
984
  }
994
- .min-h-\\[32px\\] {
995
- min-height: 32px;
996
- }
997
985
  .min-h-\\[38px\\] {
998
986
  min-height: 38px;
999
987
  }
1000
- .min-h-\\[60px\\] {
1001
- min-height: 60px;
1002
- }
1003
988
  .min-h-\\[unset\\] {
1004
989
  min-height: unset;
1005
990
  }
@@ -1030,9 +1015,6 @@ video {
1030
1015
  .w-3\\/4 {
1031
1016
  width: 75%;
1032
1017
  }
1033
- .w-32 {
1034
- width: 8rem;
1035
- }
1036
1018
  .w-4 {
1037
1019
  width: 1rem;
1038
1020
  }
@@ -1042,9 +1024,6 @@ video {
1042
1024
  .w-40 {
1043
1025
  width: 10rem;
1044
1026
  }
1045
- .w-48 {
1046
- width: 12rem;
1047
- }
1048
1027
  .w-5 {
1049
1028
  width: 1.25rem;
1050
1029
  }
@@ -1057,9 +1036,6 @@ video {
1057
1036
  .w-8 {
1058
1037
  width: 2rem;
1059
1038
  }
1060
- .w-9 {
1061
- width: 2.25rem;
1062
- }
1063
1039
  .w-\\[--width\\] {
1064
1040
  width: var(--width);
1065
1041
  }
@@ -1106,9 +1082,6 @@ video {
1106
1082
  .min-w-9 {
1107
1083
  min-width: 2.25rem;
1108
1084
  }
1109
- .min-w-\\[80px\\] {
1110
- min-width: 80px;
1111
- }
1112
1085
  .min-w-\\[8rem\\] {
1113
1086
  min-width: 8rem;
1114
1087
  }
@@ -1183,14 +1156,6 @@ video {
1183
1156
  --tw-translate-y: -50%;
1184
1157
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
1185
1158
  }
1186
- .translate-x-0\\.5 {
1187
- --tw-translate-x: 0.125rem;
1188
- transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
1189
- }
1190
- .translate-x-4 {
1191
- --tw-translate-x: 1rem;
1192
- transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
1193
- }
1194
1159
  .translate-x-\\[-50\\%\\] {
1195
1160
  --tw-translate-x: -50%;
1196
1161
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
@@ -1326,9 +1291,6 @@ video {
1326
1291
  .cursor-pointer {
1327
1292
  cursor: pointer;
1328
1293
  }
1329
- .cursor-text {
1330
- cursor: text;
1331
- }
1332
1294
  .touch-none {
1333
1295
  touch-action: none;
1334
1296
  }
@@ -1456,11 +1418,6 @@ video {
1456
1418
  margin-top: calc(0.25rem * calc(1 - var(--tw-space-y-reverse)));
1457
1419
  margin-bottom: calc(0.25rem * var(--tw-space-y-reverse));
1458
1420
  }
1459
- .space-y-2 > :not([hidden]) ~ :not([hidden]) {
1460
- --tw-space-y-reverse: 0;
1461
- margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
1462
- margin-bottom: calc(0.5rem * var(--tw-space-y-reverse));
1463
- }
1464
1421
  .space-y-3 > :not([hidden]) ~ :not([hidden]) {
1465
1422
  --tw-space-y-reverse: 0;
1466
1423
  margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));
@@ -1701,9 +1658,6 @@ video {
1701
1658
  .p-2 {
1702
1659
  padding: 0.5rem;
1703
1660
  }
1704
- .p-4 {
1705
- padding: 1rem;
1706
- }
1707
1661
  .p-8 {
1708
1662
  padding: 2rem;
1709
1663
  }
@@ -2023,10 +1977,6 @@ video {
2023
1977
  --tw-text-opacity: 1;
2024
1978
  color: rgb(239 68 68 / var(--tw-text-opacity, 1));
2025
1979
  }
2026
- .text-red-600 {
2027
- --tw-text-opacity: 1;
2028
- color: rgb(220 38 38 / var(--tw-text-opacity, 1));
2029
- }
2030
1980
  .text-transparent {
2031
1981
  color: transparent;
2032
1982
  }
@@ -2708,16 +2658,6 @@ slot {
2708
2658
  outline-color: var(--ikp-color-inkeep-expanded-primary-700);
2709
2659
  }
2710
2660
 
2711
- .focus\\:ring-1:focus {
2712
- --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
2713
- --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
2714
- box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
2715
- }
2716
-
2717
- .focus\\:ring-inkeep-expanded-primary-500:focus {
2718
- --tw-ring-color: var(--ikp-color-inkeep-expanded-primary-500);
2719
- }
2720
-
2721
2661
  .focus-visible\\:rounded:focus-visible {
2722
2662
  border-radius: 0.25rem;
2723
2663
  }
@@ -2807,10 +2747,6 @@ slot {
2807
2747
  opacity: 0.5;
2808
2748
  }
2809
2749
 
2810
- .disabled\\:opacity-60:disabled {
2811
- opacity: 0.6;
2812
- }
2813
-
2814
2750
  .disabled\\:shadow-none:disabled {
2815
2751
  --tw-shadow: 0 0 #0000;
2816
2752
  --tw-shadow-colored: 0 0 #0000;
@@ -3624,11 +3560,6 @@ slot {
3624
3560
  color: var(--ikp-color-inkeep-primary-stronger);
3625
3561
  }
3626
3562
 
3627
- .hover\\:text-red-500:hover:not(:disabled) {
3628
- --tw-text-opacity: 1;
3629
- color: rgb(239 68 68 / var(--tw-text-opacity, 1));
3630
- }
3631
-
3632
3563
  .hover\\:underline:hover:not(:disabled) {
3633
3564
  text-decoration-line: underline;
3634
3565
  }
@@ -3831,10 +3762,6 @@ slot {
3831
3762
  border-color: var(--ikp-color-inkeep-expanded-primary-600);
3832
3763
  }
3833
3764
 
3834
- .dark\\:border-white-alpha-100:is([data-theme="dark"] *) {
3835
- border-color: var(--ikp-color-white-alpha-100);
3836
- }
3837
-
3838
3765
  .dark\\:border-white-alpha-200:is([data-theme="dark"] *) {
3839
3766
  border-color: var(--ikp-color-white-alpha-200);
3840
3767
  }
@@ -3953,11 +3880,6 @@ slot {
3953
3880
  color: rgb(252 165 165 / var(--tw-text-opacity, 1));
3954
3881
  }
3955
3882
 
3956
- .dark\\:text-red-400:is([data-theme="dark"] *) {
3957
- --tw-text-opacity: 1;
3958
- color: rgb(248 113 113 / var(--tw-text-opacity, 1));
3959
- }
3960
-
3961
3883
  .dark\\:text-white:is([data-theme="dark"] *) {
3962
3884
  --tw-text-opacity: 1;
3963
3885
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inkeep/agents-ui",
3
- "version": "0.0.0-dev-20260508215802",
3
+ "version": "0.0.0-dev-20260508234956",
4
4
  "description": "",
5
5
  "homepage": "",
6
6
  "repository": {
@@ -40,7 +40,6 @@
40
40
  "dependencies": {
41
41
  "@ai-sdk/openai": "3.0.14",
42
42
  "@ai-sdk/react": "3.0.46",
43
- "@hookform/resolvers": "^5.2.1",
44
43
  "@radix-ui/number": "^1.1.1",
45
44
  "@radix-ui/primitive": "^1.1.1",
46
45
  "@radix-ui/react-avatar": "1.1.2",
@@ -1 +0,0 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("@hookform/resolvers"),m=require("react-hook-form"),v=require("../../../../../../zod@4.3.6/node_modules/zod/v4/core/parse.cjs"),p=require("../../../../../../zod@4.3.6/node_modules/zod/v4/core/errors.cjs");function h(n,i){try{var o=n()}catch(e){return i(e)}return o&&o.then?o.then(void 0,i):o}function y(n,i){for(var o={};n.length;){var e=n[0],a=e.code,s=e.message,r=e.path.join(".");if(!o[r])if("unionErrors"in e){var t=e.unionErrors[0].errors[0];o[r]={message:t.message,type:t.code}}else o[r]={message:s,type:a};if("unionErrors"in e&&e.unionErrors.forEach(function(l){return l.errors.forEach(function(f){return n.push(f)})}),i){var u=o[r].types,c=u&&u[e.code];o[r]=m.appendErrors(r,i,o,a,c?[].concat(c,e.message):e.message)}n.shift()}return o}function g(n,i){for(var o={};n.length;){var e=n[0],a=e.code,s=e.message,r=e.path.join(".");if(!o[r])if(e.code==="invalid_union"&&e.errors.length>0){var t=e.errors[0][0];o[r]={message:t.message,type:t.code}}else o[r]={message:s,type:a};if(e.code==="invalid_union"&&e.errors.forEach(function(l){return l.forEach(function(f){return n.push(f)})}),i){var u=o[r].types,c=u&&u[e.code];o[r]=m.appendErrors(r,i,o,a,c?[].concat(c,e.message):e.message)}n.shift()}return o}function E(n,i,o){if(o===void 0&&(o={}),(function(e){return"_def"in e&&typeof e._def=="object"&&"typeName"in e._def})(n))return function(e,a,s){try{return Promise.resolve(h(function(){return Promise.resolve(n[o.mode==="sync"?"parse":"parseAsync"](e,i)).then(function(r){return s.shouldUseNativeValidation&&d.validateFieldsNatively({},s),{errors:{},values:o.raw?Object.assign({},e):r}})},function(r){if((function(t){return Array.isArray(t?.issues)})(r))return{values:{},errors:d.toNestErrors(y(r.errors,!s.shouldUseNativeValidation&&s.criteriaMode==="all"),s)};throw r}))}catch(r){return Promise.reject(r)}};if((function(e){return"_zod"in e&&typeof e._zod=="object"})(n))return function(e,a,s){try{return Promise.resolve(h(function(){return Promise.resolve((o.mode==="sync"?v.parse:v.parseAsync)(n,e,i)).then(function(r){return s.shouldUseNativeValidation&&d.validateFieldsNatively({},s),{errors:{},values:o.raw?Object.assign({},e):r}})},function(r){if((function(t){return t instanceof p.$ZodError})(r))return{values:{},errors:d.toNestErrors(g(r.issues,!s.shouldUseNativeValidation&&s.criteriaMode==="all"),s)};throw r}))}catch(r){return Promise.reject(r)}};throw new Error("Invalid input: not a Zod schema")}exports.zodResolver=E;
@@ -1,93 +0,0 @@
1
- "use client";
2
- import { validateFieldsNatively as l, toNestErrors as m } from "@hookform/resolvers";
3
- import { appendErrors as h } from "react-hook-form";
4
- import { parse as p, parseAsync as y } from "../../../../../../zod@4.3.6/node_modules/zod/v4/core/parse.js";
5
- import { $ZodError as g } from "../../../../../../zod@4.3.6/node_modules/zod/v4/core/errors.js";
6
- function v(n, i) {
7
- try {
8
- var o = n();
9
- } catch (r) {
10
- return i(r);
11
- }
12
- return o && o.then ? o.then(void 0, i) : o;
13
- }
14
- function E(n, i) {
15
- for (var o = {}; n.length; ) {
16
- var r = n[0], a = r.code, s = r.message, e = r.path.join(".");
17
- if (!o[e]) if ("unionErrors" in r) {
18
- var t = r.unionErrors[0].errors[0];
19
- o[e] = { message: t.message, type: t.code };
20
- } else o[e] = { message: s, type: a };
21
- if ("unionErrors" in r && r.unionErrors.forEach(function(f) {
22
- return f.errors.forEach(function(d) {
23
- return n.push(d);
24
- });
25
- }), i) {
26
- var u = o[e].types, c = u && u[r.code];
27
- o[e] = h(e, i, o, a, c ? [].concat(c, r.message) : r.message);
28
- }
29
- n.shift();
30
- }
31
- return o;
32
- }
33
- function j(n, i) {
34
- for (var o = {}; n.length; ) {
35
- var r = n[0], a = r.code, s = r.message, e = r.path.join(".");
36
- if (!o[e]) if (r.code === "invalid_union" && r.errors.length > 0) {
37
- var t = r.errors[0][0];
38
- o[e] = { message: t.message, type: t.code };
39
- } else o[e] = { message: s, type: a };
40
- if (r.code === "invalid_union" && r.errors.forEach(function(f) {
41
- return f.forEach(function(d) {
42
- return n.push(d);
43
- });
44
- }), i) {
45
- var u = o[e].types, c = u && u[r.code];
46
- o[e] = h(e, i, o, a, c ? [].concat(c, r.message) : r.message);
47
- }
48
- n.shift();
49
- }
50
- return o;
51
- }
52
- function b(n, i, o) {
53
- if (o === void 0 && (o = {}), (function(r) {
54
- return "_def" in r && typeof r._def == "object" && "typeName" in r._def;
55
- })(n)) return function(r, a, s) {
56
- try {
57
- return Promise.resolve(v(function() {
58
- return Promise.resolve(n[o.mode === "sync" ? "parse" : "parseAsync"](r, i)).then(function(e) {
59
- return s.shouldUseNativeValidation && l({}, s), { errors: {}, values: o.raw ? Object.assign({}, r) : e };
60
- });
61
- }, function(e) {
62
- if ((function(t) {
63
- return Array.isArray(t?.issues);
64
- })(e)) return { values: {}, errors: m(E(e.errors, !s.shouldUseNativeValidation && s.criteriaMode === "all"), s) };
65
- throw e;
66
- }));
67
- } catch (e) {
68
- return Promise.reject(e);
69
- }
70
- };
71
- if ((function(r) {
72
- return "_zod" in r && typeof r._zod == "object";
73
- })(n)) return function(r, a, s) {
74
- try {
75
- return Promise.resolve(v(function() {
76
- return Promise.resolve((o.mode === "sync" ? p : y)(n, r, i)).then(function(e) {
77
- return s.shouldUseNativeValidation && l({}, s), { errors: {}, values: o.raw ? Object.assign({}, r) : e };
78
- });
79
- }, function(e) {
80
- if ((function(t) {
81
- return t instanceof g;
82
- })(e)) return { values: {}, errors: m(j(e.issues, !s.shouldUseNativeValidation && s.criteriaMode === "all"), s) };
83
- throw e;
84
- }));
85
- } catch (e) {
86
- return Promise.reject(e);
87
- }
88
- };
89
- throw new Error("Invalid input: not a Zod schema");
90
- }
91
- export {
92
- b as zodResolver
93
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function b(r,l,c){function f(e,o){if(e._zod||Object.defineProperty(e,"_zod",{value:{def:o,constr:n,traits:new Set},enumerable:!1}),e._zod.traits.has(r))return;e._zod.traits.add(r),l(e,o);const t=n.prototype,i=Object.keys(t);for(let s=0;s<i.length;s++){const d=i[s];d in e||(e[d]=t[d].bind(e))}}const y=c?.Parent??Object;class u extends y{}Object.defineProperty(u,"name",{value:r});function n(e){var o;const t=c?.Parent?new u:this;f(t,e),(o=t._zod).deferred??(o.deferred=[]);for(const i of t._zod.deferred)i();return t}return Object.defineProperty(n,"init",{value:f}),Object.defineProperty(n,Symbol.hasInstance,{value:e=>c?.Parent&&e instanceof c.Parent?!0:e?._zod?.traits?.has(r)}),Object.defineProperty(n,"name",{value:r}),n}class P extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}const a={};function g(r){return a}exports.$ZodAsyncError=P;exports.$constructor=b;exports.config=g;exports.globalConfig=a;
@@ -1,49 +0,0 @@
1
- function b(r, a, c) {
2
- function f(e, o) {
3
- if (e._zod || Object.defineProperty(e, "_zod", {
4
- value: {
5
- def: o,
6
- constr: n,
7
- traits: /* @__PURE__ */ new Set()
8
- },
9
- enumerable: !1
10
- }), e._zod.traits.has(r))
11
- return;
12
- e._zod.traits.add(r), a(e, o);
13
- const t = n.prototype, s = Object.keys(t);
14
- for (let i = 0; i < s.length; i++) {
15
- const d = s[i];
16
- d in e || (e[d] = t[d].bind(e));
17
- }
18
- }
19
- const l = c?.Parent ?? Object;
20
- class u extends l {
21
- }
22
- Object.defineProperty(u, "name", { value: r });
23
- function n(e) {
24
- var o;
25
- const t = c?.Parent ? new u() : this;
26
- f(t, e), (o = t._zod).deferred ?? (o.deferred = []);
27
- for (const s of t._zod.deferred)
28
- s();
29
- return t;
30
- }
31
- return Object.defineProperty(n, "init", { value: f }), Object.defineProperty(n, Symbol.hasInstance, {
32
- value: (e) => c?.Parent && e instanceof c.Parent ? !0 : e?._zod?.traits?.has(r)
33
- }), Object.defineProperty(n, "name", { value: r }), n;
34
- }
35
- class P extends Error {
36
- constructor() {
37
- super("Encountered Promise during synchronous parse. Use .parseAsync() instead.");
38
- }
39
- }
40
- const y = {};
41
- function p(r) {
42
- return y;
43
- }
44
- export {
45
- P as $ZodAsyncError,
46
- b as $constructor,
47
- p as config,
48
- y as globalConfig
49
- };
@@ -1 +0,0 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./core.cjs"),a=require("./util.cjs"),t=(e,r)=>{e.name="$ZodError",Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:r,enumerable:!1}),e.message=JSON.stringify(r,a.jsonStringifyReplacer,2),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})},l=o.$constructor("$ZodError",t),c=o.$constructor("$ZodError",t,{Parent:Error});exports.$ZodError=l;exports.$ZodRealError=c;
@@ -1,19 +0,0 @@
1
- "use client";
2
- import { $constructor as o } from "./core.js";
3
- import { jsonStringifyReplacer as t } from "./util.js";
4
- const a = (e, r) => {
5
- e.name = "$ZodError", Object.defineProperty(e, "_zod", {
6
- value: e._zod,
7
- enumerable: !1
8
- }), Object.defineProperty(e, "issues", {
9
- value: r,
10
- enumerable: !1
11
- }), e.message = JSON.stringify(r, t, 2), Object.defineProperty(e, "toString", {
12
- value: () => e.message,
13
- enumerable: !1
14
- });
15
- }, s = o("$ZodError", a), c = o("$ZodError", a, { Parent: Error });
16
- export {
17
- s as $ZodError,
18
- c as $ZodRealError
19
- };
@@ -1 +0,0 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./core.cjs"),f=require("./errors.cjs"),c=require("./util.cjs"),y=a=>(o,i,s,r)=>{const n=s?Object.assign(s,{async:!1}):{async:!1},e=o._zod.run({value:i,issues:[]},n);if(e instanceof Promise)throw new l.$ZodAsyncError;if(e.issues.length){const t=new(r?.Err??a)(e.issues.map(u=>c.finalizeIssue(u,n,l.config())));throw c.captureStackTrace(t,r?.callee),t}return e.value},g=y(f.$ZodRealError),p=a=>async(o,i,s,r)=>{const n=s?Object.assign(s,{async:!0}):{async:!0};let e=o._zod.run({value:i,issues:[]},n);if(e instanceof Promise&&(e=await e),e.issues.length){const t=new(r?.Err??a)(e.issues.map(u=>c.finalizeIssue(u,n,l.config())));throw c.captureStackTrace(t,r?.callee),t}return e.value},d=p(f.$ZodRealError);exports._parse=y;exports._parseAsync=p;exports.parse=g;exports.parseAsync=d;
@@ -1,28 +0,0 @@
1
- "use client";
2
- import { $ZodAsyncError as m, config as u } from "./core.js";
3
- import { $ZodRealError as l } from "./errors.js";
4
- import { finalizeIssue as f, captureStackTrace as p } from "./util.js";
5
- const y = (o) => (c, a, e, r) => {
6
- const n = e ? Object.assign(e, { async: !1 }) : { async: !1 }, s = c._zod.run({ value: a, issues: [] }, n);
7
- if (s instanceof Promise)
8
- throw new m();
9
- if (s.issues.length) {
10
- const t = new (r?.Err ?? o)(s.issues.map((i) => f(i, n, u())));
11
- throw p(t, r?.callee), t;
12
- }
13
- return s.value;
14
- }, E = /* @__PURE__ */ y(l), w = (o) => async (c, a, e, r) => {
15
- const n = e ? Object.assign(e, { async: !0 }) : { async: !0 };
16
- let s = c._zod.run({ value: a, issues: [] }, n);
17
- if (s instanceof Promise && (s = await s), s.issues.length) {
18
- const t = new (r?.Err ?? o)(s.issues.map((i) => f(i, n, u())));
19
- throw p(t, r?.callee), t;
20
- }
21
- return s.value;
22
- }, z = /* @__PURE__ */ w(l);
23
- export {
24
- y as _parse,
25
- w as _parseAsync,
26
- E as parse,
27
- z as parseAsync
28
- };
@@ -1 +0,0 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function c(e,r){return typeof r=="bigint"?r.toString():r}const u="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function n(e){return typeof e=="string"?e:e?.message}function i(e,r,a){const t={...e,path:e.path??[]};if(!e.message){const o=n(e.inst?._zod.def?.error?.(e))??n(r?.error?.(e))??n(a.customError?.(e))??n(a.localeError?.(e))??"Invalid input";t.message=o}return delete t.inst,delete t.continue,r?.reportInput||delete t.input,t}exports.captureStackTrace=u;exports.finalizeIssue=i;exports.jsonStringifyReplacer=c;exports.unwrapMessage=n;
@@ -1,23 +0,0 @@
1
- "use client";
2
- function c(r, e) {
3
- return typeof e == "bigint" ? e.toString() : e;
4
- }
5
- const u = "captureStackTrace" in Error ? Error.captureStackTrace : (...r) => {
6
- };
7
- function n(r) {
8
- return typeof r == "string" ? r : r?.message;
9
- }
10
- function i(r, e, o) {
11
- const t = { ...r, path: r.path ?? [] };
12
- if (!r.message) {
13
- const a = n(r.inst?._zod.def?.error?.(r)) ?? n(e?.error?.(r)) ?? n(o.customError?.(r)) ?? n(o.localeError?.(r)) ?? "Invalid input";
14
- t.message = a;
15
- }
16
- return delete t.inst, delete t.continue, e?.reportInput || delete t.input, t;
17
- }
18
- export {
19
- u as captureStackTrace,
20
- i as finalizeIssue,
21
- c as jsonStringifyReplacer,
22
- n as unwrapMessage
23
- };