@26lights/orcha 0.38.39 → 0.38.40
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.
- package/dist/orcha.cjs.js +2 -2
- package/dist/orcha.css +1 -1
- package/dist/orcha.es.js +1168 -1156
- package/dist/orcha.umd.js +3 -3
- package/dist/src/components/AoCardTemplate.vue.d.ts +2 -0
- package/dist/src/types/index.d.ts +2 -2
- package/dist/src/views/AoTemplateDetails.vue.d.ts +3 -3
- package/dist/src/views/AoTemplatesList.vue.d.ts +3 -1
- package/package.json +2 -2
|
@@ -26,6 +26,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
26
26
|
};
|
|
27
27
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
28
28
|
updateTitle: (title: string) => void;
|
|
29
|
+
deleteItem: (id: string) => void;
|
|
29
30
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
30
31
|
id: {
|
|
31
32
|
type: import("vue").PropType<string>;
|
|
@@ -53,5 +54,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
53
54
|
};
|
|
54
55
|
}>> & {
|
|
55
56
|
onUpdateTitle?: ((title: string) => any) | undefined;
|
|
57
|
+
onDeleteItem?: ((id: string) => any) | undefined;
|
|
56
58
|
}, {}, {}>;
|
|
57
59
|
export default _default;
|
|
@@ -248,8 +248,8 @@ export interface MoveItemPayload {
|
|
|
248
248
|
id: Id;
|
|
249
249
|
rank: string;
|
|
250
250
|
}
|
|
251
|
-
export interface RemoveItemPayload {
|
|
252
|
-
|
|
251
|
+
export interface RemoveItemPayload<T extends TemplateItemType> {
|
|
252
|
+
itemType: T;
|
|
253
253
|
templateId: Id;
|
|
254
254
|
phaseId?: Id;
|
|
255
255
|
milestoneId?: Id;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type Activity, type TemplateDetails, type TemplateItemType, type AddItemPayload, type UpdateItemPayload, type AddRulePayload, type RemoveRulePayload, type ActivityType, type AddFilesPayload, type RemoveFilePayload
|
|
1
|
+
import { type Activity, type TemplateDetails, type TemplateItemType, type AddItemPayload, type UpdateItemPayload, type AddRulePayload, type RemoveRulePayload, type ActivityType, type AddFilesPayload, type RemoveFilePayload } from '../types';
|
|
2
2
|
import { User } from '../types';
|
|
3
3
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
4
4
|
templateId: {
|
|
@@ -26,7 +26,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
26
26
|
};
|
|
27
27
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
28
28
|
addItem: (payload: AddItemPayload) => void;
|
|
29
|
-
removeItem: (payload:
|
|
29
|
+
removeItem: (payload: any) => void;
|
|
30
30
|
updateItem: (payload: UpdateItemPayload<TemplateItemType>) => void;
|
|
31
31
|
addRule: (payload: AddRulePayload) => void;
|
|
32
32
|
removeRule: (payload: RemoveRulePayload) => void;
|
|
@@ -62,7 +62,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
62
62
|
onAddRule?: ((payload: AddRulePayload) => any) | undefined;
|
|
63
63
|
onRemoveRule?: ((payload: RemoveRulePayload) => any) | undefined;
|
|
64
64
|
onAddItem?: ((payload: AddItemPayload) => any) | undefined;
|
|
65
|
-
onRemoveItem?: ((payload:
|
|
65
|
+
onRemoveItem?: ((payload: any) => any) | undefined;
|
|
66
66
|
onUpdateItem?: ((payload: UpdateItemPayload<TemplateItemType>) => any) | undefined;
|
|
67
67
|
}, {}, {}>, {
|
|
68
68
|
activityDetailsBody(props: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type TemplateDetails, UpdateItemPayload, TemplateItemType } from '../types';
|
|
1
|
+
import { type TemplateDetails, UpdateItemPayload, TemplateItemType, RemoveItemPayload } from '../types';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<{
|
|
3
3
|
templates: {
|
|
4
4
|
type: import("vue").PropType<TemplateDetails[]>;
|
|
@@ -7,11 +7,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
7
7
|
addTemplate: (template: Pick<TemplateDetails, "name" | "rank">) => void;
|
|
8
8
|
updateTemplates: (templates: TemplateDetails[]) => void;
|
|
9
9
|
updateItem: (item: UpdateItemPayload<TemplateItemType>) => void;
|
|
10
|
+
removeItem: (item: RemoveItemPayload<TemplateItemType>) => void;
|
|
10
11
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
11
12
|
templates: {
|
|
12
13
|
type: import("vue").PropType<TemplateDetails[]>;
|
|
13
14
|
};
|
|
14
15
|
}>> & {
|
|
16
|
+
onRemoveItem?: ((item: RemoveItemPayload<TemplateItemType>) => any) | undefined;
|
|
15
17
|
onUpdateItem?: ((item: UpdateItemPayload<TemplateItemType>) => any) | undefined;
|
|
16
18
|
onAddTemplate?: ((template: Pick<TemplateDetails, "name" | "rank">) => any) | undefined;
|
|
17
19
|
onUpdateTemplates?: ((templates: TemplateDetails[]) => any) | undefined;
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "CC-BY-NC-ND-4.0",
|
|
6
6
|
"author": "26lights <dev@26lights.com> (https://www.26lights.com)",
|
|
7
|
-
"version": "0.38.
|
|
7
|
+
"version": "0.38.40",
|
|
8
8
|
"workspaces": [
|
|
9
9
|
"packages/*"
|
|
10
10
|
],
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"vuedraggable": "~4.1.0"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@26lights/orcha": "^0.38.
|
|
30
|
+
"@26lights/orcha": "^0.38.40",
|
|
31
31
|
"@floating-ui/dom": "^1.5.3",
|
|
32
32
|
"@vueform/multiselect": "^2.6.6",
|
|
33
33
|
"@vueuse/core": "^10.8.0",
|