@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
|
@@ -4,6 +4,7 @@ import { cx } from '@linaria/core';
|
|
|
4
4
|
import AccordionCard from '../../core/AccordionCard/index.js';
|
|
5
5
|
import Button from '../../core/Button/index.js';
|
|
6
6
|
import fields from '../../core/Fields/index.js';
|
|
7
|
+
import { ParrotTrans } from '../../core/ParrotTrans/index.js';
|
|
7
8
|
import Switch from '../../core/Switch/index.js';
|
|
8
9
|
import TimePicker from '../../core/TimePicker/index.js';
|
|
9
10
|
import { Typo } from '../../core/Typo/index.js';
|
|
@@ -120,12 +121,12 @@ const Daily = ({
|
|
|
120
121
|
daily,
|
|
121
122
|
setDaily
|
|
122
123
|
}) => {
|
|
123
|
-
const {
|
|
124
|
-
t
|
|
125
|
-
} = useParrotTranslation();
|
|
126
124
|
return /* @__PURE__ */React__default.createElement("div", {
|
|
127
125
|
className: Wrapper
|
|
128
|
-
},
|
|
126
|
+
}, /* @__PURE__ */React__default.createElement(ParrotTrans, {
|
|
127
|
+
i18nKey: "components.day_execute_task",
|
|
128
|
+
count: daily.step
|
|
129
|
+
}, /* @__PURE__ */React__default.createElement(fields.Int, {
|
|
129
130
|
meta: {},
|
|
130
131
|
input: {
|
|
131
132
|
value: daily.step,
|
|
@@ -139,7 +140,7 @@ const Daily = ({
|
|
|
139
140
|
onFocus() {},
|
|
140
141
|
maxLength: 3
|
|
141
142
|
}
|
|
142
|
-
}),
|
|
143
|
+
}), /* @__PURE__ */React__default.createElement(TimePicker, {
|
|
143
144
|
format: "HH:mm",
|
|
144
145
|
value: daily.time,
|
|
145
146
|
onChange: value => {
|
|
@@ -151,7 +152,7 @@ const Daily = ({
|
|
|
151
152
|
},
|
|
152
153
|
clearIcon: null,
|
|
153
154
|
suffixIcon: null
|
|
154
|
-
})
|
|
155
|
+
})));
|
|
155
156
|
};
|
|
156
157
|
const WEEK_DAYS = t => [{
|
|
157
158
|
value: 1,
|
|
@@ -194,7 +195,15 @@ const Weekly = ({
|
|
|
194
195
|
const week_days = useMemo(() => WEEK_DAYS(t), [t]);
|
|
195
196
|
return /* @__PURE__ */React__default.createElement("div", {
|
|
196
197
|
className: Wrapper
|
|
197
|
-
},
|
|
198
|
+
}, /* @__PURE__ */React__default.createElement(ParrotTrans, {
|
|
199
|
+
i18nKey: "components.week_with_below_date",
|
|
200
|
+
count: weekly.step,
|
|
201
|
+
values: {
|
|
202
|
+
day: t("components.day_date", {
|
|
203
|
+
count: weekly.days.length
|
|
204
|
+
})
|
|
205
|
+
}
|
|
206
|
+
}, /* @__PURE__ */React__default.createElement(fields.Int, {
|
|
198
207
|
meta: {},
|
|
199
208
|
input: {
|
|
200
209
|
value: weekly.step,
|
|
@@ -208,7 +217,7 @@ const Weekly = ({
|
|
|
208
217
|
onFocus() {},
|
|
209
218
|
maxLength: 3
|
|
210
219
|
}
|
|
211
|
-
})
|
|
220
|
+
})), /* @__PURE__ */React__default.createElement("div", {
|
|
212
221
|
className: "options"
|
|
213
222
|
}, week_days.map(d => {
|
|
214
223
|
const active = weekly.days.includes(d.value);
|
|
@@ -250,7 +259,15 @@ const Monthly = ({
|
|
|
250
259
|
const mark = i18n.language === ParrotLngs.en ? " , " : "\u3001";
|
|
251
260
|
return /* @__PURE__ */React__default.createElement("div", {
|
|
252
261
|
className: Wrapper
|
|
253
|
-
},
|
|
262
|
+
}, /* @__PURE__ */React__default.createElement(ParrotTrans, {
|
|
263
|
+
i18nKey: "components.month_with_below_date",
|
|
264
|
+
count: monthly.step,
|
|
265
|
+
values: {
|
|
266
|
+
day: t("components.day_date", {
|
|
267
|
+
count: monthly.days.length
|
|
268
|
+
})
|
|
269
|
+
}
|
|
270
|
+
}, /* @__PURE__ */React__default.createElement(fields.Int, {
|
|
254
271
|
meta: {},
|
|
255
272
|
input: {
|
|
256
273
|
value: monthly.step,
|
|
@@ -264,7 +281,7 @@ const Monthly = ({
|
|
|
264
281
|
onFocus() {},
|
|
265
282
|
maxLength: 3
|
|
266
283
|
}
|
|
267
|
-
})
|
|
284
|
+
})), /* @__PURE__ */React__default.createElement("div", {
|
|
268
285
|
className: "options"
|
|
269
286
|
}, MONTH_DAYS.map(d => {
|
|
270
287
|
const active = monthly.days.includes(d);
|