@nocobase/plugin-client 0.13.0-alpha.4 → 0.13.0-alpha.6
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/client/index.js +1 -11
- package/dist/index.js +37 -16
- package/dist/locale/cron/zh_CN.js +97 -42
- package/dist/locale/en_US.js +43 -28
- package/dist/locale/es_ES.js +328 -313
- package/dist/locale/fr_FR.js +329 -314
- package/dist/locale/index.js +160 -273
- package/dist/locale/ja_JP.js +635 -620
- package/dist/locale/pt_BR.js +365 -350
- package/dist/locale/ru_RU.js +519 -504
- package/dist/locale/tr_TR.js +388 -373
- package/dist/locale/uk_UA.js +720 -705
- package/dist/locale/zh_CN.js +793 -778
- package/dist/node_modules/cronstrue/LICENSE +21 -0
- package/dist/node_modules/cronstrue/bin/cli.js +26 -0
- package/dist/node_modules/cronstrue/dist/cronParser.d.ts +12 -0
- package/dist/node_modules/cronstrue/dist/cronstrue-i18n.d.ts +4 -0
- package/dist/node_modules/cronstrue/dist/cronstrue-i18n.js +7283 -0
- package/dist/node_modules/cronstrue/dist/cronstrue-i18n.min.js +1 -0
- package/dist/node_modules/cronstrue/dist/cronstrue.d.ts +4 -0
- package/dist/node_modules/cronstrue/dist/cronstrue.js +1 -0
- package/dist/node_modules/cronstrue/dist/cronstrue.min.js +1 -0
- package/dist/node_modules/cronstrue/dist/expressionDescriptor.d.ts +31 -0
- package/dist/node_modules/cronstrue/dist/i18n/allLocales.d.ts +34 -0
- package/dist/node_modules/cronstrue/dist/i18n/allLocalesLoader.d.ts +6 -0
- package/dist/node_modules/cronstrue/dist/i18n/enLocaleLoader.d.ts +6 -0
- package/dist/node_modules/cronstrue/dist/i18n/locale.d.ts +62 -0
- package/dist/node_modules/cronstrue/dist/i18n/localeLoader.d.ts +6 -0
- package/dist/node_modules/cronstrue/dist/i18n/locales/af.d.ts +56 -0
- package/dist/node_modules/cronstrue/dist/i18n/locales/ar.d.ts +56 -0
- package/dist/node_modules/cronstrue/dist/i18n/locales/be.d.ts +55 -0
- package/dist/node_modules/cronstrue/dist/i18n/locales/ca.d.ts +55 -0
- package/dist/node_modules/cronstrue/dist/i18n/locales/cs.d.ts +55 -0
- package/dist/node_modules/cronstrue/dist/i18n/locales/da.d.ts +55 -0
- package/dist/node_modules/cronstrue/dist/i18n/locales/de.d.ts +55 -0
- package/dist/node_modules/cronstrue/dist/i18n/locales/en.d.ts +56 -0
- package/dist/node_modules/cronstrue/dist/i18n/locales/es.d.ts +55 -0
- package/dist/node_modules/cronstrue/dist/i18n/locales/fa.d.ts +57 -0
- package/dist/node_modules/cronstrue/dist/i18n/locales/fi.d.ts +58 -0
- package/dist/node_modules/cronstrue/dist/i18n/locales/fr.d.ts +56 -0
- package/dist/node_modules/cronstrue/dist/i18n/locales/he.d.ts +55 -0
- package/dist/node_modules/cronstrue/dist/i18n/locales/hu.d.ts +56 -0
- package/dist/node_modules/cronstrue/dist/i18n/locales/id.d.ts +56 -0
- package/dist/node_modules/cronstrue/dist/i18n/locales/it.d.ts +55 -0
- package/dist/node_modules/cronstrue/dist/i18n/locales/ja.d.ts +60 -0
- package/dist/node_modules/cronstrue/dist/i18n/locales/ko.d.ts +60 -0
- package/dist/node_modules/cronstrue/dist/i18n/locales/nb.d.ts +55 -0
- package/dist/node_modules/cronstrue/dist/i18n/locales/nl.d.ts +55 -0
- package/dist/node_modules/cronstrue/dist/i18n/locales/pl.d.ts +55 -0
- package/dist/node_modules/cronstrue/dist/i18n/locales/pt_BR.d.ts +55 -0
- package/dist/node_modules/cronstrue/dist/i18n/locales/pt_PT.d.ts +55 -0
- package/dist/node_modules/cronstrue/dist/i18n/locales/ro.d.ts +55 -0
- package/dist/node_modules/cronstrue/dist/i18n/locales/ru.d.ts +58 -0
- package/dist/node_modules/cronstrue/dist/i18n/locales/sk.d.ts +55 -0
- package/dist/node_modules/cronstrue/dist/i18n/locales/sl.d.ts +55 -0
- package/dist/node_modules/cronstrue/dist/i18n/locales/sv.d.ts +55 -0
- package/dist/node_modules/cronstrue/dist/i18n/locales/sw.d.ts +55 -0
- package/dist/node_modules/cronstrue/dist/i18n/locales/th.d.ts +56 -0
- package/dist/node_modules/cronstrue/dist/i18n/locales/tr.d.ts +55 -0
- package/dist/node_modules/cronstrue/dist/i18n/locales/uk.d.ts +55 -0
- package/dist/node_modules/cronstrue/dist/i18n/locales/zh_CN.d.ts +61 -0
- package/dist/node_modules/cronstrue/dist/i18n/locales/zh_TW.d.ts +58 -0
- package/dist/node_modules/cronstrue/dist/options.d.ts +8 -0
- package/dist/node_modules/cronstrue/dist/rangeValidator.d.ts +8 -0
- package/dist/node_modules/cronstrue/dist/stringUtilities.d.ts +4 -0
- package/dist/node_modules/cronstrue/i18n.d.ts +4 -0
- package/dist/node_modules/cronstrue/i18n.js +5 -0
- package/dist/node_modules/cronstrue/locales/af.js +287 -0
- package/dist/node_modules/cronstrue/locales/af.min.js +1 -0
- package/dist/node_modules/cronstrue/locales/ar.js +287 -0
- package/dist/node_modules/cronstrue/locales/ar.min.js +1 -0
- package/dist/node_modules/cronstrue/locales/be.js +284 -0
- package/dist/node_modules/cronstrue/locales/be.min.js +1 -0
- package/dist/node_modules/cronstrue/locales/ca.js +284 -0
- package/dist/node_modules/cronstrue/locales/ca.min.js +1 -0
- package/dist/node_modules/cronstrue/locales/cs.js +284 -0
- package/dist/node_modules/cronstrue/locales/cs.min.js +1 -0
- package/dist/node_modules/cronstrue/locales/da.js +284 -0
- package/dist/node_modules/cronstrue/locales/da.min.js +1 -0
- package/dist/node_modules/cronstrue/locales/de.js +284 -0
- package/dist/node_modules/cronstrue/locales/de.min.js +1 -0
- package/dist/node_modules/cronstrue/locales/en.js +287 -0
- package/dist/node_modules/cronstrue/locales/en.min.js +1 -0
- package/dist/node_modules/cronstrue/locales/es.js +284 -0
- package/dist/node_modules/cronstrue/locales/es.min.js +1 -0
- package/dist/node_modules/cronstrue/locales/fa.js +277 -0
- package/dist/node_modules/cronstrue/locales/fa.min.js +1 -0
- package/dist/node_modules/cronstrue/locales/fi.js +293 -0
- package/dist/node_modules/cronstrue/locales/fi.min.js +1 -0
- package/dist/node_modules/cronstrue/locales/fr.js +287 -0
- package/dist/node_modules/cronstrue/locales/fr.min.js +1 -0
- package/dist/node_modules/cronstrue/locales/he.js +271 -0
- package/dist/node_modules/cronstrue/locales/he.min.js +1 -0
- package/dist/node_modules/cronstrue/locales/hu.js +287 -0
- package/dist/node_modules/cronstrue/locales/hu.min.js +1 -0
- package/dist/node_modules/cronstrue/locales/id.js +287 -0
- package/dist/node_modules/cronstrue/locales/id.min.js +1 -0
- package/dist/node_modules/cronstrue/locales/it.js +284 -0
- package/dist/node_modules/cronstrue/locales/it.min.js +1 -0
- package/dist/node_modules/cronstrue/locales/ja.js +286 -0
- package/dist/node_modules/cronstrue/locales/ja.min.js +1 -0
- package/dist/node_modules/cronstrue/locales/ko.js +286 -0
- package/dist/node_modules/cronstrue/locales/ko.min.js +1 -0
- package/dist/node_modules/cronstrue/locales/nb.js +284 -0
- package/dist/node_modules/cronstrue/locales/nb.min.js +1 -0
- package/dist/node_modules/cronstrue/locales/nl.js +284 -0
- package/dist/node_modules/cronstrue/locales/nl.min.js +1 -0
- package/dist/node_modules/cronstrue/locales/pl.js +284 -0
- package/dist/node_modules/cronstrue/locales/pl.min.js +1 -0
- package/dist/node_modules/cronstrue/locales/pt_BR.js +284 -0
- package/dist/node_modules/cronstrue/locales/pt_BR.min.js +1 -0
- package/dist/node_modules/cronstrue/locales/pt_PT.js +284 -0
- package/dist/node_modules/cronstrue/locales/pt_PT.min.js +1 -0
- package/dist/node_modules/cronstrue/locales/ro.js +284 -0
- package/dist/node_modules/cronstrue/locales/ro.min.js +1 -0
- package/dist/node_modules/cronstrue/locales/ru.js +327 -0
- package/dist/node_modules/cronstrue/locales/ru.min.js +1 -0
- package/dist/node_modules/cronstrue/locales/sk.js +284 -0
- package/dist/node_modules/cronstrue/locales/sk.min.js +1 -0
- package/dist/node_modules/cronstrue/locales/sl.js +284 -0
- package/dist/node_modules/cronstrue/locales/sl.min.js +1 -0
- package/dist/node_modules/cronstrue/locales/sv.js +284 -0
- package/dist/node_modules/cronstrue/locales/sv.min.js +1 -0
- package/dist/node_modules/cronstrue/locales/sw.js +284 -0
- package/dist/node_modules/cronstrue/locales/sw.min.js +1 -0
- package/dist/node_modules/cronstrue/locales/th.js +287 -0
- package/dist/node_modules/cronstrue/locales/th.min.js +1 -0
- package/dist/node_modules/cronstrue/locales/tr.js +284 -0
- package/dist/node_modules/cronstrue/locales/tr.min.js +1 -0
- package/dist/node_modules/cronstrue/locales/uk.js +284 -0
- package/dist/node_modules/cronstrue/locales/uk.min.js +1 -0
- package/dist/node_modules/cronstrue/locales/zh_CN.js +289 -0
- package/dist/node_modules/cronstrue/locales/zh_CN.min.js +1 -0
- package/dist/node_modules/cronstrue/locales/zh_TW.js +280 -0
- package/dist/node_modules/cronstrue/locales/zh_TW.min.js +1 -0
- package/dist/node_modules/cronstrue/package.json +1 -0
- package/dist/server/antd.js +30 -9
- package/dist/server/cron.js +30 -9
- package/dist/server/cronstrue.js +26 -4
- package/dist/server/index.js +33 -11
- package/dist/server/migrations/20230620203216-admin-ui-schema-uid.js +24 -7
- package/dist/server/server.js +74 -48
- package/dist/swagger/index.json +7 -0
- package/package.json +2 -2
- package/dist/locale/cron/zh_CN.d.ts +0 -34
- package/dist/locale/en_US.d.ts +0 -726
- package/dist/locale/es_ES.d.ts +0 -694
- package/dist/locale/fr_FR.d.ts +0 -712
- package/dist/locale/index.d.ts +0 -272
- package/dist/locale/ja_JP.d.ts +0 -628
- package/dist/locale/pt_BR.d.ts +0 -672
- package/dist/locale/ru_RU.d.ts +0 -508
- package/dist/locale/tr_TR.d.ts +0 -506
- package/dist/locale/uk_UA.d.ts +0 -714
- package/dist/locale/zh_CN.d.ts +0 -779
- package/dist/swagger/index.js +0 -19
|
@@ -0,0 +1,289 @@
|
|
|
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/zh_CN", ["cronstrue"], factory);
|
|
6
|
+
else if(typeof exports === 'object')
|
|
7
|
+
exports["locales/zh_CN"] = factory(require("cronstrue"));
|
|
8
|
+
else
|
|
9
|
+
root["locales/zh_CN"] = factory(root["cronstrue"]);
|
|
10
|
+
})(globalThis, (__WEBPACK_EXTERNAL_MODULE__34__) => {
|
|
11
|
+
return /******/ (() => { // webpackBootstrap
|
|
12
|
+
/******/ "use strict";
|
|
13
|
+
/******/ var __webpack_modules__ = ({
|
|
14
|
+
|
|
15
|
+
/***/ 34:
|
|
16
|
+
/***/ ((module) => {
|
|
17
|
+
|
|
18
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__34__;
|
|
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
|
+
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
|
92
|
+
(() => {
|
|
93
|
+
__webpack_require__.r(__webpack_exports__);
|
|
94
|
+
/* harmony import */ var cronstrue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(34);
|
|
95
|
+
/* harmony import */ var cronstrue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(cronstrue__WEBPACK_IMPORTED_MODULE_0__);
|
|
96
|
+
var exports = __webpack_exports__;
|
|
97
|
+
"use strict";
|
|
98
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
99
|
+
exports.zh_CN = void 0;
|
|
100
|
+
var zh_CN = (function () {
|
|
101
|
+
function zh_CN() {
|
|
102
|
+
}
|
|
103
|
+
zh_CN.prototype.setPeriodBeforeTime = function () {
|
|
104
|
+
return true;
|
|
105
|
+
};
|
|
106
|
+
zh_CN.prototype.pm = function () {
|
|
107
|
+
return "下午";
|
|
108
|
+
};
|
|
109
|
+
zh_CN.prototype.am = function () {
|
|
110
|
+
return "上午";
|
|
111
|
+
};
|
|
112
|
+
zh_CN.prototype.atX0SecondsPastTheMinuteGt20 = function () {
|
|
113
|
+
return null;
|
|
114
|
+
};
|
|
115
|
+
zh_CN.prototype.atX0MinutesPastTheHourGt20 = function () {
|
|
116
|
+
return null;
|
|
117
|
+
};
|
|
118
|
+
zh_CN.prototype.commaMonthX0ThroughMonthX1 = function () {
|
|
119
|
+
return null;
|
|
120
|
+
};
|
|
121
|
+
zh_CN.prototype.commaYearX0ThroughYearX1 = function () {
|
|
122
|
+
return ", 从%s年至%s年";
|
|
123
|
+
};
|
|
124
|
+
zh_CN.prototype.use24HourTimeFormatByDefault = function () {
|
|
125
|
+
return false;
|
|
126
|
+
};
|
|
127
|
+
zh_CN.prototype.everyMinute = function () {
|
|
128
|
+
return "每分钟";
|
|
129
|
+
};
|
|
130
|
+
zh_CN.prototype.everyHour = function () {
|
|
131
|
+
return "每小时";
|
|
132
|
+
};
|
|
133
|
+
zh_CN.prototype.anErrorOccuredWhenGeneratingTheExpressionD = function () {
|
|
134
|
+
return "生成表达式描述时发生了错误,请检查cron表达式语法。";
|
|
135
|
+
};
|
|
136
|
+
zh_CN.prototype.atSpace = function () {
|
|
137
|
+
return "在";
|
|
138
|
+
};
|
|
139
|
+
zh_CN.prototype.everyMinuteBetweenX0AndX1 = function () {
|
|
140
|
+
return "在 %s 至 %s 之间的每分钟";
|
|
141
|
+
};
|
|
142
|
+
zh_CN.prototype.at = function () {
|
|
143
|
+
return "在";
|
|
144
|
+
};
|
|
145
|
+
zh_CN.prototype.spaceAnd = function () {
|
|
146
|
+
return " 和";
|
|
147
|
+
};
|
|
148
|
+
zh_CN.prototype.everySecond = function () {
|
|
149
|
+
return "每秒";
|
|
150
|
+
};
|
|
151
|
+
zh_CN.prototype.everyX0Seconds = function () {
|
|
152
|
+
return "每隔 %s 秒";
|
|
153
|
+
};
|
|
154
|
+
zh_CN.prototype.secondsX0ThroughX1PastTheMinute = function () {
|
|
155
|
+
return "在每分钟的第 %s 到 %s 秒";
|
|
156
|
+
};
|
|
157
|
+
zh_CN.prototype.atX0SecondsPastTheMinute = function () {
|
|
158
|
+
return "在每分钟的第 %s 秒";
|
|
159
|
+
};
|
|
160
|
+
zh_CN.prototype.everyX0Minutes = function () {
|
|
161
|
+
return "每隔 %s 分钟";
|
|
162
|
+
};
|
|
163
|
+
zh_CN.prototype.minutesX0ThroughX1PastTheHour = function () {
|
|
164
|
+
return "在每小时的第 %s 到 %s 分钟";
|
|
165
|
+
};
|
|
166
|
+
zh_CN.prototype.atX0MinutesPastTheHour = function () {
|
|
167
|
+
return "在每小时的第 %s 分钟";
|
|
168
|
+
};
|
|
169
|
+
zh_CN.prototype.everyX0Hours = function () {
|
|
170
|
+
return "每隔 %s 小时";
|
|
171
|
+
};
|
|
172
|
+
zh_CN.prototype.betweenX0AndX1 = function () {
|
|
173
|
+
return "在 %s 和 %s 之间";
|
|
174
|
+
};
|
|
175
|
+
zh_CN.prototype.atX0 = function () {
|
|
176
|
+
return "在%s";
|
|
177
|
+
};
|
|
178
|
+
zh_CN.prototype.commaEveryDay = function () {
|
|
179
|
+
return ", 每天";
|
|
180
|
+
};
|
|
181
|
+
zh_CN.prototype.commaEveryX0DaysOfTheWeek = function () {
|
|
182
|
+
return ", 每周的每 %s 天";
|
|
183
|
+
};
|
|
184
|
+
zh_CN.prototype.commaX0ThroughX1 = function () {
|
|
185
|
+
return ", %s至%s";
|
|
186
|
+
};
|
|
187
|
+
zh_CN.prototype.commaAndX0ThroughX1 = function () {
|
|
188
|
+
return ", 和%s至%s";
|
|
189
|
+
};
|
|
190
|
+
zh_CN.prototype.first = function () {
|
|
191
|
+
return "第一个";
|
|
192
|
+
};
|
|
193
|
+
zh_CN.prototype.second = function () {
|
|
194
|
+
return "第二个";
|
|
195
|
+
};
|
|
196
|
+
zh_CN.prototype.third = function () {
|
|
197
|
+
return "第三个";
|
|
198
|
+
};
|
|
199
|
+
zh_CN.prototype.fourth = function () {
|
|
200
|
+
return "第四个";
|
|
201
|
+
};
|
|
202
|
+
zh_CN.prototype.fifth = function () {
|
|
203
|
+
return "第五个";
|
|
204
|
+
};
|
|
205
|
+
zh_CN.prototype.commaOnThe = function () {
|
|
206
|
+
return ", 限每月的";
|
|
207
|
+
};
|
|
208
|
+
zh_CN.prototype.spaceX0OfTheMonth = function () {
|
|
209
|
+
return "%s";
|
|
210
|
+
};
|
|
211
|
+
zh_CN.prototype.lastDay = function () {
|
|
212
|
+
return "本月最后一天";
|
|
213
|
+
};
|
|
214
|
+
zh_CN.prototype.commaOnTheLastX0OfTheMonth = function () {
|
|
215
|
+
return ", 限每月的最后一个%s";
|
|
216
|
+
};
|
|
217
|
+
zh_CN.prototype.commaOnlyOnX0 = function () {
|
|
218
|
+
return ", 仅%s";
|
|
219
|
+
};
|
|
220
|
+
zh_CN.prototype.commaAndOnX0 = function () {
|
|
221
|
+
return ", 并且为%s";
|
|
222
|
+
};
|
|
223
|
+
zh_CN.prototype.commaEveryX0Months = function () {
|
|
224
|
+
return ", 每隔 %s 个月";
|
|
225
|
+
};
|
|
226
|
+
zh_CN.prototype.commaOnlyInX0 = function () {
|
|
227
|
+
return ", 仅限%s";
|
|
228
|
+
};
|
|
229
|
+
zh_CN.prototype.commaOnlyInMonthX0 = function () {
|
|
230
|
+
return ", 仅于%s份";
|
|
231
|
+
};
|
|
232
|
+
zh_CN.prototype.commaOnlyInYearX0 = function () {
|
|
233
|
+
return ", 仅于 %s 年";
|
|
234
|
+
};
|
|
235
|
+
zh_CN.prototype.commaOnTheLastDayOfTheMonth = function () {
|
|
236
|
+
return ", 限每月的最后一天";
|
|
237
|
+
};
|
|
238
|
+
zh_CN.prototype.commaOnTheLastWeekdayOfTheMonth = function () {
|
|
239
|
+
return ", 限每月的最后一个工作日";
|
|
240
|
+
};
|
|
241
|
+
zh_CN.prototype.commaDaysBeforeTheLastDayOfTheMonth = function () {
|
|
242
|
+
return ", 限每月最后%s天";
|
|
243
|
+
};
|
|
244
|
+
zh_CN.prototype.firstWeekday = function () {
|
|
245
|
+
return "第一个工作日";
|
|
246
|
+
};
|
|
247
|
+
zh_CN.prototype.weekdayNearestDayX0 = function () {
|
|
248
|
+
return "最接近 %s 号的工作日";
|
|
249
|
+
};
|
|
250
|
+
zh_CN.prototype.commaOnTheX0OfTheMonth = function () {
|
|
251
|
+
return ", 限每月的%s";
|
|
252
|
+
};
|
|
253
|
+
zh_CN.prototype.commaEveryX0Days = function () {
|
|
254
|
+
return ", 每隔 %s 天";
|
|
255
|
+
};
|
|
256
|
+
zh_CN.prototype.commaBetweenDayX0AndX1OfTheMonth = function () {
|
|
257
|
+
return ", 限每月的 %s 至 %s 之间";
|
|
258
|
+
};
|
|
259
|
+
zh_CN.prototype.commaOnDayX0OfTheMonth = function () {
|
|
260
|
+
return ", 限每月%s";
|
|
261
|
+
};
|
|
262
|
+
zh_CN.prototype.commaEveryX0Years = function () {
|
|
263
|
+
return ", 每隔 %s 年";
|
|
264
|
+
};
|
|
265
|
+
zh_CN.prototype.commaStartingX0 = function () {
|
|
266
|
+
return ", %s开始";
|
|
267
|
+
};
|
|
268
|
+
zh_CN.prototype.dayX0 = function () {
|
|
269
|
+
return " %s 号";
|
|
270
|
+
};
|
|
271
|
+
zh_CN.prototype.daysOfTheWeek = function () {
|
|
272
|
+
return ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"];
|
|
273
|
+
};
|
|
274
|
+
zh_CN.prototype.monthsOfTheYear = function () {
|
|
275
|
+
return ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"];
|
|
276
|
+
};
|
|
277
|
+
return zh_CN;
|
|
278
|
+
}());
|
|
279
|
+
exports.zh_CN = zh_CN;
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
(cronstrue__WEBPACK_IMPORTED_MODULE_0___default().locales.zh_CN) = new zh_CN();
|
|
283
|
+
|
|
284
|
+
})();
|
|
285
|
+
|
|
286
|
+
/******/ return __webpack_exports__;
|
|
287
|
+
/******/ })()
|
|
288
|
+
;
|
|
289
|
+
});
|
|
@@ -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/zh_CN.min",["cronstrue"],e):"object"==typeof exports?exports["locales/zh_CN.min"]=e(require("cronstrue")):t["locales/zh_CN.min"]=e(t.cronstrue)}(globalThis,(t=>(()=>{"use strict";var e={34: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={};return(()=>{r.r(n);var t=r(34),e=r.n(t),o=n;Object.defineProperty(o,"__esModule",{value:!0}),o.zh_CN=void 0;var u=function(){function t(){}return t.prototype.setPeriodBeforeTime=function(){return!0},t.prototype.pm=function(){return"下午"},t.prototype.am=function(){return"上午"},t.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},t.prototype.atX0MinutesPastTheHourGt20=function(){return null},t.prototype.commaMonthX0ThroughMonthX1=function(){return null},t.prototype.commaYearX0ThroughYearX1=function(){return", 从%s年至%s年"},t.prototype.use24HourTimeFormatByDefault=function(){return!1},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(){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.commaOnlyInMonthX0=function(){return", 仅于%s份"},t.prototype.commaOnlyInYearX0=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.dayX0=function(){return" %s 号"},t.prototype.daysOfTheWeek=function(){return["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]},t.prototype.monthsOfTheYear=function(){return["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},t}();o.zh_CN=u,e().locales.zh_CN=new u})(),n})()));
|
|
@@ -0,0 +1,280 @@
|
|
|
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/zh_TW", ["cronstrue"], factory);
|
|
6
|
+
else if(typeof exports === 'object')
|
|
7
|
+
exports["locales/zh_TW"] = factory(require("cronstrue"));
|
|
8
|
+
else
|
|
9
|
+
root["locales/zh_TW"] = factory(root["cronstrue"]);
|
|
10
|
+
})(globalThis, (__WEBPACK_EXTERNAL_MODULE__34__) => {
|
|
11
|
+
return /******/ (() => { // webpackBootstrap
|
|
12
|
+
/******/ "use strict";
|
|
13
|
+
/******/ var __webpack_modules__ = ({
|
|
14
|
+
|
|
15
|
+
/***/ 34:
|
|
16
|
+
/***/ ((module) => {
|
|
17
|
+
|
|
18
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__34__;
|
|
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
|
+
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
|
92
|
+
(() => {
|
|
93
|
+
__webpack_require__.r(__webpack_exports__);
|
|
94
|
+
/* harmony import */ var cronstrue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(34);
|
|
95
|
+
/* harmony import */ var cronstrue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(cronstrue__WEBPACK_IMPORTED_MODULE_0__);
|
|
96
|
+
var exports = __webpack_exports__;
|
|
97
|
+
"use strict";
|
|
98
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
99
|
+
exports.zh_TW = void 0;
|
|
100
|
+
var zh_TW = (function () {
|
|
101
|
+
function zh_TW() {
|
|
102
|
+
}
|
|
103
|
+
zh_TW.prototype.atX0SecondsPastTheMinuteGt20 = function () {
|
|
104
|
+
return null;
|
|
105
|
+
};
|
|
106
|
+
zh_TW.prototype.atX0MinutesPastTheHourGt20 = function () {
|
|
107
|
+
return null;
|
|
108
|
+
};
|
|
109
|
+
zh_TW.prototype.commaMonthX0ThroughMonthX1 = function () {
|
|
110
|
+
return null;
|
|
111
|
+
};
|
|
112
|
+
zh_TW.prototype.commaYearX0ThroughYearX1 = function () {
|
|
113
|
+
return ", 從 %s 年至 %s 年";
|
|
114
|
+
};
|
|
115
|
+
zh_TW.prototype.use24HourTimeFormatByDefault = function () {
|
|
116
|
+
return false;
|
|
117
|
+
};
|
|
118
|
+
zh_TW.prototype.everyMinute = function () {
|
|
119
|
+
return "每分鐘";
|
|
120
|
+
};
|
|
121
|
+
zh_TW.prototype.everyHour = function () {
|
|
122
|
+
return "每小時";
|
|
123
|
+
};
|
|
124
|
+
zh_TW.prototype.anErrorOccuredWhenGeneratingTheExpressionD = function () {
|
|
125
|
+
return "產生表達式描述時發生了錯誤,請檢查 cron 表達式語法。";
|
|
126
|
+
};
|
|
127
|
+
zh_TW.prototype.atSpace = function () {
|
|
128
|
+
return "在 ";
|
|
129
|
+
};
|
|
130
|
+
zh_TW.prototype.everyMinuteBetweenX0AndX1 = function () {
|
|
131
|
+
return "在 %s 和 %s 之間的每分鐘";
|
|
132
|
+
};
|
|
133
|
+
zh_TW.prototype.at = function () {
|
|
134
|
+
return "在";
|
|
135
|
+
};
|
|
136
|
+
zh_TW.prototype.spaceAnd = function () {
|
|
137
|
+
return " 和";
|
|
138
|
+
};
|
|
139
|
+
zh_TW.prototype.everySecond = function () {
|
|
140
|
+
return "每秒";
|
|
141
|
+
};
|
|
142
|
+
zh_TW.prototype.everyX0Seconds = function () {
|
|
143
|
+
return "每 %s 秒";
|
|
144
|
+
};
|
|
145
|
+
zh_TW.prototype.secondsX0ThroughX1PastTheMinute = function () {
|
|
146
|
+
return "在每分鐘的 %s 到 %s 秒";
|
|
147
|
+
};
|
|
148
|
+
zh_TW.prototype.atX0SecondsPastTheMinute = function () {
|
|
149
|
+
return "在每分鐘的 %s 秒";
|
|
150
|
+
};
|
|
151
|
+
zh_TW.prototype.everyX0Minutes = function () {
|
|
152
|
+
return "每 %s 分鐘";
|
|
153
|
+
};
|
|
154
|
+
zh_TW.prototype.minutesX0ThroughX1PastTheHour = function () {
|
|
155
|
+
return "在每小時的 %s 到 %s 分鐘";
|
|
156
|
+
};
|
|
157
|
+
zh_TW.prototype.atX0MinutesPastTheHour = function () {
|
|
158
|
+
return "在每小時的 %s 分";
|
|
159
|
+
};
|
|
160
|
+
zh_TW.prototype.everyX0Hours = function () {
|
|
161
|
+
return "每 %s 小時";
|
|
162
|
+
};
|
|
163
|
+
zh_TW.prototype.betweenX0AndX1 = function () {
|
|
164
|
+
return "在 %s 和 %s 之間";
|
|
165
|
+
};
|
|
166
|
+
zh_TW.prototype.atX0 = function () {
|
|
167
|
+
return "在 %s";
|
|
168
|
+
};
|
|
169
|
+
zh_TW.prototype.commaEveryDay = function () {
|
|
170
|
+
return ", 每天";
|
|
171
|
+
};
|
|
172
|
+
zh_TW.prototype.commaEveryX0DaysOfTheWeek = function () {
|
|
173
|
+
return ", 每週的每 %s 天";
|
|
174
|
+
};
|
|
175
|
+
zh_TW.prototype.commaX0ThroughX1 = function () {
|
|
176
|
+
return ", %s 到 %s";
|
|
177
|
+
};
|
|
178
|
+
zh_TW.prototype.commaAndX0ThroughX1 = function () {
|
|
179
|
+
return ", 和 %s 到 %s";
|
|
180
|
+
};
|
|
181
|
+
zh_TW.prototype.first = function () {
|
|
182
|
+
return "第一個";
|
|
183
|
+
};
|
|
184
|
+
zh_TW.prototype.second = function () {
|
|
185
|
+
return "第二個";
|
|
186
|
+
};
|
|
187
|
+
zh_TW.prototype.third = function () {
|
|
188
|
+
return "第三個";
|
|
189
|
+
};
|
|
190
|
+
zh_TW.prototype.fourth = function () {
|
|
191
|
+
return "第四個";
|
|
192
|
+
};
|
|
193
|
+
zh_TW.prototype.fifth = function () {
|
|
194
|
+
return "第五個";
|
|
195
|
+
};
|
|
196
|
+
zh_TW.prototype.commaOnThe = function () {
|
|
197
|
+
return ", 在每月 ";
|
|
198
|
+
};
|
|
199
|
+
zh_TW.prototype.spaceX0OfTheMonth = function () {
|
|
200
|
+
return "%s ";
|
|
201
|
+
};
|
|
202
|
+
zh_TW.prototype.lastDay = function () {
|
|
203
|
+
return "最後一天";
|
|
204
|
+
};
|
|
205
|
+
zh_TW.prototype.commaOnTheLastX0OfTheMonth = function () {
|
|
206
|
+
return ", 每月的最後一個 %s ";
|
|
207
|
+
};
|
|
208
|
+
zh_TW.prototype.commaOnlyOnX0 = function () {
|
|
209
|
+
return ", 僅在 %s";
|
|
210
|
+
};
|
|
211
|
+
zh_TW.prototype.commaAndOnX0 = function () {
|
|
212
|
+
return ", 和 %s";
|
|
213
|
+
};
|
|
214
|
+
zh_TW.prototype.commaEveryX0Months = function () {
|
|
215
|
+
return ", 每 %s 月";
|
|
216
|
+
};
|
|
217
|
+
zh_TW.prototype.commaOnlyInX0 = function () {
|
|
218
|
+
return ", 僅在 %s";
|
|
219
|
+
};
|
|
220
|
+
zh_TW.prototype.commaOnlyInMonthX0 = function () {
|
|
221
|
+
return ", 僅在 %s";
|
|
222
|
+
};
|
|
223
|
+
zh_TW.prototype.commaOnlyInYearX0 = function () {
|
|
224
|
+
return ", 僅在 %s 年";
|
|
225
|
+
};
|
|
226
|
+
zh_TW.prototype.commaOnTheLastDayOfTheMonth = function () {
|
|
227
|
+
return ", 每月的最後一天";
|
|
228
|
+
};
|
|
229
|
+
zh_TW.prototype.commaOnTheLastWeekdayOfTheMonth = function () {
|
|
230
|
+
return ", 每月的最後一個工作日";
|
|
231
|
+
};
|
|
232
|
+
zh_TW.prototype.commaDaysBeforeTheLastDayOfTheMonth = function () {
|
|
233
|
+
return ", %s 這個月的最後一天的前幾天";
|
|
234
|
+
};
|
|
235
|
+
zh_TW.prototype.firstWeekday = function () {
|
|
236
|
+
return "第一個工作日";
|
|
237
|
+
};
|
|
238
|
+
zh_TW.prototype.weekdayNearestDayX0 = function () {
|
|
239
|
+
return "最接近 %s 號的工作日";
|
|
240
|
+
};
|
|
241
|
+
zh_TW.prototype.commaOnTheX0OfTheMonth = function () {
|
|
242
|
+
return ", 每月的 %s ";
|
|
243
|
+
};
|
|
244
|
+
zh_TW.prototype.commaEveryX0Days = function () {
|
|
245
|
+
return ", 每 %s 天";
|
|
246
|
+
};
|
|
247
|
+
zh_TW.prototype.commaBetweenDayX0AndX1OfTheMonth = function () {
|
|
248
|
+
return ", 在每月的 %s 和 %s 之間";
|
|
249
|
+
};
|
|
250
|
+
zh_TW.prototype.commaOnDayX0OfTheMonth = function () {
|
|
251
|
+
return ", 每月的 %s";
|
|
252
|
+
};
|
|
253
|
+
zh_TW.prototype.commaEveryX0Years = function () {
|
|
254
|
+
return ", 每 %s 年";
|
|
255
|
+
};
|
|
256
|
+
zh_TW.prototype.commaStartingX0 = function () {
|
|
257
|
+
return ", %s 開始";
|
|
258
|
+
};
|
|
259
|
+
zh_TW.prototype.dayX0 = function () {
|
|
260
|
+
return " %s 號";
|
|
261
|
+
};
|
|
262
|
+
zh_TW.prototype.daysOfTheWeek = function () {
|
|
263
|
+
return ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"];
|
|
264
|
+
};
|
|
265
|
+
zh_TW.prototype.monthsOfTheYear = function () {
|
|
266
|
+
return ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"];
|
|
267
|
+
};
|
|
268
|
+
return zh_TW;
|
|
269
|
+
}());
|
|
270
|
+
exports.zh_TW = zh_TW;
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
(cronstrue__WEBPACK_IMPORTED_MODULE_0___default().locales.zh_TW) = new zh_TW();
|
|
274
|
+
|
|
275
|
+
})();
|
|
276
|
+
|
|
277
|
+
/******/ return __webpack_exports__;
|
|
278
|
+
/******/ })()
|
|
279
|
+
;
|
|
280
|
+
});
|
|
@@ -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/zh_TW.min",["cronstrue"],e):"object"==typeof exports?exports["locales/zh_TW.min"]=e(require("cronstrue")):t["locales/zh_TW.min"]=e(t.cronstrue)}(globalThis,(t=>(()=>{"use strict";var e={34: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={};return(()=>{n.r(r);var t=n(34),e=n.n(t),o=r;Object.defineProperty(o,"__esModule",{value:!0}),o.zh_TW=void 0;var u=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", 從 %s 年至 %s 年"},t.prototype.use24HourTimeFormatByDefault=function(){return!1},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(){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.commaOnlyInMonthX0=function(){return", 僅在 %s"},t.prototype.commaOnlyInYearX0=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.dayX0=function(){return" %s 號"},t.prototype.daysOfTheWeek=function(){return["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]},t.prototype.monthsOfTheYear=function(){return["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},t}();o.zh_TW=u,e().locales.zh_TW=new u})(),r})()));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"name":"cronstrue","title":"cRonstrue","version":"2.27.0","description":"Convert cron expressions into human readable descriptions","author":"Brady Holt","license":"MIT","bugs":{"url":"https://github.com/bradymholt/cronstrue/issues"},"homepage":"https://github.com/bradymholt/cronstrue","keywords":["cron","cronjob","crontab","schedule","parser","cron expression","cron description","pretty cron","cron for humans","cron translated","cron english","cron schedule","cron english","cron schedule"],"main":"dist/cronstrue.js","bin":{"cronstrue":"bin/cli.js"},"typings":"dist/cronstrue.d.ts","files":["dist/","locales/","i18n.js","i18n.d.ts"],"repository":{"type":"git","url":"git+https://github.com/bradymholt/cronstrue.git"},"publishConfig":{"access":"public"},"prettier":{"printWidth":120},"devDependencies":{"@types/chai":"^4.2.11","@types/mocha":"^8.0.0","chai":"^4.2.0","handlebars":"^4.7.6","marked":"^4.0.10","mocha":"^10.1.0","pixl-xml":"^1.0.13","prettier":"^2.1.1","terser-webpack-plugin":"^5.3.1","ts-loader":"^9.2.6","ts-node":"^10.5.0","typescript":"^4.6.2","webpack":"^5.69.1","webpack-cli":"^4.9.2","xml2js":"^0.5.0"},"scripts":{"start":"npm run build","build":"npx tsc -p ./src --emitDeclarationOnly","test":"npx mocha --reporter spec --require ts-node/register \"./test/**/*.ts\"","prepublishOnly":"rm -rf ./dist && ./node_modules/webpack-cli/bin/cli.js && git add -A"},"dependencies":{},"_lastModified":"2023-09-04T12:58:12.634Z"}
|
package/dist/server/antd.js
CHANGED
|
@@ -1,11 +1,30 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
var antd_exports = {};
|
|
19
|
+
__export(antd_exports, {
|
|
20
|
+
getAntdLocale: () => getAntdLocale
|
|
21
|
+
});
|
|
22
|
+
module.exports = __toCommonJS(antd_exports);
|
|
23
|
+
var import_utils = require("@nocobase/utils");
|
|
24
|
+
var import_path = require("path");
|
|
6
25
|
const getAntdLocale = (lang) => {
|
|
7
26
|
const lng = lang.replace("-", "_");
|
|
8
|
-
const files = [
|
|
27
|
+
const files = [(0, import_path.resolve)(__dirname, `../locale/antd/${lng}`)];
|
|
9
28
|
if (process.env.APP_ENV !== "production") {
|
|
10
29
|
files.unshift(`antd/lib/locale/${lng}`);
|
|
11
30
|
files.push(`antd/lib/locale/en_US`);
|
|
@@ -13,12 +32,14 @@ const getAntdLocale = (lang) => {
|
|
|
13
32
|
for (const file of files) {
|
|
14
33
|
try {
|
|
15
34
|
require.resolve(file);
|
|
16
|
-
return
|
|
35
|
+
return (0, import_utils.requireModule)(file);
|
|
17
36
|
} catch (error) {
|
|
18
37
|
continue;
|
|
19
38
|
}
|
|
20
39
|
}
|
|
21
40
|
return {};
|
|
22
41
|
};
|
|
23
|
-
|
|
24
|
-
exports
|
|
42
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
43
|
+
0 && (module.exports = {
|
|
44
|
+
getAntdLocale
|
|
45
|
+
});
|