@plasmicpkgs/plasmic-rich-components 1.0.117 → 1.0.119

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.
@@ -1,4 +1,11 @@
1
1
  import { PropType } from "@plasmicapp/host/registerComponent";
2
+ import { FieldfulProps } from "./field-mappings";
3
+ export declare function roleProp<P extends FieldfulProps<any>>({ role, singular, advanced, displayName, }: {
4
+ role: string;
5
+ singular?: boolean;
6
+ advanced?: boolean;
7
+ displayName?: string;
8
+ }): PropType<P>;
2
9
  export declare function dataProp<T>(): PropType<T>;
3
10
  export declare function commonProps<T>(): Record<string, PropType<T>>;
4
11
  export declare function rowActionsProp<T>(): PropType<T>;
@@ -3,4 +3,5 @@ import { BaseColumnConfig } from "./field-mappings";
3
3
  export declare function maybeRenderValue(record: any, cconfig: BaseColumnConfig | undefined): string | number | boolean | React.ReactFragment | JSX.Element | null | undefined;
4
4
  export declare function multiRenderValue(record: any, cconfigs: BaseColumnConfig[] | undefined): (string | JSX.Element)[] | undefined;
5
5
  export declare function maybeRenderString(record: any, cconfig: BaseColumnConfig | undefined): string | undefined;
6
+ export declare function getFieldAggregateValue(record: any, cconfigs: BaseColumnConfig[] | undefined, separator?: string): string | undefined;
6
7
  export declare function renderValue(record: any, cconfig: BaseColumnConfig): string | number | boolean | React.ReactFragment | JSX.Element | null | undefined;