jcal-zmanim 1.0.4
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/LICENSE +674 -0
- package/README.md +2 -0
- package/build/AppUtils.d.ts +109 -0
- package/build/AppUtils.js +394 -0
- package/build/GeneralUtils.d.ts +43 -0
- package/build/GeneralUtils.js +93 -0
- package/build/JCal/Dafyomi.d.ts +27 -0
- package/build/JCal/Dafyomi.js +131 -0
- package/build/JCal/Location.d.ts +33 -0
- package/build/JCal/Location.js +80 -0
- package/build/JCal/Molad.d.ts +39 -0
- package/build/JCal/Molad.js +95 -0
- package/build/JCal/PirkeiAvos.d.ts +13 -0
- package/build/JCal/PirkeiAvos.js +172 -0
- package/build/JCal/Sedra.d.ts +63 -0
- package/build/JCal/Sedra.js +186 -0
- package/build/JCal/Utils.d.ts +225 -0
- package/build/JCal/Utils.js +666 -0
- package/build/JCal/Zmanim.d.ts +95 -0
- package/build/JCal/Zmanim.js +224 -0
- package/build/JCal/jDate.d.ts +203 -0
- package/build/JCal/jDate.js +647 -0
- package/build/Locations.d.ts +7 -0
- package/build/Locations.js +1308 -0
- package/build/Notifications.d.ts +14 -0
- package/build/Notifications.js +1040 -0
- package/build/Settings.d.ts +25 -0
- package/build/Settings.js +75 -0
- package/build/ZmanTypes.d.ts +34 -0
- package/build/ZmanTypes.js +184 -0
- package/build/index.d.ts +1 -0
- package/build/index.js +59 -0
- package/package.json +33 -0
- package/src/AppUtils.ts +500 -0
- package/src/GeneralUtils.ts +84 -0
- package/src/JCal/Dafyomi.ts +139 -0
- package/src/JCal/Location.ts +100 -0
- package/src/JCal/Molad.ts +105 -0
- package/src/JCal/PirkeiAvos.ts +180 -0
- package/src/JCal/Sedra.ts +215 -0
- package/src/JCal/Utils.ts +732 -0
- package/src/JCal/Zmanim.ts +270 -0
- package/src/JCal/jDate.ts +714 -0
- package/src/Locations.ts +1303 -0
- package/src/Notifications.ts +1243 -0
- package/src/Settings.ts +103 -0
- package/src/ZmanTypes.ts +184 -0
- package/src/index.ts +31 -0
- package/src/jcal-zmanim.d.ts +4 -0
- package/tsconfig.json +109 -0
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import Location from './JCal/Location';
|
|
2
|
+
import { ZmanToShow } from './jcal-zmanim';
|
|
3
|
+
export default class Settings {
|
|
4
|
+
zmanimToShow: ZmanToShow[];
|
|
5
|
+
location: Location;
|
|
6
|
+
showNotifications: boolean;
|
|
7
|
+
numberOfItemsToShow: number;
|
|
8
|
+
minToShowPassedZman: number;
|
|
9
|
+
showGaonShir: boolean;
|
|
10
|
+
showDafYomi: boolean;
|
|
11
|
+
english: boolean;
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @param {[ZmanToShow]} [zmanimToShow] List of which zmanim to show
|
|
15
|
+
* @param {Location} [location]
|
|
16
|
+
* @param {boolean} [showNotifications] Show shul notifications?
|
|
17
|
+
* @param {number} [numberOfItemsToShow] Number of zmanim to show on the main screen
|
|
18
|
+
* @param {number} [minToShowPassedZman] Number of minutes to continue showing zmanim that have passed
|
|
19
|
+
* @param {boolean} [showGaonShir] Show the Shir Shel Yom of the Gr"a?
|
|
20
|
+
* @param {boolean} [showDafYomi] Show the Daf Yomi?
|
|
21
|
+
* @param {boolean} [english] Show in English?
|
|
22
|
+
*/
|
|
23
|
+
constructor(zmanimToShow?: ZmanToShow[], location?: Location, showNotifications?: boolean, numberOfItemsToShow?: number, minToShowPassedZman?: number, showGaonShir?: boolean, showDafYomi?: boolean, english?: boolean);
|
|
24
|
+
clone(): Settings;
|
|
25
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const Locations_1 = require("./Locations");
|
|
4
|
+
const GeneralUtils_1 = require("./GeneralUtils");
|
|
5
|
+
const ZmanTypes_1 = require("./ZmanTypes");
|
|
6
|
+
class Settings {
|
|
7
|
+
/**
|
|
8
|
+
*
|
|
9
|
+
* @param {[ZmanToShow]} [zmanimToShow] List of which zmanim to show
|
|
10
|
+
* @param {Location} [location]
|
|
11
|
+
* @param {boolean} [showNotifications] Show shul notifications?
|
|
12
|
+
* @param {number} [numberOfItemsToShow] Number of zmanim to show on the main screen
|
|
13
|
+
* @param {number} [minToShowPassedZman] Number of minutes to continue showing zmanim that have passed
|
|
14
|
+
* @param {boolean} [showGaonShir] Show the Shir Shel Yom of the Gr"a?
|
|
15
|
+
* @param {boolean} [showDafYomi] Show the Daf Yomi?
|
|
16
|
+
* @param {boolean} [english] Show in English?
|
|
17
|
+
*/
|
|
18
|
+
constructor(zmanimToShow, location, showNotifications, numberOfItemsToShow, minToShowPassedZman, showGaonShir, showDafYomi, english) {
|
|
19
|
+
/**
|
|
20
|
+
* @property {[ZmanToShow]} zmanimToShow List of which zmanim to show
|
|
21
|
+
*/
|
|
22
|
+
this.zmanimToShow = (zmanimToShow || [
|
|
23
|
+
(0, ZmanTypes_1.getZmanType)(ZmanTypes_1.ZmanTypeIds.ChatzosLayla),
|
|
24
|
+
(0, ZmanTypes_1.getZmanType)(ZmanTypes_1.ZmanTypeIds.Alos72),
|
|
25
|
+
(0, ZmanTypes_1.getZmanType)(ZmanTypes_1.ZmanTypeIds.TalisTefillin),
|
|
26
|
+
(0, ZmanTypes_1.getZmanType)(ZmanTypes_1.ZmanTypeIds.NetzMishor),
|
|
27
|
+
(0, ZmanTypes_1.getZmanType)(ZmanTypes_1.ZmanTypeIds.szksMga),
|
|
28
|
+
(0, ZmanTypes_1.getZmanType)(ZmanTypes_1.ZmanTypeIds.szksGra),
|
|
29
|
+
(0, ZmanTypes_1.getZmanType)(ZmanTypes_1.ZmanTypeIds.sztMga),
|
|
30
|
+
(0, ZmanTypes_1.getZmanType)(ZmanTypes_1.ZmanTypeIds.sztGra),
|
|
31
|
+
(0, ZmanTypes_1.getZmanType)(ZmanTypes_1.ZmanTypeIds.chatzosDay),
|
|
32
|
+
(0, ZmanTypes_1.getZmanType)(ZmanTypes_1.ZmanTypeIds.minGed),
|
|
33
|
+
(0, ZmanTypes_1.getZmanType)(ZmanTypes_1.ZmanTypeIds.minKet),
|
|
34
|
+
(0, ZmanTypes_1.getZmanType)(ZmanTypes_1.ZmanTypeIds.plag),
|
|
35
|
+
(0, ZmanTypes_1.getZmanType)(ZmanTypes_1.ZmanTypeIds.shkiaElevation),
|
|
36
|
+
(0, ZmanTypes_1.getZmanType)(ZmanTypes_1.ZmanTypeIds.tzais50),
|
|
37
|
+
(0, ZmanTypes_1.getZmanType)(ZmanTypes_1.ZmanTypeIds.tzais72),
|
|
38
|
+
(0, ZmanTypes_1.getZmanType)(ZmanTypes_1.ZmanTypeIds.candleLighting),
|
|
39
|
+
(0, ZmanTypes_1.getZmanType)(ZmanTypes_1.ZmanTypeIds.SofZmanEatingChometz),
|
|
40
|
+
(0, ZmanTypes_1.getZmanType)(ZmanTypes_1.ZmanTypeIds.SofZmanBurnChometz), //Sof Zman burn Chometz
|
|
41
|
+
]);
|
|
42
|
+
/**
|
|
43
|
+
* @property {Location} location
|
|
44
|
+
*/
|
|
45
|
+
this.location = (location || (0, Locations_1.findLocation)('Lakewood NJ'));
|
|
46
|
+
/**
|
|
47
|
+
* @property {boolean} showNotifications Show shul notifications?
|
|
48
|
+
*/
|
|
49
|
+
this.showNotifications = (0, GeneralUtils_1.setDefault)(showNotifications, true);
|
|
50
|
+
/**
|
|
51
|
+
* @property {number} numberOfItemsToShow Number of zmanim to show on the main screen
|
|
52
|
+
*/
|
|
53
|
+
this.numberOfItemsToShow = (0, GeneralUtils_1.setDefault)(numberOfItemsToShow, 5);
|
|
54
|
+
/**
|
|
55
|
+
* @property {number} minToShowPassedZman Number of minutes to continue showing zmanim that have passed
|
|
56
|
+
*/
|
|
57
|
+
this.minToShowPassedZman = (0, GeneralUtils_1.setDefault)(minToShowPassedZman, 15);
|
|
58
|
+
/**
|
|
59
|
+
* @property {boolean} [showGaonShir] Show the Shir Shel Yom of the Gr"a?
|
|
60
|
+
*/
|
|
61
|
+
this.showGaonShir = (0, GeneralUtils_1.setDefault)(showGaonShir, false);
|
|
62
|
+
/**
|
|
63
|
+
* @property {boolean} [showDafYomi] Show Daf Yomi?
|
|
64
|
+
*/
|
|
65
|
+
this.showDafYomi = (0, GeneralUtils_1.setDefault)(showDafYomi, true);
|
|
66
|
+
/**
|
|
67
|
+
* @property {boolean} [english] Should the language be English?
|
|
68
|
+
*/
|
|
69
|
+
this.english = (0, GeneralUtils_1.setDefault)(english, true);
|
|
70
|
+
}
|
|
71
|
+
clone() {
|
|
72
|
+
return new Settings([...this.zmanimToShow], this.location, this.showNotifications, this.numberOfItemsToShow, this.minToShowPassedZman, this.showGaonShir, this.showDafYomi, this.english);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
exports.default = Settings;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { ZmanToShow } from './jcal-zmanim';
|
|
2
|
+
export declare const ZmanTypeIds: Readonly<{
|
|
3
|
+
ChatzosLayla: 0;
|
|
4
|
+
Alos90: 1;
|
|
5
|
+
Alos72: 2;
|
|
6
|
+
TalisTefillin: 3;
|
|
7
|
+
NetzAtElevation: 4;
|
|
8
|
+
NetzMishor: 5;
|
|
9
|
+
szksMga: 6;
|
|
10
|
+
szksGra: 7;
|
|
11
|
+
sztMga: 8;
|
|
12
|
+
sztGra: 9;
|
|
13
|
+
chatzosDay: 10;
|
|
14
|
+
minGed: 11;
|
|
15
|
+
minKet: 12;
|
|
16
|
+
plag: 13;
|
|
17
|
+
shkiaAtSeaLevel: 14;
|
|
18
|
+
shkiaElevation: 15;
|
|
19
|
+
tzais45: 16;
|
|
20
|
+
tzais50: 17;
|
|
21
|
+
tzais72: 18;
|
|
22
|
+
rabbeinuTamZmanios: 19;
|
|
23
|
+
rabbeinuTamZmaniosMga: 20;
|
|
24
|
+
candleLighting: 21;
|
|
25
|
+
SofZmanEatingChometz: 22;
|
|
26
|
+
SofZmanBurnChometz: 23;
|
|
27
|
+
}>;
|
|
28
|
+
export declare const ZmanTypes: ZmanToShow[];
|
|
29
|
+
/**
|
|
30
|
+
* Get the ZmanType with the given id or name.
|
|
31
|
+
* @param {Number} id
|
|
32
|
+
* @returns {{id:number, desc: String, eng: String, heb: String }}
|
|
33
|
+
*/
|
|
34
|
+
export declare function getZmanType(id: number): ZmanToShow | undefined;
|
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getZmanType = exports.ZmanTypes = exports.ZmanTypeIds = void 0;
|
|
4
|
+
exports.ZmanTypeIds = Object.freeze({
|
|
5
|
+
ChatzosLayla: 0,
|
|
6
|
+
Alos90: 1,
|
|
7
|
+
Alos72: 2,
|
|
8
|
+
TalisTefillin: 3,
|
|
9
|
+
NetzAtElevation: 4,
|
|
10
|
+
NetzMishor: 5,
|
|
11
|
+
szksMga: 6,
|
|
12
|
+
szksGra: 7,
|
|
13
|
+
sztMga: 8,
|
|
14
|
+
sztGra: 9,
|
|
15
|
+
chatzosDay: 10,
|
|
16
|
+
minGed: 11,
|
|
17
|
+
minKet: 12,
|
|
18
|
+
plag: 13,
|
|
19
|
+
shkiaAtSeaLevel: 14,
|
|
20
|
+
shkiaElevation: 15,
|
|
21
|
+
tzais45: 16,
|
|
22
|
+
tzais50: 17,
|
|
23
|
+
tzais72: 18,
|
|
24
|
+
rabbeinuTamZmanios: 19,
|
|
25
|
+
rabbeinuTamZmaniosMga: 20,
|
|
26
|
+
candleLighting: 21,
|
|
27
|
+
SofZmanEatingChometz: 22,
|
|
28
|
+
SofZmanBurnChometz: 23,
|
|
29
|
+
});
|
|
30
|
+
exports.ZmanTypes = [
|
|
31
|
+
{
|
|
32
|
+
id: exports.ZmanTypeIds.ChatzosLayla,
|
|
33
|
+
desc: 'חצות הלילה',
|
|
34
|
+
eng: 'Chatzos - Midnight',
|
|
35
|
+
heb: 'חצות הלילה',
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
id: exports.ZmanTypeIds.Alos90,
|
|
39
|
+
desc: 'עלות השחר - 90 דקות',
|
|
40
|
+
eng: 'Alos Hashachar - 90',
|
|
41
|
+
heb: 'עלות השחר (90)',
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
id: exports.ZmanTypeIds.Alos72,
|
|
45
|
+
desc: 'עלות השחר - 72 דקות',
|
|
46
|
+
eng: 'Alos Hashachar - 72',
|
|
47
|
+
heb: 'עלות השחר (72)',
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
id: exports.ZmanTypeIds.TalisTefillin,
|
|
51
|
+
desc: 'זמן עטיפת טלית ותפילין - 36 דקות',
|
|
52
|
+
eng: 'Taliss and Tefillin',
|
|
53
|
+
heb: 'טלית ותפילין',
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
id: exports.ZmanTypeIds.NetzAtElevation,
|
|
57
|
+
desc: 'הנץ החמה בגובה המיקום',
|
|
58
|
+
eng: 'Sunrise at current elevation',
|
|
59
|
+
heb: 'הנץ החמה - מגובה',
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
id: exports.ZmanTypeIds.NetzMishor,
|
|
63
|
+
desc: 'הנץ החמה בגובה פני הים',
|
|
64
|
+
eng: 'Sunrise',
|
|
65
|
+
heb: 'הנץ החמה',
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
id: exports.ZmanTypeIds.szksMga,
|
|
69
|
+
desc: 'סזק"ש מג"א',
|
|
70
|
+
eng: 'Zman Krias Shma - MG"A',
|
|
71
|
+
heb: 'סזק"ש מג"א',
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
id: exports.ZmanTypeIds.szksGra,
|
|
75
|
+
desc: 'סזק"ש הגר"א',
|
|
76
|
+
eng: 'Zman Krias Shma - GR"A',
|
|
77
|
+
heb: 'סזק"ש הגר"א',
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
id: exports.ZmanTypeIds.sztMga,
|
|
81
|
+
desc: 'סז"ת מג"א',
|
|
82
|
+
eng: 'Zman Tefilla - MG"A',
|
|
83
|
+
heb: 'סז"ת מג"א',
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
id: exports.ZmanTypeIds.sztGra,
|
|
87
|
+
desc: 'סז"ת הגר"א',
|
|
88
|
+
eng: 'Zman Tefilla - GR"A',
|
|
89
|
+
heb: 'סז"ת הגר"א',
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
id: exports.ZmanTypeIds.chatzosDay,
|
|
93
|
+
desc: 'חצות היום',
|
|
94
|
+
eng: 'Chatzos - Midday',
|
|
95
|
+
heb: 'חצות היום',
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
id: exports.ZmanTypeIds.minGed,
|
|
99
|
+
desc: 'מנחה גדולה',
|
|
100
|
+
eng: 'Mincha Gedola',
|
|
101
|
+
heb: 'מנחה גדולה',
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
id: exports.ZmanTypeIds.minKet,
|
|
105
|
+
desc: 'מנחה קטנה',
|
|
106
|
+
eng: 'Mincha Ketana',
|
|
107
|
+
heb: 'מנחה קטנה',
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
id: exports.ZmanTypeIds.plag,
|
|
111
|
+
desc: 'פלג המנחה',
|
|
112
|
+
eng: 'Plag HaMincha',
|
|
113
|
+
heb: 'פלג המנחה',
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
id: exports.ZmanTypeIds.shkiaAtSeaLevel,
|
|
117
|
+
desc: 'שקיעת החמה מגובה פני הים',
|
|
118
|
+
eng: 'Sunset at sea level',
|
|
119
|
+
heb: 'שקיעת החמה - ממישור',
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
id: exports.ZmanTypeIds.shkiaElevation,
|
|
123
|
+
desc: 'שקיעת החמה מגובה המיקום',
|
|
124
|
+
eng: 'Sunset',
|
|
125
|
+
heb: 'שקיעת החמה',
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
id: exports.ZmanTypeIds.tzais45,
|
|
129
|
+
desc: '45 דקות אחרי שקיעה',
|
|
130
|
+
eng: 'Nightfall - 45',
|
|
131
|
+
heb: 'צאת הכוכבים (45)',
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
id: exports.ZmanTypeIds.tzais50,
|
|
135
|
+
desc: '50 דקות אחרי שקיעה',
|
|
136
|
+
eng: 'Nightfall - 50',
|
|
137
|
+
heb: 'צאת הכוכבים (50)',
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
id: exports.ZmanTypeIds.tzais72,
|
|
141
|
+
desc: '72 דקות אחרי שקיעה',
|
|
142
|
+
eng: 'Rabbeinu Tam',
|
|
143
|
+
heb: 'צה"כ ר"ת - 72 דקות',
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
id: exports.ZmanTypeIds.rabbeinuTamZmanios,
|
|
147
|
+
desc: '72 דקות זמניות אחרי שקיעה',
|
|
148
|
+
eng: 'Rabbeinu Tam - Zmanios',
|
|
149
|
+
heb: 'צה"כ ר"ת - זמניות',
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
id: exports.ZmanTypeIds.rabbeinuTamZmaniosMga,
|
|
153
|
+
desc: '72 דקות זמניות אחרי שקיעה - מג"א',
|
|
154
|
+
eng: 'Rabbeinu Tam - Zmanios MG"A',
|
|
155
|
+
heb: 'צה"כ ר"ת - זמניות מג"א',
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
id: exports.ZmanTypeIds.candleLighting,
|
|
159
|
+
desc: 'זמן הדלקת נרות',
|
|
160
|
+
eng: 'Candle lighting time',
|
|
161
|
+
heb: 'זמן הדלקת נרות',
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
id: exports.ZmanTypeIds.SofZmanEatingChometz,
|
|
165
|
+
desc: 'סוף זמן אכילת חמץ',
|
|
166
|
+
eng: 'Stop eating Chometz',
|
|
167
|
+
heb: 'סוף זמן אכילת חמץ',
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
id: exports.ZmanTypeIds.SofZmanBurnChometz,
|
|
171
|
+
desc: 'סוף זמן ביעור חמץ',
|
|
172
|
+
eng: 'Destroy Chometz',
|
|
173
|
+
heb: 'סוף זמן ביעור חמץ',
|
|
174
|
+
},
|
|
175
|
+
];
|
|
176
|
+
/**
|
|
177
|
+
* Get the ZmanType with the given id or name.
|
|
178
|
+
* @param {Number} id
|
|
179
|
+
* @returns {{id:number, desc: String, eng: String, heb: String }}
|
|
180
|
+
*/
|
|
181
|
+
function getZmanType(id) {
|
|
182
|
+
return exports.ZmanTypes.find(zt => zt.id === id);
|
|
183
|
+
}
|
|
184
|
+
exports.getZmanType = getZmanType;
|
package/build/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/build/index.js
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
const Utils_js_1 = __importDefault(require("./JCal/Utils.js"));
|
|
30
|
+
const Zmanim_js_1 = __importDefault(require("./JCal/Zmanim.js"));
|
|
31
|
+
const Settings_js_1 = __importDefault(require("./Settings.js"));
|
|
32
|
+
const jDate_js_1 = __importDefault(require("./JCal/jDate.js"));
|
|
33
|
+
const Location_js_1 = __importDefault(require("./JCal/Location.js"));
|
|
34
|
+
const Locations_js_1 = require("./Locations.js");
|
|
35
|
+
const ZmanTypes_js_1 = require("./ZmanTypes.js");
|
|
36
|
+
const Molad_js_1 = __importDefault(require("./JCal/Molad.js"));
|
|
37
|
+
const PirkeiAvos_js_1 = __importDefault(require("./JCal/PirkeiAvos.js"));
|
|
38
|
+
const Dafyomi_js_1 = __importDefault(require("./JCal/Dafyomi.js"));
|
|
39
|
+
const Sedra_js_1 = __importDefault(require("./JCal/Sedra.js"));
|
|
40
|
+
const AppUtils_js_1 = __importStar(require("./AppUtils.js"));
|
|
41
|
+
const Notifications_js_1 = __importDefault(require("./Notifications.js"));
|
|
42
|
+
module.exports = {
|
|
43
|
+
Utils: Utils_js_1.default,
|
|
44
|
+
AppUtils: AppUtils_js_1.default,
|
|
45
|
+
DaysOfWeek: AppUtils_js_1.DaysOfWeek,
|
|
46
|
+
getNotifications: Notifications_js_1.default,
|
|
47
|
+
Locations: Locations_js_1.Locations,
|
|
48
|
+
findLocation: Locations_js_1.findLocation,
|
|
49
|
+
ZmanTypes: ZmanTypes_js_1.ZmanTypes,
|
|
50
|
+
ZmanTypeIds: ZmanTypes_js_1.ZmanTypeIds,
|
|
51
|
+
Zmanim: Zmanim_js_1.default,
|
|
52
|
+
Location: Location_js_1.default,
|
|
53
|
+
Settings: Settings_js_1.default,
|
|
54
|
+
jDate: jDate_js_1.default,
|
|
55
|
+
Molad: Molad_js_1.default,
|
|
56
|
+
PirkeiAvos: PirkeiAvos_js_1.default,
|
|
57
|
+
Dafyomi: Dafyomi_js_1.default,
|
|
58
|
+
Sedra: Sedra_js_1.default
|
|
59
|
+
};
|
package/package.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "jcal-zmanim",
|
|
3
|
+
"description": "A very complete JavaScript library for the Jewish Calendar, Zmanim, Holidays, and daily Shul notes.",
|
|
4
|
+
"version": "1.0.4",
|
|
5
|
+
"main": "build/index.js",
|
|
6
|
+
"devDependencies": {
|
|
7
|
+
"@types/node": "20.8.10",
|
|
8
|
+
"rimraf": "5.0.5",
|
|
9
|
+
"typescript": "5.2.2"
|
|
10
|
+
},
|
|
11
|
+
"scripts": {
|
|
12
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
|
13
|
+
"build": "rimraf ./build && NODE_ENV=production && tsc",
|
|
14
|
+
"build-dev": "NODE_ENV=development && tsc"
|
|
15
|
+
},
|
|
16
|
+
"repository": {
|
|
17
|
+
"type": "git",
|
|
18
|
+
"url": "git+https://github.com/cbsom/jCal.git"
|
|
19
|
+
},
|
|
20
|
+
"keywords": [
|
|
21
|
+
"Calendar",
|
|
22
|
+
"Jewish",
|
|
23
|
+
"Halacha",
|
|
24
|
+
"Zmanim",
|
|
25
|
+
"Shul"
|
|
26
|
+
],
|
|
27
|
+
"author": "Chaim B. Sommers <cb@compute.co.il>",
|
|
28
|
+
"license": "GPL-3.0-or-later",
|
|
29
|
+
"bugs": {
|
|
30
|
+
"url": "https://github.com/cbsom/jCal/issues"
|
|
31
|
+
},
|
|
32
|
+
"homepage": "https://github.com/cbsom/jCal#readme"
|
|
33
|
+
}
|