@yimingliao/cms 0.0.148 → 0.0.150

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 (129) hide show
  1. package/dist/export/client/components/index.js +21 -10
  2. package/dist/export/client/shadcn/index.js +2 -0
  3. package/dist/src/client/interfaces/components/resources/file/file-card.js +3 -5
  4. package/dist/src/client/interfaces/components/resources/file/file-list.js +3 -5
  5. package/dist/src/client/interfaces/components/resources/file/is-locked-buttons.js +3 -5
  6. package/dist/src/client/interfaces/components/resources/file/type-buttons.js +3 -5
  7. package/dist/src/client/interfaces/components/shadcn/sonner.js +32 -0
  8. package/dist/src/client/interfaces/components/shadcn/tabs.js +72 -0
  9. package/dist/src/client/interfaces/components/ui/blocks/list-cards-container/list-cards-container.js +3 -0
  10. package/dist/src/client/interfaces/components/ui/blocks/list-cards-container/page-size-selector.js +3 -0
  11. package/dist/src/client/interfaces/components/ui/blocks/list-cards-container/pagination.js +3 -0
  12. package/dist/src/client/interfaces/components/ui/blocks/page-header/page-header.js +3 -0
  13. package/dist/src/client/interfaces/components/ui/blocks/page-header/presets/batch-create.js +3 -0
  14. package/dist/src/client/interfaces/components/ui/blocks/page-header/presets/create.js +3 -0
  15. package/dist/src/client/interfaces/components/ui/blocks/page-header/presets/edit.js +3 -0
  16. package/dist/src/client/interfaces/components/ui/buttons/button.js +3 -0
  17. package/dist/src/client/interfaces/components/ui/cards/action-buttons-card.js +3 -0
  18. package/dist/src/client/interfaces/components/ui/cards/resource-card/card-status-bar.js +3 -0
  19. package/dist/src/client/interfaces/components/ui/cards/resource-card/card-text-content.js +3 -0
  20. package/dist/src/client/interfaces/components/ui/cards/resource-card/resource-card.js +3 -0
  21. package/dist/src/client/interfaces/components/ui/display/array-list.js +3 -0
  22. package/dist/src/client/interfaces/components/ui/display/badge.js +3 -0
  23. package/dist/src/client/interfaces/components/ui/display/object-array-list.js +3 -0
  24. package/dist/src/client/interfaces/components/ui/features/accordion/accordion-container.js +3 -0
  25. package/dist/src/client/interfaces/components/ui/features/expandable-list/expand-bar.js +3 -0
  26. package/dist/src/client/interfaces/components/ui/features/file/file-info/file-info.js +3 -0
  27. package/dist/src/client/interfaces/components/ui/features/file/file-info/file-name.js +3 -0
  28. package/dist/src/client/interfaces/components/ui/features/file/file-picker/file-picker-container.js +3 -0
  29. package/dist/src/client/interfaces/components/ui/features/file/file-picker/file-picker-placeholder.js +3 -0
  30. package/dist/src/client/interfaces/components/ui/features/file/file-preview/file-preview.js +3 -0
  31. package/dist/src/client/interfaces/components/ui/features/pick-modal/pick-modal-body.js +3 -0
  32. package/dist/src/client/interfaces/components/ui/features/pick-modal/pick-modal-trigger.js +3 -0
  33. package/dist/src/client/interfaces/components/ui/features/pick-modal/pick-modal.js +3 -0
  34. package/dist/src/client/interfaces/components/ui/form/control-fields/control-fields.js +3 -0
  35. package/dist/src/client/interfaces/components/ui/form/field-body.js +3 -0
  36. package/dist/src/client/interfaces/components/ui/form/field.js +3 -0
  37. package/dist/src/client/interfaces/components/ui/i18n/display/i18n-array-display.js +56 -0
  38. package/dist/src/client/interfaces/components/ui/i18n/display/i18n-display.js +69 -0
  39. package/dist/src/client/interfaces/components/ui/i18n/display/i18n-object-array-display.js +64 -0
  40. package/dist/src/client/interfaces/components/ui/i18n/inputs/i18n-array-input.js +164 -0
  41. package/dist/src/client/interfaces/components/ui/i18n/inputs/i18n-date-input.js +95 -0
  42. package/dist/src/client/interfaces/components/ui/i18n/inputs/i18n-editor.js +104 -0
  43. package/dist/src/client/interfaces/components/ui/i18n/inputs/i18n-input.js +93 -0
  44. package/dist/src/client/interfaces/components/ui/i18n/inputs/i18n-json-input.js +126 -0
  45. package/dist/src/client/interfaces/components/ui/i18n/inputs/i18n-number-input.js +94 -0
  46. package/dist/src/client/interfaces/components/ui/i18n/inputs/i18n-object-array-input.js +165 -0
  47. package/dist/src/client/interfaces/components/ui/i18n/inputs/i18n-textarea.js +93 -0
  48. package/dist/src/client/interfaces/components/ui/i18n/utils/get-errors-by-locales.js +17 -0
  49. package/dist/src/client/interfaces/components/ui/i18n/utils/get-translation-value.js +16 -0
  50. package/dist/src/client/interfaces/components/ui/i18n/utils/update-translations.js +14 -0
  51. package/dist/src/client/interfaces/components/ui/inputs/array-input.js +3 -0
  52. package/dist/src/client/interfaces/components/ui/inputs/checkbox.js +3 -0
  53. package/dist/src/client/interfaces/components/ui/inputs/editor/editor.js +3 -0
  54. package/dist/src/client/interfaces/components/ui/inputs/input.js +3 -0
  55. package/dist/src/client/interfaces/components/ui/inputs/password-input.js +3 -0
  56. package/dist/src/client/interfaces/components/ui/inputs/search-input.js +3 -0
  57. package/dist/src/client/interfaces/components/ui/inputs/select.js +3 -0
  58. package/dist/src/client/interfaces/components/ui/inputs/textarea.js +3 -0
  59. package/dist/src/client/interfaces/components/ui/layouts/auth-skeleton.js +3 -0
  60. package/dist/src/client/interfaces/components/ui/layouts/dashboard-skeleton.js +3 -0
  61. package/dist/src/client/interfaces/components/ui/layouts/navbar/i18n-selector.js +3 -0
  62. package/dist/src/client/interfaces/components/ui/layouts/navbar/nav-user.js +3 -0
  63. package/dist/src/client/interfaces/components/ui/layouts/navbar/navbar.js +1 -0
  64. package/dist/src/client/interfaces/components/ui/layouts/navbar/sign-out-button.js +1 -0
  65. package/dist/src/client/interfaces/components/ui/layouts/navbar/theme-selector.js +2 -0
  66. package/dist/src/client/interfaces/components/ui/layouts/sidebar/nav-main.js +3 -0
  67. package/dist/src/client/interfaces/pages/auth/change-password/page.js +3 -5
  68. package/dist/src/client/interfaces/pages/auth/email-unverified/page.js +1 -1
  69. package/dist/src/client/interfaces/pages/auth/forgot-password/page.js +3 -5
  70. package/dist/src/client/interfaces/pages/auth/layout.js +3 -4
  71. package/dist/src/client/interfaces/pages/auth/reset-password/page.js +3 -5
  72. package/dist/src/client/interfaces/pages/auth/sign-in/page.js +1 -1
  73. package/dist/src/client/interfaces/pages/auth/verify-email/page.js +3 -0
  74. package/dist/src/client/interfaces/pages/dashboard/layout.js +4 -5
  75. package/dist/types/export/client/components/index.d.ts +3 -1
  76. package/dist/types/export/client/components/index.d.ts.map +1 -1
  77. package/dist/types/src/client/interfaces/components/index.d.ts +1 -1
  78. package/dist/types/src/client/interfaces/components/index.d.ts.map +1 -1
  79. package/dist/types/src/client/interfaces/components/shadcn/index.d.ts +2 -0
  80. package/dist/types/src/client/interfaces/components/shadcn/index.d.ts.map +1 -1
  81. package/dist/types/src/client/interfaces/components/shadcn/sonner.d.ts +4 -0
  82. package/dist/types/src/client/interfaces/components/shadcn/sonner.d.ts.map +1 -0
  83. package/dist/types/src/client/interfaces/components/shadcn/tabs.d.ts +8 -0
  84. package/dist/types/src/client/interfaces/components/shadcn/tabs.d.ts.map +1 -0
  85. package/dist/types/src/client/interfaces/components/ui/features/index.d.ts +0 -1
  86. package/dist/types/src/client/interfaces/components/ui/features/index.d.ts.map +1 -1
  87. package/dist/types/src/client/interfaces/components/ui/i18n/display/i18n-array-display.d.ts +9 -0
  88. package/dist/types/src/client/interfaces/components/ui/i18n/display/i18n-array-display.d.ts.map +1 -0
  89. package/dist/types/src/client/interfaces/components/ui/i18n/display/i18n-display.d.ts +12 -0
  90. package/dist/types/src/client/interfaces/components/ui/i18n/display/i18n-display.d.ts.map +1 -0
  91. package/dist/types/src/client/interfaces/components/ui/i18n/display/i18n-object-array-display.d.ts +15 -0
  92. package/dist/types/src/client/interfaces/components/ui/i18n/display/i18n-object-array-display.d.ts.map +1 -0
  93. package/dist/types/src/client/interfaces/components/ui/i18n/display/index.d.ts +4 -0
  94. package/dist/types/src/client/interfaces/components/ui/i18n/display/index.d.ts.map +1 -0
  95. package/dist/types/src/client/interfaces/components/ui/i18n/i18n-tabs-wrapper.d.ts +13 -0
  96. package/dist/types/src/client/interfaces/components/ui/i18n/i18n-tabs-wrapper.d.ts.map +1 -0
  97. package/dist/types/src/client/interfaces/components/ui/i18n/index.d.ts +3 -0
  98. package/dist/types/src/client/interfaces/components/ui/i18n/index.d.ts.map +1 -0
  99. package/dist/types/src/client/interfaces/components/ui/i18n/inputs/i18n-array-input.d.ts +12 -0
  100. package/dist/types/src/client/interfaces/components/ui/i18n/inputs/i18n-array-input.d.ts.map +1 -0
  101. package/dist/types/src/client/interfaces/components/ui/i18n/inputs/i18n-date-input.d.ts +11 -0
  102. package/dist/types/src/client/interfaces/components/ui/i18n/inputs/i18n-date-input.d.ts.map +1 -0
  103. package/dist/types/src/client/interfaces/components/ui/i18n/inputs/i18n-editor.d.ts +14 -0
  104. package/dist/types/src/client/interfaces/components/ui/i18n/inputs/i18n-editor.d.ts.map +1 -0
  105. package/dist/types/src/client/interfaces/components/ui/i18n/inputs/i18n-input.d.ts +11 -0
  106. package/dist/types/src/client/interfaces/components/ui/i18n/inputs/i18n-input.d.ts.map +1 -0
  107. package/dist/types/src/client/interfaces/components/ui/i18n/inputs/i18n-json-input.d.ts +11 -0
  108. package/dist/types/src/client/interfaces/components/ui/i18n/inputs/i18n-json-input.d.ts.map +1 -0
  109. package/dist/types/src/client/interfaces/components/ui/i18n/inputs/i18n-number-input.d.ts +11 -0
  110. package/dist/types/src/client/interfaces/components/ui/i18n/inputs/i18n-number-input.d.ts.map +1 -0
  111. package/dist/types/src/client/interfaces/components/ui/i18n/inputs/i18n-object-array-input.d.ts +15 -0
  112. package/dist/types/src/client/interfaces/components/ui/i18n/inputs/i18n-object-array-input.d.ts.map +1 -0
  113. package/dist/types/src/client/interfaces/components/ui/i18n/inputs/i18n-textarea.d.ts +11 -0
  114. package/dist/types/src/client/interfaces/components/ui/i18n/inputs/i18n-textarea.d.ts.map +1 -0
  115. package/dist/types/src/client/interfaces/components/ui/i18n/inputs/index.d.ts +9 -0
  116. package/dist/types/src/client/interfaces/components/ui/i18n/inputs/index.d.ts.map +1 -0
  117. package/dist/types/src/client/interfaces/components/ui/i18n/utils/get-errors-by-locales.d.ts +7 -0
  118. package/dist/types/src/client/interfaces/components/ui/i18n/utils/get-errors-by-locales.d.ts.map +1 -0
  119. package/dist/types/src/client/interfaces/components/ui/i18n/utils/get-translation-value.d.ts +3 -0
  120. package/dist/types/src/client/interfaces/components/ui/i18n/utils/get-translation-value.d.ts.map +1 -0
  121. package/dist/types/src/client/interfaces/components/ui/i18n/utils/update-translations.d.ts +3 -0
  122. package/dist/types/src/client/interfaces/components/ui/i18n/utils/update-translations.d.ts.map +1 -0
  123. package/dist/types/src/client/interfaces/components/ui/index.d.ts +1 -2
  124. package/dist/types/src/client/interfaces/components/ui/index.d.ts.map +1 -1
  125. package/dist/types/src/client/interfaces/components/ui/layouts/index.d.ts +2 -2
  126. package/dist/types/src/client/interfaces/components/ui/layouts/index.d.ts.map +1 -1
  127. package/dist/types/src/client/interfaces/pages/dashboard/layout.d.ts.map +1 -1
  128. package/package.json +15 -23
  129. /package/dist/{ckeditor-editor.css → src/client/interfaces/components/ui/inputs/editor/editor.css} +0 -0
@@ -27,6 +27,7 @@ import '@radix-ui/react-select';
27
27
  import '@radix-ui/react-separator';
28
28
  import '../../../shadcn/sidebar.js';
29
29
  import { Spinner } from '../../../shadcn/spinner.js';
30
+ import '@radix-ui/react-tabs';
30
31
  import '@radix-ui/react-tooltip';
31
32
 
32
33
  function createSignOutButton({
@@ -19,6 +19,8 @@ import '@radix-ui/react-label';
19
19
  import '@radix-ui/react-select';
20
20
  import '@radix-ui/react-separator';
21
21
  import '../../../shadcn/sidebar.js';
22
+ import 'sonner';
23
+ import '@radix-ui/react-tabs';
22
24
  import '@radix-ui/react-tooltip';
23
25
  import { Button } from '../../buttons/button.js';
24
26
 
@@ -18,6 +18,9 @@ import '@radix-ui/react-label';
18
18
  import '@radix-ui/react-select';
19
19
  import { Separator } from '../../../shadcn/separator.js';
20
20
  import { SidebarGroup, SidebarMenu, SidebarMenuItem, SidebarMenuButton, SidebarMenuAction, SidebarMenuSub, SidebarMenuSubItem, SidebarMenuSubButton } from '../../../shadcn/sidebar.js';
21
+ import 'next-themes';
22
+ import 'sonner';
23
+ import '@radix-ui/react-tabs';
21
24
  import '@radix-ui/react-tooltip';
22
25
 
23
26
  const getMainPath = (path) => "/" + path.split("/").slice(3).filter(Boolean).join("/");
@@ -21,6 +21,9 @@ import '@radix-ui/react-label';
21
21
  import '@radix-ui/react-select';
22
22
  import '@radix-ui/react-separator';
23
23
  import '../../../components/shadcn/sidebar.js';
24
+ import 'next-themes';
25
+ import 'sonner';
26
+ import '@radix-ui/react-tabs';
24
27
  import '@radix-ui/react-tooltip';
25
28
  import { Button } from '../../../components/ui/buttons/button.js';
26
29
  import { PasswordInput } from '../../../components/ui/inputs/password-input.js';
@@ -29,11 +32,6 @@ import { Field } from '../../../components/ui/form/field.js';
29
32
  import 'mime-types';
30
33
  import '../../../../../domain/resources/admin/constants.js';
31
34
  import 'next/image';
32
- import '../../../../infrastructure/contexts/admin.js';
33
- import 'next-themes';
34
- import '@tanstack/react-query';
35
- import 'sonner';
36
- import 'intor/next';
37
35
 
38
36
  function createChangePasswordPage({
39
37
  useCommand,
@@ -27,13 +27,13 @@ import '@radix-ui/react-select';
27
27
  import '@radix-ui/react-separator';
28
28
  import '../../../components/shadcn/sidebar.js';
29
29
  import { Spinner } from '../../../components/shadcn/spinner.js';
30
+ import '@radix-ui/react-tabs';
30
31
  import '@radix-ui/react-tooltip';
31
32
  import { Button } from '../../../components/ui/buttons/button.js';
32
33
  import 'next/link';
33
34
  import { Form } from '../../../components/ui/form/form.js';
34
35
  import '../../../../../domain/resources/admin/constants.js';
35
36
  import 'next/image';
36
- import 'intor/next';
37
37
 
38
38
  function createEmailUnverifiedPage({
39
39
  useCommand,
@@ -22,6 +22,9 @@ import '@radix-ui/react-label';
22
22
  import '@radix-ui/react-select';
23
23
  import '@radix-ui/react-separator';
24
24
  import '../../../components/shadcn/sidebar.js';
25
+ import 'next-themes';
26
+ import 'sonner';
27
+ import '@radix-ui/react-tabs';
25
28
  import '@radix-ui/react-tooltip';
26
29
  import { Button } from '../../../components/ui/buttons/button.js';
27
30
  import { Input } from '../../../components/ui/inputs/input.js';
@@ -30,11 +33,6 @@ import { Field } from '../../../components/ui/form/field.js';
30
33
  import 'mime-types';
31
34
  import '../../../../../domain/resources/admin/constants.js';
32
35
  import 'next/image';
33
- import '../../../../infrastructure/contexts/admin.js';
34
- import 'next-themes';
35
- import '@tanstack/react-query';
36
- import 'sonner';
37
- import 'intor/next';
38
36
 
39
37
  function createForgotPasswordPage({
40
38
  useCommand,
@@ -11,10 +11,10 @@ import 'mime-types';
11
11
  import 'sonner';
12
12
  import 'intor/react';
13
13
  import 'lucide-react';
14
+ import '@radix-ui/react-avatar';
14
15
  import 'ua-parser-js';
15
16
  import 'clsx';
16
17
  import 'tailwind-merge';
17
- import '@radix-ui/react-avatar';
18
18
  import '../../components/shadcn/badge.js';
19
19
  import '../../components/shadcn/button.js';
20
20
  import '@radix-ui/react-collapsible';
@@ -25,12 +25,11 @@ import '@radix-ui/react-label';
25
25
  import '@radix-ui/react-select';
26
26
  import '@radix-ui/react-separator';
27
27
  import '../../components/shadcn/sidebar.js';
28
+ import '@radix-ui/react-tabs';
28
29
  import '@radix-ui/react-tooltip';
29
30
  import 'next/link';
30
- import '../../../../domain/resources/admin/constants.js';
31
- import 'next/image';
32
- import { AuthSkeleton } from '../../components/ui/layouts/auth-skeleton.js';
33
31
  import 'intor/next';
32
+ import { AuthSkeleton } from '../../components/ui/layouts/auth-skeleton.js';
34
33
 
35
34
  const isSkipping = (pathname) => LOGGED_IN_SKIP_PATHS.some((route) => pathname.startsWith(route));
36
35
  function createAuthLayout() {
@@ -21,6 +21,9 @@ import '@radix-ui/react-label';
21
21
  import '@radix-ui/react-select';
22
22
  import '@radix-ui/react-separator';
23
23
  import '../../../components/shadcn/sidebar.js';
24
+ import 'next-themes';
25
+ import 'sonner';
26
+ import '@radix-ui/react-tabs';
24
27
  import '@radix-ui/react-tooltip';
25
28
  import { Button } from '../../../components/ui/buttons/button.js';
26
29
  import { PasswordInput } from '../../../components/ui/inputs/password-input.js';
@@ -29,11 +32,6 @@ import { Field } from '../../../components/ui/form/field.js';
29
32
  import 'mime-types';
30
33
  import '../../../../../domain/resources/admin/constants.js';
31
34
  import 'next/image';
32
- import '../../../../infrastructure/contexts/admin.js';
33
- import 'next-themes';
34
- import '@tanstack/react-query';
35
- import 'sonner';
36
- import 'intor/next';
37
35
 
38
36
  function createResetPasswordPage({
39
37
  useCommand,
@@ -26,6 +26,7 @@ import '@radix-ui/react-label';
26
26
  import '@radix-ui/react-select';
27
27
  import '@radix-ui/react-separator';
28
28
  import '../../../components/shadcn/sidebar.js';
29
+ import '@radix-ui/react-tabs';
29
30
  import '@radix-ui/react-tooltip';
30
31
  import { Button } from '../../../components/ui/buttons/button.js';
31
32
  import { Input } from '../../../components/ui/inputs/input.js';
@@ -34,7 +35,6 @@ import { Form } from '../../../components/ui/form/form.js';
34
35
  import { Field } from '../../../components/ui/form/field.js';
35
36
  import '../../../../../domain/resources/admin/constants.js';
36
37
  import 'next/image';
37
- import 'intor/next';
38
38
 
39
39
  function createSignInPage({
40
40
  useCommand,
@@ -18,7 +18,10 @@ import '@radix-ui/react-label';
18
18
  import '@radix-ui/react-select';
19
19
  import '@radix-ui/react-separator';
20
20
  import '../../../components/shadcn/sidebar.js';
21
+ import 'next-themes';
22
+ import 'sonner';
21
23
  import { Spinner } from '../../../components/shadcn/spinner.js';
24
+ import '@radix-ui/react-tabs';
22
25
  import '@radix-ui/react-tooltip';
23
26
 
24
27
  function createVerifyEmailPage({
@@ -11,11 +11,10 @@ import 'mime-types';
11
11
  import 'sonner';
12
12
  import 'intor/react';
13
13
  import 'lucide-react';
14
+ import '@radix-ui/react-avatar';
14
15
  import 'ua-parser-js';
15
16
  import 'clsx';
16
17
  import 'tailwind-merge';
17
- import { SIDEBAR_WIDTH } from '../../styles/constants.js';
18
- import '@radix-ui/react-avatar';
19
18
  import '../../components/shadcn/badge.js';
20
19
  import '../../components/shadcn/button.js';
21
20
  import '@radix-ui/react-collapsible';
@@ -26,12 +25,12 @@ import '@radix-ui/react-label';
26
25
  import '@radix-ui/react-select';
27
26
  import '@radix-ui/react-separator';
28
27
  import { useSidebar, SidebarInset } from '../../components/shadcn/sidebar.js';
28
+ import '@radix-ui/react-tabs';
29
29
  import '@radix-ui/react-tooltip';
30
30
  import 'next/link';
31
- import '../../../../domain/resources/admin/constants.js';
32
- import 'next/image';
33
- import { DashboardSkeleton } from '../../components/ui/layouts/dashboard-skeleton.js';
34
31
  import 'intor/next';
32
+ import { SIDEBAR_WIDTH } from '../../styles/constants.js';
33
+ import { DashboardSkeleton } from '../../components/ui/layouts/dashboard-skeleton.js';
35
34
 
36
35
  const isProtected = (pathname) => PROTECTED_PATHS.some((route) => pathname.startsWith(route));
37
36
  function createDashboardLayout({
@@ -1,2 +1,4 @@
1
- export { createAdminInitializer, PageHeader, ListCardsContainer, Button, type ButtonProps, ReturnButton, ActionButtonsCard, ResourceCard, ArrayList, Badge, HtmlDisplay, ObjectArrayList, Accordion, AccordionContainer, ExpandableList, createFileInfo, createFilePicker, createFilePreview, createFilePreviewList, createUploader, ExternalLink, PickModal, createSmartImage, Tick, Form, Field, FieldBody, FieldsContainer, MainFields, SideFields, IndexField, SlugField, ControlFields, type ControlMeta, ArrayInput, Checkbox, Input, type InputProps, PasswordInput, SearchInput, Select, Option, Textarea, ContentContainer, DashboardSkeleton, AuthSkeleton, type NavItem, NavMain, SidebarProvider, Sidebar, SidebarInset, SidebarContent, useSidebar, createNavbar, createI18nSelector, createSignOutButton, createFileCard, createFileList, } from "../../../src/client/interfaces/components";
1
+ export { createAdminInitializer, PageHeader, ListCardsContainer, Button, type ButtonProps, ReturnButton, ActionButtonsCard, ResourceCard, ArrayList, Badge, HtmlDisplay, ObjectArrayList, Accordion, AccordionContainer, createFileInfo, createFilePicker, createFilePreview, createFilePreviewList, createUploader, PickModal, ExternalLink, createSmartImage, Tick, Form, Field, FieldBody, FieldsContainer, MainFields, SideFields, IndexField, SlugField, ControlFields, type ControlMeta, ArrayInput, Checkbox, Input, type InputProps, PasswordInput, SearchInput, Select, Option, Textarea, createFileCard, createFileList, } from "../../../src/client/interfaces/components";
2
+ export { createNavbar, createI18nSelector, createSignOutButton, type NavItem, NavMain, SidebarProvider, Sidebar, SidebarInset, SidebarContent, ContentContainer, } from "../../../src/client/interfaces/components/ui/layouts";
3
+ export { createI18nDisplay, createI18nArrayDisplay, createI18nObjectArrayDisplay, createI18nArrayInput, createI18nDateInput, createI18nEditor, createI18nInput, createI18nJsonInput, createI18nNumberInput, createI18nObjectArrayInput, createI18nTextarea, } from "../../../src/client/interfaces/components/ui/i18n";
2
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../export/client/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,sBAAsB,EAGtB,UAAU,EACV,kBAAkB,EAGlB,MAAM,EACN,KAAK,WAAW,EAChB,YAAY,EAGZ,iBAAiB,EACjB,YAAY,EAGZ,SAAS,EACT,KAAK,EACL,WAAW,EACX,eAAe,EAGf,SAAS,EACT,kBAAkB,EAClB,cAAc,EACd,cAAc,EACd,gBAAgB,EAChB,iBAAiB,EACjB,qBAAqB,EACrB,cAAc,EACd,YAAY,EACZ,SAAS,EACT,gBAAgB,EAChB,IAAI,EAGJ,IAAI,EACJ,KAAK,EACL,SAAS,EACT,eAAe,EACf,UAAU,EACV,UAAU,EACV,UAAU,EACV,SAAS,EACT,aAAa,EACb,KAAK,WAAW,EAGhB,UAAU,EACV,QAAQ,EACR,KAAK,EACL,KAAK,UAAU,EACf,aAAa,EACb,WAAW,EACX,MAAM,EACN,MAAM,EACN,QAAQ,EAGR,gBAAgB,EAChB,iBAAiB,EACjB,YAAY,EACZ,KAAK,OAAO,EACZ,OAAO,EACP,eAAe,EACf,OAAO,EACP,YAAY,EACZ,cAAc,EACd,UAAU,EACV,YAAY,EACZ,kBAAkB,EAClB,mBAAmB,EAGnB,cAAc,EACd,cAAc,GACf,MAAM,2CAA2C,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../export/client/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,sBAAsB,EAGtB,UAAU,EACV,kBAAkB,EAGlB,MAAM,EACN,KAAK,WAAW,EAChB,YAAY,EAGZ,iBAAiB,EACjB,YAAY,EAGZ,SAAS,EACT,KAAK,EACL,WAAW,EACX,eAAe,EAGf,SAAS,EACT,kBAAkB,EAClB,cAAc,EACd,gBAAgB,EAChB,iBAAiB,EACjB,qBAAqB,EACrB,cAAc,EACd,SAAS,EACT,YAAY,EACZ,gBAAgB,EAChB,IAAI,EAGJ,IAAI,EACJ,KAAK,EACL,SAAS,EACT,eAAe,EACf,UAAU,EACV,UAAU,EACV,UAAU,EACV,SAAS,EACT,aAAa,EACb,KAAK,WAAW,EAGhB,UAAU,EACV,QAAQ,EACR,KAAK,EACL,KAAK,UAAU,EACf,aAAa,EACb,WAAW,EACX,MAAM,EACN,MAAM,EACN,QAAQ,EAGR,cAAc,EACd,cAAc,GACf,MAAM,2CAA2C,CAAC;AAKnD,OAAO,EAEL,YAAY,EACZ,kBAAkB,EAClB,mBAAmB,EAEnB,KAAK,OAAO,EACZ,OAAO,EACP,eAAe,EACf,OAAO,EACP,YAAY,EACZ,cAAc,EAEd,gBAAgB,GACjB,MAAM,sDAAsD,CAAC;AAK9D,OAAO,EAEL,iBAAiB,EACjB,sBAAsB,EACtB,4BAA4B,EAE5B,oBAAoB,EACpB,mBAAmB,EACnB,gBAAgB,EAChB,eAAe,EACf,mBAAmB,EACnB,qBAAqB,EACrB,0BAA0B,EAC1B,kBAAkB,GACnB,MAAM,mDAAmD,CAAC"}
@@ -1,4 +1,4 @@
1
1
  export { createAdminInitializer } from "./admin-initializer";
2
- export { PageHeader, ListCardsContainer, Button, type ButtonProps, ReturnButton, ActionButtonsCard, ResourceCard, ArrayList, Badge, HtmlDisplay, ObjectArrayList, Accordion, AccordionContainer, ExpandableList, createFileInfo, createFilePicker, createFilePreview, createFilePreviewList, createUploader, ExternalLink, PickModal, createSmartImage, Tick, Form, Field, FieldBody, FieldsContainer, MainFields, SideFields, IndexField, SlugField, ControlFields, type ControlMeta, ArrayInput, Checkbox, Input, type InputProps, PasswordInput, SearchInput, Select, Option, Textarea, ContentContainer, DashboardSkeleton, AuthSkeleton, type NavItem, NavMain, SidebarProvider, Sidebar, SidebarInset, SidebarContent, useSidebar, createNavbar, createI18nSelector, createSignOutButton, } from "./ui";
2
+ export { PageHeader, ListCardsContainer, Button, type ButtonProps, ReturnButton, ActionButtonsCard, ResourceCard, ArrayList, Badge, HtmlDisplay, ObjectArrayList, Accordion, AccordionContainer, createFileInfo, createFilePicker, createFilePreview, createFilePreviewList, createUploader, ExternalLink, PickModal, createSmartImage, Tick, Form, Field, FieldBody, FieldsContainer, MainFields, SideFields, IndexField, SlugField, ControlFields, type ControlMeta, ArrayInput, Checkbox, Input, type InputProps, PasswordInput, SearchInput, Select, Option, Textarea, } from "./ui";
3
3
  export { createFileCard, createFileList } from "./resources";
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/client/interfaces/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAE7D,OAAO,EAEL,UAAU,EACV,kBAAkB,EAElB,MAAM,EACN,KAAK,WAAW,EAChB,YAAY,EAEZ,iBAAiB,EACjB,YAAY,EAEZ,SAAS,EACT,KAAK,EACL,WAAW,EACX,eAAe,EAEf,SAAS,EACT,kBAAkB,EAClB,cAAc,EACd,cAAc,EACd,gBAAgB,EAChB,iBAAiB,EACjB,qBAAqB,EACrB,cAAc,EACd,YAAY,EACZ,SAAS,EACT,gBAAgB,EAChB,IAAI,EAEJ,IAAI,EACJ,KAAK,EACL,SAAS,EACT,eAAe,EACf,UAAU,EACV,UAAU,EACV,UAAU,EACV,SAAS,EACT,aAAa,EACb,KAAK,WAAW,EAEhB,UAAU,EACV,QAAQ,EACR,KAAK,EACL,KAAK,UAAU,EACf,aAAa,EACb,WAAW,EACX,MAAM,EACN,MAAM,EACN,QAAQ,EAER,gBAAgB,EAChB,iBAAiB,EACjB,YAAY,EACZ,KAAK,OAAO,EACZ,OAAO,EACP,eAAe,EACf,OAAO,EACP,YAAY,EACZ,cAAc,EACd,UAAU,EACV,YAAY,EACZ,kBAAkB,EAClB,mBAAmB,GACpB,MAAM,MAAM,CAAC;AAEd,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/client/interfaces/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAE7D,OAAO,EAEL,UAAU,EACV,kBAAkB,EAElB,MAAM,EACN,KAAK,WAAW,EAChB,YAAY,EAEZ,iBAAiB,EACjB,YAAY,EAEZ,SAAS,EACT,KAAK,EACL,WAAW,EACX,eAAe,EAEf,SAAS,EACT,kBAAkB,EAClB,cAAc,EACd,gBAAgB,EAChB,iBAAiB,EACjB,qBAAqB,EACrB,cAAc,EACd,YAAY,EACZ,SAAS,EACT,gBAAgB,EAChB,IAAI,EAEJ,IAAI,EACJ,KAAK,EACL,SAAS,EACT,eAAe,EACf,UAAU,EACV,UAAU,EACV,UAAU,EACV,SAAS,EACT,aAAa,EACb,KAAK,WAAW,EAEhB,UAAU,EACV,QAAQ,EACR,KAAK,EACL,KAAK,UAAU,EACf,aAAa,EACb,WAAW,EACX,MAAM,EACN,MAAM,EACN,QAAQ,GACT,MAAM,MAAM,CAAC;AAEd,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC"}
@@ -14,7 +14,9 @@ export * from "./separator";
14
14
  export * from "./sheet";
15
15
  export * from "./sidebar";
16
16
  export * from "./skeleton";
17
+ export * from "./sonner";
17
18
  export * from "./spinner";
19
+ export * from "./tabs";
18
20
  export * from "./textarea";
19
21
  export * from "./tooltip";
20
22
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/client/interfaces/components/shadcn/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/client/interfaces/components/shadcn/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { type ToasterProps } from "sonner";
2
+ declare function Toaster({ ...props }: ToasterProps): import("react/jsx-runtime").JSX.Element;
3
+ export { Toaster };
4
+ //# sourceMappingURL=sonner.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sonner.d.ts","sourceRoot":"","sources":["../../../../../../../src/client/interfaces/components/shadcn/sonner.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAqB,KAAK,YAAY,EAAE,MAAM,QAAQ,CAAC;AAE9D,iBAAS,OAAO,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,YAAY,2CAyB1C;AAED,OAAO,EAAE,OAAO,EAAE,CAAC"}
@@ -0,0 +1,8 @@
1
+ import * as TabsPrimitive from "@radix-ui/react-tabs";
2
+ import * as React from "react";
3
+ declare function Tabs({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
+ declare function TabsList({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.List>): import("react/jsx-runtime").JSX.Element;
5
+ declare function TabsTrigger({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
6
+ declare function TabsContent({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
7
+ export { Tabs, TabsList, TabsTrigger, TabsContent };
8
+ //# sourceMappingURL=tabs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tabs.d.ts","sourceRoot":"","sources":["../../../../../../../src/client/interfaces/components/shadcn/tabs.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,aAAa,MAAM,sBAAsB,CAAC;AACtD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,iBAAS,IAAI,CAAC,EACZ,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,aAAa,CAAC,IAAI,CAAC,2CAQjD;AAED,iBAAS,QAAQ,CAAC,EAChB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,aAAa,CAAC,IAAI,CAAC,2CAajD;AAED,iBAAS,WAAW,CAAC,EACnB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,aAAa,CAAC,OAAO,CAAC,2CAapD;AAED,iBAAS,WAAW,CAAC,EACnB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,aAAa,CAAC,OAAO,CAAC,2CAQpD;AAED,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,WAAW,EAAE,CAAC"}
@@ -1,5 +1,4 @@
1
1
  export { Accordion, AccordionContainer } from "./accordion";
2
- export { ExpandableList } from "./expandable-list";
3
2
  export { createFileInfo, createFilePicker, createFilePreview, createFilePreviewList, createUploader, } from "./file";
4
3
  export { PickModal } from "./pick-modal";
5
4
  export { ExternalLink } from "./external-link";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/client/interfaces/components/ui/features/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAC5D,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EACL,cAAc,EACd,gBAAgB,EAChB,iBAAiB,EACjB,qBAAqB,EACrB,cAAc,GACf,MAAM,QAAQ,CAAC;AAChB,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/client/interfaces/components/ui/features/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAC5D,OAAO,EACL,cAAc,EACd,gBAAgB,EAChB,iBAAiB,EACjB,qBAAqB,EACrB,cAAc,GACf,MAAM,QAAQ,CAAC;AAChB,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC"}
@@ -0,0 +1,9 @@
1
+ import type { createI18nTabsWrapper } from "../i18n-tabs-wrapper";
2
+ import { type FormData, type FormFieldController } from "../../../../../../shared";
3
+ type I18nArrayDisplayProps<T extends FormData> = FormFieldController<T>;
4
+ export declare function createI18nArrayDisplay({ I18nTabsWrapper, locales, }: {
5
+ I18nTabsWrapper: ReturnType<typeof createI18nTabsWrapper>;
6
+ locales: string[];
7
+ }): <T extends FormData>({ fieldName, translations, isLoading, }: I18nArrayDisplayProps<T>) => import("react/jsx-runtime").JSX.Element;
8
+ export {};
9
+ //# sourceMappingURL=i18n-array-display.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i18n-array-display.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/client/interfaces/components/ui/i18n/display/i18n-array-display.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAElE,OAAO,EAGL,KAAK,QAAQ,EACb,KAAK,mBAAmB,EACzB,MAAM,0BAA0B,CAAC;AAGlC,KAAK,qBAAqB,CAAC,CAAC,SAAS,QAAQ,IAAI,mBAAmB,CAAC,CAAC,CAAC,CAAC;AAExE,wBAAgB,sBAAsB,CAAC,EACrC,eAAe,EACf,OAAO,GACR,EAAE;IACD,eAAe,EAAE,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC;IAC1D,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB,IACkC,CAAC,SAAS,QAAQ,EAAE,yCAIlD,qBAAqB,CAAC,CAAC,CAAC,6CAqB5B"}
@@ -0,0 +1,12 @@
1
+ import type { createI18nTabsWrapper } from "../i18n-tabs-wrapper";
2
+ import { type ComponentProps } from "react";
3
+ import { type FormData, type FormFieldController } from "../../../../../../shared";
4
+ interface I18nDisplayProps<T extends FormData> extends ComponentProps<"div">, FormFieldController<T> {
5
+ isHtml?: boolean;
6
+ }
7
+ export declare function createI18nDisplay({ I18nTabsWrapper, locales, }: {
8
+ I18nTabsWrapper: ReturnType<typeof createI18nTabsWrapper>;
9
+ locales: string[];
10
+ }): <T extends FormData>({ fieldName, translations, isLoading, isHtml, className, ...props }: I18nDisplayProps<T>) => import("react/jsx-runtime").JSX.Element;
11
+ export {};
12
+ //# sourceMappingURL=i18n-display.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i18n-display.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/client/interfaces/components/ui/i18n/display/i18n-display.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAClE,OAAO,EAAY,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AACtD,OAAO,EAEL,KAAK,QAAQ,EACb,KAAK,mBAAmB,EACzB,MAAM,0BAA0B,CAAC;AAKlC,UAAU,gBAAgB,CAAC,CAAC,SAAS,QAAQ,CAC3C,SAAQ,cAAc,CAAC,KAAK,CAAC,EAAE,mBAAmB,CAAC,CAAC,CAAC;IACrD,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AACD,wBAAgB,iBAAiB,CAAC,EAChC,eAAe,EACf,OAAO,GACR,EAAE;IACD,eAAe,EAAE,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC;IAC1D,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB,IAC6B,CAAC,SAAS,QAAQ,EAAE,qEAO7C,gBAAgB,CAAC,CAAC,CAAC,6CA2BvB"}
@@ -0,0 +1,15 @@
1
+ import type { createI18nTabsWrapper } from "../i18n-tabs-wrapper";
2
+ import { type FormData, type FormFieldController } from "../../../../../../shared";
3
+ interface I18nObjectArrayDisplayProps<T extends FormData> extends FormFieldController<T> {
4
+ fields?: {
5
+ key: string;
6
+ placeholder?: string;
7
+ isLink?: boolean;
8
+ }[];
9
+ }
10
+ export declare function createI18nObjectArrayDisplay({ I18nTabsWrapper, locales, }: {
11
+ I18nTabsWrapper: ReturnType<typeof createI18nTabsWrapper>;
12
+ locales: string[];
13
+ }): <T extends FormData>({ fieldName, translations, fields, isLoading, }: I18nObjectArrayDisplayProps<T>) => import("react/jsx-runtime").JSX.Element;
14
+ export {};
15
+ //# sourceMappingURL=i18n-object-array-display.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i18n-object-array-display.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/client/interfaces/components/ui/i18n/display/i18n-object-array-display.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAElE,OAAO,EAGL,KAAK,QAAQ,EACb,KAAK,mBAAmB,EACzB,MAAM,0BAA0B,CAAC;AAGlC,UAAU,2BAA2B,CACnC,CAAC,SAAS,QAAQ,CAClB,SAAQ,mBAAmB,CAAC,CAAC,CAAC;IAC9B,MAAM,CAAC,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,WAAW,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,OAAO,CAAA;KAAE,EAAE,CAAC;CACpE;AAED,wBAAgB,4BAA4B,CAAC,EAC3C,eAAe,EACf,OAAO,GACR,EAAE;IACD,eAAe,EAAE,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC;IAC1D,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB,IACwC,CAAC,SAAS,QAAQ,EAAE,iDAKxD,2BAA2B,CAAC,CAAC,CAAC,6CAyBlC"}
@@ -0,0 +1,4 @@
1
+ export { createI18nDisplay } from "./i18n-display";
2
+ export { createI18nArrayDisplay } from "./i18n-array-display";
3
+ export { createI18nObjectArrayDisplay } from "./i18n-object-array-display";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/client/interfaces/components/ui/i18n/display/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,EAAE,4BAA4B,EAAE,MAAM,6BAA6B,CAAC"}
@@ -0,0 +1,13 @@
1
+ import type { Dispatch, ReactNode, SetStateAction } from "react";
2
+ interface I18nTabsWrapperProps {
3
+ setCurrentLocale: Dispatch<SetStateAction<string>>;
4
+ errorLocales?: string[];
5
+ children: ReactNode;
6
+ }
7
+ export declare function createI18nTabsWrapper({ enabled, locales, localeDisplay, }: {
8
+ enabled: boolean;
9
+ locales: string[];
10
+ localeDisplay: Record<string, string>;
11
+ }): ({ setCurrentLocale, errorLocales, children, }: I18nTabsWrapperProps) => import("react/jsx-runtime").JSX.Element;
12
+ export {};
13
+ //# sourceMappingURL=i18n-tabs-wrapper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i18n-tabs-wrapper.d.ts","sourceRoot":"","sources":["../../../../../../../../src/client/interfaces/components/ui/i18n/i18n-tabs-wrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAIjE,UAAU,oBAAoB;IAC5B,gBAAgB,EAAE,QAAQ,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC;IACnD,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,wBAAgB,qBAAqB,CAAC,EACpC,OAAO,EACP,OAAO,EACP,aAAa,GACd,EAAE;IACD,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACvC,IACiC,+CAI7B,oBAAoB,6CA4BxB"}
@@ -0,0 +1,3 @@
1
+ export { createI18nDisplay, createI18nArrayDisplay, createI18nObjectArrayDisplay, } from "./display";
2
+ export { createI18nArrayInput, createI18nDateInput, createI18nEditor, createI18nInput, createI18nJsonInput, createI18nNumberInput, createI18nObjectArrayInput, createI18nTextarea, } from "./inputs";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/client/interfaces/components/ui/i18n/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,sBAAsB,EACtB,4BAA4B,GAC7B,MAAM,WAAW,CAAC;AACnB,OAAO,EACL,oBAAoB,EACpB,mBAAmB,EACnB,gBAAgB,EAChB,eAAe,EACf,mBAAmB,EACnB,qBAAqB,EACrB,0BAA0B,EAC1B,kBAAkB,GACnB,MAAM,UAAU,CAAC"}
@@ -0,0 +1,12 @@
1
+ import type { FormData, FormFieldController } from "../../../../../../shared";
2
+ import type { createI18nTabsWrapper } from "../i18n-tabs-wrapper";
3
+ import { type ComponentProps } from "react";
4
+ interface I18nArrayInputProps<T extends FormData> extends ComponentProps<"textarea">, FormFieldController<T> {
5
+ isResizable?: boolean;
6
+ }
7
+ export declare function createI18nArrayInput({ I18nTabsWrapper, locales, }: {
8
+ I18nTabsWrapper: ReturnType<typeof createI18nTabsWrapper>;
9
+ locales: string[];
10
+ }): <T extends FormData>({ translations, fieldName, setFormData, isLoading, isDisabled, isResizable, errors, ...props }: I18nArrayInputProps<T>) => import("react/jsx-runtime").JSX.Element;
11
+ export {};
12
+ //# sourceMappingURL=i18n-array-input.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i18n-array-input.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/client/interfaces/components/ui/i18n/inputs/i18n-array-input.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC9E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAElE,OAAO,EAAY,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAStD,UAAU,mBAAmB,CAAC,CAAC,SAAS,QAAQ,CAC9C,SAAQ,cAAc,CAAC,UAAU,CAAC,EAAE,mBAAmB,CAAC,CAAC,CAAC;IAC1D,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,wBAAgB,oBAAoB,CAAC,EACnC,eAAe,EACf,OAAO,GACR,EAAE;IACD,eAAe,EAAE,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC;IAC1D,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB,IACgC,CAAC,SAAS,QAAQ,EAAE,gGAShD,mBAAmB,CAAC,CAAC,CAAC,6CA6I1B"}
@@ -0,0 +1,11 @@
1
+ import type { createI18nTabsWrapper } from "../i18n-tabs-wrapper";
2
+ import { type InputHTMLAttributes } from "react";
3
+ import { type FormData, type FormFieldController } from "../../../../../../shared";
4
+ interface I18nDateInputProps<T extends FormData> extends InputHTMLAttributes<HTMLInputElement>, FormFieldController<T> {
5
+ }
6
+ export declare function createI18nDateInput({ I18nTabsWrapper, locales, }: {
7
+ I18nTabsWrapper: ReturnType<typeof createI18nTabsWrapper>;
8
+ locales: string[];
9
+ }): <T extends FormData>({ translations, fieldName, setFormData, isLoading, isDisabled, errors, ...props }: I18nDateInputProps<T>) => import("react/jsx-runtime").JSX.Element;
10
+ export {};
11
+ //# sourceMappingURL=i18n-date-input.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i18n-date-input.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/client/interfaces/components/ui/i18n/inputs/i18n-date-input.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAClE,OAAO,EAAY,KAAK,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAC3D,OAAO,EAEL,KAAK,QAAQ,EACb,KAAK,mBAAmB,EACzB,MAAM,0BAA0B,CAAC;AAMlC,UAAU,kBAAkB,CAAC,CAAC,SAAS,QAAQ,CAC7C,SAAQ,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,mBAAmB,CAAC,CAAC,CAAC;CAAG;AAE1E,wBAAgB,mBAAmB,CAAC,EAClC,eAAe,EACf,OAAO,GACR,EAAE;IACD,eAAe,EAAE,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC;IAC1D,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB,IAC+B,CAAC,SAAS,QAAQ,EAAE,mFAQ/C,kBAAkB,CAAC,CAAC,CAAC,6CAmDzB"}
@@ -0,0 +1,14 @@
1
+ import type { FormData, FormFieldController } from "../../../../../../shared";
2
+ import type { createEditor } from "../../inputs/editor";
3
+ import type { createI18nTabsWrapper } from "../i18n-tabs-wrapper";
4
+ import { type ComponentProps } from "react";
5
+ interface I18nEditorProps<T extends FormData> extends ComponentProps<"div">, FormFieldController<T> {
6
+ locale: string;
7
+ }
8
+ export declare function createI18nEditor({ I18nTabsWrapper, locales, Editor, }: {
9
+ I18nTabsWrapper: ReturnType<typeof createI18nTabsWrapper>;
10
+ locales: string[];
11
+ Editor: ReturnType<typeof createEditor>;
12
+ }): <T extends FormData>({ locale: cmsLocale, translations, fieldName, setFormData, isLoading, isDisabled, errors, ...props }: I18nEditorProps<T>) => import("react/jsx-runtime").JSX.Element;
13
+ export {};
14
+ //# sourceMappingURL=i18n-editor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i18n-editor.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/client/interfaces/components/ui/i18n/inputs/i18n-editor.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC9E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAClE,OAAO,EAAY,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAOtD,UAAU,eAAe,CAAC,CAAC,SAAS,QAAQ,CAC1C,SAAQ,cAAc,CAAC,KAAK,CAAC,EAAE,mBAAmB,CAAC,CAAC,CAAC;IACrD,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,eAAe,EACf,OAAO,EACP,MAAM,GACP,EAAE;IACD,eAAe,EAAE,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC;IAC1D,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,MAAM,EAAE,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC;CACzC,IAC4B,CAAC,SAAS,QAAQ,EAAE,sGAS5C,eAAe,CAAC,CAAC,CAAC,6CA8DtB"}
@@ -0,0 +1,11 @@
1
+ import type { FormData, FormFieldController } from "../../../../../../shared";
2
+ import type { createI18nTabsWrapper } from "../i18n-tabs-wrapper";
3
+ import { type InputHTMLAttributes } from "react";
4
+ interface I18nInputProps<T extends FormData> extends InputHTMLAttributes<HTMLInputElement>, FormFieldController<T> {
5
+ }
6
+ export declare function createI18nInput({ I18nTabsWrapper, locales, }: {
7
+ I18nTabsWrapper: ReturnType<typeof createI18nTabsWrapper>;
8
+ locales: string[];
9
+ }): <T extends FormData>({ translations, fieldName, setFormData, isLoading, isDisabled, errors, ...props }: I18nInputProps<T>) => import("react/jsx-runtime").JSX.Element;
10
+ export {};
11
+ //# sourceMappingURL=i18n-input.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i18n-input.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/client/interfaces/components/ui/i18n/inputs/i18n-input.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC9E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAClE,OAAO,EAAY,KAAK,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAM3D,UAAU,cAAc,CAAC,CAAC,SAAS,QAAQ,CACzC,SAAQ,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,mBAAmB,CAAC,CAAC,CAAC;CAAG;AAE1E,wBAAgB,eAAe,CAAC,EAC9B,eAAe,EACf,OAAO,GACR,EAAE;IACD,eAAe,EAAE,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC;IAC1D,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB,IAC2B,CAAC,SAAS,QAAQ,EAAE,mFAQ3C,cAAc,CAAC,CAAC,CAAC,6CAmDrB"}
@@ -0,0 +1,11 @@
1
+ import type { createI18nTabsWrapper } from "../i18n-tabs-wrapper";
2
+ import { type ComponentProps } from "react";
3
+ import { type FormData, type FormFieldController } from "../../../../../../shared";
4
+ interface I18nJsonInput<T extends FormData> extends ComponentProps<"textarea">, FormFieldController<T> {
5
+ }
6
+ export declare function createI18nJsonInput({ I18nTabsWrapper, locales, }: {
7
+ I18nTabsWrapper: ReturnType<typeof createI18nTabsWrapper>;
8
+ locales: string[];
9
+ }): <T extends FormData>({ translations, fieldName, setFormData, isLoading, isDisabled, ...props }: I18nJsonInput<T>) => import("react/jsx-runtime").JSX.Element;
10
+ export {};
11
+ //# sourceMappingURL=i18n-json-input.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i18n-json-input.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/client/interfaces/components/ui/i18n/inputs/i18n-json-input.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAClE,OAAO,EAGL,KAAK,cAAc,EAEpB,MAAM,OAAO,CAAC;AACf,OAAO,EAEL,KAAK,QAAQ,EACb,KAAK,mBAAmB,EACzB,MAAM,0BAA0B,CAAC;AAKlC,UAAU,aAAa,CAAC,CAAC,SAAS,QAAQ,CACxC,SAAQ,cAAc,CAAC,UAAU,CAAC,EAAE,mBAAmB,CAAC,CAAC,CAAC;CAAG;AAE/D,wBAAgB,mBAAmB,CAAC,EAClC,eAAe,EACf,OAAO,GACR,EAAE;IACD,eAAe,EAAE,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC;IAC1D,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB,IAC+B,CAAC,SAAS,QAAQ,EAAE,2EAO/C,aAAa,CAAC,CAAC,CAAC,6CA+FpB"}
@@ -0,0 +1,11 @@
1
+ import type { FormData, FormFieldController } from "../../../../../../shared";
2
+ import type { createI18nTabsWrapper } from "../i18n-tabs-wrapper";
3
+ import { type InputHTMLAttributes } from "react";
4
+ interface I18nNumberInputProps<T extends FormData> extends InputHTMLAttributes<HTMLInputElement>, FormFieldController<T> {
5
+ }
6
+ export declare function createI18nNumberInput({ I18nTabsWrapper, locales, }: {
7
+ I18nTabsWrapper: ReturnType<typeof createI18nTabsWrapper>;
8
+ locales: string[];
9
+ }): <T extends FormData>({ translations, fieldName, setFormData, isLoading, isDisabled, errors, ...props }: I18nNumberInputProps<T>) => import("react/jsx-runtime").JSX.Element;
10
+ export {};
11
+ //# sourceMappingURL=i18n-number-input.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i18n-number-input.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/client/interfaces/components/ui/i18n/inputs/i18n-number-input.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC9E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAClE,OAAO,EAAY,KAAK,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAM3D,UAAU,oBAAoB,CAAC,CAAC,SAAS,QAAQ,CAC/C,SAAQ,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,mBAAmB,CAAC,CAAC,CAAC;CAAG;AAE1E,wBAAgB,qBAAqB,CAAC,EACpC,eAAe,EACf,OAAO,GACR,EAAE;IACD,eAAe,EAAE,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC;IAC1D,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB,IACiC,CAAC,SAAS,QAAQ,EAAE,mFAQjD,oBAAoB,CAAC,CAAC,CAAC,6CAoD3B"}
@@ -0,0 +1,15 @@
1
+ import type { FormData, FormFieldController } from "../../../../../../shared";
2
+ import type { createI18nTabsWrapper } from "../i18n-tabs-wrapper";
3
+ interface I18nObjectArrayInputProps<T extends FormData> extends FormFieldController<T> {
4
+ fields: {
5
+ key: string;
6
+ placeholder?: string;
7
+ }[];
8
+ isResizable?: boolean;
9
+ }
10
+ export declare function createI18nObjectArrayInput({ I18nTabsWrapper, locales, }: {
11
+ I18nTabsWrapper: ReturnType<typeof createI18nTabsWrapper>;
12
+ locales: string[];
13
+ }): <T extends FormData>({ translations, fields, fieldName, setFormData, isResizable, errors, }: I18nObjectArrayInputProps<T>) => import("react/jsx-runtime").JSX.Element;
14
+ export {};
15
+ //# sourceMappingURL=i18n-object-array-input.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i18n-object-array-input.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/client/interfaces/components/ui/i18n/inputs/i18n-object-array-input.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC9E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAWlE,UAAU,yBAAyB,CACjC,CAAC,SAAS,QAAQ,CAClB,SAAQ,mBAAmB,CAAC,CAAC,CAAC;IAC9B,MAAM,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,WAAW,CAAC,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAChD,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,wBAAgB,0BAA0B,CAAC,EACzC,eAAe,EACf,OAAO,GACR,EAAE;IACD,eAAe,EAAE,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC;IAC1D,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB,IACsC,CAAC,SAAS,QAAQ,EAAE,wEAOtD,yBAAyB,CAAC,CAAC,CAAC,6CAmJhC"}
@@ -0,0 +1,11 @@
1
+ import type { FormData, FormFieldController } from "../../../../../../shared";
2
+ import type { createI18nTabsWrapper } from "../i18n-tabs-wrapper";
3
+ import { type ComponentProps } from "react";
4
+ interface I18nTextareaProps<T extends FormData> extends ComponentProps<"textarea">, FormFieldController<T> {
5
+ }
6
+ export declare function createI18nTextarea({ I18nTabsWrapper, locales, }: {
7
+ I18nTabsWrapper: ReturnType<typeof createI18nTabsWrapper>;
8
+ locales: string[];
9
+ }): <T extends FormData>({ translations, fieldName, setFormData, isLoading, isDisabled, errors, ...props }: I18nTextareaProps<T>) => import("react/jsx-runtime").JSX.Element;
10
+ export {};
11
+ //# sourceMappingURL=i18n-textarea.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i18n-textarea.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/client/interfaces/components/ui/i18n/inputs/i18n-textarea.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC9E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAClE,OAAO,EAAY,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAMtD,UAAU,iBAAiB,CAAC,CAAC,SAAS,QAAQ,CAC5C,SAAQ,cAAc,CAAC,UAAU,CAAC,EAAE,mBAAmB,CAAC,CAAC,CAAC;CAAG;AAE/D,wBAAgB,kBAAkB,CAAC,EACjC,eAAe,EACf,OAAO,GACR,EAAE;IACD,eAAe,EAAE,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC;IAC1D,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB,IAC8B,CAAC,SAAS,QAAQ,EAAE,mFAQ9C,iBAAiB,CAAC,CAAC,CAAC,6CAmDxB"}
@@ -0,0 +1,9 @@
1
+ export { createI18nInput } from "./i18n-input";
2
+ export { createI18nTextarea } from "./i18n-textarea";
3
+ export { createI18nNumberInput } from "./i18n-number-input";
4
+ export { createI18nDateInput } from "./i18n-date-input";
5
+ export { createI18nJsonInput } from "./i18n-json-input";
6
+ export { createI18nArrayInput } from "./i18n-array-input";
7
+ export { createI18nObjectArrayInput } from "./i18n-object-array-input";
8
+ export { createI18nEditor } from "./i18n-editor";
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/client/interfaces/components/ui/i18n/inputs/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC1D,OAAO,EAAE,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AACvE,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC"}
@@ -0,0 +1,7 @@
1
+ import type { Translation } from "../../../../../../domain";
2
+ export declare const getErrorsByLocales: (locales: string[], errors?: string[], translations?: Translation[], fieldName?: string) => {
3
+ locale: string;
4
+ path: [string];
5
+ index?: number | undefined;
6
+ }[];
7
+ //# sourceMappingURL=get-errors-by-locales.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-errors-by-locales.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/client/interfaces/components/ui/i18n/utils/get-errors-by-locales.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAE5D,eAAO,MAAM,kBAAkB,GAC7B,SAAS,MAAM,EAAE,EACjB,SAAQ,MAAM,EAAO,EACrB,eAAc,WAAW,EAAO,EAChC,YAAW,MAAW,KACrB;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,CAAC,MAAM,CAAC,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CAAE,EAsBhE,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { Translation } from "../../../../../../domain";
2
+ export declare const getTranslationValue: <V = string | number | Date>(translations: Translation[] | undefined, locale: string, fieldName?: string) => V | null;
3
+ //# sourceMappingURL=get-translation-value.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-translation-value.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/client/interfaces/components/ui/i18n/utils/get-translation-value.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAE5D,eAAO,MAAM,mBAAmB,GAAI,CAAC,GAAG,MAAM,GAAG,MAAM,GAAG,IAAI,EAC5D,cAAc,WAAW,EAAE,YAAK,EAChC,QAAQ,MAAM,EACd,YAAW,MAAW,KACrB,CAAC,GAAG,IAkBN,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { Translation } from "../../../../../../domain";
2
+ export declare const updateTranslations: (translations: Translation[] | undefined, locale: string, fieldName: string, value: unknown) => Translation[];
3
+ //# sourceMappingURL=update-translations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-translations.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/client/interfaces/components/ui/i18n/utils/update-translations.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAE5D,eAAO,MAAM,kBAAkB,GAC7B,cAAc,WAAW,EAAE,YAAK,EAChC,QAAQ,MAAM,EACd,WAAW,MAAM,EACjB,OAAO,OAAO,KACb,WAAW,EAab,CAAC"}