@dignite-ng/expand.cms 0.0.51 → 0.0.52
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/ng-package.json +6 -0
- package/config/src/cms-config.module.ts +12 -0
- package/config/src/components/domains/domains.component.html +17 -0
- package/config/src/components/domains/domains.component.scss +0 -0
- package/config/src/components/domains/domains.component.spec.ts +21 -0
- package/config/src/components/domains/domains.component.ts +109 -0
- package/config/src/components/site-language/site-language.component.html +31 -0
- package/config/src/components/site-language/site-language.component.scss +0 -0
- package/config/src/components/site-language/site-language.component.spec.ts +21 -0
- package/config/src/components/site-language/site-language.component.ts +117 -0
- package/config/{enums/index.d.ts → src/enums/index.ts} +1 -1
- package/config/src/enums/route-names.ts +8 -0
- package/config/{providers/index.d.ts → src/providers/index.ts} +1 -1
- package/config/src/providers/route.provider.ts +82 -0
- package/config/src/proxy/admin/domains/domain-admin.service.ts +38 -0
- package/config/{proxy/admin/domains/models.d.ts → src/proxy/admin/domains/models.ts} +9 -7
- package/config/src/proxy/dignite/abp/data/index.ts +1 -0
- package/config/src/proxy/dignite/abp/data/models.ts +4 -0
- package/config/src/proxy/dignite/abp/index.ts +2 -0
- package/config/src/proxy/dignite/cms/admin/domains/domain-admin.service.ts +47 -0
- package/config/src/proxy/dignite/cms/admin/domains/index.ts +2 -0
- package/config/src/proxy/dignite/cms/admin/domains/models.ts +9 -0
- package/config/src/proxy/dignite/cms/admin/dynamic-forms/form-admin.service.ts +21 -0
- package/config/src/proxy/dignite/cms/admin/dynamic-forms/models.ts +5 -0
- package/config/src/proxy/dignite/cms/admin/entries/entry-admin.service.ts +109 -0
- package/config/src/proxy/dignite/cms/admin/entries/models.ts +68 -0
- package/config/src/proxy/dignite/cms/admin/fields/field-admin.service.ts +64 -0
- package/config/src/proxy/dignite/cms/admin/fields/field-group-admin.service.ts +56 -0
- package/config/src/proxy/dignite/cms/admin/fields/models.ts +42 -0
- package/config/src/proxy/dignite/cms/admin/index.ts +7 -0
- package/config/src/proxy/dignite/cms/admin/sections/entry-type-admin.service.ts +55 -0
- package/{lib/proxy/admin/sections/models.d.ts → config/src/proxy/dignite/cms/admin/sections/models.ts} +81 -67
- package/config/src/proxy/dignite/cms/admin/sections/section-admin.service.ts +74 -0
- package/config/src/proxy/dignite/cms/admin/sites/models.ts +5 -0
- package/config/src/proxy/dignite/cms/admin/sites/site-admin.service.ts +30 -0
- package/config/src/proxy/dignite/cms/entries/entry-status.enum.ts +8 -0
- package/config/src/proxy/dignite/cms/fields/index.ts +1 -0
- package/config/src/proxy/dignite/cms/fields/models.ts +9 -0
- package/config/src/proxy/dignite/cms/index.ts +6 -0
- package/config/src/proxy/dignite/cms/sections/models.ts +14 -0
- package/config/src/proxy/dignite/cms/sections/section-type.enum.ts +9 -0
- package/config/src/proxy/dignite/cms/sites/index.ts +1 -0
- package/config/src/proxy/dignite/cms/sites/models.ts +5 -0
- package/config/src/proxy/dignite/cms-kit/admin/brand/brand-admin.service.ts +21 -0
- package/config/src/proxy/dignite/cms-kit/admin/brand/index.ts +2 -0
- package/config/src/proxy/dignite/cms-kit/admin/brand/models.ts +7 -0
- package/config/src/proxy/dignite/cms-kit/admin/index.ts +2 -0
- package/config/src/proxy/dignite/cms-kit/brand/brand.service.ts +20 -0
- package/config/src/proxy/dignite/cms-kit/brand/index.ts +2 -0
- package/config/src/proxy/dignite/cms-kit/brand/models.ts +7 -0
- package/config/src/proxy/dignite/cms-kit/index.ts +3 -0
- package/config/src/proxy/dignite/file-explorer/directories/file-descriptor.service.ts +65 -0
- package/config/src/proxy/dignite/file-explorer/directories/index.ts +2 -0
- package/config/src/proxy/dignite/file-explorer/directories/models.ts +35 -0
- package/config/src/proxy/dignite/file-explorer/files/file-descriptor.service.ts +101 -0
- package/config/src/proxy/dignite/file-explorer/files/index.ts +2 -0
- package/config/src/proxy/dignite/file-explorer/files/models.ts +61 -0
- package/config/src/proxy/dignite/file-explorer/index.ts +3 -0
- package/config/src/proxy/dignite/index.ts +6 -0
- package/config/src/proxy/dignite/travely/areas/index.ts +1 -0
- package/config/src/proxy/dignite/travely/areas/models.ts +5 -0
- package/config/src/proxy/dignite/travely/common/index.ts +1 -0
- package/config/src/proxy/dignite/travely/common/models.ts +5 -0
- package/config/src/proxy/dignite/travely/entity-snapshots/index.ts +1 -0
- package/config/src/proxy/dignite/travely/entity-snapshots/models.ts +7 -0
- package/config/src/proxy/dignite/travely/guides/index.ts +1 -0
- package/config/src/proxy/dignite/travely/guides/models.ts +26 -0
- package/config/src/proxy/dignite/travely/index.ts +9 -0
- package/config/src/proxy/dignite/travely/merchants/index.ts +1 -0
- package/config/src/proxy/dignite/travely/merchants/models.ts +9 -0
- package/config/src/proxy/dignite/travely/orders/index.ts +1 -0
- package/config/src/proxy/dignite/travely/orders/models.ts +52 -0
- package/config/src/proxy/dignite/travely/payment/index.ts +1 -0
- package/config/src/proxy/dignite/travely/payment/models.ts +9 -0
- package/config/src/proxy/dignite/travely/tours/booking-time-type.enum.ts +9 -0
- package/config/src/proxy/dignite/travely/tours/index.ts +5 -0
- package/config/src/proxy/dignite/travely/tours/models.ts +77 -0
- package/config/src/proxy/dignite/travely/tours/period-type.enum.ts +9 -0
- package/config/src/proxy/dignite/travely/tours/tour-recommendation-rank.enum.ts +12 -0
- package/config/src/proxy/dignite/travely/tours/tourist-type.enum.ts +8 -0
- package/config/src/proxy/microsoft/asp-net-core/index.ts +2 -0
- package/config/src/proxy/microsoft/asp-net-core/mvc/index.ts +1 -0
- package/config/src/proxy/microsoft/asp-net-core/mvc/models.ts +12 -0
- package/config/src/proxy/microsoft/extensions/index.ts +2 -0
- package/config/src/proxy/microsoft/extensions/primitives/index.ts +1 -0
- package/config/src/proxy/microsoft/extensions/primitives/models.ts +9 -0
- package/config/src/proxy/microsoft/index.ts +4 -0
- package/config/src/proxy/microsoft/net/http/headers/index.ts +1 -0
- package/config/src/proxy/microsoft/net/http/headers/models.ts +7 -0
- package/config/src/proxy/microsoft/net/http/index.ts +2 -0
- package/config/src/proxy/microsoft/net/index.ts +2 -0
- package/config/{public-api.d.ts → src/public-api.ts} +3 -3
- package/config/src/services/validators.service.ts +80 -0
- package/ng-package.json +10 -0
- package/package.json +7 -22
- package/src/lib/cms-routing.module.ts +102 -0
- package/src/lib/cms.module.ts +109 -0
- package/src/lib/components/admin/entries/create-or-edit-entries.component.html +137 -0
- package/src/lib/components/admin/entries/create-or-edit-entries.component.scss +1 -0
- package/src/lib/components/admin/entries/create-or-edit-entries.component.spec.ts +21 -0
- package/src/lib/components/admin/entries/create-or-edit-entries.component.ts +318 -0
- package/src/lib/components/admin/entries/create-or-update-entry-input-base.ts +33 -0
- package/src/lib/components/admin/entries/create.component.html +13 -0
- package/src/lib/components/admin/entries/create.component.scss +1 -0
- package/src/lib/components/admin/entries/create.component.spec.ts +21 -0
- package/src/lib/components/admin/entries/create.component.ts +110 -0
- package/src/lib/components/admin/entries/edit.component.html +9 -0
- package/src/lib/components/admin/entries/edit.component.scss +1 -0
- package/src/lib/components/admin/entries/edit.component.spec.ts +21 -0
- package/src/lib/components/admin/entries/edit.component.ts +111 -0
- package/src/lib/components/admin/entries/entries.component.html +112 -0
- package/src/lib/components/admin/entries/entries.component.scss +1 -0
- package/src/lib/components/admin/entries/entries.component.spec.ts +21 -0
- package/src/lib/components/admin/entries/entries.component.ts +216 -0
- package/src/lib/components/admin/entries/index.ts +4 -0
- package/src/lib/components/admin/fields/create-field.component.html +12 -0
- package/src/lib/components/admin/fields/create-field.component.scss +1 -0
- package/src/lib/components/admin/fields/create-field.component.spec.ts +21 -0
- package/src/lib/components/admin/fields/create-field.component.ts +82 -0
- package/src/lib/components/admin/fields/create-or-edit-field.component.html +40 -0
- 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 +21 -0
- package/src/lib/components/admin/fields/create-or-edit-field.component.ts +121 -0
- package/src/lib/components/admin/fields/create-or-update-field-input-base.ts +33 -0
- package/src/lib/components/admin/fields/edit-field.component.html +16 -0
- package/src/lib/components/admin/fields/edit-field.component.scss +0 -0
- package/src/lib/components/admin/fields/edit-field.component.spec.ts +21 -0
- package/src/lib/components/admin/fields/edit-field.component.ts +101 -0
- package/src/lib/components/admin/fields/field-group.component.html +69 -0
- package/src/lib/components/admin/fields/field-group.component.scss +0 -0
- package/src/lib/components/admin/fields/field-group.component.spec.ts +21 -0
- package/src/lib/components/admin/fields/field-group.component.ts +151 -0
- package/src/lib/components/admin/fields/fields.component.html +74 -0
- package/src/lib/components/admin/fields/fields.component.scss +1 -0
- package/src/lib/components/admin/fields/fields.component.spec.ts +21 -0
- package/src/lib/components/admin/fields/fields.component.ts +109 -0
- package/src/lib/components/admin/fields/index.ts +6 -0
- package/src/lib/components/admin/index.ts +3 -0
- package/src/lib/components/admin/sections/create-or-update-sections-input-base.ts +32 -0
- package/src/lib/components/admin/sections/entry-types/create-or-edit.-entry-type-input-base.ts +79 -0
- package/src/lib/components/admin/sections/entry-types/create-or-edit.component.html +187 -0
- package/src/lib/components/admin/sections/entry-types/create-or-edit.component.scss +1 -0
- package/src/lib/components/admin/sections/entry-types/create-or-edit.component.spec.ts +21 -0
- package/src/lib/components/admin/sections/entry-types/create-or-edit.component.ts +424 -0
- package/src/lib/components/admin/sections/entry-types/index.ts +2 -0
- package/src/lib/components/admin/sections/index.ts +3 -0
- package/src/lib/components/admin/sections/sections.component.html +188 -0
- package/src/lib/components/admin/sections/sections.component.scss +1 -0
- package/src/lib/components/admin/sections/sections.component.spec.ts +21 -0
- package/src/lib/components/admin/sections/sections.component.ts +302 -0
- package/src/lib/components/dynamic-form/entry/entry-config.component.html +36 -0
- package/src/lib/components/dynamic-form/entry/entry-config.component.scss +27 -0
- package/src/lib/components/dynamic-form/entry/entry-config.component.spec.ts +21 -0
- package/src/lib/components/dynamic-form/entry/entry-config.component.ts +114 -0
- package/src/lib/components/dynamic-form/entry/entry-config.ts +24 -0
- package/src/lib/components/dynamic-form/entry/entry-control.component.html +26 -0
- package/src/lib/components/dynamic-form/entry/entry-control.component.scss +1 -0
- package/src/lib/components/dynamic-form/entry/entry-control.component.spec.ts +21 -0
- package/src/lib/components/dynamic-form/entry/entry-control.component.ts +111 -0
- package/src/lib/components/dynamic-form/entry/index.ts +3 -0
- package/src/lib/components/dynamic-form/form-control-group.ts +27 -0
- package/src/lib/components/dynamic-form/index.ts +4 -0
- package/src/lib/components/dynamic-form/matrix/index.ts +3 -0
- package/src/lib/components/dynamic-form/matrix/matrix-config.component.html +148 -0
- 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 +21 -0
- package/src/lib/components/dynamic-form/matrix/matrix-config.component.ts +239 -0
- package/src/lib/components/dynamic-form/matrix/matrix-config.ts +63 -0
- package/src/lib/components/dynamic-form/matrix/matrix-control.component.html +42 -0
- 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 +21 -0
- package/src/lib/components/dynamic-form/matrix/matrix-control.component.ts +106 -0
- package/src/lib/components/dynamic-form/table/index.ts +3 -0
- package/src/lib/components/dynamic-form/table/table-config.component.html +85 -0
- package/src/lib/components/dynamic-form/table/table-config.component.scss +10 -0
- package/src/lib/components/dynamic-form/table/table-config.component.spec.ts +21 -0
- package/src/lib/components/dynamic-form/table/table-config.component.ts +170 -0
- package/src/lib/components/dynamic-form/table/table-config.ts +45 -0
- package/src/lib/components/dynamic-form/table/table-control.component.html +54 -0
- package/src/lib/components/dynamic-form/table/table-control.component.scss +1 -0
- package/src/lib/components/dynamic-form/table/table-control.component.spec.ts +21 -0
- package/src/lib/components/dynamic-form/table/table-control.component.ts +114 -0
- package/src/lib/components/index.ts +2 -0
- package/src/lib/constants/index.ts +1 -0
- package/src/lib/constants/styles.ts +20 -0
- package/src/lib/enums/ecms-component.ts +11 -0
- package/src/lib/enums/index.ts +1 -0
- package/src/lib/proxy/README.md +17 -0
- package/src/lib/proxy/admin/domains/domain-admin.service.ts +38 -0
- package/src/lib/proxy/admin/domains/index.ts +2 -0
- package/src/lib/proxy/admin/domains/models.ts +9 -0
- package/src/lib/proxy/admin/dynamic-forms/form-admin.service.ts +21 -0
- package/src/lib/proxy/admin/dynamic-forms/index.ts +2 -0
- package/src/lib/proxy/admin/dynamic-forms/models.ts +5 -0
- package/src/lib/proxy/admin/entries/entry-admin.service.ts +109 -0
- package/src/lib/proxy/admin/entries/index.ts +2 -0
- package/src/lib/proxy/admin/entries/models.ts +68 -0
- package/src/lib/proxy/admin/fields/field-admin.service.ts +64 -0
- package/src/lib/proxy/admin/fields/field-group-admin.service.ts +56 -0
- package/src/lib/proxy/admin/fields/index.ts +3 -0
- package/{lib/proxy/admin/fields/models.d.ts → src/lib/proxy/admin/fields/models.ts} +42 -34
- package/src/lib/proxy/admin/index.ts +7 -0
- package/src/lib/proxy/admin/sections/entry-type-admin.service.ts +55 -0
- package/src/lib/proxy/admin/sections/index.ts +3 -0
- package/src/lib/proxy/admin/sections/models.ts +81 -0
- package/src/lib/proxy/admin/sections/section-admin.service.ts +74 -0
- package/src/lib/proxy/admin/settings/site-settings-admin.service.ts +37 -0
- package/src/lib/proxy/dignite/abp/data/index.ts +1 -0
- package/src/lib/proxy/dignite/abp/data/models.ts +4 -0
- package/src/lib/proxy/dignite/abp/index.ts +2 -0
- package/src/lib/proxy/dignite/file-explorer/directories/file-descriptor.service.ts +65 -0
- package/src/lib/proxy/dignite/file-explorer/directories/index.ts +2 -0
- package/src/lib/proxy/dignite/file-explorer/directories/models.ts +35 -0
- package/src/lib/proxy/dignite/file-explorer/files/file-descriptor.service.ts +86 -0
- package/src/lib/proxy/dignite/file-explorer/files/index.ts +2 -0
- package/src/lib/proxy/dignite/file-explorer/files/models.ts +58 -0
- package/src/lib/proxy/dignite/file-explorer/index.ts +3 -0
- package/src/lib/proxy/dignite/index.ts +3 -0
- package/src/lib/proxy/entries/entry-status.enum.ts +8 -0
- package/src/lib/proxy/entries/index.ts +1 -0
- package/src/lib/proxy/fields/index.ts +1 -0
- package/src/lib/proxy/fields/models.ts +9 -0
- package/src/lib/proxy/generate-proxy.json +11425 -0
- package/src/lib/proxy/index.ts +9 -0
- package/src/lib/proxy/microsoft/asp-net-core/index.ts +2 -0
- package/src/lib/proxy/microsoft/asp-net-core/mvc/index.ts +1 -0
- package/src/lib/proxy/microsoft/asp-net-core/mvc/models.ts +12 -0
- package/src/lib/proxy/microsoft/extensions/index.ts +2 -0
- package/src/lib/proxy/microsoft/extensions/primitives/index.ts +1 -0
- package/src/lib/proxy/microsoft/extensions/primitives/models.ts +9 -0
- package/src/lib/proxy/microsoft/index.ts +4 -0
- package/src/lib/proxy/microsoft/net/http/headers/index.ts +1 -0
- package/src/lib/proxy/microsoft/net/http/headers/models.ts +7 -0
- package/src/lib/proxy/microsoft/net/http/index.ts +2 -0
- package/src/lib/proxy/microsoft/net/index.ts +2 -0
- package/src/lib/proxy/sections/index.ts +2 -0
- package/src/lib/proxy/sections/models.ts +14 -0
- package/src/lib/proxy/sections/section-type.enum.ts +9 -0
- package/src/lib/proxy/settings/index.ts +1 -0
- package/src/lib/proxy/settings/models.ts +6 -0
- package/src/lib/proxy/volo/abp/content/index.ts +1 -0
- package/src/lib/proxy/volo/abp/content/models.ts +6 -0
- package/src/lib/proxy/volo/abp/index.ts +2 -0
- package/src/lib/proxy/volo/cms-kit/index.ts +2 -0
- package/src/lib/proxy/volo/cms-kit/users/index.ts +1 -0
- package/{lib/proxy/volo/cms-kit/users/models.d.ts → src/lib/proxy/volo/cms-kit/users/models.ts} +8 -7
- package/src/lib/proxy/volo/index.ts +3 -0
- package/src/lib/resolvers/extensions-props-action-token.resolver.ts +178 -0
- package/src/lib/resolvers/page-default-toolbar-actions.ts +170 -0
- package/src/lib/resolvers/table-default-entity-actions.ts +24 -0
- package/src/lib/resolvers/table-default-entity-props.ts +36 -0
- package/src/lib/services/appent-content.ts +13 -0
- package/src/lib/services/cms-api.service.ts +71 -0
- package/src/lib/services/cms.service.ts +18 -0
- package/src/lib/services/field-abstracts.service.ts +40 -0
- package/src/lib/services/index.ts +4 -0
- package/src/lib/services/simple-reuse-strategy.ts +74 -0
- package/src/lib/services/update-list.service.ts +15 -0
- package/src/lib/services/validators.service.ts +82 -0
- package/{public-api.d.ts → src/public-api.ts} +6 -2
- package/src/test.ts +26 -0
- package/tsconfig.lib.json +16 -0
- package/tsconfig.lib.prod.json +10 -0
- package/tsconfig.spec.json +17 -0
- package/config/cms-config.module.d.ts +0 -8
- package/config/components/domains/domains.component.d.ts +0 -29
- package/config/components/site-language/site-language.component.d.ts +0 -29
- package/config/enums/route-names.d.ts +0 -8
- package/config/index.d.ts +0 -5
- package/config/providers/route.provider.d.ts +0 -9
- package/config/proxy/admin/domains/domain-admin.service.d.ts +0 -13
- package/config/proxy/dignite/cms/admin/sites/models.d.ts +0 -4
- package/config/proxy/dignite/cms/admin/sites/site-admin.service.d.ts +0 -13
- package/config/proxy/dignite/cms/sites/models.d.ts +0 -4
- package/config/services/validators.service.d.ts +0 -16
- package/esm2022/config/cms-config.module.mjs +0 -18
- package/esm2022/config/components/domains/domains.component.mjs +0 -102
- package/esm2022/config/components/site-language/site-language.component.mjs +0 -108
- package/esm2022/config/dignite-ng-expand.cms-config.mjs +0 -5
- package/esm2022/config/enums/index.mjs +0 -2
- package/esm2022/config/enums/route-names.mjs +0 -10
- package/esm2022/config/providers/index.mjs +0 -2
- package/esm2022/config/providers/route.provider.mjs +0 -74
- package/esm2022/config/proxy/admin/domains/domain-admin.service.mjs +0 -32
- package/esm2022/config/proxy/admin/domains/index.mjs +0 -3
- package/esm2022/config/proxy/admin/domains/models.mjs +0 -2
- package/esm2022/config/proxy/dignite/cms/admin/sites/index.mjs +0 -3
- package/esm2022/config/proxy/dignite/cms/admin/sites/models.mjs +0 -2
- package/esm2022/config/proxy/dignite/cms/admin/sites/site-admin.service.mjs +0 -27
- package/esm2022/config/proxy/dignite/cms/sites/models.mjs +0 -2
- package/esm2022/config/public-api.mjs +0 -4
- package/esm2022/config/services/validators.service.mjs +0 -83
- package/esm2022/dignite-ng-expand.cms.mjs +0 -5
- package/esm2022/lib/cms-routing.module.mjs +0 -94
- package/esm2022/lib/cms.module.mjs +0 -130
- package/esm2022/lib/components/admin/entries/create-or-edit-entries.component.mjs +0 -303
- package/esm2022/lib/components/admin/entries/create-or-update-entry-input-base.mjs +0 -32
- package/esm2022/lib/components/admin/entries/create.component.mjs +0 -108
- package/esm2022/lib/components/admin/entries/edit.component.mjs +0 -109
- package/esm2022/lib/components/admin/entries/entries.component.mjs +0 -198
- package/esm2022/lib/components/admin/entries/index.mjs +0 -5
- package/esm2022/lib/components/admin/fields/create-field.component.mjs +0 -80
- package/esm2022/lib/components/admin/fields/create-or-edit-field.component.mjs +0 -112
- package/esm2022/lib/components/admin/fields/create-or-update-field-input-base.mjs +0 -25
- package/esm2022/lib/components/admin/fields/edit-field.component.mjs +0 -103
- package/esm2022/lib/components/admin/fields/field-group.component.mjs +0 -131
- package/esm2022/lib/components/admin/fields/fields.component.mjs +0 -109
- package/esm2022/lib/components/admin/fields/index.mjs +0 -7
- package/esm2022/lib/components/admin/index.mjs +0 -4
- package/esm2022/lib/components/admin/sections/create-or-update-sections-input-base.mjs +0 -27
- package/esm2022/lib/components/admin/sections/entry-types/create-or-edit.-entry-type-input-base.mjs +0 -71
- package/esm2022/lib/components/admin/sections/entry-types/create-or-edit.component.mjs +0 -389
- package/esm2022/lib/components/admin/sections/entry-types/index.mjs +0 -3
- package/esm2022/lib/components/admin/sections/index.mjs +0 -4
- package/esm2022/lib/components/admin/sections/sections.component.mjs +0 -292
- package/esm2022/lib/components/dynamic-form/entry/entry-config.component.mjs +0 -112
- package/esm2022/lib/components/dynamic-form/entry/entry-config.mjs +0 -18
- package/esm2022/lib/components/dynamic-form/entry/entry-control.component.mjs +0 -105
- package/esm2022/lib/components/dynamic-form/entry/index.mjs +0 -4
- package/esm2022/lib/components/dynamic-form/form-control-group.mjs +0 -28
- package/esm2022/lib/components/dynamic-form/index.mjs +0 -5
- package/esm2022/lib/components/dynamic-form/matrix/index.mjs +0 -4
- package/esm2022/lib/components/dynamic-form/matrix/matrix-config.component.mjs +0 -214
- package/esm2022/lib/components/dynamic-form/matrix/matrix-config.mjs +0 -50
- package/esm2022/lib/components/dynamic-form/matrix/matrix-control.component.mjs +0 -98
- package/esm2022/lib/components/dynamic-form/table/index.mjs +0 -4
- package/esm2022/lib/components/dynamic-form/table/table-config.component.mjs +0 -151
- package/esm2022/lib/components/dynamic-form/table/table-config.mjs +0 -38
- package/esm2022/lib/components/dynamic-form/table/table-control.component.mjs +0 -105
- package/esm2022/lib/components/index.mjs +0 -3
- package/esm2022/lib/constants/styles.mjs +0 -21
- package/esm2022/lib/enums/ecms-component.mjs +0 -13
- package/esm2022/lib/enums/index.mjs +0 -2
- package/esm2022/lib/proxy/admin/dynamic-forms/form-admin.service.mjs +0 -22
- package/esm2022/lib/proxy/admin/dynamic-forms/index.mjs +0 -3
- package/esm2022/lib/proxy/admin/dynamic-forms/models.mjs +0 -2
- package/esm2022/lib/proxy/admin/entries/entry-admin.service.mjs +0 -70
- package/esm2022/lib/proxy/admin/entries/index.mjs +0 -3
- package/esm2022/lib/proxy/admin/entries/models.mjs +0 -2
- package/esm2022/lib/proxy/admin/fields/field-admin.service.mjs +0 -45
- package/esm2022/lib/proxy/admin/fields/field-group-admin.service.mjs +0 -41
- package/esm2022/lib/proxy/admin/fields/index.mjs +0 -4
- package/esm2022/lib/proxy/admin/fields/models.mjs +0 -2
- package/esm2022/lib/proxy/admin/sections/entry-type-admin.service.mjs +0 -41
- package/esm2022/lib/proxy/admin/sections/index.mjs +0 -4
- package/esm2022/lib/proxy/admin/sections/models.mjs +0 -2
- package/esm2022/lib/proxy/admin/sections/section-admin.service.mjs +0 -51
- package/esm2022/lib/proxy/admin/settings/index.mjs +0 -2
- package/esm2022/lib/proxy/admin/settings/site-settings-admin.service.mjs +0 -31
- package/esm2022/lib/proxy/dignite/abp/data/models.mjs +0 -2
- package/esm2022/lib/proxy/entries/entry-status.enum.mjs +0 -8
- package/esm2022/lib/proxy/entries/index.mjs +0 -2
- package/esm2022/lib/proxy/fields/models.mjs +0 -2
- package/esm2022/lib/proxy/sections/index.mjs +0 -3
- package/esm2022/lib/proxy/sections/models.mjs +0 -2
- package/esm2022/lib/proxy/sections/section-type.enum.mjs +0 -9
- package/esm2022/lib/proxy/settings/models.mjs +0 -2
- package/esm2022/lib/proxy/volo/cms-kit/users/models.mjs +0 -2
- package/esm2022/lib/resolvers/extensions-props-action-token.resolver.mjs +0 -132
- package/esm2022/lib/resolvers/page-default-toolbar-actions.mjs +0 -160
- package/esm2022/lib/services/appent-content.mjs +0 -15
- package/esm2022/lib/services/cms-api.service.mjs +0 -78
- package/esm2022/lib/services/cms.service.mjs +0 -21
- package/esm2022/lib/services/field-abstracts.service.mjs +0 -42
- package/esm2022/lib/services/index.mjs +0 -5
- package/esm2022/lib/services/simple-reuse-strategy.mjs +0 -64
- package/esm2022/lib/services/update-list.service.mjs +0 -19
- package/esm2022/lib/services/validators.service.mjs +0 -85
- package/esm2022/public-api.mjs +0 -6
- package/fesm2022/dignite-ng-expand.cms-config.mjs +0 -428
- package/fesm2022/dignite-ng-expand.cms-config.mjs.map +0 -1
- package/fesm2022/dignite-ng-expand.cms.mjs +0 -3913
- package/fesm2022/dignite-ng-expand.cms.mjs.map +0 -1
- package/index.d.ts +0 -5
- package/lib/cms-routing.module.d.ts +0 -7
- package/lib/cms.module.d.ts +0 -34
- package/lib/components/admin/entries/create-or-edit-entries.component.d.ts +0 -96
- package/lib/components/admin/entries/create-or-update-entry-input-base.d.ts +0 -23
- package/lib/components/admin/entries/create.component.d.ts +0 -47
- package/lib/components/admin/entries/edit.component.d.ts +0 -47
- package/lib/components/admin/entries/entries.component.d.ts +0 -66
- package/lib/components/admin/entries/index.d.ts +0 -4
- package/lib/components/admin/fields/create-field.component.d.ts +0 -37
- package/lib/components/admin/fields/create-or-edit-field.component.d.ts +0 -38
- package/lib/components/admin/fields/create-or-update-field-input-base.d.ts +0 -16
- package/lib/components/admin/fields/edit-field.component.d.ts +0 -46
- package/lib/components/admin/fields/field-group.component.d.ts +0 -58
- package/lib/components/admin/fields/fields.component.d.ts +0 -35
- package/lib/components/admin/fields/index.d.ts +0 -6
- package/lib/components/admin/index.d.ts +0 -3
- package/lib/components/admin/sections/create-or-update-sections-input-base.d.ts +0 -17
- package/lib/components/admin/sections/entry-types/create-or-edit.-entry-type-input-base.d.ts +0 -38
- package/lib/components/admin/sections/entry-types/create-or-edit.component.d.ts +0 -138
- package/lib/components/admin/sections/entry-types/index.d.ts +0 -2
- package/lib/components/admin/sections/index.d.ts +0 -3
- package/lib/components/admin/sections/sections.component.d.ts +0 -64
- package/lib/components/dynamic-form/entry/entry-config.component.d.ts +0 -39
- package/lib/components/dynamic-form/entry/entry-config.d.ts +0 -9
- package/lib/components/dynamic-form/entry/entry-control.component.d.ts +0 -35
- package/lib/components/dynamic-form/entry/index.d.ts +0 -3
- package/lib/components/dynamic-form/form-control-group.d.ts +0 -4
- package/lib/components/dynamic-form/index.d.ts +0 -4
- package/lib/components/dynamic-form/matrix/index.d.ts +0 -3
- package/lib/components/dynamic-form/matrix/matrix-config.component.d.ts +0 -73
- package/lib/components/dynamic-form/matrix/matrix-config.d.ts +0 -24
- package/lib/components/dynamic-form/matrix/matrix-control.component.d.ts +0 -39
- package/lib/components/dynamic-form/table/index.d.ts +0 -3
- package/lib/components/dynamic-form/table/table-config.component.d.ts +0 -58
- package/lib/components/dynamic-form/table/table-config.d.ts +0 -18
- package/lib/components/dynamic-form/table/table-control.component.d.ts +0 -39
- package/lib/components/index.d.ts +0 -2
- package/lib/constants/styles.d.ts +0 -2
- package/lib/enums/ecms-component.d.ts +0 -11
- package/lib/enums/index.d.ts +0 -1
- package/lib/proxy/admin/dynamic-forms/form-admin.service.d.ts +0 -12
- package/lib/proxy/admin/dynamic-forms/models.d.ts +0 -4
- package/lib/proxy/admin/entries/entry-admin.service.d.ts +0 -22
- package/lib/proxy/admin/entries/models.d.ts +0 -60
- package/lib/proxy/admin/fields/field-admin.service.d.ts +0 -17
- package/lib/proxy/admin/fields/field-group-admin.service.d.ts +0 -16
- package/lib/proxy/admin/sections/entry-type-admin.service.d.ts +0 -15
- package/lib/proxy/admin/sections/section-admin.service.d.ts +0 -18
- package/lib/proxy/admin/settings/site-settings-admin.service.d.ts +0 -13
- package/lib/proxy/dignite/abp/data/models.d.ts +0 -3
- package/lib/proxy/entries/entry-status.enum.d.ts +0 -5
- package/lib/proxy/fields/models.d.ts +0 -8
- package/lib/proxy/sections/models.d.ts +0 -12
- package/lib/proxy/sections/section-type.enum.d.ts +0 -6
- package/lib/proxy/settings/models.d.ts +0 -5
- package/lib/resolvers/extensions-props-action-token.resolver.d.ts +0 -71
- package/lib/resolvers/page-default-toolbar-actions.d.ts +0 -18
- package/lib/services/appent-content.d.ts +0 -1
- package/lib/services/cms-api.service.d.ts +0 -20
- package/lib/services/cms.service.d.ts +0 -10
- package/lib/services/field-abstracts.service.d.ts +0 -20
- package/lib/services/index.d.ts +0 -4
- package/lib/services/simple-reuse-strategy.d.ts +0 -13
- package/lib/services/update-list.service.d.ts +0 -9
- package/lib/services/validators.service.d.ts +0 -17
- /package/config/{proxy/admin/domains/index.d.ts → src/proxy/admin/domains/index.ts} +0 -0
- /package/{lib/proxy/admin/dynamic-forms/index.d.ts → config/src/proxy/dignite/cms/admin/dynamic-forms/index.ts} +0 -0
- /package/{lib/proxy/admin/entries/index.d.ts → config/src/proxy/dignite/cms/admin/entries/index.ts} +0 -0
- /package/{lib/proxy/admin/fields/index.d.ts → config/src/proxy/dignite/cms/admin/fields/index.ts} +0 -0
- /package/{lib/proxy/admin/sections/index.d.ts → config/src/proxy/dignite/cms/admin/sections/index.ts} +0 -0
- /package/config/{proxy/dignite/cms/admin/sites/index.d.ts → src/proxy/dignite/cms/admin/sites/index.ts} +0 -0
- /package/{lib/proxy/entries/index.d.ts → config/src/proxy/dignite/cms/entries/index.ts} +0 -0
- /package/{lib/proxy/sections/index.d.ts → config/src/proxy/dignite/cms/sections/index.ts} +0 -0
- /package/{lib/proxy/admin/settings/index.d.ts → src/lib/proxy/admin/settings/index.ts} +0 -0
|
@@ -0,0 +1,14 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './models';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { UpdateBrandInput } 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 BrandAdminService {
|
|
9
|
+
apiName = 'DigniteCmsKitAdmin';
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
update = (input: UpdateBrandInput, config?: Partial<Rest.Config>) =>
|
|
13
|
+
this.restService.request<any, void>({
|
|
14
|
+
method: 'PUT',
|
|
15
|
+
url: '/api/cms-kit/admin/brand',
|
|
16
|
+
body: input,
|
|
17
|
+
},
|
|
18
|
+
{ apiName: this.apiName,...config });
|
|
19
|
+
|
|
20
|
+
constructor(private restService: RestService) {}
|
|
21
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { BrandDto } 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 BrandService {
|
|
9
|
+
apiName = 'DigniteCmsKitCommon';
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
get = (config?: Partial<Rest.Config>) =>
|
|
13
|
+
this.restService.request<any, BrandDto>({
|
|
14
|
+
method: 'GET',
|
|
15
|
+
url: '/api/cms-kit/brand',
|
|
16
|
+
},
|
|
17
|
+
{ apiName: this.apiName,...config });
|
|
18
|
+
|
|
19
|
+
constructor(private restService: RestService) {}
|
|
20
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import type { CreateDirectoryInput, DirectoryDescriptorDto, DirectoryDescriptorInfoDto, GetDirectoriesInput, MoveDirectoryInput, UpdateDirectoryInput } 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 FileDescriptorService {
|
|
10
|
+
apiName = 'FileExplorer';
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
create = (input: CreateDirectoryInput, config?: Partial<Rest.Config>) =>
|
|
14
|
+
this.restService.request<any, DirectoryDescriptorDto>({
|
|
15
|
+
method: 'POST',
|
|
16
|
+
url: '/api/file-explorer/directories',
|
|
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/file-explorer/directories/${id}`,
|
|
26
|
+
},
|
|
27
|
+
{ apiName: this.apiName,...config });
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
get = (id: string, config?: Partial<Rest.Config>) =>
|
|
31
|
+
this.restService.request<any, DirectoryDescriptorDto>({
|
|
32
|
+
method: 'GET',
|
|
33
|
+
url: `/api/file-explorer/directories/${id}`,
|
|
34
|
+
},
|
|
35
|
+
{ apiName: this.apiName,...config });
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
getList = (input: GetDirectoriesInput, config?: Partial<Rest.Config>) =>
|
|
39
|
+
this.restService.request<any, PagedResultDto<DirectoryDescriptorInfoDto>>({
|
|
40
|
+
method: 'GET',
|
|
41
|
+
url: '/api/file-explorer/directories',
|
|
42
|
+
params: { containerName: input.containerName },
|
|
43
|
+
},
|
|
44
|
+
{ apiName: this.apiName,...config });
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
move = (id: string, input: MoveDirectoryInput, config?: Partial<Rest.Config>) =>
|
|
48
|
+
this.restService.request<any, DirectoryDescriptorDto>({
|
|
49
|
+
method: 'PUT',
|
|
50
|
+
url: `/api/file-explorer/directories/${id}/move`,
|
|
51
|
+
body: input,
|
|
52
|
+
},
|
|
53
|
+
{ apiName: this.apiName,...config });
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
update = (id: string, input: UpdateDirectoryInput, config?: Partial<Rest.Config>) =>
|
|
57
|
+
this.restService.request<any, DirectoryDescriptorDto>({
|
|
58
|
+
method: 'PUT',
|
|
59
|
+
url: `/api/file-explorer/directories/${id}`,
|
|
60
|
+
body: input,
|
|
61
|
+
},
|
|
62
|
+
{ apiName: this.apiName,...config });
|
|
63
|
+
|
|
64
|
+
constructor(private restService: RestService) {}
|
|
65
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { ExtensibleAuditedEntityDto, ExtensibleEntityDto } from '@abp/ng.core';
|
|
2
|
+
|
|
3
|
+
export interface CreateDirectoryInput {
|
|
4
|
+
containerName: string;
|
|
5
|
+
name: string;
|
|
6
|
+
parentId?: string;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export interface DirectoryDescriptorDto extends ExtensibleAuditedEntityDto<string> {
|
|
10
|
+
containerName?: string;
|
|
11
|
+
name?: string;
|
|
12
|
+
parentId?: string;
|
|
13
|
+
order: number;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export interface DirectoryDescriptorInfoDto extends ExtensibleEntityDto<string> {
|
|
17
|
+
containerName?: string;
|
|
18
|
+
name?: string;
|
|
19
|
+
parentId?: string;
|
|
20
|
+
order: number;
|
|
21
|
+
children: DirectoryDescriptorInfoDto[];
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export interface GetDirectoriesInput {
|
|
25
|
+
containerName: string;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export interface MoveDirectoryInput {
|
|
29
|
+
parentId?: string;
|
|
30
|
+
order: number;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export interface UpdateDirectoryInput {
|
|
34
|
+
name: string;
|
|
35
|
+
}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import type { CreateFileInput, FileContainerConfigurationDto, FileDescriptorDto, GetFilesInput, ImageResizeInput, UpdateFileInput } 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
|
+
import type { FileResult } from '../../../microsoft/asp-net-core/mvc/models';
|
|
6
|
+
|
|
7
|
+
@Injectable({
|
|
8
|
+
providedIn: 'root',
|
|
9
|
+
})
|
|
10
|
+
export class FileDescriptorService {
|
|
11
|
+
apiName = 'FileExplorer';
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
create = (input: CreateFileInput, config?: Partial<Rest.Config>) =>
|
|
15
|
+
this.restService.request<any, FileDescriptorDto>({
|
|
16
|
+
method: 'POST',
|
|
17
|
+
url: '/api/file-explorer/files',
|
|
18
|
+
params: { containerName: input.containerName, cellName: input.cellName, directoryId: input.directoryId, entityId: input.entityId },
|
|
19
|
+
body: input.file,
|
|
20
|
+
},
|
|
21
|
+
{ apiName: this.apiName,...config });
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
delete = (id: string, config?: Partial<Rest.Config>) =>
|
|
25
|
+
this.restService.request<any, void>({
|
|
26
|
+
method: 'DELETE',
|
|
27
|
+
url: `/api/file-explorer/files/${id}`,
|
|
28
|
+
},
|
|
29
|
+
{ apiName: this.apiName,...config });
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
deleteByEntityId = (containerName: string, entityId: string, config?: Partial<Rest.Config>) =>
|
|
33
|
+
this.restService.request<any, void>({
|
|
34
|
+
method: 'DELETE',
|
|
35
|
+
url: `/api/file-explorer/files/${containerName}/${entityId}`,
|
|
36
|
+
},
|
|
37
|
+
{ apiName: this.apiName,...config });
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
download = (containerName: string, blobName: string, fileName: string, config?: Partial<Rest.Config>) =>
|
|
41
|
+
this.restService.request<any, FileResult>({
|
|
42
|
+
method: 'GET',
|
|
43
|
+
url: `/api/file-explorer/files/download/${containerName}/${blobName}`,
|
|
44
|
+
params: { fileName },
|
|
45
|
+
},
|
|
46
|
+
{ apiName: this.apiName,...config });
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
get = (id: string, config?: Partial<Rest.Config>) =>
|
|
50
|
+
this.restService.request<any, FileDescriptorDto>({
|
|
51
|
+
method: 'GET',
|
|
52
|
+
url: `/api/file-explorer/files/${id}`,
|
|
53
|
+
},
|
|
54
|
+
{ apiName: this.apiName,...config });
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
getFileContainerConfiguration = (containerName: string, config?: Partial<Rest.Config>) =>
|
|
58
|
+
this.restService.request<any, FileContainerConfigurationDto>({
|
|
59
|
+
method: 'GET',
|
|
60
|
+
url: `/api/file-explorer/files/${containerName}/configuration`,
|
|
61
|
+
},
|
|
62
|
+
{ apiName: this.apiName,...config });
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
getList = (input: GetFilesInput, config?: Partial<Rest.Config>) =>
|
|
66
|
+
this.restService.request<any, PagedResultDto<FileDescriptorDto>>({
|
|
67
|
+
method: 'GET',
|
|
68
|
+
url: '/api/file-explorer/files',
|
|
69
|
+
params: { containerName: input.containerName, directoryId: input.directoryId, creatorId: input.creatorId, filter: input.filter, entityId: input.entityId, sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },
|
|
70
|
+
},
|
|
71
|
+
{ apiName: this.apiName,...config });
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
getListByEntityId = (containerName: string, entityId: string, config?: Partial<Rest.Config>) =>
|
|
75
|
+
this.restService.request<any, ListResultDto<FileDescriptorDto>>({
|
|
76
|
+
method: 'GET',
|
|
77
|
+
url: `/api/file-explorer/files/${containerName}/${entityId}/all`,
|
|
78
|
+
},
|
|
79
|
+
{ apiName: this.apiName,...config });
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
getStream = (containerName: string, blobName: string, imageResize?: ImageResizeInput, config?: Partial<Rest.Config>) =>
|
|
83
|
+
this.restService.request<any, Blob>({
|
|
84
|
+
method: 'GET',
|
|
85
|
+
responseType: 'blob',
|
|
86
|
+
url: `/api/file-explorer/files/${containerName}/${blobName}`,
|
|
87
|
+
params: { width: imageResize.width, height: imageResize.height },
|
|
88
|
+
},
|
|
89
|
+
{ apiName: this.apiName,...config });
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
update = (id: string, input: UpdateFileInput, config?: Partial<Rest.Config>) =>
|
|
93
|
+
this.restService.request<any, FileDescriptorDto>({
|
|
94
|
+
method: 'PUT',
|
|
95
|
+
url: `/api/file-explorer/files/${id}`,
|
|
96
|
+
body: input,
|
|
97
|
+
},
|
|
98
|
+
{ apiName: this.apiName,...config });
|
|
99
|
+
|
|
100
|
+
constructor(private restService: RestService) {}
|
|
101
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import type { IRemoteStreamContent } from '../../../volo/abp/content/models';
|
|
2
|
+
import type { CreationAuditedEntityDto, PagedAndSortedResultRequestDto } from '@abp/ng.core';
|
|
3
|
+
|
|
4
|
+
export interface CreateFileInput {
|
|
5
|
+
containerName: string;
|
|
6
|
+
cellName?: string;
|
|
7
|
+
directoryId?: string;
|
|
8
|
+
entityId?: string;
|
|
9
|
+
file: IRemoteStreamContent;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export interface FileCellDto {
|
|
13
|
+
name?: string;
|
|
14
|
+
displayName?: string;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export interface FileContainerConfigurationDto {
|
|
18
|
+
maxBlobSize: number;
|
|
19
|
+
allowedFileTypeNames: string[];
|
|
20
|
+
fileCells: FileCellDto[];
|
|
21
|
+
createDirectoryPermissionName?: string;
|
|
22
|
+
createFilePermissionName?: string;
|
|
23
|
+
updateFilePermissionName?: string;
|
|
24
|
+
deleteFilePermissionName?: string;
|
|
25
|
+
getFilePermissionName?: string;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export interface FileDescriptorDto extends FileDescriptorListDto {
|
|
29
|
+
url?: string;
|
|
30
|
+
tenantId?: string;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export interface FileDescriptorListDto extends CreationAuditedEntityDto<string> {
|
|
34
|
+
entityId?: string;
|
|
35
|
+
containerName?: string;
|
|
36
|
+
blobName?: string;
|
|
37
|
+
cellName?: string;
|
|
38
|
+
directoryId?: string;
|
|
39
|
+
size: number;
|
|
40
|
+
name?: string;
|
|
41
|
+
mimeType?: string;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export interface GetFilesInput extends PagedAndSortedResultRequestDto {
|
|
45
|
+
containerName: string;
|
|
46
|
+
directoryId?: string;
|
|
47
|
+
creatorId?: string;
|
|
48
|
+
filter?: string;
|
|
49
|
+
entityId?: string;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export interface ImageResizeInput {
|
|
53
|
+
width?: number;
|
|
54
|
+
height?: number;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export interface UpdateFileInput {
|
|
58
|
+
cellName?: string;
|
|
59
|
+
directoryId?: string;
|
|
60
|
+
name?: string;
|
|
61
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './models';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './models';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './models';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './models';
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { ExtensibleAuditedEntityDto } from '@abp/ng.core';
|
|
2
|
+
|
|
3
|
+
export interface GuideDto extends GuideListDto {
|
|
4
|
+
licenseBlobName?: string;
|
|
5
|
+
introduction?: string;
|
|
6
|
+
emailAddress?: string;
|
|
7
|
+
phoneNumber?: string;
|
|
8
|
+
socialMediaAccounts: GuideSocialMediaAccount[];
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export interface GuideLanguageDto {
|
|
12
|
+
language?: string;
|
|
13
|
+
certificateBlobName?: string;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export interface GuideListDto extends ExtensibleAuditedEntityDto<string> {
|
|
17
|
+
avatarBlobName?: string;
|
|
18
|
+
fullName?: string;
|
|
19
|
+
languages: GuideLanguageDto[];
|
|
20
|
+
userId?: string;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export interface GuideSocialMediaAccount {
|
|
24
|
+
name?: string;
|
|
25
|
+
url?: string;
|
|
26
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as Areas from './areas';
|
|
2
|
+
import * as Common from './common';
|
|
3
|
+
import * as EntitySnapshots from './entity-snapshots';
|
|
4
|
+
import * as Guides from './guides';
|
|
5
|
+
import * as Merchants from './merchants';
|
|
6
|
+
import * as Orders from './orders';
|
|
7
|
+
import * as Payment from './payment';
|
|
8
|
+
import * as Tours from './tours';
|
|
9
|
+
export { Areas, Common, EntitySnapshots, Guides, Merchants, Orders, Payment, Tours };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './models';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ExtensibleCreationAuditedEntityDto } from '@abp/ng.core';
|
|
2
|
+
|
|
3
|
+
export interface MerchantDto extends ExtensibleCreationAuditedEntityDto<string> {
|
|
4
|
+
companyName?: string;
|
|
5
|
+
licenseNumber?: string;
|
|
6
|
+
licenseBlobName?: string;
|
|
7
|
+
emailAddress?: string;
|
|
8
|
+
phoneNumber?: string;
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './models';
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import type { EntityDto, ExtensibleCreationAuditedEntityDto } from '@abp/ng.core';
|
|
2
|
+
import type { PaymentRequestState } from '../../../volo/payment/requests/payment-request-state.enum';
|
|
3
|
+
import type { TouristType } from '../tours/tourist-type.enum';
|
|
4
|
+
import type { GuideListDto } from '../guides/models';
|
|
5
|
+
|
|
6
|
+
export interface OrderDto extends OrderListDto {
|
|
7
|
+
refunds: OrderRefundDto[];
|
|
8
|
+
note?: string;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export interface OrderListDto extends ExtensibleCreationAuditedEntityDto<string> {
|
|
12
|
+
code?: string;
|
|
13
|
+
currency?: string;
|
|
14
|
+
totalAmount: number;
|
|
15
|
+
paymentRequestId?: string;
|
|
16
|
+
paymentState: PaymentRequestState;
|
|
17
|
+
paymentOnTime?: string;
|
|
18
|
+
refundTotalAmount: number;
|
|
19
|
+
products: OrderProductDto[];
|
|
20
|
+
fullName?: string;
|
|
21
|
+
country?: string;
|
|
22
|
+
email?: string;
|
|
23
|
+
tel?: string;
|
|
24
|
+
concurrencyStamp?: string;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export interface OrderProductDto extends EntityDto {
|
|
28
|
+
orderId?: string;
|
|
29
|
+
touristType: TouristType;
|
|
30
|
+
code?: string;
|
|
31
|
+
snapshotId?: string;
|
|
32
|
+
name?: string;
|
|
33
|
+
bookTime?: string;
|
|
34
|
+
guideLanguage?: string;
|
|
35
|
+
guide: GuideListDto;
|
|
36
|
+
guideId?: string;
|
|
37
|
+
unitPrice: number;
|
|
38
|
+
count: number;
|
|
39
|
+
adultQuantity: number;
|
|
40
|
+
childQuantity: number;
|
|
41
|
+
infantQuantity: number;
|
|
42
|
+
reviewId?: string;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export interface OrderRefundDto extends EntityDto<string> {
|
|
46
|
+
orderId?: string;
|
|
47
|
+
refundAmount: number;
|
|
48
|
+
reason?: string;
|
|
49
|
+
note?: string;
|
|
50
|
+
creationTime?: string;
|
|
51
|
+
creatorId?: string;
|
|
52
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './models';
|