@dignite-ng/expand.cms 0.0.1
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/README.md +24 -0
- package/config/cms-config.module.d.ts +8 -0
- package/config/enums/index.d.ts +1 -0
- package/config/enums/route-names.d.ts +8 -0
- package/config/index.d.ts +5 -0
- package/config/providers/index.d.ts +1 -0
- package/config/providers/route.provider.d.ts +8 -0
- package/config/public-api.d.ts +3 -0
- package/esm2022/config/cms-config.module.mjs +19 -0
- package/esm2022/config/dignite-ng-expand.cms-config.mjs +5 -0
- package/esm2022/config/enums/index.mjs +2 -0
- package/esm2022/config/enums/route-names.mjs +2 -0
- package/esm2022/config/providers/index.mjs +2 -0
- package/esm2022/config/providers/route.provider.mjs +85 -0
- package/esm2022/config/public-api.mjs +4 -0
- package/esm2022/dignite-ng-expand.cms.mjs +5 -0
- package/esm2022/lib/cms-routing.module.mjs +96 -0
- package/esm2022/lib/cms.module.mjs +141 -0
- package/esm2022/lib/components/admin/entries/create-or-edit-entries.component.mjs +227 -0
- package/esm2022/lib/components/admin/entries/create-or-update-entry-input-base.mjs +43 -0
- package/esm2022/lib/components/admin/entries/create.component.mjs +100 -0
- package/esm2022/lib/components/admin/entries/edit.component.mjs +110 -0
- package/esm2022/lib/components/admin/entries/entries.component.mjs +187 -0
- package/esm2022/lib/components/admin/entries/index.mjs +5 -0
- package/esm2022/lib/components/admin/fields/create-field.component.mjs +66 -0
- package/esm2022/lib/components/admin/fields/create-or-edit-field.component.mjs +116 -0
- package/esm2022/lib/components/admin/fields/create-or-update-field-input-base.mjs +25 -0
- package/esm2022/lib/components/admin/fields/edit-field.component.mjs +100 -0
- package/esm2022/lib/components/admin/fields/field-group.component.mjs +124 -0
- package/esm2022/lib/components/admin/fields/fields.component.mjs +108 -0
- package/esm2022/lib/components/admin/fields/index.mjs +7 -0
- package/esm2022/lib/components/admin/index.mjs +5 -0
- package/esm2022/lib/components/admin/sections/create-or-update-sections-input-base.mjs +27 -0
- package/esm2022/lib/components/admin/sections/entry-types/create-or-edit.-entry-type-input-base.mjs +71 -0
- package/esm2022/lib/components/admin/sections/entry-types/create-or-edit.component.mjs +403 -0
- package/esm2022/lib/components/admin/sections/entry-types/index.mjs +3 -0
- package/esm2022/lib/components/admin/sections/index.mjs +4 -0
- package/esm2022/lib/components/admin/sections/sections.component.mjs +305 -0
- package/esm2022/lib/components/admin/sites/create-or-update-sites-input-base.mjs +23 -0
- package/esm2022/lib/components/admin/sites/index.mjs +3 -0
- package/esm2022/lib/components/admin/sites/sites.component.mjs +286 -0
- package/esm2022/lib/components/dynamic-form/entry/entry-config.component.mjs +124 -0
- package/esm2022/lib/components/dynamic-form/entry/entry-config.mjs +18 -0
- package/esm2022/lib/components/dynamic-form/entry/entry-control.component.mjs +114 -0
- package/esm2022/lib/components/dynamic-form/entry/index.mjs +4 -0
- package/esm2022/lib/components/dynamic-form/form-control-group.mjs +30 -0
- package/esm2022/lib/components/dynamic-form/index.mjs +5 -0
- package/esm2022/lib/components/dynamic-form/matrix/index.mjs +4 -0
- package/esm2022/lib/components/dynamic-form/matrix/matrix-config.component.mjs +229 -0
- package/esm2022/lib/components/dynamic-form/matrix/matrix-config.mjs +64 -0
- package/esm2022/lib/components/dynamic-form/matrix/matrix-control.component.mjs +104 -0
- package/esm2022/lib/components/dynamic-form/table/index.mjs +4 -0
- package/esm2022/lib/components/dynamic-form/table/table-config.component.mjs +172 -0
- package/esm2022/lib/components/dynamic-form/table/table-config.mjs +38 -0
- package/esm2022/lib/components/dynamic-form/table/table-control.component.mjs +101 -0
- package/esm2022/lib/components/index.mjs +3 -0
- package/esm2022/lib/constants/index.mjs +2 -0
- package/esm2022/lib/constants/styles.mjs +25 -0
- package/esm2022/lib/enums/ecms-component.mjs +13 -0
- package/esm2022/lib/enums/index.mjs +2 -0
- package/esm2022/lib/proxy/admin/dynamic-forms/form-admin.service.mjs +24 -0
- package/esm2022/lib/proxy/admin/dynamic-forms/index.mjs +3 -0
- package/esm2022/lib/proxy/admin/dynamic-forms/models.mjs +2 -0
- package/esm2022/lib/proxy/admin/entries/entry-admin.service.mjs +67 -0
- package/esm2022/lib/proxy/admin/entries/index.mjs +3 -0
- package/esm2022/lib/proxy/admin/entries/models.mjs +2 -0
- package/esm2022/lib/proxy/admin/fields/field-admin.service.mjs +47 -0
- package/esm2022/lib/proxy/admin/fields/field-group-admin.service.mjs +43 -0
- package/esm2022/lib/proxy/admin/fields/index.mjs +4 -0
- package/esm2022/lib/proxy/admin/fields/models.mjs +2 -0
- package/esm2022/lib/proxy/admin/index.mjs +7 -0
- package/esm2022/lib/proxy/admin/sections/entry-type-admin.service.mjs +43 -0
- package/esm2022/lib/proxy/admin/sections/index.mjs +4 -0
- package/esm2022/lib/proxy/admin/sections/models.mjs +2 -0
- package/esm2022/lib/proxy/admin/sections/section-admin.service.mjs +53 -0
- package/esm2022/lib/proxy/admin/sites/index.mjs +3 -0
- package/esm2022/lib/proxy/admin/sites/models.mjs +2 -0
- package/esm2022/lib/proxy/admin/sites/site-admin.service.mjs +51 -0
- package/esm2022/lib/proxy/dignite/abp/data/index.mjs +2 -0
- package/esm2022/lib/proxy/dignite/abp/data/models.mjs +2 -0
- package/esm2022/lib/proxy/dignite/abp/index.mjs +3 -0
- package/esm2022/lib/proxy/dignite/file-explorer/directories/file-descriptor.service.mjs +48 -0
- package/esm2022/lib/proxy/dignite/file-explorer/directories/index.mjs +3 -0
- package/esm2022/lib/proxy/dignite/file-explorer/directories/models.mjs +2 -0
- package/esm2022/lib/proxy/dignite/file-explorer/files/file-descriptor.service.mjs +60 -0
- package/esm2022/lib/proxy/dignite/file-explorer/files/index.mjs +3 -0
- package/esm2022/lib/proxy/dignite/file-explorer/files/models.mjs +2 -0
- package/esm2022/lib/proxy/dignite/file-explorer/index.mjs +4 -0
- package/esm2022/lib/proxy/dignite/index.mjs +4 -0
- package/esm2022/lib/proxy/entries/entry-status.enum.mjs +8 -0
- package/esm2022/lib/proxy/entries/index.mjs +2 -0
- package/esm2022/lib/proxy/fields/index.mjs +2 -0
- package/esm2022/lib/proxy/fields/models.mjs +2 -0
- package/esm2022/lib/proxy/index.mjs +10 -0
- package/esm2022/lib/proxy/microsoft/asp-net-core/index.mjs +3 -0
- package/esm2022/lib/proxy/microsoft/asp-net-core/mvc/index.mjs +2 -0
- package/esm2022/lib/proxy/microsoft/asp-net-core/mvc/models.mjs +2 -0
- package/esm2022/lib/proxy/microsoft/extensions/index.mjs +3 -0
- package/esm2022/lib/proxy/microsoft/extensions/primitives/index.mjs +2 -0
- package/esm2022/lib/proxy/microsoft/extensions/primitives/models.mjs +2 -0
- package/esm2022/lib/proxy/microsoft/index.mjs +5 -0
- package/esm2022/lib/proxy/microsoft/net/http/headers/index.mjs +2 -0
- package/esm2022/lib/proxy/microsoft/net/http/headers/models.mjs +2 -0
- package/esm2022/lib/proxy/microsoft/net/http/index.mjs +3 -0
- package/esm2022/lib/proxy/microsoft/net/index.mjs +3 -0
- package/esm2022/lib/proxy/sections/index.mjs +3 -0
- package/esm2022/lib/proxy/sections/models.mjs +2 -0
- package/esm2022/lib/proxy/sections/section-type.enum.mjs +9 -0
- package/esm2022/lib/proxy/sites/index.mjs +2 -0
- package/esm2022/lib/proxy/sites/models.mjs +2 -0
- package/esm2022/lib/proxy/volo/abp/content/index.mjs +2 -0
- package/esm2022/lib/proxy/volo/abp/content/models.mjs +2 -0
- package/esm2022/lib/proxy/volo/abp/index.mjs +3 -0
- package/esm2022/lib/proxy/volo/cms-kit/index.mjs +3 -0
- package/esm2022/lib/proxy/volo/cms-kit/users/index.mjs +2 -0
- package/esm2022/lib/proxy/volo/cms-kit/users/models.mjs +2 -0
- package/esm2022/lib/proxy/volo/index.mjs +4 -0
- package/esm2022/lib/services/appent-content.mjs +15 -0
- package/esm2022/lib/services/cms-api.service.mjs +75 -0
- package/esm2022/lib/services/cms.service.mjs +23 -0
- package/esm2022/lib/services/field-abstracts.service.mjs +44 -0
- package/esm2022/lib/services/index.mjs +4 -0
- package/esm2022/lib/toolbar/index.mjs +3 -0
- package/esm2022/lib/toolbar/toolbar-btn-default-action.mjs +160 -0
- package/esm2022/lib/toolbar/toolbar-config.mjs +81 -0
- package/esm2022/public-api.mjs +12 -0
- package/fesm2022/dignite-ng-expand.cms-config.mjs +108 -0
- package/fesm2022/dignite-ng-expand.cms-config.mjs.map +1 -0
- package/fesm2022/dignite-ng-expand.cms.mjs +4267 -0
- package/fesm2022/dignite-ng-expand.cms.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/cms-routing.module.d.ts +7 -0
- package/lib/cms.module.d.ts +38 -0
- package/lib/components/admin/entries/create-or-edit-entries.component.d.ts +79 -0
- package/lib/components/admin/entries/create-or-update-entry-input-base.d.ts +23 -0
- package/lib/components/admin/entries/create.component.d.ts +39 -0
- package/lib/components/admin/entries/edit.component.d.ts +43 -0
- package/lib/components/admin/entries/entries.component.d.ts +61 -0
- package/lib/components/admin/entries/index.d.ts +4 -0
- package/lib/components/admin/fields/create-field.component.d.ts +25 -0
- package/lib/components/admin/fields/create-or-edit-field.component.d.ts +33 -0
- package/lib/components/admin/fields/create-or-update-field-input-base.d.ts +15 -0
- package/lib/components/admin/fields/edit-field.component.d.ts +36 -0
- package/lib/components/admin/fields/field-group.component.d.ts +51 -0
- package/lib/components/admin/fields/fields.component.d.ts +33 -0
- package/lib/components/admin/fields/index.d.ts +6 -0
- package/lib/components/admin/index.d.ts +4 -0
- package/lib/components/admin/sections/create-or-update-sections-input-base.d.ts +17 -0
- package/lib/components/admin/sections/entry-types/create-or-edit.-entry-type-input-base.d.ts +37 -0
- package/lib/components/admin/sections/entry-types/create-or-edit.component.d.ts +130 -0
- package/lib/components/admin/sections/entry-types/index.d.ts +2 -0
- package/lib/components/admin/sections/index.d.ts +3 -0
- package/lib/components/admin/sections/sections.component.d.ts +82 -0
- package/lib/components/admin/sites/create-or-update-sites-input-base.d.ts +12 -0
- package/lib/components/admin/sites/index.d.ts +2 -0
- package/lib/components/admin/sites/sites.component.d.ts +72 -0
- package/lib/components/dynamic-form/entry/entry-config.component.d.ts +39 -0
- package/lib/components/dynamic-form/entry/entry-config.d.ts +9 -0
- package/lib/components/dynamic-form/entry/entry-control.component.d.ts +36 -0
- package/lib/components/dynamic-form/entry/index.d.ts +3 -0
- package/lib/components/dynamic-form/form-control-group.d.ts +4 -0
- package/lib/components/dynamic-form/index.d.ts +4 -0
- package/lib/components/dynamic-form/matrix/index.d.ts +3 -0
- package/lib/components/dynamic-form/matrix/matrix-config.component.d.ts +73 -0
- package/lib/components/dynamic-form/matrix/matrix-config.d.ts +30 -0
- package/lib/components/dynamic-form/matrix/matrix-control.component.d.ts +36 -0
- package/lib/components/dynamic-form/table/index.d.ts +3 -0
- package/lib/components/dynamic-form/table/table-config.component.d.ts +59 -0
- package/lib/components/dynamic-form/table/table-config.d.ts +18 -0
- package/lib/components/dynamic-form/table/table-control.component.d.ts +32 -0
- package/lib/components/index.d.ts +2 -0
- package/lib/constants/index.d.ts +1 -0
- package/lib/constants/styles.d.ts +2 -0
- package/lib/enums/ecms-component.d.ts +11 -0
- package/lib/enums/index.d.ts +1 -0
- package/lib/proxy/admin/dynamic-forms/form-admin.service.d.ts +12 -0
- package/lib/proxy/admin/dynamic-forms/index.d.ts +2 -0
- package/lib/proxy/admin/dynamic-forms/models.d.ts +4 -0
- package/lib/proxy/admin/entries/entry-admin.service.d.ts +21 -0
- package/lib/proxy/admin/entries/index.d.ts +2 -0
- package/lib/proxy/admin/entries/models.d.ts +60 -0
- package/lib/proxy/admin/fields/field-admin.service.d.ts +17 -0
- package/lib/proxy/admin/fields/field-group-admin.service.d.ts +16 -0
- package/lib/proxy/admin/fields/index.d.ts +3 -0
- package/lib/proxy/admin/fields/models.d.ts +34 -0
- package/lib/proxy/admin/index.d.ts +6 -0
- package/lib/proxy/admin/sections/entry-type-admin.service.d.ts +15 -0
- package/lib/proxy/admin/sections/index.d.ts +3 -0
- package/lib/proxy/admin/sections/models.d.ts +74 -0
- package/lib/proxy/admin/sections/section-admin.service.d.ts +18 -0
- package/lib/proxy/admin/sites/index.d.ts +2 -0
- package/lib/proxy/admin/sites/models.d.ts +30 -0
- package/lib/proxy/admin/sites/site-admin.service.d.ts +18 -0
- package/lib/proxy/dignite/abp/data/index.d.ts +1 -0
- package/lib/proxy/dignite/abp/data/models.d.ts +3 -0
- package/lib/proxy/dignite/abp/index.d.ts +2 -0
- package/lib/proxy/dignite/file-explorer/directories/file-descriptor.service.d.ts +17 -0
- package/lib/proxy/dignite/file-explorer/directories/index.d.ts +2 -0
- package/lib/proxy/dignite/file-explorer/directories/models.d.ts +29 -0
- package/lib/proxy/dignite/file-explorer/files/file-descriptor.service.d.ts +20 -0
- package/lib/proxy/dignite/file-explorer/files/index.d.ts +2 -0
- package/lib/proxy/dignite/file-explorer/files/models.d.ts +50 -0
- package/lib/proxy/dignite/file-explorer/index.d.ts +3 -0
- package/lib/proxy/dignite/index.d.ts +3 -0
- package/lib/proxy/entries/entry-status.enum.d.ts +5 -0
- package/lib/proxy/entries/index.d.ts +1 -0
- package/lib/proxy/fields/index.d.ts +1 -0
- package/lib/proxy/fields/models.d.ts +8 -0
- package/lib/proxy/index.d.ts +9 -0
- package/lib/proxy/microsoft/asp-net-core/index.d.ts +2 -0
- package/lib/proxy/microsoft/asp-net-core/mvc/index.d.ts +1 -0
- package/lib/proxy/microsoft/asp-net-core/mvc/models.d.ts +10 -0
- package/lib/proxy/microsoft/extensions/index.d.ts +2 -0
- package/lib/proxy/microsoft/extensions/primitives/index.d.ts +1 -0
- package/lib/proxy/microsoft/extensions/primitives/models.d.ts +8 -0
- package/lib/proxy/microsoft/index.d.ts +4 -0
- package/lib/proxy/microsoft/net/http/headers/index.d.ts +1 -0
- package/lib/proxy/microsoft/net/http/headers/models.d.ts +6 -0
- package/lib/proxy/microsoft/net/http/index.d.ts +2 -0
- package/lib/proxy/microsoft/net/index.d.ts +2 -0
- package/lib/proxy/sections/index.d.ts +2 -0
- package/lib/proxy/sections/models.d.ts +12 -0
- package/lib/proxy/sections/section-type.enum.d.ts +6 -0
- package/lib/proxy/sites/index.d.ts +1 -0
- package/lib/proxy/sites/models.d.ts +4 -0
- package/lib/proxy/volo/abp/content/index.d.ts +1 -0
- package/lib/proxy/volo/abp/content/models.d.ts +5 -0
- package/lib/proxy/volo/abp/index.d.ts +2 -0
- package/lib/proxy/volo/cms-kit/index.d.ts +2 -0
- package/lib/proxy/volo/cms-kit/users/index.d.ts +1 -0
- package/lib/proxy/volo/cms-kit/users/models.d.ts +7 -0
- package/lib/proxy/volo/index.d.ts +3 -0
- package/lib/services/appent-content.d.ts +1 -0
- package/lib/services/cms-api.service.d.ts +16 -0
- package/lib/services/cms.service.d.ts +10 -0
- package/lib/services/field-abstracts.service.d.ts +20 -0
- package/lib/services/index.d.ts +3 -0
- package/lib/toolbar/index.d.ts +2 -0
- package/lib/toolbar/toolbar-btn-default-action.d.ts +19 -0
- package/lib/toolbar/toolbar-config.d.ts +57 -0
- package/package.json +41 -0
- package/public-api.d.ts +8 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './models';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './models';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { FieldDtoEntity } from '../fields/models';
|
|
2
|
+
export interface EntryFieldDto {
|
|
3
|
+
fieldId?: string;
|
|
4
|
+
field: FieldDtoEntity;
|
|
5
|
+
displayName?: string;
|
|
6
|
+
required: boolean;
|
|
7
|
+
showOnList: boolean;
|
|
8
|
+
}
|
|
9
|
+
export interface EntryFieldTabDto {
|
|
10
|
+
name?: string;
|
|
11
|
+
fields: EntryFieldDto[];
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './models';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './models';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './models';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function appentStyle(): void;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class CmsApiService {
|
|
3
|
+
constructor();
|
|
4
|
+
/**
|
|
5
|
+
* 识别中文转化为拼音,固定返回类型
|
|
6
|
+
* 汉字转拼音
|
|
7
|
+
* 大写转小写
|
|
8
|
+
*
|
|
9
|
+
* */
|
|
10
|
+
chineseToPinyin(value: string): string;
|
|
11
|
+
/**
|
|
12
|
+
* 深拷贝--方法 */
|
|
13
|
+
deepClone(obj: any): any;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CmsApiService, never>;
|
|
15
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CmsApiService>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { RestService } from '@abp/ng.core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class CmsService {
|
|
4
|
+
private restService;
|
|
5
|
+
apiName: string;
|
|
6
|
+
constructor(restService: RestService);
|
|
7
|
+
sample(): import("rxjs").Observable<any>;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CmsService, never>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CmsService>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { FieldGroupAdminService } from '../proxy/admin/fields/field-group-admin.service';
|
|
2
|
+
import { FieldGroupDto } from '../proxy/admin/fields/models';
|
|
3
|
+
import { FormAdminService } from '../proxy/admin/dynamic-forms';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class FieldAbstractsService {
|
|
6
|
+
private _FieldGroupAdminService;
|
|
7
|
+
private _FormAdminService;
|
|
8
|
+
constructor(_FieldGroupAdminService: FieldGroupAdminService, _FormAdminService: FormAdminService);
|
|
9
|
+
/**字段分组列表 */
|
|
10
|
+
fieldGroupList: FieldGroupDto[];
|
|
11
|
+
/**获取字段分组列表 */
|
|
12
|
+
getfieldGroupList(): void;
|
|
13
|
+
/**表单控件类型 */
|
|
14
|
+
fromControlList: any[];
|
|
15
|
+
/**获取表单控件类型 */
|
|
16
|
+
getFromControlList(): Promise<unknown>;
|
|
17
|
+
getExcludeAssignControl(typeName: any): any[];
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FieldAbstractsService, never>;
|
|
19
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FieldAbstractsService>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ToolbarAction } from '@abp/ng.theme.shared/extensions';
|
|
2
|
+
/**版块 */
|
|
3
|
+
export declare const Sections_Defaults_Toolbar_Action: ToolbarAction<any[]>[];
|
|
4
|
+
/**版块-创建-编辑 */
|
|
5
|
+
export declare const Sections_Create_Or_Edit_Defaults_Toolbar_Action: ToolbarAction<any[]>[];
|
|
6
|
+
/**站点 */
|
|
7
|
+
export declare const Sites_Defaults_Toolbar_Action: ToolbarAction<any[]>[];
|
|
8
|
+
/**字段 */
|
|
9
|
+
export declare const Fields_Defaults_Toolbar_Action: ToolbarAction<any[]>[];
|
|
10
|
+
/**字段-创建 */
|
|
11
|
+
export declare const Fields_Create_Defaults_Toolbar_Action: ToolbarAction<any[]>[];
|
|
12
|
+
/**字段-创建 */
|
|
13
|
+
export declare const Fields_Edit_Defaults_Toolbar_Action: ToolbarAction<any[]>[];
|
|
14
|
+
/**条目 */
|
|
15
|
+
export declare const Entries_Defaults_Toolbar_Action: ToolbarAction<any[]>[];
|
|
16
|
+
/**条目-创建 */
|
|
17
|
+
export declare const Entries_Create_Defaults_Toolbar_Action: ToolbarAction<any[]>[];
|
|
18
|
+
/**条目编辑 */
|
|
19
|
+
export declare const Entries_Edit_Defaults_Toolbar_Action: ToolbarAction<any[]>[];
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { InjectionToken } from "@angular/core";
|
|
2
|
+
import { ResolveFn } from "@angular/router";
|
|
3
|
+
export declare const ActionGroup: {
|
|
4
|
+
Entries: import("@abp/ng.theme.shared/extensions").ToolbarAction<any[]>[];
|
|
5
|
+
Entries_Create: import("@abp/ng.theme.shared/extensions").ToolbarAction<any[]>[];
|
|
6
|
+
Entries_Edit: import("@abp/ng.theme.shared/extensions").ToolbarAction<any[]>[];
|
|
7
|
+
Fields: import("@abp/ng.theme.shared/extensions").ToolbarAction<any[]>[];
|
|
8
|
+
FieldsCreate: import("@abp/ng.theme.shared/extensions").ToolbarAction<any[]>[];
|
|
9
|
+
FieldsEdit: import("@abp/ng.theme.shared/extensions").ToolbarAction<any[]>[];
|
|
10
|
+
Sites: import("@abp/ng.theme.shared/extensions").ToolbarAction<any[]>[];
|
|
11
|
+
Sections: import("@abp/ng.theme.shared/extensions").ToolbarAction<any[]>[];
|
|
12
|
+
SectionsCreateOrEdit: import("@abp/ng.theme.shared/extensions").ToolbarAction<any[]>[];
|
|
13
|
+
};
|
|
14
|
+
/**用于路由守卫增加工具栏按钮 */
|
|
15
|
+
export declare const Cms_Default_Toolbar_Actions: {};
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @param 在identityExtensionsResolver方法中使用
|
|
19
|
+
*
|
|
20
|
+
* @param 在cms.module.ts中使用,
|
|
21
|
+
export class CmsModule {
|
|
22
|
+
static forChild(options: any = {}): ModuleWithProviders<CmsModule> {
|
|
23
|
+
return {
|
|
24
|
+
ngModule: CmsModule,
|
|
25
|
+
providers: [
|
|
26
|
+
{
|
|
27
|
+
provide: CMS_TOOLBAR_ACTION_CONTRIBUTORS,
|
|
28
|
+
useValue: options.toolbarActionContributors,
|
|
29
|
+
// useValue: identityToolbarActionContributors,
|
|
30
|
+
},
|
|
31
|
+
// IdentityExtensionsGuard,
|
|
32
|
+
]
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
static forLazy(options: any = {}): NgModuleFactory<CmsModule> {
|
|
36
|
+
return new LazyModuleFactory(CmsModule.forChild(options));
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
*
|
|
40
|
+
*
|
|
41
|
+
*/
|
|
42
|
+
export declare const CMS_TOOLBAR_ACTION_CONTRIBUTORS: InjectionToken<any>;
|
|
43
|
+
/**用于放在cms-routing.module.ts路由守卫中
|
|
44
|
+
*
|
|
45
|
+
*
|
|
46
|
+
const routes: Routes = [
|
|
47
|
+
{
|
|
48
|
+
path: 'demo',
|
|
49
|
+
canActivate: [AuthGuard, PermissionGuard],
|
|
50
|
+
resolve: [identityExtensionsResolver],
|
|
51
|
+
children: []
|
|
52
|
+
},
|
|
53
|
+
]
|
|
54
|
+
*
|
|
55
|
+
*
|
|
56
|
+
*/
|
|
57
|
+
export declare const CmsExtensionsResolver: ResolveFn<any>;
|
package/package.json
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@dignite-ng/expand.cms",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"peerDependencies": {
|
|
5
|
+
"@angular/common": ">=9",
|
|
6
|
+
"@angular/core": ">=9",
|
|
7
|
+
"@abp/ng.core": ">=5.3.4",
|
|
8
|
+
"@angular/forms": "~16.2.0",
|
|
9
|
+
"@abp/ng.theme.shared": ">=5.3.4",
|
|
10
|
+
"@ckeditor/ckeditor5-angular": "^7.0.1",
|
|
11
|
+
"ng-zorro-antd": "^16.0.0",
|
|
12
|
+
"pinyin-pro": "^3.19.6"
|
|
13
|
+
},
|
|
14
|
+
"dependencies": {
|
|
15
|
+
"tslib": "^2.3.0"
|
|
16
|
+
},
|
|
17
|
+
"sideEffects": false,
|
|
18
|
+
"publishConfig": {
|
|
19
|
+
"access": "public",
|
|
20
|
+
"registry": "https://registry.npmjs.org/"
|
|
21
|
+
},
|
|
22
|
+
"module": "fesm2022/dignite-ng-expand.cms.mjs",
|
|
23
|
+
"typings": "index.d.ts",
|
|
24
|
+
"exports": {
|
|
25
|
+
"./package.json": {
|
|
26
|
+
"default": "./package.json"
|
|
27
|
+
},
|
|
28
|
+
".": {
|
|
29
|
+
"types": "./index.d.ts",
|
|
30
|
+
"esm2022": "./esm2022/dignite-ng-expand.cms.mjs",
|
|
31
|
+
"esm": "./esm2022/dignite-ng-expand.cms.mjs",
|
|
32
|
+
"default": "./fesm2022/dignite-ng-expand.cms.mjs"
|
|
33
|
+
},
|
|
34
|
+
"./config": {
|
|
35
|
+
"types": "./config/index.d.ts",
|
|
36
|
+
"esm2022": "./esm2022/config/dignite-ng-expand.cms-config.mjs",
|
|
37
|
+
"esm": "./esm2022/config/dignite-ng-expand.cms-config.mjs",
|
|
38
|
+
"default": "./fesm2022/dignite-ng-expand.cms-config.mjs"
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
package/public-api.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from './lib/cms.module';
|
|
2
|
+
export * from './lib/cms-routing.module';
|
|
3
|
+
export * from './lib/components';
|
|
4
|
+
export * from './lib/proxy';
|
|
5
|
+
export * from './lib/services';
|
|
6
|
+
export * from './lib/enums';
|
|
7
|
+
export * from './lib/toolbar';
|
|
8
|
+
export * from './lib/constants';
|