@rkmodules/rules 0.0.159 → 0.0.160

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/index.cjs.js CHANGED
@@ -6333,7 +6333,7 @@ var usePrompts = function () {
6333
6333
 
6334
6334
  var InputString = React.memo(function (_a) {
6335
6335
  var value = _a.value, onChange = _a.onChange;
6336
- var _b = __read(useInner(value), 2), inner = _b[0], setInner = _b[1];
6336
+ var _b = __read(useInner.useInner(value), 2), inner = _b[0], setInner = _b[1];
6337
6337
  var handleBlur = React.useCallback(function () {
6338
6338
  if (inner !== value) {
6339
6339
  onChange === null || onChange === void 0 ? void 0 : onChange(inner);
@@ -6352,7 +6352,7 @@ var InputString = React.memo(function (_a) {
6352
6352
 
6353
6353
  var InputText = React.memo(function (_a) {
6354
6354
  var value = _a.value, onChange = _a.onChange;
6355
- var _b = __read(useInner(value), 2), inner = _b[0], setInner = _b[1];
6355
+ var _b = __read(useInner.useInner(value), 2), inner = _b[0], setInner = _b[1];
6356
6356
  var handleBlur = React.useCallback(function () {
6357
6357
  if (inner !== value) {
6358
6358
  onChange === null || onChange === void 0 ? void 0 : onChange(inner);
@@ -6675,7 +6675,7 @@ function GenericNode(_a) {
6675
6675
  var engine = useEngine();
6676
6676
  var _d = __read(React.useState({}), 2), result = _d[0], setResult = _d[1];
6677
6677
  var _e = __read(React.useState(null), 2), duration = _e[0], setDuration = _e[1];
6678
- var _f = __read(useInner(((_c = outputEntries[0]) === null || _c === void 0 ? void 0 : _c[0]) || null, [outputs, data.outputDefs]), 2), focus = _f[0], setFocus = _f[1];
6678
+ var _f = __read(useInner.useInner(((_c = outputEntries[0]) === null || _c === void 0 ? void 0 : _c[0]) || null, [outputs, data.outputDefs]), 2), focus = _f[0], setFocus = _f[1];
6679
6679
  var _g = __read(React.useState(false), 2), showPreview = _g[0], setShowPreview = _g[1];
6680
6680
  var previewValue = focus ? result[focus] : Object.values(result)[0];
6681
6681
  React.useEffect(function () {
@@ -6929,7 +6929,7 @@ var OutputNode = React.memo(function (_a) {
6929
6929
  var paramEntries = Object.entries(data.paramDefs || {});
6930
6930
  var _d = __read(React.useState({}), 2), result = _d[0], setResult = _d[1];
6931
6931
  var _e = __read(React.useState(null), 2), duration = _e[0], setDuration = _e[1];
6932
- var _f = __read(useInner(((_c = outputEntries[0]) === null || _c === void 0 ? void 0 : _c[0]) || null, [data.outputDefs]), 2), focus = _f[0], setFocus = _f[1];
6932
+ var _f = __read(useInner.useInner(((_c = outputEntries[0]) === null || _c === void 0 ? void 0 : _c[0]) || null, [data.outputDefs]), 2), focus = _f[0], setFocus = _f[1];
6933
6933
  var _g = __read(React.useState(false), 2), showPreview = _g[0], setShowPreview = _g[1];
6934
6934
  var previewValue = focus ? result[focus] : Object.values(result)[0];
6935
6935
  React.useEffect(function () {
@@ -7075,7 +7075,7 @@ var NamedInput = function (_a) {
7075
7075
  var paramEntries = Object.entries(data.paramDefs || {});
7076
7076
  var _d = __read(React.useState({}), 2), result = _d[0], setResult = _d[1];
7077
7077
  var _e = __read(React.useState(null), 2), duration = _e[0], setDuration = _e[1];
7078
- var _f = __read(useInner(((_c = outputEntries[0]) === null || _c === void 0 ? void 0 : _c[0]) || null, [data.outputDefs]), 2), focus = _f[0], setFocus = _f[1];
7078
+ var _f = __read(useInner.useInner(((_c = outputEntries[0]) === null || _c === void 0 ? void 0 : _c[0]) || null, [data.outputDefs]), 2), focus = _f[0], setFocus = _f[1];
7079
7079
  var _g = __read(React.useState(false), 2), showPreview = _g[0], setShowPreview = _g[1];
7080
7080
  var previewValue = focus ? result[focus] : Object.values(result)[0];
7081
7081
  React.useEffect(function () {