quasar-ui-danx 0.0.40 → 0.0.41

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "quasar-ui-danx",
3
- "version": "0.0.40",
3
+ "version": "0.0.41",
4
4
  "author": "Dan <dan@flytedesk.com>",
5
5
  "description": "DanX Vue / Quasar component library",
6
6
  "license": "MIT",
@@ -2,12 +2,13 @@ import { shallowRef } from "vue";
2
2
  import { FlashMessages } from "./index";
3
3
 
4
4
  interface ActionOptions {
5
- name: string;
6
- label: string;
5
+ name?: string;
6
+ label?: string;
7
7
  menu?: boolean;
8
8
  batch?: boolean;
9
+ category?: string;
9
10
  inputComponent?: (target: object[] | object) => any;
10
- enabled?: (target: object) => boolean;
11
+ enabled?: (target: object[] | object) => boolean;
11
12
  onAction?: (action: string | null, target: object, input: any) => Promise<any>;
12
13
  onBatchAction?: (action: string | null, targets: object[], input: any) => Promise<any>;
13
14
  onSuccess?: (action: string | null, targets: object, input: any) => any;
@@ -19,7 +20,7 @@ export const activeActionInput = shallowRef(null);
19
20
 
20
21
  /**
21
22
  * Hook to perform an action on a set of targets
22
- * This helper allows you to perform actions by name on a set of targets using a provided list of actions
23
+ * This helper allows you applyActionto perform actions by name on a set of targets using a provided list of actions
23
24
  *
24
25
  * @param actions
25
26
  * @param {ActionOptions} globalOptions