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.modern.js
CHANGED
@@ -360,7 +360,8 @@ var Button = function Button(_ref) {
|
|
360
360
|
_ref$disabled = _ref.disabled,
|
361
361
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
362
362
|
outlined = _ref.outlined,
|
363
|
-
raised = _ref.raised
|
363
|
+
raised = _ref.raised,
|
364
|
+
className = _ref.className;
|
364
365
|
|
365
366
|
function click(event) {
|
366
367
|
if (!disabled) {
|
@@ -373,7 +374,7 @@ var Button = function Button(_ref) {
|
|
373
374
|
var style = raised ? 'raised' : outlined ? 'outlined' : 'normal';
|
374
375
|
if (disabled) style = style + " disabled";
|
375
376
|
return /*#__PURE__*/React.createElement("button", {
|
376
|
-
className: "btn " + style,
|
377
|
+
className: "btn " + style + " " + className,
|
377
378
|
onClick: click
|
378
379
|
}, icon ? /*#__PURE__*/React.createElement(Icon, {
|
379
380
|
icon: icon,
|
@@ -8178,15 +8179,13 @@ var TableEditor$1 = function TableEditor(props) {
|
|
8178
8179
|
/* checked has it´s own handler */
|
8179
8180
|
options: options
|
8180
8181
|
};
|
8182
|
+
}).concat({
|
8183
|
+
id: "actions",
|
8184
|
+
label: "Actions"
|
8181
8185
|
}),
|
8182
8186
|
rows: []
|
8183
8187
|
};
|
8184
8188
|
}, [schema]);
|
8185
|
-
console.log("table add actions column");
|
8186
|
-
table.columns.push({
|
8187
|
-
id: "actions",
|
8188
|
-
label: ""
|
8189
|
-
});
|
8190
8189
|
var items = filter ? filter(all) : all;
|
8191
8190
|
if (items.length === 0) return /*#__PURE__*/React.createElement("div", {
|
8192
8191
|
className: "empty-message"
|