@abp/ng.cms-kit 10.2.0-rc.1

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.
@@ -0,0 +1,610 @@
1
+ import * as _abp_ng_core from '@abp/ng.core';
2
+ import { ListService, PagedResultDto, ConfigStateService, eLayoutType } from '@abp/ng.core';
3
+ import * as i0 from '@angular/core';
4
+ import { OnInit, InjectionToken } from '@angular/core';
5
+ import { FormGroup, FormArray, FormControl } from '@angular/forms';
6
+ import { CommentGetListInput, CommentWithAuthorDto, CommentApproveState, TagDto, TagDefinitionDto, PageDto, BlogDto, BlogFeatureDto, BlogPostListDto, BlogPostStatus, BlogPostDto, MenuItemWithDetailsDto, MenuItemDto, PageLookupDto, CommentAdminService, TagCreateDto, CreatePageInputDto, UpdatePageInputDto, CreateBlogDto, CreateBlogPostDto, MenuItemCreateInput, TagUpdateDto, UpdateBlogDto, UpdateBlogPostDto, MenuItemUpdateInput } from '@abp/ng.cms-kit/proxy';
7
+ import * as rxjs from 'rxjs';
8
+ import { ToasterService } from '@abp/ng.theme.shared';
9
+ import * as _abp_ng_components_extensible from '@abp/ng.components/extensible';
10
+ import { EntityAction, EntityProp, ToolbarAction, FormProp, CreateFormPropContributorCallback, EditFormPropContributorCallback, EntityActionContributorCallback, EntityPropContributorCallback, ToolbarActionContributorCallback } from '@abp/ng.components/extensible';
11
+ import { ResolveFn, Routes } from '@angular/router';
12
+
13
+ declare class CommentEntityService {
14
+ private commentService;
15
+ private toasterService;
16
+ private confirmation;
17
+ private configState;
18
+ private router;
19
+ get requireApprovement(): boolean;
20
+ isCommentReply(commentId: string | undefined): boolean;
21
+ updateApprovalStatus(id: string, isApproved: boolean, list: ListService<CommentGetListInput>): void;
22
+ delete(id: string, list: ListService<CommentGetListInput>): void;
23
+ static ɵfac: i0.ɵɵFactoryDeclaration<CommentEntityService, never>;
24
+ static ɵprov: i0.ɵɵInjectableDeclaration<CommentEntityService>;
25
+ }
26
+
27
+ declare class CommentListComponent implements OnInit {
28
+ data: PagedResultDto<CommentWithAuthorDto>;
29
+ readonly list: ListService<any>;
30
+ readonly commentEntityService: CommentEntityService;
31
+ private commentService;
32
+ private fb;
33
+ filterForm: FormGroup;
34
+ commentApproveStateOptions: _abp_ng_core.ABP.Option<typeof CommentApproveState>[];
35
+ requireApprovement: boolean;
36
+ ngOnInit(): void;
37
+ private createFilterForm;
38
+ onFilter(): void;
39
+ private hookToQuery;
40
+ static ɵfac: i0.ɵɵFactoryDeclaration<CommentListComponent, never>;
41
+ static ɵcmp: i0.ɵɵComponentDeclaration<CommentListComponent, "abp-comment-list", never, {}, {}, never, never, true, never>;
42
+ }
43
+
44
+ declare class CommentDetailsComponent implements OnInit {
45
+ comment: CommentWithAuthorDto | null;
46
+ data: PagedResultDto<CommentWithAuthorDto>;
47
+ readonly list: ListService<any>;
48
+ readonly commentEntityService: CommentEntityService;
49
+ private commentService;
50
+ private route;
51
+ private router;
52
+ private fb;
53
+ filterForm: FormGroup;
54
+ commentApproveStateOptions: _abp_ng_core.ABP.Option<typeof CommentApproveState>[];
55
+ commentId: string;
56
+ requireApprovement: boolean;
57
+ ngOnInit(): void;
58
+ private createFilterForm;
59
+ private loadComment;
60
+ onFilter(): void;
61
+ private hookToQuery;
62
+ navigateToReply(id: string): void;
63
+ static ɵfac: i0.ɵɵFactoryDeclaration<CommentDetailsComponent, never>;
64
+ static ɵcmp: i0.ɵɵComponentDeclaration<CommentDetailsComponent, "abp-comment-details", never, {}, {}, never, never, true, never>;
65
+ }
66
+
67
+ declare const CMS_KIT_COMMENTS_REQUIRE_APPROVEMENT = "CmsKit.Comments.RequireApprovement";
68
+
69
+ interface TagModalVisibleChange {
70
+ visible: boolean;
71
+ refresh: boolean;
72
+ }
73
+ declare class TagModalComponent implements OnInit {
74
+ private tagService;
75
+ private injector;
76
+ private toasterService;
77
+ selected: i0.InputSignal<TagDto>;
78
+ sectionId: i0.InputSignal<string>;
79
+ visibleChange: i0.OutputEmitterRef<TagModalVisibleChange>;
80
+ form: FormGroup;
81
+ ngOnInit(): void;
82
+ private buildForm;
83
+ onVisibleChange(visible: boolean, refresh?: boolean): void;
84
+ save(): void;
85
+ static ɵfac: i0.ɵɵFactoryDeclaration<TagModalComponent, never>;
86
+ static ɵcmp: i0.ɵɵComponentDeclaration<TagModalComponent, "abp-tag-modal", never, { "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "sectionId": { "alias": "sectionId"; "required": false; "isSignal": true; }; }, { "visibleChange": "visibleChange"; }, never, never, true, never>;
87
+ }
88
+
89
+ declare class TagListComponent implements OnInit {
90
+ data: PagedResultDto<TagDto>;
91
+ readonly list: ListService<any>;
92
+ private tagService;
93
+ private confirmationService;
94
+ filter: string;
95
+ isModalVisible: boolean;
96
+ selected?: TagDto;
97
+ tagDefinitions: TagDefinitionDto[];
98
+ ngOnInit(): void;
99
+ private loadTagDefinitions;
100
+ onSearch(): void;
101
+ add(): void;
102
+ edit(id: string): void;
103
+ private hookToQuery;
104
+ onVisibleModalChange(visibilityChange: TagModalVisibleChange): void;
105
+ delete(id: string, name: string): void;
106
+ static ɵfac: i0.ɵɵFactoryDeclaration<TagListComponent, never>;
107
+ static ɵcmp: i0.ɵɵComponentDeclaration<TagListComponent, "abp-tag-list", never, {}, {}, never, never, true, never>;
108
+ }
109
+
110
+ declare class PageListComponent implements OnInit {
111
+ data: PagedResultDto<PageDto>;
112
+ readonly list: ListService<any>;
113
+ private pageService;
114
+ private confirmationService;
115
+ private toasterService;
116
+ filter: string;
117
+ ngOnInit(): void;
118
+ onSearch(): void;
119
+ private hookToQuery;
120
+ delete(id: string): void;
121
+ setAsHomePage(id: string, isHomePage: boolean): void;
122
+ static ɵfac: i0.ɵɵFactoryDeclaration<PageListComponent, never>;
123
+ static ɵcmp: i0.ɵɵComponentDeclaration<PageListComponent, "abp-page-list", never, {}, {}, never, never, true, never>;
124
+ }
125
+
126
+ declare class PageFormComponent implements OnInit {
127
+ private pageService;
128
+ private injector;
129
+ private pageFormService;
130
+ private route;
131
+ private destroyRef;
132
+ form: FormGroup;
133
+ page: PageDto | null;
134
+ pageId: string | null;
135
+ isEditMode: boolean;
136
+ ngOnInit(): void;
137
+ private loadPage;
138
+ private buildForm;
139
+ private executeSaveOperation;
140
+ save(): void;
141
+ saveAsDraft(): void;
142
+ publish(): void;
143
+ static ɵfac: i0.ɵɵFactoryDeclaration<PageFormComponent, never>;
144
+ static ɵcmp: i0.ɵɵComponentDeclaration<PageFormComponent, "abp-page-form", never, {}, {}, never, never, true, never>;
145
+ }
146
+
147
+ interface BlogModalVisibleChange {
148
+ visible: boolean;
149
+ refresh: boolean;
150
+ }
151
+ declare class BlogModalComponent implements OnInit {
152
+ private blogService;
153
+ private injector;
154
+ private toasterService;
155
+ private destroyRef;
156
+ selected: i0.InputSignal<BlogDto>;
157
+ visibleChange: i0.OutputEmitterRef<BlogModalVisibleChange>;
158
+ form: FormGroup;
159
+ ngOnInit(): void;
160
+ private buildForm;
161
+ onVisibleChange(visible: boolean, refresh?: boolean): void;
162
+ save(): void;
163
+ static ɵfac: i0.ɵɵFactoryDeclaration<BlogModalComponent, never>;
164
+ static ɵcmp: i0.ɵɵComponentDeclaration<BlogModalComponent, "abp-blog-modal", never, { "selected": { "alias": "selected"; "required": false; "isSignal": true; }; }, { "visibleChange": "visibleChange"; }, never, never, true, never>;
165
+ }
166
+
167
+ interface BlogFeaturesModalVisibleChange {
168
+ visible: boolean;
169
+ refresh: boolean;
170
+ }
171
+ declare class BlogFeaturesModalComponent implements OnInit {
172
+ private blogFeatureService;
173
+ private fb;
174
+ private toasterService;
175
+ blogId: i0.InputSignal<string>;
176
+ visibleChange: i0.OutputEmitterRef<BlogFeaturesModalVisibleChange>;
177
+ form: FormGroup;
178
+ features: BlogFeatureDto[];
179
+ private initialFeatureStates;
180
+ ngOnInit(): void;
181
+ private loadFeatures;
182
+ private buildForm;
183
+ get featuresFormArray(): FormArray;
184
+ onVisibleChange(visible: boolean, refresh?: boolean): void;
185
+ save(): void;
186
+ static ɵfac: i0.ɵɵFactoryDeclaration<BlogFeaturesModalComponent, never>;
187
+ static ɵcmp: i0.ɵɵComponentDeclaration<BlogFeaturesModalComponent, "abp-blog-features-modal", never, { "blogId": { "alias": "blogId"; "required": false; "isSignal": true; }; }, { "visibleChange": "visibleChange"; }, never, never, true, never>;
188
+ }
189
+
190
+ declare class BlogListComponent implements OnInit {
191
+ data: PagedResultDto<BlogDto>;
192
+ readonly list: ListService<any>;
193
+ private blogService;
194
+ private confirmationService;
195
+ filter: string;
196
+ isModalVisible: boolean;
197
+ selected?: BlogDto;
198
+ isFeaturesModalVisible: boolean;
199
+ selectedBlogId?: string;
200
+ ngOnInit(): void;
201
+ onSearch(): void;
202
+ add(): void;
203
+ edit(id: string): void;
204
+ delete(id: string, name: string): void;
205
+ openFeatures(id: string): void;
206
+ private hookToQuery;
207
+ onVisibleModalChange(visibilityChange: BlogModalVisibleChange): void;
208
+ onFeaturesModalChange(visibilityChange: BlogFeaturesModalVisibleChange): void;
209
+ static ɵfac: i0.ɵɵFactoryDeclaration<BlogListComponent, never>;
210
+ static ɵcmp: i0.ɵɵComponentDeclaration<BlogListComponent, "abp-blog-list", never, {}, {}, never, never, true, never>;
211
+ }
212
+
213
+ declare class BlogPostListComponent implements OnInit {
214
+ data: PagedResultDto<BlogPostListDto>;
215
+ readonly list: ListService<any>;
216
+ private blogPostService;
217
+ private confirmationService;
218
+ filter: string;
219
+ statusFilter: BlogPostStatus | null;
220
+ BlogPostStatus: typeof BlogPostStatus;
221
+ ngOnInit(): void;
222
+ onSearch(): void;
223
+ onStatusChange(): void;
224
+ private hookToQuery;
225
+ delete(id: string, title: string): void;
226
+ static ɵfac: i0.ɵɵFactoryDeclaration<BlogPostListComponent, never>;
227
+ static ɵcmp: i0.ɵɵComponentDeclaration<BlogPostListComponent, "abp-blog-post-list", never, {}, {}, never, never, true, never>;
228
+ }
229
+
230
+ declare class BlogPostFormComponent implements OnInit {
231
+ private blogPostService;
232
+ private mediaService;
233
+ private entityTagService;
234
+ private restService;
235
+ private injector;
236
+ private blogPostFormService;
237
+ private route;
238
+ private destroyRef;
239
+ form: FormGroup;
240
+ blogPost: BlogPostDto | null;
241
+ blogPostId: string | null;
242
+ isEditMode: boolean;
243
+ coverImageFile: File | null;
244
+ coverImagePreview: string | null;
245
+ tags: string;
246
+ isTagsEnabled: boolean;
247
+ readonly BLOG_POST_ENTITY_TYPE = "BlogPost";
248
+ ngOnInit(): void;
249
+ private loadBlogPost;
250
+ private loadTags;
251
+ private buildForm;
252
+ private checkTagsFeature;
253
+ onCoverImageChange(event: Event): void;
254
+ removeCoverImage(): void;
255
+ private uploadCoverImage;
256
+ private setTags;
257
+ private executeSaveOperation;
258
+ saveAsDraft(): void;
259
+ publish(): void;
260
+ sendToReview(): void;
261
+ static ɵfac: i0.ɵɵFactoryDeclaration<BlogPostFormComponent, never>;
262
+ static ɵcmp: i0.ɵɵComponentDeclaration<BlogPostFormComponent, "abp-blog-post-form", never, {}, {}, never, never, true, never>;
263
+ }
264
+
265
+ interface MenuItemModalVisibleChange {
266
+ visible: boolean;
267
+ refresh: boolean;
268
+ }
269
+ declare class MenuItemModalComponent implements OnInit {
270
+ private readonly menuItemService;
271
+ private readonly injector;
272
+ private readonly toasterService;
273
+ private readonly destroyRef;
274
+ readonly selected: i0.InputSignal<MenuItemWithDetailsDto | MenuItemDto>;
275
+ readonly parentId: i0.InputSignal<string>;
276
+ readonly visible: i0.InputSignal<boolean>;
277
+ readonly visibleChange: i0.OutputEmitterRef<MenuItemModalVisibleChange>;
278
+ form: FormGroup;
279
+ activeTab: string;
280
+ pages: PageLookupDto[];
281
+ selectedPage: PageLookupDto | null;
282
+ pageSearchText: string;
283
+ filteredPages: PageLookupDto[];
284
+ private readonly pageSearchSubject;
285
+ get isPageSelected(): boolean;
286
+ ngOnInit(): void;
287
+ /**
288
+ * Sets up debounced page search functionality
289
+ */
290
+ private setupPageSearch;
291
+ /**
292
+ * Initializes the component based on create or edit mode
293
+ */
294
+ private initializeComponent;
295
+ /**
296
+ * Loads menu item data and pages for edit mode
297
+ */
298
+ private loadMenuItemForEdit;
299
+ /**
300
+ * Loads pages for create mode
301
+ */
302
+ private loadPagesForCreate;
303
+ /**
304
+ * Initializes page selection when editing a menu item with a page
305
+ */
306
+ private initializePageSelection;
307
+ /**
308
+ * Generates a URL from a page's slug or title
309
+ */
310
+ private generateUrlFromPage;
311
+ /**
312
+ * Handles page search input changes
313
+ */
314
+ onPageSearchChange(searchText: string): void;
315
+ /**
316
+ * Handles dropdown open event
317
+ */
318
+ onDropdownOpen(): void;
319
+ /**
320
+ * Handles page selection from dropdown
321
+ */
322
+ selectPage(page: PageLookupDto): void;
323
+ /**
324
+ * Clears the selected page
325
+ */
326
+ clearPageSelection(): void;
327
+ /**
328
+ * Builds the reactive form for menu item creation/editing
329
+ */
330
+ private buildForm;
331
+ /**
332
+ * Loads the available menu order for new menu items
333
+ */
334
+ private loadAvailableOrder;
335
+ /**
336
+ * Handles modal visibility changes
337
+ */
338
+ onVisibleChange(visible: boolean, refresh?: boolean): void;
339
+ /**
340
+ * Handles tab changes
341
+ */
342
+ onTabChange(activeId: string): void;
343
+ /**
344
+ * Handles URL input changes - clears page selection if URL is manually entered
345
+ */
346
+ onUrlInput(): void;
347
+ /**
348
+ * Saves the menu item (create or update)
349
+ */
350
+ save(): void;
351
+ /**
352
+ * Prepares form value ensuring mutual exclusivity between pageId and url
353
+ */
354
+ private prepareFormValue;
355
+ /**
356
+ * Creates a new menu item
357
+ */
358
+ private createMenuItem;
359
+ /**
360
+ * Updates an existing menu item
361
+ */
362
+ private updateMenuItem;
363
+ static ɵfac: i0.ɵɵFactoryDeclaration<MenuItemModalComponent, never>;
364
+ static ɵcmp: i0.ɵɵComponentDeclaration<MenuItemModalComponent, "abp-menu-item-modal", never, { "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "parentId": { "alias": "parentId"; "required": false; "isSignal": true; }; "visible": { "alias": "visible"; "required": false; "isSignal": true; }; }, { "visibleChange": "visibleChange"; }, never, never, true, never>;
365
+ }
366
+
367
+ declare class MenuItemListComponent implements OnInit {
368
+ private menuItemService;
369
+ private confirmationService;
370
+ nodes: any[];
371
+ selectedNode: MenuItemDto | null;
372
+ expandedKeys: string[];
373
+ draggable: boolean;
374
+ isModalVisible: boolean;
375
+ selectedMenuItem: MenuItemDto | MenuItemWithDetailsDto | null;
376
+ parentId: string | null;
377
+ ngOnInit(): void;
378
+ private loadMenuItems;
379
+ private buildTreeNodes;
380
+ onSelectedNodeChange(node: any): void;
381
+ onDrop(event: any): void;
382
+ beforeDrop: (event: any) => rxjs.Observable<boolean>;
383
+ add(): void;
384
+ addSubMenuItem(parentId?: string): void;
385
+ edit(id: string): void;
386
+ onVisibleModalChange(visibilityChange: MenuItemModalVisibleChange): void;
387
+ delete(id: string, displayName?: string): void;
388
+ static ɵfac: i0.ɵɵFactoryDeclaration<MenuItemListComponent, never>;
389
+ static ɵcmp: i0.ɵɵComponentDeclaration<MenuItemListComponent, "abp-menu-item-list", never, {}, {}, never, never, true, never>;
390
+ }
391
+
392
+ declare class CmsSettingsComponent {
393
+ readonly commentAdminService: CommentAdminService;
394
+ readonly configState: ConfigStateService;
395
+ readonly toaster: ToasterService;
396
+ commentApprovalControl: FormControl<boolean>;
397
+ ngOnInit(): void;
398
+ submit(): void;
399
+ static ɵfac: i0.ɵɵFactoryDeclaration<CmsSettingsComponent, never>;
400
+ static ɵcmp: i0.ɵɵComponentDeclaration<CmsSettingsComponent, "abp-cms-settings", never, {}, {}, never, never, true, never>;
401
+ }
402
+
403
+ declare class GlobalResourcesComponent implements OnInit {
404
+ private globalResourceService;
405
+ private toasterService;
406
+ private destroyRef;
407
+ form: FormGroup;
408
+ activeTab: string;
409
+ ngOnInit(): void;
410
+ private buildForm;
411
+ private loadGlobalResources;
412
+ onTabChange(activeId: string): void;
413
+ save(): void;
414
+ static ɵfac: i0.ɵɵFactoryDeclaration<GlobalResourcesComponent, never>;
415
+ static ɵcmp: i0.ɵɵComponentDeclaration<GlobalResourcesComponent, "abp-global-resources", never, {}, {}, never, never, true, never>;
416
+ }
417
+
418
+ declare const DEFAULT_COMMENT_ENTITY_ACTIONS: EntityAction<CommentWithAuthorDto>[];
419
+
420
+ declare const DEFAULT_COMMENT_ENTITY_PROPS: EntityProp<CommentWithAuthorDto>[];
421
+
422
+ declare const DEFAULT_TAG_ENTITY_ACTIONS: EntityAction<TagDto>[];
423
+
424
+ declare const DEFAULT_TAG_ENTITY_PROPS: EntityProp<TagDto>[];
425
+
426
+ declare const DEFAULT_TAG_TOOLBAR_ACTIONS: ToolbarAction<TagDto[]>[];
427
+
428
+ declare const DEFAULT_TAG_CREATE_FORM_PROPS: FormProp<TagCreateDto>[];
429
+ declare const DEFAULT_TAG_EDIT_FORM_PROPS: FormProp<TagCreateDto>[];
430
+
431
+ declare const DEFAULT_PAGE_ENTITY_ACTIONS: EntityAction<PageDto>[];
432
+
433
+ declare const DEFAULT_PAGE_ENTITY_PROPS: EntityProp<PageDto>[];
434
+
435
+ declare const DEFAULT_PAGE_TOOLBAR_ACTIONS: ToolbarAction<PageDto[]>[];
436
+
437
+ declare const DEFAULT_PAGE_CREATE_FORM_PROPS: FormProp<CreatePageInputDto>[];
438
+ declare const DEFAULT_PAGE_EDIT_FORM_PROPS: FormProp<UpdatePageInputDto>[];
439
+
440
+ declare const LAYOUT_CONSTANTS: {
441
+ readonly Account: eLayoutType.account;
442
+ readonly Public: "public";
443
+ readonly Empty: eLayoutType.empty;
444
+ readonly Application: eLayoutType.application;
445
+ };
446
+
447
+ declare const DEFAULT_BLOG_ENTITY_ACTIONS: EntityAction<BlogDto>[];
448
+
449
+ declare const DEFAULT_BLOG_ENTITY_PROPS: EntityProp<BlogDto>[];
450
+
451
+ declare const DEFAULT_BLOG_TOOLBAR_ACTIONS: ToolbarAction<BlogDto[]>[];
452
+
453
+ declare const DEFAULT_BLOG_CREATE_FORM_PROPS: FormProp<CreateBlogDto>[];
454
+ declare const DEFAULT_BLOG_EDIT_FORM_PROPS: FormProp<CreateBlogDto>[];
455
+
456
+ declare const DEFAULT_BLOG_POST_ENTITY_ACTIONS: EntityAction<BlogPostListDto>[];
457
+
458
+ declare const DEFAULT_BLOG_POST_ENTITY_PROPS: EntityProp<BlogPostListDto>[];
459
+
460
+ declare const DEFAULT_BLOG_POST_TOOLBAR_ACTIONS: ToolbarAction<BlogPostListDto[]>[];
461
+
462
+ declare const DEFAULT_BLOG_POST_CREATE_FORM_PROPS: FormProp<CreateBlogPostDto>[];
463
+ declare const DEFAULT_BLOG_POST_EDIT_FORM_PROPS: FormProp<any>[];
464
+
465
+ declare const DEFAULT_MENU_ITEM_CREATE_FORM_PROPS: FormProp<MenuItemCreateInput>[];
466
+ declare const DEFAULT_MENU_ITEM_EDIT_FORM_PROPS: FormProp<MenuItemCreateInput>[];
467
+
468
+ declare const DEFAULT_MENU_ITEM_TOOLBAR_ACTIONS: ToolbarAction<MenuItemDto[]>[];
469
+
470
+ declare enum eCmsKitAdminComponents {
471
+ CommentList = "CmsKit.Admin.CommentList",
472
+ CommentDetails = "CmsKit.Admin.CommentDetails",
473
+ Tags = "CmsKit.Admin.Tags",
474
+ Pages = "CmsKit.Admin.Pages",
475
+ PageForm = "CmsKit.Admin.PageForm",
476
+ Blogs = "CmsKit.Admin.Blogs",
477
+ BlogPosts = "CmsKit.Admin.BlogPosts",
478
+ BlogPostForm = "CmsKit.Admin.BlogPostForm",
479
+ Menus = "CmsKit.Admin.Menus",
480
+ GlobalResources = "CmsKit.Admin.GlobalResources"
481
+ }
482
+
483
+ declare const cmsKitAdminExtensionsResolver: ResolveFn<any>;
484
+
485
+ declare const DEFAULT_CMS_KIT_ADMIN_ENTITY_ACTIONS: {
486
+ "CmsKit.Admin.CommentList": _abp_ng_components_extensible.EntityAction<CommentWithAuthorDto>[];
487
+ "CmsKit.Admin.CommentDetails": _abp_ng_components_extensible.EntityAction<CommentWithAuthorDto>[];
488
+ "CmsKit.Admin.Tags": _abp_ng_components_extensible.EntityAction<TagDto>[];
489
+ "CmsKit.Admin.Pages": _abp_ng_components_extensible.EntityAction<PageDto>[];
490
+ "CmsKit.Admin.Blogs": _abp_ng_components_extensible.EntityAction<BlogDto>[];
491
+ "CmsKit.Admin.BlogPosts": _abp_ng_components_extensible.EntityAction<BlogPostListDto>[];
492
+ };
493
+ declare const DEFAULT_CMS_KIT_ADMIN_ENTITY_PROPS: {
494
+ "CmsKit.Admin.CommentList": _abp_ng_components_extensible.EntityProp<CommentWithAuthorDto>[];
495
+ "CmsKit.Admin.CommentDetails": _abp_ng_components_extensible.EntityProp<CommentWithAuthorDto>[];
496
+ "CmsKit.Admin.Tags": _abp_ng_components_extensible.EntityProp<TagDto>[];
497
+ "CmsKit.Admin.Pages": _abp_ng_components_extensible.EntityProp<PageDto>[];
498
+ "CmsKit.Admin.Blogs": _abp_ng_components_extensible.EntityProp<BlogDto>[];
499
+ "CmsKit.Admin.BlogPosts": _abp_ng_components_extensible.EntityProp<BlogPostListDto>[];
500
+ };
501
+ declare const DEFAULT_CMS_KIT_ADMIN_TOOLBAR_ACTIONS: {
502
+ "CmsKit.Admin.Tags": _abp_ng_components_extensible.ToolbarAction<TagDto[]>[];
503
+ "CmsKit.Admin.Pages": _abp_ng_components_extensible.ToolbarAction<PageDto[]>[];
504
+ "CmsKit.Admin.Blogs": _abp_ng_components_extensible.ToolbarAction<BlogDto[]>[];
505
+ "CmsKit.Admin.BlogPosts": _abp_ng_components_extensible.ToolbarAction<BlogPostListDto[]>[];
506
+ "CmsKit.Admin.Menus": _abp_ng_components_extensible.ToolbarAction<MenuItemDto[]>[];
507
+ };
508
+ declare const DEFAULT_CMS_KIT_ADMIN_CREATE_FORM_PROPS: {
509
+ "CmsKit.Admin.Tags": _abp_ng_components_extensible.FormProp<TagCreateDto>[];
510
+ "CmsKit.Admin.Pages": _abp_ng_components_extensible.FormProp<CreatePageInputDto>[];
511
+ "CmsKit.Admin.Blogs": _abp_ng_components_extensible.FormProp<CreateBlogDto>[];
512
+ "CmsKit.Admin.PageForm": _abp_ng_components_extensible.FormProp<CreatePageInputDto>[];
513
+ "CmsKit.Admin.BlogPostForm": _abp_ng_components_extensible.FormProp<CreateBlogPostDto>[];
514
+ "CmsKit.Admin.Menus": _abp_ng_components_extensible.FormProp<MenuItemCreateInput>[];
515
+ };
516
+ declare const DEFAULT_CMS_KIT_ADMIN_EDIT_FORM_PROPS: {
517
+ "CmsKit.Admin.Tags": _abp_ng_components_extensible.FormProp<TagCreateDto>[];
518
+ "CmsKit.Admin.Pages": _abp_ng_components_extensible.FormProp<UpdatePageInputDto>[];
519
+ "CmsKit.Admin.Blogs": _abp_ng_components_extensible.FormProp<CreateBlogDto>[];
520
+ "CmsKit.Admin.PageForm": _abp_ng_components_extensible.FormProp<UpdatePageInputDto>[];
521
+ "CmsKit.Admin.BlogPostForm": _abp_ng_components_extensible.FormProp<any>[];
522
+ "CmsKit.Admin.Menus": _abp_ng_components_extensible.FormProp<MenuItemCreateInput>[];
523
+ };
524
+ declare const CMS_KIT_ADMIN_ENTITY_ACTION_CONTRIBUTORS: InjectionToken<Partial<{
525
+ "CmsKit.Admin.CommentList": EntityActionContributorCallback<CommentWithAuthorDto>[];
526
+ "CmsKit.Admin.CommentDetails": EntityActionContributorCallback<CommentWithAuthorDto>[];
527
+ "CmsKit.Admin.Tags": EntityActionContributorCallback<TagDto>[];
528
+ "CmsKit.Admin.Pages": EntityActionContributorCallback<PageDto>[];
529
+ "CmsKit.Admin.Blogs": EntityActionContributorCallback<BlogDto>[];
530
+ "CmsKit.Admin.BlogPosts": EntityActionContributorCallback<BlogPostListDto>[];
531
+ }>>;
532
+ declare const CMS_KIT_ADMIN_ENTITY_PROP_CONTRIBUTORS: InjectionToken<Partial<{
533
+ "CmsKit.Admin.CommentList": EntityPropContributorCallback<CommentWithAuthorDto>[];
534
+ "CmsKit.Admin.CommentDetails": EntityPropContributorCallback<CommentWithAuthorDto>[];
535
+ "CmsKit.Admin.Tags": EntityPropContributorCallback<TagDto>[];
536
+ "CmsKit.Admin.Pages": EntityPropContributorCallback<PageDto>[];
537
+ "CmsKit.Admin.Blogs": EntityPropContributorCallback<BlogDto>[];
538
+ "CmsKit.Admin.BlogPosts": EntityPropContributorCallback<BlogPostListDto>[];
539
+ }>>;
540
+ declare const CMS_KIT_ADMIN_TOOLBAR_ACTION_CONTRIBUTORS: InjectionToken<Partial<{
541
+ "CmsKit.Admin.Tags": ToolbarActionContributorCallback<TagDto[]>[];
542
+ "CmsKit.Admin.Pages": ToolbarActionContributorCallback<PageDto[]>[];
543
+ "CmsKit.Admin.Blogs": ToolbarActionContributorCallback<BlogDto[]>[];
544
+ "CmsKit.Admin.BlogPosts": ToolbarActionContributorCallback<BlogPostListDto[]>[];
545
+ "CmsKit.Admin.Menus": ToolbarActionContributorCallback<MenuItemDto[]>[];
546
+ }>>;
547
+ declare const CMS_KIT_ADMIN_CREATE_FORM_PROP_CONTRIBUTORS: InjectionToken<Partial<{
548
+ "CmsKit.Admin.Tags": CreateFormPropContributorCallback<TagCreateDto>[];
549
+ "CmsKit.Admin.PageForm": CreateFormPropContributorCallback<CreatePageInputDto>[];
550
+ "CmsKit.Admin.Blogs": CreateFormPropContributorCallback<CreateBlogDto>[];
551
+ "CmsKit.Admin.BlogPostForm": CreateFormPropContributorCallback<CreateBlogPostDto>[];
552
+ "CmsKit.Admin.Menus": CreateFormPropContributorCallback<MenuItemCreateInput>[];
553
+ }>>;
554
+ declare const CMS_KIT_ADMIN_EDIT_FORM_PROP_CONTRIBUTORS: InjectionToken<Partial<{
555
+ "CmsKit.Admin.Tags": EditFormPropContributorCallback<TagUpdateDto>[];
556
+ "CmsKit.Admin.PageForm": EditFormPropContributorCallback<UpdatePageInputDto>[];
557
+ "CmsKit.Admin.Blogs": EditFormPropContributorCallback<UpdateBlogDto>[];
558
+ "CmsKit.Admin.BlogPostForm": EditFormPropContributorCallback<UpdateBlogPostDto>[];
559
+ "CmsKit.Admin.Menus": EditFormPropContributorCallback<MenuItemUpdateInput>[];
560
+ }>>;
561
+
562
+ type CmsKitAdminEntityActionContributors = Partial<{
563
+ [eCmsKitAdminComponents.CommentList]: EntityActionContributorCallback<CommentWithAuthorDto>[];
564
+ [eCmsKitAdminComponents.CommentDetails]: EntityActionContributorCallback<CommentWithAuthorDto>[];
565
+ [eCmsKitAdminComponents.Tags]: EntityActionContributorCallback<TagDto>[];
566
+ [eCmsKitAdminComponents.Pages]: EntityActionContributorCallback<PageDto>[];
567
+ [eCmsKitAdminComponents.Blogs]: EntityActionContributorCallback<BlogDto>[];
568
+ [eCmsKitAdminComponents.BlogPosts]: EntityActionContributorCallback<BlogPostListDto>[];
569
+ }>;
570
+ type CmsKitAdminEntityPropContributors = Partial<{
571
+ [eCmsKitAdminComponents.CommentList]: EntityPropContributorCallback<CommentWithAuthorDto>[];
572
+ [eCmsKitAdminComponents.CommentDetails]: EntityPropContributorCallback<CommentWithAuthorDto>[];
573
+ [eCmsKitAdminComponents.Tags]: EntityPropContributorCallback<TagDto>[];
574
+ [eCmsKitAdminComponents.Pages]: EntityPropContributorCallback<PageDto>[];
575
+ [eCmsKitAdminComponents.Blogs]: EntityPropContributorCallback<BlogDto>[];
576
+ [eCmsKitAdminComponents.BlogPosts]: EntityPropContributorCallback<BlogPostListDto>[];
577
+ }>;
578
+ type CmsKitAdminToolbarActionContributors = Partial<{
579
+ [eCmsKitAdminComponents.Tags]: ToolbarActionContributorCallback<TagDto[]>[];
580
+ [eCmsKitAdminComponents.Pages]: ToolbarActionContributorCallback<PageDto[]>[];
581
+ [eCmsKitAdminComponents.Blogs]: ToolbarActionContributorCallback<BlogDto[]>[];
582
+ [eCmsKitAdminComponents.BlogPosts]: ToolbarActionContributorCallback<BlogPostListDto[]>[];
583
+ [eCmsKitAdminComponents.Menus]: ToolbarActionContributorCallback<MenuItemDto[]>[];
584
+ }>;
585
+ type CmsKitAdminCreateFormPropContributors = Partial<{
586
+ [eCmsKitAdminComponents.Tags]: CreateFormPropContributorCallback<TagCreateDto>[];
587
+ [eCmsKitAdminComponents.PageForm]: CreateFormPropContributorCallback<CreatePageInputDto>[];
588
+ [eCmsKitAdminComponents.Blogs]: CreateFormPropContributorCallback<CreateBlogDto>[];
589
+ [eCmsKitAdminComponents.BlogPostForm]: CreateFormPropContributorCallback<CreateBlogPostDto>[];
590
+ [eCmsKitAdminComponents.Menus]: CreateFormPropContributorCallback<MenuItemCreateInput>[];
591
+ }>;
592
+ type CmsKitAdminEditFormPropContributors = Partial<{
593
+ [eCmsKitAdminComponents.Tags]: EditFormPropContributorCallback<TagUpdateDto>[];
594
+ [eCmsKitAdminComponents.PageForm]: EditFormPropContributorCallback<UpdatePageInputDto>[];
595
+ [eCmsKitAdminComponents.Blogs]: EditFormPropContributorCallback<UpdateBlogDto>[];
596
+ [eCmsKitAdminComponents.BlogPostForm]: EditFormPropContributorCallback<UpdateBlogPostDto>[];
597
+ [eCmsKitAdminComponents.Menus]: EditFormPropContributorCallback<MenuItemUpdateInput>[];
598
+ }>;
599
+ interface CmsKitAdminConfigOptions {
600
+ entityActionContributors?: CmsKitAdminEntityActionContributors;
601
+ entityPropContributors?: CmsKitAdminEntityPropContributors;
602
+ toolbarActionContributors?: CmsKitAdminToolbarActionContributors;
603
+ createFormPropContributors?: CmsKitAdminCreateFormPropContributors;
604
+ editFormPropContributors?: CmsKitAdminEditFormPropContributors;
605
+ }
606
+
607
+ declare function createRoutes(config?: CmsKitAdminConfigOptions): Routes;
608
+
609
+ export { BlogFeaturesModalComponent, BlogListComponent, BlogModalComponent, BlogPostFormComponent, BlogPostListComponent, CMS_KIT_ADMIN_CREATE_FORM_PROP_CONTRIBUTORS, CMS_KIT_ADMIN_EDIT_FORM_PROP_CONTRIBUTORS, CMS_KIT_ADMIN_ENTITY_ACTION_CONTRIBUTORS, CMS_KIT_ADMIN_ENTITY_PROP_CONTRIBUTORS, CMS_KIT_ADMIN_TOOLBAR_ACTION_CONTRIBUTORS, CMS_KIT_COMMENTS_REQUIRE_APPROVEMENT, CmsSettingsComponent, CommentDetailsComponent, CommentListComponent, DEFAULT_BLOG_CREATE_FORM_PROPS, DEFAULT_BLOG_EDIT_FORM_PROPS, DEFAULT_BLOG_ENTITY_ACTIONS, DEFAULT_BLOG_ENTITY_PROPS, DEFAULT_BLOG_POST_CREATE_FORM_PROPS, DEFAULT_BLOG_POST_EDIT_FORM_PROPS, DEFAULT_BLOG_POST_ENTITY_ACTIONS, DEFAULT_BLOG_POST_ENTITY_PROPS, DEFAULT_BLOG_POST_TOOLBAR_ACTIONS, DEFAULT_BLOG_TOOLBAR_ACTIONS, DEFAULT_CMS_KIT_ADMIN_CREATE_FORM_PROPS, DEFAULT_CMS_KIT_ADMIN_EDIT_FORM_PROPS, DEFAULT_CMS_KIT_ADMIN_ENTITY_ACTIONS, DEFAULT_CMS_KIT_ADMIN_ENTITY_PROPS, DEFAULT_CMS_KIT_ADMIN_TOOLBAR_ACTIONS, DEFAULT_COMMENT_ENTITY_ACTIONS, DEFAULT_COMMENT_ENTITY_PROPS, DEFAULT_MENU_ITEM_CREATE_FORM_PROPS, DEFAULT_MENU_ITEM_EDIT_FORM_PROPS, DEFAULT_MENU_ITEM_TOOLBAR_ACTIONS, DEFAULT_PAGE_CREATE_FORM_PROPS, DEFAULT_PAGE_EDIT_FORM_PROPS, DEFAULT_PAGE_ENTITY_ACTIONS, DEFAULT_PAGE_ENTITY_PROPS, DEFAULT_PAGE_TOOLBAR_ACTIONS, DEFAULT_TAG_CREATE_FORM_PROPS, DEFAULT_TAG_EDIT_FORM_PROPS, DEFAULT_TAG_ENTITY_ACTIONS, DEFAULT_TAG_ENTITY_PROPS, DEFAULT_TAG_TOOLBAR_ACTIONS, GlobalResourcesComponent, LAYOUT_CONSTANTS, MenuItemListComponent, MenuItemModalComponent, PageFormComponent, PageListComponent, TagListComponent, TagModalComponent, cmsKitAdminExtensionsResolver, createRoutes, eCmsKitAdminComponents };
610
+ export type { BlogFeaturesModalVisibleChange, BlogModalVisibleChange, MenuItemModalVisibleChange, TagModalVisibleChange };