hazo_files 3.0.0 → 3.1.1
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/CHANGE_LOG.md +24 -0
- package/README.md +45 -2
- package/dist/background-upload/react/index.d.mts +1 -2
- package/dist/background-upload/react/index.d.ts +1 -2
- package/dist/index.d.mts +125 -1
- package/dist/index.d.ts +125 -1
- package/dist/index.js +418 -0
- package/dist/index.mjs +422 -0
- package/dist/server/index.d.mts +84 -1
- package/dist/server/index.d.ts +84 -1
- package/dist/server/index.js +264 -0
- package/dist/server/index.mjs +265 -1
- package/dist/testing/index.d.mts +37 -0
- package/dist/testing/index.d.ts +37 -0
- package/dist/testing/index.js +33 -0
- package/dist/testing/index.mjs +33 -0
- package/dist/ui/index.d.mts +97 -54
- package/dist/ui/index.d.ts +97 -54
- package/dist/ui/index.js +49 -5
- package/dist/ui/index.mjs +46 -2
- package/package.json +12 -12
package/dist/ui/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import React__default, { ReactNode } from 'react';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Naming rule types for hazo_files package
|
|
@@ -223,13 +223,19 @@ interface FileBrowserState {
|
|
|
223
223
|
* CreateFolderDialog Component
|
|
224
224
|
* Dialog for creating a new folder
|
|
225
225
|
*/
|
|
226
|
+
|
|
226
227
|
interface CreateFolderDialogProps {
|
|
227
228
|
isOpen: boolean;
|
|
228
229
|
onClose: () => void;
|
|
229
230
|
onSubmit: (name: string) => Promise<void>;
|
|
230
231
|
currentPath: string;
|
|
231
232
|
}
|
|
232
|
-
declare function CreateFolderDialog({ isOpen, onClose, onSubmit, currentPath, }: CreateFolderDialogProps):
|
|
233
|
+
declare function CreateFolderDialog({ isOpen, onClose, onSubmit, currentPath, }: CreateFolderDialogProps): React__default.JSX.Element | null;
|
|
234
|
+
|
|
235
|
+
/**
|
|
236
|
+
* RenameDialog Component
|
|
237
|
+
* Dialog for renaming a file or folder
|
|
238
|
+
*/
|
|
233
239
|
|
|
234
240
|
interface RenameDialogProps {
|
|
235
241
|
isOpen: boolean;
|
|
@@ -237,7 +243,7 @@ interface RenameDialogProps {
|
|
|
237
243
|
onClose: () => void;
|
|
238
244
|
onSubmit: (newName: string) => Promise<void>;
|
|
239
245
|
}
|
|
240
|
-
declare function RenameDialog({ isOpen, item, onClose, onSubmit, }: RenameDialogProps):
|
|
246
|
+
declare function RenameDialog({ isOpen, item, onClose, onSubmit, }: RenameDialogProps): React__default.JSX.Element | null;
|
|
241
247
|
|
|
242
248
|
interface DeleteConfirmDialogProps {
|
|
243
249
|
isOpen: boolean;
|
|
@@ -245,19 +251,20 @@ interface DeleteConfirmDialogProps {
|
|
|
245
251
|
onClose: () => void;
|
|
246
252
|
onConfirm: () => Promise<void>;
|
|
247
253
|
}
|
|
248
|
-
declare function DeleteConfirmDialog({ isOpen, item, onClose, onConfirm, }: DeleteConfirmDialogProps):
|
|
254
|
+
declare function DeleteConfirmDialog({ isOpen, item, onClose, onConfirm, }: DeleteConfirmDialogProps): React.JSX.Element | null;
|
|
249
255
|
|
|
250
256
|
/**
|
|
251
257
|
* UploadDialog Component
|
|
252
258
|
* Dialog for uploading files with drag and drop support
|
|
253
259
|
*/
|
|
260
|
+
|
|
254
261
|
interface UploadDialogProps {
|
|
255
262
|
isOpen: boolean;
|
|
256
263
|
currentPath: string;
|
|
257
264
|
onClose: () => void;
|
|
258
265
|
onUpload: (files: FileList) => Promise<void>;
|
|
259
266
|
}
|
|
260
|
-
declare function UploadDialog({ isOpen, currentPath, onClose, onUpload, }: UploadDialogProps):
|
|
267
|
+
declare function UploadDialog({ isOpen, currentPath, onClose, onUpload, }: UploadDialogProps): React__default.JSX.Element | null;
|
|
261
268
|
|
|
262
269
|
/**
|
|
263
270
|
* Extended metadata including database record data
|
|
@@ -302,7 +309,7 @@ interface FileInfoPanelProps {
|
|
|
302
309
|
* // With custom styling
|
|
303
310
|
* <FileInfoPanel item={file} className="p-4 bg-gray-50 rounded-lg" />
|
|
304
311
|
*/
|
|
305
|
-
declare function FileInfoPanel({ item, metadata, isLoading, showCustomMetadata, className, }: FileInfoPanelProps):
|
|
312
|
+
declare function FileInfoPanel({ item, metadata, isLoading, showCustomMetadata, className, }: FileInfoPanelProps): React.JSX.Element;
|
|
306
313
|
|
|
307
314
|
interface MetadataDialogProps {
|
|
308
315
|
isOpen: boolean;
|
|
@@ -311,7 +318,7 @@ interface MetadataDialogProps {
|
|
|
311
318
|
isLoading?: boolean;
|
|
312
319
|
onClose: () => void;
|
|
313
320
|
}
|
|
314
|
-
declare function MetadataDialog({ isOpen, item, metadata, isLoading, onClose, }: MetadataDialogProps):
|
|
321
|
+
declare function MetadataDialog({ isOpen, item, metadata, isLoading, onClose, }: MetadataDialogProps): React.JSX.Element | null;
|
|
315
322
|
|
|
316
323
|
interface FileBrowserAPI$1 {
|
|
317
324
|
listDirectory: (path: string) => Promise<OperationResult<FileSystemItem[]>>;
|
|
@@ -341,18 +348,24 @@ interface FileBrowserProps {
|
|
|
341
348
|
onNavigate?: (path: string) => void;
|
|
342
349
|
onSelect?: (item: FileSystemItem | null) => void;
|
|
343
350
|
}
|
|
344
|
-
declare function FileBrowser({ api, initialPath, showPreview, showTree, viewMode, className, treeWidth, previewHeight, onError, onNavigate, onSelect, }: FileBrowserProps):
|
|
351
|
+
declare function FileBrowser({ api, initialPath, showPreview, showTree, viewMode, className, treeWidth, previewHeight, onError, onNavigate, onSelect, }: FileBrowserProps): React.JSX.Element;
|
|
345
352
|
|
|
346
353
|
/**
|
|
347
354
|
* PathBreadcrumb Component
|
|
348
355
|
* Displays the current path as a breadcrumb navigation
|
|
349
356
|
*/
|
|
357
|
+
|
|
350
358
|
interface PathBreadcrumbProps {
|
|
351
359
|
currentPath: string;
|
|
352
360
|
onNavigate: (path: string) => void;
|
|
353
361
|
className?: string;
|
|
354
362
|
}
|
|
355
|
-
declare function PathBreadcrumb({ currentPath, onNavigate, className }: PathBreadcrumbProps):
|
|
363
|
+
declare function PathBreadcrumb({ currentPath, onNavigate, className }: PathBreadcrumbProps): React__default.JSX.Element;
|
|
364
|
+
|
|
365
|
+
/**
|
|
366
|
+
* FolderTree Component
|
|
367
|
+
* Displays a hierarchical tree view of folders
|
|
368
|
+
*/
|
|
356
369
|
|
|
357
370
|
interface FolderTreeProps {
|
|
358
371
|
tree: TreeNode[];
|
|
@@ -364,7 +377,12 @@ interface FolderTreeProps {
|
|
|
364
377
|
dropTargetPath?: string | null;
|
|
365
378
|
className?: string;
|
|
366
379
|
}
|
|
367
|
-
declare function FolderTree({ tree, currentPath, onSelect, onExpand, onToggle, isDragging, dropTargetPath, className, }: FolderTreeProps):
|
|
380
|
+
declare function FolderTree({ tree, currentPath, onSelect, onExpand, onToggle, isDragging, dropTargetPath, className, }: FolderTreeProps): React__default.JSX.Element;
|
|
381
|
+
|
|
382
|
+
/**
|
|
383
|
+
* FileList Component
|
|
384
|
+
* Displays a grid/list of files and folders
|
|
385
|
+
*/
|
|
368
386
|
|
|
369
387
|
interface FileListProps {
|
|
370
388
|
files: FileSystemItem[];
|
|
@@ -372,13 +390,13 @@ interface FileListProps {
|
|
|
372
390
|
isLoading: boolean;
|
|
373
391
|
onSelect: (item: FileSystemItem) => void;
|
|
374
392
|
onOpen: (item: FileSystemItem) => void;
|
|
375
|
-
onContextMenu?: (item: FileSystemItem, event:
|
|
393
|
+
onContextMenu?: (item: FileSystemItem, event: React__default.MouseEvent) => void;
|
|
376
394
|
viewMode?: 'grid' | 'list';
|
|
377
395
|
draggedItem?: FileSystemItem | null;
|
|
378
396
|
dropTargetPath?: string | null;
|
|
379
397
|
className?: string;
|
|
380
398
|
}
|
|
381
|
-
declare function FileList$1({ files, selectedItem, isLoading, onSelect, onOpen, onContextMenu, viewMode, draggedItem, dropTargetPath, className, }: FileListProps):
|
|
399
|
+
declare function FileList$1({ files, selectedItem, isLoading, onSelect, onOpen, onContextMenu, viewMode, draggedItem, dropTargetPath, className, }: FileListProps): React__default.JSX.Element;
|
|
382
400
|
|
|
383
401
|
interface FilePreviewProps {
|
|
384
402
|
item: FileSystemItem | null;
|
|
@@ -386,7 +404,12 @@ interface FilePreviewProps {
|
|
|
386
404
|
getFileContent?: (path: string) => Promise<string>;
|
|
387
405
|
className?: string;
|
|
388
406
|
}
|
|
389
|
-
declare function FilePreview({ item, getPreviewUrl, getFileContent, className, }: FilePreviewProps):
|
|
407
|
+
declare function FilePreview({ item, getPreviewUrl, getFileContent, className, }: FilePreviewProps): React.JSX.Element;
|
|
408
|
+
|
|
409
|
+
/**
|
|
410
|
+
* FileActions Component
|
|
411
|
+
* Toolbar with action buttons for file operations
|
|
412
|
+
*/
|
|
390
413
|
|
|
391
414
|
interface FileActionsProps {
|
|
392
415
|
selectedItem: FileSystemItem | null;
|
|
@@ -399,7 +422,12 @@ interface FileActionsProps {
|
|
|
399
422
|
isLoading?: boolean;
|
|
400
423
|
className?: string;
|
|
401
424
|
}
|
|
402
|
-
declare function FileActions({ selectedItem, onCreateFolder, onUpload, onDownload, onDelete, onRename, onRefresh, isLoading, className, }: FileActionsProps):
|
|
425
|
+
declare function FileActions({ selectedItem, onCreateFolder, onUpload, onDownload, onDelete, onRename, onRefresh, isLoading, className, }: FileActionsProps): React__default.JSX.Element;
|
|
426
|
+
|
|
427
|
+
/**
|
|
428
|
+
* ContextMenu Component
|
|
429
|
+
* Custom right-click context menu positioned at cursor location
|
|
430
|
+
*/
|
|
403
431
|
|
|
404
432
|
interface IconProps$1 {
|
|
405
433
|
className?: string;
|
|
@@ -408,7 +436,7 @@ interface IconProps$1 {
|
|
|
408
436
|
interface ContextMenuItem {
|
|
409
437
|
id: string;
|
|
410
438
|
label: string;
|
|
411
|
-
icon?:
|
|
439
|
+
icon?: React__default.ComponentType<IconProps$1>;
|
|
412
440
|
onClick: () => void;
|
|
413
441
|
disabled?: boolean;
|
|
414
442
|
danger?: boolean;
|
|
@@ -422,13 +450,18 @@ interface ContextMenuProps {
|
|
|
422
450
|
} | null;
|
|
423
451
|
onClose: () => void;
|
|
424
452
|
}
|
|
425
|
-
declare function ContextMenu({ items, position, onClose }: ContextMenuProps):
|
|
453
|
+
declare function ContextMenu({ items, position, onClose }: ContextMenuProps): React__default.JSX.Element | null;
|
|
426
454
|
|
|
427
455
|
interface DragPreviewProps {
|
|
428
456
|
item: FileSystemItem;
|
|
429
457
|
className?: string;
|
|
430
458
|
}
|
|
431
|
-
declare function DragPreview({ item, className }: DragPreviewProps):
|
|
459
|
+
declare function DragPreview({ item, className }: DragPreviewProps): React.JSX.Element;
|
|
460
|
+
|
|
461
|
+
/**
|
|
462
|
+
* FileBrowser Context
|
|
463
|
+
* Provides state management for the file browser component
|
|
464
|
+
*/
|
|
432
465
|
|
|
433
466
|
type FileBrowserAction = {
|
|
434
467
|
type: 'SET_LOADING';
|
|
@@ -485,7 +518,7 @@ interface FileBrowserAPI {
|
|
|
485
518
|
}
|
|
486
519
|
interface FileBrowserContextValue {
|
|
487
520
|
state: FileBrowserState;
|
|
488
|
-
dispatch:
|
|
521
|
+
dispatch: React__default.Dispatch<FileBrowserAction>;
|
|
489
522
|
api: FileBrowserAPI | null;
|
|
490
523
|
navigateTo: (path: string) => Promise<void>;
|
|
491
524
|
refresh: () => Promise<void>;
|
|
@@ -504,7 +537,7 @@ interface FileBrowserProviderProps {
|
|
|
504
537
|
api: FileBrowserAPI;
|
|
505
538
|
initialPath?: string;
|
|
506
539
|
}
|
|
507
|
-
declare function FileBrowserProvider({ children, api, initialPath }: FileBrowserProviderProps):
|
|
540
|
+
declare function FileBrowserProvider({ children, api, initialPath }: FileBrowserProviderProps): React__default.JSX.Element;
|
|
508
541
|
declare function useFileBrowserContext(): FileBrowserContextValue;
|
|
509
542
|
|
|
510
543
|
/**
|
|
@@ -576,39 +609,44 @@ interface UseMultiFileOperationsReturn {
|
|
|
576
609
|
}
|
|
577
610
|
declare function useMultiFileOperations(): UseMultiFileOperationsReturn;
|
|
578
611
|
|
|
612
|
+
/**
|
|
613
|
+
* File Type Icons
|
|
614
|
+
* SVG icons for different file types
|
|
615
|
+
*/
|
|
616
|
+
|
|
579
617
|
interface IconProps {
|
|
580
618
|
className?: string;
|
|
581
619
|
size?: number;
|
|
582
620
|
}
|
|
583
|
-
declare function FolderIcon({ className, size }: IconProps):
|
|
584
|
-
declare function FolderOpenIcon({ className, size }: IconProps):
|
|
585
|
-
declare function FileIcon({ className, size }: IconProps):
|
|
586
|
-
declare function FileTextIcon({ className, size }: IconProps):
|
|
587
|
-
declare function ImageIcon({ className, size }: IconProps):
|
|
588
|
-
declare function VideoIcon({ className, size }: IconProps):
|
|
589
|
-
declare function AudioIcon({ className, size }: IconProps):
|
|
590
|
-
declare function ArchiveIcon({ className, size }: IconProps):
|
|
591
|
-
declare function PdfIcon({ className, size }: IconProps):
|
|
592
|
-
declare function CodeIcon({ className, size }: IconProps):
|
|
593
|
-
declare function UploadIcon({ className, size }: IconProps):
|
|
594
|
-
declare function DownloadIcon({ className, size }: IconProps):
|
|
595
|
-
declare function TrashIcon({ className, size }: IconProps):
|
|
596
|
-
declare function PencilIcon({ className, size }: IconProps):
|
|
597
|
-
declare function PlusIcon({ className, size }: IconProps):
|
|
598
|
-
declare function RefreshIcon({ className, size }: IconProps):
|
|
599
|
-
declare function ChevronRightIcon({ className, size }: IconProps):
|
|
600
|
-
declare function ChevronDownIcon({ className, size }: IconProps):
|
|
601
|
-
declare function HomeIcon({ className, size }: IconProps):
|
|
602
|
-
declare function MoreVerticalIcon({ className, size }: IconProps):
|
|
603
|
-
declare function XIcon({ className, size }: IconProps):
|
|
604
|
-
declare function LoaderIcon({ className, size }: IconProps):
|
|
605
|
-
declare function InfoIcon({ className, size }: IconProps):
|
|
621
|
+
declare function FolderIcon({ className, size }: IconProps): React__default.JSX.Element;
|
|
622
|
+
declare function FolderOpenIcon({ className, size }: IconProps): React__default.JSX.Element;
|
|
623
|
+
declare function FileIcon({ className, size }: IconProps): React__default.JSX.Element;
|
|
624
|
+
declare function FileTextIcon({ className, size }: IconProps): React__default.JSX.Element;
|
|
625
|
+
declare function ImageIcon({ className, size }: IconProps): React__default.JSX.Element;
|
|
626
|
+
declare function VideoIcon({ className, size }: IconProps): React__default.JSX.Element;
|
|
627
|
+
declare function AudioIcon({ className, size }: IconProps): React__default.JSX.Element;
|
|
628
|
+
declare function ArchiveIcon({ className, size }: IconProps): React__default.JSX.Element;
|
|
629
|
+
declare function PdfIcon({ className, size }: IconProps): React__default.JSX.Element;
|
|
630
|
+
declare function CodeIcon({ className, size }: IconProps): React__default.JSX.Element;
|
|
631
|
+
declare function UploadIcon({ className, size }: IconProps): React__default.JSX.Element;
|
|
632
|
+
declare function DownloadIcon({ className, size }: IconProps): React__default.JSX.Element;
|
|
633
|
+
declare function TrashIcon({ className, size }: IconProps): React__default.JSX.Element;
|
|
634
|
+
declare function PencilIcon({ className, size }: IconProps): React__default.JSX.Element;
|
|
635
|
+
declare function PlusIcon({ className, size }: IconProps): React__default.JSX.Element;
|
|
636
|
+
declare function RefreshIcon({ className, size }: IconProps): React__default.JSX.Element;
|
|
637
|
+
declare function ChevronRightIcon({ className, size }: IconProps): React__default.JSX.Element;
|
|
638
|
+
declare function ChevronDownIcon({ className, size }: IconProps): React__default.JSX.Element;
|
|
639
|
+
declare function HomeIcon({ className, size }: IconProps): React__default.JSX.Element;
|
|
640
|
+
declare function MoreVerticalIcon({ className, size }: IconProps): React__default.JSX.Element;
|
|
641
|
+
declare function XIcon({ className, size }: IconProps): React__default.JSX.Element;
|
|
642
|
+
declare function LoaderIcon({ className, size }: IconProps): React__default.JSX.Element;
|
|
643
|
+
declare function InfoIcon({ className, size }: IconProps): React__default.JSX.Element;
|
|
606
644
|
/**
|
|
607
645
|
* Get the appropriate icon component for a file type
|
|
608
646
|
*/
|
|
609
|
-
declare function getFileIcon(mimeType: string, isDirectory: boolean):
|
|
647
|
+
declare function getFileIcon(mimeType: string, isDirectory: boolean): React__default.ComponentType<IconProps>;
|
|
610
648
|
|
|
611
|
-
declare function NamingRuleConfigurator({ variables, initialSchema, onChange, onExport, onImport, className, customDateFormats, readOnly, sampleFileName, }: NamingRuleConfiguratorProps):
|
|
649
|
+
declare function NamingRuleConfigurator({ variables, initialSchema, onChange, onExport, onImport, className, customDateFormats, readOnly, sampleFileName, }: NamingRuleConfiguratorProps): React.JSX.Element;
|
|
612
650
|
|
|
613
651
|
interface VariableListProps {
|
|
614
652
|
/** User-defined variables */
|
|
@@ -622,7 +660,7 @@ interface VariableListProps {
|
|
|
622
660
|
/** Additional CSS class */
|
|
623
661
|
className?: string;
|
|
624
662
|
}
|
|
625
|
-
declare function VariableList({ userVariables, customDateFormats, onVariableClick, disabled, className, }: VariableListProps):
|
|
663
|
+
declare function VariableList({ userVariables, customDateFormats, onVariableClick, disabled, className, }: VariableListProps): React.JSX.Element;
|
|
626
664
|
|
|
627
665
|
interface PatternBuilderProps {
|
|
628
666
|
/** Current pattern segments */
|
|
@@ -650,7 +688,7 @@ interface PatternBuilderProps {
|
|
|
650
688
|
/** Additional CSS class */
|
|
651
689
|
className?: string;
|
|
652
690
|
}
|
|
653
|
-
declare function PatternBuilder({ pattern, label, droppableId, onAddSegment, onRemoveSegment, onUpdateSegment, onClear, readOnly, placeholder, className, }: PatternBuilderProps):
|
|
691
|
+
declare function PatternBuilder({ pattern, label, droppableId, onAddSegment, onRemoveSegment, onUpdateSegment, onClear, readOnly, placeholder, className, }: PatternBuilderProps): React.JSX.Element;
|
|
654
692
|
|
|
655
693
|
interface PatternPreviewProps {
|
|
656
694
|
/** File pattern segments */
|
|
@@ -668,7 +706,7 @@ interface PatternPreviewProps {
|
|
|
668
706
|
/** Additional CSS class */
|
|
669
707
|
className?: string;
|
|
670
708
|
}
|
|
671
|
-
declare function PatternPreview({ filePattern, folderPattern, userVariables, sampleFileName, previewDate, counterValue, className, }: PatternPreviewProps):
|
|
709
|
+
declare function PatternPreview({ filePattern, folderPattern, userVariables, sampleFileName, previewDate, counterValue, className, }: PatternPreviewProps): React.JSX.Element;
|
|
672
710
|
|
|
673
711
|
interface DraggableVariableProps {
|
|
674
712
|
/** The variable data */
|
|
@@ -680,7 +718,7 @@ interface DraggableVariableProps {
|
|
|
680
718
|
/** Whether the variable is disabled */
|
|
681
719
|
disabled?: boolean;
|
|
682
720
|
}
|
|
683
|
-
declare function DraggableVariable({ variable, onClick, className, disabled, }: DraggableVariableProps):
|
|
721
|
+
declare function DraggableVariable({ variable, onClick, className, disabled, }: DraggableVariableProps): React.JSX.Element;
|
|
684
722
|
|
|
685
723
|
interface PatternSegmentItemProps {
|
|
686
724
|
/** The segment data */
|
|
@@ -694,7 +732,7 @@ interface PatternSegmentItemProps {
|
|
|
694
732
|
/** Additional CSS class */
|
|
695
733
|
className?: string;
|
|
696
734
|
}
|
|
697
|
-
declare function PatternSegmentItem({ segment, onUpdate, onDelete, readOnly, className, }: PatternSegmentItemProps):
|
|
735
|
+
declare function PatternSegmentItem({ segment, onUpdate, onDelete, readOnly, className, }: PatternSegmentItemProps): React.JSX.Element;
|
|
698
736
|
|
|
699
737
|
/**
|
|
700
738
|
* SeparatorPicker Component
|
|
@@ -708,7 +746,7 @@ interface SeparatorPickerProps {
|
|
|
708
746
|
/** Additional CSS class */
|
|
709
747
|
className?: string;
|
|
710
748
|
}
|
|
711
|
-
declare function SeparatorPicker({ onSelect, disabled, className, }: SeparatorPickerProps):
|
|
749
|
+
declare function SeparatorPicker({ onSelect, disabled, className, }: SeparatorPickerProps): React.JSX.Element;
|
|
712
750
|
|
|
713
751
|
/**
|
|
714
752
|
* useNamingRule Hook
|
|
@@ -726,6 +764,11 @@ interface UseNamingRuleOptions {
|
|
|
726
764
|
*/
|
|
727
765
|
declare function useNamingRule(options?: UseNamingRuleOptions): UseNamingRuleReturn;
|
|
728
766
|
|
|
767
|
+
/**
|
|
768
|
+
* Naming Convention List Component
|
|
769
|
+
* Displays a list of naming conventions with CRUD actions, grouped by type
|
|
770
|
+
*/
|
|
771
|
+
|
|
729
772
|
interface NamingConventionListProps {
|
|
730
773
|
/** List of naming conventions to display */
|
|
731
774
|
conventions: ParsedNamingConvention[];
|
|
@@ -765,7 +808,7 @@ interface NamingConventionListProps {
|
|
|
765
808
|
* />
|
|
766
809
|
* ```
|
|
767
810
|
*/
|
|
768
|
-
declare function NamingConventionList({ conventions, selectedId, onSelect, onCreate, onDelete, onDuplicate, isLoading, className, showScope, }: NamingConventionListProps):
|
|
811
|
+
declare function NamingConventionList({ conventions, selectedId, onSelect, onCreate, onDelete, onDuplicate, isLoading, className, showScope, }: NamingConventionListProps): React__default.JSX.Element;
|
|
769
812
|
|
|
770
813
|
/**
|
|
771
814
|
* Simplified variable definition for passing variables via props.
|
|
@@ -830,7 +873,7 @@ interface NamingConventionEditorProps {
|
|
|
830
873
|
* />
|
|
831
874
|
* ```
|
|
832
875
|
*/
|
|
833
|
-
declare function NamingConventionEditor({ convention, variableDefinitions, availableVariables, onSave, onCancel, isSaving, className, readOnly, defaultScopeId, onExport, onImport, }: NamingConventionEditorProps):
|
|
876
|
+
declare function NamingConventionEditor({ convention, variableDefinitions, availableVariables, onSave, onCancel, isSaving, className, readOnly, defaultScopeId, onExport, onImport, }: NamingConventionEditorProps): React.JSX.Element;
|
|
834
877
|
|
|
835
878
|
/**
|
|
836
879
|
* API interface for naming convention operations
|
|
@@ -917,6 +960,6 @@ interface NamingConventionManagerProps {
|
|
|
917
960
|
* />
|
|
918
961
|
* ```
|
|
919
962
|
*/
|
|
920
|
-
declare function NamingConventionManager({ api, availableVariables, listOptions, defaultScopeId, onSave, onDelete, onError, className, listWidth, showScope, initialSelectedId, }: NamingConventionManagerProps):
|
|
963
|
+
declare function NamingConventionManager({ api, availableVariables, listOptions, defaultScopeId, onSave, onDelete, onError, className, listWidth, showScope, initialSelectedId, }: NamingConventionManagerProps): React.JSX.Element;
|
|
921
964
|
|
|
922
965
|
export { ArchiveIcon, AudioIcon, ChevronDownIcon, ChevronRightIcon, CodeIcon, ContextMenu, type ContextMenuItem, type ContextMenuProps, CreateFolderDialog, type CreateFolderDialogProps, DeleteConfirmDialog, type DeleteConfirmDialogProps, DownloadIcon, DragPreview, type DragPreviewProps, DraggableVariable, type DraggableVariableProps, FileActions, type FileActionsProps, FileBrowser, type FileBrowserAPI$1 as FileBrowserAPI, type FileBrowserProps, FileBrowserProvider, type FileBrowserProviderProps, FileIcon, FileInfoPanel, type FileInfoPanelProps, FileList$1 as FileList, type FileListProps, type FileMetadata, FilePreview, type FilePreviewProps, FileTextIcon, FolderIcon, FolderOpenIcon, FolderTree, type FolderTreeProps, HomeIcon, ImageIcon, InfoIcon, LoaderIcon, MetadataDialog, type MetadataDialogProps, MoreVerticalIcon, type NamingConventionAPI, NamingConventionEditor, type NamingConventionEditorProps, NamingConventionList, type NamingConventionListProps, NamingConventionManager, type NamingConventionManagerProps, NamingRuleConfigurator, type OperationState, PathBreadcrumb, type PathBreadcrumbProps, PatternBuilder, type PatternBuilderProps, PatternPreview, type PatternPreviewProps, PatternSegmentItem, type PatternSegmentItemProps, PdfIcon, PencilIcon, PlusIcon, RefreshIcon, RenameDialog, type RenameDialogProps, SeparatorPicker, type SeparatorPickerProps, TrashIcon, UploadDialog, type UploadDialogProps, UploadIcon, type UseFileBrowserOptions, type UseFileBrowserReturn, type UseFileOperationsReturn, type UseMultiFileOperationsReturn, type UseNamingRuleOptions, VariableList, type VariableListProps, VideoIcon, XIcon, getFileIcon, useFileBrowser, useFileBrowserContext, useFileOperations, useMultiFileOperations, useNamingRule };
|