@acorex/platform-generator 20.3.0-next.12 → 20.3.0-next.14
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/package.json +1 -1
- package/src/generators/app-module/files/src/app/modules/layout/layout-root.module.ts.template +2 -2
- package/src/generators/app-module/files/src/app/modules/root/root.module.ts.template +1 -1
- package/src/generators/app-module/files/src/app/modules/root/sample/sample.component.ts.template +2 -2
- package/src/generators/app-module/files/src/app/modules/root/sample/sample.entity.ts.template +1 -1
- package/src/generators/create-module-entity/files/__entityFileName__.entity.ts__tmpl__ +1 -1
- package/src/generators/create-tag-entity/files/tag-__entityFileName__.entity.ts__tmpl__ +1 -1
- package/src/generators/create-widget/files/__fileName__-widget-column.component.ts__tmpl__ +1 -1
- package/src/generators/create-widget/files/__fileName__-widget-edit.component.ts__tmpl__ +1 -1
- package/src/generators/create-widget/files/__fileName__-widget-filter.component.ts__tmpl__ +1 -1
- package/src/generators/create-widget/files/__fileName__-widget-print.component.ts__tmpl__ +1 -1
- package/src/generators/create-widget/files/__fileName__-widget-view.component.ts__tmpl__ +1 -1
- package/src/generators/create-widget/files/__fileName__-widget.config.ts__tmpl__ +2 -2
package/package.json
CHANGED
package/src/generators/app-module/files/src/app/modules/layout/layout-root.module.ts.template
CHANGED
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
AXP_MENU_PROVIDER,
|
|
6
6
|
AXP_PLATFORM_CONFIG_TOKEN,
|
|
7
7
|
} from '@acorex/platform/common';
|
|
8
|
-
import {
|
|
8
|
+
import { AXPWidgetCoreModule, AXPWidgetsCatalog, AXP_WIDGETS_EDITOR_CATEGORY } from '@acorex/platform/layout/widget-core';
|
|
9
9
|
import { AXPEntityModule, AXP_ENTITY_DEFINITION_LOADER } from '@acorex/platform/layout/entity';
|
|
10
10
|
import { AXPDefaultThemeModule } from '@acorex/platform/themes/default';
|
|
11
11
|
import { AXP_THEME_PALETTE_PROVIDER } from '@acorex/platform/themes/shared';
|
|
@@ -22,7 +22,7 @@ import { AXPRootMenuProvider } from './menu.provider';
|
|
|
22
22
|
AXPDefaultThemeModule,
|
|
23
23
|
AXPCommonModule,
|
|
24
24
|
AXPEntityModule,
|
|
25
|
-
|
|
25
|
+
AXPWidgetCoreModule.forChild({
|
|
26
26
|
widgets: [],
|
|
27
27
|
extendedWidgets: [],
|
|
28
28
|
}),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AXPAuthGuard } from '@acorex/platform/auth';
|
|
2
|
-
import { AXPWidgetRegistryService } from '@acorex/platform/layout/
|
|
2
|
+
import { AXPWidgetRegistryService } from '@acorex/platform/layout/widget-core';
|
|
3
3
|
import { AXPRootLayoutComponent } from '@acorex/platform/themes/default';
|
|
4
4
|
import { CommonModule } from '@angular/common';
|
|
5
5
|
import { inject, NgModule } from '@angular/core';
|
package/src/generators/app-module/files/src/app/modules/root/sample/sample.component.ts.template
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AXButtonModule } from '@acorex/components/button';
|
|
2
2
|
import { AXDropdownButtonModule } from '@acorex/components/dropdown-button';
|
|
3
3
|
import { AXGridLayoutBuilderModule } from '@acorex/components/grid-layout-builder';
|
|
4
|
-
import {
|
|
4
|
+
import { AXPWidgetCoreModule } from '@acorex/platform/layout/widget-core';
|
|
5
5
|
import { ChangeDetectionStrategy, Component } from '@angular/core';
|
|
6
6
|
|
|
7
7
|
@Component({
|
|
@@ -15,6 +15,6 @@ import { ChangeDetectionStrategy, Component } from '@angular/core';
|
|
|
15
15
|
}`,
|
|
16
16
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
17
17
|
standalone: true,
|
|
18
|
-
imports: [
|
|
18
|
+
imports: [AXPWidgetCoreModule, AXButtonModule, AXGridLayoutBuilderModule, AXDropdownButtonModule],
|
|
19
19
|
})
|
|
20
20
|
export class SampleComponent {}
|
package/src/generators/app-module/files/src/app/modules/root/sample/sample.entity.ts.template
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AXPEntity, AXPEntityCommandScope, AXPEntityQueryType } from '@acorex/platform/common';
|
|
2
|
-
import { AXPWidgetsCatalog } from '@acorex/platform/layout/
|
|
2
|
+
import { AXPWidgetsCatalog } from '@acorex/platform/layout/widget-core';
|
|
3
3
|
import { Injector } from '@angular/core';
|
|
4
4
|
import { AXMSampleModuleConst } from '../const';
|
|
5
5
|
import { AXMSampleEntityService } from './sample.service';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AXPEntity, AXPEntityCommandScope, AXPEntityQueryType, createAllQueryView } from '@acorex/platform/common';
|
|
2
|
-
import { AXPWidgetsCatalog } from '@acorex/platform/layout/
|
|
2
|
+
import { AXPWidgetsCatalog } from '@acorex/platform/layout/widget-core';
|
|
3
3
|
import { Injector } from '@angular/core';
|
|
4
4
|
import { RootConfig } from '../../const';
|
|
5
5
|
import { AXM<%= entityClassName %>Service } from './<%= entityFileName %>.service';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AXPEntity, AXPEntityCommandScope, AXPEntityQueryType ,createAllQueryView} from '@acorex/platform/common';
|
|
2
|
-
import { AXPWidgetsCatalog } from '@acorex/platform/layout/
|
|
2
|
+
import { AXPWidgetsCatalog } from '@acorex/platform/layout/widget-core';
|
|
3
3
|
import { Injector } from '@angular/core';
|
|
4
4
|
import { RootConfig } from '../../const';
|
|
5
5
|
import { AXMTag<%= entityClassName %>Service } from './tag-<%= entityFileName %>.service';
|
|
@@ -4,7 +4,7 @@ import { AXDecoratorModule } from '@acorex/components/decorators';
|
|
|
4
4
|
import { AXFormModule } from '@acorex/components/form';
|
|
5
5
|
import { AXTextBoxModule } from '@acorex/components/text-box';
|
|
6
6
|
import { AXValidationModule } from '@acorex/core/validation';
|
|
7
|
-
import { AXPWidgetComponent } from '@acorex/platform/layout/
|
|
7
|
+
import { AXPWidgetComponent } from '@acorex/platform/layout/widget-core';
|
|
8
8
|
import { CommonModule } from '@angular/common';
|
|
9
9
|
import { ChangeDetectionStrategy, Component, HostBinding, Signal, computed } from '@angular/core';
|
|
10
10
|
import { FormsModule } from '@angular/forms';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AXPWidgetComponent } from '@acorex/platform/layout/
|
|
1
|
+
import { AXPWidgetComponent } from '@acorex/platform/layout/widget-core';
|
|
2
2
|
import { CommonModule } from '@angular/common';
|
|
3
3
|
import { ChangeDetectionStrategy, Component } from '@angular/core';
|
|
4
4
|
import { FormsModule } from '@angular/forms';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AXPWidgetComponent } from '@acorex/platform/layout/
|
|
1
|
+
import { AXPWidgetComponent } from '@acorex/platform/layout/widget-core';
|
|
2
2
|
import { CommonModule } from '@angular/common';
|
|
3
3
|
import { ChangeDetectionStrategy, Component, computed } from '@angular/core';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AXP_WIDGETS_EDITOR_CATEGORY, AXPWidgetConfig } from '@acorex/platform/layout/
|
|
1
|
+
import { AXP_WIDGETS_EDITOR_CATEGORY, AXPWidgetConfig } from '@acorex/platform/layout/widget-core';
|
|
2
2
|
import { AXP_NAME_PROPERTY } from '../../../properties/general.props';
|
|
3
3
|
import {
|
|
4
4
|
AXP_DATA_PATH_PROPERTY,
|
|
@@ -37,7 +37,7 @@ export const AXP<%= className %>Widget: AXPWidgetConfig = {
|
|
|
37
37
|
},
|
|
38
38
|
},
|
|
39
39
|
};
|
|
40
|
-
declare module '@acorex/platform/layout/
|
|
40
|
+
declare module '@acorex/platform/layout/widget-core' {
|
|
41
41
|
interface AXPWidgetTypesMap {
|
|
42
42
|
<%= propertyName %>: '<%= fileName %>-editor';
|
|
43
43
|
}
|