@akira-io/ui 1.3.1 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. package/README.md +2 -2
  2. package/dist/blocks.d.ts +100 -10
  3. package/dist/blocks.js +547 -270
  4. package/dist/blocks.js.map +1 -1
  5. package/dist/{chunk-3Z2VGVPI.js → chunk-53V4J7MC.js} +17 -7
  6. package/dist/chunk-53V4J7MC.js.map +1 -0
  7. package/dist/chunk-BH3B26DK.js +394 -0
  8. package/dist/chunk-BH3B26DK.js.map +1 -0
  9. package/dist/chunk-BP2YDMMI.js +29 -0
  10. package/dist/chunk-BP2YDMMI.js.map +1 -0
  11. package/dist/chunk-BR3JI3KN.js +458 -0
  12. package/dist/chunk-BR3JI3KN.js.map +1 -0
  13. package/dist/{chunk-YBXRJSR3.js → chunk-CAUTXZ4U.js} +15 -7
  14. package/dist/chunk-CAUTXZ4U.js.map +1 -0
  15. package/dist/{chunk-I6VVCFZ2.js → chunk-DPLCEU34.js} +342 -238
  16. package/dist/chunk-DPLCEU34.js.map +1 -0
  17. package/dist/chunk-IQMRJXEO.js +5 -4
  18. package/dist/chunk-IQMRJXEO.js.map +1 -1
  19. package/dist/chunk-L2H5GIF7.js +5 -4
  20. package/dist/chunk-L2H5GIF7.js.map +1 -1
  21. package/dist/{chunk-2V6HUWST.js → chunk-NKPFIA32.js} +19 -6
  22. package/dist/chunk-NKPFIA32.js.map +1 -0
  23. package/dist/{chunk-QNF4LJVT.js → chunk-OS7YY5R4.js} +8 -6
  24. package/dist/chunk-OS7YY5R4.js.map +1 -0
  25. package/dist/{chunk-IDNOI4OK.js → chunk-PCYYU332.js} +15 -8
  26. package/dist/chunk-PCYYU332.js.map +1 -0
  27. package/dist/{chunk-KHOA4TEI.js → chunk-PPWJK5T3.js} +60 -25
  28. package/dist/chunk-PPWJK5T3.js.map +1 -0
  29. package/dist/{chunk-N2KIFFI7.js → chunk-QZRSQVCN.js} +30 -34
  30. package/dist/chunk-QZRSQVCN.js.map +1 -0
  31. package/dist/{chunk-SZUXATOF.js → chunk-XLAOE5MV.js} +170 -76
  32. package/dist/chunk-XLAOE5MV.js.map +1 -0
  33. package/dist/{chunk-B3L6PRLX.js → chunk-ZQXZ4UGE.js} +208 -100
  34. package/dist/chunk-ZQXZ4UGE.js.map +1 -0
  35. package/dist/code.d.ts +2 -2
  36. package/dist/code.js +96 -52
  37. package/dist/code.js.map +1 -1
  38. package/dist/{context-OwSoVEri.d.ts → context-2wTOwxCk.d.ts} +13 -5
  39. package/dist/editor.d.ts +1 -1
  40. package/dist/editor.js +135 -52
  41. package/dist/editor.js.map +1 -1
  42. package/dist/{field-DWm5NXeV.d.ts → field-C1TdmC2t.d.ts} +1 -1
  43. package/dist/index.d.ts +15 -12
  44. package/dist/index.js +1105 -633
  45. package/dist/index.js.map +1 -1
  46. package/dist/inertia.d.ts +11 -3
  47. package/dist/inertia.js +66 -12
  48. package/dist/inertia.js.map +1 -1
  49. package/dist/{input-Dxnsxi-f.d.ts → input-B4uEClxB.d.ts} +1 -1
  50. package/dist/{json-viewer-BARA2RCW.d.ts → json-viewer-Bssv9mTD.d.ts} +1 -1
  51. package/dist/locales/fr.d.ts +44 -0
  52. package/dist/locales/fr.js +248 -0
  53. package/dist/locales/fr.js.map +1 -0
  54. package/dist/locales/pt.d.ts +10 -9
  55. package/dist/locales/pt.js +40 -3
  56. package/dist/locales/pt.js.map +1 -1
  57. package/dist/shells.d.ts +46 -5
  58. package/dist/shells.js +211 -71
  59. package/dist/shells.js.map +1 -1
  60. package/dist/{sidebar-Bp6Q46j-.d.ts → sidebar-BLL2tgTt.d.ts} +2 -2
  61. package/dist/types-1LUmNJf_.d.ts +41 -0
  62. package/dist/{types-cmBL8zOc.d.ts → types-CMZRvMV5.d.ts} +1 -1
  63. package/dist/{types-B-eGPoFD.d.ts → types-CfAUvz--.d.ts} +1 -1
  64. package/package.json +8 -2
  65. package/theme.css +11 -0
  66. package/dist/chunk-2V6HUWST.js.map +0 -1
  67. package/dist/chunk-3Z2VGVPI.js.map +0 -1
  68. package/dist/chunk-B3L6PRLX.js.map +0 -1
  69. package/dist/chunk-I6VVCFZ2.js.map +0 -1
  70. package/dist/chunk-IDNOI4OK.js.map +0 -1
  71. package/dist/chunk-KHOA4TEI.js.map +0 -1
  72. package/dist/chunk-N2KIFFI7.js.map +0 -1
  73. package/dist/chunk-NGMG2UWX.js +0 -172
  74. package/dist/chunk-NGMG2UWX.js.map +0 -1
  75. package/dist/chunk-QNF4LJVT.js.map +0 -1
  76. package/dist/chunk-SZUXATOF.js.map +0 -1
  77. package/dist/chunk-YBXRJSR3.js.map +0 -1
  78. package/dist/types-u1qfmJQi.d.ts +0 -28
package/dist/inertia.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { ReactNode, ReactElement, PropsWithChildren } from 'react';
2
- import { d as TourLabels } from './types-u1qfmJQi.js';
3
- import { U as UrlLike, N as NavGroup, b as NavItem, c as SharedUser, B as BreadcrumbItem, d as LinkComponent } from './types-cmBL8zOc.js';
2
+ import { a as LoginFormLabels, e as TourLabels } from './types-1LUmNJf_.js';
3
+ import { U as UrlLike, N as NavGroup, c as NavItem, d as SharedUser, B as BreadcrumbItem, L as LinkComponent } from './types-CMZRvMV5.js';
4
4
  import '@tanstack/react-table';
5
5
  import 'lucide-react';
6
6
 
@@ -78,9 +78,17 @@ declare function SettingsLayout(props: PropsWithChildren<{
78
78
  description?: string;
79
79
  wide?: boolean;
80
80
  }>): ReactElement;
81
+ declare function InertiaLoginForm({ action, status, forgotPasswordHref, labels, className, slotName, }: {
82
+ action: string;
83
+ status?: string;
84
+ forgotPasswordHref?: UrlLike;
85
+ labels?: Partial<LoginFormLabels>;
86
+ className?: string;
87
+ slotName?: string;
88
+ }): ReactElement;
81
89
  declare function InertiaTourProvider({ children, progressUrl, labels, }: PropsWithChildren<{
82
90
  progressUrl: (tour: string) => string;
83
91
  labels?: Partial<TourLabels>;
84
92
  }>): ReactElement;
85
93
 
86
- export { AppSidebar, AppSidebarHeader, Breadcrumbs, InertiaLink, InertiaTourProvider, NavMain, SettingsLayout, type TableFilterValue, type TableFilters, type TableFiltersOptions, type TableFiltersRouter, useCurrentUrl, useTableFilters };
94
+ export { AppSidebar, AppSidebarHeader, Breadcrumbs, InertiaLink, InertiaLoginForm, InertiaTourProvider, NavMain, SettingsLayout, type TableFilterValue, type TableFilters, type TableFiltersOptions, type TableFiltersRouter, useCurrentUrl, useTableFilters };
package/dist/inertia.js CHANGED
@@ -1,13 +1,33 @@
1
- import { TourProvider } from './chunk-NGMG2UWX.js';
2
- import './chunk-QNF4LJVT.js';
3
- import { AppSidebar, AppSidebarHeader, Breadcrumbs, NavMain, SettingsLayout } from './chunk-SZUXATOF.js';
4
- import './chunk-B3L6PRLX.js';
5
- import './chunk-L2H5GIF7.js';
6
- import './chunk-3Z2VGVPI.js';
7
- import './chunk-KHOA4TEI.js';
8
- import { Link, usePage, router } from '@inertiajs/react';
9
- import { createElement, useState, useRef, useCallback, useEffect } from 'react';
1
+ 'use client';
10
2
 
3
+ "use client";
4
+ import {
5
+ LoginFormPreset,
6
+ TourProvider
7
+ } from "./chunk-BR3JI3KN.js";
8
+ import "./chunk-BH3B26DK.js";
9
+ import "./chunk-OS7YY5R4.js";
10
+ import "./chunk-BP2YDMMI.js";
11
+ import {
12
+ AppSidebar,
13
+ AppSidebarHeader,
14
+ Breadcrumbs,
15
+ NavMain,
16
+ SettingsLayout
17
+ } from "./chunk-XLAOE5MV.js";
18
+ import "./chunk-ZQXZ4UGE.js";
19
+ import "./chunk-L2H5GIF7.js";
20
+ import "./chunk-53V4J7MC.js";
21
+ import "./chunk-PPWJK5T3.js";
22
+
23
+ // src/inertia.ts
24
+ import { Form, Link, router, usePage } from "@inertiajs/react";
25
+ import {
26
+ createElement
27
+ } from "react";
28
+
29
+ // src/inertia-table-filters.ts
30
+ import { useCallback, useEffect, useRef, useState } from "react";
11
31
  var DEFAULT_DEBOUNCE = 300;
12
32
  function toQuery(filters) {
13
33
  const query = {};
@@ -197,6 +217,31 @@ function SettingsLayout2(props) {
197
217
  linkComponent: InertiaLink
198
218
  });
199
219
  }
220
+ var LoginPostForm = Form;
221
+ function InertiaLoginForm({
222
+ action,
223
+ status,
224
+ forgotPasswordHref,
225
+ labels,
226
+ className,
227
+ slotName = "inertia-login-form"
228
+ }) {
229
+ return createElement(LoginPostForm, {
230
+ action,
231
+ method: "post",
232
+ resetOnSuccess: ["password"],
233
+ className,
234
+ "data-slot": slotName,
235
+ children: ({ processing, errors }) => createElement(LoginFormPreset, {
236
+ errors,
237
+ processing,
238
+ status,
239
+ forgotPasswordHref,
240
+ labels,
241
+ linkComponent: InertiaLink
242
+ })
243
+ });
244
+ }
200
245
  function InertiaTourProvider({
201
246
  children,
202
247
  progressUrl,
@@ -210,7 +255,16 @@ function InertiaTourProvider({
210
255
  onProgress: (progress) => recordTourProgress(progressUrl(progress.tour), progress)
211
256
  });
212
257
  }
213
-
214
- export { AppSidebar2 as AppSidebar, AppSidebarHeader2 as AppSidebarHeader, Breadcrumbs2 as Breadcrumbs, InertiaLink, InertiaTourProvider, NavMain2 as NavMain, SettingsLayout2 as SettingsLayout, useCurrentUrl, useTableFilters };
215
- //# sourceMappingURL=inertia.js.map
258
+ export {
259
+ AppSidebar2 as AppSidebar,
260
+ AppSidebarHeader2 as AppSidebarHeader,
261
+ Breadcrumbs2 as Breadcrumbs,
262
+ InertiaLink,
263
+ InertiaLoginForm,
264
+ InertiaTourProvider,
265
+ NavMain2 as NavMain,
266
+ SettingsLayout2 as SettingsLayout,
267
+ useCurrentUrl,
268
+ useTableFilters
269
+ };
216
270
  //# sourceMappingURL=inertia.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/inertia-table-filters.ts","../src/inertia-tour-progress.ts","../src/inertia.ts"],"names":["router","useTableFilters","AppSidebar","AppSidebarHeader","Breadcrumbs","NavMain","SettingsLayout"],"mappings":";;;;;;;;;;AAwCA,IAAM,gBAAA,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AAAA,IACH,UAAA,EAAY,SAAQ,CAAE,GAAA;AAAA,IACtB,aAAA,EAAe;AAAA,GAClB,CAAA;AACL;AAEO,SAASC,gBACZ,KAAA,EAMY;AACZ,EAAA,OAAO,cAAc,cAAA,EAAoB;AAAA,IACrC,GAAG,KAAA;AAAA,IACH,WAAA,EAAa,SAAQ,CAAE,GAAA;AAAA,IACvB,aAAA,EAAe;AAAA,GAClB,CAAA;AACL;AAEO,SAAS,mBAAA,CAAoB;AAAA,EAChC,QAAA;AAAA,EACA,WAAA;AAAA,EACA;AACJ,CAAA,EAGkB;AACd,EAAA,MAAM,IAAA,GAAQ,OAAA,EAAQ,CAAE,KAAA,CAAM,SAAS,EAAC;AAExC,EAAA,OAAO,cAAc,YAAA,EAAkB;AAAA,IACnC,IAAA;AAAA,IACA,MAAA;AAAA,IACA,QAAA;AAAA,IACA,UAAA,EAAY,CAAC,QAAA,KACT,kBAAA,CAAmB,YAAY,QAAA,CAAS,IAAI,GAAG,QAAQ;AAAA,GAC9D,CAAA;AACL","file":"inertia.js","sourcesContent":["import { useCallback, useEffect, useRef, useState } from 'react';\n\nexport type TableFilterValue = string | string[] | number | null | undefined;\n\nexport type TableFilterQuery = Record<string, string | string[]>;\n\nexport interface TableFiltersVisitOptions {\n data: TableFilterQuery;\n only?: string[];\n preserveState: boolean;\n preserveScroll: boolean;\n replace: boolean;\n onCancelToken: (token: { cancel: () => void }) => void;\n}\n\nexport interface TableFiltersRouter {\n visit: (url: string, options: TableFiltersVisitOptions) => void;\n}\n\nexport interface TableFiltersOptions {\n url: string;\n filters: Record<string, TableFilterValue>;\n only?: string[];\n searchKey?: string;\n pageKey?: string;\n debounce?: number;\n}\n\nexport interface TableFilters {\n search: string;\n setSearch: (value: string) => void;\n filterValues: Record<string, string[]>;\n setFilter: (key: string, values: string[]) => void;\n clearFilters: () => void;\n setPage: (pageIndex: number) => void;\n apply: (changes: Record<string, TableFilterValue>) => void;\n}\n\nexport type UseTableFilters = (options: TableFiltersOptions) => TableFilters;\n\nconst DEFAULT_DEBOUNCE = 300;\n\nexport function toQuery(\n filters: Record<string, TableFilterValue>,\n): TableFilterQuery {\n const query: TableFilterQuery = {};\n\n for (const [key, value] of Object.entries(filters)) {\n if (Array.isArray(value)) {\n const values = value.filter((entry) => entry !== '');\n\n if (values.length > 0) {\n query[key] = values;\n }\n\n continue;\n }\n\n if (value === null || value === undefined || value === '') {\n continue;\n }\n\n query[key] = String(value);\n }\n\n return query;\n}\n\nexport function toFilterValues(\n filters: Record<string, TableFilterValue>,\n exclude: string[] = [],\n): Record<string, string[]> {\n const values: Record<string, string[]> = {};\n\n for (const [key, value] of Object.entries(toQuery(filters))) {\n if (exclude.includes(key)) {\n continue;\n }\n\n values[key] = Array.isArray(value) ? value : [value];\n }\n\n return values;\n}\n\nexport function createTableFiltersHook(\n router: TableFiltersRouter,\n): UseTableFilters {\n return function useTableFilters({\n url,\n filters,\n only,\n searchKey = 'search',\n pageKey = 'page',\n debounce = DEFAULT_DEBOUNCE,\n }: TableFiltersOptions): TableFilters {\n const initialSearch = filters[searchKey];\n const [search, setSearchState] = useState(\n typeof initialSearch === 'string' ? initialSearch : '',\n );\n const timer = useRef<ReturnType<typeof setTimeout> | null>(null);\n const pending = useRef<{ cancel: () => void } | null>(null);\n const state = useRef({ url, filters, only, searchKey, pageKey });\n\n state.current = { url, filters, only, searchKey, pageKey };\n\n const visit = useCallback(\n (changes: Record<string, TableFilterValue>) => {\n const current = state.current;\n\n pending.current?.cancel();\n\n router.visit(current.url, {\n data: toQuery({ ...current.filters, ...changes }),\n only: current.only,\n preserveState: true,\n preserveScroll: true,\n replace: true,\n onCancelToken: (token) => {\n pending.current = token;\n },\n });\n },\n [],\n );\n\n const cancelPendingSearch = useCallback(() => {\n if (timer.current !== null) {\n clearTimeout(timer.current);\n timer.current = null;\n }\n }, []);\n\n useEffect(() => cancelPendingSearch, [cancelPendingSearch]);\n\n const setSearch = useCallback(\n (value: string) => {\n setSearchState(value);\n cancelPendingSearch();\n\n timer.current = setTimeout(() => {\n timer.current = null;\n visit({\n [state.current.searchKey]: value,\n [state.current.pageKey]: null,\n });\n }, debounce);\n },\n [cancelPendingSearch, debounce, visit],\n );\n\n const setFilter = useCallback(\n (key: string, values: string[]) => {\n cancelPendingSearch();\n visit({ [key]: values, [state.current.pageKey]: null });\n },\n [cancelPendingSearch, visit],\n );\n\n const clearFilters = useCallback(() => {\n cancelPendingSearch();\n setSearchState('');\n\n const current = state.current;\n const cleared = Object.fromEntries(\n Object.keys(current.filters).map((key) => [key, null]),\n );\n\n visit({ ...cleared, [current.pageKey]: null });\n }, [cancelPendingSearch, visit]);\n\n const setPage = useCallback(\n (pageIndex: number) => {\n visit({\n [state.current.pageKey]:\n pageIndex > 0 ? pageIndex + 1 : null,\n });\n },\n [visit],\n );\n\n const apply = useCallback(\n (changes: Record<string, TableFilterValue>) => {\n cancelPendingSearch();\n visit({ ...changes, [state.current.pageKey]: null });\n },\n [cancelPendingSearch, visit],\n );\n\n return {\n search,\n setSearch,\n filterValues: toFilterValues(filters, [searchKey, pageKey]),\n setFilter,\n clearFilters,\n setPage,\n apply,\n };\n };\n}\n","import type { TourProgress } from '@/blocks/tour';\n\nexport function xsrfToken(): string {\n const cookie = document.cookie\n .split('; ')\n .find((entry) => entry.startsWith('XSRF-TOKEN='));\n\n return cookie ? decodeURIComponent(cookie.slice('XSRF-TOKEN='.length)) : '';\n}\n\nexport function recordTourProgress(url: string, progress: TourProgress): void {\n void fetch(url, {\n method: 'POST',\n credentials: 'same-origin',\n keepalive: true,\n headers: {\n 'Content-Type': 'application/json',\n Accept: 'application/json',\n 'X-Requested-With': 'XMLHttpRequest',\n 'X-XSRF-TOKEN': xsrfToken(),\n },\n body: JSON.stringify({\n version: progress.version,\n last_step: progress.lastStep,\n outcome: progress.outcome,\n }),\n });\n}\n","import { Link, router, usePage } from '@inertiajs/react';\nimport {\n createElement,\n type PropsWithChildren,\n type ReactElement,\n type ReactNode,\n} from 'react';\n\nimport {\n TourProvider as BaseTourProvider,\n type TourLabels,\n type TourProgress,\n} from '@/blocks/tour';\nimport {\n createTableFiltersHook,\n type TableFilters,\n type TableFiltersOptions,\n type TableFiltersRouter,\n type TableFilterValue,\n} from '@/inertia-table-filters';\nimport { recordTourProgress } from '@/inertia-tour-progress';\nimport { AppSidebar as BaseAppSidebar } from '@/shells/app-sidebar';\nimport { AppSidebarHeader as BaseAppSidebarHeader } from '@/shells/app-sidebar-header';\nimport { Breadcrumbs as BaseBreadcrumbs } from '@/shells/breadcrumbs';\nimport { NavMain as BaseNavMain } from '@/shells/nav-main';\nimport { SettingsLayout as BaseSettingsLayout } from '@/shells/settings-layout';\nimport type {\n BreadcrumbItem,\n LinkComponent,\n NavGroup,\n NavItem,\n SharedUser,\n UrlLike,\n} from '@/types';\n\nexport const InertiaLink = Link as unknown as LinkComponent;\n\nexport type {\n TableFilters,\n TableFiltersOptions,\n TableFiltersRouter,\n TableFilterValue,\n};\n\nexport const useTableFilters = createTableFiltersHook(router);\n\nexport function useCurrentUrl(): string {\n return usePage().url;\n}\n\nexport function AppSidebar(props: {\n logo: ReactNode;\n logoHref: UrlLike;\n groups: NavGroup[];\n footerItems?: NavItem[];\n user: SharedUser;\n settingsHref: UrlLike;\n logoutHref: UrlLike;\n collapsibleGroups?: boolean;\n collapsedGroups?: string[];\n onCollapsedChange?: (collapsedGroups: string[]) => void;\n onSettingsClick?: () => void;\n onLogout?: () => void;\n}): ReactElement {\n return createElement(BaseAppSidebar, {\n ...props,\n currentUrl: usePage().url,\n linkComponent: InertiaLink,\n });\n}\n\nexport function AppSidebarHeader(props: {\n breadcrumbs?: BreadcrumbItem[];\n onSearchClick?: () => void;\n searchLabel?: string;\n}): ReactElement {\n return createElement(BaseAppSidebarHeader, {\n ...props,\n linkComponent: InertiaLink,\n });\n}\n\nexport function Breadcrumbs(props: {\n breadcrumbs: BreadcrumbItem[];\n}): ReactElement {\n return createElement(BaseBreadcrumbs, {\n ...props,\n linkComponent: InertiaLink,\n });\n}\n\nexport function NavMain(props: {\n items: NavItem[];\n label?: string;\n collapsible?: boolean;\n defaultOpen?: boolean;\n collapsedGroups?: string[];\n onCollapsedChange?: (collapsedGroups: string[]) => void;\n}): ReactElement {\n return createElement(BaseNavMain, {\n ...props,\n currentUrl: usePage().url,\n linkComponent: InertiaLink,\n });\n}\n\nexport function SettingsLayout(\n props: PropsWithChildren<{\n items: NavItem[];\n title?: string;\n description?: string;\n wide?: boolean;\n }>,\n): ReactElement {\n return createElement(BaseSettingsLayout, {\n ...props,\n currentPath: usePage().url,\n linkComponent: InertiaLink,\n });\n}\n\nexport function InertiaTourProvider({\n children,\n progressUrl,\n labels,\n}: PropsWithChildren<{\n progressUrl: (tour: string) => string;\n labels?: Partial<TourLabels>;\n}>): ReactElement {\n const seen = (usePage().props.tours ?? {}) as Record<string, number>;\n\n return createElement(BaseTourProvider, {\n seen,\n labels,\n children,\n onProgress: (progress: TourProgress) =>\n recordTourProgress(progressUrl(progress.tour), progress),\n });\n}\n"]}
1
+ {"version":3,"sources":["../src/inertia.ts","../src/inertia-table-filters.ts","../src/inertia-tour-progress.ts"],"sourcesContent":["'use client';\n\nimport { Form, Link, router, usePage } from '@inertiajs/react';\nimport {\n createElement,\n type ComponentType,\n type PropsWithChildren,\n type ReactElement,\n type ReactNode,\n} from 'react';\n\nimport { LoginFormPreset, type LoginFormLabels } from '@/blocks/login-form';\nimport {\n TourProvider as BaseTourProvider,\n type TourLabels,\n type TourProgress,\n} from '@/blocks/tour';\nimport {\n createTableFiltersHook,\n type TableFilters,\n type TableFiltersOptions,\n type TableFiltersRouter,\n type TableFilterValue,\n} from '@/inertia-table-filters';\nimport { recordTourProgress } from '@/inertia-tour-progress';\nimport { AppSidebar as BaseAppSidebar } from '@/shells/app-sidebar';\nimport { AppSidebarHeader as BaseAppSidebarHeader } from '@/shells/app-sidebar-header';\nimport { Breadcrumbs as BaseBreadcrumbs } from '@/shells/breadcrumbs';\nimport { NavMain as BaseNavMain } from '@/shells/nav-main';\nimport { SettingsLayout as BaseSettingsLayout } from '@/shells/settings-layout';\nimport type {\n BreadcrumbItem,\n LinkComponent,\n NavGroup,\n NavItem,\n SharedUser,\n UrlLike,\n} from '@/types';\n\nexport const InertiaLink = Link as unknown as LinkComponent;\n\nexport type {\n TableFilters,\n TableFiltersOptions,\n TableFiltersRouter,\n TableFilterValue,\n};\n\nexport const useTableFilters = createTableFiltersHook(router);\n\nexport function useCurrentUrl(): string {\n return usePage().url;\n}\n\nexport function AppSidebar(props: {\n logo: ReactNode;\n logoHref: UrlLike;\n groups: NavGroup[];\n footerItems?: NavItem[];\n user: SharedUser;\n settingsHref: UrlLike;\n logoutHref: UrlLike;\n collapsibleGroups?: boolean;\n collapsedGroups?: string[];\n onCollapsedChange?: (collapsedGroups: string[]) => void;\n onSettingsClick?: () => void;\n onLogout?: () => void;\n}): ReactElement {\n return createElement(BaseAppSidebar, {\n ...props,\n currentUrl: usePage().url,\n linkComponent: InertiaLink,\n });\n}\n\nexport function AppSidebarHeader(props: {\n breadcrumbs?: BreadcrumbItem[];\n onSearchClick?: () => void;\n searchLabel?: string;\n}): ReactElement {\n return createElement(BaseAppSidebarHeader, {\n ...props,\n linkComponent: InertiaLink,\n });\n}\n\nexport function Breadcrumbs(props: {\n breadcrumbs: BreadcrumbItem[];\n}): ReactElement {\n return createElement(BaseBreadcrumbs, {\n ...props,\n linkComponent: InertiaLink,\n });\n}\n\nexport function NavMain(props: {\n items: NavItem[];\n label?: string;\n collapsible?: boolean;\n defaultOpen?: boolean;\n collapsedGroups?: string[];\n onCollapsedChange?: (collapsedGroups: string[]) => void;\n}): ReactElement {\n return createElement(BaseNavMain, {\n ...props,\n currentUrl: usePage().url,\n linkComponent: InertiaLink,\n });\n}\n\nexport function SettingsLayout(\n props: PropsWithChildren<{\n items: NavItem[];\n title?: string;\n description?: string;\n wide?: boolean;\n }>,\n): ReactElement {\n return createElement(BaseSettingsLayout, {\n ...props,\n currentPath: usePage().url,\n linkComponent: InertiaLink,\n });\n}\n\ninterface LoginPostFormRenderProps {\n processing: boolean;\n errors: Partial<Record<'email' | 'password' | 'remember', string>>;\n}\n\ninterface LoginPostFormProps {\n action: string;\n method: 'post';\n resetOnSuccess: string[];\n className?: string;\n 'data-slot': string;\n children: (props: LoginPostFormRenderProps) => ReactNode;\n}\n\nconst LoginPostForm = Form as unknown as ComponentType<LoginPostFormProps>;\n\nexport function InertiaLoginForm({\n action,\n status,\n forgotPasswordHref,\n labels,\n className,\n slotName = 'inertia-login-form',\n}: {\n action: string;\n status?: string;\n forgotPasswordHref?: UrlLike;\n labels?: Partial<LoginFormLabels>;\n className?: string;\n slotName?: string;\n}): ReactElement {\n return createElement(LoginPostForm, {\n action,\n method: 'post',\n resetOnSuccess: ['password'],\n className,\n 'data-slot': slotName,\n children: ({ processing, errors }) =>\n createElement(LoginFormPreset, {\n errors,\n processing,\n status,\n forgotPasswordHref,\n labels,\n linkComponent: InertiaLink,\n }),\n });\n}\n\nexport function InertiaTourProvider({\n children,\n progressUrl,\n labels,\n}: PropsWithChildren<{\n progressUrl: (tour: string) => string;\n labels?: Partial<TourLabels>;\n}>): ReactElement {\n const seen = (usePage().props.tours ?? {}) as Record<string, number>;\n\n return createElement(BaseTourProvider, {\n seen,\n labels,\n children,\n onProgress: (progress: TourProgress) =>\n recordTourProgress(progressUrl(progress.tour), progress),\n });\n}\n","import { useCallback, useEffect, useRef, useState } from 'react';\n\nexport type TableFilterValue = string | string[] | number | null | undefined;\n\nexport type TableFilterQuery = Record<string, string | string[]>;\n\nexport interface TableFiltersVisitOptions {\n data: TableFilterQuery;\n only?: string[];\n preserveState: boolean;\n preserveScroll: boolean;\n replace: boolean;\n onCancelToken: (token: { cancel: () => void }) => void;\n}\n\nexport interface TableFiltersRouter {\n visit: (url: string, options: TableFiltersVisitOptions) => void;\n}\n\nexport interface TableFiltersOptions {\n url: string;\n filters: Record<string, TableFilterValue>;\n only?: string[];\n searchKey?: string;\n pageKey?: string;\n debounce?: number;\n}\n\nexport interface TableFilters {\n search: string;\n setSearch: (value: string) => void;\n filterValues: Record<string, string[]>;\n setFilter: (key: string, values: string[]) => void;\n clearFilters: () => void;\n setPage: (pageIndex: number) => void;\n apply: (changes: Record<string, TableFilterValue>) => void;\n}\n\nexport type UseTableFilters = (options: TableFiltersOptions) => TableFilters;\n\nconst DEFAULT_DEBOUNCE = 300;\n\nexport function toQuery(\n filters: Record<string, TableFilterValue>,\n): TableFilterQuery {\n const query: TableFilterQuery = {};\n\n for (const [key, value] of Object.entries(filters)) {\n if (Array.isArray(value)) {\n const values = value.filter((entry) => entry !== '');\n\n if (values.length > 0) {\n query[key] = values;\n }\n\n continue;\n }\n\n if (value === null || value === undefined || value === '') {\n continue;\n }\n\n query[key] = String(value);\n }\n\n return query;\n}\n\nexport function toFilterValues(\n filters: Record<string, TableFilterValue>,\n exclude: string[] = [],\n): Record<string, string[]> {\n const values: Record<string, string[]> = {};\n\n for (const [key, value] of Object.entries(toQuery(filters))) {\n if (exclude.includes(key)) {\n continue;\n }\n\n values[key] = Array.isArray(value) ? value : [value];\n }\n\n return values;\n}\n\nexport function createTableFiltersHook(\n router: TableFiltersRouter,\n): UseTableFilters {\n return function useTableFilters({\n url,\n filters,\n only,\n searchKey = 'search',\n pageKey = 'page',\n debounce = DEFAULT_DEBOUNCE,\n }: TableFiltersOptions): TableFilters {\n const initialSearch = filters[searchKey];\n const [search, setSearchState] = useState(\n typeof initialSearch === 'string' ? initialSearch : '',\n );\n const timer = useRef<ReturnType<typeof setTimeout> | null>(null);\n const pending = useRef<{ cancel: () => void } | null>(null);\n const state = useRef({ url, filters, only, searchKey, pageKey });\n\n state.current = { url, filters, only, searchKey, pageKey };\n\n const visit = useCallback(\n (changes: Record<string, TableFilterValue>) => {\n const current = state.current;\n\n pending.current?.cancel();\n\n router.visit(current.url, {\n data: toQuery({ ...current.filters, ...changes }),\n only: current.only,\n preserveState: true,\n preserveScroll: true,\n replace: true,\n onCancelToken: (token) => {\n pending.current = token;\n },\n });\n },\n [],\n );\n\n const cancelPendingSearch = useCallback(() => {\n if (timer.current !== null) {\n clearTimeout(timer.current);\n timer.current = null;\n }\n }, []);\n\n useEffect(() => cancelPendingSearch, [cancelPendingSearch]);\n\n const setSearch = useCallback(\n (value: string) => {\n setSearchState(value);\n cancelPendingSearch();\n\n timer.current = setTimeout(() => {\n timer.current = null;\n visit({\n [state.current.searchKey]: value,\n [state.current.pageKey]: null,\n });\n }, debounce);\n },\n [cancelPendingSearch, debounce, visit],\n );\n\n const setFilter = useCallback(\n (key: string, values: string[]) => {\n cancelPendingSearch();\n visit({ [key]: values, [state.current.pageKey]: null });\n },\n [cancelPendingSearch, visit],\n );\n\n const clearFilters = useCallback(() => {\n cancelPendingSearch();\n setSearchState('');\n\n const current = state.current;\n const cleared = Object.fromEntries(\n Object.keys(current.filters).map((key) => [key, null]),\n );\n\n visit({ ...cleared, [current.pageKey]: null });\n }, [cancelPendingSearch, visit]);\n\n const setPage = useCallback(\n (pageIndex: number) => {\n visit({\n [state.current.pageKey]:\n pageIndex > 0 ? pageIndex + 1 : null,\n });\n },\n [visit],\n );\n\n const apply = useCallback(\n (changes: Record<string, TableFilterValue>) => {\n cancelPendingSearch();\n visit({ ...changes, [state.current.pageKey]: null });\n },\n [cancelPendingSearch, visit],\n );\n\n return {\n search,\n setSearch,\n filterValues: toFilterValues(filters, [searchKey, pageKey]),\n setFilter,\n clearFilters,\n setPage,\n apply,\n };\n };\n}\n","import type { TourProgress } from '@/blocks/tour';\n\nexport function xsrfToken(): string {\n const cookie = document.cookie\n .split('; ')\n .find((entry) => entry.startsWith('XSRF-TOKEN='));\n\n return cookie ? decodeURIComponent(cookie.slice('XSRF-TOKEN='.length)) : '';\n}\n\nexport function recordTourProgress(url: string, progress: TourProgress): void {\n void fetch(url, {\n method: 'POST',\n credentials: 'same-origin',\n keepalive: true,\n headers: {\n 'Content-Type': 'application/json',\n Accept: 'application/json',\n 'X-Requested-With': 'XMLHttpRequest',\n 'X-XSRF-TOKEN': xsrfToken(),\n },\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A,IAC3B;AAAA,IACA,aAAa;AAAA,IACb,UAAU,CAAC,EAAE,YAAY,OAAO,MAC5B,cAAc,iBAAiB;AAAA,MAC3B;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA,eAAe;AAAA,IACnB,CAAC;AAAA,EACT,CAAC;AACL;AAEO,SAAS,oBAAoB;AAAA,EAChC;AAAA,EACA;AAAA,EACA;AACJ,GAGkB;AACd,QAAM,OAAQ,QAAQ,EAAE,MAAM,SAAS,CAAC;AAExC,SAAO,cAAc,cAAkB;AAAA,IACnC;AAAA,IACA;AAAA,IACA;AAAA,IACA,YAAY,CAAC,aACT,mBAAmB,YAAY,SAAS,IAAI,GAAG,QAAQ;AAAA,EAC/D,CAAC;AACL;","names":["router","useTableFilters","AppSidebar","AppSidebarHeader","Breadcrumbs","NavMain","SettingsLayout"]}
@@ -1,7 +1,7 @@
1
1
  import * as class_variance_authority_types from 'class-variance-authority/types';
2
2
  import { VariantProps } from 'class-variance-authority';
3
3
  import * as React from 'react';
4
- import { S as SlotNameProps } from './types-cmBL8zOc.js';
4
+ import { S as SlotNameProps } from './types-CMZRvMV5.js';
5
5
 
6
6
  declare const buttonVariants: (props?: ({
7
7
  variant?: "default" | "link" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { S as SlotNameProps } from './types-cmBL8zOc.js';
2
+ import { S as SlotNameProps } from './types-CMZRvMV5.js';
3
3
 
4
4
  interface CodeBlockLabels {
5
5
  copyLabel: string;
@@ -0,0 +1,44 @@
1
+ import { G as AlertLabels, J as AppearanceToggleLabels, M as ComboboxLabels, ar as CommandPaletteLabels, Q as ConfirmDialogLabels, C as CopyButtonLabels, W as DataTableFacetedFilterLabels, Y as DataTableLabels, a as DateFilterLabels, b as DateFilterOption, a0 as DatePickerLabels, a3 as DateRangeFilterLabels, F as FloatingSheetLabels, as as FullUiLabels, a7 as PasswordInputLabels, ab as SaveStatusLabels, q as SettingsLabels } from '../context-2wTOwxCk.js';
2
+ import { e as DangerZoneLabels, a as FormOverlayLabels, i as TwoFactorLabels } from '../types-CfAUvz--.js';
3
+ import { a as LoginFormLabels, e as TourLabels } from '../types-1LUmNJf_.js';
4
+ import { a as CodeBlockLabels, c as JsonViewerLabels } from '../json-viewer-Bssv9mTD.js';
5
+ import { f as FieldLabels } from '../field-C1TdmC2t.js';
6
+ import 'react';
7
+ import 'lucide-react';
8
+ import '../types-CMZRvMV5.js';
9
+ import '@tanstack/react-table';
10
+ import 'class-variance-authority/types';
11
+ import 'class-variance-authority';
12
+ import '../input-B4uEClxB.js';
13
+ import '@radix-ui/react-slot';
14
+ import '@radix-ui/react-label';
15
+
16
+ declare const alertLabelsFr: AlertLabels;
17
+ declare const appearanceToggleLabelsFr: AppearanceToggleLabels;
18
+ declare const dataTableLabelsFr: DataTableLabels;
19
+ declare const floatingSheetLabelsFr: FloatingSheetLabels;
20
+ declare const formOverlayLabelsFr: FormOverlayLabels;
21
+ declare const dateRangeFilterLabelsFr: DateRangeFilterLabels;
22
+ declare const datePickerLabelsFr: DatePickerLabels;
23
+ declare const comboboxLabelsFr: ComboboxLabels;
24
+ declare const confirmDialogLabelsFr: ConfirmDialogLabels;
25
+ declare const fieldLabelsFr: FieldLabels;
26
+ declare const passwordInputLabelsFr: PasswordInputLabels;
27
+ declare const dataTableFacetedFilterLabelsFr: DataTableFacetedFilterLabels;
28
+ declare const commandPaletteLabelsFr: CommandPaletteLabels;
29
+ declare const tourLabelsFr: TourLabels;
30
+ declare const dateFilterPresetsFr: DateFilterOption[];
31
+ declare const dateFilterOperatorsFr: DateFilterOption[];
32
+ declare const dateFilterUnitsFr: DateFilterOption[];
33
+ declare const dateFilterLabelsFr: DateFilterLabels;
34
+ declare const settingsLabelsFr: SettingsLabels;
35
+ declare const saveStatusLabelsFr: SaveStatusLabels;
36
+ declare const copyButtonLabelsFr: CopyButtonLabels;
37
+ declare const loginFormLabelsFr: LoginFormLabels;
38
+ declare const twoFactorLabelsFr: TwoFactorLabels;
39
+ declare const dangerZoneLabelsFr: DangerZoneLabels;
40
+ declare const codeBlockLabelsFr: CodeBlockLabels;
41
+ declare const jsonViewerLabelsFr: JsonViewerLabels;
42
+ declare const frLabels: FullUiLabels;
43
+
44
+ export { alertLabelsFr, appearanceToggleLabelsFr, codeBlockLabelsFr, comboboxLabelsFr, commandPaletteLabelsFr, confirmDialogLabelsFr, copyButtonLabelsFr, dangerZoneLabelsFr, dataTableFacetedFilterLabelsFr, dataTableLabelsFr, dateFilterLabelsFr, dateFilterOperatorsFr, dateFilterPresetsFr, dateFilterUnitsFr, datePickerLabelsFr, dateRangeFilterLabelsFr, fieldLabelsFr, floatingSheetLabelsFr, formOverlayLabelsFr, frLabels, jsonViewerLabelsFr, loginFormLabelsFr, passwordInputLabelsFr, saveStatusLabelsFr, settingsLabelsFr, tourLabelsFr, twoFactorLabelsFr };
@@ -0,0 +1,248 @@
1
+ // src/locales/fr.ts
2
+ var alertLabelsFr = {
3
+ warningLabel: "Avertissement",
4
+ infoLabel: "Information"
5
+ };
6
+ var appearanceToggleLabelsFr = {
7
+ groupLabel: "Apparence",
8
+ lightLabel: "Clair",
9
+ darkLabel: "Sombre",
10
+ systemLabel: "Syst\xE8me"
11
+ };
12
+ var dataTableLabelsFr = {
13
+ searchPlaceholder: "Rechercher...",
14
+ emptyLabel: "Aucun r\xE9sultat.",
15
+ createLabel: "Nouveau",
16
+ clearFiltersLabel: "Effacer les filtres",
17
+ paginationLabel: (page, pages) => `Page ${page} sur ${pages}`,
18
+ noOptionsLabel: "Aucune option.",
19
+ totalLabel: (total) => `${total.toLocaleString("fr-FR")} enregistrements`
20
+ };
21
+ var floatingSheetLabelsFr = {
22
+ backLabel: "Retour",
23
+ closeLabel: "Fermer"
24
+ };
25
+ var formOverlayLabelsFr = {
26
+ cancelLabel: "Annuler",
27
+ saveLabel: "Enregistrer",
28
+ savingLabel: "Enregistrement..."
29
+ };
30
+ var dateRangeFilterLabelsFr = {
31
+ emptyLabel: "Plage de dates",
32
+ dateFormat: "dd/MM/yy"
33
+ };
34
+ var datePickerLabelsFr = {
35
+ placeholder: "Choisir une date",
36
+ dateFormat: "dd/MM/yy",
37
+ clearLabel: "Effacer la date"
38
+ };
39
+ var comboboxLabelsFr = {
40
+ placeholder: "S\xE9lectionnez une option",
41
+ searchPlaceholder: "Rechercher...",
42
+ emptyText: "Aucun r\xE9sultat."
43
+ };
44
+ var confirmDialogLabelsFr = {
45
+ title: "Confirmer l'action",
46
+ description: "\xCAtes-vous s\xFBr de vouloir continuer ? Cette action ne peut pas \xEAtre annul\xE9e.",
47
+ confirmText: "Confirmer",
48
+ cancelText: "Annuler"
49
+ };
50
+ var fieldLabelsFr = {
51
+ requiredLabel: "Obligatoire"
52
+ };
53
+ var passwordInputLabelsFr = {
54
+ showLabel: "Afficher le mot de passe",
55
+ hideLabel: "Masquer le mot de passe"
56
+ };
57
+ var dataTableFacetedFilterLabelsFr = {
58
+ noOptionsLabel: "Aucune option."
59
+ };
60
+ var commandPaletteLabelsFr = {
61
+ placeholder: "Rechercher...",
62
+ noResultsLabel: "Aucun r\xE9sultat trouv\xE9"
63
+ };
64
+ var tourLabelsFr = {
65
+ next: "Suivant",
66
+ previous: "Pr\xE9c\xE9dent",
67
+ done: "Terminer",
68
+ progress: "{{current}} sur {{total}}"
69
+ };
70
+ var dateFilterPresetsFr = [
71
+ { value: "today", label: "Aujourd'hui" },
72
+ { value: "yesterday", label: "Hier" },
73
+ { value: "previous_week", label: "Semaine pr\xE9c\xE9dente" },
74
+ { value: "previous_7_days", label: "7 derniers jours" },
75
+ { value: "previous_30_days", label: "30 derniers jours" },
76
+ { value: "previous_month", label: "Mois pr\xE9c\xE9dent" },
77
+ { value: "previous_3_months", label: "3 derniers mois" },
78
+ { value: "previous_12_months", label: "12 derniers mois" }
79
+ ];
80
+ var dateFilterOperatorsFr = [
81
+ { value: "between", label: "Entre" },
82
+ { value: "before", label: "Avant" },
83
+ { value: "on", label: "Le" },
84
+ { value: "after", label: "Apr\xE8s" }
85
+ ];
86
+ var dateFilterUnitsFr = [
87
+ { value: "day", label: "jours" },
88
+ { value: "week", label: "semaines" },
89
+ { value: "month", label: "mois" },
90
+ { value: "quarter", label: "trimestres" },
91
+ { value: "year", label: "ans" }
92
+ ];
93
+ var dateFilterLabelsFr = {
94
+ all: "Toute la p\xE9riode",
95
+ fixed: "Plage fixe...",
96
+ relative: "Plage relative...",
97
+ relativeTitle: "Plage relative",
98
+ apply: "Appliquer le filtre",
99
+ back: "Retour",
100
+ latest: "Derniers",
101
+ ago: "il y a",
102
+ includeCurrent: "Inclure la p\xE9riode actuelle",
103
+ startingAgo: "\xC0 partir de",
104
+ removeOffset: "Supprimer le d\xE9calage",
105
+ fallback: "Date"
106
+ };
107
+ var settingsLabelsFr = {
108
+ back: "Retour"
109
+ };
110
+ var saveStatusLabelsFr = {
111
+ error: "Vos modifications n'ont pas pu \xEAtre enregistr\xE9es",
112
+ idle: "Les modifications sont enregistr\xE9es automatiquement",
113
+ saved: "Enregistr\xE9",
114
+ saving: "Enregistrement"
115
+ };
116
+ var copyButtonLabelsFr = {
117
+ copyLabel: "Copier",
118
+ copiedLabel: "Copi\xE9"
119
+ };
120
+ var loginFormLabelsFr = {
121
+ emailLabel: "Adresse e-mail",
122
+ emailPlaceholder: "email@exemple.com",
123
+ passwordLabel: "Mot de passe",
124
+ passwordPlaceholder: "Mot de passe",
125
+ forgotPasswordLabel: "Mot de passe oubli\xE9 ?",
126
+ rememberLabel: "Se souvenir de moi",
127
+ submitLabel: "Se connecter",
128
+ submittingLabel: "Connexion"
129
+ };
130
+ var twoFactorLabelsFr = {
131
+ setupTitle: "Authentification \xE0 deux facteurs",
132
+ setupDescription: "Ajoutez une seconde \xE9tape \xE0 votre connexion avec une application authentificatrice.",
133
+ pendingLabel: "Pr\xE9paration de votre cl\xE9 de configuration",
134
+ scanTitle: "Scannez le code",
135
+ scanDescription: "Ouvrez l'application authentificatrice et scannez le code ci-dessous pour ajouter ce compte.",
136
+ qrFallbackLabel: "Le code QR n'est pas encore disponible.",
137
+ manualKeyLabel: "Cl\xE9 de configuration",
138
+ manualKeyDescription: "Saisissez cette cl\xE9 manuellement si l'application ne peut pas scanner le code.",
139
+ manualKeyRevealLabel: "Afficher la cl\xE9",
140
+ manualKeyHideLabel: "Masquer la cl\xE9",
141
+ continueLabel: "Continuer",
142
+ confirmTitle: "Confirmez le code",
143
+ confirmDescription: "Saisissez le code \xE0 six chiffres affich\xE9 dans l'application authentificatrice.",
144
+ codeLabel: "Code d'authentification",
145
+ recoveryCodeLabel: "Code de r\xE9cup\xE9ration",
146
+ recoveryCodePlaceholder: "Saisissez un code de r\xE9cup\xE9ration",
147
+ useRecoveryCodeLabel: "Utiliser un code de r\xE9cup\xE9ration",
148
+ useCodeLabel: "Utiliser un code d'authentification",
149
+ verifyLabel: "V\xE9rifier",
150
+ verifyingLabel: "V\xE9rification",
151
+ errorFallbackLabel: "Cela n'a pas fonctionn\xE9. R\xE9essayez.",
152
+ cancelLabel: "Annuler",
153
+ challengeTitle: "Confirmation \xE0 deux facteurs",
154
+ challengeDescription: "Confirmez l'acc\xE8s \xE0 votre compte avec le code de l'application authentificatrice.",
155
+ recoveryTitle: "Codes de r\xE9cup\xE9ration",
156
+ recoveryDescription: "Conservez ces codes en lieu s\xFBr. Chacun vous permet de vous connecter une fois si vous perdez votre appareil.",
157
+ recoveryWarning: "Ils ne sont affich\xE9s qu'une seule fois et ne peuvent pas \xEAtre consult\xE9s \xE0 nouveau.",
158
+ revealLabel: "Afficher les codes",
159
+ hideLabel: "Masquer les codes",
160
+ copyLabel: "Copier",
161
+ copiedLabel: "Copi\xE9",
162
+ copyFailedLabel: "Impossible de copier ici. S\xE9lectionnez les codes manuellement.",
163
+ regenerateLabel: "R\xE9g\xE9n\xE9rer les codes",
164
+ doneLabel: "Terminer",
165
+ disableLabel: "D\xE9sactiver l'authentification \xE0 deux facteurs",
166
+ disableTitle: "D\xE9sactiver l'authentification \xE0 deux facteurs",
167
+ disableDescription: "Votre compte ne sera plus prot\xE9g\xE9 que par le mot de passe. Les codes de r\xE9cup\xE9ration cesseront de fonctionner.",
168
+ disableConfirmLabel: "D\xE9sactiver",
169
+ disableCancelLabel: "Garder active"
170
+ };
171
+ var dangerZoneLabelsFr = {
172
+ title: "Zone de danger",
173
+ description: "Ces actions sont d\xE9finitives et ne peuvent pas \xEAtre annul\xE9es.",
174
+ actionLabel: "Supprimer",
175
+ confirmTitle: "Confirmer l'action",
176
+ confirmDescription: "\xCAtes-vous s\xFBr de vouloir continuer ? Cette action ne peut pas \xEAtre annul\xE9e.",
177
+ confirmText: "Confirmer",
178
+ cancelText: "Annuler",
179
+ requiredValueLabel: "Saisissez {{value}} pour confirmer"
180
+ };
181
+ var codeBlockLabelsFr = {
182
+ copyLabel: "Copier",
183
+ copiedLabel: "Copi\xE9",
184
+ expandLabel: "D\xE9velopper",
185
+ collapseLabel: "R\xE9duire"
186
+ };
187
+ var jsonViewerLabelsFr = {
188
+ copyLabel: "Copier",
189
+ copiedLabel: "Copi\xE9",
190
+ expandLabel: "D\xE9velopper",
191
+ collapseLabel: "R\xE9duire",
192
+ circularLabel: "R\xE9f\xE9rence circulaire",
193
+ entriesLabel: (count) => `${count} ${count === 1 ? "entr\xE9e" : "entr\xE9es"}`
194
+ };
195
+ var frLabels = {
196
+ alert: alertLabelsFr,
197
+ codeBlock: codeBlockLabelsFr,
198
+ combobox: comboboxLabelsFr,
199
+ commandPalette: commandPaletteLabelsFr,
200
+ confirmDialog: confirmDialogLabelsFr,
201
+ appearanceToggle: appearanceToggleLabelsFr,
202
+ copyButton: copyButtonLabelsFr,
203
+ dataTable: dataTableLabelsFr,
204
+ dataTableFacetedFilter: dataTableFacetedFilterLabelsFr,
205
+ dateFilter: dateFilterLabelsFr,
206
+ dateFilterOperators: dateFilterOperatorsFr,
207
+ dateFilterPresets: dateFilterPresetsFr,
208
+ dateFilterUnits: dateFilterUnitsFr,
209
+ datePicker: datePickerLabelsFr,
210
+ dateRangeFilter: dateRangeFilterLabelsFr,
211
+ floatingSheet: floatingSheetLabelsFr,
212
+ jsonViewer: jsonViewerLabelsFr,
213
+ loginForm: loginFormLabelsFr,
214
+ passwordInput: passwordInputLabelsFr,
215
+ saveStatus: saveStatusLabelsFr,
216
+ settings: settingsLabelsFr,
217
+ tour: tourLabelsFr
218
+ };
219
+ export {
220
+ alertLabelsFr,
221
+ appearanceToggleLabelsFr,
222
+ codeBlockLabelsFr,
223
+ comboboxLabelsFr,
224
+ commandPaletteLabelsFr,
225
+ confirmDialogLabelsFr,
226
+ copyButtonLabelsFr,
227
+ dangerZoneLabelsFr,
228
+ dataTableFacetedFilterLabelsFr,
229
+ dataTableLabelsFr,
230
+ dateFilterLabelsFr,
231
+ dateFilterOperatorsFr,
232
+ dateFilterPresetsFr,
233
+ dateFilterUnitsFr,
234
+ datePickerLabelsFr,
235
+ dateRangeFilterLabelsFr,
236
+ fieldLabelsFr,
237
+ floatingSheetLabelsFr,
238
+ formOverlayLabelsFr,
239
+ frLabels,
240
+ jsonViewerLabelsFr,
241
+ loginFormLabelsFr,
242
+ passwordInputLabelsFr,
243
+ saveStatusLabelsFr,
244
+ settingsLabelsFr,
245
+ tourLabelsFr,
246
+ twoFactorLabelsFr
247
+ };
248
+ //# sourceMappingURL=fr.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/locales/fr.ts"],"sourcesContent":["import type { CommandPaletteLabels } from '@/blocks/command-palette';\nimport type { DangerZoneLabels } from '@/blocks/danger-zone';\nimport type {\n DateFilterLabels,\n DateFilterOption,\n} from '@/blocks/date-filter/types';\nimport type { FormOverlayLabels } from '@/blocks/form-overlay';\nimport type { LoginFormLabels } from '@/blocks/login-form/types';\nimport type { SettingsLabels } from '@/blocks/settings-page';\nimport type { TourLabels } from '@/blocks/tour/types';\nimport type { TwoFactorLabels } from '@/blocks/two-factor/types';\nimport type { AlertLabels } from '@/components/ui/alert';\nimport type { AppearanceToggleLabels } from '@/components/ui/appearance-toggle';\nimport type { CodeBlockLabels } from '@/components/ui/code-block';\nimport type { ComboboxLabels } from '@/components/ui/combobox';\nimport type { ConfirmDialogLabels } from '@/components/ui/confirm-dialog';\nimport type { CopyButtonLabels } from '@/components/ui/copy-button';\nimport type { DataTableLabels } from '@/components/ui/data-table';\nimport type { DataTableFacetedFilterLabels } from '@/components/ui/data-table-faceted-filter';\nimport type { DatePickerLabels } from '@/components/ui/date-picker';\nimport type { DateRangeFilterLabels } from '@/components/ui/date-range-filter';\nimport type { FieldLabels } from '@/components/ui/field';\nimport type { FloatingSheetLabels } from '@/components/ui/floating-sheet';\nimport type { JsonViewerLabels } from '@/components/ui/json-viewer';\nimport type { PasswordInputLabels } from '@/components/ui/password-input';\nimport type { SaveStatusLabels } from '@/components/ui/save-status';\nimport type { FullUiLabels } from '@/locales/context';\n\nexport const alertLabelsFr: AlertLabels = {\n warningLabel: 'Avertissement',\n infoLabel: 'Information',\n};\n\nexport const appearanceToggleLabelsFr: AppearanceToggleLabels = {\n groupLabel: 'Apparence',\n lightLabel: 'Clair',\n darkLabel: 'Sombre',\n systemLabel: 'Système',\n};\n\nexport const dataTableLabelsFr: DataTableLabels = {\n searchPlaceholder: 'Rechercher...',\n emptyLabel: 'Aucun résultat.',\n createLabel: 'Nouveau',\n clearFiltersLabel: 'Effacer les filtres',\n paginationLabel: (page, pages) => `Page ${page} sur ${pages}`,\n noOptionsLabel: 'Aucune option.',\n totalLabel: (total) => `${total.toLocaleString('fr-FR')} enregistrements`,\n};\n\nexport const floatingSheetLabelsFr: FloatingSheetLabels = {\n backLabel: 'Retour',\n closeLabel: 'Fermer',\n};\n\nexport const formOverlayLabelsFr: FormOverlayLabels = {\n cancelLabel: 'Annuler',\n saveLabel: 'Enregistrer',\n savingLabel: 'Enregistrement...',\n};\n\nexport const dateRangeFilterLabelsFr: DateRangeFilterLabels = {\n emptyLabel: 'Plage de dates',\n dateFormat: 'dd/MM/yy',\n};\n\nexport const datePickerLabelsFr: DatePickerLabels = {\n placeholder: 'Choisir une date',\n dateFormat: 'dd/MM/yy',\n clearLabel: 'Effacer la date',\n};\n\nexport const comboboxLabelsFr: ComboboxLabels = {\n placeholder: 'Sélectionnez une option',\n searchPlaceholder: 'Rechercher...',\n emptyText: 'Aucun résultat.',\n};\n\nexport const confirmDialogLabelsFr: ConfirmDialogLabels = {\n title: \"Confirmer l'action\",\n description:\n 'Êtes-vous sûr de vouloir continuer ? Cette action ne peut pas être annulée.',\n confirmText: 'Confirmer',\n cancelText: 'Annuler',\n};\n\nexport const fieldLabelsFr: FieldLabels = {\n requiredLabel: 'Obligatoire',\n};\n\nexport const passwordInputLabelsFr: PasswordInputLabels = {\n showLabel: 'Afficher le mot de passe',\n hideLabel: 'Masquer le mot de passe',\n};\n\nexport const dataTableFacetedFilterLabelsFr: DataTableFacetedFilterLabels = {\n noOptionsLabel: 'Aucune option.',\n};\n\nexport const commandPaletteLabelsFr: CommandPaletteLabels = {\n placeholder: 'Rechercher...',\n noResultsLabel: 'Aucun résultat trouvé',\n};\n\nexport const tourLabelsFr: TourLabels = {\n next: 'Suivant',\n previous: 'Précédent',\n done: 'Terminer',\n progress: '{{current}} sur {{total}}',\n};\n\nexport const dateFilterPresetsFr: DateFilterOption[] = [\n { value: 'today', label: \"Aujourd'hui\" },\n { value: 'yesterday', label: 'Hier' },\n { value: 'previous_week', label: 'Semaine précédente' },\n { value: 'previous_7_days', label: '7 derniers jours' },\n { value: 'previous_30_days', label: '30 derniers jours' },\n { value: 'previous_month', label: 'Mois précédent' },\n { value: 'previous_3_months', label: '3 derniers mois' },\n { value: 'previous_12_months', label: '12 derniers mois' },\n];\n\nexport const dateFilterOperatorsFr: DateFilterOption[] = [\n { value: 'between', label: 'Entre' },\n { value: 'before', label: 'Avant' },\n { value: 'on', label: 'Le' },\n { value: 'after', label: 'Après' },\n];\n\nexport const dateFilterUnitsFr: DateFilterOption[] = [\n { value: 'day', label: 'jours' },\n { value: 'week', label: 'semaines' },\n { value: 'month', label: 'mois' },\n { value: 'quarter', label: 'trimestres' },\n { value: 'year', label: 'ans' },\n];\n\nexport const dateFilterLabelsFr: DateFilterLabels = {\n all: 'Toute la période',\n fixed: 'Plage fixe...',\n relative: 'Plage relative...',\n relativeTitle: 'Plage relative',\n apply: 'Appliquer le filtre',\n back: 'Retour',\n latest: 'Derniers',\n ago: 'il y a',\n includeCurrent: 'Inclure la période actuelle',\n startingAgo: 'À partir de',\n removeOffset: 'Supprimer le décalage',\n fallback: 'Date',\n};\n\nexport const settingsLabelsFr: SettingsLabels = {\n back: 'Retour',\n};\n\nexport const saveStatusLabelsFr: SaveStatusLabels = {\n error: \"Vos modifications n'ont pas pu être enregistrées\",\n idle: 'Les modifications sont enregistrées automatiquement',\n saved: 'Enregistré',\n saving: 'Enregistrement',\n};\n\nexport const copyButtonLabelsFr: CopyButtonLabels = {\n copyLabel: 'Copier',\n copiedLabel: 'Copié',\n};\n\nexport const loginFormLabelsFr: LoginFormLabels = {\n emailLabel: 'Adresse e-mail',\n emailPlaceholder: 'email@exemple.com',\n passwordLabel: 'Mot de passe',\n passwordPlaceholder: 'Mot de passe',\n forgotPasswordLabel: 'Mot de passe oublié ?',\n rememberLabel: 'Se souvenir de moi',\n submitLabel: 'Se connecter',\n submittingLabel: 'Connexion',\n};\n\nexport const twoFactorLabelsFr: TwoFactorLabels = {\n setupTitle: 'Authentification à deux facteurs',\n setupDescription:\n 'Ajoutez une seconde étape à votre connexion avec une application authentificatrice.',\n pendingLabel: 'Préparation de votre clé de configuration',\n scanTitle: 'Scannez le code',\n scanDescription:\n \"Ouvrez l'application authentificatrice et scannez le code ci-dessous pour ajouter ce compte.\",\n qrFallbackLabel: \"Le code QR n'est pas encore disponible.\",\n manualKeyLabel: 'Clé de configuration',\n manualKeyDescription:\n \"Saisissez cette clé manuellement si l'application ne peut pas scanner le code.\",\n manualKeyRevealLabel: 'Afficher la clé',\n manualKeyHideLabel: 'Masquer la clé',\n continueLabel: 'Continuer',\n confirmTitle: 'Confirmez le code',\n confirmDescription:\n \"Saisissez le code à six chiffres affiché dans l'application authentificatrice.\",\n codeLabel: \"Code d'authentification\",\n recoveryCodeLabel: 'Code de récupération',\n recoveryCodePlaceholder: 'Saisissez un code de récupération',\n useRecoveryCodeLabel: 'Utiliser un code de récupération',\n useCodeLabel: \"Utiliser un code d'authentification\",\n verifyLabel: 'Vérifier',\n verifyingLabel: 'Vérification',\n errorFallbackLabel: \"Cela n'a pas fonctionné. Réessayez.\",\n cancelLabel: 'Annuler',\n challengeTitle: 'Confirmation à deux facteurs',\n challengeDescription:\n \"Confirmez l'accès à votre compte avec le code de l'application authentificatrice.\",\n recoveryTitle: 'Codes de récupération',\n recoveryDescription:\n 'Conservez ces codes en lieu sûr. Chacun vous permet de vous connecter une fois si vous perdez votre appareil.',\n recoveryWarning:\n \"Ils ne sont affichés qu'une seule fois et ne peuvent pas être consultés à nouveau.\",\n revealLabel: 'Afficher les codes',\n hideLabel: 'Masquer les codes',\n copyLabel: 'Copier',\n copiedLabel: 'Copié',\n copyFailedLabel:\n 'Impossible de copier ici. Sélectionnez les codes manuellement.',\n regenerateLabel: 'Régénérer les codes',\n doneLabel: 'Terminer',\n disableLabel: \"Désactiver l'authentification à deux facteurs\",\n disableTitle: \"Désactiver l'authentification à deux facteurs\",\n disableDescription:\n 'Votre compte ne sera plus protégé que par le mot de passe. Les codes de récupération cesseront de fonctionner.',\n disableConfirmLabel: 'Désactiver',\n disableCancelLabel: 'Garder active',\n};\n\nexport const dangerZoneLabelsFr: DangerZoneLabels = {\n title: 'Zone de danger',\n description:\n 'Ces actions sont définitives et ne peuvent pas être annulées.',\n actionLabel: 'Supprimer',\n confirmTitle: \"Confirmer l'action\",\n confirmDescription:\n 'Êtes-vous sûr de vouloir continuer ? Cette action ne peut pas être annulée.',\n confirmText: 'Confirmer',\n cancelText: 'Annuler',\n requiredValueLabel: 'Saisissez {{value}} pour confirmer',\n};\n\nexport const codeBlockLabelsFr: CodeBlockLabels = {\n copyLabel: 'Copier',\n copiedLabel: 'Copié',\n expandLabel: 'Développer',\n collapseLabel: 'Réduire',\n};\n\nexport const jsonViewerLabelsFr: JsonViewerLabels = {\n copyLabel: 'Copier',\n copiedLabel: 'Copié',\n expandLabel: 'Développer',\n collapseLabel: 'Réduire',\n circularLabel: 'Référence circulaire',\n entriesLabel: (count) => `${count} ${count === 1 ? 'entrée' : 'entrées'}`,\n};\n\nexport const frLabels: FullUiLabels = {\n alert: alertLabelsFr,\n codeBlock: codeBlockLabelsFr,\n combobox: comboboxLabelsFr,\n commandPalette: commandPaletteLabelsFr,\n confirmDialog: confirmDialogLabelsFr,\n appearanceToggle: appearanceToggleLabelsFr,\n copyButton: copyButtonLabelsFr,\n dataTable: dataTableLabelsFr,\n dataTableFacetedFilter: dataTableFacetedFilterLabelsFr,\n dateFilter: dateFilterLabelsFr,\n dateFilterOperators: dateFilterOperatorsFr,\n dateFilterPresets: dateFilterPresetsFr,\n dateFilterUnits: dateFilterUnitsFr,\n datePicker: datePickerLabelsFr,\n dateRangeFilter: dateRangeFilterLabelsFr,\n floatingSheet: floatingSheetLabelsFr,\n jsonViewer: jsonViewerLabelsFr,\n loginForm: loginFormLabelsFr,\n passwordInput: passwordInputLabelsFr,\n saveStatus: saveStatusLabelsFr,\n settings: settingsLabelsFr,\n tour: tourLabelsFr,\n};\n"],"mappings":";AA4BO,IAAM,gBAA6B;AAAA,EACtC,cAAc;AAAA,EACd,WAAW;AACf;AAEO,IAAM,2BAAmD;AAAA,EAC5D,YAAY;AAAA,EACZ,YAAY;AAAA,EACZ,WAAW;AAAA,EACX,aAAa;AACjB;AAEO,IAAM,oBAAqC;AAAA,EAC9C,mBAAmB;AAAA,EACnB,YAAY;AAAA,EACZ,aAAa;AAAA,EACb,mBAAmB;AAAA,EACnB,iBAAiB,CAAC,MAAM,UAAU,QAAQ,IAAI,QAAQ,KAAK;AAAA,EAC3D,gBAAgB;AAAA,EAChB,YAAY,CAAC,UAAU,GAAG,MAAM,eAAe,OAAO,CA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Y;AAAA,EACZ,iBAAiB;AAAA,EACjB,eAAe;AAAA,EACf,YAAY;AAAA,EACZ,WAAW;AAAA,EACX,eAAe;AAAA,EACf,YAAY;AAAA,EACZ,UAAU;AAAA,EACV,MAAM;AACV;","names":[]}
@@ -1,15 +1,15 @@
1
- import { G as AlertLabels, J as AppearanceToggleLabels, M as ComboboxLabels, ar as CommandPaletteLabels, Q as ConfirmDialogLabels, C as CopyButtonLabels, W as DataTableFacetedFilterLabels, Y as DataTableLabels, a as DateFilterLabels, b as DateFilterOption, a0 as DatePickerLabels, a3 as DateRangeFilterLabels, F as FloatingSheetLabels, a7 as PasswordInputLabels, v as UiLabels, ab as SaveStatusLabels, q as SettingsLabels } from '../context-OwSoVEri.js';
2
- import { e as DangerZoneLabels, a as FormOverlayLabels, i as TwoFactorLabels } from '../types-B-eGPoFD.js';
3
- import { d as TourLabels } from '../types-u1qfmJQi.js';
4
- import { a as CodeBlockLabels, c as JsonViewerLabels } from '../json-viewer-BARA2RCW.js';
5
- import { f as FieldLabels } from '../field-DWm5NXeV.js';
1
+ import { G as AlertLabels, J as AppearanceToggleLabels, M as ComboboxLabels, ar as CommandPaletteLabels, Q as ConfirmDialogLabels, C as CopyButtonLabels, W as DataTableFacetedFilterLabels, Y as DataTableLabels, a as DateFilterLabels, b as DateFilterOption, a0 as DatePickerLabels, a3 as DateRangeFilterLabels, F as FloatingSheetLabels, a7 as PasswordInputLabels, as as FullUiLabels, ab as SaveStatusLabels, q as SettingsLabels } from '../context-2wTOwxCk.js';
2
+ import { e as DangerZoneLabels, a as FormOverlayLabels, i as TwoFactorLabels } from '../types-CfAUvz--.js';
3
+ import { a as LoginFormLabels, e as TourLabels } from '../types-1LUmNJf_.js';
4
+ import { a as CodeBlockLabels, c as JsonViewerLabels } from '../json-viewer-Bssv9mTD.js';
5
+ import { f as FieldLabels } from '../field-C1TdmC2t.js';
6
6
  import 'react';
7
7
  import 'lucide-react';
8
- import '../types-cmBL8zOc.js';
8
+ import '../types-CMZRvMV5.js';
9
9
  import '@tanstack/react-table';
10
10
  import 'class-variance-authority/types';
11
11
  import 'class-variance-authority';
12
- import '../input-Dxnsxi-f.js';
12
+ import '../input-B4uEClxB.js';
13
13
  import '@radix-ui/react-slot';
14
14
  import '@radix-ui/react-label';
15
15
 
@@ -34,10 +34,11 @@ declare const dateFilterLabelsPt: DateFilterLabels;
34
34
  declare const settingsLabelsPt: SettingsLabels;
35
35
  declare const saveStatusLabelsPt: SaveStatusLabels;
36
36
  declare const copyButtonLabelsPt: CopyButtonLabels;
37
+ declare const loginFormLabelsPt: LoginFormLabels;
37
38
  declare const twoFactorLabelsPt: TwoFactorLabels;
38
39
  declare const dangerZoneLabelsPt: DangerZoneLabels;
39
40
  declare const codeBlockLabelsPt: CodeBlockLabels;
40
41
  declare const jsonViewerLabelsPt: JsonViewerLabels;
41
- declare const ptLabels: UiLabels;
42
+ declare const ptLabels: FullUiLabels;
42
43
 
43
- export { alertLabelsPt, appearanceToggleLabelsPt, codeBlockLabelsPt, comboboxLabelsPt, commandPaletteLabelsPt, confirmDialogLabelsPt, copyButtonLabelsPt, dangerZoneLabelsPt, dataTableFacetedFilterLabelsPt, dataTableLabelsPt, dateFilterLabelsPt, dateFilterOperatorsPt, dateFilterPresetsPt, dateFilterUnitsPt, datePickerLabelsPt, dateRangeFilterLabelsPt, fieldLabelsPt, floatingSheetLabelsPt, formOverlayLabelsPt, jsonViewerLabelsPt, passwordInputLabelsPt, ptLabels, saveStatusLabelsPt, settingsLabelsPt, tourLabelsPt, twoFactorLabelsPt };
44
+ export { alertLabelsPt, appearanceToggleLabelsPt, codeBlockLabelsPt, comboboxLabelsPt, commandPaletteLabelsPt, confirmDialogLabelsPt, copyButtonLabelsPt, dangerZoneLabelsPt, dataTableFacetedFilterLabelsPt, dataTableLabelsPt, dateFilterLabelsPt, dateFilterOperatorsPt, dateFilterPresetsPt, dateFilterUnitsPt, datePickerLabelsPt, dateRangeFilterLabelsPt, fieldLabelsPt, floatingSheetLabelsPt, formOverlayLabelsPt, jsonViewerLabelsPt, loginFormLabelsPt, passwordInputLabelsPt, ptLabels, saveStatusLabelsPt, settingsLabelsPt, tourLabelsPt, twoFactorLabelsPt };
@@ -117,6 +117,16 @@ var copyButtonLabelsPt = {
117
117
  copyLabel: "Copiar",
118
118
  copiedLabel: "Copiado"
119
119
  };
120
+ var loginFormLabelsPt = {
121
+ emailLabel: "Endere\xE7o de email",
122
+ emailPlaceholder: "email@exemplo.com",
123
+ passwordLabel: "Palavra-passe",
124
+ passwordPlaceholder: "Palavra-passe",
125
+ forgotPasswordLabel: "Esqueceu-se da palavra-passe?",
126
+ rememberLabel: "Manter sess\xE3o iniciada",
127
+ submitLabel: "Entrar",
128
+ submittingLabel: "A entrar"
129
+ };
120
130
  var twoFactorLabelsPt = {
121
131
  setupTitle: "Autentica\xE7\xE3o de dois fatores",
122
132
  setupDescription: "Acrescente um segundo passo ao seu in\xEDcio de sess\xE3o com uma aplica\xE7\xE3o autenticadora.",
@@ -200,12 +210,39 @@ var ptLabels = {
200
210
  dateRangeFilter: dateRangeFilterLabelsPt,
201
211
  floatingSheet: floatingSheetLabelsPt,
202
212
  jsonViewer: jsonViewerLabelsPt,
213
+ loginForm: loginFormLabelsPt,
203
214
  passwordInput: passwordInputLabelsPt,
204
215
  saveStatus: saveStatusLabelsPt,
205
216
  settings: settingsLabelsPt,
206
217
  tour: tourLabelsPt
207
218
  };
208
-
209
- export { alertLabelsPt, appearanceToggleLabelsPt, codeBlockLabelsPt, comboboxLabelsPt, commandPaletteLabelsPt, confirmDialogLabelsPt, copyButtonLabelsPt, dangerZoneLabelsPt, dataTableFacetedFilterLabelsPt, dataTableLabelsPt, dateFilterLabelsPt, dateFilterOperatorsPt, dateFilterPresetsPt, dateFilterUnitsPt, datePickerLabelsPt, dateRangeFilterLabelsPt, fieldLabelsPt, floatingSheetLabelsPt, formOverlayLabelsPt, jsonViewerLabelsPt, passwordInputLabelsPt, ptLabels, saveStatusLabelsPt, settingsLabelsPt, tourLabelsPt, twoFactorLabelsPt };
210
- //# sourceMappingURL=pt.js.map
219
+ export {
220
+ alertLabelsPt,
221
+ appearanceToggleLabelsPt,
222
+ codeBlockLabelsPt,
223
+ comboboxLabelsPt,
224
+ commandPaletteLabelsPt,
225
+ confirmDialogLabelsPt,
226
+ copyButtonLabelsPt,
227
+ dangerZoneLabelsPt,
228
+ dataTableFacetedFilterLabelsPt,
229
+ dataTableLabelsPt,
230
+ dateFilterLabelsPt,
231
+ dateFilterOperatorsPt,
232
+ dateFilterPresetsPt,
233
+ dateFilterUnitsPt,
234
+ datePickerLabelsPt,
235
+ dateRangeFilterLabelsPt,
236
+ fieldLabelsPt,
237
+ floatingSheetLabelsPt,
238
+ formOverlayLabelsPt,
239
+ jsonViewerLabelsPt,
240
+ loginFormLabelsPt,
241
+ passwordInputLabelsPt,
242
+ ptLabels,
243
+ saveStatusLabelsPt,
244
+ settingsLabelsPt,
245
+ tourLabelsPt,
246
+ twoFactorLabelsPt
247
+ };
211
248
  //# sourceMappingURL=pt.js.map