@venite/components 0.16.18 → 0.16.19
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/cjs/ldf-day-name_5.cjs.entry.js +13 -1
- package/dist/cjs/ldf.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/text/dist/text.js +29 -2
- package/dist/collection/components/text/text.js +56 -4
- package/dist/esm/ldf-day-name_5.entry.js +13 -1
- package/dist/esm/ldf.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/ldf/ldf.esm.js +1 -1
- package/dist/ldf/{p-f184d804.entry.js → p-59683bec.entry.js} +1 -1
- package/dist/types/components/text/text.d.ts +4 -0
- package/dist/types/components.d.ts +5 -0
- package/package.json +1 -1
|
@@ -6,6 +6,8 @@ export declare class TextComponent {
|
|
|
6
6
|
localeStrings: {
|
|
7
7
|
[x: string]: string;
|
|
8
8
|
};
|
|
9
|
+
intentions: string[];
|
|
10
|
+
setPrayerList(intentions: string[]): Promise<void>;
|
|
9
11
|
/**
|
|
10
12
|
* An LDF Text object.
|
|
11
13
|
*/
|
|
@@ -21,6 +23,8 @@ export declare class TextComponent {
|
|
|
21
23
|
editable: boolean;
|
|
22
24
|
/** Used to add Prayers and Thanksgivings */
|
|
23
25
|
ldfDocShouldChange: EventEmitter<Change>;
|
|
26
|
+
/** Request prayer list for Prayers and Thanksgivings */
|
|
27
|
+
ldfAskForPrayerList: EventEmitter<boolean>;
|
|
24
28
|
componentWillLoad(): Promise<void>;
|
|
25
29
|
loadLocaleStrings(): Promise<void>;
|
|
26
30
|
truncate(s: string, last?: boolean, words?: number): string;
|
|
@@ -636,6 +636,7 @@ export namespace Components {
|
|
|
636
636
|
* A JSON Pointer that points to the Text being edited
|
|
637
637
|
*/
|
|
638
638
|
"path": string;
|
|
639
|
+
"setPrayerList": (intentions: string[]) => Promise<void>;
|
|
639
640
|
}
|
|
640
641
|
}
|
|
641
642
|
declare global {
|
|
@@ -1557,6 +1558,10 @@ declare namespace LocalJSX {
|
|
|
1557
1558
|
* Whether the object is editable
|
|
1558
1559
|
*/
|
|
1559
1560
|
"editable"?: boolean;
|
|
1561
|
+
/**
|
|
1562
|
+
* Request prayer list for Prayers and Thanksgivings
|
|
1563
|
+
*/
|
|
1564
|
+
"onLdfAskForPrayerList"?: (event: CustomEvent<boolean>) => void;
|
|
1560
1565
|
/**
|
|
1561
1566
|
* Used to add Prayers and Thanksgivings
|
|
1562
1567
|
*/
|