@imperosoft/cris-webui-components 1.1.2-beta.6 → 1.1.2-beta.8
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 +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +14 -14
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +14 -14
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1455,8 +1455,8 @@ function MatrixItemRow({
|
|
|
1455
1455
|
className: `cris-co-matrix-item-btn ${itemActiveClassName ?? ""}`,
|
|
1456
1456
|
classActive: itemActiveClassName,
|
|
1457
1457
|
children: /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { style: { display: "flex", alignItems: "center", gap: 6, width: "100%" }, children: [
|
|
1458
|
-
showChannels && /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { style: { flexShrink: 0, opacity: 0.6 }, children: item.
|
|
1459
|
-
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { style: defaults.itemLabel, children: item.lb || `${type === "input" ? "Input" : "Output"} ${item.
|
|
1458
|
+
showChannels && /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "cris-co-matrix-ch", style: { flexShrink: 0, opacity: 0.6 }, children: item.id }),
|
|
1459
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { style: defaults.itemLabel, children: item.lb || `${type === "input" ? "Input" : "Output"} ${item.id}` }),
|
|
1460
1460
|
/* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { style: defaults.indicators, children: [
|
|
1461
1461
|
item.io.vs && (renderIoIndicator ? renderIoIndicator(item.io.on) : /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(DefaultIoIndicator, { on: item.io.on })),
|
|
1462
1462
|
item.sg.vs && (renderSignalIndicator ? renderSignalIndicator(item.sg.on) : /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(DefaultSignalIndicator, { on: item.sg.on }))
|
|
@@ -1502,14 +1502,14 @@ function CrisCoMatrixListsTie({
|
|
|
1502
1502
|
const send = (0, import_cris_webui_ch5_core8.useCustomObjectSend)();
|
|
1503
1503
|
if (!matrix) return null;
|
|
1504
1504
|
const { ip: inputs, op: outputs } = matrix;
|
|
1505
|
-
const handleSelectInput = (
|
|
1506
|
-
send(oid, { action: "selectInput",
|
|
1505
|
+
const handleSelectInput = (id) => {
|
|
1506
|
+
send(oid, { action: "selectInput", id });
|
|
1507
1507
|
};
|
|
1508
|
-
const handleTie = (
|
|
1509
|
-
send(oid, { action: "tie",
|
|
1508
|
+
const handleTie = (id) => {
|
|
1509
|
+
send(oid, { action: "tie", id });
|
|
1510
1510
|
};
|
|
1511
|
-
const handleToggleVideoMute = (type,
|
|
1512
|
-
send(oid, { action: "toggleVideoMute", type,
|
|
1511
|
+
const handleToggleVideoMute = (type, id) => {
|
|
1512
|
+
send(oid, { action: "toggleVideoMute", type, id });
|
|
1513
1513
|
};
|
|
1514
1514
|
return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
|
|
1515
1515
|
"div",
|
|
@@ -1537,8 +1537,8 @@ function CrisCoMatrixListsTie({
|
|
|
1537
1537
|
item,
|
|
1538
1538
|
type: "input",
|
|
1539
1539
|
showChannels,
|
|
1540
|
-
onSelect: () => handleSelectInput(item.
|
|
1541
|
-
onToggleVideoMute: () => handleToggleVideoMute("input", item.
|
|
1540
|
+
onSelect: () => handleSelectInput(item.id),
|
|
1541
|
+
onToggleVideoMute: () => handleToggleVideoMute("input", item.id),
|
|
1542
1542
|
itemClassName,
|
|
1543
1543
|
itemStyle,
|
|
1544
1544
|
itemActiveClassName,
|
|
@@ -1549,7 +1549,7 @@ function CrisCoMatrixListsTie({
|
|
|
1549
1549
|
renderIoIndicator,
|
|
1550
1550
|
renderSignalIndicator
|
|
1551
1551
|
},
|
|
1552
|
-
item.
|
|
1552
|
+
item.id
|
|
1553
1553
|
)) })
|
|
1554
1554
|
]
|
|
1555
1555
|
}
|
|
@@ -1574,8 +1574,8 @@ function CrisCoMatrixListsTie({
|
|
|
1574
1574
|
item,
|
|
1575
1575
|
type: "output",
|
|
1576
1576
|
showChannels,
|
|
1577
|
-
onSelect: () => handleTie(item.
|
|
1578
|
-
onToggleVideoMute: () => handleToggleVideoMute("output", item.
|
|
1577
|
+
onSelect: () => handleTie(item.id),
|
|
1578
|
+
onToggleVideoMute: () => handleToggleVideoMute("output", item.id),
|
|
1579
1579
|
itemClassName,
|
|
1580
1580
|
itemStyle,
|
|
1581
1581
|
itemActiveClassName,
|
|
@@ -1586,7 +1586,7 @@ function CrisCoMatrixListsTie({
|
|
|
1586
1586
|
renderIoIndicator,
|
|
1587
1587
|
renderSignalIndicator
|
|
1588
1588
|
},
|
|
1589
|
-
item.
|
|
1589
|
+
item.id
|
|
1590
1590
|
)) })
|
|
1591
1591
|
]
|
|
1592
1592
|
}
|