@amalto/typings
Advanced tools
Comparing version 1.0.7 to 1.0.8
@@ -7,2 +7,3 @@ /// <reference types="react" /> | ||
import { WebApi } from './WebApi'; | ||
import { UserModel } from './UserModel'; | ||
export interface DynamicComponent { | ||
@@ -29,2 +30,18 @@ /** Interface used to perform all the api call to the server. */ | ||
/** | ||
* Save template into user configuration settings. | ||
* @param { UserModel } payload | ||
*/ | ||
saveDataGridTemplate?: (payload: UserModel) => void; | ||
/** | ||
* Display column header configuration popup. | ||
* @param { any } content | ||
* @param { number } [positionX] | ||
* @param { number } [positionY] | ||
*/ | ||
displayContextMenu: (content: any, positionX?: number, positionY?: number) => void; | ||
/** | ||
* Hide context menu. | ||
*/ | ||
hideContextMenu: () => void; | ||
/** | ||
* Set dirty status of the component. | ||
@@ -31,0 +48,0 @@ * If true a comfirmation modal will shows up if you try to move to another menu. |
@@ -7,2 +7,3 @@ // Models | ||
import { WebApi } from './WebApi' | ||
import { UserModel } from './UserModel' | ||
@@ -37,4 +38,23 @@ export interface DynamicComponent { | ||
storeContext?: ( contextData: any ) => void; | ||
/** | ||
* Save template into user configuration settings. | ||
* @param { UserModel } payload | ||
*/ | ||
saveDataGridTemplate?: ( payload: UserModel ) => void; | ||
/** | ||
* Display column header configuration popup. | ||
* @param { any } content | ||
* @param { number } [positionX] | ||
* @param { number } [positionY] | ||
*/ | ||
displayContextMenu: ( content: any, positionX?: number, positionY?: number ) => void; | ||
/** | ||
* Hide context menu. | ||
*/ | ||
hideContextMenu: () => void; | ||
/** | ||
* Set dirty status of the component. | ||
@@ -41,0 +61,0 @@ * If true a comfirmation modal will shows up if you try to move to another menu. |
@@ -5,3 +5,3 @@ { | ||
"description": "Interfaces used in Platform 6 UI component.", | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"license": "MIT", | ||
@@ -8,0 +8,0 @@ "repository": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
55714
1450