@imperosoft/cris-webui-components 1.1.2 → 1.1.3-beta.0

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.mjs CHANGED
@@ -1307,10 +1307,250 @@ function CrisCoDebug({
1307
1307
  );
1308
1308
  }
1309
1309
 
1310
- // src/components/CrisCoMatrixListsTie.tsx
1310
+ // src/components/CrisCoList.tsx
1311
1311
  import { useCustomObject as useCustomObject2, useCustomObjectSend as useCustomObjectSend2 } from "@imperosoft/cris-webui-ch5-core";
1312
1312
  import { jsx as jsx8, jsxs as jsxs7 } from "react/jsx-runtime";
1313
1313
  var colors = {
1314
+ itemBg: "#4f5152",
1315
+ itemActiveBg: "#007ca0",
1316
+ text: "#ffffff",
1317
+ headerText: "#6b7280"
1318
+ };
1319
+ var defaults = {
1320
+ container: {
1321
+ display: "flex",
1322
+ flexDirection: "column",
1323
+ overflow: "hidden",
1324
+ height: "100%",
1325
+ width: "100%",
1326
+ padding: "1rem 2rem",
1327
+ minHeight: 0
1328
+ },
1329
+ header: {
1330
+ fontSize: "1.5em",
1331
+ fontWeight: 700,
1332
+ padding: "0.5rem 0.75rem",
1333
+ textTransform: "uppercase",
1334
+ letterSpacing: "0.05em",
1335
+ color: colors.headerText,
1336
+ flexShrink: 0,
1337
+ textAlign: "center"
1338
+ },
1339
+ scroll: {
1340
+ flex: 1,
1341
+ minHeight: 0,
1342
+ overflow: "auto",
1343
+ scrollbarWidth: "none",
1344
+ WebkitOverflowScrolling: "touch",
1345
+ display: "flex",
1346
+ flexDirection: "column",
1347
+ gap: "0.15rem"
1348
+ },
1349
+ item: {
1350
+ display: "flex",
1351
+ alignItems: "stretch",
1352
+ minHeight: "3.7rem",
1353
+ cursor: "pointer",
1354
+ userSelect: "none",
1355
+ background: colors.itemBg,
1356
+ borderRadius: "0.5rem",
1357
+ transition: "background 0.15s"
1358
+ },
1359
+ itemActive: {
1360
+ background: colors.itemActiveBg
1361
+ },
1362
+ itemBtn: {
1363
+ flex: 1,
1364
+ minWidth: 0,
1365
+ display: "flex",
1366
+ alignItems: "stretch",
1367
+ background: "transparent",
1368
+ border: "none",
1369
+ textAlign: "left",
1370
+ color: colors.text,
1371
+ height: "100%",
1372
+ borderRadius: "0.5rem",
1373
+ cursor: "pointer"
1374
+ },
1375
+ itemBtnInner: {
1376
+ display: "flex",
1377
+ alignItems: "center",
1378
+ gap: "0.4rem",
1379
+ width: "100%",
1380
+ flex: 1,
1381
+ padding: "0.5rem 0.9rem"
1382
+ },
1383
+ idNum: {
1384
+ flexShrink: 0,
1385
+ opacity: 0.6,
1386
+ minWidth: "1.7em",
1387
+ textAlign: "right",
1388
+ fontWeight: 400,
1389
+ marginRight: "0.4em"
1390
+ },
1391
+ itemLabel: {
1392
+ flex: 1,
1393
+ fontSize: "1.4em",
1394
+ fontWeight: 700,
1395
+ whiteSpace: "nowrap",
1396
+ overflow: "hidden",
1397
+ textOverflow: "ellipsis",
1398
+ color: colors.text
1399
+ }
1400
+ };
1401
+ var INJECTED_CSS = `
1402
+ .cris-co-list-scroll::-webkit-scrollbar { display: none; }
1403
+ .cris-co-list-item > div:first-child > .cris-button { width: 100%; height: 100%; }
1404
+ `;
1405
+ var styleInjected = false;
1406
+ function injectStyle() {
1407
+ if (styleInjected) return;
1408
+ styleInjected = true;
1409
+ const style = document.createElement("style");
1410
+ style.textContent = INJECTED_CSS;
1411
+ document.head.appendChild(style);
1412
+ }
1413
+ function ListItemRow({
1414
+ item,
1415
+ selected,
1416
+ showIds,
1417
+ settings,
1418
+ onSelect,
1419
+ renderItem,
1420
+ itemClassName,
1421
+ itemStyle: itemStyleProp,
1422
+ itemActiveClassName,
1423
+ itemActiveStyle,
1424
+ itemDisabledClassName
1425
+ }) {
1426
+ const isEnabled = item.en !== false;
1427
+ const useDefaults = !itemClassName;
1428
+ const classes = [
1429
+ "cris-co-list-item",
1430
+ itemClassName,
1431
+ selected && (itemActiveClassName || "active"),
1432
+ !isEnabled && (itemDisabledClassName || "disabled")
1433
+ ].filter(Boolean).join(" ");
1434
+ const computedStyle = useDefaults ? {
1435
+ ...defaults.item,
1436
+ ...itemStyleProp,
1437
+ ...selected ? { ...defaults.itemActive, ...itemActiveStyle } : void 0,
1438
+ opacity: isEnabled ? 1 : 0.4
1439
+ } : { ...itemStyleProp };
1440
+ if (renderItem) {
1441
+ return /* @__PURE__ */ jsx8("div", { className: classes, style: computedStyle, children: useDefaults ? /* @__PURE__ */ jsx8("div", { style: defaults.itemBtn, children: /* @__PURE__ */ jsx8(
1442
+ CrisButton,
1443
+ {
1444
+ selected,
1445
+ enabled: isEnabled,
1446
+ onPress: onSelect,
1447
+ showLocalFeedback: false,
1448
+ children: renderItem(item, selected, settings)
1449
+ }
1450
+ ) }) : /* @__PURE__ */ jsx8(
1451
+ CrisButton,
1452
+ {
1453
+ selected,
1454
+ enabled: isEnabled,
1455
+ onPress: onSelect,
1456
+ className: `cris-co-list-item-btn ${itemActiveClassName ?? ""}`,
1457
+ classActive: itemActiveClassName,
1458
+ children: renderItem(item, selected, settings)
1459
+ }
1460
+ ) });
1461
+ }
1462
+ return /* @__PURE__ */ jsx8("div", { className: classes, style: computedStyle, children: useDefaults ? /* @__PURE__ */ jsx8("div", { style: defaults.itemBtn, children: /* @__PURE__ */ jsx8(
1463
+ CrisButton,
1464
+ {
1465
+ selected,
1466
+ enabled: isEnabled,
1467
+ onPress: onSelect,
1468
+ showLocalFeedback: false,
1469
+ children: /* @__PURE__ */ jsxs7("div", { style: defaults.itemBtnInner, children: [
1470
+ showIds && /* @__PURE__ */ jsx8("span", { className: "cris-co-list-id", style: defaults.idNum, children: item.id }),
1471
+ /* @__PURE__ */ jsx8("span", { style: defaults.itemLabel, children: item.lb || `Item ${item.id}` })
1472
+ ] })
1473
+ }
1474
+ ) }) : /* @__PURE__ */ jsx8(
1475
+ CrisButton,
1476
+ {
1477
+ selected,
1478
+ enabled: isEnabled,
1479
+ onPress: onSelect,
1480
+ className: `cris-co-list-item-btn ${itemActiveClassName ?? ""}`,
1481
+ classActive: itemActiveClassName,
1482
+ children: /* @__PURE__ */ jsxs7("div", { style: { display: "flex", alignItems: "center", gap: "0.4rem", width: "100%" }, children: [
1483
+ showIds && /* @__PURE__ */ jsx8("span", { className: "cris-co-list-id", style: { flexShrink: 0, opacity: 0.6 }, children: item.id }),
1484
+ /* @__PURE__ */ jsx8("span", { style: { flex: 1, whiteSpace: "nowrap", overflow: "hidden", textOverflow: "ellipsis" }, children: item.lb || `Item ${item.id}` })
1485
+ ] })
1486
+ }
1487
+ ) });
1488
+ }
1489
+ function CrisCoList({
1490
+ oid,
1491
+ title,
1492
+ showIds = true,
1493
+ selectAction = "select",
1494
+ renderItem,
1495
+ className,
1496
+ style,
1497
+ headerClassName,
1498
+ headerStyle,
1499
+ itemClassName,
1500
+ itemStyle,
1501
+ itemActiveClassName,
1502
+ itemActiveStyle,
1503
+ itemDisabledClassName
1504
+ }) {
1505
+ const list = useCustomObject2(oid);
1506
+ const send = useCustomObjectSend2();
1507
+ injectStyle();
1508
+ if (!list) return null;
1509
+ const { st: settings, si, it: items } = list;
1510
+ const visibleItems = items?.filter((item) => item.vs !== false);
1511
+ const handleSelect = (id) => {
1512
+ send(oid, { action: selectAction, id });
1513
+ };
1514
+ return /* @__PURE__ */ jsxs7(
1515
+ "div",
1516
+ {
1517
+ className,
1518
+ style: className ? style : { ...defaults.container, ...style },
1519
+ children: [
1520
+ title && /* @__PURE__ */ jsx8(
1521
+ "div",
1522
+ {
1523
+ className: headerClassName,
1524
+ style: headerClassName ? headerStyle : { ...defaults.header, ...headerStyle },
1525
+ children: title
1526
+ }
1527
+ ),
1528
+ /* @__PURE__ */ jsx8("div", { className: "cris-co-list-scroll", style: defaults.scroll, children: visibleItems?.map((item) => /* @__PURE__ */ jsx8(
1529
+ ListItemRow,
1530
+ {
1531
+ item,
1532
+ selected: si === item.id,
1533
+ showIds,
1534
+ settings,
1535
+ onSelect: () => handleSelect(item.id),
1536
+ renderItem,
1537
+ itemClassName,
1538
+ itemStyle,
1539
+ itemActiveClassName,
1540
+ itemActiveStyle,
1541
+ itemDisabledClassName
1542
+ },
1543
+ item.id
1544
+ )) })
1545
+ ]
1546
+ }
1547
+ );
1548
+ }
1549
+
1550
+ // src/components/CrisCoMatrixListsTie.tsx
1551
+ import { useCustomObject as useCustomObject3, useCustomObjectSend as useCustomObjectSend3 } from "@imperosoft/cris-webui-ch5-core";
1552
+ import { jsx as jsx9, jsxs as jsxs8 } from "react/jsx-runtime";
1553
+ var colors2 = {
1314
1554
  itemBg: "#4f5152",
1315
1555
  itemActiveBg: "#007ca0",
1316
1556
  vmActiveBg: "#dc2626",
@@ -1321,7 +1561,7 @@ var colors = {
1321
1561
  sgOn: "#2196f3",
1322
1562
  sgOff: "#666666"
1323
1563
  };
1324
- var defaults = {
1564
+ var defaults2 = {
1325
1565
  container: {
1326
1566
  display: "flex",
1327
1567
  flexDirection: "row",
@@ -1343,7 +1583,7 @@ var defaults = {
1343
1583
  padding: "0.5rem 0.75rem",
1344
1584
  textTransform: "uppercase",
1345
1585
  letterSpacing: "0.05em",
1346
- color: colors.headerText,
1586
+ color: colors2.headerText,
1347
1587
  flexShrink: 0,
1348
1588
  textAlign: "center"
1349
1589
  },
@@ -1365,12 +1605,12 @@ var defaults = {
1365
1605
  minHeight: "3.7rem",
1366
1606
  cursor: "pointer",
1367
1607
  userSelect: "none",
1368
- background: colors.itemBg,
1608
+ background: colors2.itemBg,
1369
1609
  borderRadius: "0.5rem",
1370
1610
  transition: "background 0.15s"
1371
1611
  },
1372
1612
  itemActive: {
1373
- background: colors.itemActiveBg
1613
+ background: colors2.itemActiveBg
1374
1614
  },
1375
1615
  itemBtn: {
1376
1616
  flex: 1,
@@ -1380,7 +1620,7 @@ var defaults = {
1380
1620
  background: "transparent",
1381
1621
  border: "none",
1382
1622
  textAlign: "left",
1383
- color: colors.text,
1623
+ color: colors2.text,
1384
1624
  height: "100%",
1385
1625
  borderRadius: "0.5rem",
1386
1626
  cursor: "pointer"
@@ -1408,7 +1648,7 @@ var defaults = {
1408
1648
  whiteSpace: "nowrap",
1409
1649
  overflow: "hidden",
1410
1650
  textOverflow: "ellipsis",
1411
- color: colors.text
1651
+ color: colors2.text
1412
1652
  },
1413
1653
  indicators: {
1414
1654
  display: "flex",
@@ -1426,8 +1666,8 @@ var defaults = {
1426
1666
  alignSelf: "stretch",
1427
1667
  display: "flex",
1428
1668
  alignItems: "center",
1429
- background: colors.itemBg,
1430
- color: colors.text,
1669
+ background: colors2.itemBg,
1670
+ color: colors2.text,
1431
1671
  border: "none",
1432
1672
  borderRadius: "0.4rem",
1433
1673
  padding: "0 0.6rem",
@@ -1438,11 +1678,11 @@ var defaults = {
1438
1678
  transition: "background 0.15s"
1439
1679
  },
1440
1680
  vmBtnActive: {
1441
- background: colors.vmActiveBg,
1442
- color: colors.text
1681
+ background: colors2.vmActiveBg,
1682
+ color: colors2.text
1443
1683
  }
1444
1684
  };
1445
- var INJECTED_CSS = `
1685
+ var INJECTED_CSS2 = `
1446
1686
  .cris-co-matrix-scroll::-webkit-scrollbar { display: none; }
1447
1687
  .cris-co-matrix-item > div:first-child > .cris-button { width: 100%; height: 100%; }
1448
1688
  `;
@@ -1451,28 +1691,28 @@ function injectScrollbarStyle() {
1451
1691
  if (scrollbarStyleInjected) return;
1452
1692
  scrollbarStyleInjected = true;
1453
1693
  const style = document.createElement("style");
1454
- style.textContent = INJECTED_CSS;
1694
+ style.textContent = INJECTED_CSS2;
1455
1695
  document.head.appendChild(style);
1456
1696
  }
1457
1697
  function DefaultIoIndicator({ on }) {
1458
- return /* @__PURE__ */ jsx8(
1698
+ return /* @__PURE__ */ jsx9(
1459
1699
  "div",
1460
1700
  {
1461
1701
  style: {
1462
- ...defaults.indicator,
1463
- backgroundColor: on ? colors.ioOn : colors.ioOff
1702
+ ...defaults2.indicator,
1703
+ backgroundColor: on ? colors2.ioOn : colors2.ioOff
1464
1704
  },
1465
1705
  title: on ? "Online" : "Offline"
1466
1706
  }
1467
1707
  );
1468
1708
  }
1469
1709
  function DefaultSignalIndicator({ on }) {
1470
- return /* @__PURE__ */ jsx8(
1710
+ return /* @__PURE__ */ jsx9(
1471
1711
  "div",
1472
1712
  {
1473
1713
  style: {
1474
- ...defaults.indicator,
1475
- backgroundColor: on ? colors.sgOn : colors.sgOff
1714
+ ...defaults2.indicator,
1715
+ backgroundColor: on ? colors2.sgOn : colors2.sgOff
1476
1716
  },
1477
1717
  title: on ? "Signal detected" : "No signal"
1478
1718
  }
@@ -1506,29 +1746,29 @@ function MatrixItemRow({
1506
1746
  !isEnabled && (itemDisabledClassName || "disabled")
1507
1747
  ].filter(Boolean).join(" ");
1508
1748
  const computedStyle = useDefaults ? {
1509
- ...defaults.item,
1749
+ ...defaults2.item,
1510
1750
  ...itemStyleProp,
1511
- ...isActive ? { ...defaults.itemActive, ...itemActiveStyle } : void 0,
1751
+ ...isActive ? { ...defaults2.itemActive, ...itemActiveStyle } : void 0,
1512
1752
  opacity: isEnabled ? 1 : 0.4
1513
1753
  } : { ...itemStyleProp };
1514
- return /* @__PURE__ */ jsxs7("div", { className: classes, style: computedStyle, children: [
1515
- useDefaults ? /* @__PURE__ */ jsx8("div", { style: defaults.itemBtn, children: /* @__PURE__ */ jsx8(
1754
+ return /* @__PURE__ */ jsxs8("div", { className: classes, style: computedStyle, children: [
1755
+ useDefaults ? /* @__PURE__ */ jsx9("div", { style: defaults2.itemBtn, children: /* @__PURE__ */ jsx9(
1516
1756
  CrisButton,
1517
1757
  {
1518
1758
  selected: isActive,
1519
1759
  enabled: isEnabled,
1520
1760
  onPress: onSelect,
1521
1761
  showLocalFeedback: false,
1522
- children: /* @__PURE__ */ jsxs7("div", { style: defaults.itemBtnInner, children: [
1523
- showChannels && /* @__PURE__ */ jsx8("span", { className: "cris-co-matrix-ch", style: defaults.channelNum, children: item.id }),
1524
- /* @__PURE__ */ jsx8("span", { style: defaults.itemLabel, children: item.lb || `${type === "input" ? "Input" : "Output"} ${item.id}` }),
1525
- /* @__PURE__ */ jsxs7("div", { style: defaults.indicators, children: [
1526
- item.io.vs && (renderIoIndicator ? renderIoIndicator(item.io.on) : /* @__PURE__ */ jsx8(DefaultIoIndicator, { on: item.io.on })),
1527
- item.sg.vs && (renderSignalIndicator ? renderSignalIndicator(item.sg.on) : /* @__PURE__ */ jsx8(DefaultSignalIndicator, { on: item.sg.on }))
1762
+ children: /* @__PURE__ */ jsxs8("div", { style: defaults2.itemBtnInner, children: [
1763
+ showChannels && /* @__PURE__ */ jsx9("span", { className: "cris-co-matrix-ch", style: defaults2.channelNum, children: item.id }),
1764
+ /* @__PURE__ */ jsx9("span", { style: defaults2.itemLabel, children: item.lb || `${type === "input" ? "Input" : "Output"} ${item.id}` }),
1765
+ /* @__PURE__ */ jsxs8("div", { style: defaults2.indicators, children: [
1766
+ item.io.vs && (renderIoIndicator ? renderIoIndicator(item.io.on) : /* @__PURE__ */ jsx9(DefaultIoIndicator, { on: item.io.on })),
1767
+ item.sg.vs && (renderSignalIndicator ? renderSignalIndicator(item.sg.on) : /* @__PURE__ */ jsx9(DefaultSignalIndicator, { on: item.sg.on }))
1528
1768
  ] })
1529
1769
  ] })
1530
1770
  }
1531
- ) }) : /* @__PURE__ */ jsx8(
1771
+ ) }) : /* @__PURE__ */ jsx9(
1532
1772
  CrisButton,
1533
1773
  {
1534
1774
  selected: isActive,
@@ -1536,22 +1776,22 @@ function MatrixItemRow({
1536
1776
  onPress: onSelect,
1537
1777
  className: `cris-co-matrix-item-btn ${itemActiveClassName ?? ""}`,
1538
1778
  classActive: itemActiveClassName,
1539
- children: /* @__PURE__ */ jsxs7("div", { style: { display: "flex", alignItems: "center", gap: "0.4rem", width: "100%" }, children: [
1540
- showChannels && /* @__PURE__ */ jsx8("span", { className: "cris-co-matrix-ch", style: { flexShrink: 0, opacity: 0.6 }, children: item.id }),
1541
- /* @__PURE__ */ jsx8("span", { style: { flex: 1, whiteSpace: "nowrap", overflow: "hidden", textOverflow: "ellipsis" }, children: item.lb || `${type === "input" ? "Input" : "Output"} ${item.id}` }),
1542
- /* @__PURE__ */ jsxs7("div", { style: defaults.indicators, children: [
1543
- item.io.vs && (renderIoIndicator ? renderIoIndicator(item.io.on) : /* @__PURE__ */ jsx8(DefaultIoIndicator, { on: item.io.on })),
1544
- item.sg.vs && (renderSignalIndicator ? renderSignalIndicator(item.sg.on) : /* @__PURE__ */ jsx8(DefaultSignalIndicator, { on: item.sg.on }))
1779
+ children: /* @__PURE__ */ jsxs8("div", { style: { display: "flex", alignItems: "center", gap: "0.4rem", width: "100%" }, children: [
1780
+ showChannels && /* @__PURE__ */ jsx9("span", { className: "cris-co-matrix-ch", style: { flexShrink: 0, opacity: 0.6 }, children: item.id }),
1781
+ /* @__PURE__ */ jsx9("span", { style: { flex: 1, whiteSpace: "nowrap", overflow: "hidden", textOverflow: "ellipsis" }, children: item.lb || `${type === "input" ? "Input" : "Output"} ${item.id}` }),
1782
+ /* @__PURE__ */ jsxs8("div", { style: defaults2.indicators, children: [
1783
+ item.io.vs && (renderIoIndicator ? renderIoIndicator(item.io.on) : /* @__PURE__ */ jsx9(DefaultIoIndicator, { on: item.io.on })),
1784
+ item.sg.vs && (renderSignalIndicator ? renderSignalIndicator(item.sg.on) : /* @__PURE__ */ jsx9(DefaultSignalIndicator, { on: item.sg.on }))
1545
1785
  ] })
1546
1786
  ] })
1547
1787
  }
1548
1788
  ),
1549
- item.vm.vs && (useDefaults && !vmButtonClassName ? /* @__PURE__ */ jsx8("div", { style: {
1550
- ...defaults.vmBtn,
1551
- ...item.vm.on ? defaults.vmBtnActive : void 0,
1789
+ item.vm.vs && (useDefaults && !vmButtonClassName ? /* @__PURE__ */ jsx9("div", { style: {
1790
+ ...defaults2.vmBtn,
1791
+ ...item.vm.on ? defaults2.vmBtnActive : void 0,
1552
1792
  opacity: item.vm.en ? 1 : 0.4,
1553
1793
  pointerEvents: item.vm.en ? "auto" : "none"
1554
- }, children: /* @__PURE__ */ jsx8(
1794
+ }, children: /* @__PURE__ */ jsx9(
1555
1795
  CrisButton,
1556
1796
  {
1557
1797
  selected: item.vm.on,
@@ -1560,7 +1800,7 @@ function MatrixItemRow({
1560
1800
  onPress: onToggleVideoMute,
1561
1801
  showLocalFeedback: false
1562
1802
  }
1563
- ) }) : /* @__PURE__ */ jsx8(
1803
+ ) }) : /* @__PURE__ */ jsx9(
1564
1804
  CrisButton,
1565
1805
  {
1566
1806
  selected: item.vm.on,
@@ -1595,8 +1835,8 @@ function CrisCoMatrixListsTie({
1595
1835
  renderIoIndicator,
1596
1836
  renderSignalIndicator
1597
1837
  }) {
1598
- const matrix = useCustomObject2(oid);
1599
- const send = useCustomObjectSend2();
1838
+ const matrix = useCustomObject3(oid);
1839
+ const send = useCustomObjectSend3();
1600
1840
  injectScrollbarStyle();
1601
1841
  if (!matrix) return null;
1602
1842
  const { si, ip: inputs, op: outputs } = matrix;
@@ -1609,27 +1849,27 @@ function CrisCoMatrixListsTie({
1609
1849
  const handleToggleVideoMute = (type, id) => {
1610
1850
  send(oid, { action: "toggleVideoMute", type, id });
1611
1851
  };
1612
- return /* @__PURE__ */ jsxs7(
1852
+ return /* @__PURE__ */ jsxs8(
1613
1853
  "div",
1614
1854
  {
1615
1855
  className,
1616
- style: className ? style : { ...defaults.container, ...style },
1856
+ style: className ? style : { ...defaults2.container, ...style },
1617
1857
  children: [
1618
- /* @__PURE__ */ jsxs7(
1858
+ /* @__PURE__ */ jsxs8(
1619
1859
  "div",
1620
1860
  {
1621
1861
  className: listClassName,
1622
- style: listClassName ? listStyle : { ...defaults.list, ...listStyle },
1862
+ style: listClassName ? listStyle : { ...defaults2.list, ...listStyle },
1623
1863
  children: [
1624
- /* @__PURE__ */ jsx8(
1864
+ /* @__PURE__ */ jsx9(
1625
1865
  "div",
1626
1866
  {
1627
1867
  className: headerClassName,
1628
- style: headerClassName ? headerStyle : { ...defaults.header, ...headerStyle },
1868
+ style: headerClassName ? headerStyle : { ...defaults2.header, ...headerStyle },
1629
1869
  children: inputTitle
1630
1870
  }
1631
1871
  ),
1632
- /* @__PURE__ */ jsx8("div", { className: "cris-co-matrix-scroll", style: defaults.scroll, children: inputs?.map((item) => /* @__PURE__ */ jsx8(
1872
+ /* @__PURE__ */ jsx9("div", { className: "cris-co-matrix-scroll", style: defaults2.scroll, children: inputs?.map((item) => /* @__PURE__ */ jsx9(
1633
1873
  MatrixItemRow,
1634
1874
  {
1635
1875
  item,
@@ -1654,21 +1894,21 @@ function CrisCoMatrixListsTie({
1654
1894
  ]
1655
1895
  }
1656
1896
  ),
1657
- /* @__PURE__ */ jsxs7(
1897
+ /* @__PURE__ */ jsxs8(
1658
1898
  "div",
1659
1899
  {
1660
1900
  className: listClassName,
1661
- style: listClassName ? listStyle : { ...defaults.list, ...listStyle },
1901
+ style: listClassName ? listStyle : { ...defaults2.list, ...listStyle },
1662
1902
  children: [
1663
- /* @__PURE__ */ jsx8(
1903
+ /* @__PURE__ */ jsx9(
1664
1904
  "div",
1665
1905
  {
1666
1906
  className: headerClassName,
1667
- style: headerClassName ? headerStyle : { ...defaults.header, ...headerStyle },
1907
+ style: headerClassName ? headerStyle : { ...defaults2.header, ...headerStyle },
1668
1908
  children: outputTitle
1669
1909
  }
1670
1910
  ),
1671
- /* @__PURE__ */ jsx8("div", { className: "cris-co-matrix-scroll", style: defaults.scroll, children: outputs?.map((item) => /* @__PURE__ */ jsx8(
1911
+ /* @__PURE__ */ jsx9("div", { className: "cris-co-matrix-scroll", style: defaults2.scroll, children: outputs?.map((item) => /* @__PURE__ */ jsx9(
1672
1912
  MatrixItemRow,
1673
1913
  {
1674
1914
  item,
@@ -1700,6 +1940,7 @@ function CrisCoMatrixListsTie({
1700
1940
  export {
1701
1941
  CrisButton,
1702
1942
  CrisCoDebug,
1943
+ CrisCoList,
1703
1944
  CrisCoMatrixListsTie,
1704
1945
  CrisGauge,
1705
1946
  CrisOfflinePage,