@dignite-ng/expand.cms 2.0.0-rc.10 → 2.0.0-rc.12
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/config/cms-config.module.d.ts +8 -0
- package/config/{src/enums/index.ts → enums/index.d.ts} +1 -1
- package/config/enums/route-names.d.ts +7 -0
- package/config/index.d.ts +5 -0
- package/config/{src/providers/index.ts → providers/index.d.ts} +1 -1
- package/config/providers/route.provider.d.ts +9 -0
- package/config/{src/public-api.ts → public-api.d.ts} +3 -3
- 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 +9 -0
- package/esm2022/config/providers/index.mjs +2 -0
- package/esm2022/config/providers/route.provider.mjs +60 -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 +94 -0
- package/esm2022/lib/cms.module.mjs +146 -0
- package/esm2022/lib/components/admin/entries/create-or-edit-entries.component.mjs +226 -0
- package/esm2022/lib/components/admin/entries/create-or-update-entry-input-base.mjs +25 -0
- package/esm2022/lib/components/admin/entries/create.component.mjs +136 -0
- package/esm2022/lib/components/admin/entries/edit.component.mjs +138 -0
- package/esm2022/lib/components/admin/entries/entries.component.mjs +367 -0
- package/esm2022/lib/components/admin/entries/index.mjs +5 -0
- package/esm2022/lib/components/admin/fields/create-field.component.mjs +87 -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 +109 -0
- package/esm2022/lib/components/admin/fields/field-group.component.mjs +131 -0
- package/esm2022/lib/components/admin/fields/fields.component.mjs +107 -0
- package/esm2022/lib/components/admin/fields/index.mjs +7 -0
- package/esm2022/lib/components/admin/index.mjs +4 -0
- package/esm2022/lib/components/admin/sections/create-or-edit-sections-modal.component.mjs +210 -0
- package/esm2022/lib/components/admin/sections/create-or-update-sections-input-base.mjs +22 -0
- package/esm2022/lib/components/admin/sections/entry-types/create-or-edit.-entry-type-input-base.mjs +47 -0
- package/esm2022/lib/components/admin/sections/entry-types/create-or-edit.component.mjs +423 -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 +138 -0
- package/esm2022/lib/components/dynamic-form/entry/entry-config.component.mjs +117 -0
- package/esm2022/lib/components/dynamic-form/entry/entry-config.mjs +18 -0
- package/esm2022/lib/components/dynamic-form/entry/entry-control.component.mjs +105 -0
- package/esm2022/lib/components/dynamic-form/entry/entry-view.component.mjs +60 -0
- package/esm2022/lib/components/dynamic-form/entry/index.mjs +4 -0
- package/esm2022/lib/components/dynamic-form/form-control-group.mjs +34 -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 +219 -0
- package/esm2022/lib/components/dynamic-form/matrix/matrix-config.mjs +50 -0
- package/esm2022/lib/components/dynamic-form/matrix/matrix-control.component.mjs +108 -0
- package/esm2022/lib/components/dynamic-form/matrix/matrix-view.component.mjs +40 -0
- package/esm2022/lib/components/dynamic-form/table/index.mjs +4 -0
- package/esm2022/lib/components/dynamic-form/table/table-config.component.mjs +158 -0
- package/esm2022/lib/components/dynamic-form/table/table-config.mjs +38 -0
- package/esm2022/lib/components/dynamic-form/table/table-control.component.mjs +118 -0
- package/esm2022/lib/components/dynamic-form/table/table-view.component.mjs +40 -0
- package/esm2022/lib/components/index.mjs +3 -0
- package/esm2022/lib/constants/styles.mjs +19 -0
- package/esm2022/lib/enums/ecms-component.mjs +13 -0
- package/esm2022/lib/enums/index.mjs +2 -0
- package/esm2022/lib/proxy/dignite/abp/data/models.mjs +2 -0
- package/esm2022/lib/proxy/dignite/abp/regionalization-management/index.mjs +3 -0
- package/esm2022/lib/proxy/dignite/abp/regionalization-management/models.mjs +2 -0
- package/esm2022/lib/proxy/dignite/abp/regionalization-management/regionalization.service.mjs +27 -0
- package/esm2022/lib/proxy/dignite/cms/admin/dynamic-forms/form-admin.service.mjs +22 -0
- package/esm2022/lib/proxy/dignite/cms/admin/dynamic-forms/index.mjs +3 -0
- package/esm2022/lib/proxy/dignite/cms/admin/dynamic-forms/models.mjs +2 -0
- package/esm2022/lib/proxy/dignite/cms/admin/entries/entry-admin.service.mjs +70 -0
- package/esm2022/lib/proxy/dignite/cms/admin/entries/index.mjs +3 -0
- package/esm2022/lib/proxy/dignite/cms/admin/entries/models.mjs +2 -0
- package/esm2022/lib/proxy/dignite/cms/admin/fields/field-admin.service.mjs +45 -0
- package/esm2022/lib/proxy/dignite/cms/admin/fields/field-group-admin.service.mjs +41 -0
- package/esm2022/lib/proxy/dignite/cms/admin/fields/index.mjs +4 -0
- package/esm2022/lib/proxy/dignite/cms/admin/fields/models.mjs +2 -0
- package/esm2022/lib/proxy/dignite/cms/admin/sections/entry-type-admin.service.mjs +41 -0
- package/esm2022/lib/proxy/dignite/cms/admin/sections/index.mjs +4 -0
- package/esm2022/lib/proxy/dignite/cms/admin/sections/models.mjs +2 -0
- package/esm2022/lib/proxy/dignite/cms/admin/sections/section-admin.service.mjs +51 -0
- package/esm2022/lib/proxy/dignite/cms/entries/entry-status.enum.mjs +8 -0
- package/esm2022/lib/proxy/dignite/cms/entries/index.mjs +2 -0
- package/esm2022/lib/proxy/dignite/cms/fields/models.mjs +2 -0
- package/esm2022/lib/proxy/dignite/cms/sections/index.mjs +3 -0
- package/esm2022/lib/proxy/dignite/cms/sections/models.mjs +2 -0
- package/esm2022/lib/proxy/dignite/cms/sections/section-type.enum.mjs +9 -0
- package/esm2022/lib/proxy/volo/cms-kit/users/models.mjs +2 -0
- package/esm2022/lib/resolvers/extensions-props-action-token.resolver.mjs +136 -0
- package/esm2022/lib/resolvers/page-default-toolbar-actions.mjs +160 -0
- package/esm2022/lib/resolvers/table-default-entity-actions.mjs +28 -0
- package/esm2022/lib/resolvers/table-default-entity-props.mjs +53 -0
- package/esm2022/lib/services/appent-content.mjs +15 -0
- package/esm2022/lib/services/cms-api.service.mjs +93 -0
- package/esm2022/lib/services/cms.service.mjs +21 -0
- package/esm2022/lib/services/field-abstracts.service.mjs +42 -0
- package/esm2022/lib/services/form-controls.service.mjs +40 -0
- package/esm2022/lib/services/index.mjs +4 -0
- package/esm2022/public-api.mjs +7 -0
- package/fesm2022/dignite-ng-expand.cms-config.mjs +92 -0
- package/fesm2022/dignite-ng-expand.cms-config.mjs.map +1 -0
- package/fesm2022/dignite-ng-expand.cms.mjs +4250 -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 +40 -0
- package/lib/components/admin/entries/create-or-edit-entries.component.d.ts +63 -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 +50 -0
- package/lib/components/admin/entries/edit.component.d.ts +53 -0
- package/lib/components/admin/entries/entries.component.d.ts +101 -0
- package/lib/components/admin/entries/index.d.ts +4 -0
- package/lib/components/admin/fields/create-field.component.d.ts +37 -0
- package/lib/components/admin/fields/create-or-edit-field.component.d.ts +37 -0
- package/lib/components/admin/fields/create-or-update-field-input-base.d.ts +16 -0
- package/lib/components/admin/fields/edit-field.component.d.ts +46 -0
- package/lib/components/admin/fields/field-group.component.d.ts +58 -0
- package/lib/components/admin/fields/fields.component.d.ts +35 -0
- package/lib/components/admin/fields/index.d.ts +6 -0
- package/lib/components/admin/index.d.ts +3 -0
- package/lib/components/admin/sections/create-or-edit-sections-modal.component.d.ts +49 -0
- package/lib/components/admin/sections/create-or-update-sections-input-base.d.ts +20 -0
- package/lib/components/admin/sections/entry-types/create-or-edit.-entry-type-input-base.d.ts +28 -0
- package/lib/components/admin/sections/entry-types/create-or-edit.component.d.ts +147 -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 +46 -0
- package/lib/components/dynamic-form/entry/entry-config.component.d.ts +40 -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/entry-view.component.d.ts +22 -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 +74 -0
- package/lib/components/dynamic-form/matrix/matrix-config.d.ts +24 -0
- package/lib/components/dynamic-form/matrix/matrix-control.component.d.ts +42 -0
- package/lib/components/dynamic-form/matrix/matrix-view.component.d.ts +17 -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 +42 -0
- package/lib/components/dynamic-form/table/table-view.component.d.ts +17 -0
- package/lib/components/index.d.ts +2 -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/dignite/abp/data/models.d.ts +3 -0
- package/lib/proxy/dignite/abp/regionalization-management/models.d.ts +8 -0
- package/lib/proxy/dignite/abp/regionalization-management/regionalization.service.d.ts +12 -0
- package/lib/proxy/dignite/cms/admin/dynamic-forms/form-admin.service.d.ts +12 -0
- package/lib/proxy/dignite/cms/admin/dynamic-forms/models.d.ts +5 -0
- package/lib/proxy/dignite/cms/admin/entries/entry-admin.service.d.ts +22 -0
- package/lib/proxy/dignite/cms/admin/entries/models.d.ts +61 -0
- package/lib/proxy/dignite/cms/admin/fields/field-admin.service.d.ts +17 -0
- package/lib/proxy/dignite/cms/admin/fields/field-group-admin.service.d.ts +16 -0
- package/{src/lib/proxy/dignite/cms/admin/fields/models.ts → lib/proxy/dignite/cms/admin/fields/models.d.ts} +34 -42
- package/lib/proxy/dignite/cms/admin/sections/entry-type-admin.service.d.ts +15 -0
- package/{src/lib/proxy/dignite/cms/admin/sections/models.ts → lib/proxy/dignite/cms/admin/sections/models.d.ts} +68 -82
- package/lib/proxy/dignite/cms/admin/sections/section-admin.service.d.ts +18 -0
- package/lib/proxy/dignite/cms/entries/entry-status.enum.d.ts +5 -0
- package/lib/proxy/dignite/cms/fields/models.d.ts +8 -0
- package/lib/proxy/dignite/cms/sections/models.d.ts +13 -0
- package/lib/proxy/dignite/cms/sections/section-type.enum.d.ts +6 -0
- package/{src/lib/proxy/volo/cms-kit/users/models.ts → lib/proxy/volo/cms-kit/users/models.d.ts} +7 -8
- package/lib/resolvers/extensions-props-action-token.resolver.d.ts +75 -0
- package/lib/resolvers/page-default-toolbar-actions.d.ts +18 -0
- package/lib/resolvers/table-default-entity-actions.d.ts +5 -0
- package/lib/resolvers/table-default-entity-props.d.ts +5 -0
- package/lib/services/appent-content.d.ts +1 -0
- package/lib/services/cms-api.service.d.ts +23 -0
- package/lib/services/cms.service.d.ts +10 -0
- package/lib/services/field-abstracts.service.d.ts +19 -0
- package/lib/services/form-controls.service.d.ts +16 -0
- package/lib/services/index.d.ts +3 -0
- package/package.json +22 -7
- package/{src/public-api.ts → public-api.d.ts} +3 -7
- package/config/ng-package.json +0 -6
- package/config/src/cms-config.module.ts +0 -13
- package/config/src/enums/route-names.ts +0 -7
- package/config/src/providers/route.provider.ts +0 -68
- package/ng-package.json +0 -10
- package/src/lib/cms-routing.module.ts +0 -102
- package/src/lib/cms.module.ts +0 -113
- package/src/lib/components/admin/entries/create-or-edit-entries.component.html +0 -137
- package/src/lib/components/admin/entries/create-or-edit-entries.component.scss +0 -0
- package/src/lib/components/admin/entries/create-or-edit-entries.component.spec.ts +0 -21
- package/src/lib/components/admin/entries/create-or-edit-entries.component.ts +0 -216
- package/src/lib/components/admin/entries/create-or-update-entry-input-base.ts +0 -26
- package/src/lib/components/admin/entries/create.component.html +0 -16
- package/src/lib/components/admin/entries/create.component.scss +0 -0
- package/src/lib/components/admin/entries/create.component.spec.ts +0 -21
- package/src/lib/components/admin/entries/create.component.ts +0 -130
- package/src/lib/components/admin/entries/edit.component.html +0 -9
- package/src/lib/components/admin/entries/edit.component.scss +0 -0
- package/src/lib/components/admin/entries/edit.component.spec.ts +0 -21
- package/src/lib/components/admin/entries/edit.component.ts +0 -134
- package/src/lib/components/admin/entries/entries.component.html +0 -225
- package/src/lib/components/admin/entries/entries.component.scss +0 -109
- package/src/lib/components/admin/entries/entries.component.spec.ts +0 -21
- package/src/lib/components/admin/entries/entries.component.ts +0 -394
- package/src/lib/components/admin/entries/index.ts +0 -4
- package/src/lib/components/admin/fields/create-field.component.html +0 -12
- package/src/lib/components/admin/fields/create-field.component.scss +0 -1
- package/src/lib/components/admin/fields/create-field.component.spec.ts +0 -21
- package/src/lib/components/admin/fields/create-field.component.ts +0 -85
- package/src/lib/components/admin/fields/create-or-edit-field.component.html +0 -39
- package/src/lib/components/admin/fields/create-or-edit-field.component.scss +0 -0
- package/src/lib/components/admin/fields/create-or-edit-field.component.spec.ts +0 -21
- package/src/lib/components/admin/fields/create-or-edit-field.component.ts +0 -140
- package/src/lib/components/admin/fields/create-or-update-field-input-base.ts +0 -33
- package/src/lib/components/admin/fields/edit-field.component.html +0 -14
- package/src/lib/components/admin/fields/edit-field.component.scss +0 -0
- package/src/lib/components/admin/fields/edit-field.component.spec.ts +0 -21
- package/src/lib/components/admin/fields/edit-field.component.ts +0 -112
- package/src/lib/components/admin/fields/field-group.component.html +0 -69
- package/src/lib/components/admin/fields/field-group.component.scss +0 -0
- package/src/lib/components/admin/fields/field-group.component.spec.ts +0 -21
- package/src/lib/components/admin/fields/field-group.component.ts +0 -151
- package/src/lib/components/admin/fields/fields.component.html +0 -25
- package/src/lib/components/admin/fields/fields.component.scss +0 -1
- package/src/lib/components/admin/fields/fields.component.spec.ts +0 -21
- package/src/lib/components/admin/fields/fields.component.ts +0 -109
- package/src/lib/components/admin/fields/index.ts +0 -6
- package/src/lib/components/admin/index.ts +0 -3
- package/src/lib/components/admin/sections/create-or-edit-sections-modal.component.html +0 -81
- package/src/lib/components/admin/sections/create-or-edit-sections-modal.component.scss +0 -0
- package/src/lib/components/admin/sections/create-or-edit-sections-modal.component.spec.ts +0 -23
- package/src/lib/components/admin/sections/create-or-edit-sections-modal.component.ts +0 -239
- package/src/lib/components/admin/sections/create-or-update-sections-input-base.ts +0 -23
- package/src/lib/components/admin/sections/entry-types/create-or-edit.-entry-type-input-base.ts +0 -52
- package/src/lib/components/admin/sections/entry-types/create-or-edit.component.html +0 -195
- package/src/lib/components/admin/sections/entry-types/create-or-edit.component.scss +0 -1
- package/src/lib/components/admin/sections/entry-types/create-or-edit.component.spec.ts +0 -21
- package/src/lib/components/admin/sections/entry-types/create-or-edit.component.ts +0 -442
- package/src/lib/components/admin/sections/entry-types/index.ts +0 -2
- package/src/lib/components/admin/sections/index.ts +0 -3
- package/src/lib/components/admin/sections/sections.component.html +0 -189
- package/src/lib/components/admin/sections/sections.component.scss +0 -1
- package/src/lib/components/admin/sections/sections.component.spec.ts +0 -21
- package/src/lib/components/admin/sections/sections.component.ts +0 -136
- package/src/lib/components/dynamic-form/entry/entry-config.component.html +0 -26
- package/src/lib/components/dynamic-form/entry/entry-config.component.scss +0 -27
- package/src/lib/components/dynamic-form/entry/entry-config.component.spec.ts +0 -21
- package/src/lib/components/dynamic-form/entry/entry-config.component.ts +0 -119
- package/src/lib/components/dynamic-form/entry/entry-config.ts +0 -22
- package/src/lib/components/dynamic-form/entry/entry-control.component.html +0 -25
- package/src/lib/components/dynamic-form/entry/entry-control.component.scss +0 -35
- package/src/lib/components/dynamic-form/entry/entry-control.component.spec.ts +0 -21
- package/src/lib/components/dynamic-form/entry/entry-control.component.ts +0 -111
- package/src/lib/components/dynamic-form/entry/index.ts +0 -3
- package/src/lib/components/dynamic-form/form-control-group.ts +0 -27
- package/src/lib/components/dynamic-form/index.ts +0 -4
- package/src/lib/components/dynamic-form/matrix/index.ts +0 -3
- package/src/lib/components/dynamic-form/matrix/matrix-config.component.html +0 -148
- package/src/lib/components/dynamic-form/matrix/matrix-config.component.scss +0 -0
- package/src/lib/components/dynamic-form/matrix/matrix-config.component.spec.ts +0 -21
- package/src/lib/components/dynamic-form/matrix/matrix-config.component.ts +0 -244
- package/src/lib/components/dynamic-form/matrix/matrix-config.ts +0 -63
- package/src/lib/components/dynamic-form/matrix/matrix-control.component.html +0 -42
- package/src/lib/components/dynamic-form/matrix/matrix-control.component.scss +0 -0
- package/src/lib/components/dynamic-form/matrix/matrix-control.component.spec.ts +0 -21
- package/src/lib/components/dynamic-form/matrix/matrix-control.component.ts +0 -118
- package/src/lib/components/dynamic-form/table/index.ts +0 -3
- package/src/lib/components/dynamic-form/table/table-config.component.html +0 -85
- package/src/lib/components/dynamic-form/table/table-config.component.scss +0 -10
- package/src/lib/components/dynamic-form/table/table-config.component.spec.ts +0 -21
- package/src/lib/components/dynamic-form/table/table-config.component.ts +0 -177
- package/src/lib/components/dynamic-form/table/table-config.ts +0 -45
- package/src/lib/components/dynamic-form/table/table-control.component.html +0 -54
- package/src/lib/components/dynamic-form/table/table-control.component.scss +0 -1
- package/src/lib/components/dynamic-form/table/table-control.component.spec.ts +0 -21
- package/src/lib/components/dynamic-form/table/table-control.component.ts +0 -127
- package/src/lib/components/index.ts +0 -2
- package/src/lib/constants/index.ts +0 -1
- package/src/lib/constants/styles.ts +0 -18
- package/src/lib/enums/ecms-component.ts +0 -11
- package/src/lib/enums/index.ts +0 -1
- package/src/lib/proxy/README.md +0 -17
- package/src/lib/proxy/dignite/abp/data/index.ts +0 -1
- package/src/lib/proxy/dignite/abp/data/models.ts +0 -4
- package/src/lib/proxy/dignite/abp/index.ts +0 -3
- package/src/lib/proxy/dignite/abp/regionalization-management/models.ts +0 -10
- package/src/lib/proxy/dignite/abp/regionalization-management/regionalization.service.ts +0 -29
- package/src/lib/proxy/dignite/cms/admin/dynamic-forms/form-admin.service.ts +0 -20
- package/src/lib/proxy/dignite/cms/admin/dynamic-forms/models.ts +0 -6
- package/src/lib/proxy/dignite/cms/admin/entries/entry-admin.service.ts +0 -109
- package/src/lib/proxy/dignite/cms/admin/entries/models.ts +0 -69
- package/src/lib/proxy/dignite/cms/admin/fields/field-admin.service.ts +0 -64
- package/src/lib/proxy/dignite/cms/admin/fields/field-group-admin.service.ts +0 -56
- package/src/lib/proxy/dignite/cms/admin/index.ts +0 -5
- package/src/lib/proxy/dignite/cms/admin/sections/entry-type-admin.service.ts +0 -55
- package/src/lib/proxy/dignite/cms/admin/sections/section-admin.service.ts +0 -74
- package/src/lib/proxy/dignite/cms/entries/entry-status.enum.ts +0 -8
- package/src/lib/proxy/dignite/cms/fields/index.ts +0 -1
- package/src/lib/proxy/dignite/cms/fields/models.ts +0 -9
- package/src/lib/proxy/dignite/cms/index.ts +0 -5
- package/src/lib/proxy/dignite/cms/sections/models.ts +0 -15
- package/src/lib/proxy/dignite/cms/sections/section-type.enum.ts +0 -9
- package/src/lib/proxy/dignite/index.ts +0 -3
- package/src/lib/proxy/generate-proxy.json +0 -54593
- package/src/lib/proxy/index.ts +0 -3
- package/src/lib/proxy/volo/cms-kit/index.ts +0 -2
- package/src/lib/proxy/volo/cms-kit/users/index.ts +0 -1
- package/src/lib/proxy/volo/index.ts +0 -2
- package/src/lib/resolvers/extensions-props-action-token.resolver.ts +0 -182
- package/src/lib/resolvers/page-default-toolbar-actions.ts +0 -173
- package/src/lib/resolvers/table-default-entity-actions.ts +0 -29
- package/src/lib/resolvers/table-default-entity-props.ts +0 -62
- package/src/lib/services/appent-content.ts +0 -13
- package/src/lib/services/cms-api.service.ts +0 -90
- package/src/lib/services/cms.service.ts +0 -18
- package/src/lib/services/field-abstracts.service.ts +0 -39
- package/src/lib/services/index.ts +0 -3
- package/src/lib/services/validator.ts +0 -10
- package/src/test.ts +0 -26
- package/tsconfig.lib.json +0 -16
- package/tsconfig.lib.prod.json +0 -10
- package/tsconfig.spec.json +0 -17
- /package/{src/lib/proxy/dignite/abp/regionalization-management/index.ts → lib/proxy/dignite/abp/regionalization-management/index.d.ts} +0 -0
- /package/{src/lib/proxy/dignite/cms/admin/dynamic-forms/index.ts → lib/proxy/dignite/cms/admin/dynamic-forms/index.d.ts} +0 -0
- /package/{src/lib/proxy/dignite/cms/admin/entries/index.ts → lib/proxy/dignite/cms/admin/entries/index.d.ts} +0 -0
- /package/{src/lib/proxy/dignite/cms/admin/fields/index.ts → lib/proxy/dignite/cms/admin/fields/index.d.ts} +0 -0
- /package/{src/lib/proxy/dignite/cms/admin/sections/index.ts → lib/proxy/dignite/cms/admin/sections/index.d.ts} +0 -0
- /package/{src/lib/proxy/dignite/cms/entries/index.ts → lib/proxy/dignite/cms/entries/index.d.ts} +0 -0
- /package/{src/lib/proxy/dignite/cms/sections/index.ts → lib/proxy/dignite/cms/sections/index.d.ts} +0 -0
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { InjectionToken } from "@angular/core";
|
|
2
|
+
import { ResolveFn } from "@angular/router";
|
|
3
|
+
/**默认-实体-操作 */
|
|
4
|
+
export declare const Default_Entity_Actions: {
|
|
5
|
+
"Cms.Fields": import("@abp/ng.components/extensible").EntityAction<any>[];
|
|
6
|
+
};
|
|
7
|
+
/**默认实体属性-表格列名 */
|
|
8
|
+
export declare const Default_Entity_Props: {
|
|
9
|
+
"Cms.Fields": import("@abp/ng.components/extensible").EntityProp<any>[];
|
|
10
|
+
};
|
|
11
|
+
/**默认-工具栏-操作 */
|
|
12
|
+
export declare const Default_Toolbar_Actions: {
|
|
13
|
+
"Cms.Entries": import("@abp/ng.components/extensible").ToolbarAction<any[]>[];
|
|
14
|
+
"Cms.Entries.Create": import("@abp/ng.components/extensible").ToolbarAction<any[]>[];
|
|
15
|
+
"Cms.Entries.Edit": import("@abp/ng.components/extensible").ToolbarAction<any[]>[];
|
|
16
|
+
"Cms.Fields": import("@abp/ng.components/extensible").ToolbarAction<any[]>[];
|
|
17
|
+
"Cms.Fields.Create": import("@abp/ng.components/extensible").ToolbarAction<any[]>[];
|
|
18
|
+
"Cms.Fields.Edit": import("@abp/ng.components/extensible").ToolbarAction<any[]>[];
|
|
19
|
+
"Cms.Sections": import("@abp/ng.components/extensible").ToolbarAction<any[]>[];
|
|
20
|
+
"Cms.Sections.Create.Or.Edit": import("@abp/ng.components/extensible").ToolbarAction<any[]>[];
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @param 在Extensions_Props_Action_Token_Resolver方法中使用
|
|
25
|
+
* @param 在.module.ts中使用,
|
|
26
|
+
export class CmsModule {
|
|
27
|
+
static forChild(options: any = {}): ModuleWithProviders<CmsModule> {
|
|
28
|
+
return {
|
|
29
|
+
ngModule: CmsModule,
|
|
30
|
+
providers: [
|
|
31
|
+
{
|
|
32
|
+
provide: Toolbar_Action_Contributors,
|
|
33
|
+
useValue: options.toolbarActionContributors,
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
provide: Entity_Action_Contributors,
|
|
37
|
+
useValue: options.entityActionContributors,
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
provide: Entity_Props_Contributors,
|
|
41
|
+
useValue: options.entityPropContributors,
|
|
42
|
+
},
|
|
43
|
+
]
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
static forLazy(options: any = {}): NgModuleFactory<CmsModule> {
|
|
47
|
+
return new LazyModuleFactory(CmsModule.forChild(options));
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
*
|
|
51
|
+
*
|
|
52
|
+
*/
|
|
53
|
+
/**实体-操作-贡献者 */
|
|
54
|
+
export declare const Entity_Action_Contributors: InjectionToken<any>;
|
|
55
|
+
/**实体-属性-贡献者 */
|
|
56
|
+
export declare const Entity_Props_Contributors: InjectionToken<any>;
|
|
57
|
+
export declare const Toolbar_Action_Contributors: InjectionToken<any>;
|
|
58
|
+
/**
|
|
59
|
+
* 属性-操作-贡献者-解析器
|
|
60
|
+
*
|
|
61
|
+
* 用于放在-routing.module.ts路由守卫中
|
|
62
|
+
*
|
|
63
|
+
*
|
|
64
|
+
const routes: Routes = [
|
|
65
|
+
{
|
|
66
|
+
path: 'demo',
|
|
67
|
+
canActivate: [AuthGuard, PermissionGuard],
|
|
68
|
+
resolve: [Extensions_Props_Action_Token_Resolver],
|
|
69
|
+
children: []
|
|
70
|
+
},
|
|
71
|
+
]
|
|
72
|
+
*
|
|
73
|
+
*
|
|
74
|
+
*/
|
|
75
|
+
export declare const Extensions_Props_Action_Token_Resolver: ResolveFn<any>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ToolbarAction } from '@abp/ng.components/extensible';
|
|
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
|
+
/**字段 */
|
|
8
|
+
export declare const Fields_Defaults_Toolbar_Action: ToolbarAction<any[]>[];
|
|
9
|
+
/**字段-创建 */
|
|
10
|
+
export declare const Fields_Create_Defaults_Toolbar_Action: ToolbarAction<any[]>[];
|
|
11
|
+
/**字段-创建 */
|
|
12
|
+
export declare const Fields_Edit_Defaults_Toolbar_Action: ToolbarAction<any[]>[];
|
|
13
|
+
/**条目 */
|
|
14
|
+
export declare const Entries_Defaults_Toolbar_Action: ToolbarAction<any[]>[];
|
|
15
|
+
/**条目-创建 */
|
|
16
|
+
export declare const Entries_Create_Defaults_Toolbar_Action: ToolbarAction<any[]>[];
|
|
17
|
+
/**条目编辑 */
|
|
18
|
+
export declare const Entries_Edit_Defaults_Toolbar_Action: ToolbarAction<any[]>[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function appentStyle(): void;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class CmsApiService {
|
|
3
|
+
constructor();
|
|
4
|
+
/**
|
|
5
|
+
* 识别中文转化为拼音,固定返回类型
|
|
6
|
+
* 汉字转拼音
|
|
7
|
+
* 大写转小写
|
|
8
|
+
*
|
|
9
|
+
* */
|
|
10
|
+
chineseToPinyin(value: any): any;
|
|
11
|
+
/**
|
|
12
|
+
* 深拷贝--方法 */
|
|
13
|
+
deepClone(obj: any): any;
|
|
14
|
+
/**
|
|
15
|
+
* 递归将对象属性名首字母转为小写
|
|
16
|
+
* @param obj 需要处理的对象或数组
|
|
17
|
+
* @param isInsideFormConfig 标记是否在 FormConfiguration 内部
|
|
18
|
+
* @returns 处理后的新对象
|
|
19
|
+
*/
|
|
20
|
+
convertKeysToCamelCase(obj: any, isInsideFormConfig?: boolean): any;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CmsApiService, never>;
|
|
22
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CmsApiService>;
|
|
23
|
+
}
|
|
@@ -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,19 @@
|
|
|
1
|
+
import { FieldGroupAdminService, FieldGroupDto } from '../proxy/dignite/cms/admin/fields';
|
|
2
|
+
import { FormAdminService } from '../proxy/dignite/cms/admin/dynamic-forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class FieldAbstractsService {
|
|
5
|
+
private _FieldGroupAdminService;
|
|
6
|
+
private _FormAdminService;
|
|
7
|
+
constructor(_FieldGroupAdminService: FieldGroupAdminService, _FormAdminService: FormAdminService);
|
|
8
|
+
/**字段分组列表 */
|
|
9
|
+
fieldGroupList: FieldGroupDto[];
|
|
10
|
+
/**获取字段分组列表 */
|
|
11
|
+
getfieldGroupList(): void;
|
|
12
|
+
/**表单控件类型 */
|
|
13
|
+
fromControlList: any[];
|
|
14
|
+
/**获取表单控件类型 */
|
|
15
|
+
getFromControlList(): Promise<unknown>;
|
|
16
|
+
getExcludeAssignControl(typeName?: any): any[];
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FieldAbstractsService, never>;
|
|
18
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FieldAbstractsService>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { FormAdminService } from '../proxy/dignite/cms/admin/dynamic-forms/form-admin.service';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class FormControlsService {
|
|
4
|
+
private _FormAdminService;
|
|
5
|
+
constructor(_FormAdminService: FormAdminService);
|
|
6
|
+
/**需要查询的动态表单类型 */
|
|
7
|
+
enableSearchTypeList: any[];
|
|
8
|
+
/**不需要展示的动态表单类型 */
|
|
9
|
+
disableshowinTypeList: any[];
|
|
10
|
+
/**获取动态表单类型 */
|
|
11
|
+
getDynamicFormType(): Promise<unknown>;
|
|
12
|
+
getEnableSearchTypeList(): Promise<any[]>;
|
|
13
|
+
getdisableshowinTypeList(): any[];
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormControlsService, never>;
|
|
15
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FormControlsService>;
|
|
16
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dignite-ng/expand.cms",
|
|
3
|
-
"version": "2.0.0-rc.
|
|
3
|
+
"version": "2.0.0-rc.12",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "~18.1.0",
|
|
6
6
|
"@angular/core": "~18.1.0"
|
|
@@ -9,14 +9,29 @@
|
|
|
9
9
|
"pinyin-pro": "^3.19.6",
|
|
10
10
|
"tslib": "^2.3.0"
|
|
11
11
|
},
|
|
12
|
-
"allowedNonPeerDependencies":true,
|
|
12
|
+
"allowedNonPeerDependencies": true,
|
|
13
13
|
"sideEffects": false,
|
|
14
14
|
"publishConfig": {
|
|
15
15
|
"access": "public",
|
|
16
16
|
"registry": "https://registry.npmjs.org/"
|
|
17
|
+
},
|
|
18
|
+
"module": "fesm2022/dignite-ng-expand.cms.mjs",
|
|
19
|
+
"typings": "index.d.ts",
|
|
20
|
+
"exports": {
|
|
21
|
+
"./package.json": {
|
|
22
|
+
"default": "./package.json"
|
|
23
|
+
},
|
|
24
|
+
".": {
|
|
25
|
+
"types": "./index.d.ts",
|
|
26
|
+
"esm2022": "./esm2022/dignite-ng-expand.cms.mjs",
|
|
27
|
+
"esm": "./esm2022/dignite-ng-expand.cms.mjs",
|
|
28
|
+
"default": "./fesm2022/dignite-ng-expand.cms.mjs"
|
|
29
|
+
},
|
|
30
|
+
"./config": {
|
|
31
|
+
"types": "./config/index.d.ts",
|
|
32
|
+
"esm2022": "./esm2022/config/dignite-ng-expand.cms-config.mjs",
|
|
33
|
+
"esm": "./esm2022/config/dignite-ng-expand.cms-config.mjs",
|
|
34
|
+
"default": "./fesm2022/dignite-ng-expand.cms-config.mjs"
|
|
35
|
+
}
|
|
17
36
|
}
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
37
|
+
}
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export * from './lib/cms.module';
|
|
6
|
-
export * from './lib/components/dynamic-form/form-control-group';
|
|
7
|
-
export * from './lib/components/dynamic-form';
|
|
1
|
+
export * from './lib/cms.module';
|
|
2
|
+
export * from './lib/components/dynamic-form/form-control-group';
|
|
3
|
+
export * from './lib/components/dynamic-form';
|
package/config/ng-package.json
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { ModuleWithProviders, NgModule } from '@angular/core';
|
|
2
|
-
import { CMS_ROUTE_PROVIDERS } from './providers/route.provider';
|
|
3
|
-
import { Regionalization_Management_Setting_ROUTE_PROVIDERS } from '@dignite-ng/expand.regionalization-management/config';
|
|
4
|
-
|
|
5
|
-
@NgModule()
|
|
6
|
-
export class CmsConfigModule {
|
|
7
|
-
static forRoot(): ModuleWithProviders<CmsConfigModule> {
|
|
8
|
-
return {
|
|
9
|
-
ngModule: CmsConfigModule,
|
|
10
|
-
providers: [CMS_ROUTE_PROVIDERS,Regionalization_Management_Setting_ROUTE_PROVIDERS],
|
|
11
|
-
};
|
|
12
|
-
}
|
|
13
|
-
}
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import { eLayoutType, RoutesService } from '@abp/ng.core';
|
|
2
|
-
import { APP_INITIALIZER } from '@angular/core';
|
|
3
|
-
import { eCmsRouteNames } from '../enums/route-names';
|
|
4
|
-
import { SettingTabsService } from '@abp/ng.setting-management/config';
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
export const CMS_ROUTE_PROVIDERS = [
|
|
11
|
-
{
|
|
12
|
-
provide: APP_INITIALIZER,
|
|
13
|
-
useFactory: configureRoutes,
|
|
14
|
-
deps: [RoutesService, SettingTabsService],
|
|
15
|
-
multi: true,
|
|
16
|
-
},
|
|
17
|
-
];
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
export function configureRoutes(routesService: RoutesService, settingTabs: SettingTabsService) {
|
|
21
|
-
return () => {
|
|
22
|
-
routesService.add([
|
|
23
|
-
{
|
|
24
|
-
path: '/cms',
|
|
25
|
-
name: eCmsRouteNames.Cms,
|
|
26
|
-
iconClass: 'bi-archive-fill',
|
|
27
|
-
layout: eLayoutType.application,
|
|
28
|
-
requiredPolicy: 'CmsAdmin.Entry || CmsAdmin.Field || CmsAdmin.Site || CmsAdmin.Section',
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
path: '/cms/admin/entries',
|
|
32
|
-
name: eCmsRouteNames.Entries,
|
|
33
|
-
parentName: eCmsRouteNames.Cms,
|
|
34
|
-
iconClass: 'bi-file-earmark-text-fill',
|
|
35
|
-
layout: eLayoutType.application,
|
|
36
|
-
requiredPolicy: 'CmsAdmin.Entry',
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
path: '',
|
|
40
|
-
name: eCmsRouteNames.Settings,
|
|
41
|
-
parentName: eCmsRouteNames.Cms,
|
|
42
|
-
iconClass: 'fas fa fa-cog',
|
|
43
|
-
layout: eLayoutType.application,
|
|
44
|
-
requiredPolicy: 'CmsAdmin.Field || CmsAdmin.Section',
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
path: '/cms/admin/fields',
|
|
48
|
-
name: eCmsRouteNames.Fields,
|
|
49
|
-
parentName: eCmsRouteNames.Settings,
|
|
50
|
-
iconClass: 'bi-file-earmark-text-fill',
|
|
51
|
-
layout: eLayoutType.application,
|
|
52
|
-
order: 1,
|
|
53
|
-
requiredPolicy: 'CmsAdmin.Field',
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
path: '/cms/admin/sections',
|
|
57
|
-
name: eCmsRouteNames.Sections,
|
|
58
|
-
parentName: eCmsRouteNames.Settings,
|
|
59
|
-
iconClass: 'bi bi-menu-button-wide-fill',
|
|
60
|
-
layout: eLayoutType.application,
|
|
61
|
-
order: 3,
|
|
62
|
-
requiredPolicy: 'CmsAdmin.Section',
|
|
63
|
-
},
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
]);
|
|
67
|
-
};
|
|
68
|
-
}
|
package/ng-package.json
DELETED
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
import { NgModule} from '@angular/core';
|
|
2
|
-
import { Routes, RouterModule} from '@angular/router';
|
|
3
|
-
import {
|
|
4
|
-
CreateComponent,
|
|
5
|
-
CreateFieldComponent,
|
|
6
|
-
CreateOrEditComponent,
|
|
7
|
-
EditComponent,
|
|
8
|
-
EditFieldComponent,
|
|
9
|
-
EntriesComponent,
|
|
10
|
-
FieldsComponent,
|
|
11
|
-
SectionsComponent,
|
|
12
|
-
} from './components';
|
|
13
|
-
import {
|
|
14
|
-
AuthGuard,
|
|
15
|
-
PermissionGuard,
|
|
16
|
-
} from '@abp/ng.core';
|
|
17
|
-
import { appentStyle } from './services/appent-content';
|
|
18
|
-
import { Extensions_Props_Action_Token_Resolver } from './resolvers/extensions-props-action-token.resolver';
|
|
19
|
-
|
|
20
|
-
const routes: Routes = [
|
|
21
|
-
{
|
|
22
|
-
path: 'admin',
|
|
23
|
-
canActivate: [AuthGuard, PermissionGuard],
|
|
24
|
-
resolve: [Extensions_Props_Action_Token_Resolver, appentStyle],
|
|
25
|
-
children: [
|
|
26
|
-
{
|
|
27
|
-
path: 'entries',
|
|
28
|
-
|
|
29
|
-
children: [
|
|
30
|
-
{
|
|
31
|
-
path: '',
|
|
32
|
-
component: EntriesComponent,
|
|
33
|
-
data: { keep: true }
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
path: 'create',
|
|
37
|
-
component: CreateComponent,
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
path: ':entrieId/edit',
|
|
41
|
-
component: EditComponent,
|
|
42
|
-
},
|
|
43
|
-
],
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
path: '',
|
|
47
|
-
children: [
|
|
48
|
-
{
|
|
49
|
-
path: 'fields',
|
|
50
|
-
children: [
|
|
51
|
-
{
|
|
52
|
-
path: '',
|
|
53
|
-
component: FieldsComponent,
|
|
54
|
-
data: { keep: true }
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
path: 'create',
|
|
58
|
-
component: CreateFieldComponent,
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
path: ':id/edit',
|
|
62
|
-
component: EditFieldComponent,
|
|
63
|
-
},
|
|
64
|
-
],
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
path: 'sections',
|
|
68
|
-
children: [
|
|
69
|
-
{
|
|
70
|
-
path: '',
|
|
71
|
-
data: { keep: true },
|
|
72
|
-
component: SectionsComponent,
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
path: ':sectionsId/entry-types',
|
|
76
|
-
children: [
|
|
77
|
-
{
|
|
78
|
-
path: 'create',
|
|
79
|
-
component: CreateOrEditComponent,
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
path: ':entryTypesId/edit',
|
|
83
|
-
component: CreateOrEditComponent,
|
|
84
|
-
},
|
|
85
|
-
],
|
|
86
|
-
},
|
|
87
|
-
],
|
|
88
|
-
},
|
|
89
|
-
],
|
|
90
|
-
},
|
|
91
|
-
],
|
|
92
|
-
},
|
|
93
|
-
|
|
94
|
-
];
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
@NgModule({
|
|
98
|
-
imports: [RouterModule.forChild(routes)],
|
|
99
|
-
exports: [RouterModule],
|
|
100
|
-
})
|
|
101
|
-
export class CmsRoutingModule {
|
|
102
|
-
}
|
package/src/lib/cms.module.ts
DELETED
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
import { NgModule, NgModuleFactory, ModuleWithProviders } from '@angular/core';
|
|
2
|
-
import { CoreModule, LazyModuleFactory } from '@abp/ng.core';
|
|
3
|
-
import { ThemeSharedModule } from '@abp/ng.theme.shared';
|
|
4
|
-
import { CmsRoutingModule } from './cms-routing.module';
|
|
5
|
-
import {
|
|
6
|
-
CreateComponent,
|
|
7
|
-
CreateFieldComponent,
|
|
8
|
-
CreateOrEditComponent,
|
|
9
|
-
CreateOrEditEntriesComponent,
|
|
10
|
-
CreateOrEditFieldComponent,
|
|
11
|
-
EditComponent,
|
|
12
|
-
EditFieldComponent,
|
|
13
|
-
EntriesComponent,
|
|
14
|
-
FieldGroupComponent,
|
|
15
|
-
FieldsComponent,
|
|
16
|
-
SectionsComponent,
|
|
17
|
-
MatrixConfigComponent,
|
|
18
|
-
MatrixControlComponent,
|
|
19
|
-
TableConfigComponent,
|
|
20
|
-
TableControlComponent,
|
|
21
|
-
EntryConfigComponent,
|
|
22
|
-
EntryControlComponent,
|
|
23
|
-
cmsFieldControlGroup
|
|
24
|
-
} from './components';
|
|
25
|
-
import {
|
|
26
|
-
NgbDropdownModule,
|
|
27
|
-
NgbNavModule,
|
|
28
|
-
NgbAccordionModule,
|
|
29
|
-
} from '@ng-bootstrap/ng-bootstrap';
|
|
30
|
-
import { PageModule } from '@abp/ng.components/page';
|
|
31
|
-
import { NzSelectModule } from 'ng-zorro-antd/select';
|
|
32
|
-
import { DynamicFormModule } from '@dignite-ng/expand.dynamic-form';
|
|
33
|
-
import { Toolbar_Action_Contributors, Entity_Action_Contributors, Entity_Props_Contributors } from './resolvers/extensions-props-action-token.resolver';
|
|
34
|
-
import { ExtensibleModule } from '@abp/ng.components/extensible';
|
|
35
|
-
import { CreateOrEditSectionsModalComponent } from './components/admin/sections/create-or-edit-sections-modal.component';
|
|
36
|
-
import {DragDropModule} from '@angular/cdk/drag-drop';
|
|
37
|
-
import { NgxDatatableModule } from '@swimlane/ngx-datatable';
|
|
38
|
-
// import { AdvancedEntityFiltersModule, CommercialUiModule } from '@volo/abp.commercial.ng.ui';
|
|
39
|
-
|
|
40
|
-
@NgModule({
|
|
41
|
-
declarations: [
|
|
42
|
-
EntriesComponent,
|
|
43
|
-
FieldsComponent,
|
|
44
|
-
SectionsComponent,
|
|
45
|
-
FieldGroupComponent,
|
|
46
|
-
CreateFieldComponent,
|
|
47
|
-
EditFieldComponent,
|
|
48
|
-
CreateOrEditFieldComponent,
|
|
49
|
-
CreateOrEditComponent,
|
|
50
|
-
CreateComponent,
|
|
51
|
-
EditComponent,
|
|
52
|
-
CreateOrEditEntriesComponent,
|
|
53
|
-
TableConfigComponent,
|
|
54
|
-
TableControlComponent,
|
|
55
|
-
MatrixConfigComponent,
|
|
56
|
-
MatrixControlComponent,
|
|
57
|
-
EntryConfigComponent,
|
|
58
|
-
EntryControlComponent,
|
|
59
|
-
CreateOrEditSectionsModalComponent,
|
|
60
|
-
],
|
|
61
|
-
imports: [
|
|
62
|
-
CoreModule,
|
|
63
|
-
ThemeSharedModule,
|
|
64
|
-
CmsRoutingModule,
|
|
65
|
-
NgbNavModule,
|
|
66
|
-
NgbAccordionModule,
|
|
67
|
-
NgbDropdownModule,
|
|
68
|
-
PageModule,
|
|
69
|
-
NzSelectModule,
|
|
70
|
-
DynamicFormModule,
|
|
71
|
-
ExtensibleModule,
|
|
72
|
-
DragDropModule,
|
|
73
|
-
NgxDatatableModule,
|
|
74
|
-
// CommercialUiModule,
|
|
75
|
-
],
|
|
76
|
-
exports: [
|
|
77
|
-
TableConfigComponent,
|
|
78
|
-
TableControlComponent,
|
|
79
|
-
MatrixConfigComponent,
|
|
80
|
-
MatrixControlComponent,
|
|
81
|
-
EntryConfigComponent,
|
|
82
|
-
EntryControlComponent,
|
|
83
|
-
],
|
|
84
|
-
providers: [
|
|
85
|
-
|
|
86
|
-
],
|
|
87
|
-
|
|
88
|
-
})
|
|
89
|
-
export class CmsModule {
|
|
90
|
-
|
|
91
|
-
static forChild(options: any = {}): ModuleWithProviders<CmsModule> {
|
|
92
|
-
return {
|
|
93
|
-
ngModule: CmsModule,
|
|
94
|
-
providers: [
|
|
95
|
-
{
|
|
96
|
-
provide: Toolbar_Action_Contributors,
|
|
97
|
-
useValue: options.toolbarActionContributors,
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
provide: Entity_Action_Contributors,
|
|
101
|
-
useValue: options.entityActionContributors,
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
provide: Entity_Props_Contributors,
|
|
105
|
-
useValue: options.entityPropContributors,
|
|
106
|
-
},
|
|
107
|
-
],
|
|
108
|
-
};
|
|
109
|
-
}
|
|
110
|
-
static forLazy(options: any = {}): NgModuleFactory<CmsModule> {
|
|
111
|
-
return new LazyModuleFactory(CmsModule.forChild(options));
|
|
112
|
-
}
|
|
113
|
-
}
|