@iobroker/adapter-react-v5 4.5.0 → 4.5.2

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.
@@ -107,7 +107,7 @@ var TextInput = /*#__PURE__*/function (_React$Component) {
107
107
  onClick: function onClick() {
108
108
  return _this2.props.onClose(null);
109
109
  },
110
- startIcon: /*#__PURE__*/_react["default"].createElement(_iconsMaterial.Clos, null)
110
+ startIcon: /*#__PURE__*/_react["default"].createElement(_iconsMaterial.Close, null)
111
111
  }, this.props.cancelText || _i18n["default"].t('ra_Cancel'))));
112
112
  }
113
113
  }]);
@@ -1 +1 @@
1
- {"version":3,"file":"TextInput.js","names":["_react","_interopRequireDefault","require","_propTypes","_material","_iconsMaterial","_i18n","_withWidth","_createSuper","Derived","hasNativeReflectConstruct","_isNativeReflectConstruct","_createSuperInternal","Super","_getPrototypeOf2","result","NewTarget","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn2","sham","Proxy","Boolean","prototype","valueOf","call","e","TextInput","_React$Component","_inherits2","_super","props","_this","_classCallCheck2","state","text","input","value","error","_createClass2","key","render","_this2","createElement","Dialog","open","onClose","fullWidth","undefined","DialogTitle","id","titleText","DialogContent","DialogContentText","promptText","TextField","variant","autoFocus","margin","title","label","labelText","type","onKeyPress","charCode","onChange","verify","target","rule","setState","DialogActions","Button","disabled","onClick","color","startIcon","Check","applyText","I18n","t","Clos","cancelText","React","Component","propTypes","PropTypes","bool","func","isRequired","string","_export","withWidth","_default","exports"],"sources":["TextInput.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\n\nimport {\n Button,\n TextField,\n Dialog,\n DialogActions,\n DialogContent,\n DialogContentText,\n DialogTitle,\n} from '@mui/material';\n\nimport { Clos as IconClose, Check as IconCheck } from '@mui/icons-material';\n\nimport I18n from '../i18n';\n\nimport withWidth from '../Components/withWidth';\n\n/**\n * @typedef {object} TextInputProps\n * @property {(text: string | null) => void} onClose The dialog close callback.\n * @property {string} titleText The title text.\n * @property {string} [promptText] Prompt text (default: empty).\n * @property {string} [labelText] Label text (default: empty).\n * @property {string} cancelText The text of the cancel button.\n * @property {string} applyText The text of the apply button.\n * @property {(text: string) => string} [verify] The verification callback. Return a non-empty string if there was an error.\n * @property {(text: string) => string} [rule] The text replacement callback.\n * @property {'text' | 'number' | 'password' | 'email'} [type] The type of the textbox (default: text).\n * @property {string} [input] The input when opening the dialog.\n *\n * @extends {React.Component<TextInputProps>}\n */\nclass TextInput extends React.Component {\n /**\n * @param {Readonly<TextInputProps>} props\n */\n constructor(props) {\n super(props);\n\n this.state = {\n text: this.props.input || this.props.value || '', // input is deprecated\n error: '',\n };\n }\n\n render() {\n return <Dialog\n open={!0}\n onClose={() => this.props.onClose(null)}\n aria-labelledby=\"form-dialog-title\"\n fullWidth={this.props.fullWidth !== undefined ? this.props.fullWidth : false}\n >\n <DialogTitle id=\"form-dialog-title\">{this.props.titleText}</DialogTitle>\n <DialogContent>\n <DialogContentText>\n {this.props.promptText}\n </DialogContentText>\n <TextField\n variant=\"standard\"\n autoFocus\n margin=\"dense\"\n error={!!this.state.error}\n title={this.state.error}\n value={this.state.text}\n label={this.props.labelText || ''}\n type={this.props.type || 'text'}\n onKeyPress={e => e.charCode === 13 && this.state.text && this.props.onClose(this.state.text)}\n onChange={e => {\n let error = '';\n if (this.props.verify) {\n error = !this.props.verify(e.target.value);\n }\n\n if (this.props.rule) {\n this.setState({ text: this.props.rule(e.target.value), error });\n } else {\n this.setState({ text: e.target.value, error });\n }\n }}\n fullWidth\n />\n </DialogContent>\n <DialogActions>\n <Button\n variant=\"contained\"\n disabled={!this.state.text || this.state.error}\n onClick={() => this.props.onClose(this.state.text)}\n color=\"primary\"\n startIcon={<IconCheck />}\n >\n {this.props.applyText || I18n.t('ra_Ok')}\n </Button>\n <Button\n color=\"grey\"\n variant=\"contained\"\n onClick={() => this.props.onClose(null)}\n startIcon={<IconClose />}\n >\n {this.props.cancelText || I18n.t('ra_Cancel')}\n </Button>\n </DialogActions>\n </Dialog>;\n }\n}\n\nTextInput.propTypes = {\n fullWidth: PropTypes.bool,\n onClose: PropTypes.func.isRequired,\n titleText: PropTypes.string.isRequired,\n promptText: PropTypes.string,\n labelText: PropTypes.string,\n cancelText: PropTypes.string,\n applyText: PropTypes.string,\n verify: PropTypes.func,\n type: PropTypes.string, // text, number, password, email\n value: PropTypes.string,\n};\n\n/** @type {typeof TextInput} */\nconst _export = withWidth()(TextInput);\nexport default _export;\n"],"mappings":";;;;;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAF,sBAAA,CAAAC,OAAA;AAEA,IAAAE,SAAA,GAAAF,OAAA;AAUA,IAAAG,cAAA,GAAAH,OAAA;AAEA,IAAAI,KAAA,GAAAL,sBAAA,CAAAC,OAAA;AAEA,IAAAK,UAAA,GAAAN,sBAAA,CAAAC,OAAA;AAAgD,SAAAM,aAAAC,OAAA,QAAAC,yBAAA,GAAAC,yBAAA,oBAAAC,qBAAA,QAAAC,KAAA,OAAAC,gBAAA,aAAAL,OAAA,GAAAM,MAAA,MAAAL,yBAAA,QAAAM,SAAA,OAAAF,gBAAA,mBAAAG,WAAA,EAAAF,MAAA,GAAAG,OAAA,CAAAC,SAAA,CAAAN,KAAA,EAAAO,SAAA,EAAAJ,SAAA,YAAAD,MAAA,GAAAF,KAAA,CAAAQ,KAAA,OAAAD,SAAA,gBAAAE,2BAAA,mBAAAP,MAAA;AAAA,SAAAJ,0BAAA,eAAAO,OAAA,qBAAAA,OAAA,CAAAC,SAAA,oBAAAD,OAAA,CAAAC,SAAA,CAAAI,IAAA,2BAAAC,KAAA,oCAAAC,OAAA,CAAAC,SAAA,CAAAC,OAAA,CAAAC,IAAA,CAAAV,OAAA,CAAAC,SAAA,CAAAM,OAAA,8CAAAI,CAAA;AAEhD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAdA,IAeM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AACD,UAAU;EACtClC,UAAU,EAAE+B,qBAAS,CAACI,MAAM;EAC5B5B,SAAS,EAAEwB,qBAAS,CAACI,MAAM;EAC3BR,UAAU,EAAEI,qBAAS,CAACI,MAAM;EAC5BZ,SAAS,EAAEQ,qBAAS,CAACI,MAAM;EAC3BvB,MAAM,EAAEmB,qBAAS,CAACE,IAAI;EACtBzB,IAAI,EAAEuB,qBAAS,CAACI,MAAM;EAAE;EACxBpD,KAAK,EAAEgD,qBAAS,CAACI;AACrB,CAAC;;AAED;AACA,IAAMC,OAAO,GAAG,IAAAC,qBAAS,EAAC,CAAC,CAAChE,SAAS,CAAC;AAAC,IAAAiE,QAAA,GACxBF,OAAO;AAAAG,OAAA,cAAAD,QAAA"}
1
+ {"version":3,"file":"TextInput.js","names":["_react","_interopRequireDefault","require","_propTypes","_material","_iconsMaterial","_i18n","_withWidth","_createSuper","Derived","hasNativeReflectConstruct","_isNativeReflectConstruct","_createSuperInternal","Super","_getPrototypeOf2","result","NewTarget","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn2","sham","Proxy","Boolean","prototype","valueOf","call","e","TextInput","_React$Component","_inherits2","_super","props","_this","_classCallCheck2","state","text","input","value","error","_createClass2","key","render","_this2","createElement","Dialog","open","onClose","fullWidth","undefined","DialogTitle","id","titleText","DialogContent","DialogContentText","promptText","TextField","variant","autoFocus","margin","title","label","labelText","type","onKeyPress","charCode","onChange","verify","target","rule","setState","DialogActions","Button","disabled","onClick","color","startIcon","Check","applyText","I18n","t","Close","cancelText","React","Component","propTypes","PropTypes","bool","func","isRequired","string","_export","withWidth","_default","exports"],"sources":["TextInput.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\n\nimport {\n Button,\n TextField,\n Dialog,\n DialogActions,\n DialogContent,\n DialogContentText,\n DialogTitle,\n} from '@mui/material';\n\nimport { Close as IconClose, Check as IconCheck } from '@mui/icons-material';\n\nimport I18n from '../i18n';\n\nimport withWidth from '../Components/withWidth';\n\n/**\n * @typedef {object} TextInputProps\n * @property {(text: string | null) => void} onClose The dialog close callback.\n * @property {string} titleText The title text.\n * @property {string} [promptText] Prompt text (default: empty).\n * @property {string} [labelText] Label text (default: empty).\n * @property {string} cancelText The text of the cancel button.\n * @property {string} applyText The text of the apply button.\n * @property {(text: string) => string} [verify] The verification callback. Return a non-empty string if there was an error.\n * @property {(text: string) => string} [rule] The text replacement callback.\n * @property {'text' | 'number' | 'password' | 'email'} [type] The type of the textbox (default: text).\n * @property {string} [input] The input when opening the dialog.\n *\n * @extends {React.Component<TextInputProps>}\n */\nclass TextInput extends React.Component {\n /**\n * @param {Readonly<TextInputProps>} props\n */\n constructor(props) {\n super(props);\n\n this.state = {\n text: this.props.input || this.props.value || '', // input is deprecated\n error: '',\n };\n }\n\n render() {\n return <Dialog\n open={!0}\n onClose={() => this.props.onClose(null)}\n aria-labelledby=\"form-dialog-title\"\n fullWidth={this.props.fullWidth !== undefined ? this.props.fullWidth : false}\n >\n <DialogTitle id=\"form-dialog-title\">{this.props.titleText}</DialogTitle>\n <DialogContent>\n <DialogContentText>\n {this.props.promptText}\n </DialogContentText>\n <TextField\n variant=\"standard\"\n autoFocus\n margin=\"dense\"\n error={!!this.state.error}\n title={this.state.error}\n value={this.state.text}\n label={this.props.labelText || ''}\n type={this.props.type || 'text'}\n onKeyPress={e => e.charCode === 13 && this.state.text && this.props.onClose(this.state.text)}\n onChange={e => {\n let error = '';\n if (this.props.verify) {\n error = !this.props.verify(e.target.value);\n }\n\n if (this.props.rule) {\n this.setState({ text: this.props.rule(e.target.value), error });\n } else {\n this.setState({ text: e.target.value, error });\n }\n }}\n fullWidth\n />\n </DialogContent>\n <DialogActions>\n <Button\n variant=\"contained\"\n disabled={!this.state.text || this.state.error}\n onClick={() => this.props.onClose(this.state.text)}\n color=\"primary\"\n startIcon={<IconCheck />}\n >\n {this.props.applyText || I18n.t('ra_Ok')}\n </Button>\n <Button\n color=\"grey\"\n variant=\"contained\"\n onClick={() => this.props.onClose(null)}\n startIcon={<IconClose />}\n >\n {this.props.cancelText || I18n.t('ra_Cancel')}\n </Button>\n </DialogActions>\n </Dialog>;\n }\n}\n\nTextInput.propTypes = {\n fullWidth: PropTypes.bool,\n onClose: PropTypes.func.isRequired,\n titleText: PropTypes.string.isRequired,\n promptText: PropTypes.string,\n labelText: PropTypes.string,\n cancelText: PropTypes.string,\n applyText: PropTypes.string,\n verify: PropTypes.func,\n type: PropTypes.string, // text, number, password, email\n value: PropTypes.string,\n};\n\n/** @type {typeof TextInput} */\nconst _export = withWidth()(TextInput);\nexport default _export;\n"],"mappings":";;;;;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAF,sBAAA,CAAAC,OAAA;AAEA,IAAAE,SAAA,GAAAF,OAAA;AAUA,IAAAG,cAAA,GAAAH,OAAA;AAEA,IAAAI,KAAA,GAAAL,sBAAA,CAAAC,OAAA;AAEA,IAAAK,UAAA,GAAAN,sBAAA,CAAAC,OAAA;AAAgD,SAAAM,aAAAC,OAAA,QAAAC,yBAAA,GAAAC,yBAAA,oBAAAC,qBAAA,QAAAC,KAAA,OAAAC,gBAAA,aAAAL,OAAA,GAAAM,MAAA,MAAAL,yBAAA,QAAAM,SAAA,OAAAF,gBAAA,mBAAAG,WAAA,EAAAF,MAAA,GAAAG,OAAA,CAAAC,SAAA,CAAAN,KAAA,EAAAO,SAAA,EAAAJ,SAAA,YAAAD,MAAA,GAAAF,KAAA,CAAAQ,KAAA,OAAAD,SAAA,gBAAAE,2BAAA,mBAAAP,MAAA;AAAA,SAAAJ,0BAAA,eAAAO,OAAA,qBAAAA,OAAA,CAAAC,SAAA,oBAAAD,OAAA,CAAAC,SAAA,CAAAI,IAAA,2BAAAC,KAAA,oCAAAC,OAAA,CAAAC,SAAA,CAAAC,OAAA,CAAAC,IAAA,CAAAV,OAAA,CAAAC,SAAA,CAAAM,OAAA,8CAAAI,CAAA;AAEhD;AACA;AACA;AACA;AACA;AACA;A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ACC,UAAU;EAClCrC,SAAS,EAAEkC,qBAAS,CAACI,MAAM,CAACD,UAAU;EACtClC,UAAU,EAAE+B,qBAAS,CAACI,MAAM;EAC5B5B,SAAS,EAAEwB,qBAAS,CAACI,MAAM;EAC3BR,UAAU,EAAEI,qBAAS,CAACI,MAAM;EAC5BZ,SAAS,EAAEQ,qBAAS,CAACI,MAAM;EAC3BvB,MAAM,EAAEmB,qBAAS,CAACE,IAAI;EACtBzB,IAAI,EAAEuB,qBAAS,CAACI,MAAM;EAAE;EACxBpD,KAAK,EAAEgD,qBAAS,CAACI;AACrB,CAAC;;AAED;AACA,IAAMC,OAAO,GAAG,IAAAC,qBAAS,EAAC,CAAC,CAAChE,SAAS,CAAC;AAAC,IAAAiE,QAAA,GACxBF,OAAO;AAAAG,OAAA,cAAAD,QAAA"}
package/README.md CHANGED
@@ -667,6 +667,12 @@ socket.getObjectViewCustom('custom', 'state', 'startKey', 'endKey')
667
667
  -->
668
668
 
669
669
  ## Changelog
670
+ ### 4.5.2 (2023-08-20)
671
+ * (foxriver76) added missing export of TableResize
672
+
673
+ ### 4.5.1 (2023-08-19)
674
+ * (foxriver76) fix dialog TextInput
675
+
670
676
  ### 4.5.0 (2023-08-18)
671
677
  * (bluefox) Synchronize components with admin
672
678
 
package/index.d.ts CHANGED
@@ -22,6 +22,7 @@ export * from "./Components/SelectWithIcon";
22
22
  export * from "./Components/TabContainer";
23
23
  export * from "./Components/TabContent";
24
24
  export * from "./Components/TabHeader";
25
+ export * from "./Components/TableResize";
25
26
  export * from "./Components/TextWithIcon";
26
27
  export * from "./Components/ToggleThemeMenu";
27
28
  export * from "./Components/TreeTable";
@@ -79,6 +80,7 @@ export { default as SelectWithIcon } from "./Components/SelectWithIcon";
79
80
  export { default as TabContainer } from "./Components/TabContainer";
80
81
  export { default as TabContent } from "./Components/TabContent";
81
82
  export { default as TabHeader } from "./Components/TabHeader";
83
+ export { default as TableResize } from "./Components/TableResize";
82
84
  export { default as TextWithIcon } from "./Components/TextWithIcon";
83
85
  export { default as ToggleThemeMenu } from "./Components/ToggleThemeMenu";
84
86
  export { default as TreeTable } from "./Components/TreeTable";
package/index.js CHANGED
@@ -73,6 +73,9 @@ export * from './Components/TabContent';
73
73
  export { default as TabHeader } from './Components/TabHeader';
74
74
  export * from './Components/TabHeader';
75
75
 
76
+ export { default as TableResize } from './Components/TableResize';
77
+ export * from './Components/TableResize';
78
+
76
79
  export { default as TextWithIcon } from './Components/TextWithIcon';
77
80
  export * from './Components/TextWithIcon';
78
81
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iobroker/adapter-react-v5",
3
- "version": "4.5.0",
3
+ "version": "4.5.2",
4
4
  "description": "React classes to develop admin interfaces for ioBroker with react.",
5
5
  "author": {
6
6
  "name": "bluefox",