@rkmodules/rules 0.0.140 → 0.0.142

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.esm.js CHANGED
@@ -1476,14 +1476,14 @@ var stringEqualTo = {
1476
1476
 
1477
1477
  var stringTemplate = {
1478
1478
  name: "stringTemplate",
1479
- label: "String template",
1479
+ label: "String Template",
1480
1480
  description: "Assembles a string from inputs",
1481
1481
  nodeType: "DynamicInput",
1482
1482
  inputs: {
1483
1483
  template: { type: "string", default: "" },
1484
1484
  },
1485
1485
  outputs: {
1486
- tree: "string",
1486
+ tree: { type: "string", label: "string" },
1487
1487
  },
1488
1488
  impl: function (_a, params) { return __awaiter(void 0, void 0, void 0, function () {
1489
1489
  var trees;
@@ -2997,6 +2997,7 @@ var Engine = /** @class */ (function () {
2997
2997
  context = {
2998
2998
  scope: { inputs: inputs },
2999
2999
  inputs: { inputs: inputs },
3000
+ params: { params: params },
3000
3001
  timings: {},
3001
3002
  activations: {},
3002
3003
  };
@@ -3021,6 +3022,7 @@ var Engine = /** @class */ (function () {
3021
3022
  params_1 = fnCall.params || {};
3022
3023
  result_1 = {};
3023
3024
  context.inputs[name_1] = inputs_1;
3025
+ context.params[name_1] = params_1;
3024
3026
  cacheResult = this.checkCache(name_1, inputs_1);
3025
3027
  if (!(cacheResult !== this.cacheMiss)) return [3 /*break*/, 2];
3026
3028
  // use as result
@@ -8319,5 +8321,5 @@ function DDContext(_a) {
8319
8321
  return React.createElement(DndProvider, { backend: HTML5Backend }, children);
8320
8322
  }
8321
8323
 
8322
- export { DDContext, DISCARD, Engine, Flow, FlowContext, GenericNode, Lib, binaryOnTree, binaryOnTreeBranch, broadCast, ensureBranch, expandTree, forEachBranch, forEachItem, getBranch, getBranches, getItem, getPaths, getPositions, getReferences, getValue$1 as getValue, getVariable, graftTree, hasReference, interpolate, isEmpty, isEmptyTree, isReference, isSingleTon, isTree, mapTree, mapTreeBranch, nAryOnTree, nAryOnTreeBranch, normalizePaths, normalizeVarDef, parseReference, primitives, pushItem, sameShape, simplifyTree$1 as simplifyTree, toArray, topSort, treeSize, treeStats, trimTree, uid$1 as uid, useControls, useDraggableNode, useEngine, useFlow, useFunction, useGraphedFunction, usePositions, usePrompts, useUpdatePositions, useVariable, variableStore };
8324
+ export { DDContext, DISCARD, Engine, Flow, FlowContext, GenericNode, Input, Lib, Output, Param, binaryOnTree, binaryOnTreeBranch, broadCast, ensureBranch, expandTree, forEachBranch, forEachItem, getBranch, getBranches, getItem, getPaths, getPositions, getReferences, getValue$1 as getValue, getVariable, graftTree, hasReference, interpolate, isEmpty, isEmptyTree, isReference, isSingleTon, isTree, mapTree, mapTreeBranch, nAryOnTree, nAryOnTreeBranch, normalizePaths, normalizeVarDef, parseReference, primitives, pushItem, sameShape, simplifyTree$1 as simplifyTree, toArray, topSort, treeSize, treeStats, trimTree, uid$1 as uid, useControls, useDraggableNode, useEngine, useFlow, useFunction, useGraphedFunction, usePositions, usePrompts, useUpdatePositions, useVariable, variableStore };
8323
8325
  //# sourceMappingURL=index.esm.js.map