cronstrue 3.11.0 → 3.13.0
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/cronstrue-i18n.js +154 -150
- package/dist/cronstrue-i18n.min.js +1 -1
- package/dist/cronstrue.js +27 -23
- package/dist/cronstrue.min.js +1 -1
- package/locales/af.js +7 -7
- package/locales/af.min.js +1 -1
- package/locales/ar.js +7 -7
- package/locales/ar.min.js +1 -1
- package/locales/be.js +7 -7
- package/locales/be.min.js +1 -1
- package/locales/bg.js +7 -7
- package/locales/bg.min.js +1 -1
- package/locales/ca.js +7 -7
- package/locales/ca.min.js +1 -1
- package/locales/cs.js +7 -7
- package/locales/cs.min.js +1 -1
- package/locales/da.js +7 -7
- package/locales/da.min.js +1 -1
- package/locales/de.js +7 -7
- package/locales/de.min.js +1 -1
- package/locales/en.js +8 -8
- package/locales/en.min.js +1 -1
- package/locales/es.js +7 -7
- package/locales/es.min.js +1 -1
- package/locales/fa.js +7 -7
- package/locales/fa.min.js +1 -1
- package/locales/fi.js +7 -7
- package/locales/fi.min.js +1 -1
- package/locales/fr.js +7 -7
- package/locales/fr.min.js +1 -1
- package/locales/he.js +7 -7
- package/locales/he.min.js +1 -1
- package/locales/hr.js +7 -7
- package/locales/hr.min.js +1 -1
- package/locales/hu.js +7 -7
- package/locales/hu.min.js +1 -1
- package/locales/id.js +7 -7
- package/locales/id.min.js +1 -1
- package/locales/it.js +7 -7
- package/locales/it.min.js +1 -1
- package/locales/ja.js +7 -7
- package/locales/ja.min.js +1 -1
- package/locales/ko.js +17 -17
- package/locales/ko.min.js +1 -1
- package/locales/my.js +7 -7
- package/locales/my.min.js +1 -1
- package/locales/nb.js +7 -7
- package/locales/nb.min.js +1 -1
- package/locales/nl.js +7 -7
- package/locales/nl.min.js +1 -1
- package/locales/pl.js +7 -7
- package/locales/pl.min.js +1 -1
- package/locales/pt_BR.js +7 -7
- package/locales/pt_BR.min.js +1 -1
- package/locales/pt_PT.js +7 -7
- package/locales/pt_PT.min.js +1 -1
- package/locales/ro.js +7 -7
- package/locales/ro.min.js +1 -1
- package/locales/ru.js +7 -7
- package/locales/ru.min.js +1 -1
- package/locales/sk.js +7 -7
- package/locales/sk.min.js +1 -1
- package/locales/sl.js +7 -7
- package/locales/sl.min.js +1 -1
- package/locales/sr.js +7 -7
- package/locales/sr.min.js +1 -1
- package/locales/sv.js +7 -7
- package/locales/sv.min.js +1 -1
- package/locales/sw.js +7 -7
- package/locales/sw.min.js +1 -1
- package/locales/th.js +7 -7
- package/locales/th.min.js +1 -1
- package/locales/tr.js +7 -7
- package/locales/tr.min.js +1 -1
- package/locales/uk.js +7 -7
- package/locales/uk.min.js +1 -1
- package/locales/vi.js +7 -7
- package/locales/vi.min.js +1 -1
- package/locales/zh_CN.js +7 -7
- package/locales/zh_CN.min.js +1 -1
- package/locales/zh_TW.js +7 -7
- package/locales/zh_TW.min.js +1 -1
- package/package.json +1 -1
package/dist/cronstrue.js
CHANGED
|
@@ -12,8 +12,8 @@ return /******/ (() => { // webpackBootstrap
|
|
|
12
12
|
/******/ "use strict";
|
|
13
13
|
/******/ var __webpack_modules__ = ({
|
|
14
14
|
|
|
15
|
-
/***/ 949
|
|
16
|
-
|
|
15
|
+
/***/ 949
|
|
16
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
@@ -258,10 +258,10 @@ var CronParser = (function () {
|
|
|
258
258
|
exports.CronParser = CronParser;
|
|
259
259
|
|
|
260
260
|
|
|
261
|
-
/***/ }
|
|
261
|
+
/***/ },
|
|
262
262
|
|
|
263
|
-
/***/ 333
|
|
264
|
-
|
|
263
|
+
/***/ 333
|
|
264
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
265
265
|
|
|
266
266
|
|
|
267
267
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
@@ -673,7 +673,11 @@ var ExpressionDescriptor = (function () {
|
|
|
673
673
|
descriptionContent += getSingleItemDescription(segments[i]);
|
|
674
674
|
}
|
|
675
675
|
else {
|
|
676
|
-
|
|
676
|
+
var segmentDescription = this.getSegmentDescription(segments[i], allDescription, getSingleItemDescription, getIncrementDescriptionFormat, getRangeDescriptionFormat, getDescriptionFormat);
|
|
677
|
+
if (segmentDescription && segmentDescription.startsWith(", ")) {
|
|
678
|
+
segmentDescription = segmentDescription.substring(2);
|
|
679
|
+
}
|
|
680
|
+
descriptionContent += segmentDescription;
|
|
677
681
|
}
|
|
678
682
|
}
|
|
679
683
|
if (!doesExpressionContainIncrement) {
|
|
@@ -774,10 +778,10 @@ var ExpressionDescriptor = (function () {
|
|
|
774
778
|
exports.ExpressionDescriptor = ExpressionDescriptor;
|
|
775
779
|
|
|
776
780
|
|
|
777
|
-
/***/ }
|
|
781
|
+
/***/ },
|
|
778
782
|
|
|
779
|
-
/***/ 747
|
|
780
|
-
|
|
783
|
+
/***/ 747
|
|
784
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
781
785
|
|
|
782
786
|
|
|
783
787
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
@@ -794,10 +798,10 @@ var enLocaleLoader = (function () {
|
|
|
794
798
|
exports.enLocaleLoader = enLocaleLoader;
|
|
795
799
|
|
|
796
800
|
|
|
797
|
-
/***/ }
|
|
801
|
+
/***/ },
|
|
798
802
|
|
|
799
|
-
/***/ 486
|
|
800
|
-
|
|
803
|
+
/***/ 486
|
|
804
|
+
(__unused_webpack_module, exports) {
|
|
801
805
|
|
|
802
806
|
|
|
803
807
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
@@ -941,7 +945,7 @@ var en = (function () {
|
|
|
941
945
|
return ", on the %s of the month";
|
|
942
946
|
};
|
|
943
947
|
en.prototype.commaEveryX0Days = function () {
|
|
944
|
-
return ", every %s days";
|
|
948
|
+
return ", every %s days in a month";
|
|
945
949
|
};
|
|
946
950
|
en.prototype.commaBetweenDayX0AndX1OfTheMonth = function () {
|
|
947
951
|
return ", between day %s and %s of the month";
|
|
@@ -988,10 +992,10 @@ var en = (function () {
|
|
|
988
992
|
exports.en = en;
|
|
989
993
|
|
|
990
994
|
|
|
991
|
-
/***/ }
|
|
995
|
+
/***/ },
|
|
992
996
|
|
|
993
|
-
/***/ 515
|
|
994
|
-
|
|
997
|
+
/***/ 515
|
|
998
|
+
(__unused_webpack_module, exports) {
|
|
995
999
|
|
|
996
1000
|
|
|
997
1001
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
@@ -1062,10 +1066,10 @@ var RangeValidator = (function () {
|
|
|
1062
1066
|
exports["default"] = RangeValidator;
|
|
1063
1067
|
|
|
1064
1068
|
|
|
1065
|
-
/***/ }
|
|
1069
|
+
/***/ },
|
|
1066
1070
|
|
|
1067
|
-
/***/ 823
|
|
1068
|
-
|
|
1071
|
+
/***/ 823
|
|
1072
|
+
(__unused_webpack_module, exports) {
|
|
1069
1073
|
|
|
1070
1074
|
|
|
1071
1075
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
@@ -1096,7 +1100,7 @@ var StringUtilities = (function () {
|
|
|
1096
1100
|
exports.StringUtilities = StringUtilities;
|
|
1097
1101
|
|
|
1098
1102
|
|
|
1099
|
-
/***/ }
|
|
1103
|
+
/***/ }
|
|
1100
1104
|
|
|
1101
1105
|
/******/ });
|
|
1102
1106
|
/************************************************************************/
|
|
@@ -1126,7 +1130,7 @@ exports.StringUtilities = StringUtilities;
|
|
|
1126
1130
|
/******/
|
|
1127
1131
|
/************************************************************************/
|
|
1128
1132
|
var __webpack_exports__ = {};
|
|
1129
|
-
// This entry
|
|
1133
|
+
// This entry needs to be wrapped in an IIFE because it uses a non-standard name for the exports (exports).
|
|
1130
1134
|
(() => {
|
|
1131
1135
|
var exports = __webpack_exports__;
|
|
1132
1136
|
|
|
@@ -1136,8 +1140,8 @@ var expressionDescriptor_1 = __webpack_require__(333);
|
|
|
1136
1140
|
var enLocaleLoader_1 = __webpack_require__(747);
|
|
1137
1141
|
expressionDescriptor_1.ExpressionDescriptor.initialize(new enLocaleLoader_1.enLocaleLoader());
|
|
1138
1142
|
exports["default"] = expressionDescriptor_1.ExpressionDescriptor;
|
|
1139
|
-
var
|
|
1140
|
-
exports.toString =
|
|
1143
|
+
var cronstrue_toString = expressionDescriptor_1.ExpressionDescriptor.toString;
|
|
1144
|
+
exports.toString = cronstrue_toString;
|
|
1141
1145
|
|
|
1142
1146
|
})();
|
|
1143
1147
|
|
package/dist/cronstrue.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("cronstrue",[],e):"object"==typeof exports?exports.cronstrue=e():t.cronstrue=e()}(globalThis,(()=>(()=>{"use strict";var t={949:(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CronParser=void 0;var r=n(515),o=function(){function t(t,e,n){void 0===e&&(e=!0),void 0===n&&(n=!1),this.expression=t,this.dayOfWeekStartIndexZero=e,this.monthStartIndexZero=n}return t.prototype.parse=function(){var t,e,n=null!==(t=this.expression)&&void 0!==t?t:"";if("@reboot"===n)return e=["@reboot","","","","","",""];if(n.startsWith("@")){var r=this.parseSpecial(this.expression);e=this.extractParts(r)}else e=this.extractParts(this.expression);return this.normalize(e),this.validate(e),e},t.prototype.parseSpecial=function(t){var e={"@yearly":"0 0 1 1 *","@annually":"0 0 1 1 *","@monthly":"0 0 1 * *","@weekly":"0 0 * * 0","@daily":"0 0 * * *","@midnight":"0 0 * * *","@hourly":"0 * * * *","@reboot":"@reboot"}[t];if(!e)throw new Error("Unknown special expression.");return e},t.prototype.extractParts=function(t){if(!this.expression)throw new Error("cron expression is empty");for(var e=t.trim().split(/[ ]+/),n=0;n<e.length;n++)if(e[n].includes(",")){var r=e[n].split(",").map((function(t){return t.trim()})).filter((function(t){return""!==t})).map((function(t){return isNaN(Number(t))?t:Number(t)})).filter((function(t){return null!==t&&""!==t}));0===r.length&&r.push("*"),r.sort((function(t,e){return null!==t&&null!==e?t-e:0})),e[n]=r.map((function(t){return null!==t?t.toString():""})).join(",")}if(e.length<5)throw new Error("Expression has only ".concat(e.length," part").concat(1==e.length?"":"s",". At least 5 parts are required."));if(5==e.length)e.unshift(""),e.push("");else if(6==e.length){/\d{4}$/.test(e[5])||"?"==e[4]||"?"==e[2]?e.unshift(""):e.push("")}else if(e.length>7)throw new Error("Expression has ".concat(e.length," parts; too many!"));return e},t.prototype.normalize=function(t){var e=this;if(t[3]=t[3].replace("?","*"),t[5]=t[5].replace("?","*"),t[2]=t[2].replace("?","*"),0==t[0].indexOf("0/")&&(t[0]=t[0].replace("0/","*/")),0==t[1].indexOf("0/")&&(t[1]=t[1].replace("0/","*/")),0==t[2].indexOf("0/")&&(t[2]=t[2].replace("0/","*/")),0==t[3].indexOf("1/")&&(t[3]=t[3].replace("1/","*/")),0==t[4].indexOf("1/")&&(t[4]=t[4].replace("1/","*/")),0==t[6].indexOf("1/")&&(t[6]=t[6].replace("1/","*/")),t[5]=t[5].replace(/(^\d)|([^#/\s]\d)/g,(function(t){var n=t.replace(/\D/,""),r=n;return e.dayOfWeekStartIndexZero?"7"==n&&(r="0"):r=(parseInt(n)-1).toString(),t.replace(n,r)})),"L"==t[5]&&(t[5]="6"),"?"==t[3]&&(t[3]="*"),t[3].indexOf("W")>-1&&(t[3].indexOf(",")>-1||t[3].indexOf("-")>-1))throw new Error("The 'W' character can be specified only when the day-of-month is a single day, not a range or list of days.");var n={SUN:0,MON:1,TUE:2,WED:3,THU:4,FRI:5,SAT:6};for(var r in n)t[5]=t[5].replace(new RegExp(r,"gi"),n[r].toString());t[4]=t[4].replace(/(^\d{1,2})|([^#/\s]\d{1,2})/g,(function(t){var n=t.replace(/\D/,""),r=n;return e.monthStartIndexZero&&(r=(parseInt(n)+1).toString()),t.replace(n,r)}));var o={JAN:1,FEB:2,MAR:3,APR:4,MAY:5,JUN:6,JUL:7,AUG:8,SEP:9,OCT:10,NOV:11,DEC:12};for(var i in o)t[4]=t[4].replace(new RegExp(i,"gi"),o[i].toString());"0"==t[0]&&(t[0]=""),/\*|\-|\,|\//.test(t[2])||!/\*|\//.test(t[1])&&!/\*|\//.test(t[0])||(t[2]+="-".concat(t[2]));for(var a=0;a<t.length;a++)if(-1!=t[a].indexOf(",")&&(t[a]=t[a].split(",").filter((function(t){return""!==t})).join(",")||"*"),"*/1"==t[a]&&(t[a]="*"),t[a].indexOf("/")>-1&&!/^\*|\-|\,/.test(t[a])){var s=null;switch(a){case 4:s="12";break;case 5:s="6";break;case 6:s="9999";break;default:s=null}if(null!==s){var u=t[a].split("/");t[a]="".concat(u[0],"-").concat(s,"/").concat(u[1])}}},t.prototype.validate=function(t){var e="0-9,\\-*/";this.validateOnlyExpectedCharactersFound(t[0],e),this.validateOnlyExpectedCharactersFound(t[1],e),this.validateOnlyExpectedCharactersFound(t[2],e),this.validateOnlyExpectedCharactersFound(t[3],"0-9,\\-*/LW"),this.validateOnlyExpectedCharactersFound(t[4],e),this.validateOnlyExpectedCharactersFound(t[5],"0-9,\\-*/L#"),this.validateOnlyExpectedCharactersFound(t[6],e),this.validateAnyRanges(t)},t.prototype.validateAnyRanges=function(t){r.default.secondRange(t[0]),r.default.minuteRange(t[1]),r.default.hourRange(t[2]),r.default.dayOfMonthRange(t[3]),r.default.monthRange(t[4],this.monthStartIndexZero),r.default.dayOfWeekRange(t[5],this.dayOfWeekStartIndexZero)},t.prototype.validateOnlyExpectedCharactersFound=function(t,e){var n=t.match(new RegExp("[^".concat(e,"]+"),"gi"));if(n&&n.length)throw new Error("Expression contains invalid values: '".concat(n.toString(),"'"))},t}();e.CronParser=o},333:(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.ExpressionDescriptor=void 0;var r=n(823),o=n(949),i=function(){function t(e,n){if(this.expression=e,this.options=n,this.expressionParts=new Array(5),!this.options.locale&&t.defaultLocale&&(this.options.locale=t.defaultLocale),!t.locales[this.options.locale]){var r=Object.keys(t.locales)[0];console.warn("Locale '".concat(this.options.locale,"' could not be found; falling back to '").concat(r,"'.")),this.options.locale=r}this.i18n=t.locales[this.options.locale],void 0===n.use24HourTimeFormat&&(n.use24HourTimeFormat=this.i18n.use24HourTimeFormatByDefault())}return t.toString=function(e,n){var r=void 0===n?{}:n,o=r.throwExceptionOnParseError,i=void 0===o||o,a=r.verbose,s=void 0!==a&&a,u=r.dayOfWeekStartIndexZero,c=void 0===u||u,p=r.monthStartIndexZero,h=void 0!==p&&p,f=r.use24HourTimeFormat,l=r.locale,d=void 0===l?null:l,y=r.logicalAndDayFields,m={throwExceptionOnParseError:i,verbose:s,dayOfWeekStartIndexZero:c,monthStartIndexZero:h,use24HourTimeFormat:f,locale:d,logicalAndDayFields:void 0!==y&&y};return m.tzOffset&&console.warn("'tzOffset' option has been deprecated and is no longer supported."),new t(e,m).getFullDescription()},t.initialize=function(e,n){void 0===n&&(n="en"),t.specialCharacters=["/","-",",","*"],t.defaultLocale=n,e.load(t.locales)},t.prototype.getFullDescription=function(){var t,e,n="";try{var r=new o.CronParser(this.expression,this.options.dayOfWeekStartIndexZero,this.options.monthStartIndexZero);if(this.expressionParts=r.parse(),"@reboot"===this.expressionParts[0])return(null===(e=(t=this.i18n).atReboot)||void 0===e?void 0:e.call(t))||"Run once, at startup";var i=this.getTimeOfDayDescription(),a=this.getDayOfMonthDescription(),s=this.getMonthDescription();n+=i+a+this.getDayOfWeekDescription()+s+this.getYearDescription(),n=(n=this.transformVerbosity(n,!!this.options.verbose)).charAt(0).toLocaleUpperCase()+n.substr(1)}catch(t){if(this.options.throwExceptionOnParseError)throw"".concat(t);n=this.i18n.anErrorOccuredWhenGeneratingTheExpressionD()}return n},t.prototype.getTimeOfDayDescription=function(){var e=this.expressionParts[0],n=this.expressionParts[1],o=this.expressionParts[2],i="";if(r.StringUtilities.containsAny(n,t.specialCharacters)||r.StringUtilities.containsAny(o,t.specialCharacters)||r.StringUtilities.containsAny(e,t.specialCharacters))if(e||!(n.indexOf("-")>-1)||n.indexOf(",")>-1||n.indexOf("/")>-1||r.StringUtilities.containsAny(o,t.specialCharacters))if(!e&&o.indexOf(",")>-1&&-1==o.indexOf("-")&&-1==o.indexOf("/")&&!r.StringUtilities.containsAny(n,t.specialCharacters)){var a=o.split(",");i+=this.i18n.at();for(var s=0;s<a.length;s++)i+=" ",i+=this.formatTime(a[s],n,""),s<a.length-2&&(i+=","),s==a.length-2&&(i+=this.i18n.spaceAnd())}else{var u=this.getSecondsDescription(),c=this.getMinutesDescription(),p=this.getHoursDescription();if((i+=u)&&c&&(i+=", "),i+=c,c===p)return i;i&&p&&(i+=", "),i+=p}else{var h=n.split("-");i+=r.StringUtilities.format(this.i18n.everyMinuteBetweenX0AndX1(),this.formatTime(o,h[0],""),this.formatTime(o,h[1],""))}else i+=this.i18n.atSpace()+this.formatTime(o,n,e);return i},t.prototype.getSecondsDescription=function(){var t=this;return this.getSegmentDescription(this.expressionParts[0],this.i18n.everySecond(),(function(t){return t}),(function(e){return r.StringUtilities.format(t.i18n.everyX0Seconds(e),e)}),(function(e){return t.i18n.secondsX0ThroughX1PastTheMinute()}),(function(e){return"0"==e?"":parseInt(e)<20?t.i18n.atX0SecondsPastTheMinute(e):t.i18n.atX0SecondsPastTheMinuteGt20()||t.i18n.atX0SecondsPastTheMinute(e)}))},t.prototype.getMinutesDescription=function(){var t=this,e=this.expressionParts[0],n=this.expressionParts[2];return this.getSegmentDescription(this.expressionParts[1],this.i18n.everyMinute(),(function(t){return t}),(function(e){return r.StringUtilities.format(t.i18n.everyX0Minutes(e),e)}),(function(e){return t.i18n.minutesX0ThroughX1PastTheHour()}),(function(r){var o,i;try{return"0"==r&&-1==n.indexOf("/")&&""==e?t.i18n.everyHour():"0"==r?(null===(i=(o=t.i18n).onTheHour)||void 0===i?void 0:i.call(o))||t.i18n.atX0MinutesPastTheHour(r):parseInt(r)<20?t.i18n.atX0MinutesPastTheHour(r):t.i18n.atX0MinutesPastTheHourGt20()||t.i18n.atX0MinutesPastTheHour(r)}catch(e){return t.i18n.atX0MinutesPastTheHour(r)}}))},t.prototype.getHoursDescription=function(){var t=this,e=this.expressionParts[2],n=0,o=[];e.split("/")[0].split(",").forEach((function(t){var e=t.split("-");2===e.length&&o.push({value:e[1],index:n+1}),n+=e.length}));var i=0;return this.getSegmentDescription(e,this.i18n.everyHour(),(function(e){var n=o.find((function(t){return t.value===e&&t.index===i}))&&"0"!==t.expressionParts[1];return i++,n?t.formatTime(e,"59",""):t.formatTime(e,"0","")}),(function(e){return r.StringUtilities.format(t.i18n.everyX0Hours(e),e)}),(function(e){return t.i18n.betweenX0AndX1()}),(function(e){return t.i18n.atX0()}))},t.prototype.getDayOfWeekDescription=function(){var t=this,e=this.i18n.daysOfTheWeek();return"*"==this.expressionParts[5]?"":this.getSegmentDescription(this.expressionParts[5],this.i18n.commaEveryDay(),(function(n,r){var o=n;n.indexOf("#")>-1?o=n.substring(0,n.indexOf("#")):n.indexOf("L")>-1&&(o=o.replace("L",""));var i=parseInt(o),a=t.i18n.daysOfTheWeekInCase?t.i18n.daysOfTheWeekInCase(r)[i]:e[i];if(n.indexOf("#")>-1){var s=null,u=n.substring(n.indexOf("#")+1),c=n.substring(0,n.indexOf("#"));switch(u){case"1":s=t.i18n.first(c);break;case"2":s=t.i18n.second(c);break;case"3":s=t.i18n.third(c);break;case"4":s=t.i18n.fourth(c);break;case"5":s=t.i18n.fifth(c)}a=s+" "+a}return a}),(function(e){return 1==parseInt(e)?"":r.StringUtilities.format(t.i18n.commaEveryX0DaysOfTheWeek(e),e)}),(function(e){var n=e.substring(0,e.indexOf("-"));return"*"!=t.expressionParts[3]?t.i18n.commaAndX0ThroughX1(n):t.i18n.commaX0ThroughX1(n)}),(function(e){var n=null;if(e.indexOf("#")>-1){var r=e.substring(e.indexOf("#")+1),o=e.substring(0,e.indexOf("#"));n=t.i18n.commaOnThe(r,o).trim()+t.i18n.spaceX0OfTheMonth()}else if(e.indexOf("L")>-1)n=t.i18n.commaOnTheLastX0OfTheMonth(e.replace("L",""));else{n="*"!=t.expressionParts[3]?t.options.logicalAndDayFields?t.i18n.commaOnlyOnX0(e):t.i18n.commaAndOnX0():t.i18n.commaOnlyOnX0(e)}return n}))},t.prototype.getMonthDescription=function(){var t=this,e=this.i18n.monthsOfTheYear();return this.getSegmentDescription(this.expressionParts[4],"",(function(n,r){return r&&t.i18n.monthsOfTheYearInCase?t.i18n.monthsOfTheYearInCase(r)[parseInt(n)-1]:e[parseInt(n)-1]}),(function(e){return 1==parseInt(e)?"":r.StringUtilities.format(t.i18n.commaEveryX0Months(e),e)}),(function(e){return t.i18n.commaMonthX0ThroughMonthX1()||t.i18n.commaX0ThroughX1()}),(function(e){return t.i18n.commaOnlyInMonthX0?t.i18n.commaOnlyInMonthX0():t.i18n.commaOnlyInX0()}))},t.prototype.getDayOfMonthDescription=function(){var t=this,e=null,n=this.expressionParts[3];switch(n){case"L":e=this.i18n.commaOnTheLastDayOfTheMonth();break;case"WL":case"LW":e=this.i18n.commaOnTheLastWeekdayOfTheMonth();break;default:var o=n.match(/(\d{1,2}W)|(W\d{1,2})/);if(o){var i=parseInt(o[0].replace("W","")),a=1==i?this.i18n.firstWeekday():r.StringUtilities.format(this.i18n.weekdayNearestDayX0(),i.toString());e=r.StringUtilities.format(this.i18n.commaOnTheX0OfTheMonth(),a);break}var s=n.match(/L-(\d{1,2})/);if(s){var u=s[1];e=r.StringUtilities.format(this.i18n.commaDaysBeforeTheLastDayOfTheMonth(u),u);break}if("*"==n&&"*"!=this.expressionParts[5])return"";e=this.getSegmentDescription(n,this.i18n.commaEveryDay(),(function(e){return"L"==e?t.i18n.lastDay():t.i18n.dayX0?r.StringUtilities.format(t.i18n.dayX0(),e):e}),(function(e){return"1"==e?t.i18n.commaEveryDay():t.i18n.commaEveryX0Days(e)}),(function(e){return t.i18n.commaBetweenDayX0AndX1OfTheMonth(e)}),(function(e){return t.i18n.commaOnDayX0OfTheMonth(e)}))}return e},t.prototype.getYearDescription=function(){var t=this;return this.getSegmentDescription(this.expressionParts[6],"",(function(t){return/^\d+$/.test(t)?new Date(parseInt(t),1).getFullYear().toString():t}),(function(e){return r.StringUtilities.format(t.i18n.commaEveryX0Years(e),e)}),(function(e){return t.i18n.commaYearX0ThroughYearX1()||t.i18n.commaX0ThroughX1()}),(function(e){return t.i18n.commaOnlyInYearX0?t.i18n.commaOnlyInYearX0():t.i18n.commaOnlyInX0()}))},t.prototype.getSegmentDescription=function(t,e,n,o,i,a){var s=null,u=t.indexOf("/")>-1,c=t.indexOf("-")>-1,p=t.indexOf(",")>-1;if(t)if("*"===t)s=e;else if(u||c||p)if(p){for(var h=t.split(","),f="",l=0;l<h.length;l++)if(l>0&&h.length>2&&(f+=",",l<h.length-1&&(f+=" ")),l>0&&h.length>1&&(l==h.length-1||2==h.length)&&(f+="".concat(this.i18n.spaceAnd()," ")),h[l].indexOf("/")>-1||h[l].indexOf("-")>-1){var d=h[l].indexOf("-")>-1&&-1==h[l].indexOf("/"),y=this.getSegmentDescription(h[l],e,n,o,d?this.i18n.commaX0ThroughX1:i,a);d&&(y=y.replace(", ","")),f+=y}else f+=u?this.getSegmentDescription(h[l],e,n,o,i,a):n(h[l]);s=u?f:r.StringUtilities.format(a(t),f)}else if(u){h=t.split("/");if(s=r.StringUtilities.format(o(h[1]),h[1]),h[0].indexOf("-")>-1){var m=this.generateRangeSegmentDescription(h[0],i,n);0!=m.indexOf(", ")&&(s+=", "),s+=m}else if(-1==h[0].indexOf("*")){var g=r.StringUtilities.format(a(h[0]),n(h[0]));g=g.replace(", ",""),s+=r.StringUtilities.format(this.i18n.commaStartingX0(),g)}}else c&&(s=this.generateRangeSegmentDescription(t,i,n));else s=r.StringUtilities.format(a(t),n(t));else s="";return s},t.prototype.generateRangeSegmentDescription=function(t,e,n){var o="",i=t.split("-"),a=n(i[0],1),s=n(i[1],2),u=e(t);return o+=r.StringUtilities.format(u,a,s)},t.prototype.formatTime=function(t,e,n){var r=parseInt(t)+0,o=parseInt(e)+0;o>=60?(o-=60,r+=1):o<0&&(o+=60,r-=1),r>=24?r-=24:r<0&&(r=24+r);var i="",a=!1;this.options.use24HourTimeFormat||(i=(a=!(!this.i18n.setPeriodBeforeTime||!this.i18n.setPeriodBeforeTime()))?"".concat(this.getPeriod(r)," "):" ".concat(this.getPeriod(r)),r>12&&(r-=12),0===r&&(r=12));var s="";return n&&(s=":".concat(("00"+n).substring(n.length))),"".concat(a?i:"").concat(("00"+r.toString()).substring(r.toString().length),":").concat(("00"+o.toString()).substring(o.toString().length)).concat(s).concat(a?"":i)},t.prototype.transformVerbosity=function(t,e){if(!e&&(t=(t=(t=(t=t.replace(new RegExp(", ".concat(this.i18n.everyMinute()),"g"),"")).replace(new RegExp(", ".concat(this.i18n.everyHour()),"g"),"")).replace(new RegExp(this.i18n.commaEveryDay(),"g"),"")).replace(/\, ?$/,""),this.i18n.conciseVerbosityReplacements))for(var n=0,r=Object.entries(this.i18n.conciseVerbosityReplacements());n<r.length;n++){var o=r[n],i=o[0],a=o[1];t=t.replace(new RegExp(i,"g"),a)}return t},t.prototype.getPeriod=function(t){return t>=12?this.i18n.pm&&this.i18n.pm()||"PM":this.i18n.am&&this.i18n.am()||"AM"},t.locales={},t}();e.ExpressionDescriptor=i},747:(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.enLocaleLoader=void 0;var r=n(486),o=function(){function t(){}return t.prototype.load=function(t){t.en=new r.en},t}();e.enLocaleLoader=o},486:(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.en=void 0;var n=function(){function t(){}return t.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},t.prototype.atX0MinutesPastTheHourGt20=function(){return null},t.prototype.commaMonthX0ThroughMonthX1=function(){return null},t.prototype.commaYearX0ThroughYearX1=function(){return null},t.prototype.use24HourTimeFormatByDefault=function(){return!1},t.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return"An error occurred when generating the expression description. Check the cron expression syntax."},t.prototype.everyMinute=function(){return"every minute"},t.prototype.everyHour=function(){return"every hour"},t.prototype.atSpace=function(){return"At "},t.prototype.everyMinuteBetweenX0AndX1=function(){return"Every minute between %s and %s"},t.prototype.at=function(){return"At"},t.prototype.spaceAnd=function(){return" and"},t.prototype.everySecond=function(){return"every second"},t.prototype.everyX0Seconds=function(){return"every %s seconds"},t.prototype.secondsX0ThroughX1PastTheMinute=function(){return"seconds %s through %s past the minute"},t.prototype.atX0SecondsPastTheMinute=function(){return"at %s seconds past the minute"},t.prototype.everyX0Minutes=function(){return"every %s minutes"},t.prototype.minutesX0ThroughX1PastTheHour=function(){return"minutes %s through %s past the hour"},t.prototype.atX0MinutesPastTheHour=function(){return"at %s minutes past the hour"},t.prototype.everyX0Hours=function(){return"every %s hours"},t.prototype.betweenX0AndX1=function(){return"between %s and %s"},t.prototype.atX0=function(){return"at %s"},t.prototype.commaEveryDay=function(){return", every day"},t.prototype.commaEveryX0DaysOfTheWeek=function(){return", every %s days of the week"},t.prototype.commaX0ThroughX1=function(){return", %s through %s"},t.prototype.commaAndX0ThroughX1=function(){return", %s through %s"},t.prototype.first=function(){return"first"},t.prototype.second=function(){return"second"},t.prototype.third=function(){return"third"},t.prototype.fourth=function(){return"fourth"},t.prototype.fifth=function(){return"fifth"},t.prototype.commaOnThe=function(){return", on the "},t.prototype.spaceX0OfTheMonth=function(){return" %s of the month"},t.prototype.lastDay=function(){return"the last day"},t.prototype.commaOnTheLastX0OfTheMonth=function(){return", on the last %s of the month"},t.prototype.commaOnlyOnX0=function(){return", only on %s"},t.prototype.commaAndOnX0=function(){return", and on %s"},t.prototype.commaEveryX0Months=function(){return", every %s months"},t.prototype.commaOnlyInX0=function(){return", only in %s"},t.prototype.commaOnTheLastDayOfTheMonth=function(){return", on the last day of the month"},t.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return", on the last weekday of the month"},t.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return", %s days before the last day of the month"},t.prototype.firstWeekday=function(){return"first weekday"},t.prototype.weekdayNearestDayX0=function(){return"weekday nearest day %s"},t.prototype.commaOnTheX0OfTheMonth=function(){return", on the %s of the month"},t.prototype.commaEveryX0Days=function(){return", every %s days"},t.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return", between day %s and %s of the month"},t.prototype.commaOnDayX0OfTheMonth=function(){return", on day %s of the month"},t.prototype.commaEveryHour=function(){return", every hour"},t.prototype.commaEveryX0Years=function(){return", every %s years"},t.prototype.commaStartingX0=function(){return", starting %s"},t.prototype.daysOfTheWeek=function(){return["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},t.prototype.monthsOfTheYear=function(){return["January","February","March","April","May","June","July","August","September","October","November","December"]},t.prototype.atReboot=function(){return"Run once, at startup"},t.prototype.onTheHour=function(){return"on the hour"},t}();e.en=n},515:(t,e)=>{function n(t,e){if(!t)throw new Error(e)}Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(){}return t.secondRange=function(t){for(var e=t.split(","),r=0;r<e.length;r++)if(!isNaN(parseInt(e[r],10))){var o=parseInt(e[r],10);n(o>=0&&o<=59,"seconds part must be >= 0 and <= 59")}},t.minuteRange=function(t){for(var e=t.split(","),r=0;r<e.length;r++)if(!isNaN(parseInt(e[r],10))){var o=parseInt(e[r],10);n(o>=0&&o<=59,"minutes part must be >= 0 and <= 59")}},t.hourRange=function(t){for(var e=t.split(","),r=0;r<e.length;r++)if(!isNaN(parseInt(e[r],10))){var o=parseInt(e[r],10);n(o>=0&&o<=23,"hours part must be >= 0 and <= 23")}},t.dayOfMonthRange=function(t){for(var e=t.split(","),r=0;r<e.length;r++)if(!isNaN(parseInt(e[r],10))){var o=parseInt(e[r],10);n(o>=1&&o<=31,"DOM part must be >= 1 and <= 31")}},t.monthRange=function(t,e){for(var r=t.split(","),o=0;o<r.length;o++)if(!isNaN(parseInt(r[o],10))){var i=parseInt(r[o],10);n(i>=1&&i<=12,e?"month part must be >= 0 and <= 11":"month part must be >= 1 and <= 12")}},t.dayOfWeekRange=function(t,e){for(var r=t.split(","),o=0;o<r.length;o++)if(!isNaN(parseInt(r[o],10))){var i=parseInt(r[o],10);n(i>=0&&i<=6,e?"DOW part must be >= 0 and <= 6":"DOW part must be >= 1 and <= 7")}},t}();e.default=r},823:(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.StringUtilities=void 0;var n=function(){function t(){}return t.format=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return t.replace(/%s/g,(function(t){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];return e.shift()}))},t.containsAny=function(t,e){return e.some((function(e){return t.indexOf(e)>-1}))},t}();e.StringUtilities=n}},e={};function n(r){var o=e[r];if(void 0!==o)return o.exports;var i=e[r]={exports:{}};return t[r](i,i.exports,n),i.exports}var r={};return(()=>{var t=r;Object.defineProperty(t,"__esModule",{value:!0}),t.toString=void 0;var e=n(333),o=n(747);e.ExpressionDescriptor.initialize(new o.enLocaleLoader),t.default=e.ExpressionDescriptor;var i=e.ExpressionDescriptor.toString;t.toString=i})(),r})()));
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("cronstrue",[],e):"object"==typeof exports?exports.cronstrue=e():t.cronstrue=e()}(globalThis,(()=>(()=>{"use strict";var t={949(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.CronParser=void 0;var r=n(515),o=function(){function t(t,e,n){void 0===e&&(e=!0),void 0===n&&(n=!1),this.expression=t,this.dayOfWeekStartIndexZero=e,this.monthStartIndexZero=n}return t.prototype.parse=function(){var t,e,n=null!==(t=this.expression)&&void 0!==t?t:"";if("@reboot"===n)return e=["@reboot","","","","","",""];if(n.startsWith("@")){var r=this.parseSpecial(this.expression);e=this.extractParts(r)}else e=this.extractParts(this.expression);return this.normalize(e),this.validate(e),e},t.prototype.parseSpecial=function(t){var e={"@yearly":"0 0 1 1 *","@annually":"0 0 1 1 *","@monthly":"0 0 1 * *","@weekly":"0 0 * * 0","@daily":"0 0 * * *","@midnight":"0 0 * * *","@hourly":"0 * * * *","@reboot":"@reboot"}[t];if(!e)throw new Error("Unknown special expression.");return e},t.prototype.extractParts=function(t){if(!this.expression)throw new Error("cron expression is empty");for(var e=t.trim().split(/[ ]+/),n=0;n<e.length;n++)if(e[n].includes(",")){var r=e[n].split(",").map((function(t){return t.trim()})).filter((function(t){return""!==t})).map((function(t){return isNaN(Number(t))?t:Number(t)})).filter((function(t){return null!==t&&""!==t}));0===r.length&&r.push("*"),r.sort((function(t,e){return null!==t&&null!==e?t-e:0})),e[n]=r.map((function(t){return null!==t?t.toString():""})).join(",")}if(e.length<5)throw new Error("Expression has only ".concat(e.length," part").concat(1==e.length?"":"s",". At least 5 parts are required."));if(5==e.length)e.unshift(""),e.push("");else if(6==e.length){/\d{4}$/.test(e[5])||"?"==e[4]||"?"==e[2]?e.unshift(""):e.push("")}else if(e.length>7)throw new Error("Expression has ".concat(e.length," parts; too many!"));return e},t.prototype.normalize=function(t){var e=this;if(t[3]=t[3].replace("?","*"),t[5]=t[5].replace("?","*"),t[2]=t[2].replace("?","*"),0==t[0].indexOf("0/")&&(t[0]=t[0].replace("0/","*/")),0==t[1].indexOf("0/")&&(t[1]=t[1].replace("0/","*/")),0==t[2].indexOf("0/")&&(t[2]=t[2].replace("0/","*/")),0==t[3].indexOf("1/")&&(t[3]=t[3].replace("1/","*/")),0==t[4].indexOf("1/")&&(t[4]=t[4].replace("1/","*/")),0==t[6].indexOf("1/")&&(t[6]=t[6].replace("1/","*/")),t[5]=t[5].replace(/(^\d)|([^#/\s]\d)/g,(function(t){var n=t.replace(/\D/,""),r=n;return e.dayOfWeekStartIndexZero?"7"==n&&(r="0"):r=(parseInt(n)-1).toString(),t.replace(n,r)})),"L"==t[5]&&(t[5]="6"),"?"==t[3]&&(t[3]="*"),t[3].indexOf("W")>-1&&(t[3].indexOf(",")>-1||t[3].indexOf("-")>-1))throw new Error("The 'W' character can be specified only when the day-of-month is a single day, not a range or list of days.");var n={SUN:0,MON:1,TUE:2,WED:3,THU:4,FRI:5,SAT:6};for(var r in n)t[5]=t[5].replace(new RegExp(r,"gi"),n[r].toString());t[4]=t[4].replace(/(^\d{1,2})|([^#/\s]\d{1,2})/g,(function(t){var n=t.replace(/\D/,""),r=n;return e.monthStartIndexZero&&(r=(parseInt(n)+1).toString()),t.replace(n,r)}));var o={JAN:1,FEB:2,MAR:3,APR:4,MAY:5,JUN:6,JUL:7,AUG:8,SEP:9,OCT:10,NOV:11,DEC:12};for(var i in o)t[4]=t[4].replace(new RegExp(i,"gi"),o[i].toString());"0"==t[0]&&(t[0]=""),/\*|\-|\,|\//.test(t[2])||!/\*|\//.test(t[1])&&!/\*|\//.test(t[0])||(t[2]+="-".concat(t[2]));for(var a=0;a<t.length;a++)if(-1!=t[a].indexOf(",")&&(t[a]=t[a].split(",").filter((function(t){return""!==t})).join(",")||"*"),"*/1"==t[a]&&(t[a]="*"),t[a].indexOf("/")>-1&&!/^\*|\-|\,/.test(t[a])){var s=null;switch(a){case 4:s="12";break;case 5:s="6";break;case 6:s="9999";break;default:s=null}if(null!==s){var u=t[a].split("/");t[a]="".concat(u[0],"-").concat(s,"/").concat(u[1])}}},t.prototype.validate=function(t){var e="0-9,\\-*/";this.validateOnlyExpectedCharactersFound(t[0],e),this.validateOnlyExpectedCharactersFound(t[1],e),this.validateOnlyExpectedCharactersFound(t[2],e),this.validateOnlyExpectedCharactersFound(t[3],"0-9,\\-*/LW"),this.validateOnlyExpectedCharactersFound(t[4],e),this.validateOnlyExpectedCharactersFound(t[5],"0-9,\\-*/L#"),this.validateOnlyExpectedCharactersFound(t[6],e),this.validateAnyRanges(t)},t.prototype.validateAnyRanges=function(t){r.default.secondRange(t[0]),r.default.minuteRange(t[1]),r.default.hourRange(t[2]),r.default.dayOfMonthRange(t[3]),r.default.monthRange(t[4],this.monthStartIndexZero),r.default.dayOfWeekRange(t[5],this.dayOfWeekStartIndexZero)},t.prototype.validateOnlyExpectedCharactersFound=function(t,e){var n=t.match(new RegExp("[^".concat(e,"]+"),"gi"));if(n&&n.length)throw new Error("Expression contains invalid values: '".concat(n.toString(),"'"))},t}();e.CronParser=o},333(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.ExpressionDescriptor=void 0;var r=n(823),o=n(949),i=function(){function t(e,n){if(this.expression=e,this.options=n,this.expressionParts=new Array(5),!this.options.locale&&t.defaultLocale&&(this.options.locale=t.defaultLocale),!t.locales[this.options.locale]){var r=Object.keys(t.locales)[0];console.warn("Locale '".concat(this.options.locale,"' could not be found; falling back to '").concat(r,"'.")),this.options.locale=r}this.i18n=t.locales[this.options.locale],void 0===n.use24HourTimeFormat&&(n.use24HourTimeFormat=this.i18n.use24HourTimeFormatByDefault())}return t.toString=function(e,n){var r=void 0===n?{}:n,o=r.throwExceptionOnParseError,i=void 0===o||o,a=r.verbose,s=void 0!==a&&a,u=r.dayOfWeekStartIndexZero,c=void 0===u||u,p=r.monthStartIndexZero,h=void 0!==p&&p,f=r.use24HourTimeFormat,l=r.locale,d=void 0===l?null:l,y=r.logicalAndDayFields,m={throwExceptionOnParseError:i,verbose:s,dayOfWeekStartIndexZero:c,monthStartIndexZero:h,use24HourTimeFormat:f,locale:d,logicalAndDayFields:void 0!==y&&y};return m.tzOffset&&console.warn("'tzOffset' option has been deprecated and is no longer supported."),new t(e,m).getFullDescription()},t.initialize=function(e,n){void 0===n&&(n="en"),t.specialCharacters=["/","-",",","*"],t.defaultLocale=n,e.load(t.locales)},t.prototype.getFullDescription=function(){var t,e,n="";try{var r=new o.CronParser(this.expression,this.options.dayOfWeekStartIndexZero,this.options.monthStartIndexZero);if(this.expressionParts=r.parse(),"@reboot"===this.expressionParts[0])return(null===(e=(t=this.i18n).atReboot)||void 0===e?void 0:e.call(t))||"Run once, at startup";var i=this.getTimeOfDayDescription(),a=this.getDayOfMonthDescription(),s=this.getMonthDescription();n+=i+a+this.getDayOfWeekDescription()+s+this.getYearDescription(),n=(n=this.transformVerbosity(n,!!this.options.verbose)).charAt(0).toLocaleUpperCase()+n.substr(1)}catch(t){if(this.options.throwExceptionOnParseError)throw"".concat(t);n=this.i18n.anErrorOccuredWhenGeneratingTheExpressionD()}return n},t.prototype.getTimeOfDayDescription=function(){var e=this.expressionParts[0],n=this.expressionParts[1],o=this.expressionParts[2],i="";if(r.StringUtilities.containsAny(n,t.specialCharacters)||r.StringUtilities.containsAny(o,t.specialCharacters)||r.StringUtilities.containsAny(e,t.specialCharacters))if(e||!(n.indexOf("-")>-1)||n.indexOf(",")>-1||n.indexOf("/")>-1||r.StringUtilities.containsAny(o,t.specialCharacters))if(!e&&o.indexOf(",")>-1&&-1==o.indexOf("-")&&-1==o.indexOf("/")&&!r.StringUtilities.containsAny(n,t.specialCharacters)){var a=o.split(",");i+=this.i18n.at();for(var s=0;s<a.length;s++)i+=" ",i+=this.formatTime(a[s],n,""),s<a.length-2&&(i+=","),s==a.length-2&&(i+=this.i18n.spaceAnd())}else{var u=this.getSecondsDescription(),c=this.getMinutesDescription(),p=this.getHoursDescription();if((i+=u)&&c&&(i+=", "),i+=c,c===p)return i;i&&p&&(i+=", "),i+=p}else{var h=n.split("-");i+=r.StringUtilities.format(this.i18n.everyMinuteBetweenX0AndX1(),this.formatTime(o,h[0],""),this.formatTime(o,h[1],""))}else i+=this.i18n.atSpace()+this.formatTime(o,n,e);return i},t.prototype.getSecondsDescription=function(){var t=this;return this.getSegmentDescription(this.expressionParts[0],this.i18n.everySecond(),(function(t){return t}),(function(e){return r.StringUtilities.format(t.i18n.everyX0Seconds(e),e)}),(function(e){return t.i18n.secondsX0ThroughX1PastTheMinute()}),(function(e){return"0"==e?"":parseInt(e)<20?t.i18n.atX0SecondsPastTheMinute(e):t.i18n.atX0SecondsPastTheMinuteGt20()||t.i18n.atX0SecondsPastTheMinute(e)}))},t.prototype.getMinutesDescription=function(){var t=this,e=this.expressionParts[0],n=this.expressionParts[2];return this.getSegmentDescription(this.expressionParts[1],this.i18n.everyMinute(),(function(t){return t}),(function(e){return r.StringUtilities.format(t.i18n.everyX0Minutes(e),e)}),(function(e){return t.i18n.minutesX0ThroughX1PastTheHour()}),(function(r){var o,i;try{return"0"==r&&-1==n.indexOf("/")&&""==e?t.i18n.everyHour():"0"==r?(null===(i=(o=t.i18n).onTheHour)||void 0===i?void 0:i.call(o))||t.i18n.atX0MinutesPastTheHour(r):parseInt(r)<20?t.i18n.atX0MinutesPastTheHour(r):t.i18n.atX0MinutesPastTheHourGt20()||t.i18n.atX0MinutesPastTheHour(r)}catch(e){return t.i18n.atX0MinutesPastTheHour(r)}}))},t.prototype.getHoursDescription=function(){var t=this,e=this.expressionParts[2],n=0,o=[];e.split("/")[0].split(",").forEach((function(t){var e=t.split("-");2===e.length&&o.push({value:e[1],index:n+1}),n+=e.length}));var i=0;return this.getSegmentDescription(e,this.i18n.everyHour(),(function(e){var n=o.find((function(t){return t.value===e&&t.index===i}))&&"0"!==t.expressionParts[1];return i++,n?t.formatTime(e,"59",""):t.formatTime(e,"0","")}),(function(e){return r.StringUtilities.format(t.i18n.everyX0Hours(e),e)}),(function(e){return t.i18n.betweenX0AndX1()}),(function(e){return t.i18n.atX0()}))},t.prototype.getDayOfWeekDescription=function(){var t=this,e=this.i18n.daysOfTheWeek();return"*"==this.expressionParts[5]?"":this.getSegmentDescription(this.expressionParts[5],this.i18n.commaEveryDay(),(function(n,r){var o=n;n.indexOf("#")>-1?o=n.substring(0,n.indexOf("#")):n.indexOf("L")>-1&&(o=o.replace("L",""));var i=parseInt(o),a=t.i18n.daysOfTheWeekInCase?t.i18n.daysOfTheWeekInCase(r)[i]:e[i];if(n.indexOf("#")>-1){var s=null,u=n.substring(n.indexOf("#")+1),c=n.substring(0,n.indexOf("#"));switch(u){case"1":s=t.i18n.first(c);break;case"2":s=t.i18n.second(c);break;case"3":s=t.i18n.third(c);break;case"4":s=t.i18n.fourth(c);break;case"5":s=t.i18n.fifth(c)}a=s+" "+a}return a}),(function(e){return 1==parseInt(e)?"":r.StringUtilities.format(t.i18n.commaEveryX0DaysOfTheWeek(e),e)}),(function(e){var n=e.substring(0,e.indexOf("-"));return"*"!=t.expressionParts[3]?t.i18n.commaAndX0ThroughX1(n):t.i18n.commaX0ThroughX1(n)}),(function(e){var n=null;if(e.indexOf("#")>-1){var r=e.substring(e.indexOf("#")+1),o=e.substring(0,e.indexOf("#"));n=t.i18n.commaOnThe(r,o).trim()+t.i18n.spaceX0OfTheMonth()}else if(e.indexOf("L")>-1)n=t.i18n.commaOnTheLastX0OfTheMonth(e.replace("L",""));else{n="*"!=t.expressionParts[3]?t.options.logicalAndDayFields?t.i18n.commaOnlyOnX0(e):t.i18n.commaAndOnX0():t.i18n.commaOnlyOnX0(e)}return n}))},t.prototype.getMonthDescription=function(){var t=this,e=this.i18n.monthsOfTheYear();return this.getSegmentDescription(this.expressionParts[4],"",(function(n,r){return r&&t.i18n.monthsOfTheYearInCase?t.i18n.monthsOfTheYearInCase(r)[parseInt(n)-1]:e[parseInt(n)-1]}),(function(e){return 1==parseInt(e)?"":r.StringUtilities.format(t.i18n.commaEveryX0Months(e),e)}),(function(e){return t.i18n.commaMonthX0ThroughMonthX1()||t.i18n.commaX0ThroughX1()}),(function(e){return t.i18n.commaOnlyInMonthX0?t.i18n.commaOnlyInMonthX0():t.i18n.commaOnlyInX0()}))},t.prototype.getDayOfMonthDescription=function(){var t=this,e=null,n=this.expressionParts[3];switch(n){case"L":e=this.i18n.commaOnTheLastDayOfTheMonth();break;case"WL":case"LW":e=this.i18n.commaOnTheLastWeekdayOfTheMonth();break;default:var o=n.match(/(\d{1,2}W)|(W\d{1,2})/);if(o){var i=parseInt(o[0].replace("W","")),a=1==i?this.i18n.firstWeekday():r.StringUtilities.format(this.i18n.weekdayNearestDayX0(),i.toString());e=r.StringUtilities.format(this.i18n.commaOnTheX0OfTheMonth(),a);break}var s=n.match(/L-(\d{1,2})/);if(s){var u=s[1];e=r.StringUtilities.format(this.i18n.commaDaysBeforeTheLastDayOfTheMonth(u),u);break}if("*"==n&&"*"!=this.expressionParts[5])return"";e=this.getSegmentDescription(n,this.i18n.commaEveryDay(),(function(e){return"L"==e?t.i18n.lastDay():t.i18n.dayX0?r.StringUtilities.format(t.i18n.dayX0(),e):e}),(function(e){return"1"==e?t.i18n.commaEveryDay():t.i18n.commaEveryX0Days(e)}),(function(e){return t.i18n.commaBetweenDayX0AndX1OfTheMonth(e)}),(function(e){return t.i18n.commaOnDayX0OfTheMonth(e)}))}return e},t.prototype.getYearDescription=function(){var t=this;return this.getSegmentDescription(this.expressionParts[6],"",(function(t){return/^\d+$/.test(t)?new Date(parseInt(t),1).getFullYear().toString():t}),(function(e){return r.StringUtilities.format(t.i18n.commaEveryX0Years(e),e)}),(function(e){return t.i18n.commaYearX0ThroughYearX1()||t.i18n.commaX0ThroughX1()}),(function(e){return t.i18n.commaOnlyInYearX0?t.i18n.commaOnlyInYearX0():t.i18n.commaOnlyInX0()}))},t.prototype.getSegmentDescription=function(t,e,n,o,i,a){var s=null,u=t.indexOf("/")>-1,c=t.indexOf("-")>-1,p=t.indexOf(",")>-1;if(t)if("*"===t)s=e;else if(u||c||p)if(p){for(var h=t.split(","),f="",l=0;l<h.length;l++)if(l>0&&h.length>2&&(f+=",",l<h.length-1&&(f+=" ")),l>0&&h.length>1&&(l==h.length-1||2==h.length)&&(f+="".concat(this.i18n.spaceAnd()," ")),h[l].indexOf("/")>-1||h[l].indexOf("-")>-1){var d=h[l].indexOf("-")>-1&&-1==h[l].indexOf("/"),y=this.getSegmentDescription(h[l],e,n,o,d?this.i18n.commaX0ThroughX1:i,a);d&&(y=y.replace(", ","")),f+=y}else if(u){var m=this.getSegmentDescription(h[l],e,n,o,i,a);m&&m.startsWith(", ")&&(m=m.substring(2)),f+=m}else f+=n(h[l]);s=u?f:r.StringUtilities.format(a(t),f)}else if(u){h=t.split("/");if(s=r.StringUtilities.format(o(h[1]),h[1]),h[0].indexOf("-")>-1){var g=this.generateRangeSegmentDescription(h[0],i,n);0!=g.indexOf(", ")&&(s+=", "),s+=g}else if(-1==h[0].indexOf("*")){var v=r.StringUtilities.format(a(h[0]),n(h[0]));v=v.replace(", ",""),s+=r.StringUtilities.format(this.i18n.commaStartingX0(),v)}}else c&&(s=this.generateRangeSegmentDescription(t,i,n));else s=r.StringUtilities.format(a(t),n(t));else s="";return s},t.prototype.generateRangeSegmentDescription=function(t,e,n){var o="",i=t.split("-"),a=n(i[0],1),s=n(i[1],2),u=e(t);return o+=r.StringUtilities.format(u,a,s)},t.prototype.formatTime=function(t,e,n){var r=parseInt(t)+0,o=parseInt(e)+0;o>=60?(o-=60,r+=1):o<0&&(o+=60,r-=1),r>=24?r-=24:r<0&&(r=24+r);var i="",a=!1;this.options.use24HourTimeFormat||(i=(a=!(!this.i18n.setPeriodBeforeTime||!this.i18n.setPeriodBeforeTime()))?"".concat(this.getPeriod(r)," "):" ".concat(this.getPeriod(r)),r>12&&(r-=12),0===r&&(r=12));var s="";return n&&(s=":".concat(("00"+n).substring(n.length))),"".concat(a?i:"").concat(("00"+r.toString()).substring(r.toString().length),":").concat(("00"+o.toString()).substring(o.toString().length)).concat(s).concat(a?"":i)},t.prototype.transformVerbosity=function(t,e){if(!e&&(t=(t=(t=(t=t.replace(new RegExp(", ".concat(this.i18n.everyMinute()),"g"),"")).replace(new RegExp(", ".concat(this.i18n.everyHour()),"g"),"")).replace(new RegExp(this.i18n.commaEveryDay(),"g"),"")).replace(/\, ?$/,""),this.i18n.conciseVerbosityReplacements))for(var n=0,r=Object.entries(this.i18n.conciseVerbosityReplacements());n<r.length;n++){var o=r[n],i=o[0],a=o[1];t=t.replace(new RegExp(i,"g"),a)}return t},t.prototype.getPeriod=function(t){return t>=12?this.i18n.pm&&this.i18n.pm()||"PM":this.i18n.am&&this.i18n.am()||"AM"},t.locales={},t}();e.ExpressionDescriptor=i},747(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.enLocaleLoader=void 0;var r=n(486),o=function(){function t(){}return t.prototype.load=function(t){t.en=new r.en},t}();e.enLocaleLoader=o},486(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.en=void 0;var n=function(){function t(){}return t.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},t.prototype.atX0MinutesPastTheHourGt20=function(){return null},t.prototype.commaMonthX0ThroughMonthX1=function(){return null},t.prototype.commaYearX0ThroughYearX1=function(){return null},t.prototype.use24HourTimeFormatByDefault=function(){return!1},t.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return"An error occurred when generating the expression description. Check the cron expression syntax."},t.prototype.everyMinute=function(){return"every minute"},t.prototype.everyHour=function(){return"every hour"},t.prototype.atSpace=function(){return"At "},t.prototype.everyMinuteBetweenX0AndX1=function(){return"Every minute between %s and %s"},t.prototype.at=function(){return"At"},t.prototype.spaceAnd=function(){return" and"},t.prototype.everySecond=function(){return"every second"},t.prototype.everyX0Seconds=function(){return"every %s seconds"},t.prototype.secondsX0ThroughX1PastTheMinute=function(){return"seconds %s through %s past the minute"},t.prototype.atX0SecondsPastTheMinute=function(){return"at %s seconds past the minute"},t.prototype.everyX0Minutes=function(){return"every %s minutes"},t.prototype.minutesX0ThroughX1PastTheHour=function(){return"minutes %s through %s past the hour"},t.prototype.atX0MinutesPastTheHour=function(){return"at %s minutes past the hour"},t.prototype.everyX0Hours=function(){return"every %s hours"},t.prototype.betweenX0AndX1=function(){return"between %s and %s"},t.prototype.atX0=function(){return"at %s"},t.prototype.commaEveryDay=function(){return", every day"},t.prototype.commaEveryX0DaysOfTheWeek=function(){return", every %s days of the week"},t.prototype.commaX0ThroughX1=function(){return", %s through %s"},t.prototype.commaAndX0ThroughX1=function(){return", %s through %s"},t.prototype.first=function(){return"first"},t.prototype.second=function(){return"second"},t.prototype.third=function(){return"third"},t.prototype.fourth=function(){return"fourth"},t.prototype.fifth=function(){return"fifth"},t.prototype.commaOnThe=function(){return", on the "},t.prototype.spaceX0OfTheMonth=function(){return" %s of the month"},t.prototype.lastDay=function(){return"the last day"},t.prototype.commaOnTheLastX0OfTheMonth=function(){return", on the last %s of the month"},t.prototype.commaOnlyOnX0=function(){return", only on %s"},t.prototype.commaAndOnX0=function(){return", and on %s"},t.prototype.commaEveryX0Months=function(){return", every %s months"},t.prototype.commaOnlyInX0=function(){return", only in %s"},t.prototype.commaOnTheLastDayOfTheMonth=function(){return", on the last day of the month"},t.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return", on the last weekday of the month"},t.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return", %s days before the last day of the month"},t.prototype.firstWeekday=function(){return"first weekday"},t.prototype.weekdayNearestDayX0=function(){return"weekday nearest day %s"},t.prototype.commaOnTheX0OfTheMonth=function(){return", on the %s of the month"},t.prototype.commaEveryX0Days=function(){return", every %s days in a month"},t.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return", between day %s and %s of the month"},t.prototype.commaOnDayX0OfTheMonth=function(){return", on day %s of the month"},t.prototype.commaEveryHour=function(){return", every hour"},t.prototype.commaEveryX0Years=function(){return", every %s years"},t.prototype.commaStartingX0=function(){return", starting %s"},t.prototype.daysOfTheWeek=function(){return["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},t.prototype.monthsOfTheYear=function(){return["January","February","March","April","May","June","July","August","September","October","November","December"]},t.prototype.atReboot=function(){return"Run once, at startup"},t.prototype.onTheHour=function(){return"on the hour"},t}();e.en=n},515(t,e){function n(t,e){if(!t)throw new Error(e)}Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(){}return t.secondRange=function(t){for(var e=t.split(","),r=0;r<e.length;r++)if(!isNaN(parseInt(e[r],10))){var o=parseInt(e[r],10);n(o>=0&&o<=59,"seconds part must be >= 0 and <= 59")}},t.minuteRange=function(t){for(var e=t.split(","),r=0;r<e.length;r++)if(!isNaN(parseInt(e[r],10))){var o=parseInt(e[r],10);n(o>=0&&o<=59,"minutes part must be >= 0 and <= 59")}},t.hourRange=function(t){for(var e=t.split(","),r=0;r<e.length;r++)if(!isNaN(parseInt(e[r],10))){var o=parseInt(e[r],10);n(o>=0&&o<=23,"hours part must be >= 0 and <= 23")}},t.dayOfMonthRange=function(t){for(var e=t.split(","),r=0;r<e.length;r++)if(!isNaN(parseInt(e[r],10))){var o=parseInt(e[r],10);n(o>=1&&o<=31,"DOM part must be >= 1 and <= 31")}},t.monthRange=function(t,e){for(var r=t.split(","),o=0;o<r.length;o++)if(!isNaN(parseInt(r[o],10))){var i=parseInt(r[o],10);n(i>=1&&i<=12,e?"month part must be >= 0 and <= 11":"month part must be >= 1 and <= 12")}},t.dayOfWeekRange=function(t,e){for(var r=t.split(","),o=0;o<r.length;o++)if(!isNaN(parseInt(r[o],10))){var i=parseInt(r[o],10);n(i>=0&&i<=6,e?"DOW part must be >= 0 and <= 6":"DOW part must be >= 1 and <= 7")}},t}();e.default=r},823(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.StringUtilities=void 0;var n=function(){function t(){}return t.format=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return t.replace(/%s/g,(function(t){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];return e.shift()}))},t.containsAny=function(t,e){return e.some((function(e){return t.indexOf(e)>-1}))},t}();e.StringUtilities=n}},e={};function n(r){var o=e[r];if(void 0!==o)return o.exports;var i=e[r]={exports:{}};return t[r](i,i.exports,n),i.exports}var r={};return(()=>{var t=r;Object.defineProperty(t,"__esModule",{value:!0}),t.toString=void 0;var e=n(333),o=n(747);e.ExpressionDescriptor.initialize(new o.enLocaleLoader),t.default=e.ExpressionDescriptor;var i=e.ExpressionDescriptor.toString;t.toString=i})(),r})()));
|
package/locales/af.js
CHANGED
|
@@ -12,12 +12,12 @@ return /******/ (() => { // webpackBootstrap
|
|
|
12
12
|
/******/ "use strict";
|
|
13
13
|
/******/ var __webpack_modules__ = ({
|
|
14
14
|
|
|
15
|
-
/***/ 93
|
|
16
|
-
|
|
15
|
+
/***/ 93
|
|
16
|
+
(module) {
|
|
17
17
|
|
|
18
18
|
module.exports = __WEBPACK_EXTERNAL_MODULE__93__;
|
|
19
19
|
|
|
20
|
-
/***/ }
|
|
20
|
+
/***/ }
|
|
21
21
|
|
|
22
22
|
/******/ });
|
|
23
23
|
/************************************************************************/
|
|
@@ -91,10 +91,10 @@ var __webpack_exports__ = {};
|
|
|
91
91
|
__webpack_require__.r(__webpack_exports__);
|
|
92
92
|
/* harmony import */ var cronstrue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(93);
|
|
93
93
|
/* harmony import */ var cronstrue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(cronstrue__WEBPACK_IMPORTED_MODULE_0__);
|
|
94
|
-
var
|
|
94
|
+
var af_exports = __webpack_exports__;
|
|
95
95
|
"use strict";
|
|
96
|
-
Object.defineProperty(
|
|
97
|
-
|
|
96
|
+
Object.defineProperty(af_exports, "__esModule", { value: true });
|
|
97
|
+
af_exports.af = void 0;
|
|
98
98
|
var af = (function () {
|
|
99
99
|
function af() {
|
|
100
100
|
}
|
|
@@ -275,7 +275,7 @@ var af = (function () {
|
|
|
275
275
|
};
|
|
276
276
|
return af;
|
|
277
277
|
}());
|
|
278
|
-
|
|
278
|
+
af_exports.af = af;
|
|
279
279
|
|
|
280
280
|
|
|
281
281
|
(cronstrue__WEBPACK_IMPORTED_MODULE_0___default().locales)["af"] = new af();
|
package/locales/af.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("cronstrue")):"function"==typeof define&&define.amd?define("locales/af.min",["cronstrue"],t):"object"==typeof exports?exports["locales/af.min"]=t(require("cronstrue")):e["locales/af.min"]=t(e.cronstrue)}(globalThis,(e=>(()=>{"use strict";var t={93
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("cronstrue")):"function"==typeof define&&define.amd?define("locales/af.min",["cronstrue"],t):"object"==typeof exports?exports["locales/af.min"]=t(require("cronstrue")):e["locales/af.min"]=t(e.cronstrue)}(globalThis,(e=>(()=>{"use strict";var t={93(t){t.exports=e}},n={};function o(e){var r=n[e];if(void 0!==r)return r.exports;var u=n[e]={exports:{}};return t[e](u,u.exports,o),u.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};o.r(r);var u=o(93),a=o.n(u),p=r;Object.defineProperty(p,"__esModule",{value:!0}),p.af=void 0;var i=function(){function e(){}return e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return", jaar %s na %s"},e.prototype.use24HourTimeFormatByDefault=function(){return!0},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return"Daar was 'n fout om die tydsuitdrukking the genereer. Raadpleeg asb die uitdrukking formaat."},e.prototype.everyMinute=function(){return"elke minuut"},e.prototype.everyHour=function(){return"elke uur"},e.prototype.atSpace=function(){return"Teen "},e.prototype.everyMinuteBetweenX0AndX1=function(){return"Elke minuut tussen %s en %s"},e.prototype.at=function(){return"Teen"},e.prototype.spaceAnd=function(){return" en"},e.prototype.everySecond=function(){return"elke sekonde"},e.prototype.everyX0Seconds=function(){return"elke %s sekonde"},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return"sekonde %s deur na %s na die minuut"},e.prototype.atX0SecondsPastTheMinute=function(){return"teen %s sekondes na die minuut"},e.prototype.everyX0Minutes=function(){return"elke %s minute"},e.prototype.minutesX0ThroughX1PastTheHour=function(){return"minute %s deur na %s na die uur"},e.prototype.atX0MinutesPastTheHour=function(){return"teen %s minute na die uur"},e.prototype.everyX0Hours=function(){return"elke %s ure"},e.prototype.betweenX0AndX1=function(){return"tussen %s en %s"},e.prototype.atX0=function(){return"teen %s"},e.prototype.commaEveryDay=function(){return", elke dag"},e.prototype.commaEveryX0DaysOfTheWeek=function(){return", elke %s dae van die week"},e.prototype.commaX0ThroughX1=function(){return", %s deur na %s"},e.prototype.commaAndX0ThroughX1=function(){return", en %s deur na %s"},e.prototype.first=function(){return"eerste"},e.prototype.second=function(){return"tweede"},e.prototype.third=function(){return"derde"},e.prototype.fourth=function(){return"vierde"},e.prototype.fifth=function(){return"vyfde"},e.prototype.commaOnThe=function(){return", op die "},e.prototype.spaceX0OfTheMonth=function(){return" %s van die maand"},e.prototype.lastDay=function(){return"die laaste dag"},e.prototype.commaOnTheLastX0OfTheMonth=function(){return", op die laaste %s van die maand"},e.prototype.commaOnlyOnX0=function(){return", net op %s"},e.prototype.commaAndOnX0=function(){return", en op %s"},e.prototype.commaEveryX0Months=function(){return", elke %s maande"},e.prototype.commaOnlyInX0=function(){return", net in %s"},e.prototype.commaOnTheLastDayOfTheMonth=function(){return", op die laaste dag van die maand"},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return", op die laaste weeksdag van die maand"},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return", %s dae voor die laaste dag van die maand"},e.prototype.firstWeekday=function(){return"eerste weeksdag"},e.prototype.weekdayNearestDayX0=function(){return"weeksdag naaste aan dag %s"},e.prototype.commaOnTheX0OfTheMonth=function(){return", op die %s van die maande"},e.prototype.commaEveryX0Days=function(){return", elke %s dae"},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return", tussen dag %s en %s van die maand"},e.prototype.commaOnDayX0OfTheMonth=function(){return", op dag %s van die maand"},e.prototype.commaEveryHour=function(){return", elke uur"},e.prototype.commaEveryX0Years=function(){return", elke %s jare"},e.prototype.commaStartingX0=function(){return", beginnende %s"},e.prototype.daysOfTheWeek=function(){return["Sondag","Maandag","Dinsdag","Woensdag","Donderdag","Vrydag","Saterdag"]},e.prototype.monthsOfTheYear=function(){return["Januarie","Februarie","Maart","April","Mei","Junie","Julie","Augustus","September","Oktober","November","Desember"]},e.prototype.onTheHour=function(){return"op die uur"},e}();return p.af=i,a().locales.af=new i,r})()));
|
package/locales/ar.js
CHANGED
|
@@ -12,12 +12,12 @@ return /******/ (() => { // webpackBootstrap
|
|
|
12
12
|
/******/ "use strict";
|
|
13
13
|
/******/ var __webpack_modules__ = ({
|
|
14
14
|
|
|
15
|
-
/***/ 93
|
|
16
|
-
|
|
15
|
+
/***/ 93
|
|
16
|
+
(module) {
|
|
17
17
|
|
|
18
18
|
module.exports = __WEBPACK_EXTERNAL_MODULE__93__;
|
|
19
19
|
|
|
20
|
-
/***/ }
|
|
20
|
+
/***/ }
|
|
21
21
|
|
|
22
22
|
/******/ });
|
|
23
23
|
/************************************************************************/
|
|
@@ -91,10 +91,10 @@ var __webpack_exports__ = {};
|
|
|
91
91
|
__webpack_require__.r(__webpack_exports__);
|
|
92
92
|
/* harmony import */ var cronstrue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(93);
|
|
93
93
|
/* harmony import */ var cronstrue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(cronstrue__WEBPACK_IMPORTED_MODULE_0__);
|
|
94
|
-
var
|
|
94
|
+
var ar_exports = __webpack_exports__;
|
|
95
95
|
"use strict";
|
|
96
|
-
Object.defineProperty(
|
|
97
|
-
|
|
96
|
+
Object.defineProperty(ar_exports, "__esModule", { value: true });
|
|
97
|
+
ar_exports.ar = void 0;
|
|
98
98
|
var ar = (function () {
|
|
99
99
|
function ar() {
|
|
100
100
|
}
|
|
@@ -275,7 +275,7 @@ var ar = (function () {
|
|
|
275
275
|
};
|
|
276
276
|
return ar;
|
|
277
277
|
}());
|
|
278
|
-
|
|
278
|
+
ar_exports.ar = ar;
|
|
279
279
|
|
|
280
280
|
|
|
281
281
|
(cronstrue__WEBPACK_IMPORTED_MODULE_0___default().locales)["ar"] = new ar();
|
package/locales/ar.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("cronstrue")):"function"==typeof define&&define.amd?define("locales/ar.min",["cronstrue"],e):"object"==typeof exports?exports["locales/ar.min"]=e(require("cronstrue")):t["locales/ar.min"]=e(t.cronstrue)}(globalThis,(t=>(()=>{"use strict";var e={93
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("cronstrue")):"function"==typeof define&&define.amd?define("locales/ar.min",["cronstrue"],e):"object"==typeof exports?exports["locales/ar.min"]=e(require("cronstrue")):t["locales/ar.min"]=e(t.cronstrue)}(globalThis,(t=>(()=>{"use strict";var e={93(e){e.exports=t}},o={};function r(t){var n=o[t];if(void 0!==n)return n.exports;var u=o[t]={exports:{}};return e[t](u,u.exports,r),u.exports}r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var o in e)r.o(e,o)&&!r.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};r.r(n);var u=r(93),p=r.n(u),c=n;Object.defineProperty(c,"__esModule",{value:!0}),c.ar=void 0;var y=function(){function t(){}return t.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},t.prototype.atX0MinutesPastTheHourGt20=function(){return null},t.prototype.commaMonthX0ThroughMonthX1=function(){return null},t.prototype.commaYearX0ThroughYearX1=function(){return null},t.prototype.use24HourTimeFormatByDefault=function(){return!0},t.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return"حدث خطأ في إنشاء وصف المصطلح٠ تأكد من تركيب مصطلح الكرون"},t.prototype.everyMinute=function(){return"كل دقيقة"},t.prototype.everyHour=function(){return"كل ساعة"},t.prototype.atSpace=function(){return" "},t.prototype.everyMinuteBetweenX0AndX1=function(){return"كل دقيقة بين %s و %s"},t.prototype.at=function(){return""},t.prototype.spaceAnd=function(){return" و"},t.prototype.everySecond=function(){return"كل ثانية"},t.prototype.everyX0Seconds=function(){return"كل %s ثواني"},t.prototype.secondsX0ThroughX1PastTheMinute=function(){return"الثواني %s حتى %s من بداية الدقيقة"},t.prototype.atX0SecondsPastTheMinute=function(){return"الثانية %s من بداية الدقيقة"},t.prototype.everyX0Minutes=function(){return"كل %s دقائق"},t.prototype.minutesX0ThroughX1PastTheHour=function(){return"الدقائق %s حتى %s من بداية الساعة"},t.prototype.atX0MinutesPastTheHour=function(){return"الدقيقة %s من بداية الساعة"},t.prototype.everyX0Hours=function(){return"كل %s ساعات"},t.prototype.betweenX0AndX1=function(){return"بين %s و %s"},t.prototype.atX0=function(){return"%s"},t.prototype.commaEveryDay=function(){return"، كل يوم"},t.prototype.commaEveryX0DaysOfTheWeek=function(){return"، كل %s من أيام الأسبوع"},t.prototype.commaX0ThroughX1=function(){return"، %s حتى %s"},t.prototype.commaAndX0ThroughX1=function(){return"، و %s حتى %s"},t.prototype.first=function(){return"أول"},t.prototype.second=function(){return"ثاني"},t.prototype.third=function(){return"ثالث"},t.prototype.fourth=function(){return"رابع"},t.prototype.fifth=function(){return"خامس"},t.prototype.commaOnThe=function(){return"، في ال"},t.prototype.spaceX0OfTheMonth=function(){return" %s من الشهر"},t.prototype.lastDay=function(){return"اليوم الأخير"},t.prototype.commaOnTheLastX0OfTheMonth=function(){return"، في اخر %s من الشهر"},t.prototype.commaOnlyOnX0=function(){return"، %s فقط"},t.prototype.commaAndOnX0=function(){return"، وفي %s"},t.prototype.commaEveryX0Months=function(){return"، كل %s أشهر"},t.prototype.commaOnlyInX0=function(){return"، %s فقط"},t.prototype.commaOnTheLastDayOfTheMonth=function(){return"، في اخر يوم من الشهر"},t.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return"، في اخر يوم أسبوع من الشهر"},t.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return"، %s أيام قبل اخر يوم من الشهر"},t.prototype.firstWeekday=function(){return"اول ايام الأسبوع"},t.prototype.weekdayNearestDayX0=function(){return"يوم الأسبوع الأقرب ليوم %s"},t.prototype.commaOnTheX0OfTheMonth=function(){return"، في %s من الشهر"},t.prototype.commaEveryX0Days=function(){return"، كل %s أيام"},t.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return"، بين يوم %s و %s من الشهر"},t.prototype.commaOnDayX0OfTheMonth=function(){return"، في اليوم %s من الشهر"},t.prototype.commaEveryHour=function(){return"، كل ساعة"},t.prototype.commaEveryX0Years=function(){return"، كل %s سنوات"},t.prototype.commaStartingX0=function(){return"، بداية من %s"},t.prototype.daysOfTheWeek=function(){return["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"]},t.prototype.monthsOfTheYear=function(){return["يناير","فبراير","مارس","ابريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"]},t.prototype.onTheHour=function(){return"في تمام الساعة"},t}();return c.ar=y,p().locales.ar=new y,n})()));
|
package/locales/be.js
CHANGED
|
@@ -12,12 +12,12 @@ return /******/ (() => { // webpackBootstrap
|
|
|
12
12
|
/******/ "use strict";
|
|
13
13
|
/******/ var __webpack_modules__ = ({
|
|
14
14
|
|
|
15
|
-
/***/ 93
|
|
16
|
-
|
|
15
|
+
/***/ 93
|
|
16
|
+
(module) {
|
|
17
17
|
|
|
18
18
|
module.exports = __WEBPACK_EXTERNAL_MODULE__93__;
|
|
19
19
|
|
|
20
|
-
/***/ }
|
|
20
|
+
/***/ }
|
|
21
21
|
|
|
22
22
|
/******/ });
|
|
23
23
|
/************************************************************************/
|
|
@@ -91,10 +91,10 @@ var __webpack_exports__ = {};
|
|
|
91
91
|
__webpack_require__.r(__webpack_exports__);
|
|
92
92
|
/* harmony import */ var cronstrue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(93);
|
|
93
93
|
/* harmony import */ var cronstrue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(cronstrue__WEBPACK_IMPORTED_MODULE_0__);
|
|
94
|
-
var
|
|
94
|
+
var be_exports = __webpack_exports__;
|
|
95
95
|
"use strict";
|
|
96
|
-
Object.defineProperty(
|
|
97
|
-
|
|
96
|
+
Object.defineProperty(be_exports, "__esModule", { value: true });
|
|
97
|
+
be_exports.be = void 0;
|
|
98
98
|
var be = (function () {
|
|
99
99
|
function be() {
|
|
100
100
|
}
|
|
@@ -272,7 +272,7 @@ var be = (function () {
|
|
|
272
272
|
};
|
|
273
273
|
return be;
|
|
274
274
|
}());
|
|
275
|
-
|
|
275
|
+
be_exports.be = be;
|
|
276
276
|
|
|
277
277
|
|
|
278
278
|
(cronstrue__WEBPACK_IMPORTED_MODULE_0___default().locales)["be"] = new be();
|
package/locales/be.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("cronstrue")):"function"==typeof define&&define.amd?define("locales/be.min",["cronstrue"],e):"object"==typeof exports?exports["locales/be.min"]=e(require("cronstrue")):t["locales/be.min"]=e(t.cronstrue)}(globalThis,(t=>(()=>{"use strict";var e={93
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("cronstrue")):"function"==typeof define&&define.amd?define("locales/be.min",["cronstrue"],e):"object"==typeof exports?exports["locales/be.min"]=e(require("cronstrue")):t["locales/be.min"]=e(t.cronstrue)}(globalThis,(t=>(()=>{"use strict";var e={93(e){e.exports=t}},o={};function r(t){var n=o[t];if(void 0!==n)return n.exports;var u=o[t]={exports:{}};return e[t](u,u.exports,r),u.exports}r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var o in e)r.o(e,o)&&!r.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};r.r(n);var u=r(93),p=r.n(u),c=n;Object.defineProperty(c,"__esModule",{value:!0}),c.be=void 0;var i=function(){function t(){}return t.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},t.prototype.atX0MinutesPastTheHourGt20=function(){return null},t.prototype.commaMonthX0ThroughMonthX1=function(){return null},t.prototype.commaYearX0ThroughYearX1=function(){return null},t.prototype.use24HourTimeFormatByDefault=function(){return!1},t.prototype.everyMinute=function(){return"кожную хвіліну"},t.prototype.everyHour=function(){return"кожную гадзіну"},t.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return"Адбылася памылка падчас генерацыі апісання выразы. Праверце сінтаксіс крон-выразы."},t.prototype.atSpace=function(){return"У "},t.prototype.everyMinuteBetweenX0AndX1=function(){return"Кожную хвіліну з %s да %s"},t.prototype.at=function(){return"У"},t.prototype.spaceAnd=function(){return" і"},t.prototype.everySecond=function(){return"кожную секунду"},t.prototype.everyX0Seconds=function(){return"кожныя %s секунд"},t.prototype.secondsX0ThroughX1PastTheMinute=function(){return"секунды з %s па %s"},t.prototype.atX0SecondsPastTheMinute=function(){return"у %s секунд"},t.prototype.everyX0Minutes=function(){return"кожныя %s хвілін"},t.prototype.minutesX0ThroughX1PastTheHour=function(){return"хвіліны з %s па %s"},t.prototype.atX0MinutesPastTheHour=function(){return"у %s хвілін"},t.prototype.everyX0Hours=function(){return"кожныя %s гадзін"},t.prototype.betweenX0AndX1=function(){return"з %s па %s"},t.prototype.atX0=function(){return"у %s"},t.prototype.commaEveryDay=function(){return", кожны дзень"},t.prototype.commaEveryX0DaysOfTheWeek=function(){return", кожныя %s дзён тыдня"},t.prototype.commaX0ThroughX1=function(){return", %s па %s"},t.prototype.commaAndX0ThroughX1=function(){return", і %s па %s"},t.prototype.first=function(){return"першы"},t.prototype.second=function(){return"другі"},t.prototype.third=function(){return"трэці"},t.prototype.fourth=function(){return"чацвёрты"},t.prototype.fifth=function(){return"пяты"},t.prototype.commaOnThe=function(){return", у "},t.prototype.spaceX0OfTheMonth=function(){return" %s месяца"},t.prototype.lastDay=function(){return"апошні дзень"},t.prototype.commaOnTheLastX0OfTheMonth=function(){return", у апошні %s месяца"},t.prototype.commaOnlyOnX0=function(){return", толькі ў %s"},t.prototype.commaAndOnX0=function(){return", і ў %s"},t.prototype.commaEveryX0Months=function(){return", кожныя %s месяцаў"},t.prototype.commaOnlyInX0=function(){return", толькі ў %s"},t.prototype.commaOnTheLastDayOfTheMonth=function(){return", у апошні дзень месяца"},t.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return", у апошні будні дзень месяца"},t.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return", %s дзён да апошняга дня месяца"},t.prototype.firstWeekday=function(){return"першы будны дзень"},t.prototype.weekdayNearestDayX0=function(){return"найбліжэйшы будны дзень да %s"},t.prototype.commaOnTheX0OfTheMonth=function(){return", у %s месяцы"},t.prototype.commaEveryX0Days=function(){return", кожныя %s дзён"},t.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return", з %s па %s лік месяца"},t.prototype.commaOnDayX0OfTheMonth=function(){return", у %s лік месяца"},t.prototype.commaEveryX0Years=function(){return", кожныя %s гадоў"},t.prototype.commaStartingX0=function(){return", пачатак %s"},t.prototype.daysOfTheWeek=function(){return["нядзеля","панядзелак","аўторак","серада","чацвер","пятніца","субота"]},t.prototype.monthsOfTheYear=function(){return["студзень","люты","сакавік","красавік","травень","чэрвень","ліпень","жнівень","верасень","кастрычнік","лістапад","снежань"]},t.prototype.onTheHour=function(){return"роўна ў гадзіну"},t}();return c.be=i,p().locales.be=new i,n})()));
|
package/locales/bg.js
CHANGED
|
@@ -12,12 +12,12 @@ return /******/ (() => { // webpackBootstrap
|
|
|
12
12
|
/******/ "use strict";
|
|
13
13
|
/******/ var __webpack_modules__ = ({
|
|
14
14
|
|
|
15
|
-
/***/ 93
|
|
16
|
-
|
|
15
|
+
/***/ 93
|
|
16
|
+
(module) {
|
|
17
17
|
|
|
18
18
|
module.exports = __WEBPACK_EXTERNAL_MODULE__93__;
|
|
19
19
|
|
|
20
|
-
/***/ }
|
|
20
|
+
/***/ }
|
|
21
21
|
|
|
22
22
|
/******/ });
|
|
23
23
|
/************************************************************************/
|
|
@@ -91,10 +91,10 @@ var __webpack_exports__ = {};
|
|
|
91
91
|
__webpack_require__.r(__webpack_exports__);
|
|
92
92
|
/* harmony import */ var cronstrue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(93);
|
|
93
93
|
/* harmony import */ var cronstrue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(cronstrue__WEBPACK_IMPORTED_MODULE_0__);
|
|
94
|
-
var
|
|
94
|
+
var bg_exports = __webpack_exports__;
|
|
95
95
|
"use strict";
|
|
96
|
-
Object.defineProperty(
|
|
97
|
-
|
|
96
|
+
Object.defineProperty(bg_exports, "__esModule", { value: true });
|
|
97
|
+
bg_exports.bg = void 0;
|
|
98
98
|
var getPhraseByPlural = function (str, words) {
|
|
99
99
|
var strAsNumber = str != null ? Number(str) : 0;
|
|
100
100
|
return strAsNumber < 2 ? words[0] : words[1];
|
|
@@ -278,7 +278,7 @@ var bg = (function () {
|
|
|
278
278
|
};
|
|
279
279
|
return bg;
|
|
280
280
|
}());
|
|
281
|
-
|
|
281
|
+
bg_exports.bg = bg;
|
|
282
282
|
|
|
283
283
|
|
|
284
284
|
(cronstrue__WEBPACK_IMPORTED_MODULE_0___default().locales)["bg"] = new bg();
|
package/locales/bg.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("cronstrue")):"function"==typeof define&&define.amd?define("locales/bg.min",["cronstrue"],e):"object"==typeof exports?exports["locales/bg.min"]=e(require("cronstrue")):t["locales/bg.min"]=e(t.cronstrue)}(globalThis,(t=>(()=>{"use strict";var e={93
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("cronstrue")):"function"==typeof define&&define.amd?define("locales/bg.min",["cronstrue"],e):"object"==typeof exports?exports["locales/bg.min"]=e(require("cronstrue")):t["locales/bg.min"]=e(t.cronstrue)}(globalThis,(t=>(()=>{"use strict";var e={93(e){e.exports=t}},o={};function n(t){var r=o[t];if(void 0!==r)return r.exports;var u=o[t]={exports:{}};return e[t](u,u.exports,n),u.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var o in e)n.o(e,o)&&!n.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};n.r(r);var u=n(93),p=n.n(u),c=r;Object.defineProperty(c,"__esModule",{value:!0}),c.bg=void 0;var i=function(t,e){return(null!=t?Number(t):0)<2?e[0]:e[1]},a=function(t,e){return e[[1,0,0,1,0,0,1][null!=t?Number(t):0]]},s=function(t,e){var o=null!=t?Number(t):1;o=Math.max(Math.min(o<10||o>20&&o%10!=0?o%10:3,3),1)-1;var n=["м","ж","ср"].indexOf(e);return["в","р","т"][o]+["и","а","о"][n]},y=function(){function t(){}return t.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},t.prototype.atX0MinutesPastTheHourGt20=function(){return null},t.prototype.commaMonthX0ThroughMonthX1=function(){return null},t.prototype.commaYearX0ThroughYearX1=function(){return null},t.prototype.use24HourTimeFormatByDefault=function(){return!0},t.prototype.everyMinute=function(){return"всяка минута"},t.prototype.everyHour=function(){return"всеки час"},t.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return"Възникна грешка при генериране на описанието на израза. Проверете синтаксиса на cron израза."},t.prototype.atSpace=function(){return"В "},t.prototype.everyMinuteBetweenX0AndX1=function(){return"Всяка минута от %s до %s"},t.prototype.at=function(){return"В"},t.prototype.spaceAnd=function(){return" и"},t.prototype.everySecond=function(){return"всяка секунда"},t.prototype.everyX0Seconds=function(t){return"всеки %s секунди"},t.prototype.secondsX0ThroughX1PastTheMinute=function(){return"секунди от %s до %s"},t.prototype.atX0SecondsPastTheMinute=function(t){return"%s-".concat(s(t,"ж")," секунда")},t.prototype.everyX0Minutes=function(t){return"всеки %s минути"},t.prototype.minutesX0ThroughX1PastTheHour=function(){return"минути от %s до %s"},t.prototype.atX0MinutesPastTheHour=function(t){return"%s-".concat(s(t,"ж")," минутa")},t.prototype.everyX0Hours=function(t){return"всеки %s часа"},t.prototype.betweenX0AndX1=function(){return"от %s до %s"},t.prototype.atX0=function(){return"в %s"},t.prototype.commaEveryDay=function(){return", всеки ден"},t.prototype.commaEveryX0DaysOfTheWeek=function(t){return i(t,[", всеки %s ден от седмицата",", всеки %s дена от седмицата"])},t.prototype.commaX0ThroughX1=function(t){return", от %s до %s"},t.prototype.commaAndX0ThroughX1=function(t){return" и от %s до %s"},t.prototype.first=function(t){return a(t,["первият","первата"])},t.prototype.second=function(t){return a(t,["вторият","втората"])},t.prototype.third=function(t){return a(t,["третият","третата"])},t.prototype.fourth=function(t){return a(t,["четвертият","четвертата"])},t.prototype.fifth=function(t){return a(t,["петият","петата"])},t.prototype.commaOnThe=function(t){return", "},t.prototype.spaceX0OfTheMonth=function(){return" %s на месеца"},t.prototype.lastDay=function(){return"последният ден"},t.prototype.commaOnTheLastX0OfTheMonth=function(t){return a(t,[", в последният %s от месеца",", в последната %s отмесеца"])},t.prototype.commaOnlyOnX0=function(t){return", %s"},t.prototype.commaAndOnX0=function(){return" и %s"},t.prototype.commaEveryX0Months=function(t){return" всеки %s месеца"},t.prototype.commaOnlyInMonthX0=function(){return", %s"},t.prototype.commaOnlyInX0=function(){return", в %s"},t.prototype.commaOnTheLastDayOfTheMonth=function(){return", в последният ден на месеца"},t.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return", в последния делничен ден от месеца"},t.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(t){return i(t,[", %s ден преди края на месеца",", %s дена преди края на месеца"])},t.prototype.firstWeekday=function(){return"първият делничен ден"},t.prototype.weekdayNearestDayX0=function(){return"най-близкият делничен ден до %s число"},t.prototype.commaOnTheX0OfTheMonth=function(){return", на %s число от месеца"},t.prototype.commaEveryX0Days=function(t){return i(t,[", всеки %s ден",", всеки %s дена"])},t.prototype.commaBetweenDayX0AndX1OfTheMonth=function(t){var e,o=null!==(e=null==t?void 0:t.split("-"))&&void 0!==e?e:[];return", от %s-".concat(s(o[0],"ср")," до %s-").concat(s(o[1],"ср")," число на месеца")},t.prototype.commaOnDayX0OfTheMonth=function(t){return", на %s-".concat(s(t,"ср")," число от месеца")},t.prototype.commaEveryX0Years=function(t){return i(t,[", всяка %s година",", всеки %s години"])},t.prototype.commaStartingX0=function(){return", започвайки %s"},t.prototype.daysOfTheWeek=function(){return["неделя","понеделник","вторник","сряда","четвъртък","петък","събота"]},t.prototype.monthsOfTheYear=function(){return["януари","февруари","март","април","май","юни","юли","август","септевмври","октомври","ноември","декември"]},t.prototype.onTheHour=function(){return"в началото на часа"},t}();return c.bg=y,p().locales.bg=new y,r})()));
|
package/locales/ca.js
CHANGED
|
@@ -12,12 +12,12 @@ return /******/ (() => { // webpackBootstrap
|
|
|
12
12
|
/******/ "use strict";
|
|
13
13
|
/******/ var __webpack_modules__ = ({
|
|
14
14
|
|
|
15
|
-
/***/ 93
|
|
16
|
-
|
|
15
|
+
/***/ 93
|
|
16
|
+
(module) {
|
|
17
17
|
|
|
18
18
|
module.exports = __WEBPACK_EXTERNAL_MODULE__93__;
|
|
19
19
|
|
|
20
|
-
/***/ }
|
|
20
|
+
/***/ }
|
|
21
21
|
|
|
22
22
|
/******/ });
|
|
23
23
|
/************************************************************************/
|
|
@@ -91,10 +91,10 @@ var __webpack_exports__ = {};
|
|
|
91
91
|
__webpack_require__.r(__webpack_exports__);
|
|
92
92
|
/* harmony import */ var cronstrue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(93);
|
|
93
93
|
/* harmony import */ var cronstrue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(cronstrue__WEBPACK_IMPORTED_MODULE_0__);
|
|
94
|
-
var
|
|
94
|
+
var ca_exports = __webpack_exports__;
|
|
95
95
|
"use strict";
|
|
96
|
-
Object.defineProperty(
|
|
97
|
-
|
|
96
|
+
Object.defineProperty(ca_exports, "__esModule", { value: true });
|
|
97
|
+
ca_exports.ca = void 0;
|
|
98
98
|
var ca = (function () {
|
|
99
99
|
function ca() {
|
|
100
100
|
}
|
|
@@ -272,7 +272,7 @@ var ca = (function () {
|
|
|
272
272
|
};
|
|
273
273
|
return ca;
|
|
274
274
|
}());
|
|
275
|
-
|
|
275
|
+
ca_exports.ca = ca;
|
|
276
276
|
|
|
277
277
|
|
|
278
278
|
(cronstrue__WEBPACK_IMPORTED_MODULE_0___default().locales)["ca"] = new ca();
|
package/locales/ca.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("cronstrue")):"function"==typeof define&&define.amd?define("locales/ca.min",["cronstrue"],t):"object"==typeof exports?exports["locales/ca.min"]=t(require("cronstrue")):e["locales/ca.min"]=t(e.cronstrue)}(globalThis,(e=>(()=>{"use strict";var t={93
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("cronstrue")):"function"==typeof define&&define.amd?define("locales/ca.min",["cronstrue"],t):"object"==typeof exports?exports["locales/ca.min"]=t(require("cronstrue")):e["locales/ca.min"]=t(e.cronstrue)}(globalThis,(e=>(()=>{"use strict";var t={93(t){t.exports=e}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var u=n[e]={exports:{}};return t[e](u,u.exports,r),u.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};r.r(o);var u=r(93),a=r.n(u),s=o;Object.defineProperty(s,"__esModule",{value:!0}),s.ca=void 0;var i=function(){function e(){}return e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.use24HourTimeFormatByDefault=function(){return!0},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return"S'ha produït un error mentres es generava la descripció de l'expressió. Revisi la sintaxi de la expressió de cron."},e.prototype.at=function(){return"A les"},e.prototype.atSpace=function(){return"A les "},e.prototype.atX0=function(){return"a les %s"},e.prototype.atX0MinutesPastTheHour=function(){return"als %s minuts de l'hora"},e.prototype.atX0SecondsPastTheMinute=function(){return"als %s segonds del minut"},e.prototype.betweenX0AndX1=function(){return"entre les %s i les %s"},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return", entre els dies %s i %s del mes"},e.prototype.commaEveryDay=function(){return", cada dia"},e.prototype.commaEveryX0Days=function(){return", cada %s dies"},e.prototype.commaEveryX0DaysOfTheWeek=function(){return", cada %s dies de la setmana"},e.prototype.commaEveryX0Months=function(){return", cada %s mesos"},e.prototype.commaOnDayX0OfTheMonth=function(){return", el dia %s del mes"},e.prototype.commaOnlyInX0=function(){return", sólo en %s"},e.prototype.commaOnlyOnX0=function(){return", només el %s"},e.prototype.commaAndOnX0=function(){return", i el %s"},e.prototype.commaOnThe=function(){return", en el "},e.prototype.commaOnTheLastDayOfTheMonth=function(){return", en l'últim dia del mes"},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return", en l'últim dia de la setmana del mes"},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return", %s dies abans de l'últim dia del mes"},e.prototype.commaOnTheLastX0OfTheMonth=function(){return", en l'últim %s del mes"},e.prototype.commaOnTheX0OfTheMonth=function(){return", en el %s del mes"},e.prototype.commaX0ThroughX1=function(){return", de %s a %s"},e.prototype.commaAndX0ThroughX1=function(){return", i de %s a %s"},e.prototype.everyHour=function(){return"cada hora"},e.prototype.everyMinute=function(){return"cada minut"},e.prototype.everyMinuteBetweenX0AndX1=function(){return"cada minut entre les %s i les %s"},e.prototype.everySecond=function(){return"cada segon"},e.prototype.everyX0Hours=function(){return"cada %s hores"},e.prototype.everyX0Minutes=function(){return"cada %s minuts"},e.prototype.everyX0Seconds=function(){return"cada %s segons"},e.prototype.fifth=function(){return"cinquè"},e.prototype.first=function(){return"primer"},e.prototype.firstWeekday=function(){return"primer dia de la setmana"},e.prototype.fourth=function(){return"quart"},e.prototype.minutesX0ThroughX1PastTheHour=function(){return"del minut %s al %s passada l'hora"},e.prototype.second=function(){return"segon"},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return"En els segons %s al %s de cada minut"},e.prototype.spaceAnd=function(){return" i"},e.prototype.spaceX0OfTheMonth=function(){return" %s del mes"},e.prototype.lastDay=function(){return"l'últim dia"},e.prototype.third=function(){return"tercer"},e.prototype.weekdayNearestDayX0=function(){return"dia de la setmana més proper al %s"},e.prototype.commaEveryX0Years=function(){return", cada %s anys"},e.prototype.commaStartingX0=function(){return", començant %s"},e.prototype.daysOfTheWeek=function(){return["diumenge","dilluns","dimarts","dimecres","dijous","divendres","dissabte"]},e.prototype.monthsOfTheYear=function(){return["gener","febrer","març","abril","maig","juny","juliol","agost","setembre","octubre","novembre","desembre"]},e.prototype.onTheHour=function(){return"en punt"},e}();return s.ca=i,a().locales.ca=new i,o})()));
|