@acorex/modules 20.0.10 → 20.0.11

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.
@@ -5,8 +5,8 @@ import { AXPSearchCommandProvider, createAllQueryView, AXPEntityCommandScope, AX
5
5
  import { AXPEntityService, AXMEntityCrudServiceImpl, AXP_ENTITY_DEFINITION_LOADER } from '@acorex/platform/layout/entity';
6
6
  import * as i4$1 from '@acorex/platform/layout/builder';
7
7
  import { AXPWidgetsCatalog, AXPWidgetGroupEnum, AXP_WIDGETS_EDITOR_CATEGORY, AXPLayoutBuilderModule, AXPValueWidgetComponent } from '@acorex/platform/layout/builder';
8
- import { AXPWidgetsList } from '@acorex/modules/common';
9
8
  import { AXDataSource } from '@acorex/cdk/common';
9
+ import { AXPWidgetsList } from '@acorex/modules/common';
10
10
  import { AXMDataSourceService } from '@acorex/modules/platform-management';
11
11
  import { AXP_NAME_PROPERTY, AXP_DATA_PATH_PROPERTY, AXP_LABEL_PROPERTY, AXP_READONLY_PROPERTY, AXP_DISABLED_PROPERTY } from '@acorex/platform/widgets';
12
12
  import * as i2 from '@acorex/components/button';
@@ -561,7 +561,8 @@ async function queryFactory(injector) {
561
561
  dataSource: new AXDataSource({
562
562
  load: async () => {
563
563
  const items = await dataSourceService.query({
564
- skip: 0, take: 10000
564
+ skip: 0,
565
+ take: 10000,
565
566
  });
566
567
  return { total: items.total, items: items.items };
567
568
  },
@@ -614,7 +615,6 @@ async function queryFactory(injector) {
614
615
  commands: {
615
616
  create: {
616
617
  execute: async (data) => {
617
- debugger;
618
618
  console.log(data.query);
619
619
  const res = await dataService.insertOne(data);
620
620
  return { id: res };
@@ -889,7 +889,7 @@ async function queryFactory(injector) {
889
889
  ],
890
890
  views: [
891
891
  createAllQueryView({
892
- sorts: [{ name: 'name', dir: 'asc' }]
892
+ sorts: [{ name: 'name', dir: 'asc' }],
893
893
  }),
894
894
  ],
895
895
  },