jcal-zmanim 1.5.13 → 1.5.14
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/index.cjs +33 -32
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -4
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -69,6 +69,7 @@ function _inherits(subClass, superClass) {
|
|
|
69
69
|
if (superClass) _set_prototype_of(subClass, superClass);
|
|
70
70
|
}
|
|
71
71
|
function _instanceof(left, right) {
|
|
72
|
+
"@swc/helpers - instanceof";
|
|
72
73
|
if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
|
|
73
74
|
return !!right[Symbol.hasInstance](left);
|
|
74
75
|
} else {
|
|
@@ -160,20 +161,20 @@ var __defProp = Object.defineProperty;
|
|
|
160
161
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
161
162
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
162
163
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
163
|
-
var __export = function(target, all) {
|
|
164
|
+
var __export = function __export(target, all) {
|
|
164
165
|
for(var name in all)__defProp(target, name, {
|
|
165
166
|
get: all[name],
|
|
166
167
|
enumerable: true
|
|
167
168
|
});
|
|
168
169
|
};
|
|
169
|
-
var __copyProps = function(to, from, except, desc) {
|
|
170
|
+
var __copyProps = function __copyProps(to, from, except, desc) {
|
|
170
171
|
if (from && (typeof from === "undefined" ? "undefined" : _type_of(from)) === "object" || typeof from === "function") {
|
|
171
172
|
var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
|
|
172
173
|
try {
|
|
173
174
|
var _loop = function() {
|
|
174
175
|
var key = _step.value;
|
|
175
176
|
if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
176
|
-
get: function() {
|
|
177
|
+
get: function get() {
|
|
177
178
|
return from[key];
|
|
178
179
|
},
|
|
179
180
|
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
@@ -197,7 +198,7 @@ var __copyProps = function(to, from, except, desc) {
|
|
|
197
198
|
}
|
|
198
199
|
return to;
|
|
199
200
|
};
|
|
200
|
-
var __toCommonJS = function(mod) {
|
|
201
|
+
var __toCommonJS = function __toCommonJS(mod) {
|
|
201
202
|
return __copyProps(__defProp({}, "__esModule", {
|
|
202
203
|
value: true
|
|
203
204
|
}), mod);
|
|
@@ -205,76 +206,76 @@ var __toCommonJS = function(mod) {
|
|
|
205
206
|
// src/index.ts
|
|
206
207
|
var index_exports = {};
|
|
207
208
|
__export(index_exports, {
|
|
208
|
-
Dafyomi: function() {
|
|
209
|
+
Dafyomi: function Dafyomi1() {
|
|
209
210
|
return Dafyomi;
|
|
210
211
|
},
|
|
211
|
-
DaysOfWeek: function() {
|
|
212
|
+
DaysOfWeek: function DaysOfWeek1() {
|
|
212
213
|
return DaysOfWeek;
|
|
213
214
|
},
|
|
214
|
-
DaysOfWeekEng: function() {
|
|
215
|
+
DaysOfWeekEng: function DaysOfWeekEng1() {
|
|
215
216
|
return DaysOfWeekEng;
|
|
216
217
|
},
|
|
217
|
-
DaysOfWeekHeb: function() {
|
|
218
|
+
DaysOfWeekHeb: function DaysOfWeekHeb1() {
|
|
218
219
|
return DaysOfWeekHeb;
|
|
219
220
|
},
|
|
220
|
-
JewishMonthsEng: function() {
|
|
221
|
+
JewishMonthsEng: function JewishMonthsEng1() {
|
|
221
222
|
return JewishMonthsEng;
|
|
222
223
|
},
|
|
223
|
-
JewishMonthsHeb: function() {
|
|
224
|
+
JewishMonthsHeb: function JewishMonthsHeb1() {
|
|
224
225
|
return JewishMonthsHeb;
|
|
225
226
|
},
|
|
226
|
-
JewishMonthsNames: function() {
|
|
227
|
+
JewishMonthsNames: function JewishMonthsNames1() {
|
|
227
228
|
return JewishMonthsNames;
|
|
228
229
|
},
|
|
229
|
-
Location: function() {
|
|
230
|
+
Location: function Location1() {
|
|
230
231
|
return Location;
|
|
231
232
|
},
|
|
232
|
-
Locations: function() {
|
|
233
|
+
Locations: function Locations1() {
|
|
233
234
|
return Locations;
|
|
234
235
|
},
|
|
235
|
-
Molad: function() {
|
|
236
|
+
Molad: function Molad1() {
|
|
236
237
|
return Molad;
|
|
237
238
|
},
|
|
238
|
-
PirkeiAvos: function() {
|
|
239
|
+
PirkeiAvos: function PirkeiAvos1() {
|
|
239
240
|
return PirkeiAvos;
|
|
240
241
|
},
|
|
241
|
-
SecularMonthsEng: function() {
|
|
242
|
+
SecularMonthsEng: function SecularMonthsEng1() {
|
|
242
243
|
return SecularMonthsEng;
|
|
243
244
|
},
|
|
244
|
-
Sedra: function() {
|
|
245
|
+
Sedra: function Sedra1() {
|
|
245
246
|
return Sedra;
|
|
246
247
|
},
|
|
247
|
-
Utils: function() {
|
|
248
|
+
Utils: function Utils1() {
|
|
248
249
|
return Utils;
|
|
249
250
|
},
|
|
250
|
-
ZmanTypeIds: function() {
|
|
251
|
+
ZmanTypeIds: function ZmanTypeIds1() {
|
|
251
252
|
return ZmanTypeIds;
|
|
252
253
|
},
|
|
253
|
-
ZmanTypes: function() {
|
|
254
|
+
ZmanTypes: function ZmanTypes1() {
|
|
254
255
|
return ZmanTypes;
|
|
255
256
|
},
|
|
256
|
-
Zmanim: function() {
|
|
257
|
+
Zmanim: function Zmanim1() {
|
|
257
258
|
return Zmanim;
|
|
258
259
|
},
|
|
259
|
-
ZmanimUtils: function() {
|
|
260
|
+
ZmanimUtils: function ZmanimUtils1() {
|
|
260
261
|
return ZmanimUtils;
|
|
261
262
|
},
|
|
262
|
-
closestDistanceMatch: function() {
|
|
263
|
+
closestDistanceMatch: function closestDistanceMatch1() {
|
|
263
264
|
return closestDistanceMatch;
|
|
264
265
|
},
|
|
265
|
-
closestNameMatch: function() {
|
|
266
|
+
closestNameMatch: function closestNameMatch1() {
|
|
266
267
|
return closestNameMatch;
|
|
267
268
|
},
|
|
268
|
-
findLocation: function() {
|
|
269
|
+
findLocation: function findLocation1() {
|
|
269
270
|
return findLocation;
|
|
270
271
|
},
|
|
271
|
-
getNotifications: function() {
|
|
272
|
+
getNotifications: function getNotifications1() {
|
|
272
273
|
return getNotifications;
|
|
273
274
|
},
|
|
274
|
-
getZmanType: function() {
|
|
275
|
+
getZmanType: function getZmanType1() {
|
|
275
276
|
return getZmanType;
|
|
276
277
|
},
|
|
277
|
-
jDate: function() {
|
|
278
|
+
jDate: function jDate1() {
|
|
278
279
|
return jDate;
|
|
279
280
|
}
|
|
280
281
|
});
|
|
@@ -729,7 +730,7 @@ var _Zmanim = /*#__PURE__*/ function() {
|
|
|
729
730
|
value: /**
|
|
730
731
|
* @param {Date} date
|
|
731
732
|
*/ function dayOfYear(date) {
|
|
732
|
-
var month = date.getMonth(), isLeap = function() {
|
|
733
|
+
var month = date.getMonth(), isLeap = function isLeap() {
|
|
733
734
|
return DateUtils.isSecularLeapYear(date.getFullYear());
|
|
734
735
|
}, yearDay = [
|
|
735
736
|
0,
|
|
@@ -3603,7 +3604,7 @@ var yearTypeList = [
|
|
|
3603
3604
|
7
|
|
3604
3605
|
];
|
|
3605
3606
|
var elapsedDaysCache = /* @__PURE__ */ new Map();
|
|
3606
|
-
var getElapsedDays = function(year) {
|
|
3607
|
+
var getElapsedDays = function getElapsedDays(year) {
|
|
3607
3608
|
if (elapsedDaysCache.has(year)) return elapsedDaysCache.get(year);
|
|
3608
3609
|
var daysCounter = 0;
|
|
3609
3610
|
var months = DateUtils.toInt(235 * DateUtils.toInt((year - 1) / 19) + // Leap months this cycle
|
|
@@ -14033,7 +14034,7 @@ function getAroundTheYearNotifications() {
|
|
|
14033
14034
|
}
|
|
14034
14035
|
break;
|
|
14035
14036
|
case JewishMonthsNames.TAMUZ:
|
|
14036
|
-
if (
|
|
14037
|
+
if (day === 17 && DaysOfWeek.SHABBOS !== 6 || day === 18 && dow === DaysOfWeek.SUNDAY) {
|
|
14037
14038
|
addDayNote("Shiva Asar B`Tamuz", '\u05D9"\u05D6 \u05D1\u05EA\u05DE\u05D5\u05D6');
|
|
14038
14039
|
if (isDaytime) {
|
|
14039
14040
|
addTefillahNote("Avinu Malkeinu", "\u05D0\u05D1\u05D9\u05E0\u05D5 \u05DE\u05DC\u05DB\u05E0\u05D5");
|
|
@@ -14049,8 +14050,8 @@ function getAroundTheYearNotifications() {
|
|
|
14049
14050
|
dayInfo.noTachnun = true;
|
|
14050
14051
|
} else if (day === 9 && dow !== DaysOfWeek.SHABBOS || day === 10 && dow === DaysOfWeek.SUNDAY) {
|
|
14051
14052
|
addDayNote("Tish B`Av", "\u05EA\u05E9\u05E2\u05D4 \u05D1\u05D0\u05D1");
|
|
14053
|
+
addTefillahNote("Kinos", "\u05E7\u05D9\u05E0\u05D5\u05EA");
|
|
14052
14054
|
if (isDaytime) {
|
|
14053
|
-
addTefillahNote("Kinos", "\u05E7\u05D9\u05E0\u05D5\u05EA");
|
|
14054
14055
|
addTefillahNote("Aneinu", "\u05E2\u05E0\u05E0\u05D5");
|
|
14055
14056
|
if (isMorning && dow !== DaysOfWeek.SHABBOS) {
|
|
14056
14057
|
noLaminatzeach();
|