@cobre-npm/ds-v3 0.72.0 → 0.73.0

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,6 +1,6 @@
1
- interface Action {
1
+ export interface Action {
2
2
  id: string;
3
- label: string;
3
+ label?: string;
4
4
  icon: string;
5
5
  tooltipText?: string;
6
6
  onClick?: () => void | undefined;
@@ -20,6 +20,7 @@ export { default as CobreUploader } from './atoms/CobreUploader/CobreUploader.vu
20
20
  export { default as CobreAlert } from './atoms/CobreAlert/CobreAlert.vue';
21
21
  export { default as CobreSwitch } from './atoms/CobreSwitch/CobreSwitch.vue';
22
22
  export { default as CobreCardButton } from './atoms/CobreCardButton/CobreCardButton.vue';
23
+ export { default as CobreRowActions } from './atoms/CobreRowActions/CobreRowActions.vue';
23
24
  export { default as CobreAccountCpButton } from './molecules/CobreAccountCpButton/CobreAccountCpButton.vue';
24
25
  export { default as CobreAccountInfoField } from './molecules/CobreAccountInfoFiled/CobreAccountInfoField.vue';
25
26
  export { default as CobreActionList } from './molecules/CobreActionList/CobreActionList.vue';
@@ -1,4 +1,5 @@
1
1
  import { Option } from '../CobreKebabMenu/CobreKebabMenu.vue';
2
+ import { Action } from '../../atoms/CobreRowActions/CobreRowActions.vue';
2
3
  export interface Column {
3
4
  key: string;
4
5
  width: number;
@@ -34,6 +35,7 @@ interface Props {
34
35
  isToolbarOpen?: boolean;
35
36
  kebabMenuOptions?: Option[];
36
37
  tableWrap?: boolean;
38
+ rowActions?: Action[];
37
39
  }
38
40
  type __VLS_Props = Props;
39
41
  declare const __VLS_defaults: {
@@ -53,10 +55,12 @@ declare function __VLS_template(): {
53
55
  };
54
56
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
55
57
  declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
58
+ action: (...args: any[]) => void;
56
59
  selectItem: (...args: any[]) => void;
57
60
  clickKebabOption: (...args: any[]) => void;
58
61
  "update:selectedRows": (value: never[]) => void;
59
62
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
63
+ onAction?: ((...args: any[]) => any) | undefined;
60
64
  "onUpdate:selectedRows"?: ((value: never[]) => any) | undefined;
61
65
  onSelectItem?: ((...args: any[]) => any) | undefined;
62
66
  onClickKebabOption?: ((...args: any[]) => any) | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cobre-npm/ds-v3",
3
- "version": "0.72.0",
3
+ "version": "0.73.0",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"