@coolon/angular-ui-powerups 12.4.0-alpha.29 → 12.4.0-alpha.30

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.
@@ -9,6 +9,8 @@ export declare class InlineEditorModel<T> {
9
9
  get validators(): ListModel<Validator<T>>;
10
10
  validateUsing(validator: Validator<T>): this;
11
11
  isEditing(): boolean;
12
+ cancelEdit(): void;
13
+ startEditing(): void;
12
14
  }
13
15
  export declare namespace InlineEditorModel {
14
16
  type SaveCallback<T> = (value: T, context: EditContext<T>) => void | Promise<void>;
@@ -9,7 +9,7 @@ import { InlineEditorModel } from './inline-editor-model';
9
9
  * @example
10
10
  * const source: ValueModel<string> = ...;
11
11
  * const model = InlineEditorModel.create(source, {
12
- * save(updated:string, context: InlineEditorModel.SaveContext) => {
12
+ * save(updated:string, context: EditContext) => {
13
13
  * try {
14
14
  * try and save the thing...
15
15
  * } catch(error) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coolon/angular-ui-powerups",
3
- "version": "12.4.0-alpha.29",
3
+ "version": "12.4.0-alpha.30",
4
4
  "schematics": "./schematics/collection.json",
5
5
  "dependencies": {
6
6
  "@coolon/typescript-utilities": "^2.2.0",