@dignite-ng/expand.cms 0.0.52 → 0.0.54
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/components/domains/domains.component.d.ts +29 -0
- package/config/components/site-language/site-language.component.d.ts +29 -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 +9 -0
- package/config/proxy/admin/domains/domain-admin.service.d.ts +13 -0
- package/config/{src/proxy/dignite/cms/admin/domains/models.ts → proxy/admin/domains/models.d.ts} +7 -9
- package/config/proxy/dignite/cms/admin/sites/models.d.ts +4 -0
- package/config/proxy/dignite/cms/admin/sites/site-admin.service.d.ts +13 -0
- package/config/proxy/dignite/cms/sites/models.d.ts +4 -0
- package/config/{src/public-api.ts → public-api.d.ts} +3 -3
- package/config/services/validators.service.d.ts +16 -0
- package/esm2022/config/cms-config.module.mjs +18 -0
- package/esm2022/config/components/domains/domains.component.mjs +102 -0
- package/esm2022/config/components/site-language/site-language.component.mjs +105 -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 +10 -0
- package/esm2022/config/providers/index.mjs +2 -0
- package/esm2022/config/providers/route.provider.mjs +74 -0
- package/esm2022/config/proxy/admin/domains/domain-admin.service.mjs +32 -0
- package/esm2022/config/proxy/admin/domains/index.mjs +3 -0
- package/esm2022/config/proxy/admin/domains/models.mjs +2 -0
- package/esm2022/config/proxy/dignite/cms/admin/sites/index.mjs +3 -0
- package/esm2022/config/proxy/dignite/cms/admin/sites/models.mjs +2 -0
- package/esm2022/config/proxy/dignite/cms/admin/sites/site-admin.service.mjs +27 -0
- package/esm2022/config/proxy/dignite/cms/sites/models.mjs +2 -0
- package/esm2022/config/public-api.mjs +4 -0
- package/esm2022/config/services/validators.service.mjs +83 -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 +133 -0
- package/esm2022/lib/components/admin/entries/create-or-edit-entries.component.mjs +303 -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 +110 -0
- package/esm2022/lib/components/admin/entries/edit.component.mjs +110 -0
- package/esm2022/lib/components/admin/entries/entries.component.mjs +199 -0
- package/esm2022/lib/components/admin/entries/index.mjs +5 -0
- package/esm2022/lib/components/admin/fields/create-field.component.mjs +80 -0
- package/esm2022/lib/components/admin/fields/create-or-edit-field.component.mjs +114 -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 +103 -0
- package/esm2022/lib/components/admin/fields/field-group.component.mjs +131 -0
- package/esm2022/lib/components/admin/fields/fields.component.mjs +108 -0
- package/esm2022/lib/components/admin/fields/index.mjs +7 -0
- package/esm2022/lib/components/admin/index.mjs +4 -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 +389 -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 +292 -0
- package/esm2022/lib/components/dynamic-form/entry/entry-config.component.mjs +112 -0
- package/esm2022/lib/components/dynamic-form/entry/entry-config.mjs +18 -0
- package/esm2022/lib/components/dynamic-form/entry/entry-control.component.mjs +105 -0
- package/esm2022/lib/components/dynamic-form/entry/index.mjs +4 -0
- package/esm2022/lib/components/dynamic-form/form-control-group.mjs +28 -0
- package/esm2022/lib/components/dynamic-form/index.mjs +5 -0
- package/esm2022/lib/components/dynamic-form/matrix/index.mjs +4 -0
- package/esm2022/lib/components/dynamic-form/matrix/matrix-config.component.mjs +214 -0
- package/esm2022/lib/components/dynamic-form/matrix/matrix-config.mjs +50 -0
- package/esm2022/lib/components/dynamic-form/matrix/matrix-control.component.mjs +98 -0
- package/esm2022/lib/components/dynamic-form/table/index.mjs +4 -0
- package/esm2022/lib/components/dynamic-form/table/table-config.component.mjs +151 -0
- package/esm2022/lib/components/dynamic-form/table/table-config.mjs +38 -0
- package/esm2022/lib/components/dynamic-form/table/table-control.component.mjs +105 -0
- package/esm2022/lib/components/index.mjs +3 -0
- package/esm2022/lib/constants/styles.mjs +21 -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 +22 -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 +70 -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 +45 -0
- package/esm2022/lib/proxy/admin/fields/field-group-admin.service.mjs +41 -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/sections/entry-type-admin.service.mjs +41 -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 +51 -0
- package/esm2022/lib/proxy/admin/settings/index.mjs +2 -0
- package/esm2022/lib/proxy/admin/settings/site-settings-admin.service.mjs +31 -0
- package/esm2022/lib/proxy/dignite/abp/data/models.mjs +2 -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/models.mjs +2 -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/settings/models.mjs +2 -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 +49 -0
- package/esm2022/lib/resolvers/table-default-entity-props.mjs +54 -0
- package/esm2022/lib/services/appent-content.mjs +15 -0
- package/esm2022/lib/services/cms-api.service.mjs +70 -0
- package/esm2022/lib/services/cms.service.mjs +21 -0
- package/esm2022/lib/services/field-abstracts.service.mjs +42 -0
- package/esm2022/lib/services/index.mjs +4 -0
- package/esm2022/lib/services/validators.service.mjs +83 -0
- package/esm2022/public-api.mjs +6 -0
- package/fesm2022/dignite-ng-expand.cms-config.mjs +426 -0
- package/fesm2022/dignite-ng-expand.cms-config.mjs.map +1 -0
- package/fesm2022/dignite-ng-expand.cms.mjs +3932 -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 +35 -0
- package/lib/components/admin/entries/create-or-edit-entries.component.d.ts +96 -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 +47 -0
- package/lib/components/admin/entries/edit.component.d.ts +47 -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 +37 -0
- package/lib/components/admin/fields/create-or-edit-field.component.d.ts +38 -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-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 +138 -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 +64 -0
- package/lib/components/dynamic-form/entry/entry-config.component.d.ts +39 -0
- package/lib/components/dynamic-form/entry/entry-config.d.ts +9 -0
- package/lib/components/dynamic-form/entry/entry-control.component.d.ts +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 +39 -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/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 +22 -0
- package/lib/proxy/admin/entries/models.d.ts +60 -0
- package/lib/proxy/admin/fields/field-admin.service.d.ts +17 -0
- package/lib/proxy/admin/fields/field-group-admin.service.d.ts +16 -0
- package/{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} +67 -81
- package/lib/proxy/admin/sections/section-admin.service.d.ts +18 -0
- package/lib/proxy/admin/settings/site-settings-admin.service.d.ts +13 -0
- package/lib/proxy/dignite/abp/data/models.d.ts +3 -0
- package/lib/proxy/entries/entry-status.enum.d.ts +5 -0
- package/lib/proxy/fields/models.d.ts +8 -0
- package/lib/proxy/sections/models.d.ts +12 -0
- package/lib/proxy/sections/section-type.enum.d.ts +6 -0
- package/lib/proxy/settings/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/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 +16 -0
- package/lib/services/cms.service.d.ts +10 -0
- package/lib/services/field-abstracts.service.d.ts +20 -0
- package/lib/services/index.d.ts +3 -0
- package/lib/services/validators.service.d.ts +15 -0
- package/package.json +22 -7
- package/{src/public-api.ts → public-api.d.ts} +2 -6
- package/config/ng-package.json +0 -6
- package/config/src/cms-config.module.ts +0 -12
- package/config/src/components/domains/domains.component.html +0 -17
- package/config/src/components/domains/domains.component.scss +0 -0
- package/config/src/components/domains/domains.component.spec.ts +0 -21
- package/config/src/components/domains/domains.component.ts +0 -109
- package/config/src/components/site-language/site-language.component.html +0 -31
- package/config/src/components/site-language/site-language.component.scss +0 -0
- package/config/src/components/site-language/site-language.component.spec.ts +0 -21
- package/config/src/components/site-language/site-language.component.ts +0 -117
- package/config/src/enums/route-names.ts +0 -8
- package/config/src/providers/route.provider.ts +0 -82
- package/config/src/proxy/admin/domains/domain-admin.service.ts +0 -38
- package/config/src/proxy/admin/domains/models.ts +0 -9
- package/config/src/proxy/dignite/abp/data/index.ts +0 -1
- package/config/src/proxy/dignite/abp/data/models.ts +0 -4
- package/config/src/proxy/dignite/abp/index.ts +0 -2
- package/config/src/proxy/dignite/cms/admin/domains/domain-admin.service.ts +0 -47
- package/config/src/proxy/dignite/cms/admin/domains/index.ts +0 -2
- package/config/src/proxy/dignite/cms/admin/dynamic-forms/form-admin.service.ts +0 -21
- package/config/src/proxy/dignite/cms/admin/dynamic-forms/models.ts +0 -5
- package/config/src/proxy/dignite/cms/admin/entries/entry-admin.service.ts +0 -109
- package/config/src/proxy/dignite/cms/admin/entries/models.ts +0 -68
- package/config/src/proxy/dignite/cms/admin/fields/field-admin.service.ts +0 -64
- package/config/src/proxy/dignite/cms/admin/fields/field-group-admin.service.ts +0 -56
- package/config/src/proxy/dignite/cms/admin/fields/models.ts +0 -42
- package/config/src/proxy/dignite/cms/admin/index.ts +0 -7
- package/config/src/proxy/dignite/cms/admin/sections/entry-type-admin.service.ts +0 -55
- package/config/src/proxy/dignite/cms/admin/sections/models.ts +0 -81
- package/config/src/proxy/dignite/cms/admin/sections/section-admin.service.ts +0 -74
- package/config/src/proxy/dignite/cms/admin/sites/models.ts +0 -5
- package/config/src/proxy/dignite/cms/admin/sites/site-admin.service.ts +0 -30
- package/config/src/proxy/dignite/cms/entries/entry-status.enum.ts +0 -8
- package/config/src/proxy/dignite/cms/fields/index.ts +0 -1
- package/config/src/proxy/dignite/cms/fields/models.ts +0 -9
- package/config/src/proxy/dignite/cms/index.ts +0 -6
- package/config/src/proxy/dignite/cms/sections/models.ts +0 -14
- package/config/src/proxy/dignite/cms/sections/section-type.enum.ts +0 -9
- package/config/src/proxy/dignite/cms/sites/index.ts +0 -1
- package/config/src/proxy/dignite/cms/sites/models.ts +0 -5
- package/config/src/proxy/dignite/cms-kit/admin/brand/brand-admin.service.ts +0 -21
- package/config/src/proxy/dignite/cms-kit/admin/brand/index.ts +0 -2
- package/config/src/proxy/dignite/cms-kit/admin/brand/models.ts +0 -7
- package/config/src/proxy/dignite/cms-kit/admin/index.ts +0 -2
- package/config/src/proxy/dignite/cms-kit/brand/brand.service.ts +0 -20
- package/config/src/proxy/dignite/cms-kit/brand/index.ts +0 -2
- package/config/src/proxy/dignite/cms-kit/brand/models.ts +0 -7
- package/config/src/proxy/dignite/cms-kit/index.ts +0 -3
- package/config/src/proxy/dignite/file-explorer/directories/file-descriptor.service.ts +0 -65
- package/config/src/proxy/dignite/file-explorer/directories/index.ts +0 -2
- package/config/src/proxy/dignite/file-explorer/directories/models.ts +0 -35
- package/config/src/proxy/dignite/file-explorer/files/file-descriptor.service.ts +0 -101
- package/config/src/proxy/dignite/file-explorer/files/index.ts +0 -2
- package/config/src/proxy/dignite/file-explorer/files/models.ts +0 -61
- package/config/src/proxy/dignite/file-explorer/index.ts +0 -3
- package/config/src/proxy/dignite/index.ts +0 -6
- package/config/src/proxy/dignite/travely/areas/index.ts +0 -1
- package/config/src/proxy/dignite/travely/areas/models.ts +0 -5
- package/config/src/proxy/dignite/travely/common/index.ts +0 -1
- package/config/src/proxy/dignite/travely/common/models.ts +0 -5
- package/config/src/proxy/dignite/travely/entity-snapshots/index.ts +0 -1
- package/config/src/proxy/dignite/travely/entity-snapshots/models.ts +0 -7
- package/config/src/proxy/dignite/travely/guides/index.ts +0 -1
- package/config/src/proxy/dignite/travely/guides/models.ts +0 -26
- package/config/src/proxy/dignite/travely/index.ts +0 -9
- package/config/src/proxy/dignite/travely/merchants/index.ts +0 -1
- package/config/src/proxy/dignite/travely/merchants/models.ts +0 -9
- package/config/src/proxy/dignite/travely/orders/index.ts +0 -1
- package/config/src/proxy/dignite/travely/orders/models.ts +0 -52
- package/config/src/proxy/dignite/travely/payment/index.ts +0 -1
- package/config/src/proxy/dignite/travely/payment/models.ts +0 -9
- package/config/src/proxy/dignite/travely/tours/booking-time-type.enum.ts +0 -9
- package/config/src/proxy/dignite/travely/tours/index.ts +0 -5
- package/config/src/proxy/dignite/travely/tours/models.ts +0 -77
- package/config/src/proxy/dignite/travely/tours/period-type.enum.ts +0 -9
- package/config/src/proxy/dignite/travely/tours/tour-recommendation-rank.enum.ts +0 -12
- package/config/src/proxy/dignite/travely/tours/tourist-type.enum.ts +0 -8
- package/config/src/proxy/microsoft/asp-net-core/index.ts +0 -2
- package/config/src/proxy/microsoft/asp-net-core/mvc/index.ts +0 -1
- package/config/src/proxy/microsoft/asp-net-core/mvc/models.ts +0 -12
- package/config/src/proxy/microsoft/extensions/index.ts +0 -2
- package/config/src/proxy/microsoft/extensions/primitives/index.ts +0 -1
- package/config/src/proxy/microsoft/extensions/primitives/models.ts +0 -9
- package/config/src/proxy/microsoft/index.ts +0 -4
- package/config/src/proxy/microsoft/net/http/headers/index.ts +0 -1
- package/config/src/proxy/microsoft/net/http/headers/models.ts +0 -7
- package/config/src/proxy/microsoft/net/http/index.ts +0 -2
- package/config/src/proxy/microsoft/net/index.ts +0 -2
- package/config/src/services/validators.service.ts +0 -80
- package/ng-package.json +0 -10
- package/src/lib/cms-routing.module.ts +0 -102
- package/src/lib/cms.module.ts +0 -109
- 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 -1
- 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 -318
- package/src/lib/components/admin/entries/create-or-update-entry-input-base.ts +0 -33
- package/src/lib/components/admin/entries/create.component.html +0 -13
- package/src/lib/components/admin/entries/create.component.scss +0 -1
- package/src/lib/components/admin/entries/create.component.spec.ts +0 -21
- package/src/lib/components/admin/entries/create.component.ts +0 -110
- package/src/lib/components/admin/entries/edit.component.html +0 -9
- package/src/lib/components/admin/entries/edit.component.scss +0 -1
- package/src/lib/components/admin/entries/edit.component.spec.ts +0 -21
- package/src/lib/components/admin/entries/edit.component.ts +0 -111
- package/src/lib/components/admin/entries/entries.component.html +0 -112
- package/src/lib/components/admin/entries/entries.component.scss +0 -1
- 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 -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 -82
- package/src/lib/components/admin/fields/create-or-edit-field.component.html +0 -40
- 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 -121
- 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 -16
- 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 -101
- 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 -74
- 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-update-sections-input-base.ts +0 -32
- 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 -187
- 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 -424
- 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 -188
- 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 -302
- 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 -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 -114
- 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 -1
- 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 -239
- 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 -106
- 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 -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 -114
- package/src/lib/components/index.ts +0 -2
- package/src/lib/constants/index.ts +0 -1
- package/src/lib/constants/styles.ts +0 -20
- 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/domains/domain-admin.service.ts +0 -38
- package/src/lib/proxy/admin/domains/index.ts +0 -2
- package/src/lib/proxy/admin/domains/models.ts +0 -9
- package/src/lib/proxy/admin/dynamic-forms/form-admin.service.ts +0 -21
- package/src/lib/proxy/admin/dynamic-forms/index.ts +0 -2
- package/src/lib/proxy/admin/dynamic-forms/models.ts +0 -5
- package/src/lib/proxy/admin/entries/entry-admin.service.ts +0 -109
- package/src/lib/proxy/admin/entries/index.ts +0 -2
- package/src/lib/proxy/admin/entries/models.ts +0 -68
- 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/fields/index.ts +0 -3
- package/src/lib/proxy/admin/index.ts +0 -7
- package/src/lib/proxy/admin/sections/entry-type-admin.service.ts +0 -55
- package/src/lib/proxy/admin/sections/index.ts +0 -3
- package/src/lib/proxy/admin/sections/section-admin.service.ts +0 -74
- package/src/lib/proxy/admin/settings/site-settings-admin.service.ts +0 -37
- 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 -2
- package/src/lib/proxy/dignite/file-explorer/directories/file-descriptor.service.ts +0 -65
- package/src/lib/proxy/dignite/file-explorer/directories/index.ts +0 -2
- package/src/lib/proxy/dignite/file-explorer/directories/models.ts +0 -35
- package/src/lib/proxy/dignite/file-explorer/files/file-descriptor.service.ts +0 -86
- package/src/lib/proxy/dignite/file-explorer/files/index.ts +0 -2
- package/src/lib/proxy/dignite/file-explorer/files/models.ts +0 -58
- package/src/lib/proxy/dignite/file-explorer/index.ts +0 -3
- package/src/lib/proxy/dignite/index.ts +0 -3
- package/src/lib/proxy/entries/entry-status.enum.ts +0 -8
- package/src/lib/proxy/entries/index.ts +0 -1
- package/src/lib/proxy/fields/index.ts +0 -1
- package/src/lib/proxy/fields/models.ts +0 -9
- package/src/lib/proxy/generate-proxy.json +0 -11425
- package/src/lib/proxy/index.ts +0 -9
- package/src/lib/proxy/microsoft/asp-net-core/index.ts +0 -2
- package/src/lib/proxy/microsoft/asp-net-core/mvc/index.ts +0 -1
- package/src/lib/proxy/microsoft/asp-net-core/mvc/models.ts +0 -12
- package/src/lib/proxy/microsoft/extensions/index.ts +0 -2
- package/src/lib/proxy/microsoft/extensions/primitives/index.ts +0 -1
- package/src/lib/proxy/microsoft/extensions/primitives/models.ts +0 -9
- package/src/lib/proxy/microsoft/index.ts +0 -4
- package/src/lib/proxy/microsoft/net/http/headers/index.ts +0 -1
- package/src/lib/proxy/microsoft/net/http/headers/models.ts +0 -7
- package/src/lib/proxy/microsoft/net/http/index.ts +0 -2
- package/src/lib/proxy/microsoft/net/index.ts +0 -2
- package/src/lib/proxy/sections/index.ts +0 -2
- package/src/lib/proxy/sections/models.ts +0 -14
- package/src/lib/proxy/sections/section-type.enum.ts +0 -9
- package/src/lib/proxy/settings/index.ts +0 -1
- package/src/lib/proxy/settings/models.ts +0 -6
- package/src/lib/proxy/volo/abp/content/index.ts +0 -1
- package/src/lib/proxy/volo/abp/content/models.ts +0 -6
- package/src/lib/proxy/volo/abp/index.ts +0 -2
- 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 -3
- package/src/lib/resolvers/extensions-props-action-token.resolver.ts +0 -178
- package/src/lib/resolvers/page-default-toolbar-actions.ts +0 -170
- package/src/lib/resolvers/table-default-entity-actions.ts +0 -24
- package/src/lib/resolvers/table-default-entity-props.ts +0 -36
- 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 -40
- package/src/lib/services/index.ts +0 -4
- package/src/lib/services/simple-reuse-strategy.ts +0 -74
- package/src/lib/services/update-list.service.ts +0 -15
- package/src/lib/services/validators.service.ts +0 -82
- 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/config/{src/proxy/admin/domains/index.ts → proxy/admin/domains/index.d.ts} +0 -0
- /package/config/{src/proxy/dignite/cms/admin/sites/index.ts → proxy/dignite/cms/admin/sites/index.d.ts} +0 -0
- /package/{config/src/proxy/dignite/cms/admin/dynamic-forms/index.ts → lib/proxy/admin/dynamic-forms/index.d.ts} +0 -0
- /package/{config/src/proxy/dignite/cms/admin/entries/index.ts → lib/proxy/admin/entries/index.d.ts} +0 -0
- /package/{config/src/proxy/dignite/cms/admin/fields/index.ts → lib/proxy/admin/fields/index.d.ts} +0 -0
- /package/{config/src/proxy/dignite/cms/admin/sections/index.ts → lib/proxy/admin/sections/index.d.ts} +0 -0
- /package/{src/lib/proxy/admin/settings/index.ts → lib/proxy/admin/settings/index.d.ts} +0 -0
- /package/{config/src/proxy/dignite/cms/entries/index.ts → lib/proxy/entries/index.d.ts} +0 -0
- /package/{config/src/proxy/dignite/cms/sections/index.ts → lib/proxy/sections/index.d.ts} +0 -0
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
import type { CreateEntryInput, CultureExistWithSingleSectionInput, EntryDto, GetEntriesInput, MoveEntryInput, SlugExistsInput, UpdateEntryInput } from './models';
|
|
2
|
-
import { RestService, Rest } from '@abp/ng.core';
|
|
3
|
-
import type { ListResultDto, PagedResultDto } from '@abp/ng.core';
|
|
4
|
-
import { Injectable } from '@angular/core';
|
|
5
|
-
|
|
6
|
-
@Injectable({
|
|
7
|
-
providedIn: 'root',
|
|
8
|
-
})
|
|
9
|
-
export class EntryAdminService {
|
|
10
|
-
apiName = 'CmsAdmin';
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
activate = (id: string, config?: Partial<Rest.Config>) =>
|
|
14
|
-
this.restService.request<any, void>({
|
|
15
|
-
method: 'POST',
|
|
16
|
-
url: `/api/cms-admin/entries/activate/${id}`,
|
|
17
|
-
},
|
|
18
|
-
{ apiName: this.apiName,...config });
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
create = (input: CreateEntryInput, config?: Partial<Rest.Config>) =>
|
|
22
|
-
this.restService.request<any, EntryDto>({
|
|
23
|
-
method: 'POST',
|
|
24
|
-
url: '/api/cms-admin/entries',
|
|
25
|
-
body: input,
|
|
26
|
-
},
|
|
27
|
-
{ apiName: this.apiName,...config });
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
cultureExistWithSingleSection = (input: CultureExistWithSingleSectionInput, config?: Partial<Rest.Config>) =>
|
|
31
|
-
this.restService.request<any, boolean>({
|
|
32
|
-
method: 'GET',
|
|
33
|
-
url: '/api/cms-admin/entries/culture-exists-with-single-section',
|
|
34
|
-
params: { culture: input.culture, sectionId: input.sectionId, entryTypeId: input.entryTypeId },
|
|
35
|
-
},
|
|
36
|
-
{ apiName: this.apiName,...config });
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
delete = (id: string, config?: Partial<Rest.Config>) =>
|
|
40
|
-
this.restService.request<any, void>({
|
|
41
|
-
method: 'DELETE',
|
|
42
|
-
url: `/api/cms-admin/entries/${id}`,
|
|
43
|
-
},
|
|
44
|
-
{ apiName: this.apiName,...config });
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
get = (id: string, config?: Partial<Rest.Config>) =>
|
|
48
|
-
this.restService.request<any, EntryDto>({
|
|
49
|
-
method: 'GET',
|
|
50
|
-
url: `/api/cms-admin/entries/${id}`,
|
|
51
|
-
},
|
|
52
|
-
{ apiName: this.apiName,...config });
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
getAllVersions = (id: string, config?: Partial<Rest.Config>) =>
|
|
56
|
-
this.restService.request<any, ListResultDto<EntryDto>>({
|
|
57
|
-
method: 'GET',
|
|
58
|
-
url: `/api/cms-admin/entries/${id}/all-versions`,
|
|
59
|
-
},
|
|
60
|
-
{ apiName: this.apiName,...config });
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
getList = (input: GetEntriesInput, config?: Partial<Rest.Config>) =>
|
|
64
|
-
this.restService.request<any, PagedResultDto<EntryDto>>({
|
|
65
|
-
method: 'GET',
|
|
66
|
-
url: '/api/cms-admin/entries',
|
|
67
|
-
params: { culture: input.culture, sectionId: input.sectionId, entryTypeId: input.entryTypeId, startPublishDate: input.startPublishDate, expiryPublishDate: input.expiryPublishDate, filter: input.filter, status: input.status, creatorId: input.creatorId, sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },
|
|
68
|
-
},
|
|
69
|
-
{ apiName: this.apiName,...config });
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
getListByIds = (sectionId: string, ids: string[], config?: Partial<Rest.Config>) =>
|
|
73
|
-
this.restService.request<any, ListResultDto<EntryDto>>({
|
|
74
|
-
method: 'GET',
|
|
75
|
-
url: '/api/cms-admin/entries/search-by-ids',
|
|
76
|
-
params: { sectionId, ids },
|
|
77
|
-
},
|
|
78
|
-
{ apiName: this.apiName,...config });
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
move = (id: string, input: MoveEntryInput, config?: Partial<Rest.Config>) =>
|
|
82
|
-
this.restService.request<any, void>({
|
|
83
|
-
method: 'POST',
|
|
84
|
-
url: `/api/cms-admin/entries/move/${id}`,
|
|
85
|
-
body: input,
|
|
86
|
-
},
|
|
87
|
-
{ apiName: this.apiName,...config });
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
slugExists = (input: SlugExistsInput, config?: Partial<Rest.Config>) =>
|
|
91
|
-
this.restService.request<any, boolean>({
|
|
92
|
-
method: 'GET',
|
|
93
|
-
url: '/api/cms-admin/entries/slug-exists',
|
|
94
|
-
params: { culture: input.culture, sectionId: input.sectionId, slug: input.slug },
|
|
95
|
-
},
|
|
96
|
-
{ apiName: this.apiName,...config });
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
update = (id: string, input: UpdateEntryInput, config?: Partial<Rest.Config>) =>
|
|
100
|
-
this.restService.request<any, EntryDto>({
|
|
101
|
-
method: 'PUT',
|
|
102
|
-
url: '/api/cms-admin/entries',
|
|
103
|
-
params: { id },
|
|
104
|
-
body: input,
|
|
105
|
-
},
|
|
106
|
-
{ apiName: this.apiName,...config });
|
|
107
|
-
|
|
108
|
-
constructor(private restService: RestService) {}
|
|
109
|
-
}
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import type { CustomizableObject } from '../../../abp/data/models';
|
|
2
|
-
import type { ExtensibleAuditedEntityDto, PagedAndSortedResultRequestDto } from '@abp/ng.core';
|
|
3
|
-
import type { EntryStatus } from '../../entries/entry-status.enum';
|
|
4
|
-
import type { CmsUserDto } from '../../../../volo/cms-kit/users/models';
|
|
5
|
-
|
|
6
|
-
export interface CreateEntryInput extends CreateOrUpdateEntryInputBase {
|
|
7
|
-
initialVersionId?: string;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
export interface CreateOrUpdateEntryInputBase extends CustomizableObject {
|
|
11
|
-
entryTypeId: string;
|
|
12
|
-
culture: string;
|
|
13
|
-
title: string;
|
|
14
|
-
slug: string;
|
|
15
|
-
parentId?: string;
|
|
16
|
-
draft: boolean;
|
|
17
|
-
publishTime: string;
|
|
18
|
-
versionNotes?: string;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export interface CultureExistWithSingleSectionInput {
|
|
22
|
-
culture: string;
|
|
23
|
-
sectionId: string;
|
|
24
|
-
entryTypeId: string;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export interface EntryDto extends ExtensibleAuditedEntityDto<string> {
|
|
28
|
-
sectionId?: string;
|
|
29
|
-
entryTypeId?: string;
|
|
30
|
-
culture?: string;
|
|
31
|
-
title?: string;
|
|
32
|
-
slug?: string;
|
|
33
|
-
publishTime?: string;
|
|
34
|
-
status: EntryStatus;
|
|
35
|
-
parentId?: string;
|
|
36
|
-
order: number;
|
|
37
|
-
initialVersionId?: string;
|
|
38
|
-
isActivatedVersion: boolean;
|
|
39
|
-
versionNotes?: string;
|
|
40
|
-
author: CmsUserDto;
|
|
41
|
-
concurrencyStamp?: string;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
export interface GetEntriesInput extends PagedAndSortedResultRequestDto {
|
|
45
|
-
culture: string;
|
|
46
|
-
sectionId: string;
|
|
47
|
-
entryTypeId?: string;
|
|
48
|
-
startPublishDate?: string;
|
|
49
|
-
expiryPublishDate?: string;
|
|
50
|
-
filter?: string;
|
|
51
|
-
status?: EntryStatus;
|
|
52
|
-
creatorId?: string;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
export interface MoveEntryInput {
|
|
56
|
-
parentId?: string;
|
|
57
|
-
order: number;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
export interface SlugExistsInput {
|
|
61
|
-
culture: string;
|
|
62
|
-
sectionId: string;
|
|
63
|
-
slug?: string;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
export interface UpdateEntryInput extends CreateOrUpdateEntryInputBase {
|
|
67
|
-
concurrencyStamp?: string;
|
|
68
|
-
}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import type { CreateFieldInput, FieldDto, GetFieldsInput, UpdateFieldInput } from './models';
|
|
2
|
-
import { RestService, Rest } from '@abp/ng.core';
|
|
3
|
-
import type { PagedResultDto } from '@abp/ng.core';
|
|
4
|
-
import { Injectable } from '@angular/core';
|
|
5
|
-
|
|
6
|
-
@Injectable({
|
|
7
|
-
providedIn: 'root',
|
|
8
|
-
})
|
|
9
|
-
export class FieldAdminService {
|
|
10
|
-
apiName = 'CmsAdmin';
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
create = (input: CreateFieldInput, config?: Partial<Rest.Config>) =>
|
|
14
|
-
this.restService.request<any, FieldDto>({
|
|
15
|
-
method: 'POST',
|
|
16
|
-
url: '/api/cms-admin/fields',
|
|
17
|
-
body: input,
|
|
18
|
-
},
|
|
19
|
-
{ apiName: this.apiName,...config });
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
delete = (id: string, config?: Partial<Rest.Config>) =>
|
|
23
|
-
this.restService.request<any, void>({
|
|
24
|
-
method: 'DELETE',
|
|
25
|
-
url: `/api/cms-admin/fields/${id}`,
|
|
26
|
-
},
|
|
27
|
-
{ apiName: this.apiName,...config });
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
get = (id: string, config?: Partial<Rest.Config>) =>
|
|
31
|
-
this.restService.request<any, FieldDto>({
|
|
32
|
-
method: 'GET',
|
|
33
|
-
url: `/api/cms-admin/fields/${id}`,
|
|
34
|
-
},
|
|
35
|
-
{ apiName: this.apiName,...config });
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
getList = (input: GetFieldsInput, config?: Partial<Rest.Config>) =>
|
|
39
|
-
this.restService.request<any, PagedResultDto<FieldDto>>({
|
|
40
|
-
method: 'GET',
|
|
41
|
-
url: '/api/cms-admin/fields',
|
|
42
|
-
params: { filter: input.filter, groupId: input.groupId, sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },
|
|
43
|
-
},
|
|
44
|
-
{ apiName: this.apiName,...config });
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
nameExists = (name: string, config?: Partial<Rest.Config>) =>
|
|
48
|
-
this.restService.request<any, boolean>({
|
|
49
|
-
method: 'GET',
|
|
50
|
-
url: `/api/cms-admin/fields/name-exists/${name}`,
|
|
51
|
-
},
|
|
52
|
-
{ apiName: this.apiName,...config });
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
update = (id: string, input: UpdateFieldInput, config?: Partial<Rest.Config>) =>
|
|
56
|
-
this.restService.request<any, FieldDto>({
|
|
57
|
-
method: 'PUT',
|
|
58
|
-
url: `/api/cms-admin/fields/${id}`,
|
|
59
|
-
body: input,
|
|
60
|
-
},
|
|
61
|
-
{ apiName: this.apiName,...config });
|
|
62
|
-
|
|
63
|
-
constructor(private restService: RestService) {}
|
|
64
|
-
}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import type { CreateOrUpdateFieldGroupInput, FieldGroupDto, GetFieldGroupsInput } from './models';
|
|
2
|
-
import { RestService, Rest } from '@abp/ng.core';
|
|
3
|
-
import type { PagedResultDto } from '@abp/ng.core';
|
|
4
|
-
import { Injectable } from '@angular/core';
|
|
5
|
-
|
|
6
|
-
@Injectable({
|
|
7
|
-
providedIn: 'root',
|
|
8
|
-
})
|
|
9
|
-
export class FieldGroupAdminService {
|
|
10
|
-
apiName = 'CmsAdmin';
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
create = (input: CreateOrUpdateFieldGroupInput, config?: Partial<Rest.Config>) =>
|
|
14
|
-
this.restService.request<any, FieldGroupDto>({
|
|
15
|
-
method: 'POST',
|
|
16
|
-
url: '/api/cms-admin/field-groups',
|
|
17
|
-
body: input,
|
|
18
|
-
},
|
|
19
|
-
{ apiName: this.apiName,...config });
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
delete = (id: string, config?: Partial<Rest.Config>) =>
|
|
23
|
-
this.restService.request<any, void>({
|
|
24
|
-
method: 'DELETE',
|
|
25
|
-
url: `/api/cms-admin/field-groups/${id}`,
|
|
26
|
-
},
|
|
27
|
-
{ apiName: this.apiName,...config });
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
get = (id: string, config?: Partial<Rest.Config>) =>
|
|
31
|
-
this.restService.request<any, FieldGroupDto>({
|
|
32
|
-
method: 'GET',
|
|
33
|
-
url: `/api/cms-admin/field-groups/${id}`,
|
|
34
|
-
},
|
|
35
|
-
{ apiName: this.apiName,...config });
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
getList = (input: GetFieldGroupsInput, config?: Partial<Rest.Config>) =>
|
|
39
|
-
this.restService.request<any, PagedResultDto<FieldGroupDto>>({
|
|
40
|
-
method: 'GET',
|
|
41
|
-
url: '/api/cms-admin/field-groups',
|
|
42
|
-
params: { input },
|
|
43
|
-
},
|
|
44
|
-
{ apiName: this.apiName,...config });
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
update = (id: string, input: CreateOrUpdateFieldGroupInput, config?: Partial<Rest.Config>) =>
|
|
48
|
-
this.restService.request<any, FieldGroupDto>({
|
|
49
|
-
method: 'PUT',
|
|
50
|
-
url: `/api/cms-admin/field-groups/${id}`,
|
|
51
|
-
body: input,
|
|
52
|
-
},
|
|
53
|
-
{ apiName: this.apiName,...config });
|
|
54
|
-
|
|
55
|
-
constructor(private restService: RestService) {}
|
|
56
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import type { FieldDto } from '../../fields/models';
|
|
2
|
-
import type { EntityDto, PagedAndSortedResultRequestDto } from '@abp/ng.core';
|
|
3
|
-
|
|
4
|
-
export interface CreateFieldInput extends CreateOrUpdateFieldInputBase {
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
export interface CreateOrUpdateFieldGroupInput {
|
|
8
|
-
name: string;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export interface CreateOrUpdateFieldInputBase {
|
|
12
|
-
groupId?: string;
|
|
13
|
-
displayName: string;
|
|
14
|
-
name: string;
|
|
15
|
-
description?: string;
|
|
16
|
-
formControlName: string;
|
|
17
|
-
formConfiguration: Record<string, object>;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
export interface FieldDto extends FieldDto {
|
|
21
|
-
groupId?: string;
|
|
22
|
-
groupName?: string;
|
|
23
|
-
creationTime?: string;
|
|
24
|
-
creatorId?: string;
|
|
25
|
-
lastModifierId?: string;
|
|
26
|
-
lastModificationTime?: string;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export interface FieldGroupDto extends EntityDto<string> {
|
|
30
|
-
name?: string;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
export interface GetFieldGroupsInput {
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
export interface GetFieldsInput extends PagedAndSortedResultRequestDto {
|
|
37
|
-
filter?: string;
|
|
38
|
-
groupId?: string;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
export interface UpdateFieldInput extends CreateOrUpdateFieldInputBase {
|
|
42
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as Domains from './domains';
|
|
2
|
-
import * as DynamicForms from './dynamic-forms';
|
|
3
|
-
import * as Entries from './entries';
|
|
4
|
-
import * as Fields from './fields';
|
|
5
|
-
import * as Sections from './sections';
|
|
6
|
-
import * as Sites from './sites';
|
|
7
|
-
export { Domains, DynamicForms, Entries, Fields, Sections, Sites };
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import type { CreateEntryTypeInput, EntryTypeDto, EntryTypeNameExistsInput, UpdateEntryTypeInput } from './models';
|
|
2
|
-
import { RestService, Rest } from '@abp/ng.core';
|
|
3
|
-
import { Injectable } from '@angular/core';
|
|
4
|
-
|
|
5
|
-
@Injectable({
|
|
6
|
-
providedIn: 'root',
|
|
7
|
-
})
|
|
8
|
-
export class EntryTypeAdminService {
|
|
9
|
-
apiName = 'CmsAdmin';
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
create = (input: CreateEntryTypeInput, config?: Partial<Rest.Config>) =>
|
|
13
|
-
this.restService.request<any, EntryTypeDto>({
|
|
14
|
-
method: 'POST',
|
|
15
|
-
url: '/api/cms-admin/entry-types',
|
|
16
|
-
body: input,
|
|
17
|
-
},
|
|
18
|
-
{ apiName: this.apiName,...config });
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
delete = (id: string, config?: Partial<Rest.Config>) =>
|
|
22
|
-
this.restService.request<any, void>({
|
|
23
|
-
method: 'DELETE',
|
|
24
|
-
url: `/api/cms-admin/entry-types/${id}`,
|
|
25
|
-
},
|
|
26
|
-
{ apiName: this.apiName,...config });
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
get = (id: string, config?: Partial<Rest.Config>) =>
|
|
30
|
-
this.restService.request<any, EntryTypeDto>({
|
|
31
|
-
method: 'GET',
|
|
32
|
-
url: `/api/cms-admin/entry-types/${id}`,
|
|
33
|
-
},
|
|
34
|
-
{ apiName: this.apiName,...config });
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
nameExists = (input: EntryTypeNameExistsInput, config?: Partial<Rest.Config>) =>
|
|
38
|
-
this.restService.request<any, boolean>({
|
|
39
|
-
method: 'GET',
|
|
40
|
-
url: '/api/cms-admin/entry-types/name-exists',
|
|
41
|
-
params: { sectionId: input.sectionId, name: input.name },
|
|
42
|
-
},
|
|
43
|
-
{ apiName: this.apiName,...config });
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
update = (id: string, input: UpdateEntryTypeInput, config?: Partial<Rest.Config>) =>
|
|
47
|
-
this.restService.request<any, EntryTypeDto>({
|
|
48
|
-
method: 'PUT',
|
|
49
|
-
url: `/api/cms-admin/entry-types/${id}`,
|
|
50
|
-
body: input,
|
|
51
|
-
},
|
|
52
|
-
{ apiName: this.apiName,...config });
|
|
53
|
-
|
|
54
|
-
constructor(private restService: RestService) {}
|
|
55
|
-
}
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
import type { AuditedEntityDto, ExtensibleAuditedEntityDto, ExtensibleObject, PagedAndSortedResultRequestDto } from '@abp/ng.core';
|
|
2
|
-
import type { SectionType } from '../../sections/section-type.enum';
|
|
3
|
-
import type { EntryFieldTabDto } from '../../sections/models';
|
|
4
|
-
|
|
5
|
-
export interface CreateEntryTypeInput extends CreateOrUpdateEntryTypeInputBase {
|
|
6
|
-
sectionId: string;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
export interface CreateOrUpdateEntryTypeInputBase {
|
|
10
|
-
displayName: string;
|
|
11
|
-
name: string;
|
|
12
|
-
fieldTabs: EntryFieldTabInput[];
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export interface CreateOrUpdateSectionInputBase extends ExtensibleObject {
|
|
16
|
-
type: SectionType;
|
|
17
|
-
displayName: string;
|
|
18
|
-
name: string;
|
|
19
|
-
isDefault: boolean;
|
|
20
|
-
isActive: boolean;
|
|
21
|
-
route?: string;
|
|
22
|
-
template?: string;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
export interface CreateSectionInput extends CreateOrUpdateSectionInputBase {
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
export interface EntryFieldInput {
|
|
29
|
-
fieldId: string;
|
|
30
|
-
displayName: string;
|
|
31
|
-
required: boolean;
|
|
32
|
-
showOnList: boolean;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
export interface EntryFieldTabInput {
|
|
36
|
-
name: string;
|
|
37
|
-
fields: EntryFieldInput[];
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
export interface EntryTypeDto extends AuditedEntityDto<string> {
|
|
41
|
-
displayName?: string;
|
|
42
|
-
name?: string;
|
|
43
|
-
fieldTabs: EntryFieldTabDto[];
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
export interface EntryTypeNameExistsInput {
|
|
47
|
-
sectionId: string;
|
|
48
|
-
name: string;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
export interface GetSectionsInput extends PagedAndSortedResultRequestDto {
|
|
52
|
-
filter?: string;
|
|
53
|
-
isActive?: boolean;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
export interface SectionDto extends ExtensibleAuditedEntityDto<string> {
|
|
57
|
-
type: SectionType;
|
|
58
|
-
displayName?: string;
|
|
59
|
-
name?: string;
|
|
60
|
-
isDefault: boolean;
|
|
61
|
-
isActive: boolean;
|
|
62
|
-
route?: string;
|
|
63
|
-
template?: string;
|
|
64
|
-
concurrencyStamp?: string;
|
|
65
|
-
entryTypes: EntryTypeDto[];
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
export interface SectionNameExistsInput {
|
|
69
|
-
name: string;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
export interface SectionRouteExistsInput {
|
|
73
|
-
route: string;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
export interface UpdateEntryTypeInput extends CreateOrUpdateEntryTypeInputBase {
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
export interface UpdateSectionInput extends CreateOrUpdateSectionInputBase {
|
|
80
|
-
concurrencyStamp?: string;
|
|
81
|
-
}
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import type { CreateSectionInput, GetSectionsInput, SectionDto, SectionNameExistsInput, SectionRouteExistsInput, UpdateSectionInput } from './models';
|
|
2
|
-
import { RestService, Rest } from '@abp/ng.core';
|
|
3
|
-
import type { PagedResultDto } from '@abp/ng.core';
|
|
4
|
-
import { Injectable } from '@angular/core';
|
|
5
|
-
|
|
6
|
-
@Injectable({
|
|
7
|
-
providedIn: 'root',
|
|
8
|
-
})
|
|
9
|
-
export class SectionAdminService {
|
|
10
|
-
apiName = 'CmsAdmin';
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
create = (input: CreateSectionInput, config?: Partial<Rest.Config>) =>
|
|
14
|
-
this.restService.request<any, SectionDto>({
|
|
15
|
-
method: 'POST',
|
|
16
|
-
url: '/api/cms-admin/sections',
|
|
17
|
-
body: input,
|
|
18
|
-
},
|
|
19
|
-
{ apiName: this.apiName,...config });
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
delete = (id: string, config?: Partial<Rest.Config>) =>
|
|
23
|
-
this.restService.request<any, void>({
|
|
24
|
-
method: 'DELETE',
|
|
25
|
-
url: `/api/cms-admin/sections/${id}`,
|
|
26
|
-
},
|
|
27
|
-
{ apiName: this.apiName,...config });
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
get = (id: string, config?: Partial<Rest.Config>) =>
|
|
31
|
-
this.restService.request<any, SectionDto>({
|
|
32
|
-
method: 'GET',
|
|
33
|
-
url: `/api/cms-admin/sections/${id}`,
|
|
34
|
-
},
|
|
35
|
-
{ apiName: this.apiName,...config });
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
getList = (input: GetSectionsInput, config?: Partial<Rest.Config>) =>
|
|
39
|
-
this.restService.request<any, PagedResultDto<SectionDto>>({
|
|
40
|
-
method: 'GET',
|
|
41
|
-
url: '/api/cms-admin/sections',
|
|
42
|
-
params: { filter: input.filter, isActive: input.isActive, sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },
|
|
43
|
-
},
|
|
44
|
-
{ apiName: this.apiName,...config });
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
nameExists = (input: SectionNameExistsInput, config?: Partial<Rest.Config>) =>
|
|
48
|
-
this.restService.request<any, boolean>({
|
|
49
|
-
method: 'GET',
|
|
50
|
-
url: '/api/cms-admin/sections/name-exists',
|
|
51
|
-
params: { name: input.name },
|
|
52
|
-
},
|
|
53
|
-
{ apiName: this.apiName,...config });
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
routeExists = (input: SectionRouteExistsInput, config?: Partial<Rest.Config>) =>
|
|
57
|
-
this.restService.request<any, boolean>({
|
|
58
|
-
method: 'GET',
|
|
59
|
-
url: '/api/cms-admin/sections/route-exists',
|
|
60
|
-
params: { route: input.route },
|
|
61
|
-
},
|
|
62
|
-
{ apiName: this.apiName,...config });
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
update = (id: string, input: UpdateSectionInput, config?: Partial<Rest.Config>) =>
|
|
66
|
-
this.restService.request<any, SectionDto>({
|
|
67
|
-
method: 'PUT',
|
|
68
|
-
url: `/api/cms-admin/sections/${id}`,
|
|
69
|
-
body: input,
|
|
70
|
-
},
|
|
71
|
-
{ apiName: this.apiName,...config });
|
|
72
|
-
|
|
73
|
-
constructor(private restService: RestService) {}
|
|
74
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import type { UpdateSiteInput } from './models';
|
|
2
|
-
import { RestService, Rest } from '@abp/ng.core';
|
|
3
|
-
import { Injectable } from '@angular/core';
|
|
4
|
-
import type { SiteDto } from '../../sites/models';
|
|
5
|
-
|
|
6
|
-
@Injectable({
|
|
7
|
-
providedIn: 'root',
|
|
8
|
-
})
|
|
9
|
-
export class SiteAdminService {
|
|
10
|
-
apiName = 'CmsAdmin';
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
get = (config?: Partial<Rest.Config>) =>
|
|
14
|
-
this.restService.request<any, SiteDto>({
|
|
15
|
-
method: 'GET',
|
|
16
|
-
url: '/api/cms-admin/sites',
|
|
17
|
-
},
|
|
18
|
-
{ apiName: this.apiName,...config });
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
update = (input: UpdateSiteInput, config?: Partial<Rest.Config>) =>
|
|
22
|
-
this.restService.request<any, void>({
|
|
23
|
-
method: 'PUT',
|
|
24
|
-
url: '/api/cms-admin/sites',
|
|
25
|
-
body: input,
|
|
26
|
-
},
|
|
27
|
-
{ apiName: this.apiName,...config });
|
|
28
|
-
|
|
29
|
-
constructor(private restService: RestService) {}
|
|
30
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './models';
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { FieldDto } from '../fields/models';
|
|
2
|
-
|
|
3
|
-
export interface EntryFieldDto {
|
|
4
|
-
fieldId?: string;
|
|
5
|
-
field: FieldDto;
|
|
6
|
-
displayName?: string;
|
|
7
|
-
required: boolean;
|
|
8
|
-
showOnList: boolean;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export interface EntryFieldTabDto {
|
|
12
|
-
name?: string;
|
|
13
|
-
fields: EntryFieldDto[];
|
|
14
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './models';
|