cronstrue 3.23.0 → 3.25.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/locales/tg.js ADDED
@@ -0,0 +1,317 @@
1
+ (function webpackUniversalModuleDefinition(root, factory) {
2
+ if(typeof exports === 'object' && typeof module === 'object')
3
+ module.exports = factory(require("cronstrue"));
4
+ else if(typeof define === 'function' && define.amd)
5
+ define("locales/tg", ["cronstrue"], factory);
6
+ else if(typeof exports === 'object')
7
+ exports["locales/tg"] = factory(require("cronstrue"));
8
+ else
9
+ root["locales/tg"] = factory(root["cronstrue"]);
10
+ })(globalThis, (__WEBPACK_EXTERNAL_MODULE__93__) => {
11
+ return /******/ (() => { // webpackBootstrap
12
+ /******/ "use strict";
13
+ /******/ var __webpack_modules__ = ({
14
+
15
+ /***/ 93
16
+ (module) {
17
+
18
+ module.exports = __WEBPACK_EXTERNAL_MODULE__93__;
19
+
20
+ /***/ }
21
+
22
+ /******/ });
23
+ /************************************************************************/
24
+ /******/ // The module cache
25
+ /******/ var __webpack_module_cache__ = {};
26
+ /******/
27
+ /******/ // The require function
28
+ /******/ function __webpack_require__(moduleId) {
29
+ /******/ // Check if module is in cache
30
+ /******/ var cachedModule = __webpack_module_cache__[moduleId];
31
+ /******/ if (cachedModule !== undefined) {
32
+ /******/ return cachedModule.exports;
33
+ /******/ }
34
+ /******/ // Create a new module (and put it into the cache)
35
+ /******/ var module = __webpack_module_cache__[moduleId] = {
36
+ /******/ // no module.id needed
37
+ /******/ // no module.loaded needed
38
+ /******/ exports: {}
39
+ /******/ };
40
+ /******/
41
+ /******/ // Execute the module function
42
+ /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
43
+ /******/
44
+ /******/ // Return the exports of the module
45
+ /******/ return module.exports;
46
+ /******/ }
47
+ /******/
48
+ /************************************************************************/
49
+ /******/ /* webpack/runtime/compat get default export */
50
+ /******/ (() => {
51
+ /******/ // getDefaultExport function for compatibility with non-harmony modules
52
+ /******/ __webpack_require__.n = (module) => {
53
+ /******/ var getter = module && module.__esModule ?
54
+ /******/ () => (module['default']) :
55
+ /******/ () => (module);
56
+ /******/ __webpack_require__.d(getter, { a: getter });
57
+ /******/ return getter;
58
+ /******/ };
59
+ /******/ })();
60
+ /******/
61
+ /******/ /* webpack/runtime/define property getters */
62
+ /******/ (() => {
63
+ /******/ // define getter functions for harmony exports
64
+ /******/ __webpack_require__.d = (exports, definition) => {
65
+ /******/ for(var key in definition) {
66
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
67
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
68
+ /******/ }
69
+ /******/ }
70
+ /******/ };
71
+ /******/ })();
72
+ /******/
73
+ /******/ /* webpack/runtime/hasOwnProperty shorthand */
74
+ /******/ (() => {
75
+ /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
76
+ /******/ })();
77
+ /******/
78
+ /******/ /* webpack/runtime/make namespace object */
79
+ /******/ (() => {
80
+ /******/ // define __esModule on exports
81
+ /******/ __webpack_require__.r = (exports) => {
82
+ /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
83
+ /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
84
+ /******/ }
85
+ /******/ Object.defineProperty(exports, '__esModule', { value: true });
86
+ /******/ };
87
+ /******/ })();
88
+ /******/
89
+ /************************************************************************/
90
+ var __webpack_exports__ = {};
91
+ __webpack_require__.r(__webpack_exports__);
92
+ /* harmony import */ var cronstrue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(93);
93
+ /* harmony import */ var cronstrue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(cronstrue__WEBPACK_IMPORTED_MODULE_0__);
94
+ var tg_exports = __webpack_exports__;
95
+ "use strict";
96
+ var __spreadArray = (undefined && undefined.__spreadArray) || function (to, from, pack) {
97
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
98
+ if (ar || !(i in from)) {
99
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
100
+ ar[i] = from[i];
101
+ }
102
+ }
103
+ return to.concat(ar || Array.prototype.slice.call(from));
104
+ };
105
+ Object.defineProperty(tg_exports, "__esModule", { value: true });
106
+ tg_exports.tg = void 0;
107
+ var weekdays = ["якшанбе", "душанбе", "сешанбе", "чоршанбе", "панҷшанбе", "ҷумъа", "шанбе"];
108
+ var months = [
109
+ "январ",
110
+ "феврал",
111
+ "март",
112
+ "апрел",
113
+ "май",
114
+ "июн",
115
+ "июл",
116
+ "август",
117
+ "сентябр",
118
+ "октябр",
119
+ "ноябр",
120
+ "декабр",
121
+ ];
122
+ var monthsIzafa = [
123
+ "январи",
124
+ "феврали",
125
+ "марти",
126
+ "апрели",
127
+ "майи",
128
+ "июни",
129
+ "июли",
130
+ "августи",
131
+ "сентябри",
132
+ "октябри",
133
+ "ноябри",
134
+ "декабри",
135
+ ];
136
+ var tg = (function () {
137
+ function tg() {
138
+ }
139
+ tg.prototype.atX0SecondsPastTheMinuteGt20 = function () {
140
+ return null;
141
+ };
142
+ tg.prototype.atX0MinutesPastTheHourGt20 = function () {
143
+ return null;
144
+ };
145
+ tg.prototype.commaMonthX0ThroughMonthX1 = function () {
146
+ return null;
147
+ };
148
+ tg.prototype.commaYearX0ThroughYearX1 = function () {
149
+ return null;
150
+ };
151
+ tg.prototype.use24HourTimeFormatByDefault = function () {
152
+ return true;
153
+ };
154
+ tg.prototype.anErrorOccuredWhenGeneratingTheExpressionD = function () {
155
+ return "Ҳангоми тавсифи ифодаи cron хато рӯй дод. Синтаксисро санҷед.";
156
+ };
157
+ tg.prototype.everyMinute = function () {
158
+ return "ҳар дақиқа";
159
+ };
160
+ tg.prototype.everyHour = function () {
161
+ return "ҳар соат";
162
+ };
163
+ tg.prototype.atSpace = function () {
164
+ return "Дар ";
165
+ };
166
+ tg.prototype.everyMinuteBetweenX0AndX1 = function () {
167
+ return "Ҳар дақиқа аз %s то %s";
168
+ };
169
+ tg.prototype.at = function () {
170
+ return "Дар";
171
+ };
172
+ tg.prototype.spaceAnd = function () {
173
+ return " ва";
174
+ };
175
+ tg.prototype.everySecond = function () {
176
+ return "ҳар сония";
177
+ };
178
+ tg.prototype.everyX0Seconds = function () {
179
+ return "ҳар %s сония";
180
+ };
181
+ tg.prototype.secondsX0ThroughX1PastTheMinute = function () {
182
+ return "сонияҳои аз %s то %s";
183
+ };
184
+ tg.prototype.atX0SecondsPastTheMinute = function () {
185
+ return "дар %s сония";
186
+ };
187
+ tg.prototype.everyX0Minutes = function () {
188
+ return "ҳар %s дақиқа";
189
+ };
190
+ tg.prototype.minutesX0ThroughX1PastTheHour = function () {
191
+ return "дақиқаҳои аз %s то %s";
192
+ };
193
+ tg.prototype.atX0MinutesPastTheHour = function () {
194
+ return "дар %s дақиқа";
195
+ };
196
+ tg.prototype.everyX0Hours = function () {
197
+ return "ҳар %s соат";
198
+ };
199
+ tg.prototype.betweenX0AndX1 = function () {
200
+ return "аз %s то %s";
201
+ };
202
+ tg.prototype.atX0 = function () {
203
+ return "дар %s";
204
+ };
205
+ tg.prototype.commaEveryDay = function () {
206
+ return ", ҳар рӯз";
207
+ };
208
+ tg.prototype.commaEveryX0DaysOfTheWeek = function () {
209
+ return ", ҳар %s рӯзи ҳафта";
210
+ };
211
+ tg.prototype.commaX0ThroughX1 = function () {
212
+ return ", аз %s то %s";
213
+ };
214
+ tg.prototype.commaAndX0ThroughX1 = function () {
215
+ return " ва аз %s то %s";
216
+ };
217
+ tg.prototype.first = function () {
218
+ return "якум";
219
+ };
220
+ tg.prototype.second = function () {
221
+ return "дуюм";
222
+ };
223
+ tg.prototype.third = function () {
224
+ return "сеюм";
225
+ };
226
+ tg.prototype.fourth = function () {
227
+ return "чорум";
228
+ };
229
+ tg.prototype.fifth = function () {
230
+ return "панҷум";
231
+ };
232
+ tg.prototype.commaOnThe = function () {
233
+ return ", дар ";
234
+ };
235
+ tg.prototype.spaceX0OfTheMonth = function () {
236
+ return " %s-и моҳ";
237
+ };
238
+ tg.prototype.lastDay = function () {
239
+ return "рӯзи охирин";
240
+ };
241
+ tg.prototype.commaOnTheLastX0OfTheMonth = function () {
242
+ return ", дар охирин %s-и моҳ";
243
+ };
244
+ tg.prototype.commaOnlyOnX0 = function () {
245
+ return ", танҳо дар %s";
246
+ };
247
+ tg.prototype.commaAndOnX0 = function () {
248
+ return ", ва %s";
249
+ };
250
+ tg.prototype.commaEveryX0Months = function () {
251
+ return " ҳар %s моҳ";
252
+ };
253
+ tg.prototype.commaOnlyInMonthX0 = function () {
254
+ return ", танҳо %s";
255
+ };
256
+ tg.prototype.commaOnlyInX0 = function () {
257
+ return ", танҳо дар %s";
258
+ };
259
+ tg.prototype.commaOnTheLastDayOfTheMonth = function () {
260
+ return ", дар рӯзи охирини моҳ";
261
+ };
262
+ tg.prototype.commaOnTheLastWeekdayOfTheMonth = function () {
263
+ return ", дар охирин рӯзи кории моҳ";
264
+ };
265
+ tg.prototype.commaDaysBeforeTheLastDayOfTheMonth = function () {
266
+ return ", %s рӯз пеш аз охири моҳ";
267
+ };
268
+ tg.prototype.firstWeekday = function () {
269
+ return "якумин рӯзи корӣ";
270
+ };
271
+ tg.prototype.weekdayNearestDayX0 = function () {
272
+ return "наздиктарин рӯзи корӣ ба %s";
273
+ };
274
+ tg.prototype.commaOnTheX0OfTheMonth = function () {
275
+ return ", дар %s-и моҳ";
276
+ };
277
+ tg.prototype.commaEveryX0Days = function () {
278
+ return ", ҳар %s рӯз";
279
+ };
280
+ tg.prototype.commaBetweenDayX0AndX1OfTheMonth = function () {
281
+ return ", аз рӯзи %s то %s-и моҳ";
282
+ };
283
+ tg.prototype.commaOnDayX0OfTheMonth = function () {
284
+ return ", дар рӯзи %s-и моҳ";
285
+ };
286
+ tg.prototype.commaEveryX0Years = function () {
287
+ return ", ҳар %s сол";
288
+ };
289
+ tg.prototype.commaStartingX0 = function () {
290
+ return ", оғоз %s";
291
+ };
292
+ tg.prototype.daysOfTheWeek = function () {
293
+ return __spreadArray([], weekdays, true);
294
+ };
295
+ tg.prototype.daysOfTheWeekInCase = function () {
296
+ return __spreadArray([], weekdays, true);
297
+ };
298
+ tg.prototype.monthsOfTheYear = function () {
299
+ return __spreadArray([], months, true);
300
+ };
301
+ tg.prototype.monthsOfTheYearInCase = function (f) {
302
+ return f == 1 ? __spreadArray([], monthsIzafa, true) : __spreadArray([], months, true);
303
+ };
304
+ tg.prototype.onTheHour = function () {
305
+ return "дақиқан дар соат";
306
+ };
307
+ return tg;
308
+ }());
309
+ tg_exports.tg = tg;
310
+
311
+
312
+ (cronstrue__WEBPACK_IMPORTED_MODULE_0___default().locales)["tg"] = new tg();
313
+
314
+ /******/ return __webpack_exports__;
315
+ /******/ })()
316
+ ;
317
+ });
@@ -0,0 +1 @@
1
+ !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("cronstrue")):"function"==typeof define&&define.amd?define("locales/tg.min",["cronstrue"],e):"object"==typeof exports?exports["locales/tg.min"]=e(require("cronstrue")):t["locales/tg.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,y=function(t,e,o){if(o||2===arguments.length)for(var r,n=0,u=e.length;n<u;n++)!r&&n in e||(r||(r=Array.prototype.slice.call(e,0,n)),r[n]=e[n]);return t.concat(r||Array.prototype.slice.call(e))};Object.defineProperty(c,"__esModule",{value:!0}),c.tg=void 0;var i=["якшанбе","душанбе","сешанбе","чоршанбе","панҷшанбе","ҷумъа","шанбе"],s=["январ","феврал","март","апрел","май","июн","июл","август","сентябр","октябр","ноябр","декабр"],a=["январи","феврали","марти","апрели","майи","июни","июли","августи","сентябри","октябри","ноябри","декабри"],f=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"Ҳангоми тавсифи ифодаи cron хато рӯй дод. Синтаксисро санҷед."},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.commaOnlyInMonthX0=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 y([],i,!0)},t.prototype.daysOfTheWeekInCase=function(){return y([],i,!0)},t.prototype.monthsOfTheYear=function(){return y([],s,!0)},t.prototype.monthsOfTheYearInCase=function(t){return y([],1==t?a:s,!0)},t.prototype.onTheHour=function(){return"дақиқан дар соат"},t}();return c.tg=f,p().locales.tg=new f,n})()));
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cronstrue",
3
3
  "title": "cRonstrue",
4
- "version": "3.23.0",
4
+ "version": "3.25.0",
5
5
  "description": "Convert cron expressions into human readable descriptions",
6
6
  "author": "Brady Holt",
7
7
  "license": "MIT",