@mintplayer/ng-spark 0.0.7 → 0.0.8

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mintplayer/ng-spark",
3
3
  "private": false,
4
- "version": "0.0.7",
4
+ "version": "0.0.8",
5
5
  "description": "Angular component library for MintPlayer.Spark CRUD applications",
6
6
  "repository": {
7
7
  "type": "git",
@@ -226,6 +226,7 @@ interface RetryActionResult {
226
226
  }
227
227
 
228
228
  interface EntityPermissions {
229
+ canRead: boolean;
229
230
  canCreate: boolean;
230
231
  canEdit: boolean;
231
232
  canDelete: boolean;
@@ -501,6 +502,7 @@ declare class SparkQueryListComponent {
501
502
  lookupReferenceOptions: _angular_core.WritableSignal<Record<string, LookupReference>>;
502
503
  paginationData: _angular_core.WritableSignal<PaginationResponse<PersistentObject>>;
503
504
  searchTerm: string;
505
+ canRead: _angular_core.WritableSignal<boolean>;
504
506
  canCreate: _angular_core.WritableSignal<boolean>;
505
507
  settings: DatatableSettings;
506
508
  private currentSortProperty;
@@ -519,14 +521,12 @@ declare class SparkQueryListComponent {
519
521
  getColumnRendererComponent(attr: EntityAttributeDefinition): Type<any> | null;
520
522
  getColumnRendererInputs(item: PersistentObject, attr: EntityAttributeDefinition): Record<string, any>;
521
523
  private loadLookupReferenceOptions;
522
- onRowClick(item: PersistentObject): void;
523
524
  onCreate(): void;
524
525
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<SparkQueryListComponent, never>;
525
526
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<SparkQueryListComponent, "spark-query-list", never, { "extraActionsTemplate": { "alias": "extraActionsTemplate"; "required": false; "isSignal": true; }; }, { "rowClicked": "rowClicked"; "createClicked": "createClicked"; }, never, never, true, never>;
526
527
  }
527
528
 
528
529
  declare class SparkSubQueryComponent {
529
- private readonly router;
530
530
  private readonly sparkService;
531
531
  private readonly rendererRegistry;
532
532
  queryId: _angular_core.InputSignal<string>;
@@ -538,13 +538,13 @@ declare class SparkSubQueryComponent {
538
538
  items: _angular_core.WritableSignal<PersistentObject[]>;
539
539
  lookupReferenceOptions: _angular_core.WritableSignal<Record<string, LookupReference>>;
540
540
  loading: _angular_core.WritableSignal<boolean>;
541
+ canRead: _angular_core.WritableSignal<boolean>;
541
542
  visibleAttributes: _angular_core.Signal<EntityAttributeDefinition[]>;
542
543
  constructor();
543
544
  private loadData;
544
545
  private loadLookupReferenceOptions;
545
546
  getColumnRendererComponent(attr: EntityAttributeDefinition): Type<any> | null;
546
547
  getColumnRendererInputs(item: PersistentObject, attr: EntityAttributeDefinition): Record<string, any>;
547
- onRowClick(item: PersistentObject): void;
548
548
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<SparkSubQueryComponent, never>;
549
549
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<SparkSubQueryComponent, "spark-sub-query", never, { "queryId": { "alias": "queryId"; "required": true; "isSignal": true; }; "parentId": { "alias": "parentId"; "required": true; "isSignal": true; }; "parentType": { "alias": "parentType"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
550
550
  }