@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,20 @@
|
|
|
1
|
+
import { Validators } from "@angular/forms";
|
|
2
|
+
export declare class CreateOrUpdateSectionsInputBase {
|
|
3
|
+
id: string | Validators[];
|
|
4
|
+
/**版块类型 */
|
|
5
|
+
type: any;
|
|
6
|
+
/**字段名称 Display name of this field */
|
|
7
|
+
displayName: any;
|
|
8
|
+
/**字段唯一名称 Unique Name*/
|
|
9
|
+
name: any;
|
|
10
|
+
/**条目路由 */
|
|
11
|
+
route: any;
|
|
12
|
+
/**页面模板 */
|
|
13
|
+
template: any;
|
|
14
|
+
/**是否默认 */
|
|
15
|
+
isDefault: any;
|
|
16
|
+
/**是否激活 */
|
|
17
|
+
isActive: any;
|
|
18
|
+
concurrencyStamp: string | Validators[];
|
|
19
|
+
constructor();
|
|
20
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export declare class CreateOrEditEntryTypeInputBase {
|
|
2
|
+
/**显示名称 Display name of this field */
|
|
3
|
+
displayName: any;
|
|
4
|
+
/**名称 Unique Name*/
|
|
5
|
+
name: any;
|
|
6
|
+
/**条目路由 */
|
|
7
|
+
fieldTabs: any;
|
|
8
|
+
constructor(data?: CreateOrEditEntryTypeInputBase);
|
|
9
|
+
}
|
|
10
|
+
export declare class fieldTabsBase {
|
|
11
|
+
/**名称 Unique Name*/
|
|
12
|
+
name: any;
|
|
13
|
+
fields?: any;
|
|
14
|
+
constructor(data?: fieldTabsBase);
|
|
15
|
+
}
|
|
16
|
+
export declare class fieldsBase {
|
|
17
|
+
/**字段id Unique Name*/
|
|
18
|
+
fieldId: any;
|
|
19
|
+
/**显示名称 Unique Name*/
|
|
20
|
+
displayName: any;
|
|
21
|
+
/**必填 Unique Name*/
|
|
22
|
+
required: any;
|
|
23
|
+
/**是否在列表中显示 Unique Name*/
|
|
24
|
+
showInList: any;
|
|
25
|
+
/**是否启用搜索 */
|
|
26
|
+
enableSearch: any;
|
|
27
|
+
constructor();
|
|
28
|
+
}
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
import { LocalizationService } from '@abp/ng.core';
|
|
2
|
+
import { ToasterService } from '@abp/ng.theme.shared';
|
|
3
|
+
import { ElementRef, OnInit } from '@angular/core';
|
|
4
|
+
import { FormGroup, FormArray } from '@angular/forms';
|
|
5
|
+
import { ActivatedRoute } from '@angular/router';
|
|
6
|
+
import { CmsApiService } from '../../../../services';
|
|
7
|
+
import { Location } from '@angular/common';
|
|
8
|
+
import { FieldAdminService, FieldGroupAdminService } from '../../../../proxy/dignite/cms/admin/fields';
|
|
9
|
+
import { EntryTypeAdminService } from '../../../../proxy/dignite/cms/admin/sections';
|
|
10
|
+
import { FormControlsService } from '../../../../services/form-controls.service';
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
export declare class CreateOrEditComponent implements OnInit {
|
|
13
|
+
private toaster;
|
|
14
|
+
_location: Location;
|
|
15
|
+
private route;
|
|
16
|
+
_FieldGroupAdminService: FieldGroupAdminService;
|
|
17
|
+
_FieldAdminService: FieldAdminService;
|
|
18
|
+
_EntryTypeAdminService: EntryTypeAdminService;
|
|
19
|
+
_LocalizationService: LocalizationService;
|
|
20
|
+
_CmsApiService: CmsApiService;
|
|
21
|
+
_FormControlsService: FormControlsService;
|
|
22
|
+
constructor(toaster: ToasterService, _location: Location, route: ActivatedRoute, _FieldGroupAdminService: FieldGroupAdminService, _FieldAdminService: FieldAdminService, _EntryTypeAdminService: EntryTypeAdminService, _LocalizationService: LocalizationService, _CmsApiService: CmsApiService, _FormControlsService: FormControlsService);
|
|
23
|
+
private fb;
|
|
24
|
+
private _UpdateListService;
|
|
25
|
+
/**表单实体 */
|
|
26
|
+
newEntity: FormGroup;
|
|
27
|
+
/**版块id */
|
|
28
|
+
sectionId: string;
|
|
29
|
+
/**条目类型id */
|
|
30
|
+
entryTypesId: string;
|
|
31
|
+
/**条目类型详情 */
|
|
32
|
+
entryTypesSelect: any;
|
|
33
|
+
get fieldTabs(): FormArray;
|
|
34
|
+
/**获取提交按钮替身,用于真实触发表单提交 */
|
|
35
|
+
submitclick: ElementRef;
|
|
36
|
+
/**触发提交按钮 */
|
|
37
|
+
submitclickBtn(): void;
|
|
38
|
+
/**需要查询的动态表单类型 */
|
|
39
|
+
enableSearchTypeList: any[];
|
|
40
|
+
/**不需要展示的动态表单类型 */
|
|
41
|
+
disableshowinTypeList: any[];
|
|
42
|
+
ngOnInit(): Promise<void>;
|
|
43
|
+
/**给fieldTabs添加新控件 */
|
|
44
|
+
addControlToFieldTabs(nameValue?: string): void;
|
|
45
|
+
/**获取字段分组 */
|
|
46
|
+
getFieldGroup(): void;
|
|
47
|
+
/**获取条目类型详情 */
|
|
48
|
+
getEntryTypes(): void;
|
|
49
|
+
/**
|
|
50
|
+
* 深拷贝--方法
|
|
51
|
+
* $api.deepClone() */
|
|
52
|
+
deepClone(obj: any): any;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @param nameValue 获取所有字段
|
|
56
|
+
*/
|
|
57
|
+
getFieldList(): Promise<unknown>;
|
|
58
|
+
/**
|
|
59
|
+
* 拖拽 功能*/
|
|
60
|
+
/**数据源 */
|
|
61
|
+
/**数据源-字段分组数据-包含字段数据 fields */
|
|
62
|
+
fieldGroupList: any[];
|
|
63
|
+
/**数据源-所有字段列表 */
|
|
64
|
+
fieldList: any[];
|
|
65
|
+
/**数据源拖拽的分组下标 */
|
|
66
|
+
DataSourceGroupIndex: number | any;
|
|
67
|
+
/**数据源拖拽的字段下标 */
|
|
68
|
+
DataSourceFieldIndex: number | any;
|
|
69
|
+
/**目标源 结果*/
|
|
70
|
+
resultSource: any[];
|
|
71
|
+
/**从数据源拖拽的元素 */
|
|
72
|
+
fromDataSourceDragEl: any;
|
|
73
|
+
/**从目标源拖拽的元素 */
|
|
74
|
+
fromResultSourceDragEl: any;
|
|
75
|
+
/**来自数据源的集合,用于从目标源拖回数据源时的判断,与取值 */
|
|
76
|
+
formRightGroup: any[];
|
|
77
|
+
/**从数据源开始拖拽 */
|
|
78
|
+
fromDataSourceDragStart(element: any, fieldIndex: any, groupIndex: any): void;
|
|
79
|
+
/**从目标源开始拖拽 */
|
|
80
|
+
fromResultSourceDragStart(element: any): void;
|
|
81
|
+
/**拖拽到数据源时触发 */
|
|
82
|
+
dragToDataSourceDropped(): void;
|
|
83
|
+
/**拖拽到目标源时触发
|
|
84
|
+
*
|
|
85
|
+
*/
|
|
86
|
+
dragToResultSourceDropped(fieldTabstem: any, fieldTabsIndex: any): void;
|
|
87
|
+
/** 从目标源拖拽到目标源*/
|
|
88
|
+
dragToResultSourceItemDropped(fieldsIndex: any): void;
|
|
89
|
+
/**设置formA表单 */
|
|
90
|
+
setfieldTabsFrom(): void;
|
|
91
|
+
private _ValidatorsService;
|
|
92
|
+
/**表单验证状态
|
|
93
|
+
* {
|
|
94
|
+
* title:true,
|
|
95
|
+
* }
|
|
96
|
+
*/
|
|
97
|
+
formValidation: any;
|
|
98
|
+
isSubmit: boolean;
|
|
99
|
+
/**保存表单 */
|
|
100
|
+
save(): boolean;
|
|
101
|
+
/**编辑Tabs表单 */
|
|
102
|
+
editFieldTabsFrom: FormGroup;
|
|
103
|
+
/**模态框状态 */
|
|
104
|
+
visibleTabsOpen: boolean;
|
|
105
|
+
/**是否是忙碌状态 */
|
|
106
|
+
modalBusy: boolean;
|
|
107
|
+
/**正在编辑的tabs */
|
|
108
|
+
editFieldTabsSelect: any;
|
|
109
|
+
/**正在选中的nav */
|
|
110
|
+
navActive: any;
|
|
111
|
+
/**表单控件模板-动态赋值表单控件 */
|
|
112
|
+
editFieldTabsModalSubmitBtn: ElementRef;
|
|
113
|
+
/**模态框状态改变回调 */
|
|
114
|
+
VisibleTabsChange(event: any): void;
|
|
115
|
+
/**新建增加FieldTabs */
|
|
116
|
+
addFieldTabs(): void;
|
|
117
|
+
/**正在编辑的tab下标 */
|
|
118
|
+
newEditFieldTabsIndex: number | any;
|
|
119
|
+
/**编辑FieldTabs */
|
|
120
|
+
editFieldTabs(item: any, i: any): void;
|
|
121
|
+
/**保存编辑tabs表单 */
|
|
122
|
+
editFieldTabsSave(): void;
|
|
123
|
+
/**删除某个tabs表单 */
|
|
124
|
+
deleteFieldTabs(index: any): void;
|
|
125
|
+
/**编辑字段模态框状态 */
|
|
126
|
+
visibleEditFieldOpen: boolean;
|
|
127
|
+
/**编辑字段模态框表单 */
|
|
128
|
+
editFieldFrom: FormGroup;
|
|
129
|
+
/**表单控件模板-动态赋值表单控件-编辑字段 */
|
|
130
|
+
editFieldModalSubmitBtn: ElementRef;
|
|
131
|
+
/**正在编辑的字段下标 */
|
|
132
|
+
EditFieldIndex: number | any;
|
|
133
|
+
/**编辑字段模态框状态状态改变回调 */
|
|
134
|
+
VisibleEditFieldChange(event: any): void;
|
|
135
|
+
isShowInList: boolean;
|
|
136
|
+
isEnableSearch: boolean;
|
|
137
|
+
/**打开编辑字段模态框 */
|
|
138
|
+
EditFieldModalOpen(items: any, elIndex: any): void;
|
|
139
|
+
/**保存编辑字段 */
|
|
140
|
+
editFieldSave(): void;
|
|
141
|
+
/**name表单控件 */
|
|
142
|
+
get nameInput(): import("@angular/forms").AbstractControl<any, any>;
|
|
143
|
+
/**字段标签input失去标点生成字段名字 */
|
|
144
|
+
disPlayNameInputBlur(event: any): void;
|
|
145
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CreateOrEditComponent, never>;
|
|
146
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CreateOrEditComponent, "cms-create-or-edit", never, {}, {}, never, never, false, never>;
|
|
147
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { ABP, ListService, LocalizationService, PagedResultDto } from '@abp/ng.core';
|
|
2
|
+
import { OnInit } from '@angular/core';
|
|
3
|
+
import { ToasterService, ConfirmationService } from '@abp/ng.theme.shared';
|
|
4
|
+
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
5
|
+
import { CmsApiService } from '../../../services';
|
|
6
|
+
import { ColumnMode } from '@swimlane/ngx-datatable';
|
|
7
|
+
import { EntryTypeAdminService, GetSectionsInput, SectionAdminService, SectionDto } from '../../../proxy/dignite/cms/admin/sections';
|
|
8
|
+
import { SectionType } from '../../../proxy/dignite/cms/sections';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class SectionsComponent implements OnInit {
|
|
11
|
+
readonly list: ListService;
|
|
12
|
+
private _SectionAdminService;
|
|
13
|
+
private toaster;
|
|
14
|
+
private confirmation;
|
|
15
|
+
private fb;
|
|
16
|
+
_EntryTypeAdminService: EntryTypeAdminService;
|
|
17
|
+
_LocalizationService: LocalizationService;
|
|
18
|
+
_CmsApiService: CmsApiService;
|
|
19
|
+
constructor(list: ListService, _SectionAdminService: SectionAdminService, toaster: ToasterService, confirmation: ConfirmationService, fb: FormBuilder, _EntryTypeAdminService: EntryTypeAdminService, _LocalizationService: LocalizationService, _CmsApiService: CmsApiService);
|
|
20
|
+
private _UpdateListService;
|
|
21
|
+
siteList: any[];
|
|
22
|
+
_SectionType: typeof SectionType;
|
|
23
|
+
_sectionTypeOptions: ABP.Option<typeof SectionType>[];
|
|
24
|
+
ColumnMode: typeof ColumnMode;
|
|
25
|
+
data: PagedResultDto<SectionDto>;
|
|
26
|
+
filters: GetSectionsInput;
|
|
27
|
+
hookToQuery(): void;
|
|
28
|
+
ngOnInit(): Promise<void>;
|
|
29
|
+
siteIdChange(): void;
|
|
30
|
+
/**表单 */
|
|
31
|
+
formEntity: FormGroup | undefined;
|
|
32
|
+
/**弹窗状态 */
|
|
33
|
+
isVisibleOpen: boolean;
|
|
34
|
+
/**弹窗回调 */
|
|
35
|
+
visibleChange(event: any): void;
|
|
36
|
+
/**创建 */
|
|
37
|
+
createBtn(): void;
|
|
38
|
+
/**编辑 */
|
|
39
|
+
editSectionBtn(item: any): void;
|
|
40
|
+
/**删除板块 */
|
|
41
|
+
deletefield(row: any): void;
|
|
42
|
+
/**删除条目类型 */
|
|
43
|
+
deleteEntryType(row: any): void;
|
|
44
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SectionsComponent, never>;
|
|
45
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SectionsComponent, "cms-sections", never, {}, {}, never, never, false, never>;
|
|
46
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { AfterContentInit, ElementRef } from '@angular/core';
|
|
2
|
+
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
+
import { SectionAdminService } from '../../../proxy/dignite/cms/admin/sections';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class EntryConfigComponent implements AfterContentInit {
|
|
6
|
+
private fb;
|
|
7
|
+
private _SectionAdminService;
|
|
8
|
+
constructor(fb: FormBuilder, _SectionAdminService: SectionAdminService);
|
|
9
|
+
/**表单控件类型 */
|
|
10
|
+
_type: any;
|
|
11
|
+
set type(v: any);
|
|
12
|
+
/**选择的表单信息 */
|
|
13
|
+
_selected: any;
|
|
14
|
+
set selected(v: any);
|
|
15
|
+
/**语言 */
|
|
16
|
+
_culture: any;
|
|
17
|
+
set culture(v: any);
|
|
18
|
+
/**表单实体 */
|
|
19
|
+
_Entity: FormGroup | undefined;
|
|
20
|
+
set Entity(v: FormGroup);
|
|
21
|
+
get formConfiguration(): FormGroup;
|
|
22
|
+
submitclick: ElementRef;
|
|
23
|
+
/**站点列表 */
|
|
24
|
+
siteList: any[any];
|
|
25
|
+
/**选择的站点id */
|
|
26
|
+
siteId: any;
|
|
27
|
+
/**站点下的版块 */
|
|
28
|
+
SiteOfSectionList: any[any];
|
|
29
|
+
ngAfterContentInit(): void;
|
|
30
|
+
private cdr;
|
|
31
|
+
dataLoaded(): Promise<void>;
|
|
32
|
+
AfterInit(): Promise<unknown>;
|
|
33
|
+
/**获取站点列表 */
|
|
34
|
+
/**获取站点下的版块 */
|
|
35
|
+
getSiteOfSectionList(): Promise<unknown>;
|
|
36
|
+
/**切换站点 */
|
|
37
|
+
siteIdChange(): Promise<void>;
|
|
38
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EntryConfigComponent, never>;
|
|
39
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EntryConfigComponent, "cms-entry-config", never, { "type": { "alias": "type"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "culture": { "alias": "culture"; "required": false; }; "Entity": { "alias": "Entity"; "required": false; }; }, {}, never, never, false, never>;
|
|
40
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class EntryControlComponent {
|
|
5
|
+
constructor();
|
|
6
|
+
private fb;
|
|
7
|
+
private _EntryAdminService;
|
|
8
|
+
/**表单实体 */
|
|
9
|
+
_entity: FormGroup | undefined;
|
|
10
|
+
set entity(v: any);
|
|
11
|
+
/**字段配置列表 */
|
|
12
|
+
_fields: any;
|
|
13
|
+
set fields(v: any);
|
|
14
|
+
/**父级字段名称,用于为表单设置控件赋值 */
|
|
15
|
+
_parentFiledName: any;
|
|
16
|
+
set parentFiledName(v: any);
|
|
17
|
+
/**父级字段名称,用于为表单设置控件赋值 */
|
|
18
|
+
_selected: any;
|
|
19
|
+
set selected(v: any);
|
|
20
|
+
/**语言 */
|
|
21
|
+
_culture: any;
|
|
22
|
+
set culture(v: any);
|
|
23
|
+
submitclick: ElementRef;
|
|
24
|
+
extraProperties: FormGroup | undefined;
|
|
25
|
+
/** */
|
|
26
|
+
listOfOption: any[];
|
|
27
|
+
private cdr;
|
|
28
|
+
dataLoaded(): Promise<void>;
|
|
29
|
+
AfterInit(): Promise<unknown>;
|
|
30
|
+
/**获取对应的条目 */
|
|
31
|
+
getEntryAssignList(filter?: string): Promise<unknown>;
|
|
32
|
+
/** */
|
|
33
|
+
SelectChange(event: any): Promise<void>;
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EntryControlComponent, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EntryControlComponent, "cms-entry-control", never, { "entity": { "alias": "entity"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "parentFiledName": { "alias": "parentFiledName"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "culture": { "alias": "culture"; "required": false; }; }, {}, never, never, false, never>;
|
|
36
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { EntryAdminService } from '../../../proxy/dignite/cms/admin/entries';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class EntryViewComponent {
|
|
4
|
+
private _EntryAdminService;
|
|
5
|
+
constructor(_EntryAdminService: EntryAdminService);
|
|
6
|
+
/**展示则内容 */
|
|
7
|
+
showValue: any;
|
|
8
|
+
/**是否显示再列表 */
|
|
9
|
+
showInList: boolean;
|
|
10
|
+
/**表单字段数据 */
|
|
11
|
+
fields: any;
|
|
12
|
+
/**表单控件类型 */
|
|
13
|
+
type: any;
|
|
14
|
+
/**表单控件Value */
|
|
15
|
+
_value: any;
|
|
16
|
+
set value(v: any);
|
|
17
|
+
ngAfterContentInit(): Promise<void>;
|
|
18
|
+
/**获取条目详情 */
|
|
19
|
+
getListByIds(ids: any[]): Promise<unknown>;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EntryViewComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EntryViewComponent, "cms-entry-view", never, { "showInList": { "alias": "showInList"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "type": { "alias": "type"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, never, false, never>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { FormArray, FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
+
import { CmsApiService, FieldAbstractsService } from '../../../services';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class MatrixConfigComponent {
|
|
6
|
+
private fb;
|
|
7
|
+
private _CmsApiService;
|
|
8
|
+
private _FieldAbstractsService;
|
|
9
|
+
constructor(fb: FormBuilder, _CmsApiService: CmsApiService, _FieldAbstractsService: FieldAbstractsService);
|
|
10
|
+
/**表单控件组 */
|
|
11
|
+
_FieldControlGroup: any[];
|
|
12
|
+
/**表单控件类型 */
|
|
13
|
+
_type: any;
|
|
14
|
+
set type(v: any);
|
|
15
|
+
/**选择的表单信息 */
|
|
16
|
+
_selected: any;
|
|
17
|
+
set selected(v: any);
|
|
18
|
+
/**表单实体 */
|
|
19
|
+
_Entity: FormGroup | undefined;
|
|
20
|
+
set Entity(v: FormGroup);
|
|
21
|
+
submitclick: ElementRef;
|
|
22
|
+
private cdr;
|
|
23
|
+
dataLoaded(): Promise<void>;
|
|
24
|
+
AfterInit(): Promise<unknown>;
|
|
25
|
+
setSelectValue(): Promise<unknown>;
|
|
26
|
+
/**获取表单配置 */
|
|
27
|
+
get formConfiguration(): FormGroup;
|
|
28
|
+
/**获取表单配置下的矩阵块表单数组 */
|
|
29
|
+
get MatrixBlockTypes(): FormArray;
|
|
30
|
+
/**模态框-状态 */
|
|
31
|
+
matrixModalOpen: boolean;
|
|
32
|
+
/**模态框-是否正在编辑 */
|
|
33
|
+
isMatrixModalEdit: any;
|
|
34
|
+
/**模态框-用于确定模态的繁忙状态是否为真 */
|
|
35
|
+
modalBusy: boolean;
|
|
36
|
+
/**模态框-表单 */
|
|
37
|
+
matrixModalForm: FormGroup | undefined;
|
|
38
|
+
/**表单控件模板-用于在form外提交submit */
|
|
39
|
+
matrixModalModalSubmit: ElementRef;
|
|
40
|
+
/**矩阵块-选择的下标 */
|
|
41
|
+
selectMatrixBlockIndex: any;
|
|
42
|
+
/**矩阵块-选择的矩阵下字段的下标 */
|
|
43
|
+
selectMatrixFieldIndex: any;
|
|
44
|
+
/**模态框-状态改变 */
|
|
45
|
+
matrixModalVisibleChange(event: any): void;
|
|
46
|
+
/**矩阵块--新增-打开模态框 */
|
|
47
|
+
addMatrixBlockType(): void;
|
|
48
|
+
/**模态框--矩阵表单保存提交 */
|
|
49
|
+
createOrEditSave(): void;
|
|
50
|
+
/**新增矩阵块-向数组表单中增加项 */
|
|
51
|
+
addMatrixBlockTypeItem(input: any): void;
|
|
52
|
+
/**编辑矩阵块 */
|
|
53
|
+
EditMatrixBlock(input: any): void;
|
|
54
|
+
/**删除矩阵块 */
|
|
55
|
+
DeleteMatrixBlock(index: any): void;
|
|
56
|
+
/**矩阵块-选择 */
|
|
57
|
+
selectMatrixBlockChange(index: any): void;
|
|
58
|
+
/**矩阵字段-新增 */
|
|
59
|
+
addMatrixField(): void;
|
|
60
|
+
/**矩阵字段-新增矩阵字段项 */
|
|
61
|
+
addMatrixFieldItem(input: any, selectMatrixBlockIndex: any): void;
|
|
62
|
+
/**删除矩阵字段项 */
|
|
63
|
+
deleteMatrixField(MatrixFieldForm: any, index: any): void;
|
|
64
|
+
/**矩阵字段-选择 */
|
|
65
|
+
selectMatrixFieldChange(MatrixBlockIndex: any, MatrixFieldIndex: any): void;
|
|
66
|
+
get nameInput(): import("@angular/forms").AbstractControl<any, any>;
|
|
67
|
+
get FieldnameInput(): import("@angular/forms").AbstractControl<any, any>;
|
|
68
|
+
/**矩阵displayNameInput字段失去焦点 */
|
|
69
|
+
displayNameInputBlur(event: any): void;
|
|
70
|
+
/**矩阵displayNameInput字段失去焦点 */
|
|
71
|
+
MatrixFieldDisplayNameInputBlur(event: any): void;
|
|
72
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatrixConfigComponent, never>;
|
|
73
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatrixConfigComponent, "df-matrix-config", never, { "type": { "alias": "type"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "Entity": { "alias": "Entity"; "required": false; }; }, {}, never, never, false, never>;
|
|
74
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { FormGroup } from "@angular/forms";
|
|
2
|
+
export declare class MatrixConfig {
|
|
3
|
+
'MatrixBlockTypes': any;
|
|
4
|
+
constructor(data?: MatrixConfig);
|
|
5
|
+
}
|
|
6
|
+
export declare class MatrixItemConfig {
|
|
7
|
+
displayName: any;
|
|
8
|
+
/**字段名字 */
|
|
9
|
+
name: any;
|
|
10
|
+
constructor(data?: MatrixConfig);
|
|
11
|
+
}
|
|
12
|
+
export declare class matrixFieldInputBase {
|
|
13
|
+
/**字段名称 Display name of this field */
|
|
14
|
+
displayName: any;
|
|
15
|
+
/**字段唯一名称 Unique Name*/
|
|
16
|
+
name: any;
|
|
17
|
+
/**描述 说明 */
|
|
18
|
+
description: any;
|
|
19
|
+
/**FieldType字段类型 表单控件名称 */
|
|
20
|
+
formControlName: any;
|
|
21
|
+
/**动态表单配置 */
|
|
22
|
+
formConfiguration: FormGroup | undefined;
|
|
23
|
+
constructor(data?: matrixFieldInputBase);
|
|
24
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { FormArray, FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
+
import { CmsApiService } from '../../../services';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class MatrixControlComponent {
|
|
6
|
+
private fb;
|
|
7
|
+
private _CmsApiService;
|
|
8
|
+
constructor(fb: FormBuilder, _CmsApiService: CmsApiService);
|
|
9
|
+
/**字段配置列表 */
|
|
10
|
+
_fields: any;
|
|
11
|
+
set fields(v: any);
|
|
12
|
+
/**父级字段名称,用于为表单设置控件赋值 */
|
|
13
|
+
_parentFiledName: any;
|
|
14
|
+
set parentFiledName(v: any);
|
|
15
|
+
/**父级字段名称,用于为表单设置控件赋值 */
|
|
16
|
+
_selected: any;
|
|
17
|
+
set selected(v: any);
|
|
18
|
+
/**语言 */
|
|
19
|
+
_culture: any;
|
|
20
|
+
set culture(v: any);
|
|
21
|
+
/**表单实体 */
|
|
22
|
+
_entity: FormGroup | undefined;
|
|
23
|
+
set entity(v: any);
|
|
24
|
+
submitclick: ElementRef;
|
|
25
|
+
/** 获取父级字段代表的表单组*/
|
|
26
|
+
extraProperties: FormGroup | undefined;
|
|
27
|
+
private cdr;
|
|
28
|
+
/**数据加载完成 */
|
|
29
|
+
dataLoaded(): Promise<void>;
|
|
30
|
+
formConfiguration: any;
|
|
31
|
+
/**获取表格字段代表的控件 */
|
|
32
|
+
fieldNameControl: FormArray | undefined;
|
|
33
|
+
AfterInit(): Promise<unknown>;
|
|
34
|
+
/**矩阵列表 */
|
|
35
|
+
MatrixBlockTypesList: any[];
|
|
36
|
+
/**增加指定矩阵控件项 */
|
|
37
|
+
addMatrixControl(item: any): void;
|
|
38
|
+
/**删除矩阵控件 */
|
|
39
|
+
deleteMatrixControl(index: any, item: any): void;
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatrixControlComponent, never>;
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatrixControlComponent, "df-matrix-control", never, { "fields": { "alias": "fields"; "required": false; }; "parentFiledName": { "alias": "parentFiledName"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "culture": { "alias": "culture"; "required": false; }; "entity": { "alias": "entity"; "required": false; }; }, {}, never, never, false, never>;
|
|
42
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class MatrixViewComponent {
|
|
3
|
+
/**展示则内容 */
|
|
4
|
+
showValue: any;
|
|
5
|
+
/**是否显示再列表 */
|
|
6
|
+
showInList: boolean;
|
|
7
|
+
/**表单字段数据 */
|
|
8
|
+
fields: any;
|
|
9
|
+
/**表单控件类型 */
|
|
10
|
+
type: any;
|
|
11
|
+
/**表单控件Value */
|
|
12
|
+
_value: any;
|
|
13
|
+
set value(v: any);
|
|
14
|
+
ngAfterContentInit(): Promise<void>;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatrixViewComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatrixViewComponent, "cms-matrix-view", never, { "showInList": { "alias": "showInList"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "type": { "alias": "type"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, never, false, never>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { FormArray, FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
+
import { CmsApiService, FieldAbstractsService } from '../../../services';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class TableConfigComponent {
|
|
6
|
+
private fb;
|
|
7
|
+
private _CmsApiService;
|
|
8
|
+
private _FieldAbstractsService;
|
|
9
|
+
constructor(fb: FormBuilder, _CmsApiService: CmsApiService, _FieldAbstractsService: FieldAbstractsService);
|
|
10
|
+
/**表单实体 */
|
|
11
|
+
_Entity: FormGroup | undefined;
|
|
12
|
+
set Entity(v: FormGroup);
|
|
13
|
+
/**选择的表单信息 */
|
|
14
|
+
_selected: any;
|
|
15
|
+
set selected(v: any);
|
|
16
|
+
/**表单控件组 */
|
|
17
|
+
_fieldControlGroup: any[];
|
|
18
|
+
/**表单控件类型 */
|
|
19
|
+
_type: any;
|
|
20
|
+
set type(v: any);
|
|
21
|
+
get formConfiguration(): FormGroup;
|
|
22
|
+
get TableColumns(): FormArray;
|
|
23
|
+
submitclick: ElementRef;
|
|
24
|
+
private cdr;
|
|
25
|
+
dataLoaded(): Promise<void>;
|
|
26
|
+
/**增加选项 */
|
|
27
|
+
addTableColumns(): void;
|
|
28
|
+
/**删除某个选项 */
|
|
29
|
+
deleteTableColumns(index: any): void;
|
|
30
|
+
AfterInit(): Promise<unknown>;
|
|
31
|
+
itemForm: any;
|
|
32
|
+
/**选择表格的表单控件 */
|
|
33
|
+
selectTableControl(event: any, i: any, item: any): void;
|
|
34
|
+
CurrentSelectionTableControlName: any;
|
|
35
|
+
/**正在创建或编辑的表格项下标 */
|
|
36
|
+
TableColumnsIndex: any;
|
|
37
|
+
/**创建站点模态框状态 */
|
|
38
|
+
tableSelectOpen: boolean;
|
|
39
|
+
/**用于确定模态的繁忙状态是否为真 */
|
|
40
|
+
modalBusy: boolean;
|
|
41
|
+
/**创建站点表单 */
|
|
42
|
+
tableSelectForm: FormGroup | undefined;
|
|
43
|
+
/**表格已选择数据 */
|
|
44
|
+
_tableSelected: any;
|
|
45
|
+
/**表单控件模板-动态赋值表单控件 */
|
|
46
|
+
tableSelectModalSubmit: ElementRef;
|
|
47
|
+
/**创建站点模态框状态改变 */
|
|
48
|
+
tableSelectVisibleChange(event: any): void;
|
|
49
|
+
/**表单保存提交 */
|
|
50
|
+
createOrEditSave(): void;
|
|
51
|
+
/**编辑站点按钮 */
|
|
52
|
+
EditSitesBtn(rows: any, i: any): void;
|
|
53
|
+
/**调整表格位置 */
|
|
54
|
+
TableArrowUpOrDown(type: any, index: any): void;
|
|
55
|
+
/**字段标签input失去标点生成字段名字 */
|
|
56
|
+
disPlayNameInputBlur(event: any, item: any): void;
|
|
57
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableConfigComponent, never>;
|
|
58
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableConfigComponent, "df-table-config", never, { "Entity": { "alias": "Entity"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, {}, never, never, false, never>;
|
|
59
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare class TableConfig {
|
|
2
|
+
TableColumns: any;
|
|
3
|
+
constructor(data?: TableConfig);
|
|
4
|
+
}
|
|
5
|
+
export declare class TableFormControl {
|
|
6
|
+
/**列标题 */
|
|
7
|
+
displayName: any;
|
|
8
|
+
/**空间配置 */
|
|
9
|
+
formConfiguration: any;
|
|
10
|
+
/**列名 */
|
|
11
|
+
name: any;
|
|
12
|
+
formControlName: any;
|
|
13
|
+
/**是否必填 */
|
|
14
|
+
required: any;
|
|
15
|
+
/**描述 */
|
|
16
|
+
description: any;
|
|
17
|
+
constructor(data?: TableConfig);
|
|
18
|
+
}
|