@hotelinking/ui 16.47.0 → 16.48.0

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/dist/ui.d.ts CHANGED
@@ -153,8 +153,8 @@ declare function install(app: App): void;
153
153
  export declare const MonoColors: readonly ["black", "gray", "white"];
154
154
 
155
155
  declare interface Props {
156
- /** Idioma del componente: 'esp' para español, 'eng' para inglés */
157
- lang?: 'esp' | 'eng';
156
+ /** Idioma del componente: 'es' para español, 'en' para inglés (ISO 639-1) */
157
+ lang?: 'es' | 'en';
158
158
  /** Enlace de soporte técnico */
159
159
  supportLink?: string;
160
160
  }
@@ -235,7 +235,7 @@ declare const Types: string[];
235
235
  declare type Types_2 = (typeof Types)[number];
236
236
 
237
237
  export declare const ui404: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {
238
- lang: "esp" | "eng";
238
+ lang: "es" | "en";
239
239
  supportLink: string;
240
240
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLElement>;
241
241
 
@@ -362,6 +362,71 @@ export declare interface UiCardInterface {
362
362
  loading: boolean;
363
363
  }
364
364
 
365
+ export declare const uiCardWithImage: DefineComponent<UiCardWithImageInterface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
366
+ menuClick: (id: string) => any;
367
+ actionClick: (data: {
368
+ id: string;
369
+ action: "copy" | "edit" | "delete";
370
+ }) => any;
371
+ }, string, PublicProps, Readonly<UiCardWithImageInterface> & Readonly<{
372
+ onMenuClick?: ((id: string) => any) | undefined;
373
+ onActionClick?: ((data: {
374
+ id: string;
375
+ action: "copy" | "edit" | "delete";
376
+ }) => any) | undefined;
377
+ }>, {
378
+ loading: boolean;
379
+ badgeColor: "primary" | "secondary" | "light" | "green" | "yellow" | "red" | "black" | "gray" | "white";
380
+ showMenu: boolean;
381
+ showActions: boolean;
382
+ showImageOverlay: boolean;
383
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
384
+
385
+ export declare interface UiCardWithImageEventsInterface {
386
+ /** Emits when menu is clicked */
387
+ (e: "menuClick", id: string): void;
388
+ /** Emits when an action button is clicked */
389
+ (e: "actionClick", data: {
390
+ id: string;
391
+ action: "edit" | "copy" | "delete";
392
+ }): void;
393
+ }
394
+
395
+ export declare interface UiCardWithImageInterface {
396
+ /** card id */
397
+ id: string;
398
+ /** icon component from Heroicons */
399
+ icon?: FunctionalComponent;
400
+ /** card title */
401
+ title: string;
402
+ /** card subtitle */
403
+ subtitle?: string;
404
+ /** image url */
405
+ image: string;
406
+ /** body text content */
407
+ bodyText?: string;
408
+ /** badge text (e.g., "EMAIL") */
409
+ badge?: string;
410
+ /** badge color */
411
+ badgeColor?: AllColors_2;
412
+ /** updated date string */
413
+ updatedDate?: string;
414
+ /** show skeleton */
415
+ loading: boolean;
416
+ /** show menu button */
417
+ showMenu?: boolean;
418
+ /** show action buttons */
419
+ showActions?: boolean;
420
+ /** show image overlay icon */
421
+ showImageOverlay?: boolean;
422
+ /** action button labels */
423
+ actionLabels?: {
424
+ edit?: string;
425
+ copy?: string;
426
+ delete?: string;
427
+ };
428
+ }
429
+
365
430
  export declare const uiChart: DefineComponent<UiChartInterface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
366
431
  selectedRange: (T: {
367
432
  range: {