@hotelinking/ui 16.47.1 → 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.cjs +1 -1
- package/dist/ui.d.ts +65 -0
- package/dist/ui.es.js +2241 -1950
- package/package.json +1 -1
package/dist/ui.d.ts
CHANGED
|
@@ -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: {
|