@hebcal/core 5.4.1 → 5.4.2
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/DailyLearning.d.ts +1 -0
- package/dist/HebrewDateEvent.d.ts +1 -0
- package/dist/HolidayEvent.d.ts +53 -3
- package/dist/MevarchimChodeshEvent.d.ts +1 -0
- package/dist/ParshaEvent.d.ts +1 -0
- package/dist/TimedEvent.d.ts +1 -0
- package/dist/YomKippurKatanEvent.d.ts +1 -0
- package/dist/ashkenazi.po.d.ts +67 -0
- package/dist/bundle.js +2874 -3169
- package/dist/bundle.min.js +2 -2
- package/dist/candles.d.ts +6 -5
- package/dist/event.d.ts +1 -0
- package/dist/he.po.d.ts +292 -0
- package/dist/hebcal.d.ts +20 -29
- package/dist/holidays.d.ts +3 -26
- package/dist/index.cjs +3082 -3035
- package/dist/index.d.ts +6 -6
- package/dist/index.mjs +3082 -3035
- package/dist/locale.d.ts +1 -0
- package/dist/location.d.ts +43 -41
- package/dist/molad.d.ts +1 -0
- package/dist/omer.d.ts +1 -0
- package/dist/pkgVersion.d.ts +2 -1
- package/dist/sedra.d.ts +93 -1
- package/package.json +6 -4
- package/po/ashkenazi.po +192 -0
- package/po/he.po +889 -0
package/dist/DailyLearning.d.ts
CHANGED
package/dist/HolidayEvent.d.ts
CHANGED
|
@@ -1,10 +1,22 @@
|
|
|
1
|
+
import { HDate } from '@hebcal/hdate';
|
|
1
2
|
import { Event } from './event';
|
|
2
3
|
import { TimedEvent } from './TimedEvent';
|
|
4
|
+
import '../src/locale';
|
|
3
5
|
/** Represents a built-in holiday like Pesach, Purim or Tu BiShvat */
|
|
4
6
|
export declare class HolidayEvent extends Event {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
7
|
+
/** During Sukkot or Pesach */
|
|
8
|
+
cholHaMoedDay?: number;
|
|
9
|
+
chanukahDay?: number;
|
|
10
|
+
/**
|
|
11
|
+
* `true` if the fast day was postponed a day to avoid Shabbat.
|
|
12
|
+
* - Tish'a B'Av postponed from the 9th to the 10th
|
|
13
|
+
* - Tzom Tammuz postponed from the 17th to the 18th
|
|
14
|
+
*/
|
|
15
|
+
observed?: boolean;
|
|
16
|
+
/** For a Fast day, this will be a "Fast begins" event */
|
|
17
|
+
startEvent?: TimedEvent;
|
|
18
|
+
/** For a Fast day, this will be a "Fast ends" event */
|
|
19
|
+
endEvent?: TimedEvent;
|
|
8
20
|
/** @return {string} */
|
|
9
21
|
basename(): string;
|
|
10
22
|
/** @return {string | undefined} */
|
|
@@ -43,3 +55,41 @@ export declare class AsaraBTevetEvent extends HolidayEvent {
|
|
|
43
55
|
/** @return {string} */
|
|
44
56
|
urlDateSuffix(): string;
|
|
45
57
|
}
|
|
58
|
+
/** Represents Rosh Hashana, the Jewish New Year */
|
|
59
|
+
export declare class RoshHashanaEvent extends HolidayEvent {
|
|
60
|
+
private readonly hyear;
|
|
61
|
+
/**
|
|
62
|
+
* @private
|
|
63
|
+
* @param {HDate} date Hebrew date event occurs
|
|
64
|
+
* @param {number} hyear Hebrew year
|
|
65
|
+
* @param {number} mask optional holiday flags
|
|
66
|
+
*/
|
|
67
|
+
constructor(date: HDate, hyear: number, mask: number);
|
|
68
|
+
/**
|
|
69
|
+
* Returns (translated) description of this event
|
|
70
|
+
* @param {string} [locale] Optional locale name (defaults to active locale).
|
|
71
|
+
* @return {string}
|
|
72
|
+
*/
|
|
73
|
+
render(locale?: string): string;
|
|
74
|
+
/** @return {string} */
|
|
75
|
+
getEmoji(): string;
|
|
76
|
+
}
|
|
77
|
+
/** Represents Rosh Chodesh, the beginning of a new month */
|
|
78
|
+
export declare class RoshChodeshEvent extends HolidayEvent {
|
|
79
|
+
/**
|
|
80
|
+
* Constructs Rosh Chodesh event
|
|
81
|
+
* @param {HDate} date Hebrew date event occurs
|
|
82
|
+
* @param {string} monthName Hebrew month name (not translated)
|
|
83
|
+
*/
|
|
84
|
+
constructor(date: HDate, monthName: string);
|
|
85
|
+
/**
|
|
86
|
+
* Returns (translated) description of this event
|
|
87
|
+
* @param {string} [locale] Optional locale name (defaults to active locale).
|
|
88
|
+
* @return {string}
|
|
89
|
+
*/
|
|
90
|
+
render(locale?: string): string;
|
|
91
|
+
/** @return {string} */
|
|
92
|
+
basename(): string;
|
|
93
|
+
/** @return {string} */
|
|
94
|
+
getEmoji(): string;
|
|
95
|
+
}
|
package/dist/ParshaEvent.d.ts
CHANGED
package/dist/TimedEvent.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { HDate } from '@hebcal/hdate';
|
|
|
2
2
|
import { CalOptions } from './CalOptions';
|
|
3
3
|
import { Location } from './location';
|
|
4
4
|
import { Event } from './event';
|
|
5
|
+
import '../src/locale';
|
|
5
6
|
/** An event that has an `eventTime` and `eventTimeStr` */
|
|
6
7
|
export declare class TimedEvent extends Event {
|
|
7
8
|
readonly eventTime: Date;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { HDate } from '@hebcal/hdate';
|
|
2
2
|
import { HolidayEvent } from './HolidayEvent';
|
|
3
|
+
import '../src/locale';
|
|
3
4
|
export declare const ykk = "Yom Kippur Katan";
|
|
4
5
|
/** YKK is minor day of atonement on the day preceeding each Rosh Chodesh */
|
|
5
6
|
export declare class YomKippurKatanEvent extends HolidayEvent {
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
headers: {
|
|
3
|
+
"plural-forms": string;
|
|
4
|
+
};
|
|
5
|
+
contexts: {
|
|
6
|
+
"": {
|
|
7
|
+
Shabbat: string[];
|
|
8
|
+
"Achrei Mot": string[];
|
|
9
|
+
Bechukotai: string[];
|
|
10
|
+
"Beha'alotcha": string[];
|
|
11
|
+
Bereshit: string[];
|
|
12
|
+
Chukat: string[];
|
|
13
|
+
"Erev Shavuot": string[];
|
|
14
|
+
"Erev Sukkot": string[];
|
|
15
|
+
"Ki Tavo": string[];
|
|
16
|
+
"Ki Teitzei": string[];
|
|
17
|
+
"Ki Tisa": string[];
|
|
18
|
+
Matot: string[];
|
|
19
|
+
"Purim Katan": string[];
|
|
20
|
+
"Shabbat Chazon": string[];
|
|
21
|
+
"Shabbat HaChodesh": string[];
|
|
22
|
+
"Shabbat HaGadol": string[];
|
|
23
|
+
"Shabbat Nachamu": string[];
|
|
24
|
+
"Shabbat Parah": string[];
|
|
25
|
+
"Shabbat Shekalim": string[];
|
|
26
|
+
"Shabbat Shuva": string[];
|
|
27
|
+
"Shabbat Zachor": string[];
|
|
28
|
+
Shavuot: string[];
|
|
29
|
+
"Shavuot I": string[];
|
|
30
|
+
"Shavuot II": string[];
|
|
31
|
+
Shemot: string[];
|
|
32
|
+
"Shmini Atzeret": string[];
|
|
33
|
+
"Simchat Torah": string[];
|
|
34
|
+
Sukkot: string[];
|
|
35
|
+
"Sukkot I": string[];
|
|
36
|
+
"Sukkot II": string[];
|
|
37
|
+
"Sukkot II (CH''M)": string[];
|
|
38
|
+
"Sukkot III (CH''M)": string[];
|
|
39
|
+
"Sukkot IV (CH''M)": string[];
|
|
40
|
+
"Sukkot V (CH''M)": string[];
|
|
41
|
+
"Sukkot VI (CH''M)": string[];
|
|
42
|
+
"Sukkot VII (Hoshana Raba)": string[];
|
|
43
|
+
"Ta'anit Bechorot": string[];
|
|
44
|
+
"Ta'anit Esther": string[];
|
|
45
|
+
Toldot: string[];
|
|
46
|
+
Vaetchanan: string[];
|
|
47
|
+
Yitro: string[];
|
|
48
|
+
"Vezot Haberakhah": string[];
|
|
49
|
+
Parashat: string[];
|
|
50
|
+
"Leil Selichot": string[];
|
|
51
|
+
"Shabbat Mevarchim Chodesh": string[];
|
|
52
|
+
"Shabbat Shirah": string[];
|
|
53
|
+
"Asara B'Tevet": string[];
|
|
54
|
+
"Alot HaShachar": string[];
|
|
55
|
+
"Kriat Shema, sof zeman": string[];
|
|
56
|
+
"Tefilah, sof zeman": string[];
|
|
57
|
+
"Kriat Shema, sof zeman (MGA)": string[];
|
|
58
|
+
"Tefilah, sof zeman (MGA)": string[];
|
|
59
|
+
"Chatzot HaLailah": string[];
|
|
60
|
+
"Chatzot hayom": string[];
|
|
61
|
+
"Tzeit HaKochavim": string[];
|
|
62
|
+
"Birkat Hachamah": string[];
|
|
63
|
+
"Shushan Purim Katan": string[];
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
export default _default;
|