amis 1.5.6 → 1.5.7
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/lib/index.js +1 -1
- package/lib/renderers/CRUD.js +1 -2
- package/lib/renderers/CRUD.js.map +2 -2
- package/lib/renderers/Form/index.js +2 -1
- package/lib/renderers/Form/index.js.map +2 -2
- package/lib/renderers/Nav.js +4 -1
- package/lib/renderers/Nav.js.map +2 -2
- package/lib/renderers/Table/TableRow.js +4 -1
- package/lib/renderers/Table/TableRow.js.map +2 -2
- package/lib/store/formItem.js +6 -6
- package/lib/store/formItem.js.map +2 -2
- package/lib/store/table.js +1 -1
- package/lib/store/table.js.map +2 -2
- package/lib/themes/cxd-ie11.css +1 -1
- package/lib/themes/cxd.css +1 -1
- package/lib/themes/cxd.css.map +1 -1
- package/lib/themes/default.css +1 -1
- package/lib/themes/default.css.map +1 -1
- package/package.json +2 -2
- package/scss/themes/_cxd-variables.scss +1 -1
- package/sdk/charts.js +13 -13
- package/sdk/codemirror.js +7 -7
- package/sdk/color-picker.js +65 -65
- package/sdk/cropperjs.js +2 -2
- package/sdk/cxd-ie11.css +1 -1
- package/sdk/cxd.css +1 -1
- package/sdk/exceljs.js +1 -1
- package/sdk/markdown.js +69 -69
- package/sdk/papaparse.js +1 -1
- package/sdk/renderers/Form/CityDB.js +1 -1
- package/sdk/rest.js +18 -18
- package/sdk/rich-text.js +62 -62
- package/sdk/sdk-ie11.css +1 -1
- package/sdk/sdk.css +1 -1
- package/sdk/sdk.js +1212 -1212
- package/sdk/thirds/hls.js/hls.js +1 -1
- package/sdk/thirds/mpegts.js/mpegts.js +1 -1
- package/sdk/tinymce.js +57 -57
- package/src/renderers/CRUD.tsx +1 -3
- package/src/renderers/Form/index.tsx +2 -1
- package/src/renderers/Nav.tsx +4 -1
- package/src/renderers/Table/TableRow.tsx +3 -1
- package/src/store/formItem.ts +2 -2
- package/src/store/table.ts +2 -1
package/src/renderers/CRUD.tsx
CHANGED
@@ -1532,9 +1532,7 @@ export default class CRUD extends React.Component<CRUDProps, any> {
|
|
1532
1532
|
renderBulkActions(childProps: any) {
|
1533
1533
|
let {bulkActions, itemActions, store, render, classnames: cx} = this.props;
|
1534
1534
|
|
1535
|
-
|
1536
|
-
|
1537
|
-
if (!items.length || !bulkActions || !bulkActions.length) {
|
1535
|
+
if (!bulkActions || !bulkActions.length) {
|
1538
1536
|
return null;
|
1539
1537
|
}
|
1540
1538
|
|
package/src/renderers/Nav.tsx
CHANGED
@@ -415,7 +415,10 @@ export class Navigation extends React.Component<
|
|
415
415
|
/>
|
416
416
|
) : hasSub ? (
|
417
417
|
<span
|
418
|
-
onClick={
|
418
|
+
onClick={e => {
|
419
|
+
this.toggleLink(link);
|
420
|
+
e.stopPropagation();
|
421
|
+
}}
|
419
422
|
className={cx('Nav-itemToggler', togglerClassName)}
|
420
423
|
>
|
421
424
|
<Icon icon="caret" className="icon" />
|
@@ -45,8 +45,10 @@ export class TableRow extends React.Component<TableRowProps> {
|
|
45
45
|
const {itemAction, onAction, item} = this.props;
|
46
46
|
if (itemAction) {
|
47
47
|
onAction && onAction(e, itemAction, item?.data);
|
48
|
+
item.toggle();
|
49
|
+
} else {
|
50
|
+
this.props.onCheck(this.props.item);
|
48
51
|
}
|
49
|
-
this.props.onCheck(this.props.item);
|
50
52
|
}
|
51
53
|
|
52
54
|
handleAction(e: React.UIEvent<any>, action: Action, ctx: any) {
|
package/src/store/formItem.ts
CHANGED
package/src/store/table.ts
CHANGED
@@ -751,7 +751,8 @@ export const TableStore = iRendererStore
|
|
751
751
|
pristine: item,
|
752
752
|
toggled: item.toggled !== false,
|
753
753
|
breakpoint: item.breakpoint,
|
754
|
-
isPrimary: index === 3
|
754
|
+
isPrimary: index === 3,
|
755
|
+
className: item.className || ''
|
755
756
|
}));
|
756
757
|
|
757
758
|
self.columns.replace(columns as any);
|