@dignite-ng/expand.cms 0.0.20 → 0.0.22
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 +8 -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 +8 -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 +2 -0
- package/esm2022/config/providers/index.mjs +2 -0
- package/esm2022/config/providers/route.provider.mjs +64 -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 +101 -0
- package/esm2022/lib/cms.module.mjs +156 -0
- package/esm2022/lib/components/admin/entries/create-or-edit-entries.component.mjs +285 -0
- package/esm2022/lib/components/admin/entries/create-or-update-entry-input-base.mjs +32 -0
- package/esm2022/lib/components/admin/entries/create.component.mjs +107 -0
- package/esm2022/lib/components/admin/entries/edit.component.mjs +110 -0
- package/esm2022/lib/components/admin/entries/entries.component.mjs +212 -0
- package/esm2022/lib/components/admin/entries/index.mjs +5 -0
- package/esm2022/lib/components/admin/fields/create-field.component.mjs +82 -0
- package/esm2022/lib/components/admin/fields/create-or-edit-field.component.mjs +121 -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 +110 -0
- package/esm2022/lib/components/admin/fields/field-group.component.mjs +124 -0
- package/esm2022/lib/components/admin/fields/fields.component.mjs +119 -0
- package/esm2022/lib/components/admin/fields/index.mjs +7 -0
- package/esm2022/lib/components/admin/index.mjs +5 -0
- package/esm2022/lib/components/admin/sections/create-or-update-sections-input-base.mjs +27 -0
- package/esm2022/lib/components/admin/sections/entry-types/create-or-edit.-entry-type-input-base.mjs +71 -0
- package/esm2022/lib/components/admin/sections/entry-types/create-or-edit.component.mjs +418 -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 +334 -0
- package/esm2022/lib/components/admin/sites/create-or-update-sites-input-base.mjs +23 -0
- package/esm2022/lib/components/admin/sites/index.mjs +3 -0
- package/esm2022/lib/components/admin/sites/sites.component.mjs +285 -0
- package/esm2022/lib/components/dynamic-form/entry/entry-config.component.mjs +125 -0
- package/esm2022/lib/components/dynamic-form/entry/entry-config.mjs +18 -0
- package/esm2022/lib/components/dynamic-form/entry/entry-control.component.mjs +115 -0
- package/esm2022/lib/components/dynamic-form/entry/index.mjs +4 -0
- package/esm2022/lib/components/dynamic-form/form-control-group.mjs +31 -0
- package/esm2022/lib/components/dynamic-form/index.mjs +5 -0
- package/esm2022/lib/components/dynamic-form/matrix/index.mjs +4 -0
- package/esm2022/lib/components/dynamic-form/matrix/matrix-config.component.mjs +229 -0
- package/esm2022/lib/components/dynamic-form/matrix/matrix-config.mjs +50 -0
- package/esm2022/lib/components/dynamic-form/matrix/matrix-control.component.mjs +111 -0
- package/esm2022/lib/components/dynamic-form/table/index.mjs +4 -0
- package/esm2022/lib/components/dynamic-form/table/table-config.component.mjs +174 -0
- package/esm2022/lib/components/dynamic-form/table/table-config.mjs +38 -0
- package/esm2022/lib/components/dynamic-form/table/table-control.component.mjs +114 -0
- package/esm2022/lib/components/index.mjs +3 -0
- package/esm2022/lib/constants/index.mjs +2 -0
- package/esm2022/lib/constants/styles.mjs +32 -0
- package/esm2022/lib/enums/ecms-component.mjs +13 -0
- package/esm2022/lib/enums/index.mjs +2 -0
- package/esm2022/lib/proxy/admin/dynamic-forms/form-admin.service.mjs +24 -0
- package/esm2022/lib/proxy/admin/dynamic-forms/index.mjs +3 -0
- package/esm2022/lib/proxy/admin/dynamic-forms/models.mjs +2 -0
- package/esm2022/lib/proxy/admin/entries/entry-admin.service.mjs +67 -0
- package/esm2022/lib/proxy/admin/entries/index.mjs +3 -0
- package/esm2022/lib/proxy/admin/entries/models.mjs +2 -0
- package/esm2022/lib/proxy/admin/fields/field-admin.service.mjs +47 -0
- package/esm2022/lib/proxy/admin/fields/field-group-admin.service.mjs +43 -0
- package/esm2022/lib/proxy/admin/fields/index.mjs +4 -0
- package/esm2022/lib/proxy/admin/fields/models.mjs +2 -0
- package/esm2022/lib/proxy/admin/index.mjs +7 -0
- package/esm2022/lib/proxy/admin/sections/entry-type-admin.service.mjs +43 -0
- package/esm2022/lib/proxy/admin/sections/index.mjs +4 -0
- package/esm2022/lib/proxy/admin/sections/models.mjs +2 -0
- package/esm2022/lib/proxy/admin/sections/section-admin.service.mjs +53 -0
- package/esm2022/lib/proxy/admin/sites/index.mjs +3 -0
- package/esm2022/lib/proxy/admin/sites/models.mjs +2 -0
- package/esm2022/lib/proxy/admin/sites/site-admin.service.mjs +51 -0
- package/esm2022/lib/proxy/dignite/abp/data/index.mjs +2 -0
- package/esm2022/lib/proxy/dignite/abp/data/models.mjs +2 -0
- package/esm2022/lib/proxy/dignite/abp/index.mjs +3 -0
- package/esm2022/lib/proxy/dignite/file-explorer/directories/file-descriptor.service.mjs +48 -0
- package/esm2022/lib/proxy/dignite/file-explorer/directories/index.mjs +3 -0
- package/esm2022/lib/proxy/dignite/file-explorer/directories/models.mjs +2 -0
- package/esm2022/lib/proxy/dignite/file-explorer/files/file-descriptor.service.mjs +60 -0
- package/esm2022/lib/proxy/dignite/file-explorer/files/index.mjs +3 -0
- package/esm2022/lib/proxy/dignite/file-explorer/files/models.mjs +2 -0
- package/esm2022/lib/proxy/dignite/file-explorer/index.mjs +4 -0
- package/esm2022/lib/proxy/dignite/index.mjs +4 -0
- package/esm2022/lib/proxy/entries/entry-status.enum.mjs +8 -0
- package/esm2022/lib/proxy/entries/index.mjs +2 -0
- package/esm2022/lib/proxy/fields/index.mjs +2 -0
- package/esm2022/lib/proxy/fields/models.mjs +2 -0
- package/esm2022/lib/proxy/index.mjs +10 -0
- package/esm2022/lib/proxy/microsoft/asp-net-core/index.mjs +3 -0
- package/esm2022/lib/proxy/microsoft/asp-net-core/mvc/index.mjs +2 -0
- package/esm2022/lib/proxy/microsoft/asp-net-core/mvc/models.mjs +2 -0
- package/esm2022/lib/proxy/microsoft/extensions/index.mjs +3 -0
- package/esm2022/lib/proxy/microsoft/extensions/primitives/index.mjs +2 -0
- package/esm2022/lib/proxy/microsoft/extensions/primitives/models.mjs +2 -0
- package/esm2022/lib/proxy/microsoft/index.mjs +5 -0
- package/esm2022/lib/proxy/microsoft/net/http/headers/index.mjs +2 -0
- package/esm2022/lib/proxy/microsoft/net/http/headers/models.mjs +2 -0
- package/esm2022/lib/proxy/microsoft/net/http/index.mjs +3 -0
- package/esm2022/lib/proxy/microsoft/net/index.mjs +3 -0
- package/esm2022/lib/proxy/sections/index.mjs +3 -0
- package/esm2022/lib/proxy/sections/models.mjs +2 -0
- package/esm2022/lib/proxy/sections/section-type.enum.mjs +9 -0
- package/esm2022/lib/proxy/sites/index.mjs +2 -0
- package/esm2022/lib/proxy/sites/models.mjs +2 -0
- package/esm2022/lib/proxy/volo/abp/content/index.mjs +2 -0
- package/esm2022/lib/proxy/volo/abp/content/models.mjs +2 -0
- package/esm2022/lib/proxy/volo/abp/index.mjs +3 -0
- package/esm2022/lib/proxy/volo/cms-kit/index.mjs +3 -0
- package/esm2022/lib/proxy/volo/cms-kit/users/index.mjs +2 -0
- package/esm2022/lib/proxy/volo/cms-kit/users/models.mjs +2 -0
- package/esm2022/lib/proxy/volo/index.mjs +4 -0
- package/esm2022/lib/services/appent-content.mjs +15 -0
- package/esm2022/lib/services/cms-api.service.mjs +80 -0
- package/esm2022/lib/services/cms.service.mjs +23 -0
- package/esm2022/lib/services/field-abstracts.service.mjs +45 -0
- package/esm2022/lib/services/index.mjs +5 -0
- package/esm2022/lib/services/simple-reuse-strategy.mjs +43 -0
- package/esm2022/lib/services/update-list.service.mjs +19 -0
- package/esm2022/lib/toolbar/index.mjs +3 -0
- package/esm2022/lib/toolbar/toolbar-btn-default-action.mjs +160 -0
- package/esm2022/lib/toolbar/toolbar-config.mjs +81 -0
- package/esm2022/public-api.mjs +12 -0
- package/fesm2022/dignite-ng-expand.cms-config.mjs +87 -0
- package/fesm2022/dignite-ng-expand.cms-config.mjs.map +1 -0
- package/fesm2022/dignite-ng-expand.cms.mjs +4516 -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 +91 -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 +40 -0
- package/lib/components/admin/entries/edit.component.d.ts +42 -0
- package/lib/components/admin/entries/entries.component.d.ts +66 -0
- package/lib/components/admin/entries/index.d.ts +4 -0
- package/lib/components/admin/fields/create-field.component.d.ts +31 -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 +40 -0
- package/lib/components/admin/fields/field-group.component.d.ts +51 -0
- package/lib/components/admin/fields/fields.component.d.ts +37 -0
- package/lib/components/admin/fields/index.d.ts +6 -0
- package/lib/components/admin/index.d.ts +4 -0
- package/lib/components/admin/sections/create-or-update-sections-input-base.d.ts +17 -0
- package/lib/components/admin/sections/entry-types/create-or-edit.-entry-type-input-base.d.ts +38 -0
- package/lib/components/admin/sections/entry-types/create-or-edit.component.d.ts +132 -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 +95 -0
- package/lib/components/admin/sites/create-or-update-sites-input-base.d.ts +12 -0
- package/lib/components/admin/sites/index.d.ts +2 -0
- package/lib/components/admin/sites/sites.component.d.ts +72 -0
- package/lib/components/dynamic-form/entry/entry-config.component.d.ts +42 -0
- package/lib/components/dynamic-form/entry/entry-config.d.ts +9 -0
- package/lib/components/dynamic-form/entry/entry-control.component.d.ts +35 -0
- package/lib/components/dynamic-form/entry/index.d.ts +3 -0
- package/lib/components/dynamic-form/form-control-group.d.ts +4 -0
- package/lib/components/dynamic-form/index.d.ts +4 -0
- package/lib/components/dynamic-form/matrix/index.d.ts +3 -0
- package/lib/components/dynamic-form/matrix/matrix-config.component.d.ts +73 -0
- package/lib/components/dynamic-form/matrix/matrix-config.d.ts +24 -0
- package/lib/components/dynamic-form/matrix/matrix-control.component.d.ts +39 -0
- package/lib/components/dynamic-form/table/index.d.ts +3 -0
- package/lib/components/dynamic-form/table/table-config.component.d.ts +58 -0
- package/lib/components/dynamic-form/table/table-config.d.ts +18 -0
- package/lib/components/dynamic-form/table/table-control.component.d.ts +36 -0
- package/lib/components/index.d.ts +2 -0
- package/lib/constants/index.d.ts +1 -0
- package/lib/constants/styles.d.ts +2 -0
- package/lib/enums/ecms-component.d.ts +11 -0
- package/lib/enums/index.d.ts +1 -0
- package/lib/proxy/admin/dynamic-forms/form-admin.service.d.ts +12 -0
- package/lib/proxy/admin/dynamic-forms/models.d.ts +4 -0
- package/lib/proxy/admin/entries/entry-admin.service.d.ts +21 -0
- package/lib/proxy/admin/entries/models.d.ts +65 -0
- package/lib/proxy/admin/fields/field-admin.service.d.ts +17 -0
- package/lib/proxy/admin/fields/field-group-admin.service.d.ts +16 -0
- package/{src/lib/proxy/admin/fields/models.ts → lib/proxy/admin/fields/models.d.ts} +34 -42
- package/lib/proxy/admin/sections/entry-type-admin.service.d.ts +15 -0
- package/{src/lib/proxy/admin/sections/models.ts → lib/proxy/admin/sections/models.d.ts} +74 -88
- package/lib/proxy/admin/sections/section-admin.service.d.ts +18 -0
- package/{src/lib/proxy/admin/sites/models.ts → lib/proxy/admin/sites/models.d.ts} +30 -36
- package/lib/proxy/admin/sites/site-admin.service.d.ts +18 -0
- package/lib/proxy/dignite/abp/data/models.d.ts +3 -0
- package/lib/proxy/dignite/file-explorer/directories/file-descriptor.service.d.ts +17 -0
- package/{src/lib/proxy/dignite/file-explorer/directories/models.ts → lib/proxy/dignite/file-explorer/directories/models.d.ts} +29 -35
- package/lib/proxy/dignite/file-explorer/files/file-descriptor.service.d.ts +20 -0
- package/lib/proxy/dignite/file-explorer/files/models.d.ts +50 -0
- package/lib/proxy/entries/entry-status.enum.d.ts +5 -0
- package/lib/proxy/fields/models.d.ts +8 -0
- package/{src/lib/proxy/microsoft/asp-net-core/mvc/models.ts → lib/proxy/microsoft/asp-net-core/mvc/models.d.ts} +10 -12
- package/lib/proxy/microsoft/extensions/primitives/models.d.ts +8 -0
- package/{src/lib/proxy/microsoft/net/http/headers/models.ts → lib/proxy/microsoft/net/http/headers/models.d.ts} +6 -7
- package/lib/proxy/sections/models.d.ts +12 -0
- package/lib/proxy/sections/section-type.enum.d.ts +6 -0
- package/lib/proxy/sites/models.d.ts +4 -0
- package/lib/proxy/volo/abp/content/models.d.ts +5 -0
- package/{src/lib/proxy/volo/cms-kit/users/models.ts → lib/proxy/volo/cms-kit/users/models.d.ts} +7 -8
- package/lib/services/appent-content.d.ts +1 -0
- package/lib/services/cms-api.service.d.ts +20 -0
- package/lib/services/cms.service.d.ts +10 -0
- package/lib/services/field-abstracts.service.d.ts +20 -0
- package/lib/services/index.d.ts +4 -0
- package/lib/services/simple-reuse-strategy.d.ts +11 -0
- package/lib/services/update-list.service.d.ts +9 -0
- package/lib/toolbar/index.d.ts +2 -0
- package/lib/toolbar/toolbar-btn-default-action.d.ts +19 -0
- package/lib/toolbar/toolbar-config.d.ts +57 -0
- package/package.json +38 -19
- package/{src/public-api.ts → public-api.d.ts} +8 -12
- package/config/ng-package.json +0 -7
- package/config/src/cms-config.module.ts +0 -12
- package/config/src/enums/route-names.ts +0 -8
- package/config/src/providers/route.provider.ts +0 -66
- package/karma.conf.js +0 -44
- package/ng-package.json +0 -7
- package/src/lib/cms-routing.module.ts +0 -111
- package/src/lib/cms.module.ts +0 -119
- package/src/lib/components/admin/entries/create-or-edit-entries.component.html +0 -115
- package/src/lib/components/admin/entries/create-or-edit-entries.component.scss +0 -25
- 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 -287
- package/src/lib/components/admin/entries/create-or-update-entry-input-base.ts +0 -36
- package/src/lib/components/admin/entries/create.component.html +0 -13
- package/src/lib/components/admin/entries/create.component.scss +0 -21
- package/src/lib/components/admin/entries/create.component.spec.ts +0 -21
- package/src/lib/components/admin/entries/create.component.ts +0 -103
- package/src/lib/components/admin/entries/edit.component.html +0 -9
- package/src/lib/components/admin/entries/edit.component.scss +0 -26
- package/src/lib/components/admin/entries/edit.component.spec.ts +0 -21
- package/src/lib/components/admin/entries/edit.component.ts +0 -103
- package/src/lib/components/admin/entries/entries.component.html +0 -106
- package/src/lib/components/admin/entries/entries.component.scss +0 -80
- package/src/lib/components/admin/entries/entries.component.spec.ts +0 -21
- package/src/lib/components/admin/entries/entries.component.ts +0 -216
- 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 -10
- package/src/lib/components/admin/fields/create-field.component.spec.ts +0 -21
- package/src/lib/components/admin/fields/create-field.component.ts +0 -68
- 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 -119
- 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 -13
- 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 -100
- 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 -132
- package/src/lib/components/admin/fields/fields.component.html +0 -73
- package/src/lib/components/admin/fields/fields.component.scss +0 -11
- package/src/lib/components/admin/fields/fields.component.spec.ts +0 -21
- package/src/lib/components/admin/fields/fields.component.ts +0 -111
- package/src/lib/components/admin/fields/index.ts +0 -6
- package/src/lib/components/admin/index.ts +0 -4
- package/src/lib/components/admin/sections/create-or-update-sections-input-base.ts +0 -36
- package/src/lib/components/admin/sections/entry-types/create-or-edit.-entry-type-input-base.ts +0 -79
- package/src/lib/components/admin/sections/entry-types/create-or-edit.component.html +0 -191
- package/src/lib/components/admin/sections/entry-types/create-or-edit.component.scss +0 -24
- 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 -412
- 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 -191
- package/src/lib/components/admin/sections/sections.component.scss +0 -26
- package/src/lib/components/admin/sections/sections.component.spec.ts +0 -21
- package/src/lib/components/admin/sections/sections.component.ts +0 -334
- package/src/lib/components/admin/sites/create-or-update-sites-input-base.ts +0 -31
- package/src/lib/components/admin/sites/index.ts +0 -2
- package/src/lib/components/admin/sites/sites.component.html +0 -154
- package/src/lib/components/admin/sites/sites.component.scss +0 -19
- package/src/lib/components/admin/sites/sites.component.spec.ts +0 -21
- package/src/lib/components/admin/sites/sites.component.ts +0 -293
- package/src/lib/components/dynamic-form/entry/entry-config.component.html +0 -36
- package/src/lib/components/dynamic-form/entry/entry-config.component.scss +0 -0
- 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 -115
- package/src/lib/components/dynamic-form/entry/entry-config.ts +0 -24
- package/src/lib/components/dynamic-form/entry/entry-control.component.html +0 -26
- package/src/lib/components/dynamic-form/entry/entry-control.component.scss +0 -20
- 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 -110
- package/src/lib/components/dynamic-form/entry/index.ts +0 -3
- package/src/lib/components/dynamic-form/form-control-group.ts +0 -31
- 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 -147
- 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 -238
- 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 -104
- 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 -170
- package/src/lib/components/dynamic-form/table/table-config.ts +0 -45
- package/src/lib/components/dynamic-form/table/table-control.component.html +0 -55
- package/src/lib/components/dynamic-form/table/table-control.component.scss +0 -10
- 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 -107
- package/src/lib/components/index.ts +0 -2
- package/src/lib/constants/index.ts +0 -1
- package/src/lib/constants/styles.ts +0 -31
- 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/admin/dynamic-forms/form-admin.service.ts +0 -21
- package/src/lib/proxy/admin/dynamic-forms/models.ts +0 -5
- package/src/lib/proxy/admin/entries/entry-admin.service.ts +0 -100
- package/src/lib/proxy/admin/entries/models.ts +0 -73
- package/src/lib/proxy/admin/fields/field-admin.service.ts +0 -64
- package/src/lib/proxy/admin/fields/field-group-admin.service.ts +0 -56
- package/src/lib/proxy/admin/sections/entry-type-admin.service.ts +0 -55
- package/src/lib/proxy/admin/sections/section-admin.service.ts +0 -74
- package/src/lib/proxy/admin/sites/site-admin.service.ts +0 -72
- package/src/lib/proxy/dignite/abp/data/models.ts +0 -4
- package/src/lib/proxy/dignite/file-explorer/directories/file-descriptor.service.ts +0 -65
- package/src/lib/proxy/dignite/file-explorer/files/file-descriptor.service.ts +0 -86
- package/src/lib/proxy/dignite/file-explorer/files/models.ts +0 -57
- package/src/lib/proxy/entries/entry-status.enum.ts +0 -8
- package/src/lib/proxy/fields/models.ts +0 -9
- package/src/lib/proxy/generate-proxy.json +0 -11821
- package/src/lib/proxy/microsoft/extensions/primitives/models.ts +0 -9
- package/src/lib/proxy/sections/models.ts +0 -14
- package/src/lib/proxy/sections/section-type.enum.ts +0 -9
- package/src/lib/proxy/sites/models.ts +0 -5
- package/src/lib/proxy/volo/abp/content/models.ts +0 -6
- package/src/lib/services/appent-content.ts +0 -13
- package/src/lib/services/cms-api.service.ts +0 -71
- package/src/lib/services/cms.service.ts +0 -18
- package/src/lib/services/field-abstracts.service.ts +0 -41
- package/src/lib/services/index.ts +0 -4
- package/src/lib/services/simple-reuse-strategy.ts +0 -49
- package/src/lib/services/update-list.service.ts +0 -15
- package/src/lib/toolbar/index.ts +0 -2
- package/src/lib/toolbar/toolbar-btn-default-action.ts +0 -171
- package/src/lib/toolbar/toolbar-config.ts +0 -95
- package/src/test.ts +0 -26
- package/tsconfig.lib.json +0 -20
- package/tsconfig.lib.prod.json +0 -10
- package/tsconfig.spec.json +0 -17
- /package/{src/lib/proxy/admin/dynamic-forms/index.ts → lib/proxy/admin/dynamic-forms/index.d.ts} +0 -0
- /package/{src/lib/proxy/admin/entries/index.ts → lib/proxy/admin/entries/index.d.ts} +0 -0
- /package/{src/lib/proxy/admin/fields/index.ts → lib/proxy/admin/fields/index.d.ts} +0 -0
- /package/{src/lib/proxy/admin/index.ts → lib/proxy/admin/index.d.ts} +0 -0
- /package/{src/lib/proxy/admin/sections/index.ts → lib/proxy/admin/sections/index.d.ts} +0 -0
- /package/{src/lib/proxy/admin/sites/index.ts → lib/proxy/admin/sites/index.d.ts} +0 -0
- /package/{src/lib/proxy/dignite/abp/data/index.ts → lib/proxy/dignite/abp/data/index.d.ts} +0 -0
- /package/{src/lib/proxy/dignite/abp/index.ts → lib/proxy/dignite/abp/index.d.ts} +0 -0
- /package/{src/lib/proxy/dignite/file-explorer/directories/index.ts → lib/proxy/dignite/file-explorer/directories/index.d.ts} +0 -0
- /package/{src/lib/proxy/dignite/file-explorer/files/index.ts → lib/proxy/dignite/file-explorer/files/index.d.ts} +0 -0
- /package/{src/lib/proxy/dignite/file-explorer/index.ts → lib/proxy/dignite/file-explorer/index.d.ts} +0 -0
- /package/{src/lib/proxy/dignite/index.ts → lib/proxy/dignite/index.d.ts} +0 -0
- /package/{src/lib/proxy/entries/index.ts → lib/proxy/entries/index.d.ts} +0 -0
- /package/{src/lib/proxy/fields/index.ts → lib/proxy/fields/index.d.ts} +0 -0
- /package/{src/lib/proxy/index.ts → lib/proxy/index.d.ts} +0 -0
- /package/{src/lib/proxy/microsoft/asp-net-core/index.ts → lib/proxy/microsoft/asp-net-core/index.d.ts} +0 -0
- /package/{src/lib/proxy/microsoft/asp-net-core/mvc/index.ts → lib/proxy/microsoft/asp-net-core/mvc/index.d.ts} +0 -0
- /package/{src/lib/proxy/microsoft/extensions/index.ts → lib/proxy/microsoft/extensions/index.d.ts} +0 -0
- /package/{src/lib/proxy/microsoft/extensions/primitives/index.ts → lib/proxy/microsoft/extensions/primitives/index.d.ts} +0 -0
- /package/{src/lib/proxy/microsoft/index.ts → lib/proxy/microsoft/index.d.ts} +0 -0
- /package/{src/lib/proxy/microsoft/net/http/headers/index.ts → lib/proxy/microsoft/net/http/headers/index.d.ts} +0 -0
- /package/{src/lib/proxy/microsoft/net/http/index.ts → lib/proxy/microsoft/net/http/index.d.ts} +0 -0
- /package/{src/lib/proxy/microsoft/net/index.ts → lib/proxy/microsoft/net/index.d.ts} +0 -0
- /package/{src/lib/proxy/sections/index.ts → lib/proxy/sections/index.d.ts} +0 -0
- /package/{src/lib/proxy/sites/index.ts → lib/proxy/sites/index.d.ts} +0 -0
- /package/{src/lib/proxy/volo/abp/content/index.ts → lib/proxy/volo/abp/content/index.d.ts} +0 -0
- /package/{src/lib/proxy/volo/abp/index.ts → lib/proxy/volo/abp/index.d.ts} +0 -0
- /package/{src/lib/proxy/volo/cms-kit/index.ts → lib/proxy/volo/cms-kit/index.d.ts} +0 -0
- /package/{src/lib/proxy/volo/cms-kit/users/index.ts → lib/proxy/volo/cms-kit/users/index.d.ts} +0 -0
- /package/{src/lib/proxy/volo/index.ts → lib/proxy/volo/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,40 @@
|
|
|
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/sites/sites.component";
|
|
6
|
+
import * as i4 from "./components/admin/sections/sections.component";
|
|
7
|
+
import * as i5 from "./components/admin/fields/field-group.component";
|
|
8
|
+
import * as i6 from "./components/admin/fields/create-field.component";
|
|
9
|
+
import * as i7 from "./components/admin/fields/edit-field.component";
|
|
10
|
+
import * as i8 from "./components/admin/fields/create-or-edit-field.component";
|
|
11
|
+
import * as i9 from "./components/admin/sections/entry-types/create-or-edit.component";
|
|
12
|
+
import * as i10 from "./components/admin/entries/create.component";
|
|
13
|
+
import * as i11 from "./components/admin/entries/edit.component";
|
|
14
|
+
import * as i12 from "./components/admin/entries/create-or-edit-entries.component";
|
|
15
|
+
import * as i13 from "./components/dynamic-form/table/table-config.component";
|
|
16
|
+
import * as i14 from "./components/dynamic-form/table/table-control.component";
|
|
17
|
+
import * as i15 from "./components/dynamic-form/matrix/matrix-config.component";
|
|
18
|
+
import * as i16 from "./components/dynamic-form/matrix/matrix-control.component";
|
|
19
|
+
import * as i17 from "./components/dynamic-form/entry/entry-config.component";
|
|
20
|
+
import * as i18 from "./components/dynamic-form/entry/entry-control.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 "@angular/forms";
|
|
26
|
+
import * as i24 from "@ngx-validate/core";
|
|
27
|
+
import * as i25 from "@angular/cdk/drag-drop";
|
|
28
|
+
import * as i26 from "@abp/ng.components/page";
|
|
29
|
+
import * as i27 from "@volo/abp.commercial.ng.ui/config";
|
|
30
|
+
import * as i28 from "ng-zorro-antd/select";
|
|
31
|
+
import * as i29 from "ng-zorro-antd/table";
|
|
32
|
+
import * as i30 from "@angular/cdk/scrolling";
|
|
33
|
+
import * as i31 from "@dignite-ng/expand.dynamic-form";
|
|
34
|
+
export declare class CmsModule {
|
|
35
|
+
static forChild(options?: any): ModuleWithProviders<CmsModule>;
|
|
36
|
+
static forLazy(options?: any): NgModuleFactory<CmsModule>;
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CmsModule, never>;
|
|
38
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CmsModule, [typeof i1.EntriesComponent, typeof i2.FieldsComponent, typeof i3.SitesComponent, typeof i4.SectionsComponent, typeof i5.FieldGroupComponent, typeof i6.CreateFieldComponent, typeof i7.EditFieldComponent, typeof i8.CreateOrEditFieldComponent, typeof i9.CreateOrEditComponent, typeof i10.CreateComponent, typeof i11.EditComponent, typeof i12.CreateOrEditEntriesComponent, typeof i13.TableConfigComponent, typeof i14.TableControlComponent, typeof i15.MatrixConfigComponent, typeof i16.MatrixControlComponent, typeof i17.EntryConfigComponent, typeof i18.EntryControlComponent], [typeof i19.CoreModule, typeof i20.ThemeSharedModule, typeof i21.CmsRoutingModule, typeof i22.NgbDropdownModule, typeof i23.FormsModule, typeof i23.ReactiveFormsModule, typeof i24.NgxValidateCoreModule, typeof i22.NgbNavModule, typeof i22.NgbAccordionModule, typeof i25.DragDropModule, typeof i26.PageModule, typeof i27.CommercialUiConfigModule, typeof i28.NzSelectModule, typeof i29.NzTableModule, typeof i30.ScrollingModule, typeof i31.DynamicFormModule], [typeof i13.TableConfigComponent, typeof i14.TableControlComponent, typeof i15.MatrixConfigComponent, typeof i16.MatrixControlComponent, typeof i17.EntryConfigComponent, typeof i18.EntryControlComponent]>;
|
|
39
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CmsModule>;
|
|
40
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { ConfigStateService, LocalizationService } from '@abp/ng.core';
|
|
2
|
+
import { ToasterService } from '@abp/ng.theme.shared';
|
|
3
|
+
import { AfterContentInit, QueryList, ViewContainerRef } from '@angular/core';
|
|
4
|
+
import { AbstractControl, FormGroup, ValidationErrors } from '@angular/forms';
|
|
5
|
+
import { Router } from '@angular/router';
|
|
6
|
+
import { EntryAdminService } from '../../../proxy/admin/entries';
|
|
7
|
+
import { SectionAdminService } from '../../../proxy/admin/sections';
|
|
8
|
+
import { Observable } from 'rxjs';
|
|
9
|
+
import { DatePipe, Location } from '@angular/common';
|
|
10
|
+
import { CmsApiService } from '../../../services';
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
export declare class CreateOrEditEntriesComponent implements AfterContentInit {
|
|
13
|
+
private toaster;
|
|
14
|
+
_location: Location;
|
|
15
|
+
private configState;
|
|
16
|
+
private _SectionAdminService;
|
|
17
|
+
private _EntryAdminService;
|
|
18
|
+
private datePipe;
|
|
19
|
+
private _LocalizationService;
|
|
20
|
+
private router;
|
|
21
|
+
private _CmsApiService;
|
|
22
|
+
constructor(toaster: ToasterService, _location: Location, configState: ConfigStateService, _SectionAdminService: SectionAdminService, _EntryAdminService: EntryAdminService, datePipe: DatePipe, _LocalizationService: LocalizationService, router: Router, _CmsApiService: CmsApiService);
|
|
23
|
+
/**语言 */
|
|
24
|
+
cultureName: string;
|
|
25
|
+
/**条目id */
|
|
26
|
+
entryTypeId: string;
|
|
27
|
+
/**新建版本的版本id,同条目id */
|
|
28
|
+
RevisionEntryId: any;
|
|
29
|
+
/**选择的条目项 */
|
|
30
|
+
entryTypesItem: any;
|
|
31
|
+
/**版块id */
|
|
32
|
+
sectionId: string;
|
|
33
|
+
/**版块详情 */
|
|
34
|
+
SectionSelect: any;
|
|
35
|
+
/**语言列表 */
|
|
36
|
+
languagesList: any[];
|
|
37
|
+
/**条目类型列表-用于选择上级条目 */
|
|
38
|
+
entryTypesList: any[];
|
|
39
|
+
/**版本列表 */
|
|
40
|
+
AllVersionsList: any[];
|
|
41
|
+
/**是否是编辑 */
|
|
42
|
+
isEdit: boolean;
|
|
43
|
+
/**来自父组件的传值 */
|
|
44
|
+
FromParentQueryParams: any;
|
|
45
|
+
set ParentQueryParams(v: any);
|
|
46
|
+
/**表单实体 */
|
|
47
|
+
_entity: FormGroup | undefined;
|
|
48
|
+
set entity(v: any);
|
|
49
|
+
/**指定id的条目信息 */
|
|
50
|
+
entrySelect: any;
|
|
51
|
+
set parentEntrySelect(v: any);
|
|
52
|
+
/**将对象中的ExtraProperties赋值到extraProperties */
|
|
53
|
+
convertExtraProperties(obj: any): any;
|
|
54
|
+
/**别名表单实体 */
|
|
55
|
+
get sluginput(): AbstractControl<any, any>;
|
|
56
|
+
/**语言表单实体 */
|
|
57
|
+
get cultureinput(): AbstractControl<any, any>;
|
|
58
|
+
/**语言表单实体影子 */
|
|
59
|
+
get culture_shadowInput(): AbstractControl<any, any>;
|
|
60
|
+
/**extraProperties配置表单实体 */
|
|
61
|
+
get extraProperties(): FormGroup<any>;
|
|
62
|
+
ngAfterContentInit(): Promise<void>;
|
|
63
|
+
/**表单控件模板-动态表单配置组件 */
|
|
64
|
+
FormDynamicontrolRef: QueryList<ViewContainerRef>;
|
|
65
|
+
/**定义自定义异步验证 */
|
|
66
|
+
cultureAsyncValidator_test(): (ctrl: AbstractControl) => Promise<ValidationErrors | null> | Observable<ValidationErrors | null>;
|
|
67
|
+
/**
|
|
68
|
+
* 设置条目详情
|
|
69
|
+
* @param {object} source - 数据源对象
|
|
70
|
+
*/
|
|
71
|
+
setEntryconfig(source: any): void;
|
|
72
|
+
time: number;
|
|
73
|
+
/**定义自定义异步验证 */
|
|
74
|
+
repetitionAsyncValidator(): (ctrl: AbstractControl) => Promise<ValidationErrors | null> | Observable<ValidationErrors | null>;
|
|
75
|
+
/**获取版块详情 */
|
|
76
|
+
getSectionSelect(): Promise<unknown>;
|
|
77
|
+
/**获取条目版本列表 */
|
|
78
|
+
getAllVersionsList(): Promise<unknown>;
|
|
79
|
+
/**标题转化别名 */
|
|
80
|
+
setTitleToSlugBlur(event: any): void;
|
|
81
|
+
/**使用Unicode编码范围判断是否是中文字符 */
|
|
82
|
+
isChinese(str: any): boolean;
|
|
83
|
+
/**激活 */
|
|
84
|
+
ActivatedVersion(VersionId: any): void;
|
|
85
|
+
/**编辑版本 */
|
|
86
|
+
toEditUrl(id: any): void;
|
|
87
|
+
/**删除版本 */
|
|
88
|
+
delectVersion(vid: any): void;
|
|
89
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CreateOrEditEntriesComponent, never>;
|
|
90
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CreateOrEditEntriesComponent, "cms-create-or-edit-entries", never, { "isEdit": { "alias": "isEdit"; "required": false; }; "ParentQueryParams": { "alias": "ParentQueryParams"; "required": false; }; "entity": { "alias": "entity"; "required": false; }; "parentEntrySelect": { "alias": "parentEntrySelect"; "required": false; }; }, {}, never, never, false, never>;
|
|
91
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { FormGroup } from "@angular/forms";
|
|
2
|
+
export declare class CreateOrUpdateEntryInputBase {
|
|
3
|
+
/**语言 */
|
|
4
|
+
culture: any;
|
|
5
|
+
/**条目id */
|
|
6
|
+
entryTypeId: any;
|
|
7
|
+
/**标题 */
|
|
8
|
+
title: any;
|
|
9
|
+
/**别名 */
|
|
10
|
+
slug: 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(data?: CreateOrUpdateEntryInputBase);
|
|
23
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { ToasterService } from '@abp/ng.theme.shared';
|
|
2
|
+
import { ElementRef, OnInit } from '@angular/core';
|
|
3
|
+
import { FormGroup } from '@angular/forms';
|
|
4
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
5
|
+
import { Location } from '@angular/common';
|
|
6
|
+
import { LocalizationService } from '@abp/ng.core';
|
|
7
|
+
import { EntryAdminService } from '../../../proxy/admin/entries';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class CreateComponent implements OnInit {
|
|
10
|
+
private toaster;
|
|
11
|
+
_location: Location;
|
|
12
|
+
private route;
|
|
13
|
+
private _EntryAdminService;
|
|
14
|
+
private _LocalizationService;
|
|
15
|
+
private router;
|
|
16
|
+
constructor(toaster: ToasterService, _location: Location, route: ActivatedRoute, _EntryAdminService: EntryAdminService, _LocalizationService: LocalizationService, router: Router);
|
|
17
|
+
private fb;
|
|
18
|
+
private _updateListService;
|
|
19
|
+
/**表单实体 */
|
|
20
|
+
newEntity: FormGroup | undefined;
|
|
21
|
+
/**是否是草稿 */
|
|
22
|
+
draftType: boolean;
|
|
23
|
+
/**页面传值用于传递到子组件 */
|
|
24
|
+
queryParams: any;
|
|
25
|
+
/**指定id的条目信息 */
|
|
26
|
+
entrySelect: any;
|
|
27
|
+
/**获取提交按钮替身,用于真实触发表单提交 */
|
|
28
|
+
submitclick: ElementRef;
|
|
29
|
+
ngOnInit(): Promise<void>;
|
|
30
|
+
/**获取条目信息 */
|
|
31
|
+
getEntrySelect(): Promise<unknown>;
|
|
32
|
+
/**保存 */
|
|
33
|
+
save(draft: any): void;
|
|
34
|
+
/**触发点击按钮替身 */
|
|
35
|
+
clickSubmit(type: any): void;
|
|
36
|
+
/**返回上一页 */
|
|
37
|
+
backTo(): void;
|
|
38
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CreateComponent, never>;
|
|
39
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CreateComponent, "cms-create", never, {}, {}, never, never, false, never>;
|
|
40
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { ToasterService } from '@abp/ng.theme.shared';
|
|
2
|
+
import { ElementRef, OnInit } from '@angular/core';
|
|
3
|
+
import { FormGroup } from '@angular/forms';
|
|
4
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
5
|
+
import { Location } from '@angular/common';
|
|
6
|
+
import { LocalizationService } from '@abp/ng.core';
|
|
7
|
+
import { EntryAdminService } from '../../../proxy/admin/entries';
|
|
8
|
+
import { CmsApiService } from '../../../services';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class EditComponent implements OnInit {
|
|
11
|
+
private toaster;
|
|
12
|
+
_location: Location;
|
|
13
|
+
private route;
|
|
14
|
+
private _EntryAdminService;
|
|
15
|
+
private router;
|
|
16
|
+
private _LocalizationService;
|
|
17
|
+
private _CmsApiService;
|
|
18
|
+
constructor(toaster: ToasterService, _location: Location, route: ActivatedRoute, _EntryAdminService: EntryAdminService, router: Router, _LocalizationService: LocalizationService, _CmsApiService: CmsApiService);
|
|
19
|
+
private fb;
|
|
20
|
+
private _updateListService;
|
|
21
|
+
/**表单实体 */
|
|
22
|
+
newEntity: FormGroup | undefined;
|
|
23
|
+
/**是否是草稿 */
|
|
24
|
+
draftType: boolean;
|
|
25
|
+
/**页面传值用于传递到子组件 */
|
|
26
|
+
queryParams: any;
|
|
27
|
+
/**指定id的条目信息 */
|
|
28
|
+
entrySelect: any;
|
|
29
|
+
/**获取提交按钮替身,用于真实触发表单提交 */
|
|
30
|
+
submitclick: ElementRef;
|
|
31
|
+
ngOnInit(): Promise<void>;
|
|
32
|
+
/**获取条目信息 */
|
|
33
|
+
getEntrySelect(): Promise<unknown>;
|
|
34
|
+
/**保存 */
|
|
35
|
+
save(draft: any): void;
|
|
36
|
+
/**触发点击按钮替身 */
|
|
37
|
+
clickSubmit(type: any): void;
|
|
38
|
+
/**返回上一页 */
|
|
39
|
+
backTo(): void;
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditComponent, never>;
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EditComponent, "cms-edit", never, {}, {}, never, never, false, never>;
|
|
42
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { ABP, ConfigStateService, ListService, LocalizationService, PagedResultDto } from '@abp/ng.core';
|
|
2
|
+
import { ToasterService, ConfirmationService } from '@abp/ng.theme.shared';
|
|
3
|
+
import { OnInit } from '@angular/core';
|
|
4
|
+
import { FormGroup } from '@angular/forms';
|
|
5
|
+
import { EntryAdminService, EntryDto, GetEntriesInput } from '../../../proxy/admin/entries';
|
|
6
|
+
import { ColumnMode } from "@swimlane/ngx-datatable";
|
|
7
|
+
import { SiteAdminService } from '../../../proxy/admin/sites';
|
|
8
|
+
import { SectionAdminService } from '../../../proxy/admin/sections';
|
|
9
|
+
import { Router } from '@angular/router';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
export declare class EntriesComponent implements OnInit {
|
|
12
|
+
private _EntryAdminService;
|
|
13
|
+
private _SiteAdminService;
|
|
14
|
+
private _SectionAdminService;
|
|
15
|
+
private toaster;
|
|
16
|
+
private confirmation;
|
|
17
|
+
private configState;
|
|
18
|
+
private router;
|
|
19
|
+
private _LocalizationService;
|
|
20
|
+
constructor(_EntryAdminService: EntryAdminService, _SiteAdminService: SiteAdminService, _SectionAdminService: SectionAdminService, toaster: ToasterService, confirmation: ConfirmationService, configState: ConfigStateService, router: Router, _LocalizationService: LocalizationService);
|
|
21
|
+
private fb;
|
|
22
|
+
private _UpdateListService;
|
|
23
|
+
readonly list: ListService<any>;
|
|
24
|
+
ngOnInit(): void;
|
|
25
|
+
/**站点列表 */
|
|
26
|
+
siteList: any[any];
|
|
27
|
+
/**选择的站点id */
|
|
28
|
+
siteId: string;
|
|
29
|
+
/**站点下的版块 */
|
|
30
|
+
SiteOfSectionList: any[any];
|
|
31
|
+
/**版块下的语言列表 */
|
|
32
|
+
sectionLanguagesList: any[any];
|
|
33
|
+
/**版块下的条目类型列表 */
|
|
34
|
+
entryTypeList: any[any];
|
|
35
|
+
/**状态编码 */
|
|
36
|
+
_entryStatusOptions: ABP.Option<typeof import("../../../proxy/entries").EntryStatus>[];
|
|
37
|
+
/**获取页面数据 */
|
|
38
|
+
getPageDate(): Promise<void>;
|
|
39
|
+
/**切换站点 */
|
|
40
|
+
siteIdChange(): Promise<void>;
|
|
41
|
+
/**切换板块 */
|
|
42
|
+
sectionIdChange(): Promise<void>;
|
|
43
|
+
/**切换语言 */
|
|
44
|
+
cultureChange(): Promise<void>;
|
|
45
|
+
/**获取站点列表 */
|
|
46
|
+
getsiteList(): Promise<unknown>;
|
|
47
|
+
/**获取站点下的版块 */
|
|
48
|
+
getSiteOfSectionList(): Promise<unknown>;
|
|
49
|
+
/**获取版块下的条目类型 */
|
|
50
|
+
getSectionOfEntryType(): void;
|
|
51
|
+
/**获取版块下的语言列表 */
|
|
52
|
+
getSectionLanguagesList(): Promise<unknown>;
|
|
53
|
+
resetData(): void;
|
|
54
|
+
/**新增-单个 */
|
|
55
|
+
createEntriesBtn(): void;
|
|
56
|
+
/**列表相关 */
|
|
57
|
+
ColumnMode: typeof ColumnMode;
|
|
58
|
+
data: PagedResultDto<EntryDto>;
|
|
59
|
+
filters: GetEntriesInput;
|
|
60
|
+
filtersForm: FormGroup;
|
|
61
|
+
hookToQuery(): void;
|
|
62
|
+
/**删除条目 */
|
|
63
|
+
deletefield(row: any): void;
|
|
64
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EntriesComponent, never>;
|
|
65
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EntriesComponent, "cms-entries", never, {}, {}, never, never, false, never>;
|
|
66
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
+
import { ToasterService } from '@abp/ng.theme.shared';
|
|
4
|
+
import { FieldAdminService } from '../../../proxy/admin/fields';
|
|
5
|
+
import { Location } from '@angular/common';
|
|
6
|
+
import { LocalizationService } from '@abp/ng.core';
|
|
7
|
+
import { CmsApiService } from '../../../services';
|
|
8
|
+
import { Router } from '@angular/router';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class CreateFieldComponent {
|
|
11
|
+
private fb;
|
|
12
|
+
_FieldAdminService: FieldAdminService;
|
|
13
|
+
private toaster;
|
|
14
|
+
_location: Location;
|
|
15
|
+
_LocalizationService: LocalizationService;
|
|
16
|
+
_CmsApiService: CmsApiService;
|
|
17
|
+
private router;
|
|
18
|
+
constructor(fb: FormBuilder, _FieldAdminService: FieldAdminService, toaster: ToasterService, _location: Location, _LocalizationService: LocalizationService, _CmsApiService: CmsApiService, router: Router);
|
|
19
|
+
private _UpdateListService;
|
|
20
|
+
/**表单实体 */
|
|
21
|
+
newEntity: FormGroup | undefined;
|
|
22
|
+
/**获取提交按钮替身,用于真实触发表单提交 */
|
|
23
|
+
submitclick: ElementRef;
|
|
24
|
+
ngOnInit(): void;
|
|
25
|
+
/**触发提交按钮 */
|
|
26
|
+
submitclickBtn(): void;
|
|
27
|
+
/**保存表单 */
|
|
28
|
+
save(): void;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CreateFieldComponent, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CreateFieldComponent, "cms-create-field", never, {}, {}, never, never, false, never>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { ViewContainerRef } 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 { FieldAdminService } from '../../../proxy/admin/fields';
|
|
7
|
+
import { LocalizationService } from '@abp/ng.core';
|
|
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
|
+
FormDynamicRef: ViewContainerRef;
|
|
16
|
+
constructor(_FieldAbstractsService: FieldAbstractsService, _CmsApiService: CmsApiService, _FieldAdminService: FieldAdminService, _LocalizationService: LocalizationService);
|
|
17
|
+
/**表单实体 */
|
|
18
|
+
_Entity: FormGroup | undefined;
|
|
19
|
+
set Entity(v: FormGroup | undefined);
|
|
20
|
+
get formControlName(): AbstractControl<any, any>;
|
|
21
|
+
/**选择的表单信息 */
|
|
22
|
+
_selected_copy: any;
|
|
23
|
+
_selected: any;
|
|
24
|
+
set selected(v: any);
|
|
25
|
+
private _CreateDynamicComponentsService;
|
|
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(): 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,40 @@
|
|
|
1
|
+
import { ElementRef, OnInit } from '@angular/core';
|
|
2
|
+
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
+
import { FieldAbstractsService } from '../../../services/field-abstracts.service';
|
|
4
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
5
|
+
import { FieldAdminService } from '../../../proxy/admin/fields';
|
|
6
|
+
import { ToasterService } from '@abp/ng.theme.shared';
|
|
7
|
+
import { Location } from '@angular/common';
|
|
8
|
+
import { LocalizationService } from '@abp/ng.core';
|
|
9
|
+
import { CmsApiService } from '../../../services';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
export declare class EditFieldComponent implements OnInit {
|
|
12
|
+
private fb;
|
|
13
|
+
_FieldAbstractsService: FieldAbstractsService;
|
|
14
|
+
_FieldAdminService: FieldAdminService;
|
|
15
|
+
private route;
|
|
16
|
+
private toaster;
|
|
17
|
+
_location: Location;
|
|
18
|
+
_LocalizationService: LocalizationService;
|
|
19
|
+
_CmsApiService: CmsApiService;
|
|
20
|
+
private router;
|
|
21
|
+
constructor(fb: FormBuilder, _FieldAbstractsService: FieldAbstractsService, _FieldAdminService: FieldAdminService, route: ActivatedRoute, toaster: ToasterService, _location: Location, _LocalizationService: LocalizationService, _CmsApiService: CmsApiService, router: Router);
|
|
22
|
+
/**表单实体 */
|
|
23
|
+
newEntity: FormGroup | undefined;
|
|
24
|
+
/**字段id */
|
|
25
|
+
fieldId: string;
|
|
26
|
+
/**字段详情 */
|
|
27
|
+
fieldDetails: any;
|
|
28
|
+
/**获取提交按钮替身,用于真实触发表单提交 */
|
|
29
|
+
submitclick: ElementRef;
|
|
30
|
+
ngOnInit(): Promise<void>;
|
|
31
|
+
/**获取字段详情 */
|
|
32
|
+
getFieldEdit(): Promise<unknown>;
|
|
33
|
+
/**触发提交按钮 */
|
|
34
|
+
submitclickBtn(): void;
|
|
35
|
+
private _UpdateListService;
|
|
36
|
+
/**保存表单 */
|
|
37
|
+
save(): void;
|
|
38
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditFieldComponent, never>;
|
|
39
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EditFieldComponent, "cms-edit-field", never, {}, {}, never, never, false, never>;
|
|
40
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
+
import { FieldGroupAdminService } from '../../../proxy/admin/fields';
|
|
4
|
+
import { ConfirmationService, ToasterService } from '@abp/ng.theme.shared';
|
|
5
|
+
import { FieldAbstractsService } from '../../../services/field-abstracts.service';
|
|
6
|
+
import { LocalizationService } from '@abp/ng.core';
|
|
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
|
+
/**创建字段分组保存 */
|
|
42
|
+
createSave(): void;
|
|
43
|
+
/**编辑字段分组保存 */
|
|
44
|
+
editSave(): void;
|
|
45
|
+
/**删除字段分组1 */
|
|
46
|
+
deleteGroupbtn(fieldGroupitem: any): void;
|
|
47
|
+
/**字段分组改变 */
|
|
48
|
+
fieldGroupChange(event: any): void;
|
|
49
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FieldGroupComponent, never>;
|
|
50
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FieldGroupComponent, "cms-field-group", never, {}, { "OnGroupClickBack": "OnGroupClickBack"; }, never, never, false, never>;
|
|
51
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
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 { FieldAdminService, FieldDto, GetFieldsInput } from '../../../proxy/admin/fields';
|
|
6
|
+
import { ColumnMode } from "@swimlane/ngx-datatable";
|
|
7
|
+
import { CmsApiService } from '../../../services';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class FieldsComponent implements OnInit {
|
|
10
|
+
readonly list: ListService;
|
|
11
|
+
private _FieldAdminService;
|
|
12
|
+
private toaster;
|
|
13
|
+
private confirmation;
|
|
14
|
+
private _LocalizationService;
|
|
15
|
+
private router;
|
|
16
|
+
private _CmsApiService;
|
|
17
|
+
constructor(list: ListService, _FieldAdminService: FieldAdminService, toaster: ToasterService, confirmation: ConfirmationService, _LocalizationService: LocalizationService, router: Router, _CmsApiService: CmsApiService);
|
|
18
|
+
private _UpdateListService;
|
|
19
|
+
/**表格单元格布局类型 */
|
|
20
|
+
ColumnMode: typeof ColumnMode;
|
|
21
|
+
/**表格数据 */
|
|
22
|
+
data: PagedResultDto<FieldDto>;
|
|
23
|
+
/**过滤器 */
|
|
24
|
+
filters: GetFieldsInput;
|
|
25
|
+
ngOnInit(): void;
|
|
26
|
+
getData(): void;
|
|
27
|
+
/**字段分组选择回调 */
|
|
28
|
+
fieldGroupChange(event: any): void;
|
|
29
|
+
/**使用abp的list获取表格的字段数据列表 */
|
|
30
|
+
hookToQuery(): void;
|
|
31
|
+
/**新建字段按钮 */
|
|
32
|
+
toFieldsCreateBtn(): void;
|
|
33
|
+
/**删除字段 */
|
|
34
|
+
deletefield(row: any): void;
|
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FieldsComponent, never>;
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FieldsComponent, "cms-fields", never, {}, {}, never, never, false, never>;
|
|
37
|
+
}
|
|
@@ -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,17 @@
|
|
|
1
|
+
export declare class CreateOrUpdateSectionsInputBase {
|
|
2
|
+
/**版块类型 */
|
|
3
|
+
type: any;
|
|
4
|
+
/**字段名称 Display name of this field */
|
|
5
|
+
displayName: any;
|
|
6
|
+
/**字段唯一名称 Unique Name*/
|
|
7
|
+
name: any;
|
|
8
|
+
/**条目路由 */
|
|
9
|
+
route: any;
|
|
10
|
+
/**页面模板 */
|
|
11
|
+
template: any;
|
|
12
|
+
/**是否默认 */
|
|
13
|
+
isDefault: any;
|
|
14
|
+
/**是否激活 */
|
|
15
|
+
isActive: any;
|
|
16
|
+
constructor(data?: CreateOrUpdateSectionsInputBase);
|
|
17
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { Validators } from "@angular/forms";
|
|
2
|
+
export declare class CreateOrEditEntryTypeInputBase {
|
|
3
|
+
/**显示名称 Display name of this field */
|
|
4
|
+
displayName: any;
|
|
5
|
+
/**名称 Unique Name*/
|
|
6
|
+
name: any;
|
|
7
|
+
/**条目路由 */
|
|
8
|
+
fieldTabs: any;
|
|
9
|
+
constructor(data?: CreateOrEditEntryTypeInputBase);
|
|
10
|
+
}
|
|
11
|
+
export declare class fieldTabsBase {
|
|
12
|
+
/**名称 Unique Name*/
|
|
13
|
+
name: any;
|
|
14
|
+
fields?: any;
|
|
15
|
+
constructor(data?: fieldTabsBase);
|
|
16
|
+
}
|
|
17
|
+
export declare class fieldsBase {
|
|
18
|
+
/**字段id Unique Name*/
|
|
19
|
+
fieldId: any;
|
|
20
|
+
/**显示名称 Unique Name*/
|
|
21
|
+
displayName: any;
|
|
22
|
+
/**必填 Unique Name*/
|
|
23
|
+
required: any;
|
|
24
|
+
/**是否在列表中显示 Unique Name*/
|
|
25
|
+
showOnList: any;
|
|
26
|
+
constructor(data?: fieldsBase);
|
|
27
|
+
}
|
|
28
|
+
export declare class fieldsInputBase {
|
|
29
|
+
/**字段id */
|
|
30
|
+
fieldId: (string | (typeof Validators.required)[])[];
|
|
31
|
+
/**显示名称 Display name of this field */
|
|
32
|
+
displayName: any;
|
|
33
|
+
/**是否必填 Unique Name*/
|
|
34
|
+
required: any;
|
|
35
|
+
/**在列表中展示 Unique Name*/
|
|
36
|
+
showOnList: any;
|
|
37
|
+
constructor(data?: fieldsInputBase);
|
|
38
|
+
}
|