@iobroker/adapter-react-v5 4.11.3 → 4.11.4
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/Components/IconPicker.d.ts +9 -3
- package/Components/IconSelector.d.ts +1 -1
- package/Components/SimpleCron/cron2text.d.ts +4 -6
- package/Components/SimpleCron/cron2text.js +463 -481
- package/Components/SimpleCron/cronText.d.ts +1 -1
- package/Components/SimpleCron/cronText.js +46 -48
- package/Components/SimpleCron/index.d.ts +38 -7
- package/Components/SimpleCron/index.js +579 -729
- package/Components/SimpleCron/jquery.cron.locale.d.ts +28 -1
- package/Components/SimpleCron/jquery.cron.locale.js +530 -336
- package/Dialogs/ComplexCron.d.ts +13 -12
- package/Dialogs/ComplexCron.js +59 -130
- package/Dialogs/Cron.d.ts +17 -14
- package/Dialogs/Cron.js +92 -183
- package/Dialogs/SimpleCron.d.ts +11 -11
- package/Dialogs/SimpleCron.js +49 -119
- package/GenericApp.d.ts +7 -2
- package/GenericApp.js +3 -25
- package/README.md +3 -0
- package/i18n/de.json +2 -1
- package/i18n/en.json +2 -1
- package/i18n/es.json +2 -1
- package/i18n/fr.json +2 -1
- package/i18n/it.json +2 -1
- package/i18n/nl.json +2 -1
- package/i18n/pl.json +2 -1
- package/i18n/pt.json +2 -1
- package/i18n/ru.json +2 -1
- package/i18n/uk.json +2 -1
- package/i18n/zh-cn.json +2 -1
- package/package.json +1 -1
- package/Components/SimpleCron/cron2text.js.map +0 -1
- package/Components/SimpleCron/cronText.js.map +0 -1
- package/Components/SimpleCron/index.js.map +0 -1
- package/Components/SimpleCron/jquery.cron.locale.js.map +0 -1
- package/Dialogs/ComplexCron.js.map +0 -1
- package/Dialogs/Cron.js.map +0 -1
- package/Dialogs/SimpleCron.js.map +0 -1
|
@@ -12,9 +12,15 @@ interface IconPickerProps {
|
|
|
12
12
|
disabled?: boolean;
|
|
13
13
|
/** The icon change callback. */
|
|
14
14
|
onChange: (icon: string) => void;
|
|
15
|
-
icons
|
|
16
|
-
|
|
17
|
-
|
|
15
|
+
icons?: {
|
|
16
|
+
icon?: string;
|
|
17
|
+
src?: string;
|
|
18
|
+
href?: string;
|
|
19
|
+
name?: ioBroker.StringOrTranslated;
|
|
20
|
+
_id?: string;
|
|
21
|
+
}[];
|
|
22
|
+
onlyRooms?: boolean;
|
|
23
|
+
onlyDevices?: boolean;
|
|
18
24
|
}
|
|
19
25
|
declare const IconPicker: (props: IconPickerProps) => React.JSX.Element;
|
|
20
26
|
export default IconPicker;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import { CRON_LOCALE } from './jquery.cron.locale';
|
|
2
2
|
/**
|
|
3
|
-
* Given a
|
|
4
|
-
* @param {string} cronspec
|
|
5
|
-
* @param withSeconds
|
|
6
|
-
* @param {Object=} locale
|
|
3
|
+
* Given a cronSpec, return the human-readable string.
|
|
7
4
|
*/
|
|
8
|
-
declare function cronToText(
|
|
5
|
+
declare function cronToText(cronSpec: string, withSeconds: boolean, locale: CRON_LOCALE): string;
|
|
6
|
+
export default cronToText;
|