@dignite-ng/expand.cms 2.0.0-rc.10 → 2.0.0-rc.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.
- 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 +137 -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 +408 -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/index.mjs +4 -0
- package/esm2022/lib/components/dynamic-form/form-control-group.mjs +28 -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/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/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/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 +4063 -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 +37 -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 +100 -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 +139 -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/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/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/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/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
package/index.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@angular/router";
|
|
3
|
+
export declare class CmsRoutingModule {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CmsRoutingModule, never>;
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CmsRoutingModule, never, [typeof i1.RouterModule], [typeof i1.RouterModule]>;
|
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CmsRoutingModule>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { NgModuleFactory, ModuleWithProviders } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "./components/admin/entries/entries.component";
|
|
4
|
+
import * as i2 from "./components/admin/fields/fields.component";
|
|
5
|
+
import * as i3 from "./components/admin/sections/sections.component";
|
|
6
|
+
import * as i4 from "./components/admin/fields/field-group.component";
|
|
7
|
+
import * as i5 from "./components/admin/fields/create-field.component";
|
|
8
|
+
import * as i6 from "./components/admin/fields/edit-field.component";
|
|
9
|
+
import * as i7 from "./components/admin/fields/create-or-edit-field.component";
|
|
10
|
+
import * as i8 from "./components/admin/sections/entry-types/create-or-edit.component";
|
|
11
|
+
import * as i9 from "./components/admin/entries/create.component";
|
|
12
|
+
import * as i10 from "./components/admin/entries/edit.component";
|
|
13
|
+
import * as i11 from "./components/admin/entries/create-or-edit-entries.component";
|
|
14
|
+
import * as i12 from "./components/dynamic-form/table/table-config.component";
|
|
15
|
+
import * as i13 from "./components/dynamic-form/table/table-control.component";
|
|
16
|
+
import * as i14 from "./components/dynamic-form/matrix/matrix-config.component";
|
|
17
|
+
import * as i15 from "./components/dynamic-form/matrix/matrix-control.component";
|
|
18
|
+
import * as i16 from "./components/dynamic-form/entry/entry-config.component";
|
|
19
|
+
import * as i17 from "./components/dynamic-form/entry/entry-control.component";
|
|
20
|
+
import * as i18 from "./components/admin/sections/create-or-edit-sections-modal.component";
|
|
21
|
+
import * as i19 from "@abp/ng.core";
|
|
22
|
+
import * as i20 from "@abp/ng.theme.shared";
|
|
23
|
+
import * as i21 from "./cms-routing.module";
|
|
24
|
+
import * as i22 from "@ng-bootstrap/ng-bootstrap";
|
|
25
|
+
import * as i23 from "@abp/ng.components/page";
|
|
26
|
+
import * as i24 from "ng-zorro-antd/select";
|
|
27
|
+
import * as i25 from "@dignite-ng/expand.dynamic-form";
|
|
28
|
+
import * as i26 from "@abp/ng.components/extensible";
|
|
29
|
+
import * as i27 from "@angular/cdk/drag-drop";
|
|
30
|
+
import * as i28 from "@swimlane/ngx-datatable";
|
|
31
|
+
export declare class CmsModule {
|
|
32
|
+
static forChild(options?: any): ModuleWithProviders<CmsModule>;
|
|
33
|
+
static forLazy(options?: any): NgModuleFactory<CmsModule>;
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CmsModule, never>;
|
|
35
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CmsModule, [typeof i1.EntriesComponent, typeof i2.FieldsComponent, typeof i3.SectionsComponent, typeof i4.FieldGroupComponent, typeof i5.CreateFieldComponent, typeof i6.EditFieldComponent, typeof i7.CreateOrEditFieldComponent, typeof i8.CreateOrEditComponent, typeof i9.CreateComponent, typeof i10.EditComponent, typeof i11.CreateOrEditEntriesComponent, typeof i12.TableConfigComponent, typeof i13.TableControlComponent, typeof i14.MatrixConfigComponent, typeof i15.MatrixControlComponent, typeof i16.EntryConfigComponent, typeof i17.EntryControlComponent, typeof i18.CreateOrEditSectionsModalComponent], [typeof i19.CoreModule, typeof i20.ThemeSharedModule, typeof i21.CmsRoutingModule, typeof i22.NgbNavModule, typeof i22.NgbAccordionModule, typeof i22.NgbDropdownModule, typeof i23.PageModule, typeof i24.NzSelectModule, typeof i25.DynamicFormModule, typeof i26.ExtensibleModule, typeof i27.DragDropModule, typeof i28.NgxDatatableModule], [typeof i12.TableConfigComponent, typeof i13.TableControlComponent, typeof i14.MatrixConfigComponent, typeof i15.MatrixControlComponent, typeof i16.EntryConfigComponent, typeof i17.EntryControlComponent]>;
|
|
36
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CmsModule>;
|
|
37
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { FormControl, FormGroup } from '@angular/forms';
|
|
3
|
+
import { Location } from '@angular/common';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class CreateOrEditEntriesComponent {
|
|
6
|
+
private toaster;
|
|
7
|
+
_location: Location;
|
|
8
|
+
private configState;
|
|
9
|
+
private _SectionAdminService;
|
|
10
|
+
private _EntryAdminService;
|
|
11
|
+
private datePipe;
|
|
12
|
+
private _LocalizationService;
|
|
13
|
+
private router;
|
|
14
|
+
private _CmsApiService;
|
|
15
|
+
/**语言列表 */
|
|
16
|
+
languagesList: any[];
|
|
17
|
+
/**条目列表-选择上级条目 */
|
|
18
|
+
entryList: any[];
|
|
19
|
+
/**条目信息 */
|
|
20
|
+
entryInfo: any;
|
|
21
|
+
/**版本信息 */
|
|
22
|
+
sectionInfo: any;
|
|
23
|
+
/**需要展示的b板块下条目类型 */
|
|
24
|
+
showEntryType: any;
|
|
25
|
+
/**版本条目id */
|
|
26
|
+
entryVersionId: any;
|
|
27
|
+
/**版本列表 */
|
|
28
|
+
AllVersionsList: any[];
|
|
29
|
+
isEdit: boolean;
|
|
30
|
+
sectionId: string;
|
|
31
|
+
entryTypeId: string;
|
|
32
|
+
set select(v: any);
|
|
33
|
+
formEntity: FormGroup | undefined;
|
|
34
|
+
set entity(value: FormGroup | undefined);
|
|
35
|
+
/**是否加载完成 */
|
|
36
|
+
isLoad: boolean;
|
|
37
|
+
/**语言控件 */
|
|
38
|
+
get cultureInput(): FormControl;
|
|
39
|
+
/**获取提交按钮替身,用于真实触发表单提交 */
|
|
40
|
+
submitclick: ElementRef;
|
|
41
|
+
/**加载数据 */
|
|
42
|
+
loadData(): Promise<void>;
|
|
43
|
+
/**定义自定义异步验证 */
|
|
44
|
+
cultureAsyncValidator(): Promise<unknown>;
|
|
45
|
+
/**获取板块信息 */
|
|
46
|
+
getSectionInfo(): Promise<unknown>;
|
|
47
|
+
/**获取板块下所有条目 */
|
|
48
|
+
getEntryList(): Promise<unknown>;
|
|
49
|
+
/**对数组按照父子关系进行分组 */
|
|
50
|
+
groupByParentId(arr: any, id: string, layer: any): any[];
|
|
51
|
+
/**标题转化别名 */
|
|
52
|
+
setTitleToSlugBlur(event: any): void;
|
|
53
|
+
/**获取条目版本列表 */
|
|
54
|
+
getAllVersionsList(): Promise<unknown>;
|
|
55
|
+
/**激活 */
|
|
56
|
+
ActivatedVersion(VersionId: any): void;
|
|
57
|
+
/**编辑版本 */
|
|
58
|
+
toEditUrl(id: any): void;
|
|
59
|
+
/**删除版本 */
|
|
60
|
+
delectVersion(vid: any): void;
|
|
61
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CreateOrEditEntriesComponent, never>;
|
|
62
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CreateOrEditEntriesComponent, "cms-create-or-edit-entries", never, { "isEdit": { "alias": "isEdit"; "required": false; }; "sectionId": { "alias": "sectionId"; "required": false; }; "entryTypeId": { "alias": "entryTypeId"; "required": false; }; "select": { "alias": "select"; "required": false; }; "entity": { "alias": "entity"; "required": false; }; }, {}, never, never, false, never>;
|
|
63
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { FormGroup } from "@angular/forms";
|
|
2
|
+
export declare class CreateOrUpdateEntryInputBase {
|
|
3
|
+
/**条目id */
|
|
4
|
+
entryTypeId: any;
|
|
5
|
+
/**标题 */
|
|
6
|
+
title: any;
|
|
7
|
+
/**别名 */
|
|
8
|
+
slug: any;
|
|
9
|
+
/**语言 */
|
|
10
|
+
culture: any;
|
|
11
|
+
/**是否是草稿 */
|
|
12
|
+
draft: any;
|
|
13
|
+
/**发布时间 */
|
|
14
|
+
publishTime: any;
|
|
15
|
+
/**上级目录 */
|
|
16
|
+
parentId: any;
|
|
17
|
+
/**修订说明 */
|
|
18
|
+
versionNotes: any;
|
|
19
|
+
/**版本 */
|
|
20
|
+
initialVersionId: any;
|
|
21
|
+
extraProperties: FormGroup | undefined;
|
|
22
|
+
constructor();
|
|
23
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { Location } from '@angular/common';
|
|
2
|
+
import { OnInit, ElementRef } from '@angular/core';
|
|
3
|
+
import { FormControl, FormGroup } from '@angular/forms';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class CreateComponent implements OnInit {
|
|
6
|
+
private fb;
|
|
7
|
+
private _updateListService;
|
|
8
|
+
private toaster;
|
|
9
|
+
_location: Location;
|
|
10
|
+
private route;
|
|
11
|
+
private _EntryAdminService;
|
|
12
|
+
private _LocalizationService;
|
|
13
|
+
private _ValidatorsService;
|
|
14
|
+
/**获取提交按钮替身,用于真实触发表单提交 */
|
|
15
|
+
submitclick: ElementRef;
|
|
16
|
+
/**表单验证状态
|
|
17
|
+
* {
|
|
18
|
+
* title:true,
|
|
19
|
+
* }
|
|
20
|
+
*/
|
|
21
|
+
formValidation: any;
|
|
22
|
+
/**表单实体 */
|
|
23
|
+
formEntity: FormGroup | undefined;
|
|
24
|
+
/**语言 */
|
|
25
|
+
cultureName: string;
|
|
26
|
+
/**条目类型id */
|
|
27
|
+
entryTypeId: string;
|
|
28
|
+
/**版块id */
|
|
29
|
+
sectionId: string;
|
|
30
|
+
/**条目版本id */
|
|
31
|
+
entryVersionId: string;
|
|
32
|
+
/**条目信息 */
|
|
33
|
+
entryInfo: any;
|
|
34
|
+
/**是否草稿控件*/
|
|
35
|
+
get draftInput(): FormControl;
|
|
36
|
+
/**语言控件 */
|
|
37
|
+
get cultureInput(): FormControl;
|
|
38
|
+
ngOnInit(): Promise<void>;
|
|
39
|
+
/**获取条目信息 */
|
|
40
|
+
getEntryInfo(): Promise<unknown>;
|
|
41
|
+
/**提交 */
|
|
42
|
+
save(): void;
|
|
43
|
+
isSubmit: boolean;
|
|
44
|
+
/**点击提交 */
|
|
45
|
+
clickSubmit(type: any): void;
|
|
46
|
+
/**返回上一页 */
|
|
47
|
+
backTo(): void;
|
|
48
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CreateComponent, never>;
|
|
49
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CreateComponent, "cms-create", never, {}, {}, never, never, false, never>;
|
|
50
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { Location } from '@angular/common';
|
|
2
|
+
import { OnInit, ElementRef } from '@angular/core';
|
|
3
|
+
import { FormControl, FormGroup } from '@angular/forms';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class EditComponent implements OnInit {
|
|
6
|
+
private fb;
|
|
7
|
+
private _updateListService;
|
|
8
|
+
private toaster;
|
|
9
|
+
_location: Location;
|
|
10
|
+
private route;
|
|
11
|
+
private _EntryAdminService;
|
|
12
|
+
private _LocalizationService;
|
|
13
|
+
private _ValidatorsService;
|
|
14
|
+
private datePipe;
|
|
15
|
+
/**获取提交按钮替身,用于真实触发表单提交 */
|
|
16
|
+
submitclick: ElementRef;
|
|
17
|
+
/**表单验证状态
|
|
18
|
+
* {
|
|
19
|
+
* title:true,
|
|
20
|
+
* }
|
|
21
|
+
*/
|
|
22
|
+
formValidation: any;
|
|
23
|
+
/**表单实体 */
|
|
24
|
+
formEntity: FormGroup | undefined;
|
|
25
|
+
/**语言 */
|
|
26
|
+
cultureName: string;
|
|
27
|
+
/**条目类型id */
|
|
28
|
+
entryTypeId: string;
|
|
29
|
+
/**版块id */
|
|
30
|
+
sectionId: string;
|
|
31
|
+
/**条目版本id */
|
|
32
|
+
entryVersionId: string;
|
|
33
|
+
/**条目id */
|
|
34
|
+
entrieId: string;
|
|
35
|
+
/**条目信息 */
|
|
36
|
+
entryInfo: any;
|
|
37
|
+
/**是否草稿控件*/
|
|
38
|
+
get draftInput(): FormControl;
|
|
39
|
+
/**语言控件 */
|
|
40
|
+
get cultureInput(): FormControl;
|
|
41
|
+
ngOnInit(): Promise<void>;
|
|
42
|
+
/**获取条目信息 */
|
|
43
|
+
getEntryInfo(): Promise<unknown>;
|
|
44
|
+
/**提交 */
|
|
45
|
+
save(): void;
|
|
46
|
+
isSubmit: boolean;
|
|
47
|
+
/**点击提交 */
|
|
48
|
+
clickSubmit(type: any): void;
|
|
49
|
+
/**返回上一页 */
|
|
50
|
+
backTo(): void;
|
|
51
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditComponent, never>;
|
|
52
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EditComponent, "cms-edit", never, {}, {}, never, never, false, never>;
|
|
53
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { ListService, ConfigStateService, LocalizationService, PagedResultDto, ABP } from '@abp/ng.core';
|
|
2
|
+
import { ToasterService, ConfirmationService } from '@abp/ng.theme.shared';
|
|
3
|
+
import { ChangeDetectorRef, OnInit } from '@angular/core';
|
|
4
|
+
import { FormGroup } from '@angular/forms';
|
|
5
|
+
import { Router } from '@angular/router';
|
|
6
|
+
import { ColumnMode } from '@swimlane/ngx-datatable';
|
|
7
|
+
import { EntryAdminService, EntryDto, GetEntriesInput } from '../../../proxy/dignite/cms/admin/entries';
|
|
8
|
+
import { SectionAdminService } from '../../../proxy/dignite/cms/admin/sections';
|
|
9
|
+
import { SectionType } from '../../../proxy/dignite/cms/sections';
|
|
10
|
+
import { FormAdminService } from '../../../proxy/dignite/cms/admin/dynamic-forms';
|
|
11
|
+
import { FieldAdminService } from '../../../proxy/dignite/cms/admin/fields';
|
|
12
|
+
import * as i0 from "@angular/core";
|
|
13
|
+
export declare class EntriesComponent implements OnInit {
|
|
14
|
+
private _EntryAdminService;
|
|
15
|
+
private _SectionAdminService;
|
|
16
|
+
private toaster;
|
|
17
|
+
private confirmation;
|
|
18
|
+
private configState;
|
|
19
|
+
private router;
|
|
20
|
+
private _LocalizationService;
|
|
21
|
+
private _FormAdminService;
|
|
22
|
+
private _FieldAdminService;
|
|
23
|
+
private cdRef;
|
|
24
|
+
constructor(_EntryAdminService: EntryAdminService, _SectionAdminService: SectionAdminService, toaster: ToasterService, confirmation: ConfirmationService, configState: ConfigStateService, router: Router, _LocalizationService: LocalizationService, _FormAdminService: FormAdminService, _FieldAdminService: FieldAdminService, cdRef: ChangeDetectorRef);
|
|
25
|
+
private fb;
|
|
26
|
+
private _UpdateListService;
|
|
27
|
+
readonly list: ListService<any>;
|
|
28
|
+
/**板块类型 */
|
|
29
|
+
SectionType: typeof SectionType;
|
|
30
|
+
ngOnInit(): void;
|
|
31
|
+
/**站点下的版块 */
|
|
32
|
+
SiteOfSectionList: any[any];
|
|
33
|
+
/**版块下的语言列表 */
|
|
34
|
+
sectionLanguagesList: any[any];
|
|
35
|
+
/**版块下的条目类型列表 */
|
|
36
|
+
entryTypeList: any[any];
|
|
37
|
+
/**状态编码 */
|
|
38
|
+
_entryStatusOptions: ABP.Option<typeof import("../../../proxy/dignite/cms/entries").EntryStatus>[];
|
|
39
|
+
/**获取页面数据 */
|
|
40
|
+
getPageDate(): Promise<void>;
|
|
41
|
+
/**需要查询的动态表单类型 */
|
|
42
|
+
enableSearchTypeList: any[];
|
|
43
|
+
/**需要查询的动态表单字段 */
|
|
44
|
+
enableSearchFieldList: any[];
|
|
45
|
+
/**不需要展示的动态表单类型 */
|
|
46
|
+
disableshowinTypeList: any[];
|
|
47
|
+
/**需要展示的动态列表字段 */
|
|
48
|
+
showinFieldList: any[];
|
|
49
|
+
/**获取动态表单类型 */
|
|
50
|
+
getDynamicFormType(): Promise<unknown>;
|
|
51
|
+
/**切换板块 */
|
|
52
|
+
sectionIdChange(): Promise<void>;
|
|
53
|
+
/**切换语言 */
|
|
54
|
+
cultureChange(): Promise<void>;
|
|
55
|
+
/**获取站点下的版块 */
|
|
56
|
+
getSiteOfSectionList(): Promise<unknown>;
|
|
57
|
+
/**表单 */
|
|
58
|
+
enablegearchFormEntity: FormGroup | undefined;
|
|
59
|
+
get extraPropertiesInput(): FormGroup;
|
|
60
|
+
/**设置筛选条件 */
|
|
61
|
+
setfiltersValue(): Promise<unknown>;
|
|
62
|
+
listget(): Promise<void>;
|
|
63
|
+
/**站点下板块的类型 */
|
|
64
|
+
SiteOfSectionType: any;
|
|
65
|
+
/**获取版块下的条目类型 */
|
|
66
|
+
getSectionOfEntryType(): Promise<void>;
|
|
67
|
+
abpInitss(): Promise<void>;
|
|
68
|
+
/**获取板块详情 */
|
|
69
|
+
getSectionInfo(ids: any): Promise<unknown>;
|
|
70
|
+
/**获取字段详情 */
|
|
71
|
+
getDynamicFormEntity(fieldId: string): Promise<unknown>;
|
|
72
|
+
private config;
|
|
73
|
+
private _RegionalizationService;
|
|
74
|
+
/**获取版块下的语言列表 */
|
|
75
|
+
getSectionLanguagesList(): Promise<unknown>;
|
|
76
|
+
/**站点设置语言 */
|
|
77
|
+
SiteSettingsAdminLanguages: any[];
|
|
78
|
+
/**
|
|
79
|
+
* 获取站点设置语言
|
|
80
|
+
*/
|
|
81
|
+
getSiteSettingsLanguages(): Promise<unknown>;
|
|
82
|
+
resetData(): void;
|
|
83
|
+
/**新增-单个 */
|
|
84
|
+
createEntriesBtn(): void;
|
|
85
|
+
createCopyEntriesBtn(): void;
|
|
86
|
+
/**列表相关 */
|
|
87
|
+
ColumnMode: typeof ColumnMode;
|
|
88
|
+
data: PagedResultDto<EntryDto> | any;
|
|
89
|
+
filters: GetEntriesInput;
|
|
90
|
+
maxResultCount: number;
|
|
91
|
+
hookToQuery(): void;
|
|
92
|
+
/**删除条目 */
|
|
93
|
+
deletefield(row: any): void;
|
|
94
|
+
drop(event: any): void;
|
|
95
|
+
isexpanded: boolean;
|
|
96
|
+
/**高级筛选切换 */
|
|
97
|
+
expandedChange(event: any): void;
|
|
98
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EntriesComponent, never>;
|
|
99
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EntriesComponent, "cms-entries", never, {}, {}, never, never, false, never>;
|
|
100
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { LocalizationService } from '@abp/ng.core';
|
|
2
|
+
import { ToasterService } from '@abp/ng.theme.shared';
|
|
3
|
+
import { Location } from '@angular/common';
|
|
4
|
+
import { ElementRef } from '@angular/core';
|
|
5
|
+
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
6
|
+
import { CmsApiService } from '../../../services';
|
|
7
|
+
import { FieldAdminService } from '../../../proxy/dignite/cms/admin/fields';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class CreateFieldComponent {
|
|
10
|
+
private fb;
|
|
11
|
+
_FieldAdminService: FieldAdminService;
|
|
12
|
+
private toaster;
|
|
13
|
+
_location: Location;
|
|
14
|
+
_LocalizationService: LocalizationService;
|
|
15
|
+
_CmsApiService: CmsApiService;
|
|
16
|
+
constructor(fb: FormBuilder, _FieldAdminService: FieldAdminService, toaster: ToasterService, _location: Location, _LocalizationService: LocalizationService, _CmsApiService: CmsApiService);
|
|
17
|
+
private _UpdateListService;
|
|
18
|
+
/**表单实体 */
|
|
19
|
+
newEntity: FormGroup | undefined;
|
|
20
|
+
/**获取提交按钮替身,用于真实触发表单提交 */
|
|
21
|
+
submitclick: ElementRef;
|
|
22
|
+
ngOnInit(): void;
|
|
23
|
+
/**触发提交按钮 */
|
|
24
|
+
submitclickBtn(): void;
|
|
25
|
+
isSubmit: boolean;
|
|
26
|
+
private _ValidatorsService;
|
|
27
|
+
/**表单验证状态
|
|
28
|
+
* {
|
|
29
|
+
* title:true,
|
|
30
|
+
* }
|
|
31
|
+
*/
|
|
32
|
+
formValidation: any;
|
|
33
|
+
/**保存表单 */
|
|
34
|
+
save(): void;
|
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CreateFieldComponent, never>;
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CreateFieldComponent, "cms-create-field", never, {}, {}, never, never, false, never>;
|
|
37
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { FieldAbstractsService } from '../../../services/field-abstracts.service';
|
|
3
|
+
import { AbstractControl, FormGroup, ValidationErrors } from '@angular/forms';
|
|
4
|
+
import { CmsApiService } from '../../../services/cms-api.service';
|
|
5
|
+
import { Observable } from 'rxjs';
|
|
6
|
+
import { LocalizationService } from '@abp/ng.core';
|
|
7
|
+
import { FieldAdminService } from '../../../proxy/dignite/cms/admin/fields';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class CreateOrEditFieldComponent {
|
|
10
|
+
_FieldAbstractsService: FieldAbstractsService;
|
|
11
|
+
private _CmsApiService;
|
|
12
|
+
private _FieldAdminService;
|
|
13
|
+
private _LocalizationService;
|
|
14
|
+
/**表单控件模板-动态表单配置组件 */
|
|
15
|
+
/**获取提交按钮替身,用于真实触发表单提交 */
|
|
16
|
+
submitclick: ElementRef;
|
|
17
|
+
constructor(_FieldAbstractsService: FieldAbstractsService, _CmsApiService: CmsApiService, _FieldAdminService: FieldAdminService, _LocalizationService: LocalizationService);
|
|
18
|
+
/**表单实体 */
|
|
19
|
+
_Entity: FormGroup | undefined;
|
|
20
|
+
set Entity(v: FormGroup | undefined);
|
|
21
|
+
get formControlName(): AbstractControl<any, any>;
|
|
22
|
+
/**选择的表单信息 */
|
|
23
|
+
_selected_copy: any;
|
|
24
|
+
_selected: any;
|
|
25
|
+
set selected(v: any);
|
|
26
|
+
dataLoaded(): Promise<void>;
|
|
27
|
+
/**name表单控件 */
|
|
28
|
+
get nameInput(): AbstractControl<any, any>;
|
|
29
|
+
nameInputBlur(event: any): void;
|
|
30
|
+
/**字段标签input失去标点生成字段名字 */
|
|
31
|
+
disPlayNameInputBlur(event: any): void;
|
|
32
|
+
/**定义异步验证方法 */
|
|
33
|
+
repetitionAsyncValidator(): (ctrl: AbstractControl) => Promise<ValidationErrors | null> | Observable<ValidationErrors | null>;
|
|
34
|
+
formControlNameChange(event: any): void;
|
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CreateOrEditFieldComponent, never>;
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CreateOrEditFieldComponent, "cms-create-or-edit-field", never, { "Entity": { "alias": "Entity"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; }, {}, never, never, false, never>;
|
|
37
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { FormGroup } from "@angular/forms";
|
|
2
|
+
export declare class CreateOrUpdateFieldInputBase {
|
|
3
|
+
/**分组id */
|
|
4
|
+
groupId: any;
|
|
5
|
+
/**字段名称 Display name of this field */
|
|
6
|
+
displayName: any;
|
|
7
|
+
/**字段唯一名称 Unique Name*/
|
|
8
|
+
name: any;
|
|
9
|
+
/**描述 说明 */
|
|
10
|
+
description: any;
|
|
11
|
+
/**FieldType字段类型 表单控件名称 */
|
|
12
|
+
formControlName: any;
|
|
13
|
+
/**动态表单配置 */
|
|
14
|
+
formConfiguration: FormGroup | undefined;
|
|
15
|
+
constructor(data?: CreateOrUpdateFieldInputBase);
|
|
16
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { LocalizationService } from '@abp/ng.core';
|
|
2
|
+
import { ToasterService } from '@abp/ng.theme.shared';
|
|
3
|
+
import { Location } from '@angular/common';
|
|
4
|
+
import { OnInit, ElementRef } from '@angular/core';
|
|
5
|
+
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
6
|
+
import { ActivatedRoute } from '@angular/router';
|
|
7
|
+
import { FieldAbstractsService, CmsApiService } from '../../../services';
|
|
8
|
+
import { FieldAdminService } from '../../../proxy/dignite/cms/admin/fields';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class EditFieldComponent implements OnInit {
|
|
11
|
+
private fb;
|
|
12
|
+
_FieldAbstractsService: FieldAbstractsService;
|
|
13
|
+
_FieldAdminService: FieldAdminService;
|
|
14
|
+
private route;
|
|
15
|
+
private toaster;
|
|
16
|
+
_location: Location;
|
|
17
|
+
_LocalizationService: LocalizationService;
|
|
18
|
+
_CmsApiService: CmsApiService;
|
|
19
|
+
constructor(fb: FormBuilder, _FieldAbstractsService: FieldAbstractsService, _FieldAdminService: FieldAdminService, route: ActivatedRoute, toaster: ToasterService, _location: Location, _LocalizationService: LocalizationService, _CmsApiService: CmsApiService);
|
|
20
|
+
private _UpdateListService;
|
|
21
|
+
private _ValidatorsService;
|
|
22
|
+
/**表单实体 */
|
|
23
|
+
newEntity: FormGroup | undefined;
|
|
24
|
+
/**字段id */
|
|
25
|
+
fieldId: string;
|
|
26
|
+
/**字段详情 */
|
|
27
|
+
fieldDetails: any;
|
|
28
|
+
isSubmit: boolean;
|
|
29
|
+
/**表单验证状态
|
|
30
|
+
* {
|
|
31
|
+
* title:true,
|
|
32
|
+
* }
|
|
33
|
+
*/
|
|
34
|
+
formValidation: any;
|
|
35
|
+
/**获取提交按钮替身,用于真实触发表单提交 */
|
|
36
|
+
submitclick: ElementRef;
|
|
37
|
+
ngOnInit(): Promise<void>;
|
|
38
|
+
/**获取字段详情 */
|
|
39
|
+
getFieldEdit(): Promise<unknown>;
|
|
40
|
+
/**触发提交按钮 */
|
|
41
|
+
submitclickBtn(): void;
|
|
42
|
+
/**保存表单 */
|
|
43
|
+
save(): void;
|
|
44
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditFieldComponent, never>;
|
|
45
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EditFieldComponent, "cms-edit-field", never, {}, {}, never, never, false, never>;
|
|
46
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
+
import { ConfirmationService, ToasterService } from '@abp/ng.theme.shared';
|
|
4
|
+
import { FieldAbstractsService } from '../../../services/field-abstracts.service';
|
|
5
|
+
import { LocalizationService } from '@abp/ng.core';
|
|
6
|
+
import { FieldGroupAdminService } from '../../../proxy/dignite/cms/admin/fields';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class FieldGroupComponent implements OnInit {
|
|
9
|
+
private fb;
|
|
10
|
+
private _FieldGroupAdminService;
|
|
11
|
+
private toaster;
|
|
12
|
+
private confirmation;
|
|
13
|
+
_FieldAbstractsService: FieldAbstractsService;
|
|
14
|
+
_LocalizationService: LocalizationService;
|
|
15
|
+
constructor(fb: FormBuilder, _FieldGroupAdminService: FieldGroupAdminService, toaster: ToasterService, confirmation: ConfirmationService, _FieldAbstractsService: FieldAbstractsService, _LocalizationService: LocalizationService);
|
|
16
|
+
/**创建分组表单 */
|
|
17
|
+
createForm: FormGroup | undefined;
|
|
18
|
+
/** 编辑分组表单*/
|
|
19
|
+
editGroupForm: FormGroup | undefined;
|
|
20
|
+
/**表单已存在的值 */
|
|
21
|
+
selected: any;
|
|
22
|
+
/**选择的字段分组id */
|
|
23
|
+
fieldGroupId: string | undefined;
|
|
24
|
+
/**创建分组模态框状态 */
|
|
25
|
+
createGroupOpen: boolean;
|
|
26
|
+
/**用于确定模态的繁忙状态是否为真 */
|
|
27
|
+
modalBusy: boolean;
|
|
28
|
+
/**编辑分组模态框状态 */
|
|
29
|
+
editGroupOpen: boolean;
|
|
30
|
+
/**点击分组回调 */
|
|
31
|
+
OnGroupClickBack: EventEmitter<any>;
|
|
32
|
+
ngOnInit(): void;
|
|
33
|
+
/**创建字段分组 */
|
|
34
|
+
createGroupBtn(): void;
|
|
35
|
+
/**创建分组模态框状态改变 */
|
|
36
|
+
createGroupVisibleChange(event: any): void;
|
|
37
|
+
/**编辑字段分组 */
|
|
38
|
+
editGroupBtn(itemName: string): void;
|
|
39
|
+
/**编辑分组模态框状态改变 */
|
|
40
|
+
editGroupVisibleChange(event: any): void;
|
|
41
|
+
private _ValidatorsService;
|
|
42
|
+
/**表单验证状态
|
|
43
|
+
* {
|
|
44
|
+
* title:true,
|
|
45
|
+
* }
|
|
46
|
+
*/
|
|
47
|
+
formValidation: any;
|
|
48
|
+
/**创建字段分组保存 */
|
|
49
|
+
createSave(): void;
|
|
50
|
+
/**编辑字段分组保存 */
|
|
51
|
+
editSave(): void;
|
|
52
|
+
/**删除字段分组1 */
|
|
53
|
+
deleteGroupbtn(fieldGroupitem: any): void;
|
|
54
|
+
/**字段分组改变 */
|
|
55
|
+
fieldGroupChange(event: any): void;
|
|
56
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FieldGroupComponent, never>;
|
|
57
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FieldGroupComponent, "cms-field-group", never, {}, { "OnGroupClickBack": "OnGroupClickBack"; }, never, never, false, never>;
|
|
58
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { ListService, LocalizationService, PagedResultDto } from "@abp/ng.core";
|
|
2
|
+
import { ToasterService, ConfirmationService } from "@abp/ng.theme.shared";
|
|
3
|
+
import { OnInit } from "@angular/core";
|
|
4
|
+
import { Router } from "@angular/router";
|
|
5
|
+
import { ColumnMode } from "@swimlane/ngx-datatable";
|
|
6
|
+
import { FieldAdminService, FieldDto, GetFieldsInput } from "../../../proxy/dignite/cms/admin/fields";
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class FieldsComponent implements OnInit {
|
|
9
|
+
readonly list: ListService;
|
|
10
|
+
private _FieldAdminService;
|
|
11
|
+
private toaster;
|
|
12
|
+
private confirmation;
|
|
13
|
+
private _LocalizationService;
|
|
14
|
+
private router;
|
|
15
|
+
constructor(list: ListService, _FieldAdminService: FieldAdminService, toaster: ToasterService, confirmation: ConfirmationService, _LocalizationService: LocalizationService, router: Router);
|
|
16
|
+
private _UpdateListService;
|
|
17
|
+
/**表格单元格布局类型 */
|
|
18
|
+
ColumnMode: typeof ColumnMode;
|
|
19
|
+
/**表格数据 */
|
|
20
|
+
data: PagedResultDto<FieldDto>;
|
|
21
|
+
/**过滤器 */
|
|
22
|
+
filters: GetFieldsInput;
|
|
23
|
+
ngOnInit(): void;
|
|
24
|
+
getData(): void;
|
|
25
|
+
/**字段分组选择回调 */
|
|
26
|
+
fieldGroupChange(event: any): void;
|
|
27
|
+
/**使用abp的list获取表格的字段数据列表 */
|
|
28
|
+
hookToQuery(): void;
|
|
29
|
+
/**新建字段按钮 */
|
|
30
|
+
toFieldsCreateBtn(): void;
|
|
31
|
+
/**删除字段 */
|
|
32
|
+
deletefield(row: any): void;
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FieldsComponent, never>;
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FieldsComponent, "cms-fields", never, {}, {}, never, never, false, never>;
|
|
35
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from './fields.component';
|
|
2
|
+
export * from './field-group.component';
|
|
3
|
+
export * from './create-field.component';
|
|
4
|
+
export * from './create-or-edit-field.component';
|
|
5
|
+
export * from './edit-field.component';
|
|
6
|
+
export * from './create-or-update-field-input-base';
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter } from '@angular/core';
|
|
2
|
+
import { AbstractControl, FormControl, FormGroup, ValidationErrors, ValidatorFn } from '@angular/forms';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { SectionType } from '../../../proxy/dignite/cms/sections';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class CreateOrEditSectionsModalComponent {
|
|
7
|
+
private _LocalizationService;
|
|
8
|
+
private toaster;
|
|
9
|
+
private _ValidatorsService;
|
|
10
|
+
private _UpdateListService;
|
|
11
|
+
private _SectionAdminService;
|
|
12
|
+
private _CmsApiService;
|
|
13
|
+
_SectionType: typeof SectionType;
|
|
14
|
+
_sectionTypeOptions: import("@abp/ng.core").ABP.Option<typeof SectionType>[];
|
|
15
|
+
/**表单验证状态 */
|
|
16
|
+
formValidation: any;
|
|
17
|
+
/**模态框-状态-是否打开 */
|
|
18
|
+
ModalOpen: boolean;
|
|
19
|
+
set visible(v: boolean);
|
|
20
|
+
/**模态框-繁忙状态-用于确定模态的繁忙状态是否为真 */
|
|
21
|
+
ModalBusy: boolean;
|
|
22
|
+
/**初始值 */
|
|
23
|
+
selected: any;
|
|
24
|
+
/**模态框-表单 */
|
|
25
|
+
ModalForm: FormGroup | undefined;
|
|
26
|
+
set formEntity(v: FormGroup | undefined);
|
|
27
|
+
get idInput(): FormControl;
|
|
28
|
+
get displayNameInput(): FormControl;
|
|
29
|
+
get nameInput(): FormControl;
|
|
30
|
+
get routeInput(): FormControl;
|
|
31
|
+
get templateInput(): FormControl;
|
|
32
|
+
get typeInput(): FormControl;
|
|
33
|
+
radiochange(): void;
|
|
34
|
+
/**模态框-表单--控件模板-动态赋值表单控件 */
|
|
35
|
+
ModalFormSubmit: ElementRef;
|
|
36
|
+
visibleChange: EventEmitter<any>;
|
|
37
|
+
/**模态框-状态改变回调 */
|
|
38
|
+
ModalVisibleChange(event: any): void;
|
|
39
|
+
/**保存 */
|
|
40
|
+
save(): void;
|
|
41
|
+
reset(): void;
|
|
42
|
+
disPlayNameInputBlur(event: any): void;
|
|
43
|
+
setAsyncValidatorsFn(): void;
|
|
44
|
+
forbiddenNameValidator(): ValidatorFn;
|
|
45
|
+
nameRepetitionAsyncValidator(): (ctrl: AbstractControl) => Promise<ValidationErrors | null> | Observable<ValidationErrors | null>;
|
|
46
|
+
routeRepetitionAsyncValidator(): (ctrl: AbstractControl) => Promise<ValidationErrors | null> | Observable<ValidationErrors | null>;
|
|
47
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CreateOrEditSectionsModalComponent, never>;
|
|
48
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CreateOrEditSectionsModalComponent, "cms-create-or-edit-sections-modal", never, { "visible": { "alias": "visible"; "required": false; }; "formEntity": { "alias": "formEntity"; "required": false; }; }, { "visibleChange": "visibleChange"; }, never, never, false, never>;
|
|
49
|
+
}
|