abckit 0.0.23 → 0.0.24

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 (189) hide show
  1. package/dist/module.d.mts +8 -3
  2. package/dist/module.json +1 -1
  3. package/dist/module.mjs +109 -11
  4. package/dist/runtime/components/app/AppImage.d.vue.ts +6 -1
  5. package/dist/runtime/components/app/AppImage.vue.d.ts +6 -1
  6. package/dist/runtime/components/ui/alert-dialog/AlertDialogContent.d.vue.ts +2 -2
  7. package/dist/runtime/components/ui/alert-dialog/AlertDialogContent.vue.d.ts +2 -2
  8. package/dist/runtime/components/ui/auto-form/AutoForm.d.vue.ts +9 -7
  9. package/dist/runtime/components/ui/auto-form/AutoForm.vue.d.ts +9 -7
  10. package/dist/runtime/components/ui/auto-form/AutoFormField.d.vue.ts +5 -3
  11. package/dist/runtime/components/ui/auto-form/AutoFormField.vue.d.ts +5 -3
  12. package/dist/runtime/components/ui/auto-form/AutoFormFieldArray.d.vue.ts +34 -0
  13. package/dist/runtime/components/ui/auto-form/AutoFormFieldArray.vue.d.ts +34 -0
  14. package/dist/runtime/components/ui/auto-form/AutoFormFieldBoolean.d.vue.ts +30 -0
  15. package/dist/runtime/components/ui/auto-form/AutoFormFieldBoolean.vue.d.ts +30 -0
  16. package/dist/runtime/components/ui/auto-form/AutoFormFieldDate.d.vue.ts +30 -0
  17. package/dist/runtime/components/ui/auto-form/AutoFormFieldDate.vue.d.ts +30 -0
  18. package/dist/runtime/components/ui/auto-form/AutoFormFieldEnum.d.vue.ts +33 -0
  19. package/dist/runtime/components/ui/auto-form/AutoFormFieldEnum.vue.d.ts +33 -0
  20. package/dist/runtime/components/ui/auto-form/AutoFormFieldFile.d.vue.ts +30 -0
  21. package/dist/runtime/components/ui/auto-form/AutoFormFieldFile.vue.d.ts +30 -0
  22. package/dist/runtime/components/ui/auto-form/AutoFormFieldInput.d.vue.ts +33 -0
  23. package/dist/runtime/components/ui/auto-form/AutoFormFieldInput.vue.d.ts +33 -0
  24. package/dist/runtime/components/ui/auto-form/AutoFormFieldNumber.d.vue.ts +30 -0
  25. package/dist/runtime/components/ui/auto-form/AutoFormFieldNumber.vue.d.ts +30 -0
  26. package/dist/runtime/components/ui/auto-form/AutoFormFieldObject.d.vue.ts +34 -0
  27. package/dist/runtime/components/ui/auto-form/AutoFormFieldObject.vue.d.ts +34 -0
  28. package/dist/runtime/components/ui/auto-form/dependencies.d.ts +25 -1
  29. package/dist/runtime/components/ui/auto-form/utils.d.ts +1 -1
  30. package/dist/runtime/components/ui/breadcrumb/BreadcrumbLink.d.vue.ts +3 -1
  31. package/dist/runtime/components/ui/breadcrumb/BreadcrumbLink.vue.d.ts +3 -1
  32. package/dist/runtime/components/ui/button/Button.d.vue.ts +3 -1
  33. package/dist/runtime/components/ui/button/Button.vue.d.ts +3 -1
  34. package/dist/runtime/components/ui/button-group/ButtonGroupSeparator.d.vue.ts +3 -1
  35. package/dist/runtime/components/ui/button-group/ButtonGroupSeparator.vue.d.ts +3 -1
  36. package/dist/runtime/components/ui/button-group/ButtonGroupText.d.vue.ts +3 -1
  37. package/dist/runtime/components/ui/button-group/ButtonGroupText.vue.d.ts +3 -1
  38. package/dist/runtime/components/ui/calendar/Calendar.d.vue.ts +4 -1
  39. package/dist/runtime/components/ui/calendar/Calendar.vue.d.ts +4 -1
  40. package/dist/runtime/components/ui/calendar/CalendarCellTrigger.d.vue.ts +3 -1
  41. package/dist/runtime/components/ui/calendar/CalendarCellTrigger.vue.d.ts +3 -1
  42. package/dist/runtime/components/ui/carousel/Carousel.d.vue.ts +37 -0
  43. package/dist/runtime/components/ui/carousel/Carousel.vue.d.ts +37 -0
  44. package/dist/runtime/components/ui/carousel/CarouselNext.d.vue.ts +4 -1
  45. package/dist/runtime/components/ui/carousel/CarouselNext.vue.d.ts +4 -1
  46. package/dist/runtime/components/ui/carousel/CarouselPrevious.d.vue.ts +4 -1
  47. package/dist/runtime/components/ui/carousel/CarouselPrevious.vue.d.ts +4 -1
  48. package/dist/runtime/components/ui/chart/ChartContainer.d.vue.ts +2 -2
  49. package/dist/runtime/components/ui/chart/ChartContainer.vue.d.ts +2 -2
  50. package/dist/runtime/components/ui/chart/ChartLegendContent.d.vue.ts +3 -1
  51. package/dist/runtime/components/ui/chart/ChartLegendContent.vue.d.ts +3 -1
  52. package/dist/runtime/components/ui/chart/ChartTooltipContent.d.vue.ts +5 -1
  53. package/dist/runtime/components/ui/chart/ChartTooltipContent.vue.d.ts +5 -1
  54. package/dist/runtime/components/ui/combobox/ComboboxInput.d.vue.ts +2 -2
  55. package/dist/runtime/components/ui/combobox/ComboboxInput.vue.d.ts +2 -2
  56. package/dist/runtime/components/ui/combobox/ComboboxList.d.vue.ts +5 -1
  57. package/dist/runtime/components/ui/combobox/ComboboxList.vue.d.ts +5 -1
  58. package/dist/runtime/components/ui/command/Command.d.vue.ts +3 -1
  59. package/dist/runtime/components/ui/command/Command.vue.d.ts +3 -1
  60. package/dist/runtime/components/ui/command/CommandDialog.d.vue.ts +6 -3
  61. package/dist/runtime/components/ui/command/CommandDialog.vue.d.ts +6 -3
  62. package/dist/runtime/components/ui/context-menu/ContextMenuCheckboxItem.d.vue.ts +2 -2
  63. package/dist/runtime/components/ui/context-menu/ContextMenuCheckboxItem.vue.d.ts +2 -2
  64. package/dist/runtime/components/ui/context-menu/ContextMenuItem.d.vue.ts +3 -1
  65. package/dist/runtime/components/ui/context-menu/ContextMenuItem.vue.d.ts +3 -1
  66. package/dist/runtime/components/ui/context-menu/ContextMenuRadioItem.d.vue.ts +2 -2
  67. package/dist/runtime/components/ui/context-menu/ContextMenuRadioItem.vue.d.ts +2 -2
  68. package/dist/runtime/components/ui/country-select/CountrySelect.d.vue.ts +6 -1
  69. package/dist/runtime/components/ui/country-select/CountrySelect.vue.d.ts +6 -1
  70. package/dist/runtime/components/ui/currency-select/CurrencySelect.d.vue.ts +6 -1
  71. package/dist/runtime/components/ui/currency-select/CurrencySelect.vue.d.ts +6 -1
  72. package/dist/runtime/components/ui/dialog/DialogContent.d.vue.ts +3 -1
  73. package/dist/runtime/components/ui/dialog/DialogContent.vue.d.ts +3 -1
  74. package/dist/runtime/components/ui/drawer/Drawer.d.vue.ts +4 -4
  75. package/dist/runtime/components/ui/drawer/Drawer.vue.d.ts +4 -4
  76. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuCheckboxItem.d.vue.ts +2 -2
  77. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue.d.ts +2 -2
  78. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuContent.d.vue.ts +3 -1
  79. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuContent.vue.d.ts +3 -1
  80. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuItem.d.vue.ts +3 -1
  81. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuItem.vue.d.ts +3 -1
  82. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuRadioItem.d.vue.ts +2 -2
  83. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuRadioItem.vue.d.ts +2 -2
  84. package/dist/runtime/components/ui/field/FieldSeparator.d.vue.ts +2 -2
  85. package/dist/runtime/components/ui/field/FieldSeparator.vue.d.ts +2 -2
  86. package/dist/runtime/components/ui/file/FileEmptyState.d.vue.ts +4 -1
  87. package/dist/runtime/components/ui/file/FileEmptyState.vue.d.ts +4 -1
  88. package/dist/runtime/components/ui/file/FileGrid.d.vue.ts +3 -1
  89. package/dist/runtime/components/ui/file/FileGrid.vue.d.ts +3 -1
  90. package/dist/runtime/components/ui/file/FileTable.d.vue.ts +5 -1
  91. package/dist/runtime/components/ui/file/FileTable.vue.d.ts +5 -1
  92. package/dist/runtime/components/ui/file/FolderTree.d.vue.ts +3 -1
  93. package/dist/runtime/components/ui/file/FolderTree.vue.d.ts +3 -1
  94. package/dist/runtime/components/ui/hover-card/HoverCardContent.d.vue.ts +3 -1
  95. package/dist/runtime/components/ui/hover-card/HoverCardContent.vue.d.ts +3 -1
  96. package/dist/runtime/components/ui/input-group/InputGroupAddon.d.vue.ts +3 -1
  97. package/dist/runtime/components/ui/input-group/InputGroupAddon.vue.d.ts +3 -1
  98. package/dist/runtime/components/ui/input-group/InputGroupButton.d.vue.ts +4 -1
  99. package/dist/runtime/components/ui/input-group/InputGroupButton.vue.d.ts +4 -1
  100. package/dist/runtime/components/ui/item/Item.d.vue.ts +3 -1
  101. package/dist/runtime/components/ui/item/Item.vue.d.ts +3 -1
  102. package/dist/runtime/components/ui/language-select/LanguageSelect.d.vue.ts +7 -1
  103. package/dist/runtime/components/ui/language-select/LanguageSelect.vue.d.ts +7 -1
  104. package/dist/runtime/components/ui/menubar/MenubarCheckboxItem.d.vue.ts +2 -2
  105. package/dist/runtime/components/ui/menubar/MenubarCheckboxItem.vue.d.ts +2 -2
  106. package/dist/runtime/components/ui/menubar/MenubarContent.d.vue.ts +5 -1
  107. package/dist/runtime/components/ui/menubar/MenubarContent.vue.d.ts +5 -1
  108. package/dist/runtime/components/ui/menubar/MenubarRadioItem.d.vue.ts +2 -2
  109. package/dist/runtime/components/ui/menubar/MenubarRadioItem.vue.d.ts +2 -2
  110. package/dist/runtime/components/ui/native-select/NativeSelectOptGroup.d.vue.ts +2 -2
  111. package/dist/runtime/components/ui/native-select/NativeSelectOptGroup.vue.d.ts +2 -2
  112. package/dist/runtime/components/ui/native-select/NativeSelectOption.d.vue.ts +2 -2
  113. package/dist/runtime/components/ui/native-select/NativeSelectOption.vue.d.ts +2 -2
  114. package/dist/runtime/components/ui/navigation-menu/NavigationMenu.d.vue.ts +3 -1
  115. package/dist/runtime/components/ui/navigation-menu/NavigationMenu.vue.d.ts +3 -1
  116. package/dist/runtime/components/ui/pagination/PaginationFirst.d.vue.ts +3 -1
  117. package/dist/runtime/components/ui/pagination/PaginationFirst.vue.d.ts +3 -1
  118. package/dist/runtime/components/ui/pagination/PaginationItem.d.vue.ts +3 -1
  119. package/dist/runtime/components/ui/pagination/PaginationItem.vue.d.ts +3 -1
  120. package/dist/runtime/components/ui/pagination/PaginationLast.d.vue.ts +3 -1
  121. package/dist/runtime/components/ui/pagination/PaginationLast.vue.d.ts +3 -1
  122. package/dist/runtime/components/ui/pagination/PaginationNext.d.vue.ts +3 -1
  123. package/dist/runtime/components/ui/pagination/PaginationNext.vue.d.ts +3 -1
  124. package/dist/runtime/components/ui/pagination/PaginationPrevious.d.vue.ts +3 -1
  125. package/dist/runtime/components/ui/pagination/PaginationPrevious.vue.d.ts +3 -1
  126. package/dist/runtime/components/ui/pin-input/PinInput.d.vue.ts +5 -3
  127. package/dist/runtime/components/ui/pin-input/PinInput.vue.d.ts +5 -3
  128. package/dist/runtime/components/ui/popover/PopoverContent.d.vue.ts +4 -1
  129. package/dist/runtime/components/ui/popover/PopoverContent.vue.d.ts +4 -1
  130. package/dist/runtime/components/ui/progress/Progress.d.vue.ts +3 -1
  131. package/dist/runtime/components/ui/progress/Progress.vue.d.ts +3 -1
  132. package/dist/runtime/components/ui/range-calendar/RangeCalendarCellTrigger.d.vue.ts +3 -1
  133. package/dist/runtime/components/ui/range-calendar/RangeCalendarCellTrigger.vue.d.ts +3 -1
  134. package/dist/runtime/components/ui/scroll-area/ScrollBar.d.vue.ts +3 -1
  135. package/dist/runtime/components/ui/scroll-area/ScrollBar.vue.d.ts +3 -1
  136. package/dist/runtime/components/ui/select/SelectContent.d.vue.ts +5 -3
  137. package/dist/runtime/components/ui/select/SelectContent.vue.d.ts +5 -3
  138. package/dist/runtime/components/ui/select/SelectItem.d.vue.ts +2 -2
  139. package/dist/runtime/components/ui/select/SelectItem.vue.d.ts +2 -2
  140. package/dist/runtime/components/ui/select/SelectTrigger.d.vue.ts +3 -1
  141. package/dist/runtime/components/ui/select/SelectTrigger.vue.d.ts +3 -1
  142. package/dist/runtime/components/ui/separator/Separator.d.vue.ts +4 -1
  143. package/dist/runtime/components/ui/separator/Separator.vue.d.ts +4 -1
  144. package/dist/runtime/components/ui/sheet/InnerSheetContent.d.vue.ts +3 -1
  145. package/dist/runtime/components/ui/sheet/InnerSheetContent.vue.d.ts +3 -1
  146. package/dist/runtime/components/ui/sheet/SheetContent.d.vue.ts +3 -1
  147. package/dist/runtime/components/ui/sheet/SheetContent.vue.d.ts +3 -1
  148. package/dist/runtime/components/ui/sidebar/Sidebar.d.vue.ts +8 -4
  149. package/dist/runtime/components/ui/sidebar/Sidebar.vue.d.ts +8 -4
  150. package/dist/runtime/components/ui/sidebar/SidebarMenuAction.d.vue.ts +3 -1
  151. package/dist/runtime/components/ui/sidebar/SidebarMenuAction.vue.d.ts +3 -1
  152. package/dist/runtime/components/ui/sidebar/SidebarMenuButton.d.vue.ts +8 -4
  153. package/dist/runtime/components/ui/sidebar/SidebarMenuButton.vue.d.ts +8 -4
  154. package/dist/runtime/components/ui/sidebar/SidebarMenuButtonChild.d.vue.ts +5 -1
  155. package/dist/runtime/components/ui/sidebar/SidebarMenuButtonChild.vue.d.ts +5 -1
  156. package/dist/runtime/components/ui/sidebar/SidebarMenuSubButton.d.vue.ts +4 -1
  157. package/dist/runtime/components/ui/sidebar/SidebarMenuSubButton.vue.d.ts +4 -1
  158. package/dist/runtime/components/ui/sidebar/SidebarProvider.d.vue.ts +4 -1
  159. package/dist/runtime/components/ui/sidebar/SidebarProvider.vue.d.ts +4 -1
  160. package/dist/runtime/components/ui/storage/StorageActionBar.d.vue.ts +9 -1
  161. package/dist/runtime/components/ui/storage/StorageActionBar.vue.d.ts +9 -1
  162. package/dist/runtime/components/ui/storage/StorageDialogs.d.vue.ts +6 -3
  163. package/dist/runtime/components/ui/storage/StorageDialogs.vue.d.ts +6 -3
  164. package/dist/runtime/components/ui/storage/StorageEmptyState.d.vue.ts +4 -1
  165. package/dist/runtime/components/ui/storage/StorageEmptyState.vue.d.ts +4 -1
  166. package/dist/runtime/components/ui/storage/StorageGrid.d.vue.ts +6 -3
  167. package/dist/runtime/components/ui/storage/StorageGrid.vue.d.ts +6 -3
  168. package/dist/runtime/components/ui/storage/StorageSelectionBar.d.vue.ts +3 -1
  169. package/dist/runtime/components/ui/storage/StorageSelectionBar.vue.d.ts +3 -1
  170. package/dist/runtime/components/ui/storage/StorageTable.d.vue.ts +7 -3
  171. package/dist/runtime/components/ui/storage/StorageTable.vue.d.ts +7 -3
  172. package/dist/runtime/components/ui/storage/StorageUploadZone.d.vue.ts +6 -1
  173. package/dist/runtime/components/ui/storage/StorageUploadZone.vue.d.ts +6 -1
  174. package/dist/runtime/components/ui/table/TableEmpty.d.vue.ts +5 -3
  175. package/dist/runtime/components/ui/table/TableEmpty.vue.d.ts +5 -3
  176. package/dist/runtime/components/ui/timezone-select/TimezoneSelect.d.vue.ts +5 -1
  177. package/dist/runtime/components/ui/timezone-select/TimezoneSelect.vue.d.ts +5 -1
  178. package/dist/runtime/components/ui/toggle/Toggle.d.vue.ts +5 -1
  179. package/dist/runtime/components/ui/toggle/Toggle.vue.d.ts +5 -1
  180. package/dist/runtime/components/ui/toggle-group/ToggleGroup.d.vue.ts +3 -1
  181. package/dist/runtime/components/ui/toggle-group/ToggleGroup.vue.d.ts +3 -1
  182. package/dist/runtime/components/ui/tooltip/TooltipContent.d.vue.ts +3 -1
  183. package/dist/runtime/components/ui/tooltip/TooltipContent.vue.d.ts +3 -1
  184. package/dist/runtime/components/ui/tooltip/TooltipProvider.d.vue.ts +3 -1
  185. package/dist/runtime/components/ui/tooltip/TooltipProvider.vue.d.ts +3 -1
  186. package/dist/runtime/composables/useAuth.d.ts +89 -89
  187. package/dist/runtime/middleware/auth.d.ts +1 -1
  188. package/dist/runtime/server/plugins/s3-storage.d.ts +1 -1
  189. package/package.json +33 -15
package/dist/module.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import * as nuxt_schema from 'nuxt/schema';
1
+ import * as _nuxt_schema from '@nuxt/schema';
2
2
  import { BreadcrumbItemProps } from '../dist/runtime/composables/useBreadcrumbItems.js';
3
3
 
4
4
  interface BreadcrumbsConfig {
@@ -56,8 +56,12 @@ interface ModuleOptions {
56
56
  * Better Auth client configuration
57
57
  */
58
58
  auth?: AuthClientOptions;
59
+ /**
60
+ Set to true when installed via npm package, dont used project.
61
+ */
62
+ npm?: boolean;
59
63
  }
60
- declare module 'nuxt/schema' {
64
+ declare module '@nuxt/schema' {
61
65
  interface AppConfig extends BreadcrumbsConfig, SetupConfig {
62
66
  }
63
67
  interface RuntimeConfig {
@@ -93,6 +97,7 @@ declare module 'nuxt/schema' {
93
97
  }
94
98
  interface PublicRuntimeConfig {
95
99
  siteUrl: string;
100
+ isMobile: boolean;
96
101
  debug: boolean;
97
102
  imgproxy: {
98
103
  storageUrl: string;
@@ -108,7 +113,7 @@ declare module 'nuxt/schema' {
108
113
  };
109
114
  }
110
115
  }
111
- declare const _default: nuxt_schema.NuxtModule<ModuleOptions, ModuleOptions, false>;
116
+ declare const _default: _nuxt_schema.NuxtModule<ModuleOptions, ModuleOptions, false>;
112
117
 
113
118
  export { _default as default };
114
119
  export type { AuthClientOptions, BreadcrumbsConfig, ModuleOptions, SetupConfig };
package/dist/module.json CHANGED
@@ -4,6 +4,6 @@
4
4
  "version": "0.0.1",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
- "unbuild": "unknown"
7
+ "unbuild": "3.6.1"
8
8
  }
9
9
  }
package/dist/module.mjs CHANGED
@@ -1,6 +1,23 @@
1
1
  import { join } from 'node:path';
2
2
  import { defineNuxtModule, createResolver, addTypeTemplate, addServerScanDir, addRouteMiddleware } from '@nuxt/kit';
3
3
  import { defu } from 'defu';
4
+ import { networkInterfaces } from 'node:os';
5
+
6
+ const isMobileBuild = process.env.MOBILE_BUILD === "true" || process.env.NUXT_PUBLIC_MOBILE_DEV === "true";
7
+ const isMobileDev = process.env.MOBILE_DEV === "true" || process.env.NUXT_PUBLIC_MOBILE_DEV === "true";
8
+ function getLocalIP() {
9
+ const nets = networkInterfaces();
10
+ for (const name of Object.keys(nets)) {
11
+ for (const net of nets[name] || []) {
12
+ if (net.family === "IPv4" && !net.internal) {
13
+ return net.address;
14
+ }
15
+ }
16
+ }
17
+ return "localhost";
18
+ }
19
+ const localIP = isMobileDev ? getLocalIP() : null;
20
+ const mobileBaseURL = isMobileDev ? `http://${localIP}:3000` : "https://e.sayfa.app";
4
21
 
5
22
  const module$1 = defineNuxtModule({
6
23
  meta: {
@@ -11,9 +28,9 @@ const module$1 = defineNuxtModule({
11
28
  defaults: {
12
29
  sentry: false,
13
30
  auth: {
14
- baseURL: void 0,
31
+ baseURL: isMobileBuild ? mobileBaseURL : void 0,
15
32
  basePath: "/api/auth",
16
- capacitor: false
33
+ capacitor: isMobileBuild
17
34
  }
18
35
  },
19
36
  moduleDependencies: (nuxt) => ({
@@ -27,18 +44,23 @@ const module$1 = defineNuxtModule({
27
44
  "@vee-validate/nuxt": {},
28
45
  "nitro-graphql/nuxt": {},
29
46
  "pinia-plugin-persistedstate/nuxt": {},
47
+ "@nuxtjs/ionic": {},
48
+ "@nuxt/scripts": {},
30
49
  "@sentry/nuxt/module": {
31
50
  optional: nuxt.options.dev
32
51
  }
33
52
  }),
34
53
  async setup(options, nuxt) {
35
54
  const { resolve } = createResolver(import.meta.url);
55
+ nuxt.options.devtools = defu(nuxt.options.devtools, {
56
+ enabled: false
57
+ });
36
58
  nuxt.options.runtimeConfig.public.abckit = {
37
59
  sentry: nuxt.options.runtimeConfig.public.abckit?.sentry ?? options.sentry ?? false,
38
60
  auth: {
39
- baseURL: nuxt.options.runtimeConfig.public.abckit?.auth?.baseURL ?? options.auth?.baseURL,
61
+ baseURL: isMobileBuild ? mobileBaseURL : nuxt.options.runtimeConfig.public.abckit?.auth?.baseURL ?? options.auth?.baseURL,
40
62
  basePath: nuxt.options.runtimeConfig.public.abckit?.auth?.basePath ?? options.auth?.basePath,
41
- capacitor: nuxt.options.runtimeConfig.public.abckit?.auth?.capacitor ?? options.auth?.capacitor ?? false
63
+ capacitor: isMobileBuild
42
64
  }
43
65
  };
44
66
  nuxt.options.runtimeConfig.dragonfly = defu(nuxt.options.runtimeConfig.dragonfly, {
@@ -71,13 +93,42 @@ const module$1 = defineNuxtModule({
71
93
  disk: false
72
94
  });
73
95
  nuxt.options.runtimeConfig.public = defu(nuxt.options.runtimeConfig.public, {
74
- siteUrl: "http://localhost:3000",
96
+ siteUrl: isMobileBuild ? mobileBaseURL : "http://localhost:3000",
97
+ isMobile: isMobileBuild,
75
98
  debug: nuxt.options.dev,
76
99
  imgproxy: {
77
100
  storageUrl: "",
78
101
  cdnDomains: []
79
102
  }
80
103
  });
104
+ const siteUrl = nuxt.options.runtimeConfig.public.siteUrl;
105
+ const appName = nuxt.options.app.head?.title || "abckit";
106
+ nuxt.options.app.head = defu(nuxt.options.app.head, {
107
+ meta: [
108
+ { charset: "utf-8" },
109
+ { name: "viewport", content: "viewport-fit=cover, width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" },
110
+ { name: "author", content: appName },
111
+ { name: "robots", content: "index, follow" },
112
+ // Open Graph
113
+ { property: "og:type", content: "website" },
114
+ { property: "og:site_name", content: appName },
115
+ { property: "og:image", content: `${siteUrl}/og-image.png` },
116
+ { property: "og:url", content: siteUrl },
117
+ // Twitter
118
+ { name: "twitter:card", content: "summary_large_image" },
119
+ { name: "twitter:image", content: `${siteUrl}/og-image.png` },
120
+ // Apple
121
+ { name: "apple-mobile-web-app-title", content: appName }
122
+ ],
123
+ link: [
124
+ { rel: "icon", type: "image/png", href: "/favicon-96x96.png", sizes: "96x96" },
125
+ { rel: "icon", type: "image/svg+xml", href: "/favicon.svg" },
126
+ { rel: "shortcut icon", href: "/favicon.ico" },
127
+ { rel: "apple-touch-icon", sizes: "180x180", href: "/apple-touch-icon.png" },
128
+ // Manifest only for web, not needed in native apps
129
+ ...isMobileBuild ? [] : [{ rel: "manifest", href: "/site.webmanifest" }]
130
+ ]
131
+ });
81
132
  addTypeTemplate({
82
133
  filename: "types/nuxt-shared-h3.d.ts",
83
134
  getContents: () => `
@@ -184,6 +235,19 @@ export {}
184
235
  },
185
236
  scaffold: false
186
237
  });
238
+ nuxt.options.ionic = defu(nuxt.options.ionic, {
239
+ integrations: {
240
+ icons: false
241
+ },
242
+ css: {
243
+ basic: false,
244
+ // Tailwind ile çakışan normalize/typography kapalı
245
+ core: true,
246
+ // IonPage, IonHeader stilleri açık
247
+ utilities: false
248
+ // ion-padding vs. kapalı
249
+ }
250
+ });
187
251
  nuxt.options.nitro.publicAssets = nuxt.options.nitro.publicAssets || [];
188
252
  nuxt.options.nitro.publicAssets.push({
189
253
  dir: resolve("./runtime/public"),
@@ -212,6 +276,9 @@ export {}
212
276
  nuxt.options.alias["abckit/utils"] = resolve("./runtime/utils");
213
277
  nuxt.options.alias["abckit/types/client"] = resolve("./runtime/types/nitro-graphql-client");
214
278
  nuxt.options.alias["abckit/shared"] = resolve("./runtime/shared");
279
+ nuxt.options.vite.define = defu(nuxt.options.vite.define, {
280
+ "import.meta.env.VITE_MOBILE_BUILD": JSON.stringify(isMobileBuild ? "true" : "false")
281
+ });
215
282
  nuxt.options.vite.optimizeDeps = nuxt.options.vite.optimizeDeps || {};
216
283
  nuxt.options.vite.optimizeDeps.exclude = nuxt.options.vite.optimizeDeps.exclude || [];
217
284
  const excludeSet = new Set(nuxt.options.vite.optimizeDeps.exclude);
@@ -229,26 +296,57 @@ export {}
229
296
  excludeSet.add("tailwind-merge");
230
297
  excludeSet.add("@sindresorhus/slugify");
231
298
  excludeSet.add("better-auth");
299
+ excludeSet.add("leaflet");
300
+ excludeSet.add("@capgo/capacitor-social-login");
301
+ excludeSet.add("ionicons/icons");
302
+ excludeSet.add("@ionic/vue");
303
+ excludeSet.add("@capacitor/core");
304
+ excludeSet.add("@capacitor/status-bar");
305
+ excludeSet.add("@capacitor/splash-screen");
306
+ excludeSet.add("@capacitor/preferences");
307
+ excludeSet.add("@capacitor/geolocation");
308
+ excludeSet.add("@capacitor/network");
309
+ excludeSet.add("@capacitor/push-notifications");
310
+ excludeSet.add("@capacitor/device");
311
+ excludeSet.add("capacitor-native-settings");
312
+ excludeSet.add("@capacitor/haptics");
313
+ excludeSet.add("@unovis/vue");
232
314
  nuxt.options.vite.optimizeDeps.exclude = Array.from(excludeSet);
233
315
  nuxt.options.typescript = defu(nuxt.options.typescript, {
234
316
  tsConfig: {
235
317
  compilerOptions: {
236
- allowArbitraryExtensions: true
318
+ allowArbitraryExtensions: true,
319
+ types: ["@pinia/colada-plugin-auto-refetch"]
237
320
  }
238
321
  }
239
322
  });
240
- nuxt.options.colorMode = {
323
+ nuxt.options.colorMode = defu(nuxt.options.colorMode, {
241
324
  classSuffix: "",
242
325
  fallback: "light",
243
- storageKey: "abckit-color-mode",
244
- preference: "light",
245
- hid: "nuxt-color-mode-script"
246
- };
326
+ storageKey: "color-mode",
327
+ preference: "light"
328
+ });
247
329
  addServerScanDir(resolve("./runtime/server"));
248
330
  addRouteMiddleware({
249
331
  name: "auth",
250
332
  path: resolve("./runtime/middleware/auth")
251
333
  });
334
+ nuxt.options.routeRules = nuxt.options.routeRules || {};
335
+ nuxt.options.routeRules["/**"] = defu(nuxt.options.routeRules["/**"] || {}, {
336
+ ssr: false
337
+ });
338
+ nuxt.options.routeRules["/"] = defu(nuxt.options.routeRules["/"] || {}, {
339
+ ssr: true
340
+ });
341
+ if (nuxt.options.abckit.npm) {
342
+ nuxt.options.typescript.tsConfig.compilerOptions ??= {};
343
+ nuxt.options.typescript.tsConfig.compilerOptions.paths ??= {};
344
+ nuxt.options.typescript.tsConfig.compilerOptions.paths["abckit/components"] = ["./node_modules/abckit/runtime/components/ui"];
345
+ nuxt.options.typescript.tsConfig.compilerOptions.paths["abckit/composables"] = ["./node_modules/abckit/runtime/composables"];
346
+ nuxt.options.typescript.tsConfig.compilerOptions.paths["abckit/utils"] = ["./node_modules/abckit/runtime/utils"];
347
+ nuxt.options.typescript.tsConfig.compilerOptions.paths["abckit/shadcn"] = ["./node_modules/abckit/runtime/components/ui"];
348
+ nuxt.options.typescript.tsConfig.compilerOptions.paths["abckit/lib"] = ["./node_modules/abckit/runtime/utils"];
349
+ }
252
350
  }
253
351
  });
254
352
 
@@ -6,6 +6,11 @@ interface Props {
6
6
  fallback?: string;
7
7
  size?: ImageSize;
8
8
  }
9
- declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
10
+ size: ImageSize;
11
+ class: string;
12
+ alt: string;
13
+ fallback: string;
14
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
15
  declare const _default: typeof __VLS_export;
11
16
  export default _default;
@@ -6,6 +6,11 @@ interface Props {
6
6
  fallback?: string;
7
7
  size?: ImageSize;
8
8
  }
9
- declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
10
+ size: ImageSize;
11
+ class: string;
12
+ alt: string;
13
+ fallback: string;
14
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
15
  declare const _default: typeof __VLS_export;
11
16
  export default _default;
@@ -3,9 +3,9 @@ import type { HTMLAttributes } from "vue";
3
3
  type __VLS_Props = AlertDialogContentProps & {
4
4
  class?: HTMLAttributes["class"];
5
5
  };
6
- declare var __VLS_20: {};
6
+ declare var __VLS_19: {};
7
7
  type __VLS_Slots = {} & {
8
- default?: (props: typeof __VLS_20) => any;
8
+ default?: (props: typeof __VLS_19) => any;
9
9
  };
10
10
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
11
  escapeKeyDown: (event: KeyboardEvent) => any;
@@ -3,9 +3,9 @@ import type { HTMLAttributes } from "vue";
3
3
  type __VLS_Props = AlertDialogContentProps & {
4
4
  class?: HTMLAttributes["class"];
5
5
  };
6
- declare var __VLS_20: {};
6
+ declare var __VLS_19: {};
7
7
  type __VLS_Slots = {} & {
8
- default?: (props: typeof __VLS_20) => any;
8
+ default?: (props: typeof __VLS_19) => any;
9
9
  };
10
10
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
11
  escapeKeyDown: (event: KeyboardEvent) => any;
@@ -2,7 +2,7 @@ import type { FormContext, GenericObject } from 'vee-validate';
2
2
  import type { z } from 'zod';
3
3
  import type { Config, ConfigItem, Dependency, Shape } from './interface.js';
4
4
  import { type ZodObjectOrWrapped } from './utils.js';
5
- declare const __VLS_export: <T extends ZodObjectOrWrapped>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
5
+ declare const __VLS_export: <T extends ZodObjectOrWrapped>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
6
6
  props: __VLS_PrettifyLocal<{
7
7
  schema: T;
8
8
  form?: FormContext<GenericObject>;
@@ -10,19 +10,19 @@ declare const __VLS_export: <T extends ZodObjectOrWrapped>(__VLS_props: NonNulla
10
10
  dependencies?: Dependency<z.infer<T>>[];
11
11
  initialValues?: Partial<z.infer<T>>;
12
12
  } & {
13
- onSubmit?: ((event: z.core.output<T>) => any) | undefined;
13
+ onSubmit?: ((event: z.TypeOf<T>) => any) | undefined;
14
14
  }> & import("vue").PublicProps & (typeof globalThis extends {
15
15
  __VLS_PROPS_FALLBACK: infer P;
16
16
  } ? P : {});
17
17
  expose: (exposed: {}) => void;
18
18
  attrs: any;
19
- slots: { [K in NonNullable<keyof z.core.output<T>>]?: ((props: {
19
+ slots: { [K in NonNullable<keyof z.TypeOf<T>>]?: ((props: {
20
20
  shape: { [key in keyof T]: Shape; }[keyof T];
21
21
  fieldName: string;
22
22
  config: ConfigItem;
23
23
  }) => any) | undefined; } & {
24
24
  customAutoForm?: (props: {
25
- fields: { [key in keyof z.core.output<T>]: {
25
+ fields: { [key in keyof z.TypeOf<T>]: {
26
26
  shape: Shape;
27
27
  fieldName: string;
28
28
  config: ConfigItem;
@@ -33,12 +33,14 @@ declare const __VLS_export: <T extends ZodObjectOrWrapped>(__VLS_props: NonNulla
33
33
  shapes: { [key in keyof T]: Shape; };
34
34
  }) => any;
35
35
  };
36
- emit: (evt: "submit", event: z.core.output<T>) => void;
36
+ emit: (evt: "submit", event: z.TypeOf<T>) => void;
37
37
  }>) => import("vue").VNode & {
38
38
  __ctx?: Awaited<typeof __VLS_setup>;
39
39
  };
40
40
  declare const _default: typeof __VLS_export;
41
41
  export default _default;
42
- type __VLS_PrettifyLocal<T> = {
42
+ type __VLS_PrettifyLocal<T> = (T extends any ? {
43
+ [K in keyof T]: T[K];
44
+ } : {
43
45
  [K in keyof T as K]: T[K];
44
- } & {};
46
+ }) & {};
@@ -2,7 +2,7 @@ import type { FormContext, GenericObject } from 'vee-validate';
2
2
  import type { z } from 'zod';
3
3
  import type { Config, ConfigItem, Dependency, Shape } from './interface.js';
4
4
  import { type ZodObjectOrWrapped } from './utils.js';
5
- declare const __VLS_export: <T extends ZodObjectOrWrapped>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
5
+ declare const __VLS_export: <T extends ZodObjectOrWrapped>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
6
6
  props: __VLS_PrettifyLocal<{
7
7
  schema: T;
8
8
  form?: FormContext<GenericObject>;
@@ -10,19 +10,19 @@ declare const __VLS_export: <T extends ZodObjectOrWrapped>(__VLS_props: NonNulla
10
10
  dependencies?: Dependency<z.infer<T>>[];
11
11
  initialValues?: Partial<z.infer<T>>;
12
12
  } & {
13
- onSubmit?: ((event: z.core.output<T>) => any) | undefined;
13
+ onSubmit?: ((event: z.TypeOf<T>) => any) | undefined;
14
14
  }> & import("vue").PublicProps & (typeof globalThis extends {
15
15
  __VLS_PROPS_FALLBACK: infer P;
16
16
  } ? P : {});
17
17
  expose: (exposed: {}) => void;
18
18
  attrs: any;
19
- slots: { [K in NonNullable<keyof z.core.output<T>>]?: ((props: {
19
+ slots: { [K in NonNullable<keyof z.TypeOf<T>>]?: ((props: {
20
20
  shape: { [key in keyof T]: Shape; }[keyof T];
21
21
  fieldName: string;
22
22
  config: ConfigItem;
23
23
  }) => any) | undefined; } & {
24
24
  customAutoForm?: (props: {
25
- fields: { [key in keyof z.core.output<T>]: {
25
+ fields: { [key in keyof z.TypeOf<T>]: {
26
26
  shape: Shape;
27
27
  fieldName: string;
28
28
  config: ConfigItem;
@@ -33,12 +33,14 @@ declare const __VLS_export: <T extends ZodObjectOrWrapped>(__VLS_props: NonNulla
33
33
  shapes: { [key in keyof T]: Shape; };
34
34
  }) => any;
35
35
  };
36
- emit: (evt: "submit", event: z.core.output<T>) => void;
36
+ emit: (evt: "submit", event: z.TypeOf<T>) => void;
37
37
  }>) => import("vue").VNode & {
38
38
  __ctx?: Awaited<typeof __VLS_setup>;
39
39
  };
40
40
  declare const _default: typeof __VLS_export;
41
41
  export default _default;
42
- type __VLS_PrettifyLocal<T> = {
42
+ type __VLS_PrettifyLocal<T> = (T extends any ? {
43
+ [K in keyof T]: T[K];
44
+ } : {
43
45
  [K in keyof T as K]: T[K];
44
- } & {};
46
+ }) & {};
@@ -1,6 +1,6 @@
1
1
  import type { ZodAny } from 'zod';
2
2
  import type { Config, ConfigItem, Shape } from './interface.js';
3
- declare const __VLS_export: <U extends ZodAny>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
3
+ declare const __VLS_export: <U extends ZodAny>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
4
4
  props: __VLS_PrettifyLocal<{
5
5
  fieldName: string;
6
6
  shape: Shape;
@@ -26,6 +26,8 @@ declare const __VLS_export: <U extends ZodAny>(__VLS_props: NonNullable<Awaited<
26
26
  };
27
27
  declare const _default: typeof __VLS_export;
28
28
  export default _default;
29
- type __VLS_PrettifyLocal<T> = {
29
+ type __VLS_PrettifyLocal<T> = (T extends any ? {
30
+ [K in keyof T]: T[K];
31
+ } : {
30
32
  [K in keyof T as K]: T[K];
31
- } & {};
33
+ }) & {};
@@ -1,6 +1,6 @@
1
1
  import type { ZodAny } from 'zod';
2
2
  import type { Config, ConfigItem, Shape } from './interface.js';
3
- declare const __VLS_export: <U extends ZodAny>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
3
+ declare const __VLS_export: <U extends ZodAny>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
4
4
  props: __VLS_PrettifyLocal<{
5
5
  fieldName: string;
6
6
  shape: Shape;
@@ -26,6 +26,8 @@ declare const __VLS_export: <U extends ZodAny>(__VLS_props: NonNullable<Awaited<
26
26
  };
27
27
  declare const _default: typeof __VLS_export;
28
28
  export default _default;
29
- type __VLS_PrettifyLocal<T> = {
29
+ type __VLS_PrettifyLocal<T> = (T extends any ? {
30
+ [K in keyof T]: T[K];
31
+ } : {
30
32
  [K in keyof T as K]: T[K];
31
- } & {};
33
+ }) & {};
@@ -0,0 +1,34 @@
1
+ import type { Config } from './interface.js';
2
+ import * as z from 'zod';
3
+ declare const __VLS_export: <T extends z.ZodAny>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
4
+ props: __VLS_PrettifyLocal<{
5
+ fieldName: string;
6
+ required?: boolean;
7
+ config?: Config<T>;
8
+ schema?: z.ZodArray<T>;
9
+ disabled?: boolean;
10
+ }> & import("vue").PublicProps & (typeof globalThis extends {
11
+ __VLS_PROPS_FALLBACK: infer P;
12
+ } ? P : {});
13
+ expose: (exposed: {}) => void;
14
+ attrs: any;
15
+ slots: {
16
+ default?: (props: import("vue").DefineProps<import("@vue/shared").LooseRequired<{
17
+ fieldName: string;
18
+ required?: boolean;
19
+ config?: Config<T>;
20
+ schema?: z.ZodArray<T>;
21
+ disabled?: boolean;
22
+ }>, "required" | "disabled" | ([Config<T> | undefined] extends [boolean | undefined] ? "config" : never)>) => any;
23
+ };
24
+ emit: {};
25
+ }>) => import("vue").VNode & {
26
+ __ctx?: Awaited<typeof __VLS_setup>;
27
+ };
28
+ declare const _default: typeof __VLS_export;
29
+ export default _default;
30
+ type __VLS_PrettifyLocal<T> = (T extends any ? {
31
+ [K in keyof T]: T[K];
32
+ } : {
33
+ [K in keyof T as K]: T[K];
34
+ }) & {};
@@ -0,0 +1,34 @@
1
+ import type { Config } from './interface.js';
2
+ import * as z from 'zod';
3
+ declare const __VLS_export: <T extends z.ZodAny>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
4
+ props: __VLS_PrettifyLocal<{
5
+ fieldName: string;
6
+ required?: boolean;
7
+ config?: Config<T>;
8
+ schema?: z.ZodArray<T>;
9
+ disabled?: boolean;
10
+ }> & import("vue").PublicProps & (typeof globalThis extends {
11
+ __VLS_PROPS_FALLBACK: infer P;
12
+ } ? P : {});
13
+ expose: (exposed: {}) => void;
14
+ attrs: any;
15
+ slots: {
16
+ default?: (props: import("vue").DefineProps<import("@vue/shared").LooseRequired<{
17
+ fieldName: string;
18
+ required?: boolean;
19
+ config?: Config<T>;
20
+ schema?: z.ZodArray<T>;
21
+ disabled?: boolean;
22
+ }>, "required" | "disabled" | ([Config<T> | undefined] extends [boolean | undefined] ? "config" : never)>) => any;
23
+ };
24
+ emit: {};
25
+ }>) => import("vue").VNode & {
26
+ __ctx?: Awaited<typeof __VLS_setup>;
27
+ };
28
+ declare const _default: typeof __VLS_export;
29
+ export default _default;
30
+ type __VLS_PrettifyLocal<T> = (T extends any ? {
31
+ [K in keyof T]: T[K];
32
+ } : {
33
+ [K in keyof T as K]: T[K];
34
+ }) & {};
@@ -0,0 +1,30 @@
1
+ import type { FieldProps } from './interface.js';
2
+ declare var __VLS_20: {
3
+ field: import("vee-validate").FieldBindingObject<any>;
4
+ componentField: import("vee-validate").ComponentFieldBindingObject<any>;
5
+ value: any;
6
+ meta: import("vee-validate").FieldMeta<any>;
7
+ errors: string[];
8
+ errorMessage: string | undefined;
9
+ handleInput: import("vee-validate").FieldContext["handleChange"];
10
+ validate: import("vee-validate").FieldValidator<unknown>;
11
+ resetField: (state?: Partial<import("vee-validate").FieldState<unknown>> | undefined) => void;
12
+ handleReset: () => void;
13
+ handleChange: (e: Event | unknown, shouldValidate?: boolean) => void;
14
+ handleBlur: (e?: Event, shouldValidate?: boolean) => void;
15
+ setTouched: (isTouched: boolean) => void;
16
+ setErrors: (message: string | string[]) => void;
17
+ setValue: (value: unknown, shouldValidate?: boolean) => void;
18
+ };
19
+ type __VLS_Slots = {} & {
20
+ default?: (props: typeof __VLS_20) => any;
21
+ };
22
+ declare const __VLS_base: import("vue").DefineComponent<FieldProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FieldProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
23
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
24
+ declare const _default: typeof __VLS_export;
25
+ export default _default;
26
+ type __VLS_WithSlots<T, S> = T & {
27
+ new (): {
28
+ $slots: S;
29
+ };
30
+ };
@@ -0,0 +1,30 @@
1
+ import type { FieldProps } from './interface.js';
2
+ declare var __VLS_20: {
3
+ field: import("vee-validate").FieldBindingObject<any>;
4
+ componentField: import("vee-validate").ComponentFieldBindingObject<any>;
5
+ value: any;
6
+ meta: import("vee-validate").FieldMeta<any>;
7
+ errors: string[];
8
+ errorMessage: string | undefined;
9
+ handleInput: import("vee-validate").FieldContext["handleChange"];
10
+ validate: import("vee-validate").FieldValidator<unknown>;
11
+ resetField: (state?: Partial<import("vee-validate").FieldState<unknown>> | undefined) => void;
12
+ handleReset: () => void;
13
+ handleChange: (e: Event | unknown, shouldValidate?: boolean) => void;
14
+ handleBlur: (e?: Event, shouldValidate?: boolean) => void;
15
+ setTouched: (isTouched: boolean) => void;
16
+ setErrors: (message: string | string[]) => void;
17
+ setValue: (value: unknown, shouldValidate?: boolean) => void;
18
+ };
19
+ type __VLS_Slots = {} & {
20
+ default?: (props: typeof __VLS_20) => any;
21
+ };
22
+ declare const __VLS_base: import("vue").DefineComponent<FieldProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FieldProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
23
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
24
+ declare const _default: typeof __VLS_export;
25
+ export default _default;
26
+ type __VLS_WithSlots<T, S> = T & {
27
+ new (): {
28
+ $slots: S;
29
+ };
30
+ };
@@ -0,0 +1,30 @@
1
+ import type { FieldProps } from './interface.js';
2
+ declare var __VLS_26: {
3
+ field: import("vee-validate").FieldBindingObject<any>;
4
+ componentField: import("vee-validate").ComponentFieldBindingObject<any>;
5
+ value: any;
6
+ meta: import("vee-validate").FieldMeta<any>;
7
+ errors: string[];
8
+ errorMessage: string | undefined;
9
+ handleInput: import("vee-validate").FieldContext["handleChange"];
10
+ validate: import("vee-validate").FieldValidator<unknown>;
11
+ resetField: (state?: Partial<import("vee-validate").FieldState<unknown>> | undefined) => void;
12
+ handleReset: () => void;
13
+ handleChange: (e: Event | unknown, shouldValidate?: boolean) => void;
14
+ handleBlur: (e?: Event, shouldValidate?: boolean) => void;
15
+ setTouched: (isTouched: boolean) => void;
16
+ setErrors: (message: string | string[]) => void;
17
+ setValue: (value: unknown, shouldValidate?: boolean) => void;
18
+ };
19
+ type __VLS_Slots = {} & {
20
+ default?: (props: typeof __VLS_26) => any;
21
+ };
22
+ declare const __VLS_base: import("vue").DefineComponent<FieldProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FieldProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
23
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
24
+ declare const _default: typeof __VLS_export;
25
+ export default _default;
26
+ type __VLS_WithSlots<T, S> = T & {
27
+ new (): {
28
+ $slots: S;
29
+ };
30
+ };
@@ -0,0 +1,30 @@
1
+ import type { FieldProps } from './interface.js';
2
+ declare var __VLS_26: {
3
+ field: import("vee-validate").FieldBindingObject<any>;
4
+ componentField: import("vee-validate").ComponentFieldBindingObject<any>;
5
+ value: any;
6
+ meta: import("vee-validate").FieldMeta<any>;
7
+ errors: string[];
8
+ errorMessage: string | undefined;
9
+ handleInput: import("vee-validate").FieldContext["handleChange"];
10
+ validate: import("vee-validate").FieldValidator<unknown>;
11
+ resetField: (state?: Partial<import("vee-validate").FieldState<unknown>> | undefined) => void;
12
+ handleReset: () => void;
13
+ handleChange: (e: Event | unknown, shouldValidate?: boolean) => void;
14
+ handleBlur: (e?: Event, shouldValidate?: boolean) => void;
15
+ setTouched: (isTouched: boolean) => void;
16
+ setErrors: (message: string | string[]) => void;
17
+ setValue: (value: unknown, shouldValidate?: boolean) => void;
18
+ };
19
+ type __VLS_Slots = {} & {
20
+ default?: (props: typeof __VLS_26) => any;
21
+ };
22
+ declare const __VLS_base: import("vue").DefineComponent<FieldProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FieldProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
23
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
24
+ declare const _default: typeof __VLS_export;
25
+ export default _default;
26
+ type __VLS_WithSlots<T, S> = T & {
27
+ new (): {
28
+ $slots: S;
29
+ };
30
+ };