@synertech/ui 0.50.0 → 0.51.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.
- package/.claude/skills/use-synertech-ui/SKILL.md +19 -10
- package/dist/components/accordion/Accordion.cjs +1 -1
- package/dist/components/accordion/Accordion.js +1 -1
- package/dist/components/advance-detachable/AdvanceDetachable.cjs +1 -1
- package/dist/components/advance-detachable/AdvanceDetachable.js +1 -1
- package/dist/components/chart/ChartPeriodPicker.cjs +1 -1
- package/dist/components/chart/ChartPeriodPicker.js +1 -1
- package/dist/components/datagrid/DataGrid.cjs +1 -1
- package/dist/components/datagrid/DataGrid.js +1 -1
- package/dist/components/detachable/Detachable.cjs +1 -1
- package/dist/components/detachable/Detachable.js +1 -1
- package/dist/components/detachable/useMovableContent.cjs +1 -0
- package/dist/components/detachable/useMovableContent.js +1 -0
- package/dist/components/drawer/Drawer.cjs +1 -1
- package/dist/components/drawer/Drawer.js +1 -1
- package/dist/components/dropdown/DropdownContent.cjs +1 -1
- package/dist/components/dropdown/DropdownContent.js +1 -1
- package/dist/components/dropdown/DropdownSubMenu.cjs +1 -1
- package/dist/components/dropdown/DropdownSubMenu.js +1 -1
- package/dist/components/dropdown/hooks/useClickOutside.cjs +1 -1
- package/dist/components/dropdown/hooks/useClickOutside.js +1 -1
- package/dist/components/dropdown/hooks/usePositioning.cjs +1 -1
- package/dist/components/dropdown/hooks/usePositioning.js +1 -1
- package/dist/components/file-selector/FileSelector.cjs +1 -1
- package/dist/components/file-selector/FileSelector.js +1 -1
- package/dist/components/form/input/Input.cjs +1 -1
- package/dist/components/form/input/Input.js +1 -1
- package/dist/components/form/mention-input/MentionInput.cjs +4 -1
- package/dist/components/form/mention-input/MentionInput.js +4 -1
- package/dist/components/image-uploader/ImageUploader.cjs +1 -1
- package/dist/components/image-uploader/ImageUploader.js +1 -1
- package/dist/components/modal/Modal.cjs +1 -1
- package/dist/components/modal/Modal.js +1 -1
- package/dist/components/schema-editor/SchemaEditor.cjs +1 -1
- package/dist/components/schema-editor/SchemaEditor.js +1 -1
- package/dist/components/schema-editor/SchemaEditor.types.cjs +1 -1
- package/dist/components/schema-editor/minimap/SchemaMinimap.cjs +1 -1
- package/dist/components/schema-editor/minimap/SchemaMinimap.js +1 -1
- package/dist/components/schema-editor/tables/SchemaTableRenderer.cjs +1 -1
- package/dist/components/schema-editor/tables/SchemaTableRenderer.js +1 -1
- package/dist/components/schema-editor/toolbar/SchemaToolbar.cjs +1 -1
- package/dist/components/schema-editor/toolbar/SchemaToolbar.js +1 -1
- package/dist/components/schema-editor/utils/import.cjs +1 -0
- package/dist/components/schema-editor/utils/import.js +1 -0
- package/dist/components/schema-editor/utils/sql-export.cjs +6 -5
- package/dist/components/schema-editor/utils/sql-export.js +7 -6
- package/dist/components/select/Select.cjs +1 -1
- package/dist/components/select/Select.js +1 -1
- package/dist/components/slider/Slider.cjs +1 -1
- package/dist/components/slider/Slider.js +1 -1
- package/dist/components/wizard/Wizard.cjs +1 -1
- package/dist/components/wizard/Wizard.js +1 -1
- package/dist/components/workflow-editor/WorkflowEditor.cjs +1 -1
- package/dist/components/workflow-editor/WorkflowEditor.js +1 -1
- package/dist/components/workflow-editor/nodes/WorkflowNodeRenderer.cjs +1 -1
- package/dist/components/workflow-editor/nodes/WorkflowNodeRenderer.js +1 -1
- package/dist/components/workflow-editor/toolbar/WorkflowToolbar.cjs +1 -1
- package/dist/components/workflow-editor/toolbar/WorkflowToolbar.js +1 -1
- package/dist/components/workflow-editor/utils/import.cjs +1 -0
- package/dist/components/workflow-editor/utils/import.js +1 -0
- package/dist/hooks/useDialogA11y.cjs +1 -1
- package/dist/hooks/useDialogA11y.js +1 -1
- package/dist/index.d.cts +93 -14
- package/dist/index.d.ts +93 -14
- package/dist/lib/canvas-events.cjs +1 -0
- package/dist/lib/canvas-events.js +1 -0
- package/dist/lib/dialog-stack.cjs +1 -1
- package/dist/lib/dialog-stack.js +1 -1
- package/dist/lib/layer-document.cjs +1 -0
- package/dist/lib/layer-document.js +1 -0
- package/dist/lib/owner-document.cjs +1 -0
- package/dist/lib/owner-document.js +1 -0
- package/dist/lib/ui-labels.cjs +1 -1
- package/dist/lib/ui-labels.js +1 -1
- package/dist/styles.css +129 -462
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as react from 'react';
|
|
3
|
-
import react__default, { ReactNode, ReactElement, ComponentPropsWithoutRef, ComponentType, AnchorHTMLAttributes, MouseEvent, PointerEvent, KeyboardEvent, CSSProperties, ChangeEvent, RefObject, Dispatch, SetStateAction, HTMLAttributes, TableHTMLAttributes, ThHTMLAttributes, TdHTMLAttributes } from 'react';
|
|
3
|
+
import react__default, { ReactNode, ReactElement, ComponentPropsWithoutRef, ComponentType, AnchorHTMLAttributes, MouseEvent, PointerEvent, KeyboardEvent, CSSProperties, ChangeEvent, RefObject, Dispatch, SetStateAction, DOMAttributes, ChangeEventHandler, HTMLAttributes, TableHTMLAttributes, ThHTMLAttributes, TdHTMLAttributes } from 'react';
|
|
4
4
|
import { M as MarkdownEditorComponent } from './types-99-Ej5og.cjs';
|
|
5
5
|
export { a as MarkdownEditorProps } from './types-99-Ej5og.cjs';
|
|
6
6
|
|
|
@@ -78,6 +78,13 @@ interface AdvanceDetachableProps<T = unknown> {
|
|
|
78
78
|
isDetached?: boolean;
|
|
79
79
|
defaultDetached?: boolean;
|
|
80
80
|
onDetachedChange?: (detached: boolean) => void;
|
|
81
|
+
/**
|
|
82
|
+
* The browser refused to open the window (a popup blocker: expected with
|
|
83
|
+
* `defaultDetached`, which opens it without a click). The content stays in
|
|
84
|
+
* the page, and `onDetachedChange(false)` follows, so that a controlled
|
|
85
|
+
* parent goes back to attached too.
|
|
86
|
+
*/
|
|
87
|
+
onPopupBlocked?: () => void;
|
|
81
88
|
features?: string;
|
|
82
89
|
target?: string;
|
|
83
90
|
autoFocus?: boolean;
|
|
@@ -3539,6 +3546,13 @@ interface UILabels {
|
|
|
3539
3546
|
editorImport: string;
|
|
3540
3547
|
/** Label of the button closing an export dialog of WorkflowEditor and SchemaEditor. */
|
|
3541
3548
|
editorClose: string;
|
|
3549
|
+
/** Message of the import dialog of WorkflowEditor and SchemaEditor when the text pasted is not JSON. */
|
|
3550
|
+
editorImportInvalidJson: string;
|
|
3551
|
+
/**
|
|
3552
|
+
* Message of the import dialog of WorkflowEditor and SchemaEditor when the JSON is not a document the
|
|
3553
|
+
* editor can open. `{path}` is the first thing that does not fit, as `tables[2].fields`.
|
|
3554
|
+
*/
|
|
3555
|
+
editorImportInvalidContent: string;
|
|
3542
3556
|
/** Tooltip and accessible name of the WorkflowEditor button laying the workflow out vertically. */
|
|
3543
3557
|
workflowEditorSwitchToVertical: string;
|
|
3544
3558
|
/** Tooltip and accessible name of the WorkflowEditor button laying the workflow out horizontally. */
|
|
@@ -3784,7 +3798,11 @@ interface ColumnDef<T = unknown> {
|
|
|
3784
3798
|
type?: "data" | "actions" | "selection" | "expand";
|
|
3785
3799
|
/** Aggregate function for footer */
|
|
3786
3800
|
aggregate?: AggregateFunction;
|
|
3787
|
-
/**
|
|
3801
|
+
/**
|
|
3802
|
+
* Custom aggregate renderer. Empty cells are left out of every aggregate;
|
|
3803
|
+
* `value` is 0 when the column holds no number to average or compare, which
|
|
3804
|
+
* `data` tells apart from a real zero.
|
|
3805
|
+
*/
|
|
3788
3806
|
renderAggregate?: (value: number, data: T[]) => ReactNode;
|
|
3789
3807
|
/** Custom class for cells in this column */
|
|
3790
3808
|
cellClassName?: string;
|
|
@@ -3879,9 +3897,16 @@ interface DataGridProps<T = unknown> {
|
|
|
3879
3897
|
hiddenColumns?: string[];
|
|
3880
3898
|
/** Column visibility change callback */
|
|
3881
3899
|
onColumnVisibilityChange?: (hiddenKeys: string[]) => void;
|
|
3882
|
-
/**
|
|
3900
|
+
/**
|
|
3901
|
+
* Group rows by column key(s). The rows of a group are kept together, the
|
|
3902
|
+
* groups in the order their first row comes in once sorted; pagination and
|
|
3903
|
+
* virtualization then count those rows, and a page shows the groups it holds.
|
|
3904
|
+
*/
|
|
3883
3905
|
groupBy?: string | string[];
|
|
3884
|
-
/**
|
|
3906
|
+
/**
|
|
3907
|
+
* Render custom group header. `rows` is the whole group, on every page it
|
|
3908
|
+
* runs over.
|
|
3909
|
+
*/
|
|
3885
3910
|
renderGroupHeader?: (groupKey: string, groupValue: unknown, rows: T[]) => ReactNode;
|
|
3886
3911
|
/** Enable export functionality */
|
|
3887
3912
|
exportable?: boolean;
|
|
@@ -3897,11 +3922,22 @@ interface DataGridProps<T = unknown> {
|
|
|
3897
3922
|
* On unless it is `false`; the JSON file is not concerned.
|
|
3898
3923
|
*/
|
|
3899
3924
|
exportNeutralizeFormulas?: boolean;
|
|
3900
|
-
/**
|
|
3925
|
+
/**
|
|
3926
|
+
* Enable virtual scrolling for large datasets. Every row is drawn exactly
|
|
3927
|
+
* `rowHeight` tall, its cells on one line, and a group header takes the
|
|
3928
|
+
* place of a row. The content of an expanded row is not counted: a
|
|
3929
|
+
* virtualized grid is not meant to be `expandable`.
|
|
3930
|
+
*/
|
|
3901
3931
|
virtualized?: boolean;
|
|
3902
|
-
/**
|
|
3932
|
+
/**
|
|
3933
|
+
* Height of every row under `virtualized` (px): the rows are drawn at it,
|
|
3934
|
+
* and the scroll is computed from it.
|
|
3935
|
+
*/
|
|
3903
3936
|
rowHeight?: number;
|
|
3904
|
-
/**
|
|
3937
|
+
/**
|
|
3938
|
+
* Height of the scrolling area under `virtualized` (px), when `maxHeight`
|
|
3939
|
+
* does not set one. The rows drawn are those the area really shows.
|
|
3940
|
+
*/
|
|
3905
3941
|
virtualHeight?: number;
|
|
3906
3942
|
/** Density / padding */
|
|
3907
3943
|
density?: Density;
|
|
@@ -4016,6 +4052,12 @@ interface DetachableProps {
|
|
|
4016
4052
|
closeOnParentUnmount?: boolean;
|
|
4017
4053
|
className?: string;
|
|
4018
4054
|
windowClassName?: string;
|
|
4055
|
+
/**
|
|
4056
|
+
* The browser refused to open the window (a popup blocker: expected with
|
|
4057
|
+
* `defaultDetached`, which opens it without a click). The content stays in
|
|
4058
|
+
* the page; uncontrolled, the component is attached again, and a
|
|
4059
|
+
* controlled parent sets `detached` back to `false` here.
|
|
4060
|
+
*/
|
|
4019
4061
|
onPopupBlocked?: () => void;
|
|
4020
4062
|
}
|
|
4021
4063
|
interface DetachableRef {
|
|
@@ -4560,7 +4602,11 @@ interface InputStyleProps {
|
|
|
4560
4602
|
iconPosition?: "left" | "right";
|
|
4561
4603
|
}
|
|
4562
4604
|
|
|
4563
|
-
|
|
4605
|
+
/** What `Input` renders: a `<textarea>` when `multiline`, an `<input>` otherwise. */
|
|
4606
|
+
type FieldElement = HTMLInputElement | HTMLTextAreaElement;
|
|
4607
|
+
interface InputProps extends Omit<ComponentPropsWithoutRef<"input"> & ComponentPropsWithoutRef<"textarea">, "size" | keyof DOMAttributes<FieldElement>>, Omit<DOMAttributes<FieldElement>, "onChange">, InputStyleProps {
|
|
4608
|
+
/** Receives the change of the field rendered: an `<input>`, or a `<textarea>` when `multiline`. */
|
|
4609
|
+
onChange?: ChangeEventHandler<FieldElement>;
|
|
4564
4610
|
label?: string;
|
|
4565
4611
|
inline?: boolean;
|
|
4566
4612
|
labelColor?: string;
|
|
@@ -4784,8 +4830,13 @@ interface ImageUploaderProps {
|
|
|
4784
4830
|
*/
|
|
4785
4831
|
labels?: UILabelsOf<"imageUploader">;
|
|
4786
4832
|
aspectRatio?: "16/9" | "4/3" | "1/1" | "auto";
|
|
4833
|
+
/**
|
|
4834
|
+
* BCP 47 tag the size limit is written in. Defaults to the `locale` of
|
|
4835
|
+
* `UILabelsProvider`, then to the language of the runtime.
|
|
4836
|
+
*/
|
|
4837
|
+
locale?: string;
|
|
4787
4838
|
}
|
|
4788
|
-
declare function ImageUploader({ value, onChange, onUpload, label: labelProp, maxSize, accept, helpText, disabled, className, showUrlInput, urlPlaceholder, labels: labelsProp, aspectRatio, }: ImageUploaderProps): react_jsx_runtime.JSX.Element;
|
|
4839
|
+
declare function ImageUploader({ value, onChange, onUpload, label: labelProp, maxSize, accept, helpText, disabled, className, showUrlInput, urlPlaceholder, labels: labelsProp, aspectRatio, locale: localeProp, }: ImageUploaderProps): react_jsx_runtime.JSX.Element;
|
|
4789
4840
|
|
|
4790
4841
|
type IndicatorColor = "default" | "primary" | "success" | "warning" | "error" | "info" | "dark" | "purple" | "indigo" | "teal";
|
|
4791
4842
|
type IndicatorSize = "xs" | "sm" | "md" | "lg" | "xl";
|
|
@@ -5661,6 +5712,10 @@ interface TableProps extends TableHTMLAttributes<HTMLTableElement> {
|
|
|
5661
5712
|
declare function Table({ children, className, ...props }: TableProps): react_jsx_runtime.JSX.Element;
|
|
5662
5713
|
|
|
5663
5714
|
interface TableHeaderProps extends HTMLAttributes<HTMLTableSectionElement> {
|
|
5715
|
+
/**
|
|
5716
|
+
* The header cells, straight in: `TableHeader` draws the row they sit in.
|
|
5717
|
+
* A `TableRow` here would be a `<tr>` in a `<tr>`.
|
|
5718
|
+
*/
|
|
5664
5719
|
children: ReactNode;
|
|
5665
5720
|
}
|
|
5666
5721
|
declare function TableHeader({ children, className, ...props }: TableHeaderProps): react_jsx_runtime.JSX.Element;
|
|
@@ -6065,7 +6120,11 @@ type SchemaEditorRef = {
|
|
|
6065
6120
|
addRelation(relation: SchemaRelation): void;
|
|
6066
6121
|
removeRelation(relationId: string): void;
|
|
6067
6122
|
toJSON(): string;
|
|
6068
|
-
|
|
6123
|
+
/**
|
|
6124
|
+
* Loads a schema written as JSON, and says whether it did: text that is not
|
|
6125
|
+
* JSON, or JSON that is not a schema this editor can open, changes nothing.
|
|
6126
|
+
*/
|
|
6127
|
+
loadJSON(json: string): boolean;
|
|
6069
6128
|
toSQL(): string;
|
|
6070
6129
|
};
|
|
6071
6130
|
|
|
@@ -6080,6 +6139,14 @@ declare function generateRelationId(): string;
|
|
|
6080
6139
|
declare function createDefaultField(name?: string): SchemaField;
|
|
6081
6140
|
declare function createDefaultTable(x: number, y: number, name?: string): SchemaTable;
|
|
6082
6141
|
|
|
6142
|
+
/**
|
|
6143
|
+
* The schema as a PostgreSQL script. A table is created after the tables it
|
|
6144
|
+
* references, its foreign keys written in it; among the tables that can go,
|
|
6145
|
+
* the order of the schema is kept. A cycle (two tables that reference each
|
|
6146
|
+
* other) has no such order: its keys that point forward are added with
|
|
6147
|
+
* `ALTER TABLE` once every table exists. A key of two columns is one
|
|
6148
|
+
* `PRIMARY KEY (a, b)` of the table.
|
|
6149
|
+
*/
|
|
6083
6150
|
declare function generateSQL(value: SchemaValue): string;
|
|
6084
6151
|
|
|
6085
6152
|
/**
|
|
@@ -6207,7 +6274,11 @@ type WorkflowEditorRef = {
|
|
|
6207
6274
|
addNode(node: WorkflowNode<unknown>): void;
|
|
6208
6275
|
removeNode(nodeId: string): void;
|
|
6209
6276
|
toJSON(): string;
|
|
6210
|
-
|
|
6277
|
+
/**
|
|
6278
|
+
* Loads a workflow written as JSON, and says whether it did: text that is not
|
|
6279
|
+
* JSON, or JSON that is not a workflow this editor can open, changes nothing.
|
|
6280
|
+
*/
|
|
6281
|
+
loadJSON(json: string): boolean;
|
|
6211
6282
|
};
|
|
6212
6283
|
|
|
6213
6284
|
declare const WorkflowEditor: <TData = unknown>(props: WorkflowEditorProps<TData> & {
|
|
@@ -6246,7 +6317,9 @@ interface WizardContextValue {
|
|
|
6246
6317
|
steps: WizardStepDefinition[];
|
|
6247
6318
|
activeStep: number;
|
|
6248
6319
|
totalSteps: number;
|
|
6320
|
+
/** No step before this one can be entered: Previous has nowhere to go. */
|
|
6249
6321
|
isFirstStep: boolean;
|
|
6322
|
+
/** No step after this one can be entered: Next completes the wizard. */
|
|
6250
6323
|
isLastStep: boolean;
|
|
6251
6324
|
orientation: WizardOrientation;
|
|
6252
6325
|
variant: WizardVariant;
|
|
@@ -6255,9 +6328,12 @@ interface WizardContextValue {
|
|
|
6255
6328
|
linear: boolean;
|
|
6256
6329
|
/** Navigate to a specific step (respects accessibility rules) */
|
|
6257
6330
|
goToStep: (index: number) => void;
|
|
6258
|
-
/**
|
|
6331
|
+
/**
|
|
6332
|
+
* Advance to the next step that is not disabled, or call onComplete when
|
|
6333
|
+
* there is none
|
|
6334
|
+
*/
|
|
6259
6335
|
goNext: () => void;
|
|
6260
|
-
/** Go back to the previous step */
|
|
6336
|
+
/** Go back to the previous step that is not disabled */
|
|
6261
6337
|
goBack: () => void;
|
|
6262
6338
|
/** Resolve the visual status of a given step */
|
|
6263
6339
|
getStepStatus: (index: number) => WizardStepStatus;
|
|
@@ -6278,7 +6354,10 @@ interface WizardProps {
|
|
|
6278
6354
|
defaultStep?: number;
|
|
6279
6355
|
/** Called whenever the active step changes */
|
|
6280
6356
|
onStepChange?: (step: number, meta: WizardStepChangeMeta) => void;
|
|
6281
|
-
/**
|
|
6357
|
+
/**
|
|
6358
|
+
* Called when "Next" is pressed on the last step, or on a step that only
|
|
6359
|
+
* disabled steps follow
|
|
6360
|
+
*/
|
|
6282
6361
|
onComplete?: () => void;
|
|
6283
6362
|
/** Indicator orientation */
|
|
6284
6363
|
orientation?: WizardOrientation;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as react from 'react';
|
|
3
|
-
import react__default, { ReactNode, ReactElement, ComponentPropsWithoutRef, ComponentType, AnchorHTMLAttributes, MouseEvent, PointerEvent, KeyboardEvent, CSSProperties, ChangeEvent, RefObject, Dispatch, SetStateAction, HTMLAttributes, TableHTMLAttributes, ThHTMLAttributes, TdHTMLAttributes } from 'react';
|
|
3
|
+
import react__default, { ReactNode, ReactElement, ComponentPropsWithoutRef, ComponentType, AnchorHTMLAttributes, MouseEvent, PointerEvent, KeyboardEvent, CSSProperties, ChangeEvent, RefObject, Dispatch, SetStateAction, DOMAttributes, ChangeEventHandler, HTMLAttributes, TableHTMLAttributes, ThHTMLAttributes, TdHTMLAttributes } from 'react';
|
|
4
4
|
import { M as MarkdownEditorComponent } from './types-99-Ej5og.js';
|
|
5
5
|
export { a as MarkdownEditorProps } from './types-99-Ej5og.js';
|
|
6
6
|
|
|
@@ -78,6 +78,13 @@ interface AdvanceDetachableProps<T = unknown> {
|
|
|
78
78
|
isDetached?: boolean;
|
|
79
79
|
defaultDetached?: boolean;
|
|
80
80
|
onDetachedChange?: (detached: boolean) => void;
|
|
81
|
+
/**
|
|
82
|
+
* The browser refused to open the window (a popup blocker: expected with
|
|
83
|
+
* `defaultDetached`, which opens it without a click). The content stays in
|
|
84
|
+
* the page, and `onDetachedChange(false)` follows, so that a controlled
|
|
85
|
+
* parent goes back to attached too.
|
|
86
|
+
*/
|
|
87
|
+
onPopupBlocked?: () => void;
|
|
81
88
|
features?: string;
|
|
82
89
|
target?: string;
|
|
83
90
|
autoFocus?: boolean;
|
|
@@ -3539,6 +3546,13 @@ interface UILabels {
|
|
|
3539
3546
|
editorImport: string;
|
|
3540
3547
|
/** Label of the button closing an export dialog of WorkflowEditor and SchemaEditor. */
|
|
3541
3548
|
editorClose: string;
|
|
3549
|
+
/** Message of the import dialog of WorkflowEditor and SchemaEditor when the text pasted is not JSON. */
|
|
3550
|
+
editorImportInvalidJson: string;
|
|
3551
|
+
/**
|
|
3552
|
+
* Message of the import dialog of WorkflowEditor and SchemaEditor when the JSON is not a document the
|
|
3553
|
+
* editor can open. `{path}` is the first thing that does not fit, as `tables[2].fields`.
|
|
3554
|
+
*/
|
|
3555
|
+
editorImportInvalidContent: string;
|
|
3542
3556
|
/** Tooltip and accessible name of the WorkflowEditor button laying the workflow out vertically. */
|
|
3543
3557
|
workflowEditorSwitchToVertical: string;
|
|
3544
3558
|
/** Tooltip and accessible name of the WorkflowEditor button laying the workflow out horizontally. */
|
|
@@ -3784,7 +3798,11 @@ interface ColumnDef<T = unknown> {
|
|
|
3784
3798
|
type?: "data" | "actions" | "selection" | "expand";
|
|
3785
3799
|
/** Aggregate function for footer */
|
|
3786
3800
|
aggregate?: AggregateFunction;
|
|
3787
|
-
/**
|
|
3801
|
+
/**
|
|
3802
|
+
* Custom aggregate renderer. Empty cells are left out of every aggregate;
|
|
3803
|
+
* `value` is 0 when the column holds no number to average or compare, which
|
|
3804
|
+
* `data` tells apart from a real zero.
|
|
3805
|
+
*/
|
|
3788
3806
|
renderAggregate?: (value: number, data: T[]) => ReactNode;
|
|
3789
3807
|
/** Custom class for cells in this column */
|
|
3790
3808
|
cellClassName?: string;
|
|
@@ -3879,9 +3897,16 @@ interface DataGridProps<T = unknown> {
|
|
|
3879
3897
|
hiddenColumns?: string[];
|
|
3880
3898
|
/** Column visibility change callback */
|
|
3881
3899
|
onColumnVisibilityChange?: (hiddenKeys: string[]) => void;
|
|
3882
|
-
/**
|
|
3900
|
+
/**
|
|
3901
|
+
* Group rows by column key(s). The rows of a group are kept together, the
|
|
3902
|
+
* groups in the order their first row comes in once sorted; pagination and
|
|
3903
|
+
* virtualization then count those rows, and a page shows the groups it holds.
|
|
3904
|
+
*/
|
|
3883
3905
|
groupBy?: string | string[];
|
|
3884
|
-
/**
|
|
3906
|
+
/**
|
|
3907
|
+
* Render custom group header. `rows` is the whole group, on every page it
|
|
3908
|
+
* runs over.
|
|
3909
|
+
*/
|
|
3885
3910
|
renderGroupHeader?: (groupKey: string, groupValue: unknown, rows: T[]) => ReactNode;
|
|
3886
3911
|
/** Enable export functionality */
|
|
3887
3912
|
exportable?: boolean;
|
|
@@ -3897,11 +3922,22 @@ interface DataGridProps<T = unknown> {
|
|
|
3897
3922
|
* On unless it is `false`; the JSON file is not concerned.
|
|
3898
3923
|
*/
|
|
3899
3924
|
exportNeutralizeFormulas?: boolean;
|
|
3900
|
-
/**
|
|
3925
|
+
/**
|
|
3926
|
+
* Enable virtual scrolling for large datasets. Every row is drawn exactly
|
|
3927
|
+
* `rowHeight` tall, its cells on one line, and a group header takes the
|
|
3928
|
+
* place of a row. The content of an expanded row is not counted: a
|
|
3929
|
+
* virtualized grid is not meant to be `expandable`.
|
|
3930
|
+
*/
|
|
3901
3931
|
virtualized?: boolean;
|
|
3902
|
-
/**
|
|
3932
|
+
/**
|
|
3933
|
+
* Height of every row under `virtualized` (px): the rows are drawn at it,
|
|
3934
|
+
* and the scroll is computed from it.
|
|
3935
|
+
*/
|
|
3903
3936
|
rowHeight?: number;
|
|
3904
|
-
/**
|
|
3937
|
+
/**
|
|
3938
|
+
* Height of the scrolling area under `virtualized` (px), when `maxHeight`
|
|
3939
|
+
* does not set one. The rows drawn are those the area really shows.
|
|
3940
|
+
*/
|
|
3905
3941
|
virtualHeight?: number;
|
|
3906
3942
|
/** Density / padding */
|
|
3907
3943
|
density?: Density;
|
|
@@ -4016,6 +4052,12 @@ interface DetachableProps {
|
|
|
4016
4052
|
closeOnParentUnmount?: boolean;
|
|
4017
4053
|
className?: string;
|
|
4018
4054
|
windowClassName?: string;
|
|
4055
|
+
/**
|
|
4056
|
+
* The browser refused to open the window (a popup blocker: expected with
|
|
4057
|
+
* `defaultDetached`, which opens it without a click). The content stays in
|
|
4058
|
+
* the page; uncontrolled, the component is attached again, and a
|
|
4059
|
+
* controlled parent sets `detached` back to `false` here.
|
|
4060
|
+
*/
|
|
4019
4061
|
onPopupBlocked?: () => void;
|
|
4020
4062
|
}
|
|
4021
4063
|
interface DetachableRef {
|
|
@@ -4560,7 +4602,11 @@ interface InputStyleProps {
|
|
|
4560
4602
|
iconPosition?: "left" | "right";
|
|
4561
4603
|
}
|
|
4562
4604
|
|
|
4563
|
-
|
|
4605
|
+
/** What `Input` renders: a `<textarea>` when `multiline`, an `<input>` otherwise. */
|
|
4606
|
+
type FieldElement = HTMLInputElement | HTMLTextAreaElement;
|
|
4607
|
+
interface InputProps extends Omit<ComponentPropsWithoutRef<"input"> & ComponentPropsWithoutRef<"textarea">, "size" | keyof DOMAttributes<FieldElement>>, Omit<DOMAttributes<FieldElement>, "onChange">, InputStyleProps {
|
|
4608
|
+
/** Receives the change of the field rendered: an `<input>`, or a `<textarea>` when `multiline`. */
|
|
4609
|
+
onChange?: ChangeEventHandler<FieldElement>;
|
|
4564
4610
|
label?: string;
|
|
4565
4611
|
inline?: boolean;
|
|
4566
4612
|
labelColor?: string;
|
|
@@ -4784,8 +4830,13 @@ interface ImageUploaderProps {
|
|
|
4784
4830
|
*/
|
|
4785
4831
|
labels?: UILabelsOf<"imageUploader">;
|
|
4786
4832
|
aspectRatio?: "16/9" | "4/3" | "1/1" | "auto";
|
|
4833
|
+
/**
|
|
4834
|
+
* BCP 47 tag the size limit is written in. Defaults to the `locale` of
|
|
4835
|
+
* `UILabelsProvider`, then to the language of the runtime.
|
|
4836
|
+
*/
|
|
4837
|
+
locale?: string;
|
|
4787
4838
|
}
|
|
4788
|
-
declare function ImageUploader({ value, onChange, onUpload, label: labelProp, maxSize, accept, helpText, disabled, className, showUrlInput, urlPlaceholder, labels: labelsProp, aspectRatio, }: ImageUploaderProps): react_jsx_runtime.JSX.Element;
|
|
4839
|
+
declare function ImageUploader({ value, onChange, onUpload, label: labelProp, maxSize, accept, helpText, disabled, className, showUrlInput, urlPlaceholder, labels: labelsProp, aspectRatio, locale: localeProp, }: ImageUploaderProps): react_jsx_runtime.JSX.Element;
|
|
4789
4840
|
|
|
4790
4841
|
type IndicatorColor = "default" | "primary" | "success" | "warning" | "error" | "info" | "dark" | "purple" | "indigo" | "teal";
|
|
4791
4842
|
type IndicatorSize = "xs" | "sm" | "md" | "lg" | "xl";
|
|
@@ -5661,6 +5712,10 @@ interface TableProps extends TableHTMLAttributes<HTMLTableElement> {
|
|
|
5661
5712
|
declare function Table({ children, className, ...props }: TableProps): react_jsx_runtime.JSX.Element;
|
|
5662
5713
|
|
|
5663
5714
|
interface TableHeaderProps extends HTMLAttributes<HTMLTableSectionElement> {
|
|
5715
|
+
/**
|
|
5716
|
+
* The header cells, straight in: `TableHeader` draws the row they sit in.
|
|
5717
|
+
* A `TableRow` here would be a `<tr>` in a `<tr>`.
|
|
5718
|
+
*/
|
|
5664
5719
|
children: ReactNode;
|
|
5665
5720
|
}
|
|
5666
5721
|
declare function TableHeader({ children, className, ...props }: TableHeaderProps): react_jsx_runtime.JSX.Element;
|
|
@@ -6065,7 +6120,11 @@ type SchemaEditorRef = {
|
|
|
6065
6120
|
addRelation(relation: SchemaRelation): void;
|
|
6066
6121
|
removeRelation(relationId: string): void;
|
|
6067
6122
|
toJSON(): string;
|
|
6068
|
-
|
|
6123
|
+
/**
|
|
6124
|
+
* Loads a schema written as JSON, and says whether it did: text that is not
|
|
6125
|
+
* JSON, or JSON that is not a schema this editor can open, changes nothing.
|
|
6126
|
+
*/
|
|
6127
|
+
loadJSON(json: string): boolean;
|
|
6069
6128
|
toSQL(): string;
|
|
6070
6129
|
};
|
|
6071
6130
|
|
|
@@ -6080,6 +6139,14 @@ declare function generateRelationId(): string;
|
|
|
6080
6139
|
declare function createDefaultField(name?: string): SchemaField;
|
|
6081
6140
|
declare function createDefaultTable(x: number, y: number, name?: string): SchemaTable;
|
|
6082
6141
|
|
|
6142
|
+
/**
|
|
6143
|
+
* The schema as a PostgreSQL script. A table is created after the tables it
|
|
6144
|
+
* references, its foreign keys written in it; among the tables that can go,
|
|
6145
|
+
* the order of the schema is kept. A cycle (two tables that reference each
|
|
6146
|
+
* other) has no such order: its keys that point forward are added with
|
|
6147
|
+
* `ALTER TABLE` once every table exists. A key of two columns is one
|
|
6148
|
+
* `PRIMARY KEY (a, b)` of the table.
|
|
6149
|
+
*/
|
|
6083
6150
|
declare function generateSQL(value: SchemaValue): string;
|
|
6084
6151
|
|
|
6085
6152
|
/**
|
|
@@ -6207,7 +6274,11 @@ type WorkflowEditorRef = {
|
|
|
6207
6274
|
addNode(node: WorkflowNode<unknown>): void;
|
|
6208
6275
|
removeNode(nodeId: string): void;
|
|
6209
6276
|
toJSON(): string;
|
|
6210
|
-
|
|
6277
|
+
/**
|
|
6278
|
+
* Loads a workflow written as JSON, and says whether it did: text that is not
|
|
6279
|
+
* JSON, or JSON that is not a workflow this editor can open, changes nothing.
|
|
6280
|
+
*/
|
|
6281
|
+
loadJSON(json: string): boolean;
|
|
6211
6282
|
};
|
|
6212
6283
|
|
|
6213
6284
|
declare const WorkflowEditor: <TData = unknown>(props: WorkflowEditorProps<TData> & {
|
|
@@ -6246,7 +6317,9 @@ interface WizardContextValue {
|
|
|
6246
6317
|
steps: WizardStepDefinition[];
|
|
6247
6318
|
activeStep: number;
|
|
6248
6319
|
totalSteps: number;
|
|
6320
|
+
/** No step before this one can be entered: Previous has nowhere to go. */
|
|
6249
6321
|
isFirstStep: boolean;
|
|
6322
|
+
/** No step after this one can be entered: Next completes the wizard. */
|
|
6250
6323
|
isLastStep: boolean;
|
|
6251
6324
|
orientation: WizardOrientation;
|
|
6252
6325
|
variant: WizardVariant;
|
|
@@ -6255,9 +6328,12 @@ interface WizardContextValue {
|
|
|
6255
6328
|
linear: boolean;
|
|
6256
6329
|
/** Navigate to a specific step (respects accessibility rules) */
|
|
6257
6330
|
goToStep: (index: number) => void;
|
|
6258
|
-
/**
|
|
6331
|
+
/**
|
|
6332
|
+
* Advance to the next step that is not disabled, or call onComplete when
|
|
6333
|
+
* there is none
|
|
6334
|
+
*/
|
|
6259
6335
|
goNext: () => void;
|
|
6260
|
-
/** Go back to the previous step */
|
|
6336
|
+
/** Go back to the previous step that is not disabled */
|
|
6261
6337
|
goBack: () => void;
|
|
6262
6338
|
/** Resolve the visual status of a given step */
|
|
6263
6339
|
getStepStatus: (index: number) => WizardStepStatus;
|
|
@@ -6278,7 +6354,10 @@ interface WizardProps {
|
|
|
6278
6354
|
defaultStep?: number;
|
|
6279
6355
|
/** Called whenever the active step changes */
|
|
6280
6356
|
onStepChange?: (step: number, meta: WizardStepChangeMeta) => void;
|
|
6281
|
-
/**
|
|
6357
|
+
/**
|
|
6358
|
+
* Called when "Next" is pressed on the last step, or on a step that only
|
|
6359
|
+
* disabled steps follow
|
|
6360
|
+
*/
|
|
6282
6361
|
onComplete?: () => void;
|
|
6283
6362
|
/** Indicator orientation */
|
|
6284
6363
|
orientation?: WizardOrientation;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";"use client";var u=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var f=Object.prototype.hasOwnProperty;var a=(e,n)=>{for(var r in n)u(e,r,{get:n[r],enumerable:!0})},v=(e,n,r,o)=>{if(n&&typeof n=="object"||typeof n=="function")for(let t of c(n))!f.call(e,t)&&t!==r&&u(e,t,{get:()=>n[t],enumerable:!(o=s(n,t))||o.enumerable});return e};var m=e=>v(u({},"__esModule",{value:!0}),e);var p={};a(p,{isInCanvas:()=>E,isPrimaryPress:()=>h,useCanvasWheel:()=>b,wheelZoomDirection:()=>d});module.exports=m(p);var l=require("react");function E(e,n){return!!e&&n instanceof Node&&e.contains(n)}function b(e,n){let r=(0,l.useRef)(n);r.current=n,(0,l.useEffect)(()=>{let o=e.current;if(!o)return;let t=i=>r.current(i);return o.addEventListener("wheel",t,{passive:!1}),()=>o.removeEventListener("wheel",t)},[e])}function d(e){return e.deltaY===0?null:e.deltaY<0?1:-1}function h(e){return e.button===0}0&&(module.exports={isInCanvas,isPrimaryPress,useCanvasWheel,wheelZoomDirection});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";import{useEffect as u,useRef as i}from"react";function c(e,n){return!!e&&n instanceof Node&&e.contains(n)}function f(e,n){let r=i(n);r.current=n,u(()=>{let t=e.current;if(!t)return;let o=l=>r.current(l);return t.addEventListener("wheel",o,{passive:!1}),()=>t.removeEventListener("wheel",o)},[e])}function a(e){return e.deltaY===0?null:e.deltaY<0?1:-1}function v(e){return e.button===0}export{c as isInCanvas,v as isPrimaryPress,f as useCanvasWheel,a as wheelZoomDirection};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var u=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var
|
|
1
|
+
"use strict";var u=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var d=Object.getOwnPropertyNames;var p=Object.prototype.hasOwnProperty;var a=(n,e)=>{for(var o in e)u(n,o,{get:e[o],enumerable:!0})},m=(n,e,o,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of d(e))!p.call(n,r)&&r!==o&&u(n,r,{get:()=>e[r],enumerable:!(i=s(e,r))||i.enumerable});return n};var g=n=>m(u({},"__esModule",{value:!0}),n);var M={};a(M,{getDialogsAbove:()=>v,getOpenDialogCount:()=>w,isTopDialog:()=>D,lockBodyScroll:()=>L,popDialog:()=>f,pushDialog:()=>c,replaceDialog:()=>x});module.exports=g(M);var t=[];function c(n){let e=t.indexOf(n);e!==-1&&t.splice(e,1),t.push(n)}function x(n,e){if(!n||!t.includes(n)){c(e);return}n!==e&&(f(e),t[t.indexOf(n)]=e)}function f(n){let e=t.indexOf(n);e!==-1&&t.splice(e,1)}function D(n){let e=n.ownerDocument;for(let o=t.length-1;o>=0;o--)if(t[o].ownerDocument===e)return t[o]===n;return!1}function v(n){let e=t.indexOf(n);return e===-1?[]:t.slice(e+1).filter(o=>o.ownerDocument===n.ownerDocument)}function w(){return t.length}var l=new WeakMap;function L(n=document){let e=n.body;if(!e)return()=>{};let o=l.get(n);o?o.count+=1:(l.set(n,{count:1,previousOverflow:e.style.overflow}),e.style.overflow="hidden");let i=!1;return()=>{if(i)return;i=!0;let r=l.get(n);r&&(r.count-=1,r.count<=0&&(l.delete(n),e.style.overflow=r.previousOverflow))}}0&&(module.exports={getDialogsAbove,getOpenDialogCount,isTopDialog,lockBodyScroll,popDialog,pushDialog,replaceDialog});
|
package/dist/lib/dialog-stack.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var o=[];function u(e){let n=o.indexOf(e);n!==-1&&o.splice(n,1),o.push(e)}function f(e,n){if(!e||!o.includes(e)){u(n);return}e!==n&&(c(n),o[o.indexOf(e)]=n)}function c(e){let n=o.indexOf(e);n!==-1&&o.splice(n,1)}function s(e){let n=e.ownerDocument;for(let t=o.length-1;t>=0;t--)if(o[t].ownerDocument===n)return o[t]===e;return!1}function d(e){let n=o.indexOf(e);return n===-1?[]:o.slice(n+1).filter(t=>t.ownerDocument===e.ownerDocument)}function p(){return o.length}var i=new WeakMap;function a(e=document){let n=e.body;if(!n)return()=>{};let t=i.get(e);t?t.count+=1:(i.set(e,{count:1,previousOverflow:n.style.overflow}),n.style.overflow="hidden");let l=!1;return()=>{if(l)return;l=!0;let r=i.get(e);r&&(r.count-=1,r.count<=0&&(i.delete(e),n.style.overflow=r.previousOverflow))}}export{d as getDialogsAbove,p as getOpenDialogCount,s as isTopDialog,a as lockBodyScroll,c as popDialog,u as pushDialog,f as replaceDialog};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";"use client";var l=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var y=Object.prototype.hasOwnProperty;var p=(e,t)=>{for(var r in t)l(e,r,{get:t[r],enumerable:!0})},s=(e,t,r,u)=>{if(t&&typeof t=="object"||typeof t=="function")for(let c of f(t))!y.call(e,c)&&c!==r&&l(e,c,{get:()=>t[c],enumerable:!(u=i(t,c))||u.enumerable});return e};var L=e=>s(l({},"__esModule",{value:!0}),e);var C={};p(C,{LayerDocumentProvider:()=>D,LayerPortal:()=>x,useLayerDocument:()=>d});module.exports=L(C);var n=require("react"),m=require("react-dom"),o=require("react/jsx-runtime"),a=(0,n.createContext)(null);function D({document:e,children:t}){return(0,o.jsx)(a.Provider,{value:e,children:t})}function d(){return(0,n.useContext)(a)}function v({container:e,body:t}){return(0,n.useLayoutEffect)(()=>{e.parentNode!==t&&t.appendChild(e)},[e,t]),(0,n.useLayoutEffect)(()=>()=>e.remove(),[e]),null}function x({children:e}){let t=d(),[r]=(0,n.useState)(()=>{if(typeof document>"u")return null;let u=document.createElement("div");return u.style.display="contents",u});return r?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(v,{container:r,body:(t??document).body}),(0,m.createPortal)(e,r)]}):(0,o.jsx)(o.Fragment,{children:e})}0&&(module.exports={LayerDocumentProvider,LayerPortal,useLayerDocument});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";import{createContext as m,useContext as a,useLayoutEffect as u,useState as d}from"react";import{createPortal as i}from"react-dom";import{Fragment as c,jsx as o,jsxs as p}from"react/jsx-runtime";var l=m(null);function D({document:e,children:t}){return o(l.Provider,{value:e,children:t})}function f(){return a(l)}function y({container:e,body:t}){return u(()=>{e.parentNode!==t&&t.appendChild(e)},[e,t]),u(()=>()=>e.remove(),[e]),null}function v({children:e}){let t=f(),[n]=d(()=>{if(typeof document>"u")return null;let r=document.createElement("div");return r.style.display="contents",r});return n?p(c,{children:[o(y,{container:n,body:(t??document).body}),i(e,n)]}):o(c,{children:e})}export{D as LayerDocumentProvider,v as LayerPortal,f as useLayerDocument};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var d=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var w=Object.getOwnPropertyNames;var f=Object.prototype.hasOwnProperty;var c=(n,e)=>{for(var u in e)d(n,u,{get:e[u],enumerable:!0})},l=(n,e,u,t)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of w(e))!f.call(n,o)&&o!==u&&d(n,o,{get:()=>e[o],enumerable:!(t=i(e,o))||t.enumerable});return n};var m=n=>l(d({},"__esModule",{value:!0}),n);var p={};c(p,{ownerDocumentOf:()=>r,ownerWindowOf:()=>D});module.exports=m(p);function r(n){return n?.ownerDocument??document}function D(n){return r(n).defaultView??window}0&&(module.exports={ownerDocumentOf,ownerWindowOf});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function e(n){return n?.ownerDocument??document}function o(n){return e(n).defaultView??window}export{e as ownerDocumentOf,o as ownerWindowOf};
|
package/dist/lib/ui-labels.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var o=Object.defineProperty;var n=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var d=Object.prototype.hasOwnProperty;var c=(r,e)=>{for(var t in e)o(r,t,{get:e[t],enumerable:!0})},h=(r,e,t,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of s(e))!d.call(r,i)&&i!==t&&o(r,i,{get:()=>e[i],enumerable:!(a=n(e,i))||a.enumerable});return r};var g=r=>h(o({},"__esModule",{value:!0}),r);var E={};c(E,{defaultUILabels:()=>p,formatUILabel:()=>m,frenchUILabels:()=>u});module.exports=g(E);var l=require("./server-labels.cjs"),p={closeModal:"Close modal",closeDrawer:"Close drawer",closeSidebar:"Close sidebar",openSidebar:"Open sidebar",expandSidebar:"Expand sidebar",collapseSidebar:"Collapse sidebar",sidebar:"Sidebar",enterFullScreen:"Enter full screen",exitFullScreen:"Exit full screen",confirm:"Confirm",cancel:"Cancel",markdownEditorUnavailable:"Markdown editor unavailable. Pass markdownEditor from @synertech/ui/markdown-editor.",chartShowTable:"Show data table",chartHideTable:"Hide data table",chartNoData:"No data",chartLoading:"Loading chart",chartOther:"Other",chartValue:"Value",chartTarget:"Target",chartIncrease:"Increase",chartDecrease:"Decrease",chartRunningTotal:"Running total",chartConversion:"Conversion",chartDropOff:"Drop-off",chartChange:"Change",chartMedian:"Median",chartCount:"Count",chartOutliers:"Outliers",chartMin:"Min",chartMax:"Max",chartOpen:"Open",chartHigh:"High",chartLow:"Low",chartClose:"Close",chartRise:"Up",chartFall:"Down",chartStart:"Start",chartEnd:"End",chartProgress:"Progress",chartToday:"Today",chartAnnotations:"Annotations",chartFilters:"Filters",chartPeriod:"Period",chartPeriodLast7Days:"Last 7 days",chartPeriodLast30Days:"Last 30 days",chartPeriodLast90Days:"Last 90 days",chartPeriodLast12Months:"Last 12 months",chartPeriodMonthToDate:"Month to date",chartPeriodQuarterToDate:"Quarter to date",chartPeriodYearToDate:"Year to date",chartPeriodCustom:"Custom range",chartError:"Chart could not be loaded",chartErrorHint:"Something went wrong while loading this data.",chartRetry:"Retry",chartExport:"Export",chartExportCsv:"Export as CSV",chartExportJson:"Export as JSON",chartBrush:"Selected range",chartClearSelection:"Clear selection",modalDefaultTitle:"Modal Title",bannerClose:"Close banner",toastClose:"Close notification",chipRemove:"Remove",headerSearchPlaceholder:"Search...",headerToggleMenu:"Toggle menu",...l.serverUILabels,selectPlaceholder:"Select...",selectNoOptions:"No options",selectClear:"Clear selection",selectSearch:"Search options",selectSearchPlaceholder:"Search...",mentionInputLoading:"Loading...",wizardOptional:"(optional)",wizardPrevious:"Previous",wizardNext:"Next",wizardFinish:"Finish",calendarPreviousMonth:"Previous month",calendarNextMonth:"Next month",calendarMonth:"Month",calendarYear:"Year",calendarWeekNumber:"Week number",calendarToday:"Today",calendarClear:"Clear",deviceMockupAlt:"Device screen content",paginationLabel:"Pagination",paginationRange:"{start}\u2013{end} of {total}",paginationRowsPerPage:"Rows:",paginationFirst:"Go to first page",paginationPrevious:"Go to previous page",paginationNext:"Go to next page",paginationLast:"Go to last page",paginationPage:"Page {page}",dataGridSearch:"Search table",dataGridSearchPlaceholder:"Search...",dataGridNoData:"No data available",dataGridSelectedCount:"{count} selected",dataGridSelectRow:"Select row {row}",dataGridSelectAllRows:"Select all rows",dataGridExpandRow:"Expand row",dataGridCollapseRow:"Collapse row",dataGridToggleColumns:"Toggle columns",dataGridExportAs:"Export as {format}",dataGridFilterColumn:"Filter {column}",dataGridFilterValue:"Filter {column} value",dataGridFilterValuePlaceholder:"Filter value...",dataGridFilterApply:"Apply",dataGridFilterClear:"Clear",dataGridOperatorContains:"Contains",dataGridOperatorEquals:"Equals",dataGridOperatorStartsWith:"Starts with",dataGridOperatorEndsWith:"Ends with",dataGridOperatorIsEmpty:"Is empty",dataGridOperatorIsNotEmpty:"Is not empty",dataGridOperatorGreaterThan:"Greater than",dataGridOperatorGreaterOrEqual:"Greater or equal",dataGridOperatorLessThan:"Less than",dataGridOperatorLessOrEqual:"Less or equal",dataGridEditHint:"Double-click to edit",dataGridEditCell:"Edit cell value",dataGridAggregateSum:"Total: {value}",dataGridAggregateAvg:"Avg: {value}",dataGridAggregateMin:"Min: {value}",dataGridAggregateMax:"Max: {value}",dataGridItemCount:"{count} item",dataGridItemsCount:"{count} items",dataGridRowsPerPage:"Rows per page:",dataGridPageOf:"Page {page} of {total}",dataGridFirstPage:"First page",dataGridPreviousPage:"Previous page",dataGridNextPage:"Next page",dataGridLastPage:"Last page",fileSelectorAllFiles:"All files",fileSelectorDropFile:"Drag & drop a file here, or",fileSelectorDropFiles:"Drag & drop files here, or",fileSelectorDropFolder:"Drag & drop a folder here, or",fileSelectorDropFilesOrFolders:"Drag & drop files or folders here, or",fileSelectorBrowse:"Browse",fileSelectorBrowseFiles:"Browse files",fileSelectorBrowseFolder:"Browse folder",fileSelectorDropZone:"File and folder drop zone",fileSelectorConstraints:"{accept} - Max {maxSize}",fileSelectorConstraintsMaxFiles:"{accept} - Max {maxSize} - Up to {maxFiles} files",fileSelectorTooLarge:"File exceeds maximum size of {maxSize}",fileSelectorTypeNotAccepted:"File type not accepted. Expected: {accept}",fileSelectorRemove:"Remove {name}",fileSelectorRemoveAll:"Remove all",fileSelectorChooseFile:"Choose file",fileSelectorChangeFile:"Change file",fileSelectorChooseFiles:"Choose files",fileSelectorChangeFiles:"Change files",fileSelectorChooseFolder:"Choose folder",fileSelectorChangeFolder:"Change folder",fileSelectorNoFile:"No file selected",fileSelectorNoFolder:"No folder selected",fileSelectorNoFileOrFolder:"No file or folder selected",fileSelectorFilesSelected:"{count} files selected",imageUploaderLabel:"Image",imageUploaderHelp:"Accepted formats: {formats} (max {maxSize}MB)",imageUploaderNotImage:"The file must be an image",imageUploaderTooLarge:"The file is too large (max {maxSize}MB)",imageUploaderReadError:"Error while reading the file",imageUploaderUploadError:"Error while uploading",imageUploaderPreview:"Preview",imageUploaderRemove:"Remove image",imageUploaderChoose:"Choose an image",imageUploaderChooseButton:"\u{1F4C1} Choose an image",imageUploaderChangeButton:"\u{1F4C1} Change image",imageUploaderUploading:"\u23F3 Uploading...",imageUploaderUrlLabel:"Or direct URL:",helpButtonShow:"Show help",helpButtonEdit:"Edit",helpButtonSave:"Save",helpButtonCancel:"Cancel",helpButtonReset:"Reset",helpButtonContent:"Help content",helpButtonContentPlaceholder:"Write your help content...",helpButtonNoSave:"No save function provided",helpButtonSaved:"Saved successfully!",helpButtonSaveError:"Error while saving",helpButtonResetConfirm:"Are you sure you want to reset this content?",helpButtonResetDone:"Reset successfully!",helpButtonResetError:"Error while resetting",markdownEditorPlaceholder:"Write in Markdown...",editorZoomIn:"Zoom in",editorZoomOut:"Zoom out",editorResetView:"Reset view",editorFitToContent:"Fit to content",editorExportJson:"Export JSON",editorImportJson:"Import JSON",editorImport:"Import",editorClose:"Close",workflowEditorSwitchToVertical:"Switch to vertical",workflowEditorSwitchToHorizontal:"Switch to horizontal",workflowEditorExportTitle:"Export Workflow",workflowEditorExportDescription:"Copy the JSON below to save your workflow.",workflowEditorImportTitle:"Import Workflow",workflowEditorImportDescription:"Paste workflow JSON to load it into the editor.",workflowEditorJsonField:"Workflow JSON",schemaEditorAddTable:"Add table",schemaEditorExportSql:"Export SQL",schemaEditorUndo:"Undo",schemaEditorUndoTooltip:"Undo (Ctrl+Z)",schemaEditorRedo:"Redo",schemaEditorRedoTooltip:"Redo (Ctrl+Y)",schemaEditorAutoLayout:"Auto layout",schemaEditorExportTitle:"Export Schema",schemaEditorExportDescription:"Copy the JSON below to save your schema.",schemaEditorImportTitle:"Import Schema",schemaEditorImportDescription:"Paste schema JSON to load it into the editor.",schemaEditorJsonField:"Schema JSON",schemaEditorSqlDescription:"Generated PostgreSQL CREATE TABLE statements.",schemaEditorTableName:"Table name",schemaEditorExpandTable:"Expand table",schemaEditorCollapseTable:"Collapse table",schemaEditorTableNotes:"Table notes",schemaEditorNotesPlaceholder:"Add notes...",schemaEditorFieldName:"Field name",schemaEditorAddField:"Add field",schemaEditorRemoveField:"Remove field",schemaEditorDefaultValue:"Default: {value}",schemaEditorDefaultValueFor:"Default value for {field}",schemaEditorSetDefaultValue:"Set default value",schemaEditorNullable:"Nullable",schemaEditorNotNullable:"Not nullable",schemaEditorPrimaryKey:"Primary Key",schemaEditorSetPrimaryKey:"Set as Primary Key",schemaEditorRemovePrimaryKey:"Primary Key (click to remove)",schemaEditorForeignKey:"Foreign Key",schemaEditorIndex:"Index",schemaEditorAddIndex:"Add index",schemaEditorRemoveIndex:"Indexed (click to remove)",schemaEditorUnique:"Unique",schemaEditorAddUnique:"Add unique constraint",schemaEditorRemoveUnique:"Unique (click to remove)"},u={closeModal:"Fermer la fen\xEAtre",closeDrawer:"Fermer le panneau",closeSidebar:"Fermer le menu lat\xE9ral",openSidebar:"Ouvrir le menu lat\xE9ral",expandSidebar:"D\xE9plier le menu lat\xE9ral",collapseSidebar:"Replier le menu lat\xE9ral",sidebar:"Menu lat\xE9ral",enterFullScreen:"Passer en plein \xE9cran",exitFullScreen:"Quitter le plein \xE9cran",confirm:"Confirmer",cancel:"Annuler",markdownEditorUnavailable:"\xC9diteur Markdown indisponible. Passez markdownEditor depuis @synertech/ui/markdown-editor.",chartShowTable:"Afficher le tableau de donn\xE9es",chartHideTable:"Masquer le tableau de donn\xE9es",chartNoData:"Aucune donn\xE9e",chartLoading:"Chargement du graphique",chartOther:"Autres",chartValue:"Valeur",chartTarget:"Objectif",chartIncrease:"Hausse",chartDecrease:"Baisse",chartRunningTotal:"Cumul",chartConversion:"Conversion",chartDropOff:"D\xE9perdition",chartChange:"\xC9cart",chartMedian:"M\xE9diane",chartCount:"Effectif",chartOutliers:"Valeurs aberrantes",chartMin:"Min",chartMax:"Max",chartOpen:"Ouverture",chartHigh:"Haut",chartLow:"Bas",chartClose:"Cl\xF4ture",chartRise:"Hausse",chartFall:"Baisse",chartStart:"D\xE9but",chartEnd:"Fin",chartProgress:"Avancement",chartToday:"Aujourd'hui",chartAnnotations:"Annotations",chartFilters:"Filtres",chartPeriod:"P\xE9riode",chartPeriodLast7Days:"7 derniers jours",chartPeriodLast30Days:"30 derniers jours",chartPeriodLast90Days:"90 derniers jours",chartPeriodLast12Months:"12 derniers mois",chartPeriodMonthToDate:"Mois en cours",chartPeriodQuarterToDate:"Trimestre en cours",chartPeriodYearToDate:"Ann\xE9e en cours",chartPeriodCustom:"P\xE9riode personnalis\xE9e",chartError:"Chargement impossible",chartErrorHint:"Une erreur est survenue pendant le chargement des donn\xE9es.",chartRetry:"R\xE9essayer",chartExport:"Exporter",chartExportCsv:"Exporter en CSV",chartExportJson:"Exporter en JSON",chartBrush:"Plage s\xE9lectionn\xE9e",chartClearSelection:"Effacer la s\xE9lection",modalDefaultTitle:"Titre de la fen\xEAtre",bannerClose:"Fermer la banni\xE8re",toastClose:"Fermer la notification",chipRemove:"Retirer",headerSearchPlaceholder:"Rechercher...",headerToggleMenu:"Ouvrir ou fermer le menu",labelOptional:"(facultatif)",labelRequired:"(obligatoire)",breadcrumbLabel:"Fil d'Ariane",avatarAlt:"Avatar",selectPlaceholder:"S\xE9lectionner...",selectNoOptions:"Aucune option",selectClear:"Effacer la s\xE9lection",selectSearch:"Rechercher une option",selectSearchPlaceholder:"Rechercher...",mentionInputLoading:"Chargement...",wizardOptional:"(facultatif)",wizardPrevious:"Pr\xE9c\xE9dent",wizardNext:"Suivant",wizardFinish:"Terminer",calendarPreviousMonth:"Mois pr\xE9c\xE9dent",calendarNextMonth:"Mois suivant",calendarMonth:"Mois",calendarYear:"Ann\xE9e",calendarWeekNumber:"Num\xE9ro de semaine",calendarToday:"Aujourd'hui",calendarClear:"Effacer",deviceMockupAlt:"Contenu de l'\xE9cran de l'appareil",paginationLabel:"Pagination",paginationRange:"{start}\u2013{end} sur {total}",paginationRowsPerPage:"Lignes :",paginationFirst:"Aller \xE0 la premi\xE8re page",paginationPrevious:"Aller \xE0 la page pr\xE9c\xE9dente",paginationNext:"Aller \xE0 la page suivante",paginationLast:"Aller \xE0 la derni\xE8re page",paginationPage:"Page {page}",dataGridSearch:"Rechercher dans le tableau",dataGridSearchPlaceholder:"Rechercher...",dataGridNoData:"Aucune donn\xE9e disponible",dataGridSelectedCount:"S\xE9lection : {count}",dataGridSelectRow:"S\xE9lectionner la ligne {row}",dataGridSelectAllRows:"S\xE9lectionner toutes les lignes",dataGridExpandRow:"D\xE9plier la ligne",dataGridCollapseRow:"Replier la ligne",dataGridToggleColumns:"Afficher ou masquer des colonnes",dataGridExportAs:"Exporter en {format}",dataGridFilterColumn:"Filtrer {column}",dataGridFilterValue:"Valeur du filtre {column}",dataGridFilterValuePlaceholder:"Valeur du filtre...",dataGridFilterApply:"Appliquer",dataGridFilterClear:"Effacer",dataGridOperatorContains:"Contient",dataGridOperatorEquals:"\xC9gal \xE0",dataGridOperatorStartsWith:"Commence par",dataGridOperatorEndsWith:"Se termine par",dataGridOperatorIsEmpty:"Est vide",dataGridOperatorIsNotEmpty:"N'est pas vide",dataGridOperatorGreaterThan:"Sup\xE9rieur \xE0",dataGridOperatorGreaterOrEqual:"Sup\xE9rieur ou \xE9gal \xE0",dataGridOperatorLessThan:"Inf\xE9rieur \xE0",dataGridOperatorLessOrEqual:"Inf\xE9rieur ou \xE9gal \xE0",dataGridEditHint:"Double-cliquer pour modifier",dataGridEditCell:"Modifier la valeur de la cellule",dataGridAggregateSum:"Total : {value}",dataGridAggregateAvg:"Moy. : {value}",dataGridAggregateMin:"Min : {value}",dataGridAggregateMax:"Max : {value}",dataGridItemCount:"{count} \xE9l\xE9ment",dataGridItemsCount:"{count} \xE9l\xE9ments",dataGridRowsPerPage:"Lignes par page :",dataGridPageOf:"Page {page} sur {total}",dataGridFirstPage:"Premi\xE8re page",dataGridPreviousPage:"Page pr\xE9c\xE9dente",dataGridNextPage:"Page suivante",dataGridLastPage:"Derni\xE8re page",fileSelectorAllFiles:"Tous les fichiers",fileSelectorDropFile:"Glissez-d\xE9posez un fichier ici, ou",fileSelectorDropFiles:"Glissez-d\xE9posez des fichiers ici, ou",fileSelectorDropFolder:"Glissez-d\xE9posez un dossier ici, ou",fileSelectorDropFilesOrFolders:"Glissez-d\xE9posez des fichiers ou des dossiers ici, ou",fileSelectorBrowse:"Parcourir",fileSelectorBrowseFiles:"Parcourir les fichiers",fileSelectorBrowseFolder:"Parcourir un dossier",fileSelectorDropZone:"Zone de d\xE9p\xF4t de fichiers et de dossiers",fileSelectorConstraints:"{accept} - Max. {maxSize}",fileSelectorConstraintsMaxFiles:"{accept} - Max. {maxSize} - Jusqu'\xE0 {maxFiles} fichiers",fileSelectorTooLarge:"Le fichier d\xE9passe la taille maximale de {maxSize}",fileSelectorTypeNotAccepted:"Type de fichier refus\xE9. Attendu : {accept}",fileSelectorRemove:"Retirer {name}",fileSelectorRemoveAll:"Tout retirer",fileSelectorChooseFile:"Choisir un fichier",fileSelectorChangeFile:"Changer de fichier",fileSelectorChooseFiles:"Choisir des fichiers",fileSelectorChangeFiles:"Changer les fichiers",fileSelectorChooseFolder:"Choisir un dossier",fileSelectorChangeFolder:"Changer de dossier",fileSelectorNoFile:"Aucun fichier s\xE9lectionn\xE9",fileSelectorNoFolder:"Aucun dossier s\xE9lectionn\xE9",fileSelectorNoFileOrFolder:"Aucun fichier ni dossier s\xE9lectionn\xE9",fileSelectorFilesSelected:"{count} fichiers s\xE9lectionn\xE9s",imageUploaderLabel:"Image",imageUploaderHelp:"Formats accept\xE9s : {formats} (max {maxSize}MB)",imageUploaderNotImage:"Le fichier doit \xEAtre une image",imageUploaderTooLarge:"Le fichier est trop volumineux (max {maxSize}MB)",imageUploaderReadError:"Erreur lors de la lecture du fichier",imageUploaderUploadError:"Erreur lors de l'upload",imageUploaderPreview:"Aper\xE7u",imageUploaderRemove:"Supprimer l'image",imageUploaderChoose:"Choisir une image",imageUploaderChooseButton:"\u{1F4C1} Choisir une image",imageUploaderChangeButton:"\u{1F4C1} Changer l'image",imageUploaderUploading:"\u23F3 Upload...",imageUploaderUrlLabel:"Ou URL directe :",helpButtonShow:"Afficher l'aide",helpButtonEdit:"Modifier",helpButtonSave:"Sauvegarder",helpButtonCancel:"Annuler",helpButtonReset:"R\xE9initialiser",helpButtonContent:"Contenu d'aide",helpButtonContentPlaceholder:"\xC9crivez votre contenu d'aide...",helpButtonNoSave:"Aucune fonction de sauvegarde fournie",helpButtonSaved:"Sauvegard\xE9 avec succ\xE8s !",helpButtonSaveError:"Erreur lors de la sauvegarde",helpButtonResetConfirm:"\xCAtes-vous s\xFBr de vouloir r\xE9initialiser ce contenu ?",helpButtonResetDone:"R\xE9initialis\xE9 avec succ\xE8s !",helpButtonResetError:"Erreur lors de la r\xE9initialisation",markdownEditorPlaceholder:"\xC9crivez en Markdown...",editorZoomIn:"Zoom avant",editorZoomOut:"Zoom arri\xE8re",editorResetView:"R\xE9initialiser la vue",editorFitToContent:"Ajuster au contenu",editorExportJson:"Exporter en JSON",editorImportJson:"Importer du JSON",editorImport:"Importer",editorClose:"Fermer",workflowEditorSwitchToVertical:"Passer en vertical",workflowEditorSwitchToHorizontal:"Passer en horizontal",workflowEditorExportTitle:"Exporter le workflow",workflowEditorExportDescription:"Copiez le JSON ci-dessous pour enregistrer votre workflow.",workflowEditorImportTitle:"Importer un workflow",workflowEditorImportDescription:"Collez le JSON d'un workflow pour le charger dans l'\xE9diteur.",workflowEditorJsonField:"JSON du workflow",schemaEditorAddTable:"Ajouter une table",schemaEditorExportSql:"Exporter en SQL",schemaEditorUndo:"Annuler",schemaEditorUndoTooltip:"Annuler (Ctrl+Z)",schemaEditorRedo:"R\xE9tablir",schemaEditorRedoTooltip:"R\xE9tablir (Ctrl+Y)",schemaEditorAutoLayout:"Disposition automatique",schemaEditorExportTitle:"Exporter le sch\xE9ma",schemaEditorExportDescription:"Copiez le JSON ci-dessous pour enregistrer votre sch\xE9ma.",schemaEditorImportTitle:"Importer un sch\xE9ma",schemaEditorImportDescription:"Collez le JSON d'un sch\xE9ma pour le charger dans l'\xE9diteur.",schemaEditorJsonField:"JSON du sch\xE9ma",schemaEditorSqlDescription:"Instructions CREATE TABLE PostgreSQL g\xE9n\xE9r\xE9es.",schemaEditorTableName:"Nom de la table",schemaEditorExpandTable:"D\xE9plier la table",schemaEditorCollapseTable:"Replier la table",schemaEditorTableNotes:"Notes de la table",schemaEditorNotesPlaceholder:"Ajouter des notes...",schemaEditorFieldName:"Nom du champ",schemaEditorAddField:"Ajouter un champ",schemaEditorRemoveField:"Supprimer le champ",schemaEditorDefaultValue:"D\xE9faut : {value}",schemaEditorDefaultValueFor:"Valeur par d\xE9faut de {field}",schemaEditorSetDefaultValue:"D\xE9finir une valeur par d\xE9faut",schemaEditorNullable:"Nullable",schemaEditorNotNullable:"Non nullable",schemaEditorPrimaryKey:"Cl\xE9 primaire",schemaEditorSetPrimaryKey:"D\xE9finir comme cl\xE9 primaire",schemaEditorRemovePrimaryKey:"Cl\xE9 primaire (cliquer pour retirer)",schemaEditorForeignKey:"Cl\xE9 \xE9trang\xE8re",schemaEditorIndex:"Index",schemaEditorAddIndex:"Ajouter un index",schemaEditorRemoveIndex:"Index\xE9 (cliquer pour retirer)",schemaEditorUnique:"Unique",schemaEditorAddUnique:"Ajouter une contrainte d'unicit\xE9",schemaEditorRemoveUnique:"Unique (cliquer pour retirer)"};function m(r,e){return r.replace(/\{(\w+)\}/g,(t,a)=>Object.prototype.hasOwnProperty.call(e,a)?String(e[a]):t)}0&&(module.exports={defaultUILabels,formatUILabel,frenchUILabels});
|
|
1
|
+
"use strict";var o=Object.defineProperty;var n=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var d=Object.prototype.hasOwnProperty;var c=(r,e)=>{for(var t in e)o(r,t,{get:e[t],enumerable:!0})},h=(r,e,t,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of s(e))!d.call(r,i)&&i!==t&&o(r,i,{get:()=>e[i],enumerable:!(a=n(e,i))||a.enumerable});return r};var g=r=>h(o({},"__esModule",{value:!0}),r);var E={};c(E,{defaultUILabels:()=>p,formatUILabel:()=>m,frenchUILabels:()=>u});module.exports=g(E);var l=require("./server-labels.cjs"),p={closeModal:"Close modal",closeDrawer:"Close drawer",closeSidebar:"Close sidebar",openSidebar:"Open sidebar",expandSidebar:"Expand sidebar",collapseSidebar:"Collapse sidebar",sidebar:"Sidebar",enterFullScreen:"Enter full screen",exitFullScreen:"Exit full screen",confirm:"Confirm",cancel:"Cancel",markdownEditorUnavailable:"Markdown editor unavailable. Pass markdownEditor from @synertech/ui/markdown-editor.",chartShowTable:"Show data table",chartHideTable:"Hide data table",chartNoData:"No data",chartLoading:"Loading chart",chartOther:"Other",chartValue:"Value",chartTarget:"Target",chartIncrease:"Increase",chartDecrease:"Decrease",chartRunningTotal:"Running total",chartConversion:"Conversion",chartDropOff:"Drop-off",chartChange:"Change",chartMedian:"Median",chartCount:"Count",chartOutliers:"Outliers",chartMin:"Min",chartMax:"Max",chartOpen:"Open",chartHigh:"High",chartLow:"Low",chartClose:"Close",chartRise:"Up",chartFall:"Down",chartStart:"Start",chartEnd:"End",chartProgress:"Progress",chartToday:"Today",chartAnnotations:"Annotations",chartFilters:"Filters",chartPeriod:"Period",chartPeriodLast7Days:"Last 7 days",chartPeriodLast30Days:"Last 30 days",chartPeriodLast90Days:"Last 90 days",chartPeriodLast12Months:"Last 12 months",chartPeriodMonthToDate:"Month to date",chartPeriodQuarterToDate:"Quarter to date",chartPeriodYearToDate:"Year to date",chartPeriodCustom:"Custom range",chartError:"Chart could not be loaded",chartErrorHint:"Something went wrong while loading this data.",chartRetry:"Retry",chartExport:"Export",chartExportCsv:"Export as CSV",chartExportJson:"Export as JSON",chartBrush:"Selected range",chartClearSelection:"Clear selection",modalDefaultTitle:"Modal Title",bannerClose:"Close banner",toastClose:"Close notification",chipRemove:"Remove",headerSearchPlaceholder:"Search...",headerToggleMenu:"Toggle menu",...l.serverUILabels,selectPlaceholder:"Select...",selectNoOptions:"No options",selectClear:"Clear selection",selectSearch:"Search options",selectSearchPlaceholder:"Search...",mentionInputLoading:"Loading...",wizardOptional:"(optional)",wizardPrevious:"Previous",wizardNext:"Next",wizardFinish:"Finish",calendarPreviousMonth:"Previous month",calendarNextMonth:"Next month",calendarMonth:"Month",calendarYear:"Year",calendarWeekNumber:"Week number",calendarToday:"Today",calendarClear:"Clear",deviceMockupAlt:"Device screen content",paginationLabel:"Pagination",paginationRange:"{start}\u2013{end} of {total}",paginationRowsPerPage:"Rows:",paginationFirst:"Go to first page",paginationPrevious:"Go to previous page",paginationNext:"Go to next page",paginationLast:"Go to last page",paginationPage:"Page {page}",dataGridSearch:"Search table",dataGridSearchPlaceholder:"Search...",dataGridNoData:"No data available",dataGridSelectedCount:"{count} selected",dataGridSelectRow:"Select row {row}",dataGridSelectAllRows:"Select all rows",dataGridExpandRow:"Expand row",dataGridCollapseRow:"Collapse row",dataGridToggleColumns:"Toggle columns",dataGridExportAs:"Export as {format}",dataGridFilterColumn:"Filter {column}",dataGridFilterValue:"Filter {column} value",dataGridFilterValuePlaceholder:"Filter value...",dataGridFilterApply:"Apply",dataGridFilterClear:"Clear",dataGridOperatorContains:"Contains",dataGridOperatorEquals:"Equals",dataGridOperatorStartsWith:"Starts with",dataGridOperatorEndsWith:"Ends with",dataGridOperatorIsEmpty:"Is empty",dataGridOperatorIsNotEmpty:"Is not empty",dataGridOperatorGreaterThan:"Greater than",dataGridOperatorGreaterOrEqual:"Greater or equal",dataGridOperatorLessThan:"Less than",dataGridOperatorLessOrEqual:"Less or equal",dataGridEditHint:"Double-click to edit",dataGridEditCell:"Edit cell value",dataGridAggregateSum:"Total: {value}",dataGridAggregateAvg:"Avg: {value}",dataGridAggregateMin:"Min: {value}",dataGridAggregateMax:"Max: {value}",dataGridItemCount:"{count} item",dataGridItemsCount:"{count} items",dataGridRowsPerPage:"Rows per page:",dataGridPageOf:"Page {page} of {total}",dataGridFirstPage:"First page",dataGridPreviousPage:"Previous page",dataGridNextPage:"Next page",dataGridLastPage:"Last page",fileSelectorAllFiles:"All files",fileSelectorDropFile:"Drag & drop a file here, or",fileSelectorDropFiles:"Drag & drop files here, or",fileSelectorDropFolder:"Drag & drop a folder here, or",fileSelectorDropFilesOrFolders:"Drag & drop files or folders here, or",fileSelectorBrowse:"Browse",fileSelectorBrowseFiles:"Browse files",fileSelectorBrowseFolder:"Browse folder",fileSelectorDropZone:"File and folder drop zone",fileSelectorConstraints:"{accept} - Max {maxSize}",fileSelectorConstraintsMaxFiles:"{accept} - Max {maxSize} - Up to {maxFiles} files",fileSelectorTooLarge:"File exceeds maximum size of {maxSize}",fileSelectorTypeNotAccepted:"File type not accepted. Expected: {accept}",fileSelectorRemove:"Remove {name}",fileSelectorRemoveAll:"Remove all",fileSelectorChooseFile:"Choose file",fileSelectorChangeFile:"Change file",fileSelectorChooseFiles:"Choose files",fileSelectorChangeFiles:"Change files",fileSelectorChooseFolder:"Choose folder",fileSelectorChangeFolder:"Change folder",fileSelectorNoFile:"No file selected",fileSelectorNoFolder:"No folder selected",fileSelectorNoFileOrFolder:"No file or folder selected",fileSelectorFilesSelected:"{count} files selected",imageUploaderLabel:"Image",imageUploaderHelp:"Accepted formats: {formats} (max {maxSize}MB)",imageUploaderNotImage:"The file must be an image",imageUploaderTooLarge:"The file is too large (max {maxSize}MB)",imageUploaderReadError:"Error while reading the file",imageUploaderUploadError:"Error while uploading",imageUploaderPreview:"Preview",imageUploaderRemove:"Remove image",imageUploaderChoose:"Choose an image",imageUploaderChooseButton:"\u{1F4C1} Choose an image",imageUploaderChangeButton:"\u{1F4C1} Change image",imageUploaderUploading:"\u23F3 Uploading...",imageUploaderUrlLabel:"Or direct URL:",helpButtonShow:"Show help",helpButtonEdit:"Edit",helpButtonSave:"Save",helpButtonCancel:"Cancel",helpButtonReset:"Reset",helpButtonContent:"Help content",helpButtonContentPlaceholder:"Write your help content...",helpButtonNoSave:"No save function provided",helpButtonSaved:"Saved successfully!",helpButtonSaveError:"Error while saving",helpButtonResetConfirm:"Are you sure you want to reset this content?",helpButtonResetDone:"Reset successfully!",helpButtonResetError:"Error while resetting",markdownEditorPlaceholder:"Write in Markdown...",editorZoomIn:"Zoom in",editorZoomOut:"Zoom out",editorResetView:"Reset view",editorFitToContent:"Fit to content",editorExportJson:"Export JSON",editorImportJson:"Import JSON",editorImport:"Import",editorClose:"Close",editorImportInvalidJson:"This text is not valid JSON.",editorImportInvalidContent:"This JSON cannot be opened here: {path} is missing or has the wrong form.",workflowEditorSwitchToVertical:"Switch to vertical",workflowEditorSwitchToHorizontal:"Switch to horizontal",workflowEditorExportTitle:"Export Workflow",workflowEditorExportDescription:"Copy the JSON below to save your workflow.",workflowEditorImportTitle:"Import Workflow",workflowEditorImportDescription:"Paste workflow JSON to load it into the editor.",workflowEditorJsonField:"Workflow JSON",schemaEditorAddTable:"Add table",schemaEditorExportSql:"Export SQL",schemaEditorUndo:"Undo",schemaEditorUndoTooltip:"Undo (Ctrl+Z)",schemaEditorRedo:"Redo",schemaEditorRedoTooltip:"Redo (Ctrl+Y)",schemaEditorAutoLayout:"Auto layout",schemaEditorExportTitle:"Export Schema",schemaEditorExportDescription:"Copy the JSON below to save your schema.",schemaEditorImportTitle:"Import Schema",schemaEditorImportDescription:"Paste schema JSON to load it into the editor.",schemaEditorJsonField:"Schema JSON",schemaEditorSqlDescription:"Generated PostgreSQL CREATE TABLE statements.",schemaEditorTableName:"Table name",schemaEditorExpandTable:"Expand table",schemaEditorCollapseTable:"Collapse table",schemaEditorTableNotes:"Table notes",schemaEditorNotesPlaceholder:"Add notes...",schemaEditorFieldName:"Field name",schemaEditorAddField:"Add field",schemaEditorRemoveField:"Remove field",schemaEditorDefaultValue:"Default: {value}",schemaEditorDefaultValueFor:"Default value for {field}",schemaEditorSetDefaultValue:"Set default value",schemaEditorNullable:"Nullable",schemaEditorNotNullable:"Not nullable",schemaEditorPrimaryKey:"Primary Key",schemaEditorSetPrimaryKey:"Set as Primary Key",schemaEditorRemovePrimaryKey:"Primary Key (click to remove)",schemaEditorForeignKey:"Foreign Key",schemaEditorIndex:"Index",schemaEditorAddIndex:"Add index",schemaEditorRemoveIndex:"Indexed (click to remove)",schemaEditorUnique:"Unique",schemaEditorAddUnique:"Add unique constraint",schemaEditorRemoveUnique:"Unique (click to remove)"},u={closeModal:"Fermer la fen\xEAtre",closeDrawer:"Fermer le panneau",closeSidebar:"Fermer le menu lat\xE9ral",openSidebar:"Ouvrir le menu lat\xE9ral",expandSidebar:"D\xE9plier le menu lat\xE9ral",collapseSidebar:"Replier le menu lat\xE9ral",sidebar:"Menu lat\xE9ral",enterFullScreen:"Passer en plein \xE9cran",exitFullScreen:"Quitter le plein \xE9cran",confirm:"Confirmer",cancel:"Annuler",markdownEditorUnavailable:"\xC9diteur Markdown indisponible. Passez markdownEditor depuis @synertech/ui/markdown-editor.",chartShowTable:"Afficher le tableau de donn\xE9es",chartHideTable:"Masquer le tableau de donn\xE9es",chartNoData:"Aucune donn\xE9e",chartLoading:"Chargement du graphique",chartOther:"Autres",chartValue:"Valeur",chartTarget:"Objectif",chartIncrease:"Hausse",chartDecrease:"Baisse",chartRunningTotal:"Cumul",chartConversion:"Conversion",chartDropOff:"D\xE9perdition",chartChange:"\xC9cart",chartMedian:"M\xE9diane",chartCount:"Effectif",chartOutliers:"Valeurs aberrantes",chartMin:"Min",chartMax:"Max",chartOpen:"Ouverture",chartHigh:"Haut",chartLow:"Bas",chartClose:"Cl\xF4ture",chartRise:"Hausse",chartFall:"Baisse",chartStart:"D\xE9but",chartEnd:"Fin",chartProgress:"Avancement",chartToday:"Aujourd'hui",chartAnnotations:"Annotations",chartFilters:"Filtres",chartPeriod:"P\xE9riode",chartPeriodLast7Days:"7 derniers jours",chartPeriodLast30Days:"30 derniers jours",chartPeriodLast90Days:"90 derniers jours",chartPeriodLast12Months:"12 derniers mois",chartPeriodMonthToDate:"Mois en cours",chartPeriodQuarterToDate:"Trimestre en cours",chartPeriodYearToDate:"Ann\xE9e en cours",chartPeriodCustom:"P\xE9riode personnalis\xE9e",chartError:"Chargement impossible",chartErrorHint:"Une erreur est survenue pendant le chargement des donn\xE9es.",chartRetry:"R\xE9essayer",chartExport:"Exporter",chartExportCsv:"Exporter en CSV",chartExportJson:"Exporter en JSON",chartBrush:"Plage s\xE9lectionn\xE9e",chartClearSelection:"Effacer la s\xE9lection",modalDefaultTitle:"Titre de la fen\xEAtre",bannerClose:"Fermer la banni\xE8re",toastClose:"Fermer la notification",chipRemove:"Retirer",headerSearchPlaceholder:"Rechercher...",headerToggleMenu:"Ouvrir ou fermer le menu",labelOptional:"(facultatif)",labelRequired:"(obligatoire)",breadcrumbLabel:"Fil d'Ariane",avatarAlt:"Avatar",selectPlaceholder:"S\xE9lectionner...",selectNoOptions:"Aucune option",selectClear:"Effacer la s\xE9lection",selectSearch:"Rechercher une option",selectSearchPlaceholder:"Rechercher...",mentionInputLoading:"Chargement...",wizardOptional:"(facultatif)",wizardPrevious:"Pr\xE9c\xE9dent",wizardNext:"Suivant",wizardFinish:"Terminer",calendarPreviousMonth:"Mois pr\xE9c\xE9dent",calendarNextMonth:"Mois suivant",calendarMonth:"Mois",calendarYear:"Ann\xE9e",calendarWeekNumber:"Num\xE9ro de semaine",calendarToday:"Aujourd'hui",calendarClear:"Effacer",deviceMockupAlt:"Contenu de l'\xE9cran de l'appareil",paginationLabel:"Pagination",paginationRange:"{start}\u2013{end} sur {total}",paginationRowsPerPage:"Lignes :",paginationFirst:"Aller \xE0 la premi\xE8re page",paginationPrevious:"Aller \xE0 la page pr\xE9c\xE9dente",paginationNext:"Aller \xE0 la page suivante",paginationLast:"Aller \xE0 la derni\xE8re page",paginationPage:"Page {page}",dataGridSearch:"Rechercher dans le tableau",dataGridSearchPlaceholder:"Rechercher...",dataGridNoData:"Aucune donn\xE9e disponible",dataGridSelectedCount:"S\xE9lection : {count}",dataGridSelectRow:"S\xE9lectionner la ligne {row}",dataGridSelectAllRows:"S\xE9lectionner toutes les lignes",dataGridExpandRow:"D\xE9plier la ligne",dataGridCollapseRow:"Replier la ligne",dataGridToggleColumns:"Afficher ou masquer des colonnes",dataGridExportAs:"Exporter en {format}",dataGridFilterColumn:"Filtrer {column}",dataGridFilterValue:"Valeur du filtre {column}",dataGridFilterValuePlaceholder:"Valeur du filtre...",dataGridFilterApply:"Appliquer",dataGridFilterClear:"Effacer",dataGridOperatorContains:"Contient",dataGridOperatorEquals:"\xC9gal \xE0",dataGridOperatorStartsWith:"Commence par",dataGridOperatorEndsWith:"Se termine par",dataGridOperatorIsEmpty:"Est vide",dataGridOperatorIsNotEmpty:"N'est pas vide",dataGridOperatorGreaterThan:"Sup\xE9rieur \xE0",dataGridOperatorGreaterOrEqual:"Sup\xE9rieur ou \xE9gal \xE0",dataGridOperatorLessThan:"Inf\xE9rieur \xE0",dataGridOperatorLessOrEqual:"Inf\xE9rieur ou \xE9gal \xE0",dataGridEditHint:"Double-cliquer pour modifier",dataGridEditCell:"Modifier la valeur de la cellule",dataGridAggregateSum:"Total : {value}",dataGridAggregateAvg:"Moy. : {value}",dataGridAggregateMin:"Min : {value}",dataGridAggregateMax:"Max : {value}",dataGridItemCount:"{count} \xE9l\xE9ment",dataGridItemsCount:"{count} \xE9l\xE9ments",dataGridRowsPerPage:"Lignes par page :",dataGridPageOf:"Page {page} sur {total}",dataGridFirstPage:"Premi\xE8re page",dataGridPreviousPage:"Page pr\xE9c\xE9dente",dataGridNextPage:"Page suivante",dataGridLastPage:"Derni\xE8re page",fileSelectorAllFiles:"Tous les fichiers",fileSelectorDropFile:"Glissez-d\xE9posez un fichier ici, ou",fileSelectorDropFiles:"Glissez-d\xE9posez des fichiers ici, ou",fileSelectorDropFolder:"Glissez-d\xE9posez un dossier ici, ou",fileSelectorDropFilesOrFolders:"Glissez-d\xE9posez des fichiers ou des dossiers ici, ou",fileSelectorBrowse:"Parcourir",fileSelectorBrowseFiles:"Parcourir les fichiers",fileSelectorBrowseFolder:"Parcourir un dossier",fileSelectorDropZone:"Zone de d\xE9p\xF4t de fichiers et de dossiers",fileSelectorConstraints:"{accept} - Max. {maxSize}",fileSelectorConstraintsMaxFiles:"{accept} - Max. {maxSize} - Jusqu'\xE0 {maxFiles} fichiers",fileSelectorTooLarge:"Le fichier d\xE9passe la taille maximale de {maxSize}",fileSelectorTypeNotAccepted:"Type de fichier refus\xE9. Attendu : {accept}",fileSelectorRemove:"Retirer {name}",fileSelectorRemoveAll:"Tout retirer",fileSelectorChooseFile:"Choisir un fichier",fileSelectorChangeFile:"Changer de fichier",fileSelectorChooseFiles:"Choisir des fichiers",fileSelectorChangeFiles:"Changer les fichiers",fileSelectorChooseFolder:"Choisir un dossier",fileSelectorChangeFolder:"Changer de dossier",fileSelectorNoFile:"Aucun fichier s\xE9lectionn\xE9",fileSelectorNoFolder:"Aucun dossier s\xE9lectionn\xE9",fileSelectorNoFileOrFolder:"Aucun fichier ni dossier s\xE9lectionn\xE9",fileSelectorFilesSelected:"{count} fichiers s\xE9lectionn\xE9s",imageUploaderLabel:"Image",imageUploaderHelp:"Formats accept\xE9s : {formats} (max {maxSize}MB)",imageUploaderNotImage:"Le fichier doit \xEAtre une image",imageUploaderTooLarge:"Le fichier est trop volumineux (max {maxSize}MB)",imageUploaderReadError:"Erreur lors de la lecture du fichier",imageUploaderUploadError:"Erreur lors de l'upload",imageUploaderPreview:"Aper\xE7u",imageUploaderRemove:"Supprimer l'image",imageUploaderChoose:"Choisir une image",imageUploaderChooseButton:"\u{1F4C1} Choisir une image",imageUploaderChangeButton:"\u{1F4C1} Changer l'image",imageUploaderUploading:"\u23F3 Upload...",imageUploaderUrlLabel:"Ou URL directe :",helpButtonShow:"Afficher l'aide",helpButtonEdit:"Modifier",helpButtonSave:"Sauvegarder",helpButtonCancel:"Annuler",helpButtonReset:"R\xE9initialiser",helpButtonContent:"Contenu d'aide",helpButtonContentPlaceholder:"\xC9crivez votre contenu d'aide...",helpButtonNoSave:"Aucune fonction de sauvegarde fournie",helpButtonSaved:"Sauvegard\xE9 avec succ\xE8s !",helpButtonSaveError:"Erreur lors de la sauvegarde",helpButtonResetConfirm:"\xCAtes-vous s\xFBr de vouloir r\xE9initialiser ce contenu ?",helpButtonResetDone:"R\xE9initialis\xE9 avec succ\xE8s !",helpButtonResetError:"Erreur lors de la r\xE9initialisation",markdownEditorPlaceholder:"\xC9crivez en Markdown...",editorZoomIn:"Zoom avant",editorZoomOut:"Zoom arri\xE8re",editorResetView:"R\xE9initialiser la vue",editorFitToContent:"Ajuster au contenu",editorExportJson:"Exporter en JSON",editorImportJson:"Importer du JSON",editorImport:"Importer",editorClose:"Fermer",editorImportInvalidJson:"Ce texte n'est pas du JSON valide.",editorImportInvalidContent:"Ce JSON ne peut pas \xEAtre ouvert ici : {path} manque ou n'a pas la bonne forme.",workflowEditorSwitchToVertical:"Passer en vertical",workflowEditorSwitchToHorizontal:"Passer en horizontal",workflowEditorExportTitle:"Exporter le workflow",workflowEditorExportDescription:"Copiez le JSON ci-dessous pour enregistrer votre workflow.",workflowEditorImportTitle:"Importer un workflow",workflowEditorImportDescription:"Collez le JSON d'un workflow pour le charger dans l'\xE9diteur.",workflowEditorJsonField:"JSON du workflow",schemaEditorAddTable:"Ajouter une table",schemaEditorExportSql:"Exporter en SQL",schemaEditorUndo:"Annuler",schemaEditorUndoTooltip:"Annuler (Ctrl+Z)",schemaEditorRedo:"R\xE9tablir",schemaEditorRedoTooltip:"R\xE9tablir (Ctrl+Y)",schemaEditorAutoLayout:"Disposition automatique",schemaEditorExportTitle:"Exporter le sch\xE9ma",schemaEditorExportDescription:"Copiez le JSON ci-dessous pour enregistrer votre sch\xE9ma.",schemaEditorImportTitle:"Importer un sch\xE9ma",schemaEditorImportDescription:"Collez le JSON d'un sch\xE9ma pour le charger dans l'\xE9diteur.",schemaEditorJsonField:"JSON du sch\xE9ma",schemaEditorSqlDescription:"Instructions CREATE TABLE PostgreSQL g\xE9n\xE9r\xE9es.",schemaEditorTableName:"Nom de la table",schemaEditorExpandTable:"D\xE9plier la table",schemaEditorCollapseTable:"Replier la table",schemaEditorTableNotes:"Notes de la table",schemaEditorNotesPlaceholder:"Ajouter des notes...",schemaEditorFieldName:"Nom du champ",schemaEditorAddField:"Ajouter un champ",schemaEditorRemoveField:"Supprimer le champ",schemaEditorDefaultValue:"D\xE9faut : {value}",schemaEditorDefaultValueFor:"Valeur par d\xE9faut de {field}",schemaEditorSetDefaultValue:"D\xE9finir une valeur par d\xE9faut",schemaEditorNullable:"Nullable",schemaEditorNotNullable:"Non nullable",schemaEditorPrimaryKey:"Cl\xE9 primaire",schemaEditorSetPrimaryKey:"D\xE9finir comme cl\xE9 primaire",schemaEditorRemovePrimaryKey:"Cl\xE9 primaire (cliquer pour retirer)",schemaEditorForeignKey:"Cl\xE9 \xE9trang\xE8re",schemaEditorIndex:"Index",schemaEditorAddIndex:"Ajouter un index",schemaEditorRemoveIndex:"Index\xE9 (cliquer pour retirer)",schemaEditorUnique:"Unique",schemaEditorAddUnique:"Ajouter une contrainte d'unicit\xE9",schemaEditorRemoveUnique:"Unique (cliquer pour retirer)"};function m(r,e){return r.replace(/\{(\w+)\}/g,(t,a)=>Object.prototype.hasOwnProperty.call(e,a)?String(e[a]):t)}0&&(module.exports={defaultUILabels,formatUILabel,frenchUILabels});
|