@imperosoft/cris-webui-components 1.1.2-beta.5 → 1.1.2-beta.7
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.d.mts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1381,6 +1381,7 @@ function DefaultSignalIndicator({ on }) {
|
|
|
1381
1381
|
function MatrixItemRow({
|
|
1382
1382
|
item,
|
|
1383
1383
|
type,
|
|
1384
|
+
showChannels,
|
|
1384
1385
|
onSelect,
|
|
1385
1386
|
onToggleVideoMute,
|
|
1386
1387
|
itemClassName,
|
|
@@ -1417,6 +1418,7 @@ function MatrixItemRow({
|
|
|
1417
1418
|
className: `cris-co-matrix-item-btn ${itemActiveClassName ?? ""}`,
|
|
1418
1419
|
classActive: itemActiveClassName,
|
|
1419
1420
|
children: /* @__PURE__ */ jsxs7("div", { style: { display: "flex", alignItems: "center", gap: 6, width: "100%" }, children: [
|
|
1421
|
+
showChannels && /* @__PURE__ */ jsx8("span", { className: "cris-co-matrix-ch", style: { flexShrink: 0, opacity: 0.6 }, children: item.ch }),
|
|
1420
1422
|
/* @__PURE__ */ jsx8("span", { style: defaults.itemLabel, children: item.lb || `${type === "input" ? "Input" : "Output"} ${item.ch}` }),
|
|
1421
1423
|
/* @__PURE__ */ jsxs7("div", { style: defaults.indicators, children: [
|
|
1422
1424
|
item.io.vs && (renderIoIndicator ? renderIoIndicator(item.io.on) : /* @__PURE__ */ jsx8(DefaultIoIndicator, { on: item.io.on })),
|
|
@@ -1442,6 +1444,7 @@ function CrisCoMatrixListsTie({
|
|
|
1442
1444
|
oid,
|
|
1443
1445
|
inputTitle = "Inputs",
|
|
1444
1446
|
outputTitle = "Outputs",
|
|
1447
|
+
showChannels = true,
|
|
1445
1448
|
className,
|
|
1446
1449
|
style,
|
|
1447
1450
|
listClassName,
|
|
@@ -1496,6 +1499,7 @@ function CrisCoMatrixListsTie({
|
|
|
1496
1499
|
{
|
|
1497
1500
|
item,
|
|
1498
1501
|
type: "input",
|
|
1502
|
+
showChannels,
|
|
1499
1503
|
onSelect: () => handleSelectInput(item.ch),
|
|
1500
1504
|
onToggleVideoMute: () => handleToggleVideoMute("input", item.ch),
|
|
1501
1505
|
itemClassName,
|
|
@@ -1532,6 +1536,7 @@ function CrisCoMatrixListsTie({
|
|
|
1532
1536
|
{
|
|
1533
1537
|
item,
|
|
1534
1538
|
type: "output",
|
|
1539
|
+
showChannels,
|
|
1535
1540
|
onSelect: () => handleTie(item.ch),
|
|
1536
1541
|
onToggleVideoMute: () => handleToggleVideoMute("output", item.ch),
|
|
1537
1542
|
itemClassName,
|