@laserfiche/types-lf-ui-components 14.1.2 → 14.1.3
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/index.d.ts +8 -4
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -656,10 +656,10 @@ export declare class LfRepositoryBrowserComponent {
|
|
|
656
656
|
setColumnsToDisplay: (cols: ColumnDef[]) => void;
|
|
657
657
|
/**
|
|
658
658
|
* Function to initialize the lf-repository-browser component
|
|
659
|
-
* @param
|
|
660
|
-
* @param
|
|
659
|
+
* @param treeNodeService LfRepositoryService service
|
|
660
|
+
* @param initialOpenedNode The LfTreeNode that you would like to open, or the identifier of the LfTreeNode. The identifier should match the implementation of service.getTreeNodeByIdentifierAsync(..) (i.e. id, path, etc.)
|
|
661
661
|
*/
|
|
662
|
-
initAsync: (treeNodeService: LfTreeNodeService,
|
|
662
|
+
initAsync: (treeNodeService: LfTreeNodeService, initialOpenedNode?: LfTreeNode | string) => Promise<void>;
|
|
663
663
|
/**
|
|
664
664
|
* This function will be called for each LfTreeNode to determine if it is selectable, when it is rendered
|
|
665
665
|
*/
|
|
@@ -746,7 +746,6 @@ export declare class LfRepositoryBrowserComponent {
|
|
|
746
746
|
|
|
747
747
|
|
|
748
748
|
|
|
749
|
-
|
|
750
749
|
|
|
751
750
|
|
|
752
751
|
}
|
|
@@ -803,6 +802,11 @@ export declare interface LfTreeNodeService {
|
|
|
803
802
|
* returns - Promise with the parent of the parameter LfTreeNode or undefined if its the root LfTreeNode and does not have a parent
|
|
804
803
|
*/
|
|
805
804
|
getParentTreeNodeAsync(treeNode: LfTreeNode): Promise<LfTreeNode | undefined>;
|
|
805
|
+
/**
|
|
806
|
+
* Gets the LfTreeNode referenced by the identifier. This can be specific to the implementation of the service (i.e. id, path, etc.)
|
|
807
|
+
* @param identifier Identifier for the LfTreeNode.
|
|
808
|
+
*/
|
|
809
|
+
getTreeNodeByIdentifierAsync?(identifier: string): Promise<LfTreeNode | undefined>;
|
|
806
810
|
}
|
|
807
811
|
|
|
808
812
|
export declare class LfUserFeedbackComponent {
|