pangea-lib 2.11.596 → 2.11.598

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.
@@ -51,8 +51,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
51
51
  type: import('vue').PropType<boolean>;
52
52
  };
53
53
  }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
54
- createItem: () => void;
55
54
  editItem: (item: Item) => void;
55
+ createItem: () => void;
56
56
  refreshList: () => void;
57
57
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
58
58
  searchParams: import('vue').PropType<SearchParams>;
@@ -105,8 +105,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
105
105
  type: import('vue').PropType<boolean>;
106
106
  };
107
107
  }>> & {
108
- onCreateItem?: () => any;
109
108
  onEditItem?: (item: Item) => any;
109
+ onCreateItem?: () => any;
110
110
  onRefreshList?: () => any;
111
111
  }, {}, {}>, Partial<Record<string, (_: {
112
112
  item: any;
@@ -0,0 +1,46 @@
1
+ import { Item } from '../../../types';
2
+
3
+ declare const _default: import('vue').DefineComponent<{
4
+ modelValue: {
5
+ required: true;
6
+ type: import('vue').PropType<string[]>;
7
+ };
8
+ item: {
9
+ type: import('vue').PropType<Item>;
10
+ required: true;
11
+ };
12
+ getDescriptionFn: {
13
+ type: import('vue').PropType<(item: Item) => string>;
14
+ required: true;
15
+ };
16
+ withEditButton: {
17
+ type: import('vue').PropType<boolean>;
18
+ };
19
+ deleteFn: {
20
+ type: import('vue').PropType<(item: Item) => Promise<void>>;
21
+ };
22
+ }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
23
+ editItem: (item: Item) => void;
24
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
25
+ modelValue: {
26
+ required: true;
27
+ type: import('vue').PropType<string[]>;
28
+ };
29
+ item: {
30
+ type: import('vue').PropType<Item>;
31
+ required: true;
32
+ };
33
+ getDescriptionFn: {
34
+ type: import('vue').PropType<(item: Item) => string>;
35
+ required: true;
36
+ };
37
+ withEditButton: {
38
+ type: import('vue').PropType<boolean>;
39
+ };
40
+ deleteFn: {
41
+ type: import('vue').PropType<(item: Item) => Promise<void>>;
42
+ };
43
+ }>> & {
44
+ onEditItem?: (item: Item) => any;
45
+ }, {}, {}>;
46
+ export default _default;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pangea-lib",
3
3
  "description": "",
4
- "version": "2.11.596",
4
+ "version": "2.11.598",
5
5
  "author": "Gianfranco Raselli",
6
6
  "license": "ISC",
7
7
  "homepage": "https://github.com/GianfrancoRaselli/pangea#readme",