@imperosoft/cris-webui-components 1.1.2-beta.14 → 1.1.2-beta.15
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.js +14 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +14 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1545,22 +1545,31 @@ function MatrixItemRow({
|
|
|
1545
1545
|
opacity: isEnabled ? 1 : 0.4
|
|
1546
1546
|
} : { ...itemStyleProp };
|
|
1547
1547
|
return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: classes, style: computedStyle, children: [
|
|
1548
|
-
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
1548
|
+
useDefaults ? /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { style: defaults.itemBtn, children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
1549
1549
|
CrisButton,
|
|
1550
1550
|
{
|
|
1551
1551
|
selected: isActive,
|
|
1552
1552
|
enabled: isEnabled,
|
|
1553
1553
|
onPress: onSelect,
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
children: useDefaults ? /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { style: defaults.itemBtnInner, children: [
|
|
1554
|
+
showLocalFeedback: false,
|
|
1555
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { style: defaults.itemBtnInner, children: [
|
|
1557
1556
|
showChannels && /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "cris-co-matrix-ch", style: defaults.channelNum, children: item.id }),
|
|
1558
1557
|
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { style: defaults.itemLabel, children: item.lb || `${type === "input" ? "Input" : "Output"} ${item.id}` }),
|
|
1559
1558
|
/* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { style: defaults.indicators, children: [
|
|
1560
1559
|
item.io.vs && (renderIoIndicator ? renderIoIndicator(item.io.on) : /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(DefaultIoIndicator, { on: item.io.on })),
|
|
1561
1560
|
item.sg.vs && (renderSignalIndicator ? renderSignalIndicator(item.sg.on) : /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(DefaultSignalIndicator, { on: item.sg.on }))
|
|
1562
1561
|
] })
|
|
1563
|
-
] })
|
|
1562
|
+
] })
|
|
1563
|
+
}
|
|
1564
|
+
) }) : /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
1565
|
+
CrisButton,
|
|
1566
|
+
{
|
|
1567
|
+
selected: isActive,
|
|
1568
|
+
enabled: isEnabled,
|
|
1569
|
+
onPress: onSelect,
|
|
1570
|
+
className: `cris-co-matrix-item-btn ${itemActiveClassName ?? ""}`,
|
|
1571
|
+
classActive: itemActiveClassName,
|
|
1572
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { style: { display: "flex", alignItems: "center", gap: "0.4rem", width: "100%" }, children: [
|
|
1564
1573
|
showChannels && /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "cris-co-matrix-ch", style: { flexShrink: 0, opacity: 0.6 }, children: item.id }),
|
|
1565
1574
|
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { style: { flex: 1, whiteSpace: "nowrap", overflow: "hidden", textOverflow: "ellipsis" }, children: item.lb || `${type === "input" ? "Input" : "Output"} ${item.id}` }),
|
|
1566
1575
|
/* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { style: defaults.indicators, children: [
|