ywana-core8 0.0.651 → 0.0.653
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.cjs +6 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +6 -7
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +6 -7
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/TablePage2.js +1 -3
- package/src/html/button.js +2 -2
package/dist/index.umd.js
CHANGED
@@ -362,7 +362,8 @@
|
|
362
362
|
_ref$disabled = _ref.disabled,
|
363
363
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
364
364
|
outlined = _ref.outlined,
|
365
|
-
raised = _ref.raised
|
365
|
+
raised = _ref.raised,
|
366
|
+
className = _ref.className;
|
366
367
|
|
367
368
|
function click(event) {
|
368
369
|
if (!disabled) {
|
@@ -375,7 +376,7 @@
|
|
375
376
|
var style = raised ? 'raised' : outlined ? 'outlined' : 'normal';
|
376
377
|
if (disabled) style = style + " disabled";
|
377
378
|
return /*#__PURE__*/React__default["default"].createElement("button", {
|
378
|
-
className: "btn " + style,
|
379
|
+
className: "btn " + style + " " + className,
|
379
380
|
onClick: click
|
380
381
|
}, icon ? /*#__PURE__*/React__default["default"].createElement(Icon, {
|
381
382
|
icon: icon,
|
@@ -8180,15 +8181,13 @@
|
|
8180
8181
|
/* checked has it´s own handler */
|
8181
8182
|
options: options
|
8182
8183
|
};
|
8184
|
+
}).concat({
|
8185
|
+
id: "actions",
|
8186
|
+
label: "Actions"
|
8183
8187
|
}),
|
8184
8188
|
rows: []
|
8185
8189
|
};
|
8186
8190
|
}, [schema]);
|
8187
|
-
console.log("table add actions column");
|
8188
|
-
table.columns.push({
|
8189
|
-
id: "actions",
|
8190
|
-
label: ""
|
8191
|
-
});
|
8192
8191
|
var items = filter ? filter(all) : all;
|
8193
8192
|
if (items.length === 0) return /*#__PURE__*/React__default["default"].createElement("div", {
|
8194
8193
|
className: "empty-message"
|