@factorialco/f0-react 2.47.0 → 2.48.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.
@@ -169,6 +169,8 @@ export declare const defaultTranslations: {
169
169
  readonly selectAll: "Select all";
170
170
  readonly selectAllItems: "Select all {{total}} items";
171
171
  readonly apply: "Apply";
172
+ readonly saveAsPreset: "Save view";
173
+ readonly editPreset: "Edit view";
172
174
  };
173
175
  readonly status: {
174
176
  readonly selected: {
@@ -239,6 +241,22 @@ export declare const defaultTranslations: {
239
241
  readonly actions: {
240
242
  readonly actions: "Actions";
241
243
  };
244
+ readonly presets: {
245
+ readonly createTitle: "Save view";
246
+ readonly createDescription: "Save the current filters, sorting, grouping and columns as a view.";
247
+ readonly updateTitle: "Update view";
248
+ readonly updateDescription: "Update this view's name and description.";
249
+ readonly nameLabel: "Title";
250
+ readonly namePlaceholder: "View name";
251
+ readonly duplicateName: "A view with this name already exists";
252
+ readonly descriptionLabel: "Description";
253
+ readonly descriptionPlaceholder: "Optional description";
254
+ readonly save: "Save";
255
+ readonly delete: "Remove";
256
+ readonly share: "Share view";
257
+ readonly copiedToClipboard: "Copied to your clipboard";
258
+ readonly cancel: "Cancel";
259
+ };
242
260
  readonly visualizations: {
243
261
  readonly table: "Table view";
244
262
  readonly editableTable: "Editable table view";
@@ -853,9 +871,9 @@ declare module "gridstack" {
853
871
 
854
872
  declare module "@tiptap/core" {
855
873
  interface Commands<ReturnType> {
856
- enhanceHighlight: {
857
- setEnhanceHighlight: (from: number, to: number) => ReturnType;
858
- clearEnhanceHighlight: () => ReturnType;
874
+ aiBlock: {
875
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
876
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
859
877
  };
860
878
  }
861
879
  }
@@ -863,9 +881,9 @@ declare module "@tiptap/core" {
863
881
 
864
882
  declare module "@tiptap/core" {
865
883
  interface Commands<ReturnType> {
866
- aiBlock: {
867
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
868
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
884
+ enhanceHighlight: {
885
+ setEnhanceHighlight: (from: number, to: number) => ReturnType;
886
+ clearEnhanceHighlight: () => ReturnType;
869
887
  };
870
888
  }
871
889
  }
@@ -168,7 +168,9 @@ const e = {
168
168
  toggleDropdownMenu: "Toggle dropdown menu",
169
169
  selectAll: "Select all",
170
170
  selectAllItems: "Select all {{total}} items",
171
- apply: "Apply"
171
+ apply: "Apply",
172
+ saveAsPreset: "Save view",
173
+ editPreset: "Edit view"
172
174
  },
173
175
  status: {
174
176
  selected: {
@@ -239,6 +241,22 @@ const e = {
239
241
  actions: {
240
242
  actions: "Actions"
241
243
  },
244
+ presets: {
245
+ createTitle: "Save view",
246
+ createDescription: "Save the current filters, sorting, grouping and columns as a view.",
247
+ updateTitle: "Update view",
248
+ updateDescription: "Update this view's name and description.",
249
+ nameLabel: "Title",
250
+ namePlaceholder: "View name",
251
+ duplicateName: "A view with this name already exists",
252
+ descriptionLabel: "Description",
253
+ descriptionPlaceholder: "Optional description",
254
+ save: "Save",
255
+ delete: "Remove",
256
+ share: "Share view",
257
+ copiedToClipboard: "Copied to your clipboard",
258
+ cancel: "Cancel"
259
+ },
242
260
  visualizations: {
243
261
  table: "Table view",
244
262
  editableTable: "Editable table view",