@plasmicpkgs/plasmic-rich-components 1.0.154 → 1.0.156
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/dist/.tsbuildinfo +1 -1
- package/dist/field-react-utils.d.ts +8 -1
- package/dist/index.js +271 -236
- package/dist/index.js.map +1 -1
- package/dist/plasmic-rich-components.esm.js +272 -237
- package/dist/plasmic-rich-components.esm.js.map +1 -1
- package/package.json +2 -2
|
@@ -21,7 +21,14 @@ interface RowActionMenu {
|
|
|
21
21
|
children?: RowActionItem[];
|
|
22
22
|
}
|
|
23
23
|
export type RowAction = RowActionItem | RowActionMenu;
|
|
24
|
-
export declare function
|
|
24
|
+
export declare function tagDataArray(xs: object[]): {
|
|
25
|
+
__tag: number;
|
|
26
|
+
}[];
|
|
27
|
+
export declare function getTag(x: unknown): any;
|
|
28
|
+
/**
|
|
29
|
+
* Don't want to simply return undefined, we prefer always having *some* row key so that users can always (say) click on things without needing to explicitly set a row key.
|
|
30
|
+
*/
|
|
31
|
+
export declare function deriveRowKey(_data: QueryResult | undefined, rowKey: string | GetRowKey<Record<any, any>> | undefined): string | GetRowKey<Record<any, any>> | ((x: unknown) => any);
|
|
25
32
|
export declare function deriveKeyOfRow(row: any, rowKey: string | GetRowKey<any> | undefined): any;
|
|
26
33
|
export declare function renderActions(rowActions: RowAction[], row: any, data: NormalizedData | undefined, rowKey: string | ((record: any, index?: number) => Key) | undefined): React.JSX.Element[];
|
|
27
34
|
export {};
|