@openmfp/ngx 0.10.6 → 0.11.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openmfp/ngx",
3
- "version": "0.10.6",
3
+ "version": "0.11.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/openmfp/webcomponents.git"
@@ -473,6 +473,8 @@ declare class Dashboard implements OnInit, OnDestroy {
473
473
  cardsPosition: Map<string, {
474
474
  x?: number;
475
475
  y?: number;
476
+ w?: number;
477
+ h?: number;
476
478
  }>;
477
479
  looseCards: _angular_core.WritableSignal<CardConfig[]>;
478
480
  private newGridStackNodes;
@@ -486,25 +488,31 @@ declare class Dashboard implements OnInit, OnDestroy {
486
488
  removeCard(id: string): void;
487
489
  openCardPanel(): void;
488
490
  closeCardPanel(): void;
489
- onCardsAdded(cards: CardConfig[]): void;
490
- onOrderChange(event: nodesCB): void;
491
+ onCardsEdited(event: {
492
+ added: CardConfig[];
493
+ removed: string[];
494
+ }): void;
495
+ onGridChange(event: nodesCB): void;
491
496
  private saveCardsPosition;
492
497
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<Dashboard, never>;
493
498
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<Dashboard, "mfp-dashboard", never, { "config": { "alias": "config"; "required": true; "isSignal": true; }; "sections": { "alias": "sections"; "required": false; "isSignal": true; }; "cards": { "alias": "cards"; "required": false; "isSignal": true; }; "availableCards": { "alias": "availableCards"; "required": false; "isSignal": true; }; }, { "sections": "sectionsChange"; "cards": "cardsChange"; "saved": "saved"; "actionButtonClick": "actionButtonClick"; }, never, ["[slot=dashboard-subheader]"], true, never>;
494
499
  }
495
500
 
496
- declare class AddCardDialog {
501
+ declare class EditCardsDialog {
497
502
  availableCards: _angular_core.InputSignal<CardConfig[]>;
498
503
  addedCardsIds: _angular_core.InputSignal<Set<string>>;
499
504
  open: _angular_core.InputSignal<boolean>;
500
- readonly confirm: _angular_core.OutputEmitterRef<CardConfig[]>;
505
+ readonly confirm: _angular_core.OutputEmitterRef<{
506
+ added: CardConfig[];
507
+ removed: string[];
508
+ }>;
501
509
  readonly cancelled: _angular_core.OutputEmitterRef<void>;
502
510
  selectedIds: _angular_core.WritableSignal<Set<string>>;
503
511
  constructor();
504
512
  toggle(id: string): void;
505
- confirmAdd(): void;
506
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<AddCardDialog, never>;
507
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<AddCardDialog, "mfp-add-card-dialog", never, { "availableCards": { "alias": "availableCards"; "required": false; "isSignal": true; }; "addedCardsIds": { "alias": "addedCardsIds"; "required": false; "isSignal": true; }; "open": { "alias": "open"; "required": false; "isSignal": true; }; }, { "confirm": "confirm"; "cancelled": "cancelled"; }, never, never, true, never>;
513
+ confirmSave(): void;
514
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<EditCardsDialog, never>;
515
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<EditCardsDialog, "mfp-edit-cards-dialog", never, { "availableCards": { "alias": "availableCards"; "required": false; "isSignal": true; }; "addedCardsIds": { "alias": "addedCardsIds"; "required": false; "isSignal": true; }; "open": { "alias": "open"; "required": false; "isSignal": true; }; }, { "confirm": "confirm"; "cancelled": "cancelled"; }, never, never, true, never>;
508
516
  }
509
517
 
510
518
  declare class DashboardCard {
@@ -1171,5 +1179,5 @@ declare class WhatsNew {
1171
1179
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<WhatsNew, "mfp-whats-new", never, {}, {}, never, never, true, never>;
1172
1180
  }
1173
1181
 
1174
- export { AddCardDialog, BooleanValue, CARD_TYPES, Dashboard, DashboardCard, DashboardSection, DeclarativeForm, DeclarativeTable, DeclarativeTableCard, Favorites, LinkValue, ResourceField, SecretValue, ServiceStatusCard, TagListValue, VisitedServiceCard, WhatsNew };
1182
+ export { BooleanValue, CARD_TYPES, Dashboard, DashboardCard, DashboardSection, DeclarativeForm, DeclarativeTable, DeclarativeTableCard, EditCardsDialog, Favorites, LinkValue, ResourceField, SecretValue, ServiceStatusCard, TagListValue, VisitedServiceCard, WhatsNew };
1175
1183
  export type { ButtonSettings, CardConfig, CardsType, CssRule, CssRuleCondition, DashboardButtonsSettings, DashboardConfig, DeleteResourceConfirmationConfig, FieldDefinition, FormFieldChangeEvent, FormFieldDefinition, FormFieldErrors, GenericResource, IconDesignType, ModalSettings, PropertyField, ResourceFieldButtonClickEvent, ResourceFormConfig, SectionConfig, ServiceStatusItem, ServiceStatusValue, TableCardButtonSettings, TableCardConfig, TableCardFormState, TableConfig, TableFieldDefinition, TransformType, UiSettings };