@sprucelabs/spruce-form-utils 12.0.29 → 12.0.31

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.
@@ -31,18 +31,18 @@ export default class FormPlayerCardViewController extends AbstractViewController
31
31
  getSourceBuilder(): Partial<FormPlayerImportObject>;
32
32
  render(): SpruceSchemas.HeartwoodViewControllers.v2021_02_11.Card;
33
33
  }
34
- export declare type FormPlayerImportObject = SpruceSchemas.HeartwoodViewControllers.v2021_02_11.FormBuilderImportExportObject & {
34
+ export type FormPlayerImportObject = SpruceSchemas.HeartwoodViewControllers.v2021_02_11.FormBuilderImportExportObject & {
35
35
  values: Record<string, any>[];
36
36
  };
37
- declare type ChangeHandler = (options: {
37
+ type ChangeHandler = (options: {
38
38
  values: Record<string, any>[];
39
39
  }) => Promise<void> | void;
40
- export declare type FormPlayerCardViewControllerOptions = Partial<FormPlayerImportObject> & {
40
+ export type FormPlayerCardViewControllerOptions = Partial<FormPlayerImportObject> & {
41
41
  onChange?: ChangeHandler;
42
42
  isBusy?: boolean;
43
43
  id?: string;
44
44
  };
45
- export declare type PlayerLoadOptions = Partial<FormPlayerImportObject> & {
45
+ export type PlayerLoadOptions = Partial<FormPlayerImportObject> & {
46
46
  router?: Router;
47
47
  };
48
48
  export {};
@@ -31,18 +31,18 @@ export default class FormPlayerCardViewController extends AbstractViewController
31
31
  getSourceBuilder(): Partial<FormPlayerImportObject>;
32
32
  render(): SpruceSchemas.HeartwoodViewControllers.v2021_02_11.Card;
33
33
  }
34
- export declare type FormPlayerImportObject = SpruceSchemas.HeartwoodViewControllers.v2021_02_11.FormBuilderImportExportObject & {
34
+ export type FormPlayerImportObject = SpruceSchemas.HeartwoodViewControllers.v2021_02_11.FormBuilderImportExportObject & {
35
35
  values: Record<string, any>[];
36
36
  };
37
- declare type ChangeHandler = (options: {
37
+ type ChangeHandler = (options: {
38
38
  values: Record<string, any>[];
39
39
  }) => Promise<void> | void;
40
- export declare type FormPlayerCardViewControllerOptions = Partial<FormPlayerImportObject> & {
40
+ export type FormPlayerCardViewControllerOptions = Partial<FormPlayerImportObject> & {
41
41
  onChange?: ChangeHandler;
42
42
  isBusy?: boolean;
43
43
  id?: string;
44
44
  };
45
- export declare type PlayerLoadOptions = Partial<FormPlayerImportObject> & {
45
+ export type PlayerLoadOptions = Partial<FormPlayerImportObject> & {
46
46
  router?: Router;
47
47
  };
48
48
  export {};
@@ -1,7 +1,7 @@
1
1
  import { Scope, SpruceSchemas, ViewController } from '@sprucelabs/heartwood-view-controllers';
2
2
  import FormPlayerCardViewController, { FormPlayerCardViewControllerOptions } from '../completing/FormPlayerCard.vc';
3
- declare type Card = SpruceSchemas.HeartwoodViewControllers.v2021_02_11.Card;
4
- export declare type UpdateForm = SpruceSchemas.Forms.v2021_07_02.UpdateForm;
3
+ type Card = SpruceSchemas.HeartwoodViewControllers.v2021_02_11.Card;
4
+ export type UpdateForm = SpruceSchemas.Forms.v2021_07_02.UpdateForm;
5
5
  export interface RemoteFormBuilderCardLoadOptions {
6
6
  scope: Scope;
7
7
  formId?: string;
@@ -1,7 +1,7 @@
1
1
  import { Scope, SpruceSchemas, ViewController } from '@sprucelabs/heartwood-view-controllers';
2
2
  import FormPlayerCardViewController, { FormPlayerCardViewControllerOptions } from '../completing/FormPlayerCard.vc';
3
- declare type Card = SpruceSchemas.HeartwoodViewControllers.v2021_02_11.Card;
4
- export declare type UpdateForm = SpruceSchemas.Forms.v2021_07_02.UpdateForm;
3
+ type Card = SpruceSchemas.HeartwoodViewControllers.v2021_02_11.Card;
4
+ export type UpdateForm = SpruceSchemas.Forms.v2021_07_02.UpdateForm;
5
5
  export interface RemoteFormBuilderCardLoadOptions {
6
6
  scope: Scope;
7
7
  formId?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sprucelabs/spruce-form-utils",
3
3
  "description": "Support for working with forms and Sprucebot. 📄",
4
- "version": "12.0.29",
4
+ "version": "12.0.31",
5
5
  "skill": {
6
6
  "namespace": "forms"
7
7
  },