@rkmodules/rules 0.0.95 → 0.0.97

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.
@@ -175,6 +175,7 @@
175
175
  }
176
176
 
177
177
  .NodeContainer_gSdHY input,
178
+ .NodeContainer_gSdHY textarea,
178
179
  .NodeContainer_gSdHY select {
179
180
  border: 1px solid var(--ln);
180
181
  border-radius: 4px;
package/dist/index.esm.js CHANGED
@@ -255,6 +255,9 @@ function broadCast(value) {
255
255
  function getBranch(tree, path) {
256
256
  return tree[path];
257
257
  }
258
+ function getBranches(tree) {
259
+ return Object.values(tree);
260
+ }
258
261
  function getPaths(tree) {
259
262
  return Object.keys(tree);
260
263
  }
@@ -1558,7 +1561,9 @@ var listInput = {
1558
1561
  tree: mapTreeBranch(inputs.list || {}, function (branch) {
1559
1562
  if (!branch || branch.length === 0)
1560
1563
  return DISCARD;
1561
- var allLines = branch.flatMap(function (text) { return text.split("\n"); });
1564
+ var allLines = branch.flatMap(function (text) {
1565
+ return text.replace(/(^[\n\r]+)|([\n\r]+$)/, "").split("\n");
1566
+ });
1562
1567
  if (allLines.every(function (line) { return isBoolStr(line); })) {
1563
1568
  allLines = allLines.map(function (line) { return line.toLowerCase() === "true"; });
1564
1569
  }
@@ -1574,13 +1579,13 @@ var listInput = {
1574
1579
 
1575
1580
  var _a$5;
1576
1581
  var primitives$5 = (_a$5 = {},
1582
+ _a$5[listInput.name] = listInput,
1577
1583
  _a$5[listItem.name] = listItem,
1578
1584
  _a$5[listLength.name] = listLength,
1579
1585
  _a$5[filterList.name] = filterList,
1580
1586
  _a$5[relativeItem.name] = relativeItem,
1581
1587
  _a$5[relativeItems.name] = relativeItems,
1582
1588
  _a$5[concat.name] = concat,
1583
- _a$5[listInput.name] = listInput,
1584
1589
  _a$5);
1585
1590
 
1586
1591
  var splitGroup = {
@@ -7239,5 +7244,5 @@ function DDContext(_a) {
7239
7244
  return React.createElement(DndProvider, { backend: HTML5Backend }, children);
7240
7245
  }
7241
7246
 
7242
- export { DDContext, DISCARD, Engine, Flow, Lib, binaryOnTree, binaryOnTreeBranch, broadCast, expandTree, getBranch, getPaths, getPositions, getReferences, getValue$1 as getValue, getVariable, graftTree, hasReference, interpolate, isReference, isSingleTon, isTree, mapTree, mapTreeBranch, nAryOnTree, nAryOnTreeBranch, normalizeVarDef, parseReference, primitives, sameShape, simplifyTree$1 as simplifyTree, toArray, topSort, treeSize, trimTree, uid$1 as uid, useDraggableNode, useFlow, useFunction, usePositions, useUpdatePositions, useVariable, variableStore };
7247
+ export { DDContext, DISCARD, Engine, Flow, Lib, binaryOnTree, binaryOnTreeBranch, broadCast, expandTree, getBranch, getBranches, getPaths, getPositions, getReferences, getValue$1 as getValue, getVariable, graftTree, hasReference, interpolate, isReference, isSingleTon, isTree, mapTree, mapTreeBranch, nAryOnTree, nAryOnTreeBranch, normalizeVarDef, parseReference, primitives, sameShape, simplifyTree$1 as simplifyTree, toArray, topSort, treeSize, trimTree, uid$1 as uid, useDraggableNode, useFlow, useFunction, usePositions, useUpdatePositions, useVariable, variableStore };
7243
7248
  //# sourceMappingURL=index.esm.js.map