@hotelinking/ui 14.47.17 → 14.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 +44 -3
- package/dist/ui.es.js +1877 -1695
- package/package.json +1 -1
package/dist/ui.d.ts
CHANGED
|
@@ -569,6 +569,47 @@ stacked: boolean;
|
|
|
569
569
|
height: number;
|
|
570
570
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
571
571
|
|
|
572
|
+
export declare const uiComparator: DefineComponent<UiComparatorInterface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
573
|
+
checkboxChanged: (section: string, fileNumber: 1 | 2, entryIndex: number, checked: boolean) => any;
|
|
574
|
+
compareButtonClicked: () => any;
|
|
575
|
+
fileSelected: (fileNumber: 1 | 2, file: File) => any;
|
|
576
|
+
generateNewFile: () => any;
|
|
577
|
+
}, string, PublicProps, Readonly<UiComparatorInterface> & Readonly<{
|
|
578
|
+
onCheckboxChanged?: ((section: string, fileNumber: 1 | 2, entryIndex: number, checked: boolean) => any) | undefined;
|
|
579
|
+
onCompareButtonClicked?: (() => any) | undefined;
|
|
580
|
+
onFileSelected?: ((fileNumber: 1 | 2, file: File) => any) | undefined;
|
|
581
|
+
onGenerateNewFile?: (() => any) | undefined;
|
|
582
|
+
}>, {
|
|
583
|
+
loading: true;
|
|
584
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
585
|
+
|
|
586
|
+
declare type UiComparatorCommand = {
|
|
587
|
+
file: "1" | "2";
|
|
588
|
+
entries: string[];
|
|
589
|
+
};
|
|
590
|
+
|
|
591
|
+
declare interface UiComparatorFileInterface {
|
|
592
|
+
[key: string]: UiComparatorCommand[];
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
export declare interface UiComparatorInterface {
|
|
596
|
+
toCompare: UiComparatorFileInterface;
|
|
597
|
+
loading: true;
|
|
598
|
+
literals: {
|
|
599
|
+
inputFile1Placeholder: string;
|
|
600
|
+
inputFile2Placeholder: string;
|
|
601
|
+
inputFile1DragAndDrop: string;
|
|
602
|
+
inputFile2DragAndDrop: string;
|
|
603
|
+
fileTypesAndSizes: string;
|
|
604
|
+
ignoreMinorDifferencesCheck: string;
|
|
605
|
+
compareFilesButton: string;
|
|
606
|
+
file1Content: string;
|
|
607
|
+
file2Content: string;
|
|
608
|
+
noResultsTitle: string;
|
|
609
|
+
noResultsMessage: string;
|
|
610
|
+
};
|
|
611
|
+
}
|
|
612
|
+
|
|
572
613
|
export declare const uiDateRange: DefineComponent<UiDateRangeInterface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
573
614
|
uiDateRangeButtonClicked: (t: {
|
|
574
615
|
from: string | Date;
|
|
@@ -1040,16 +1081,16 @@ export declare interface UiNoResultsInterface {
|
|
|
1040
1081
|
/** message string literal */
|
|
1041
1082
|
message: string;
|
|
1042
1083
|
/** uiButtons array */
|
|
1043
|
-
actions
|
|
1084
|
+
actions?: {
|
|
1044
1085
|
/** action to emit when clicked */
|
|
1045
1086
|
action: string;
|
|
1046
1087
|
/** string literal */
|
|
1047
1088
|
text: string;
|
|
1048
1089
|
}[];
|
|
1049
1090
|
/** want to add more options, add items */
|
|
1050
|
-
items
|
|
1091
|
+
items?: UiDropdownItemType[];
|
|
1051
1092
|
/** default selected item */
|
|
1052
|
-
select
|
|
1093
|
+
select?: UiDropdownItemType;
|
|
1053
1094
|
}
|
|
1054
1095
|
|
|
1055
1096
|
export declare const uiNotification: DefineComponent<UiNotificationInterface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|