@mikezimm/fps-library-v2
Version:
Library of reusable typescript/javascript functions, interfaces and constants
37 lines • 3.12 kB
JavaScript
// /**
// * CodeAnalizerComment: Updated 1 imports on 2024-09-22 14:49:52
// * Update:: import { IAnySourceItem } to '@mikezimm/fps-core-v7/lib/components/molecules/AnyContent/IAnyContent;'
// */
// /**
// * CodeAnalizerComment: Updated 1 imports on 2024-09-21 23:07:24
// * Update:: import { IAnySourceItem } to '@mikezimm/fps-core-v7/lib/components/molecules/AnyContent/IAnyContent;'
// */
// import { IAnySourceItem, } from '@mikezimm/fps-core-v7/lib/components/molecules/AnyContent/IAnyContent'; // ./AnyContent/IAnyContent';
// export interface ISourceRowRender {
// // onClick : ( item : IAnySourceItem, searchText: string, onClick: void , details: boolean, showItemType: boolean ) => JSX.Element;
// item: IAnySourceItem;
// searchText: string;
// optionalColumns1?: string[]; // Optional item Columns added to left of row (after Id) Use Dot Notation. Will check for value and have Title as last object key
// optionalColumns2?: string[]; // Optional item Columns added to right of row (after last column) Use Dot Notation. Will check for value and have Title as last object key
// optionalColumns3?: string[]; // Extra optional columns can be passed into rowRender function
// optionalColumns4?: string[]; // Extra optional columns can be passed into rowRender function
// optionalColumns5?: string[]; // Extra optional columns can be passed into rowRender function
// optionalColumns6?: string[]; // Extra optional columns can be passed into rowRender function
// optionalColumns7?: string[]; // Extra optional columns can be passed into rowRender function
// // When clicking row, do something on SourcePages component
// onClick: ( Id: number, type: string, item: IAnySourceItem, event: React.MouseEvent<HTMLElement> ) => void;
// onPropFilter: ( prop: string, value: string, event: React.MouseEvent<HTMLElement> ) => void;
// onTextFilter: ( value: string, event: React.MouseEvent<HTMLElement> ) => void;
// // onOpenPanel will open the panel with the item.
// onOpenPanel?: ( Id: number, type: string, item: IAnySourceItem, event: React.MouseEvent<HTMLElement> ) => void;
// // onParentCall is a pass down from the parent web part component and SHOULD look for this signature.
// // retainViewXdidUpdates will default to 0. Only use if required... built for HubCon Nav selecting items that are currently not on first page.
// // pass this value as 1 in order to prevent sourcePages view from reseting all filtering for x componentDidUpdate cycles.
// // It should prevent item filtering from changing just because you select an item ( make it 'item.selected=true')
// onParentCall?: ( command: string, Id: number, type: string, item: IAnySourceItem, retainViewXdidUpdates?: number, event?: React.MouseEvent<HTMLElement> ) => void;
// // callBack the parent component with item
// sendItemToParent?: ( command: string, Id: number, type: string, item: IAnySourceItem, event?: React.MouseEvent<HTMLElement> ) => void;
// details: boolean;
// showItemType: boolean;
// }
//# sourceMappingURL=ISourceRowRender.js.map