@cloudtower/eagle 0.27.73 → 0.27.74
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/cjs/coreX/CronPlan/index.js +30 -13
- package/dist/cjs/stats1.html +1 -1
- package/dist/components.css +2018 -2018
- package/dist/esm/coreX/CronPlan/index.js +27 -10
- package/dist/esm/stats1.html +1 -1
- package/dist/style.css +2300 -2300
- package/package.json +4 -4
- package/dist/stories/changeLng.stories.d.ts +0 -8
|
@@ -8,8 +8,9 @@ var core = require('@linaria/core');
|
|
|
8
8
|
var index = require('../../core/AccordionCard/index.js');
|
|
9
9
|
var index$4 = require('../../core/Button/index.js');
|
|
10
10
|
var index$3 = require('../../core/Fields/index.js');
|
|
11
|
+
var index$5 = require('../../core/ParrotTrans/index.js');
|
|
11
12
|
var index$2 = require('../../core/Switch/index.js');
|
|
12
|
-
var index$
|
|
13
|
+
var index$6 = require('../../core/TimePicker/index.js');
|
|
13
14
|
var index$1 = require('../../core/Typo/index.js');
|
|
14
15
|
var useParrotTranslation = require('../../hooks/useParrotTranslation.js');
|
|
15
16
|
var antd = require('antd');
|
|
@@ -131,12 +132,12 @@ const Daily = ({
|
|
|
131
132
|
daily,
|
|
132
133
|
setDaily
|
|
133
134
|
}) => {
|
|
134
|
-
const {
|
|
135
|
-
t
|
|
136
|
-
} = useParrotTranslation();
|
|
137
135
|
return /* @__PURE__ */React__default.default.createElement("div", {
|
|
138
136
|
className: Wrapper
|
|
139
|
-
},
|
|
137
|
+
}, /* @__PURE__ */React__default.default.createElement(index$5.ParrotTrans, {
|
|
138
|
+
i18nKey: "components.day_execute_task",
|
|
139
|
+
count: daily.step
|
|
140
|
+
}, /* @__PURE__ */React__default.default.createElement(index$3.Int, {
|
|
140
141
|
meta: {},
|
|
141
142
|
input: {
|
|
142
143
|
value: daily.step,
|
|
@@ -150,7 +151,7 @@ const Daily = ({
|
|
|
150
151
|
onFocus() {},
|
|
151
152
|
maxLength: 3
|
|
152
153
|
}
|
|
153
|
-
}),
|
|
154
|
+
}), /* @__PURE__ */React__default.default.createElement(index$6, {
|
|
154
155
|
format: "HH:mm",
|
|
155
156
|
value: daily.time,
|
|
156
157
|
onChange: value => {
|
|
@@ -162,7 +163,7 @@ const Daily = ({
|
|
|
162
163
|
},
|
|
163
164
|
clearIcon: null,
|
|
164
165
|
suffixIcon: null
|
|
165
|
-
})
|
|
166
|
+
})));
|
|
166
167
|
};
|
|
167
168
|
const WEEK_DAYS = t => [{
|
|
168
169
|
value: 1,
|
|
@@ -205,7 +206,15 @@ const Weekly = ({
|
|
|
205
206
|
const week_days = React.useMemo(() => WEEK_DAYS(t), [t]);
|
|
206
207
|
return /* @__PURE__ */React__default.default.createElement("div", {
|
|
207
208
|
className: Wrapper
|
|
208
|
-
},
|
|
209
|
+
}, /* @__PURE__ */React__default.default.createElement(index$5.ParrotTrans, {
|
|
210
|
+
i18nKey: "components.week_with_below_date",
|
|
211
|
+
count: weekly.step,
|
|
212
|
+
values: {
|
|
213
|
+
day: t("components.day_date", {
|
|
214
|
+
count: weekly.days.length
|
|
215
|
+
})
|
|
216
|
+
}
|
|
217
|
+
}, /* @__PURE__ */React__default.default.createElement(index$3.Int, {
|
|
209
218
|
meta: {},
|
|
210
219
|
input: {
|
|
211
220
|
value: weekly.step,
|
|
@@ -219,7 +228,7 @@ const Weekly = ({
|
|
|
219
228
|
onFocus() {},
|
|
220
229
|
maxLength: 3
|
|
221
230
|
}
|
|
222
|
-
})
|
|
231
|
+
})), /* @__PURE__ */React__default.default.createElement("div", {
|
|
223
232
|
className: "options"
|
|
224
233
|
}, week_days.map(d => {
|
|
225
234
|
const active = weekly.days.includes(d.value);
|
|
@@ -231,7 +240,7 @@ const Weekly = ({
|
|
|
231
240
|
days: active ? weekly.days.filter(day => day !== d.value) : weekly.days.concat(d.value).sort((a, b) => a - b)
|
|
232
241
|
}))
|
|
233
242
|
}, d.text);
|
|
234
|
-
})), t("components.execution_time"), /* @__PURE__ */React__default.default.createElement(index$
|
|
243
|
+
})), t("components.execution_time"), /* @__PURE__ */React__default.default.createElement(index$6, {
|
|
235
244
|
style: {
|
|
236
245
|
marginLeft: 0
|
|
237
246
|
},
|
|
@@ -261,7 +270,15 @@ const Monthly = ({
|
|
|
261
270
|
const mark = i18n.language === parrot.ParrotLngs.en ? " , " : "\u3001";
|
|
262
271
|
return /* @__PURE__ */React__default.default.createElement("div", {
|
|
263
272
|
className: Wrapper
|
|
264
|
-
},
|
|
273
|
+
}, /* @__PURE__ */React__default.default.createElement(index$5.ParrotTrans, {
|
|
274
|
+
i18nKey: "components.month_with_below_date",
|
|
275
|
+
count: monthly.step,
|
|
276
|
+
values: {
|
|
277
|
+
day: t("components.day_date", {
|
|
278
|
+
count: monthly.days.length
|
|
279
|
+
})
|
|
280
|
+
}
|
|
281
|
+
}, /* @__PURE__ */React__default.default.createElement(index$3.Int, {
|
|
265
282
|
meta: {},
|
|
266
283
|
input: {
|
|
267
284
|
value: monthly.step,
|
|
@@ -275,7 +292,7 @@ const Monthly = ({
|
|
|
275
292
|
onFocus() {},
|
|
276
293
|
maxLength: 3
|
|
277
294
|
}
|
|
278
|
-
})
|
|
295
|
+
})), /* @__PURE__ */React__default.default.createElement("div", {
|
|
279
296
|
className: "options"
|
|
280
297
|
}, MONTH_DAYS.map(d => {
|
|
281
298
|
const active = monthly.days.includes(d);
|
|
@@ -291,7 +308,7 @@ const Monthly = ({
|
|
|
291
308
|
className: core.cx("help", index$1.Typo.Label.l4_regular)
|
|
292
309
|
}, t("components.will_excute_at_last_day_with_date", {
|
|
293
310
|
date: `${mayNotExistDays.join(mark)} `
|
|
294
|
-
}))), t("components.execution_time"), /* @__PURE__ */React__default.default.createElement(index$
|
|
311
|
+
}))), t("components.execution_time"), /* @__PURE__ */React__default.default.createElement(index$6, {
|
|
295
312
|
style: {
|
|
296
313
|
marginLeft: 0
|
|
297
314
|
},
|