ywana-core8 0.0.407 → 0.0.410
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/{__reactpreview__ → __previewjs__}/Wrapper.tsx +0 -0
- package/dist/index.cjs +13 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +0 -1
- package/dist/index.css.map +1 -1
- package/dist/index.modern.js +13 -9
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +13 -9
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/preview.config.cjs +35 -0
- package/src/desktop/dektop.test.js +11 -0
- package/src/desktop/desktop.css +6 -0
- package/src/desktop/desktop.js +13 -0
- package/src/desktop/window.css +58 -0
- package/src/desktop/window.js +27 -0
- package/src/domain/ContentEditor.js +1 -1
- package/src/domain/ContentEditor.test.js +9 -5
- package/src/domain/TablePage.js +1 -1
- package/src/html/table.js +3 -1
- package/src/html/table.test.js +15 -5
- package/src/html/tokenfield.css +0 -1
- package/reactpreview.config.js +0 -37
package/dist/index.umd.js
CHANGED
@@ -1440,6 +1440,10 @@
|
|
1440
1440
|
var _useState = React.useState({}),
|
1441
1441
|
sortDir = _useState[0];
|
1442
1442
|
|
1443
|
+
var _useState2 = React.useState(false),
|
1444
|
+
allChecked = _useState2[0],
|
1445
|
+
setAllChecked = _useState2[1];
|
1446
|
+
|
1443
1447
|
function multiSort(array, sortObject) {
|
1444
1448
|
if (sortObject === void 0) {
|
1445
1449
|
sortObject = {};
|
@@ -1495,6 +1499,7 @@
|
|
1495
1499
|
var ids = rows.map(function (row) {
|
1496
1500
|
return row.id;
|
1497
1501
|
});
|
1502
|
+
setAllChecked(value);
|
1498
1503
|
if (onCheckAll) onCheckAll(ids, value);
|
1499
1504
|
}
|
1500
1505
|
|
@@ -1519,7 +1524,8 @@
|
|
1519
1524
|
rowSpan: rowspan,
|
1520
1525
|
colSpan: colspan
|
1521
1526
|
}, id === "checked" ? /*#__PURE__*/React__default["default"].createElement(CheckBox, {
|
1522
|
-
onChange: checkAll
|
1527
|
+
onChange: checkAll,
|
1528
|
+
value: allChecked
|
1523
1529
|
}) : /*#__PURE__*/React__default["default"].createElement(Text, {
|
1524
1530
|
key: "th_" + id
|
1525
1531
|
}, label), sortable ? /*#__PURE__*/React__default["default"].createElement(Icon, {
|
@@ -1567,9 +1573,9 @@
|
|
1567
1573
|
expanded = _props$expanded2 === void 0 ? false : _props$expanded2;
|
1568
1574
|
var className = row.className;
|
1569
1575
|
|
1570
|
-
var
|
1571
|
-
isInfoOpen =
|
1572
|
-
toggleInfo =
|
1576
|
+
var _useState3 = React.useState(expanded),
|
1577
|
+
isInfoOpen = _useState3[0],
|
1578
|
+
toggleInfo = _useState3[1];
|
1573
1579
|
|
1574
1580
|
var infoIcon = isInfoOpen ? 'expand_more' : 'expand_less';
|
1575
1581
|
return /*#__PURE__*/React__default["default"].createElement(React.Fragment, null, /*#__PURE__*/React__default["default"].createElement("tr", {
|
@@ -4150,7 +4156,7 @@
|
|
4150
4156
|
label: label,
|
4151
4157
|
onChange: change,
|
4152
4158
|
readOnly: !editable,
|
4153
|
-
options:
|
4159
|
+
options: buildOptions()
|
4154
4160
|
});
|
4155
4161
|
|
4156
4162
|
default:
|
@@ -5763,11 +5769,9 @@
|
|
5763
5769
|
if (fs[key].filter === false) delete fs[key];
|
5764
5770
|
}
|
5765
5771
|
}
|
5766
|
-
}
|
5772
|
+
} //Object.values(filterSchema).forEach(field => field.section = null)
|
5773
|
+
|
5767
5774
|
|
5768
|
-
Object.values(filterSchema).forEach(function (field) {
|
5769
|
-
return field.section = null;
|
5770
|
-
});
|
5771
5775
|
delete filterSchema.flows;
|
5772
5776
|
return filterSchema;
|
5773
5777
|
}, [schema]);
|