@maro-tech/card 0.0.1 → 0.0.2

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.
@@ -608,5 +608,5 @@ const UI_ENTITY_CARD_HOST = new InjectionToken('UI_ENTITY_CARD_HOST');
608
608
  * Generated bundle index. Do not edit.
609
609
  */
610
610
 
611
- export { CARD_ACTION_COMPLETED, CARD_ACTION_FINISHED, CARD_ACTION_REQUESTED, CARD_ACTION_STARTED, CardComponent, CardSectionHeaderComponent, ENTITY_UPDATED, UI_CARD_TAB_REGISTRY, UI_ENTITY_CARD_HOST };
611
+ export { CARD_ACTION_COMPLETED, CARD_ACTION_FINISHED, CARD_ACTION_REQUESTED, CARD_ACTION_STARTED, CardComponent, CardSectionHeaderComponent, ENTITY_UPDATED, ImagesViewerComponent, UI_CARD_TAB_REGISTRY, UI_ENTITY_CARD_HOST };
612
612
  //# sourceMappingURL=maro-tech-card.mjs.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maro-tech/card",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^21.2.0",
@@ -175,5 +175,24 @@ declare class CardSectionHeaderComponent {
175
175
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<CardSectionHeaderComponent, "app-card-section-header", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "actions": { "alias": "actions"; "required": false; "isSignal": true; }; "entity": { "alias": "entity"; "required": true; "isSignal": true; }; "recordId": { "alias": "recordId"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
176
176
  }
177
177
 
178
- export { CARD_ACTION_COMPLETED, CARD_ACTION_FINISHED, CARD_ACTION_REQUESTED, CARD_ACTION_STARTED, CardComponent, CardSectionHeaderComponent, ENTITY_UPDATED, UI_CARD_TAB_REGISTRY, UI_ENTITY_CARD_HOST };
178
+ declare class ImagesViewerComponent {
179
+ readonly urls: _angular_core.InputSignal<string[]>;
180
+ readonly initialIndex: _angular_core.InputSignal<number>;
181
+ readonly currentIndex: _angular_core.WritableSignal<number>;
182
+ readonly closed: _angular_core.OutputEmitterRef<void>;
183
+ constructor();
184
+ onEscape(): void;
185
+ onArrowLeft(): void;
186
+ onArrowRight(): void;
187
+ closeViewer(): void;
188
+ showPreviousImage(): void;
189
+ showNextImage(): void;
190
+ get imageViewerTransform(): string;
191
+ get imageViewerTransitionStyle(): string;
192
+ getThumbnailUrl(url: string): string;
193
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ImagesViewerComponent, never>;
194
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ImagesViewerComponent, "app-images-viewer", never, { "urls": { "alias": "urls"; "required": false; "isSignal": true; }; "initialIndex": { "alias": "initialIndex"; "required": false; "isSignal": true; }; }, { "closed": "closed"; }, never, never, true, never>;
195
+ }
196
+
197
+ export { CARD_ACTION_COMPLETED, CARD_ACTION_FINISHED, CARD_ACTION_REQUESTED, CARD_ACTION_STARTED, CardComponent, CardSectionHeaderComponent, ENTITY_UPDATED, ImagesViewerComponent, UI_CARD_TAB_REGISTRY, UI_ENTITY_CARD_HOST };
179
198
  export type { ApiPluginConfig, ApiPluginMethod, CardActionContext, CardActionLifecycleEvent, CardActionRequestedEvent, EntityUpdatedEvent, UiCardLayout, UiCardLayoutInput, UiCardTabComponent, UiCardTabConfig, UiCardTabField, UiCardTabRegistration, UiEntityCardAction, UiEntityCardHost, UiEntityCardResponse, UiEntityCardTab };