@iobroker/adapter-react-v5 7.4.2 → 7.4.3
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/README.md +2 -2
- package/build/Components/FileBrowser.js +1 -1
- package/build/Components/FileBrowser.js.map +1 -1
- package/build/Components/IconPicker.js +0 -1
- package/build/Components/IconPicker.js.map +1 -1
- package/build/Components/Image.js.map +1 -1
- package/build/Components/Logo.js +4 -4
- package/build/Components/Logo.js.map +1 -1
- package/build/Components/ObjectBrowser.d.ts +8 -6
- package/build/Components/ObjectBrowser.js +1 -1
- package/build/Components/ObjectBrowser.js.map +1 -1
- package/build/Components/TextWithIcon.js +0 -1
- package/build/Components/TextWithIcon.js.map +1 -1
- package/build/Components/Utils.js +1 -3
- package/build/Components/Utils.js.map +1 -1
- package/build/Dialogs/SelectID.d.ts +2 -2
- package/build/Dialogs/SelectID.js +1 -1
- package/build/Dialogs/SelectID.js.map +1 -1
- package/build/GenericApp.js +1 -1
- package/build/GenericApp.js.map +1 -1
- package/build/LegacyConnection.d.ts +4 -7
- package/build/LegacyConnection.js +84 -159
- package/build/LegacyConnection.js.map +1 -1
- package/build/index.d.ts +1 -1
- package/build/index.js +1 -1
- package/build/index.js.map +1 -1
- package/build/types.d.ts +80 -0
- package/package.json +13 -13
package/build/index.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ export { Image } from './Components/Image';
|
|
|
16
16
|
export { Loader } from './Components/Loader';
|
|
17
17
|
export { Logo } from './Components/Logo';
|
|
18
18
|
export { MDUtils } from './Components/MDUtils';
|
|
19
|
-
export {
|
|
19
|
+
export { type TreeItemData, type TreeItem, type ObjectBrowserFilter, type ObjectBrowserCustomFilter, type ObjectBrowserColumn, type ObjectBrowserProps, ObjectBrowserClass, ObjectBrowser, getSelectIdIconFromObjects, ITEM_IMAGES, } from './Components/ObjectBrowser';
|
|
20
20
|
export { Router } from './Components/Router';
|
|
21
21
|
export { SaveCloseButtons } from './Components/SaveCloseButtons';
|
|
22
22
|
export { Schedule, type ScheduleConfig } from './Components/Schedule';
|
package/build/index.js
CHANGED
|
@@ -16,7 +16,7 @@ export { Image } from './Components/Image';
|
|
|
16
16
|
export { Loader } from './Components/Loader';
|
|
17
17
|
export { Logo } from './Components/Logo';
|
|
18
18
|
export { MDUtils } from './Components/MDUtils';
|
|
19
|
-
export { ObjectBrowser, getSelectIdIconFromObjects, ITEM_IMAGES,
|
|
19
|
+
export { ObjectBrowserClass, ObjectBrowser, getSelectIdIconFromObjects, ITEM_IMAGES, } from './Components/ObjectBrowser';
|
|
20
20
|
export { Router } from './Components/Router';
|
|
21
21
|
export { SaveCloseButtons } from './Components/SaveCloseButtons';
|
|
22
22
|
export { Schedule } from './Components/Schedule';
|
package/build/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"./src/","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,EAAE,IAAI,EAAE,MAAM,8BAA8B,CAAC;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,EACH,WAAW,EAMX,gBAAgB,GACnB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACH,UAAU,EACV,UAAU,EACV,eAAe,GAGlB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACzE,OAAO,EAAE,YAAY,EAAmB,cAAc,EAAE,MAAM,6B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enericApp';\nexport { I18n } from './i18n';\nexport { printPrompt } from './Prompt';\nexport { ColorPicker } from './Components/ColorPicker';\nexport { ComplexCron } from './Components/ComplexCron';\nexport { copy } from './Components/CopyToClipboard';\nexport { CustomModal } from './Components/CustomModal';\nexport {\n FileBrowser,\n type MetaACL,\n type MetaObject,\n type FileBrowserProps,\n type FolderOrFileItem,\n type Folders,\n FileBrowserClass,\n} from './Components/FileBrowser';\nexport {\n EXTENSIONS,\n FileViewer,\n FileViewerClass,\n type FileViewerProps,\n type FileViewerState,\n} from './Components/FileViewer';\nexport { getSystemIcon, getSelectIdIcon, Icon } from './Components/Icon';\nexport { isDeviceIcon, type DeviceType, IconDeviceType } from './Components/IconDeviceType';\nexport { IconPicker } from './Components/IconPicker';\nexport { IconSelector } from './Components/IconSelector';\nexport { Image } from './Components/Image';\nexport { Loader } from './Components/Loader';\nexport { Logo } from './Components/Logo';\nexport { MDUtils } from './Components/MDUtils';\nexport {\n type TreeItemData,\n type TreeItem,\n type ObjectBrowserFilter,\n type ObjectBrowserCustomFilter,\n type ObjectBrowserColumn,\n type ObjectBrowserProps,\n ObjectBrowserClass,\n ObjectBrowser,\n getSelectIdIconFromObjects,\n ITEM_IMAGES,\n} from './Components/ObjectBrowser';\nexport { Router } from './Components/Router';\nexport { SaveCloseButtons } from './Components/SaveCloseButtons';\nexport { Schedule, type ScheduleConfig } from './Components/Schedule';\nexport { SelectWithIcon } from './Components/SelectWithIcon';\nexport { TabContainer } from './Components/TabContainer';\nexport { TabContent } from './Components/TabContent';\nexport { TabHeader } from './Components/TabHeader';\nexport { TableResize } from './Components/TableResize';\nexport { TextWithIcon } from './Components/TextWithIcon';\nexport { ToggleThemeMenu } from './Components/ToggleThemeMenu';\nexport { TreeTable } from './Components/TreeTable';\nexport { UploadImage } from './Components/UploadImage';\nexport { Utils } from './Components/Utils';\nexport { withWidth } from './Components/withWidth';\nexport { cron2state, SimpleCron } from './Components/SimpleCron';\nexport { convertCronToText } from './Components/SimpleCron/cronText';\nexport { LoaderVendor } from './Components/Loaders/Vendor';\nexport { LoaderPT } from './Components/Loaders/PT';\nexport { LoaderMV } from './Components/Loaders/MV';\nexport { type IconProps } from './icons/IconProps';\nexport { IconAdapter } from './icons/IconAdapter';\nexport { IconAlias } from './icons/IconAlias';\nexport { IconButtonImage } from './icons/IconButtonImage';\nexport { IconChannel } from './icons/IconChannel';\nexport { IconClearFilter } from './icons/IconClearFilter';\nexport { IconClosed } from './icons/IconClosed';\nexport { IconCopy } from './icons/IconCopy';\nexport { IconDevice } from './icons/IconDevice';\nexport { IconDocument } from './icons/IconDocument';\nexport { IconDocumentReadOnly } from './icons/IconDocumentReadOnly';\nexport { IconExpert } from './icons/IconExpert';\nexport { IconFx } from './icons/IconFx';\nexport { IconInstance } from './icons/IconInstance';\nexport { IconLogout } from './icons/IconLogout';\nexport { IconNoIcon } from './icons/IconNoIcon';\nexport { IconOpen } from './icons/IconOpen';\nexport { IconState } from './icons/IconState';\nexport { IconVacuum } from './icons/IconVacuum';\nexport { DialogComplexCron } from './Dialogs/ComplexCron';\nexport { DialogComplexCron as ComplexCronDialog } from './Dialogs/ComplexCron'; // deprecated\nexport { DialogConfirm } from './Dialogs/Confirm';\nexport { DialogConfirm as Confirm } from './Dialogs/Confirm'; // deprecated\nexport { DialogCron } from './Dialogs/Cron';\nexport { DialogCron as Cron } from './Dialogs/Cron'; // deprecated\nexport { DialogError } from './Dialogs/Error';\nexport { DialogError as Error } from './Dialogs/Error'; // deprecated\nexport { DialogMessage } from './Dialogs/Message';\nexport { DialogMessage as Message } from './Dialogs/Message'; // deprecated\nexport { DialogSelectID } from './Dialogs/SelectID';\nexport { DialogSelectID as SelectID } from './Dialogs/SelectID'; // deprecated\nexport { DialogSelectFile } from './Dialogs/SelectFile';\nexport { DialogSelectFile as SelectFile } from './Dialogs/SelectFile'; // deprecated\nexport { DialogSimpleCron } from './Dialogs/SimpleCron';\nexport { DialogSimpleCron as SimpleCronDialog } from './Dialogs/SimpleCron'; // deprecated\nexport { DialogTextInput } from './Dialogs/TextInput';\nexport { DialogTextInput as TextInput } from './Dialogs/TextInput'; // deprecated\nexport { Connection, PROGRESS, ERRORS, PERMISSION_ERROR } from './Connection';\nexport { AdminConnection } from './AdminConnection';\nexport { dictionary } from './dictionary';\nexport {\n LegacyConnection,\n type ConnectOptions,\n type CompactSystemRepositoryEntry,\n type CompactSystemRepository,\n type SocketClient,\n type BinaryStateChangeHandler,\n pattern2RegEx,\n} from './LegacyConnection';\n\nexport {\n type IobUri,\n type IobUriType,\n type IobUriParsed,\n getAttrInObject,\n setAttrInObject,\n iobUriToString,\n iobUriParse,\n iobUriRead,\n} from './Components/IobUri';\n\nexport type {\n Translate,\n ConnectionProps,\n OldObject,\n ObjectChangeHandler,\n ThemeName,\n ThemeType,\n GenericAppProps,\n GenericAppSettings,\n IobTheme,\n Width,\n GenericAppState,\n} from './types';\n"]}
|
package/build/types.d.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import type { JSX, CSSProperties } from 'react';
|
|
2
2
|
import type { Theme as MuiTheme, Palette as MuiPalette } from '@mui/material/styles';
|
|
3
3
|
import type { AdminConnection, Connection } from '@iobroker/socket-client';
|
|
4
|
+
|
|
4
5
|
import type { LegacyConnection } from './LegacyConnection';
|
|
6
|
+
import type Router from './Components/Router';
|
|
5
7
|
|
|
6
8
|
export type Translate = (key: string, ...args: (string | number | boolean)[]) => string;
|
|
7
9
|
|
|
@@ -139,3 +141,81 @@ export interface GenericAppState {
|
|
|
139
141
|
_alertMessage: string | JSX.Element;
|
|
140
142
|
common?: Record<string, any>;
|
|
141
143
|
}
|
|
144
|
+
|
|
145
|
+
export interface ObjectBrowserTableFilter {
|
|
146
|
+
id?: string;
|
|
147
|
+
name?: string;
|
|
148
|
+
room?: string;
|
|
149
|
+
func?: string;
|
|
150
|
+
role?: string;
|
|
151
|
+
expertMode?: boolean;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
export interface ObjectBrowserCustomFilter {
|
|
155
|
+
readonly type?: string | string[];
|
|
156
|
+
readonly common?: {
|
|
157
|
+
readonly type?: string | string[];
|
|
158
|
+
readonly role?: string | string[];
|
|
159
|
+
// If "_" - no custom set
|
|
160
|
+
// If "_dataSources" - only data sources (history, sql, influxdb, ...)
|
|
161
|
+
// Else "telegram." or something like this
|
|
162
|
+
// `true` - If common.custom not empty
|
|
163
|
+
// eslint-disable-next-line @typescript-eslint/no-redundant-type-constituents
|
|
164
|
+
readonly custom?: '_' | '_dataSources' | true | string;
|
|
165
|
+
};
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
export type ObjectBrowserType = 'state' | 'instance' | 'channel' | 'device' | 'chart';
|
|
169
|
+
|
|
170
|
+
export interface ObjectBrowserProps {
|
|
171
|
+
/** The title of the dialog. */
|
|
172
|
+
title: string;
|
|
173
|
+
/** The key to store state in the browser (default: 'App') */
|
|
174
|
+
key?: string;
|
|
175
|
+
/** The CSS classes. */
|
|
176
|
+
classes: Record<string, any>;
|
|
177
|
+
/** Default filters to be applied to the object table. */
|
|
178
|
+
defaultFilters?: ObjectBrowserTableFilter;
|
|
179
|
+
/** The selected ID or IDs. */
|
|
180
|
+
selected?: string | string[];
|
|
181
|
+
/** Callback when object is selected. */
|
|
182
|
+
onSelect?: (selectedItems: string[], name: string, isDouble?: boolean) => void;
|
|
183
|
+
/** The socket connection. */
|
|
184
|
+
socket: Connection;
|
|
185
|
+
/** Show the expert button? */
|
|
186
|
+
showExpertButton?: boolean;
|
|
187
|
+
/** Is expert mode enabled? (default: false) */
|
|
188
|
+
expertMode?: boolean;
|
|
189
|
+
/** Prefix (default: '.') */
|
|
190
|
+
imagePrefix?: string;
|
|
191
|
+
/** Theme name. */
|
|
192
|
+
themeName?: string;
|
|
193
|
+
/** Translation function. */
|
|
194
|
+
t: Translate;
|
|
195
|
+
/** The selected language. */
|
|
196
|
+
lang: ioBroker.Languages;
|
|
197
|
+
/** Allow to select multiple objects? (default: false) */
|
|
198
|
+
multiSelect?: boolean;
|
|
199
|
+
/** Can't objects be edited? (default: false) */
|
|
200
|
+
notEditable?: boolean;
|
|
201
|
+
/** Show folders first? (default: false) */
|
|
202
|
+
foldersFirst?: boolean;
|
|
203
|
+
/** Disable the column selector? (default: false) */
|
|
204
|
+
disableColumnSelector?: boolean;
|
|
205
|
+
/** The custom dialog React component to use */
|
|
206
|
+
objectCustomDialog?: any;
|
|
207
|
+
/** Custom filter. Optional {common: {custom: true}} or {common: {custom: 'sql.0'}} */
|
|
208
|
+
customFilter?: ObjectBrowserCustomFilter;
|
|
209
|
+
/** Custom value React component to use */
|
|
210
|
+
objectBrowserValue?: any;
|
|
211
|
+
/** Custom object editor React component to use */
|
|
212
|
+
objectBrowserEditObject?: any;
|
|
213
|
+
/** Router */
|
|
214
|
+
router?: Router;
|
|
215
|
+
/** Object types to show */
|
|
216
|
+
types?: ObjectBrowserType[];
|
|
217
|
+
/** Columns to display */
|
|
218
|
+
columns?: ObjectBrowserColumn[];
|
|
219
|
+
/** The width of the dialog. */
|
|
220
|
+
width?: Width;
|
|
221
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@iobroker/adapter-react-v5",
|
|
3
|
-
"version": "7.4.
|
|
3
|
+
"version": "7.4.3",
|
|
4
4
|
"description": "React components to develop ioBroker interfaces with react.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "bluefox",
|
|
@@ -54,16 +54,16 @@
|
|
|
54
54
|
"@rollup/rollup-linux-x64-gnu": "*"
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@emotion/react": "^11.13.
|
|
58
|
-
"@emotion/styled": "^11.13.
|
|
57
|
+
"@emotion/react": "^11.13.5",
|
|
58
|
+
"@emotion/styled": "^11.13.5",
|
|
59
59
|
"@iobroker/js-controller-common": "^6.0.11",
|
|
60
|
-
"@iobroker/js-controller-common-db": "
|
|
61
|
-
"@iobroker/socket-client": "^3.1.
|
|
60
|
+
"@iobroker/js-controller-common-db": "6.0.11",
|
|
61
|
+
"@iobroker/socket-client": "^3.1.3",
|
|
62
62
|
"@iobroker/types": "^6.0.11",
|
|
63
|
-
"@mui/icons-material": "^6.1.
|
|
64
|
-
"@mui/material": "^6.1.
|
|
65
|
-
"@sentry/browser": "^8.
|
|
66
|
-
"cronstrue": "^2.
|
|
63
|
+
"@mui/icons-material": "^6.1.9",
|
|
64
|
+
"@mui/material": "^6.1.9",
|
|
65
|
+
"@sentry/browser": "^8.41.0",
|
|
66
|
+
"cronstrue": "^2.52.0",
|
|
67
67
|
"react-color": "^2.19.3",
|
|
68
68
|
"react-colorful": "^5.6.1",
|
|
69
69
|
"react-cropper": "^2.3.3",
|
|
@@ -77,13 +77,13 @@
|
|
|
77
77
|
"@babel/preset-env": "^7.26.0",
|
|
78
78
|
"@babel/preset-flow": "^7.25.9",
|
|
79
79
|
"@babel/preset-react": "^7.25.9",
|
|
80
|
-
"@iobroker/eslint-config": "^0.
|
|
81
|
-
"@types/node": "^22.
|
|
80
|
+
"@iobroker/eslint-config": "^1.0.0",
|
|
81
|
+
"@types/node": "^22.10.1",
|
|
82
82
|
"@types/react": "^18.3.12",
|
|
83
83
|
"@types/react-color": "^3.0.12",
|
|
84
84
|
"ajv": "^8.17.1",
|
|
85
85
|
"ts-node": "^10.9.2",
|
|
86
|
-
"typescript": "^5.
|
|
86
|
+
"typescript": "^5.7.2"
|
|
87
87
|
},
|
|
88
|
-
"gitHead": "
|
|
88
|
+
"gitHead": "a36a282da4418ffd052c700aa871ae9381b087d3"
|
|
89
89
|
}
|