@26lights/orcha 0.42.90 → 0.42.92
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/locales/en/translation.json +4 -0
- package/dist/orcha.cjs.js +33 -33
- package/dist/orcha.css +1 -1
- package/dist/orcha.es.js +9792 -9663
- package/dist/orcha.umd.js +33 -33
- package/dist/src/components/AoListKanban.vue.d.ts +2 -0
- package/dist/src/components/AoRichTextEditor.vue.d.ts +2 -0
- package/dist/src/components/richText/AoLexicalEditor.vue.d.ts +2 -0
- package/dist/src/helpers.d.ts +5 -0
- package/package.json +1 -1
|
@@ -12,6 +12,7 @@ declare const _default: <T extends ActivityFeedStatus>(__VLS_props: (typeof __VL
|
|
|
12
12
|
noMoreLabel?: string;
|
|
13
13
|
isEditable: boolean | "only-own";
|
|
14
14
|
tagType?: "project" | "milestone";
|
|
15
|
+
showHeaderAdd?: boolean;
|
|
15
16
|
};
|
|
16
17
|
expose(exposed: {}): void;
|
|
17
18
|
attrs: any;
|
|
@@ -21,6 +22,7 @@ declare const _default: <T extends ActivityFeedStatus>(__VLS_props: (typeof __VL
|
|
|
21
22
|
}>;
|
|
22
23
|
emit: {
|
|
23
24
|
add: [void];
|
|
25
|
+
addAtBeginning: [void];
|
|
24
26
|
'update:list': [value: unknown[]];
|
|
25
27
|
'change:list': [value: ChangeFeedActivitiesPayload];
|
|
26
28
|
loadMore: [void];
|
|
@@ -10,6 +10,7 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
|
|
|
10
10
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
11
|
save: (markdown: string) => void;
|
|
12
12
|
cancel: (args_0: void) => void;
|
|
13
|
+
paste: (files: File[]) => void;
|
|
13
14
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
14
15
|
placeholder: {
|
|
15
16
|
type: import("vue").PropType<string>;
|
|
@@ -21,6 +22,7 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
|
|
|
21
22
|
};
|
|
22
23
|
}>> & Readonly<{
|
|
23
24
|
onCancel?: ((args_0?: void | undefined) => any) | undefined;
|
|
25
|
+
onPaste?: ((files: File[]) => any) | undefined;
|
|
24
26
|
onSave?: ((markdown: string) => any) | undefined;
|
|
25
27
|
}>, {
|
|
26
28
|
placeholder: string;
|
|
@@ -38,6 +38,7 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
|
|
|
38
38
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
39
39
|
ready: (editor: LexicalEditor) => void;
|
|
40
40
|
keydown: (event: KeyboardEvent) => void;
|
|
41
|
+
paste: (files: File[]) => void;
|
|
41
42
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
42
43
|
variant: {
|
|
43
44
|
type: import("vue").PropType<"default" | "compact">;
|
|
@@ -53,6 +54,7 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
|
|
|
53
54
|
};
|
|
54
55
|
}>> & Readonly<{
|
|
55
56
|
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
57
|
+
onPaste?: ((files: File[]) => any) | undefined;
|
|
56
58
|
onReady?: ((editor: LexicalEditor) => any) | undefined;
|
|
57
59
|
}>, {
|
|
58
60
|
variant: "default" | "compact";
|
package/dist/src/helpers.d.ts
CHANGED
|
@@ -19,6 +19,11 @@ export declare function sumTemplateActivitiesAmount(phases: Phase[]): number;
|
|
|
19
19
|
export declare function getInitialLetters(name: string): string;
|
|
20
20
|
export declare function computeNewRank<T extends Ordered>(event: DraggableChangeEvent<T>, list: T[]): string | undefined;
|
|
21
21
|
export declare function generateRank<T extends Ordered>(items: T[], index: number): string;
|
|
22
|
+
/**
|
|
23
|
+
* Generates a rank for an item at the BEGINNING of a list.
|
|
24
|
+
* Uses genPrev() on the first item to create a rank before it.
|
|
25
|
+
*/
|
|
26
|
+
export declare function generateRankAtBeginning<T extends Ordered>(items: T[]): string;
|
|
22
27
|
export declare function formatDate(value: string | null | undefined, pattern?: string): string;
|
|
23
28
|
export declare function isActivityClosed(activity: Activity, closedStatus: ActivityStatus): boolean;
|
|
24
29
|
export declare function isFullyDone(milestone: Milestone, closedStatus: ActivityStatus): boolean;
|