@decaf-ts/for-angular 0.0.24 → 0.0.26

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.
Files changed (78) hide show
  1. package/fesm2022/decaf-ts-for-angular.mjs +1512 -1517
  2. package/fesm2022/decaf-ts-for-angular.mjs.map +1 -1
  3. package/index.d.ts +7470 -3
  4. package/package.json +14 -17
  5. package/components/component-renderer/component-renderer.component.d.ts +0 -278
  6. package/components/crud-field/crud-field.component.d.ts +0 -611
  7. package/components/crud-form/constants.d.ts +0 -5
  8. package/components/crud-form/crud-form.component.d.ts +0 -288
  9. package/components/crud-form/types.d.ts +0 -17
  10. package/components/empty-state/empty-state.component.d.ts +0 -300
  11. package/components/fieldset/fieldset.component.d.ts +0 -555
  12. package/components/filter/filter.component.d.ts +0 -514
  13. package/components/for-angular-components.module.d.ts +0 -20
  14. package/components/index.d.ts +0 -16
  15. package/components/layout/layout.component.d.ts +0 -110
  16. package/components/list/list.component.d.ts +0 -848
  17. package/components/list-item/list-item.component.d.ts +0 -390
  18. package/components/model-renderer/model-renderer.component.d.ts +0 -97
  19. package/components/pagination/constants.d.ts +0 -7
  20. package/components/pagination/pagination.component.d.ts +0 -264
  21. package/components/searchbar/searchbar.component.d.ts +0 -407
  22. package/components/steped-form/steped-form.component.d.ts +0 -243
  23. package/directives/collapsable.directive.d.ts +0 -9
  24. package/directives/index.d.ts +0 -1
  25. package/engine/DynamicModule.d.ts +0 -17
  26. package/engine/NgxBaseComponent.d.ts +0 -541
  27. package/engine/NgxCrudFormField.d.ts +0 -123
  28. package/engine/NgxFormService.d.ts +0 -601
  29. package/engine/NgxRenderingEngine.d.ts +0 -282
  30. package/engine/ValidatorFactory.d.ts +0 -15
  31. package/engine/constants.d.ts +0 -168
  32. package/engine/decorators.d.ts +0 -25
  33. package/engine/index.d.ts +0 -18
  34. package/engine/interfaces.d.ts +0 -271
  35. package/engine/types.d.ts +0 -200
  36. package/esm2022/components/component-renderer/component-renderer.component.mjs +0 -321
  37. package/esm2022/components/crud-field/crud-field.component.mjs +0 -518
  38. package/esm2022/components/crud-form/constants.mjs +0 -14
  39. package/esm2022/components/crud-form/crud-form.component.mjs +0 -259
  40. package/esm2022/components/crud-form/types.mjs +0 -2
  41. package/esm2022/components/empty-state/empty-state.component.mjs +0 -345
  42. package/esm2022/components/fieldset/fieldset.component.mjs +0 -677
  43. package/esm2022/components/filter/filter.component.mjs +0 -700
  44. package/esm2022/components/for-angular-components.module.mjs +0 -84
  45. package/esm2022/components/index.mjs +0 -20
  46. package/esm2022/components/layout/layout.component.mjs +0 -150
  47. package/esm2022/components/list/list.component.mjs +0 -1238
  48. package/esm2022/components/list-item/list-item.component.mjs +0 -405
  49. package/esm2022/components/model-renderer/model-renderer.component.mjs +0 -144
  50. package/esm2022/components/pagination/constants.mjs +0 -2
  51. package/esm2022/components/pagination/pagination.component.mjs +0 -321
  52. package/esm2022/components/searchbar/searchbar.component.mjs +0 -491
  53. package/esm2022/components/steped-form/steped-form.component.mjs +0 -291
  54. package/esm2022/decaf-ts-for-angular.mjs +0 -5
  55. package/esm2022/directives/collapsable.directive.mjs +0 -29
  56. package/esm2022/directives/index.mjs +0 -2
  57. package/esm2022/engine/DynamicModule.mjs +0 -18
  58. package/esm2022/engine/NgxBaseComponent.mjs +0 -541
  59. package/esm2022/engine/NgxCrudFormField.mjs +0 -137
  60. package/esm2022/engine/NgxFormService.mjs +0 -917
  61. package/esm2022/engine/NgxRenderingEngine.mjs +0 -376
  62. package/esm2022/engine/ValidatorFactory.mjs +0 -106
  63. package/esm2022/engine/constants.mjs +0 -170
  64. package/esm2022/engine/decorators.mjs +0 -38
  65. package/esm2022/engine/index.mjs +0 -19
  66. package/esm2022/engine/interfaces.mjs +0 -4
  67. package/esm2022/engine/types.mjs +0 -2
  68. package/esm2022/for-angular-common.module.mjs +0 -84
  69. package/esm2022/helpers/index.mjs +0 -13
  70. package/esm2022/helpers/utils.mjs +0 -436
  71. package/esm2022/i18n/Loader.mjs +0 -86
  72. package/esm2022/i18n/data/en.json +0 -80
  73. package/esm2022/public-apis.mjs +0 -15
  74. package/for-angular-common.module.d.ts +0 -50
  75. package/helpers/index.d.ts +0 -12
  76. package/helpers/utils.d.ts +0 -279
  77. package/i18n/Loader.d.ts +0 -43
  78. package/public-apis.d.ts +0 -14
@@ -1,390 +0,0 @@
1
- import { EventEmitter, OnInit } from '@angular/core';
2
- import { CrudOperations } from '@decaf-ts/db-decorators';
3
- import { StringOrBoolean } from '../../engine/types';
4
- import { NgxBaseComponent } from '../../engine/NgxBaseComponent';
5
- import { ListItemCustomEvent } from '../../engine';
6
- import * as i0 from "@angular/core";
7
- /**
8
- * @description A component for displaying a list item with various customization options.
9
- * @summary The ListItemComponent is an Angular component that extends NgxBaseComponent. It provides a flexible and customizable list item interface with support for icons, buttons, and various text elements. The component also handles actions and navigation based on user interactions.
10
- *
11
- * @class
12
- * @extends NgxBaseComponent
13
- *
14
- * @param {string} [lines='none'] - Determines the line style of the item. Can be 'inset', 'inseet', or 'none'.
15
- * @param {Record<string, any>} item - The data item to be displayed in the list item.
16
- * @param {string} icon - The name of the icon to be displayed.
17
- * @param {'start' | 'end'} [iconSlot='start'] - The position of the icon within the item.
18
- * @param {StringOrBoolean} [button=true] - Determines if the item should behave as a button.
19
- * @param {string} [title] - The main title of the list item.
20
- * @param {string} [description] - A description for the list item.
21
- * @param {string} [info] - Additional information for the list item.
22
- * @param {string} [subinfo] - Sub-information for the list item.
23
- *
24
- * @example
25
- * <ngx-decaf-list-item
26
- * [item]="dataItem"
27
- * icon="star"
28
- * title="Item Title"
29
- * description="Item Description"
30
- * (clickEvent)="handleItemClick($event)">
31
- * </ngx-decaf-list-item>
32
- *
33
- * @mermaid
34
- * sequenceDiagram
35
- * participant C as Component
36
- * participant V as View
37
- * participant U as User
38
- * C->>V: Initialize component
39
- * V->>U: Display list item
40
- * U->>V: Click on item or action
41
- * V->>C: Trigger handleAction()
42
- * C->>C: Process action
43
- * C->>V: Update view or navigate
44
- */
45
- export declare class ListItemComponent extends NgxBaseComponent implements OnInit {
46
- /**
47
- * @description Reference to the action menu popover component.
48
- * @summary ViewChild reference that provides access to the HTMLIonPopoverElement
49
- * used for displaying action menus. This reference is used to programmatically
50
- * control the popover, such as dismissing it when necessary.
51
- *
52
- * @type {HTMLIonPopoverElement}
53
- * @memberOf ListItemComponent
54
- */
55
- actionMenuComponent: HTMLIonPopoverElement;
56
- /**
57
- * @description Controls the display of lines around the list item.
58
- * @summary Determines how lines are displayed around the list item borders.
59
- * 'inset' shows lines with padding, 'full' shows full-width lines, and 'none'
60
- * removes all lines. This affects the visual separation between list items.
61
- *
62
- * @type {'inset' | 'full' | 'none'}
63
- * @default 'inset'
64
- * @memberOf ListItemComponent
65
- */
66
- lines: 'inset' | 'full' | 'none';
67
- /**
68
- * @description The data object associated with this list item.
69
- * @summary Contains the raw data that this list item represents. This object
70
- * is used to extract display information and for passing to event handlers
71
- * when the item is interacted with. It overrides the base item property.
72
- *
73
- * @type {Record<string, unknown>}
74
- * @memberOf ListItemComponent
75
- */
76
- item: Record<string, unknown>;
77
- /**
78
- * @description The name of the icon to display in the list item.
79
- * @summary Specifies which icon to display using Ionic's icon system.
80
- * The icon name should correspond to an available Ionic icon or a custom
81
- * icon that has been registered with the icon registry.
82
- *
83
- * @type {string}
84
- * @memberOf ListItemComponent
85
- */
86
- icon: string;
87
- /**
88
- * @description Position of the icon within the list item.
89
- * @summary Determines whether the icon appears at the start (left in LTR languages)
90
- * or end (right in LTR languages) of the list item. This affects the overall
91
- * layout and visual hierarchy of the item content.
92
- *
93
- * @type {'start' | 'end'}
94
- * @default 'start'
95
- * @memberOf ListItemComponent
96
- */
97
- iconSlot: 'start' | 'end';
98
- /**
99
- * @description Controls whether the list item behaves as a clickable button.
100
- * @summary When set to true, the list item will have button-like behavior including
101
- * hover effects, click handling, and appropriate accessibility attributes.
102
- * When false, the item is displayed as static content without interactive behavior.
103
- *
104
- * @type {StringOrBoolean}
105
- * @default true
106
- * @memberOf ListItemComponent
107
- */
108
- button: StringOrBoolean;
109
- /**
110
- * @description The main title text displayed in the list item.
111
- * @summary Sets the primary text content that appears prominently in the list item.
112
- * This is typically the most important information about the item and is displayed
113
- * with emphasis in the component's visual hierarchy.
114
- *
115
- * @type {string}
116
- * @memberOf ListItemComponent
117
- */
118
- title?: string;
119
- /**
120
- * @description Secondary descriptive text for the list item.
121
- * @summary Provides additional context or details about the item. This text
122
- * is typically displayed below the title with less visual emphasis.
123
- * Useful for providing context without cluttering the main title.
124
- *
125
- * @type {string}
126
- * @memberOf ListItemComponent
127
- */
128
- description?: string;
129
- /**
130
- * @description Additional information text for the list item.
131
- * @summary Displays supplementary information that provides extra context
132
- * about the item. This could include metadata, status information, or
133
- * other relevant details that don't fit in the title or description.
134
- *
135
- * @type {string}
136
- * @memberOf ListItemComponent
137
- */
138
- info?: string;
139
- /**
140
- * @description Sub-information text displayed in the list item.
141
- * @summary Provides tertiary level information that complements the info field.
142
- * This is typically used for additional metadata or contextual details
143
- * that are useful but not critical for understanding the item.
144
- *
145
- * @type {string}
146
- * @memberOf ListItemComponent
147
- */
148
- subinfo?: string;
149
- /**
150
- * @description Event emitter for list item click interactions.
151
- * @summary Emits custom events when the list item is clicked or when actions
152
- * are performed on it. The emitted event contains information about the action,
153
- * the item data, and other relevant context for parent components to handle.
154
- *
155
- * @type {EventEmitter<ListItemCustomEvent>}
156
- * @memberOf ListItemComponent
157
- */
158
- clickEvent: EventEmitter<ListItemCustomEvent>;
159
- /**
160
- * @description Flag indicating whether slide items are currently enabled.
161
- * @summary Controls the visibility of slide actions based on screen size and
162
- * available operations. When true, users can swipe on the item to reveal
163
- * action buttons for operations like edit and delete.
164
- *
165
- * @type {boolean}
166
- * @default false
167
- * @memberOf ListItemComponent
168
- */
169
- showSlideItems: boolean;
170
- /**
171
- * @description Current window width in pixels.
172
- * @summary Stores the current browser window width which is used to determine
173
- * responsive behavior, such as when to show or hide slide items based on
174
- * screen size. Updated automatically on window resize events.
175
- *
176
- * @type {number}
177
- * @memberOf ListItemComponent
178
- */
179
- windowWidth: number;
180
- /**
181
- * @description Flag indicating whether the action menu popover is currently open.
182
- * @summary Tracks the state of the action menu to prevent multiple instances
183
- * from being opened simultaneously and to ensure proper cleanup when actions
184
- * are performed. Used for managing the popover lifecycle.
185
- *
186
- * @type {boolean}
187
- * @default false
188
- * @memberOf ListItemComponent
189
- */
190
- actionMenuOpen: boolean;
191
- /**
192
- * @description Angular NavController service for handling navigation.
193
- * @summary Injected service that provides methods for programmatic navigation
194
- * within the Ionic application. Used for navigating to different routes when
195
- * list item actions are performed or when the item itself is clicked.
196
- *
197
- * @private
198
- * @type {NavController}
199
- * @memberOf ListItemComponent
200
- */
201
- private navController;
202
- /**
203
- * @description Creates an instance of ListItemComponent.
204
- * @summary Initializes a new ListItemComponent by calling the parent class constructor
205
- * with the component name for logging and identification purposes. Also registers
206
- * all available Ionic icons to ensure they can be displayed in the component.
207
- *
208
- * @memberOf ListItemComponent
209
- */
210
- constructor();
211
- /**
212
- * @description Initializes the component after Angular first displays the data-bound properties.
213
- * @summary Sets up the component by determining slide item visibility, processing boolean inputs,
214
- * building CSS class names based on properties, and capturing the current window width.
215
- * This method prepares the component for user interaction by ensuring all properties are
216
- * properly initialized and responsive behavior is configured.
217
- *
218
- * @mermaid
219
- * sequenceDiagram
220
- * participant A as Angular Lifecycle
221
- * participant L as ListItemComponent
222
- * participant W as Window
223
- *
224
- * A->>L: ngOnInit()
225
- * L->>L: enableSlideItems()
226
- * L->>L: Process button boolean
227
- * L->>L: Build className with flex classes
228
- * alt operations exist
229
- * L->>L: Add 'action' class
230
- * end
231
- * L->>W: getWindowWidth()
232
- * W-->>L: Return current width
233
- * L->>L: Store windowWidth
234
- *
235
- * @return {Promise<void>}
236
- * @memberOf ListItemComponent
237
- */
238
- ngOnInit(): Promise<void>;
239
- /**
240
- * @description Handles user interactions and actions performed on the list item.
241
- * @summary This method is the central action handler for list item interactions. It manages
242
- * event propagation, dismisses open action menus, removes focus traps, and either emits
243
- * events for parent components to handle or performs navigation based on the component's
244
- * route configuration. This method supports both event-driven and navigation-driven architectures.
245
- *
246
- * @param {CrudOperations} action - The type of CRUD operation being performed
247
- * @param {Event} event - The browser event that triggered the action
248
- * @param {HTMLElement} [target] - Optional target element for the event
249
- * @return {Promise<boolean|void>} A promise that resolves to navigation success or void for events
250
- *
251
- * @mermaid
252
- * sequenceDiagram
253
- * participant U as User
254
- * participant L as ListItemComponent
255
- * participant P as Parent Component
256
- * participant N as NavController
257
- * participant E as Event System
258
- *
259
- * U->>L: Perform action (click/swipe)
260
- * L->>L: stopImmediatePropagation()
261
- * alt actionMenuOpen
262
- * L->>L: Dismiss action menu
263
- * end
264
- * L->>L: removeFocusTrap()
265
- * alt No route configured
266
- * L->>E: windowEventEmitter()
267
- * L->>P: clickEvent.emit()
268
- * else Route configured
269
- * L->>N: redirect(action, uid)
270
- * N-->>L: Return navigation result
271
- * end
272
- *
273
- * @memberOf ListItemComponent
274
- */
275
- handleAction(action: CrudOperations, event: Event, target?: HTMLElement): Promise<boolean | void>;
276
- /**
277
- * @description Responsive handler that enables or disables slide items based on screen size and operations.
278
- * @summary This method is automatically called when the window is resized and also during component
279
- * initialization. It determines whether slide actions should be available based on the current
280
- * window width and the presence of UPDATE or DELETE operations. Slide items are typically hidden
281
- * on larger screens where there's space for dedicated action buttons.
282
- *
283
- * @return {boolean} True if slide items should be shown, false otherwise
284
- *
285
- * @mermaid
286
- * sequenceDiagram
287
- * participant W as Window
288
- * participant L as ListItemComponent
289
- * participant U as UI
290
- *
291
- * W->>L: resize event
292
- * L->>W: getWindowWidth()
293
- * W-->>L: Return current width
294
- * L->>L: Store windowWidth
295
- * alt No operations OR width > 639px
296
- * L->>U: showSlideItems = false
297
- * else Operations include UPDATE/DELETE
298
- * L->>U: showSlideItems = true
299
- * end
300
- * L-->>U: Return showSlideItems value
301
- *
302
- * @memberOf ListItemComponent
303
- */
304
- enableSlideItems(): boolean;
305
- /**
306
- * @description Animates and removes an element from the DOM.
307
- * @summary This method applies CSS animation classes to create a smooth fade-out effect
308
- * before removing the element from the DOM. The animation enhances user experience by
309
- * providing visual feedback when items are deleted or removed from lists. The timing
310
- * is coordinated with the CSS animation duration to ensure the element is removed
311
- * after the animation completes.
312
- *
313
- * @param {HTMLElement} element - The DOM element to animate and remove
314
- * @return {void}
315
- *
316
- * @mermaid
317
- * sequenceDiagram
318
- * participant L as ListItemComponent
319
- * participant E as HTMLElement
320
- * participant D as DOM
321
- *
322
- * L->>E: Add animation classes
323
- * Note over E: uk-animation-fade, uk-animation-medium, uk-animation-reverse
324
- * E->>E: Start fade animation
325
- * L->>L: setTimeout(600ms)
326
- * Note over L: Wait for animation to complete
327
- * L->>D: element.remove()
328
- * D->>D: Remove element from DOM
329
- *
330
- * @memberOf ListItemComponent
331
- */
332
- removeElement(element: HTMLElement): void;
333
- /**
334
- * @description Navigates to a new route based on the specified action and item ID.
335
- * @summary This method constructs a navigation URL using the component's route configuration,
336
- * the specified action, and an item identifier. It uses Ionic's NavController to perform
337
- * forward navigation with appropriate animations. This method is typically used for
338
- * CRUD operations where each action (create, read, update, delete) has its own route.
339
- *
340
- * @param {string} action - The action to be performed (e.g., 'edit', 'view', 'delete')
341
- * @param {string} [id] - The unique identifier of the item to be acted upon
342
- * @return {Promise<boolean>} A promise that resolves to true if navigation was successful
343
- *
344
- * @mermaid
345
- * sequenceDiagram
346
- * participant L as ListItemComponent
347
- * participant N as NavController
348
- * participant R as Router
349
- *
350
- * L->>L: redirect(action, id)
351
- * L->>L: Construct URL: /{route}/{action}/{id}
352
- * L->>N: navigateForward(url)
353
- * N->>R: Navigate to constructed URL
354
- * R-->>N: Return navigation result
355
- * N-->>L: Return boolean success
356
- *
357
- * @memberOf ListItemComponent
358
- */
359
- redirect(action: string, id?: string): Promise<boolean>;
360
- /**
361
- * @description Presents the actions menu popover for the list item.
362
- * @summary This method handles the display of a contextual action menu when triggered by user
363
- * interaction (typically a long press or right-click). It stops event propagation to prevent
364
- * unwanted side effects, removes any existing focus traps for accessibility, configures the
365
- * popover with the triggering event, and opens the action menu. The menu typically contains
366
- * available CRUD operations for the item.
367
- *
368
- * @param {Event} event - The event that triggered the action menu request
369
- * @return {void}
370
- *
371
- * @mermaid
372
- * sequenceDiagram
373
- * participant U as User
374
- * participant L as ListItemComponent
375
- * participant P as Popover
376
- * participant A as Accessibility
377
- *
378
- * U->>L: Trigger action menu (long press/right-click)
379
- * L->>L: stopImmediatePropagation()
380
- * L->>A: removeFocusTrap()
381
- * L->>P: Set event reference
382
- * L->>L: actionMenuOpen = true
383
- * L->>P: Display popover with actions
384
- *
385
- * @memberOf ListItemComponent
386
- */
387
- presentActionsMenu(event: Event): void;
388
- static ɵfac: i0.ɵɵFactoryDeclaration<ListItemComponent, never>;
389
- static ɵcmp: i0.ɵɵComponentDeclaration<ListItemComponent, "ngx-decaf-list-item", never, { "lines": { "alias": "lines"; "required": false; }; "item": { "alias": "item"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconSlot": { "alias": "iconSlot"; "required": false; }; "button": { "alias": "button"; "required": false; }; "title": { "alias": "title"; "required": false; }; "description": { "alias": "description"; "required": false; }; "info": { "alias": "info"; "required": false; }; "subinfo": { "alias": "subinfo"; "required": false; }; }, { "clickEvent": "clickEvent"; }, never, ["[slot='end']"], true, never>;
390
- }
@@ -1,97 +0,0 @@
1
- import { EventEmitter, OnChanges, OnDestroy, SimpleChanges, TemplateRef, ViewContainerRef } from '@angular/core';
2
- import { Model } from '@decaf-ts/decorator-validation';
3
- import { AngularDynamicOutput, RenderedModel } from '../../engine';
4
- import { RendererCustomEvent } from '../../engine/types';
5
- import * as i0 from "@angular/core";
6
- /**
7
- * @description Component for rendering dynamic models
8
- * @summary This component is responsible for dynamically rendering models,
9
- * handling model changes, and managing event subscriptions for the rendered components.
10
- * It uses the NgxRenderingEngine to render the models and supports both string and Model inputs.
11
- * @class
12
- * @template M - Type extending Model
13
- * @param {Injector} injector - Angular Injector for dependency injection
14
- * @example
15
- * <ngx-decaf-model-renderer
16
- * [model]="myModel"
17
- * [globals]="globalVariables"
18
- * (listenEvent)="handleEvent($event)">
19
- * </ngx-decaf-model-renderer>
20
- * @mermaid
21
- * sequenceDiagram
22
- * participant App
23
- * participant ModelRenderer
24
- * participant RenderingEngine
25
- * participant Model
26
- * App->>ModelRenderer: Input model
27
- * ModelRenderer->>Model: Parse if string
28
- * Model-->>ModelRenderer: Parsed model
29
- * ModelRenderer->>RenderingEngine: Render model
30
- * RenderingEngine-->>ModelRenderer: Rendered output
31
- * ModelRenderer->>ModelRenderer: Subscribe to events
32
- * ModelRenderer-->>App: Emit events
33
- */
34
- export declare class ModelRendererComponent<M extends Model> implements OnChanges, OnDestroy, RenderedModel {
35
- /**
36
- * @description Input model to be rendered
37
- * @summary Can be a Model instance or a JSON string representation of a model
38
- */
39
- model: M | string | undefined;
40
- /**
41
- * @description Global variables to be passed to the rendered component
42
- */
43
- globals: Record<string, unknown>;
44
- /**
45
- * @description Set if render content projection is allowed
46
- * @default true
47
- */
48
- projectable: boolean;
49
- /**
50
- * @description Template reference for inner content
51
- */
52
- inner?: TemplateRef<unknown>;
53
- /**
54
- * @description Output of the rendered model
55
- */
56
- output?: AngularDynamicOutput;
57
- /**
58
- * @description Unique identifier for the renderer
59
- */
60
- rendererId?: string;
61
- /**
62
- * @description View container reference for dynamic component rendering
63
- */
64
- vcr: ViewContainerRef;
65
- /**
66
- * @description Event emitter for custom events from the rendered component
67
- */
68
- listenEvent: EventEmitter<RendererCustomEvent>;
69
- /**
70
- * @description Instance of the rendered component
71
- */
72
- private instance;
73
- private injector;
74
- /**
75
- * @description Refreshes the rendered model
76
- * @param {string | M} model - The model to be rendered
77
- */
78
- private refresh;
79
- /**
80
- * @description Lifecycle hook that is called when data-bound properties of a directive change
81
- * @param {SimpleChanges} changes - Object containing changes
82
- */
83
- ngOnChanges(changes: SimpleChanges): void;
84
- /**
85
- * @description Lifecycle hook that is called when a directive, pipe, or service is destroyed
86
- * @return {Promise<void>}
87
- */
88
- ngOnDestroy(): Promise<void>;
89
- private subscribeEvents;
90
- /**
91
- * @description Unsubscribes from events emitted by the rendered component
92
- */
93
- private unsubscribeEvents;
94
- protected readonly JSON: JSON;
95
- static ɵfac: i0.ɵɵFactoryDeclaration<ModelRendererComponent<any>, never>;
96
- static ɵcmp: i0.ɵɵComponentDeclaration<ModelRendererComponent<any>, "ngx-decaf-model-renderer", never, { "model": { "alias": "model"; "required": true; }; "globals": { "alias": "globals"; "required": false; }; "projectable": { "alias": "projectable"; "required": false; }; "rendererId": { "alias": "rendererId"; "required": false; }; }, { "listenEvent": "listenEvent"; }, never, never, true, never>;
97
- }
@@ -1,7 +0,0 @@
1
- import { BaseCustomEvent } from "../../engine";
2
- export type PaginationCustomEvent = BaseCustomEvent & {
3
- data: {
4
- page: number;
5
- direction: 'next' | 'previous';
6
- };
7
- };