@hotelinking/ui 14.47.16 → 14.47.18
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 +26 -32
- package/dist/ui.es.js +4 -3
- package/package.json +1 -1
package/dist/ui.d.ts
CHANGED
|
@@ -2,14 +2,8 @@ import { App } from 'vue';
|
|
|
2
2
|
import { ComponentOptionsMixin } from 'vue';
|
|
3
3
|
import { ComponentProvideOptions } from 'vue';
|
|
4
4
|
import { DefineComponent } from 'vue';
|
|
5
|
-
import { FileInputType as FileInputType_2 } from '../../../types';
|
|
6
5
|
import { FunctionalComponent } from 'vue';
|
|
7
|
-
import { InputType as InputType_2 } from '../../../types';
|
|
8
6
|
import { PublicProps } from 'vue';
|
|
9
|
-
import { SelectItemType as SelectItemType_2 } from '../../../types';
|
|
10
|
-
import { UiCheckboxType as UiCheckboxType_2 } from '../../../types';
|
|
11
|
-
import { UiDropdownItemType as UiDropdownItemType_2 } from '../../../types';
|
|
12
|
-
import { UiTagInterface as UiTagInterface_2 } from '../../../types';
|
|
13
7
|
|
|
14
8
|
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
15
9
|
new (): {
|
|
@@ -359,14 +353,14 @@ cardSelected: (T: {
|
|
|
359
353
|
id: string;
|
|
360
354
|
name: string;
|
|
361
355
|
type: string;
|
|
362
|
-
tags:
|
|
356
|
+
tags: UiTagInterface[] | undefined;
|
|
363
357
|
}) => any;
|
|
364
358
|
}, string, PublicProps, Readonly<UiCardInterface> & Readonly<{
|
|
365
359
|
onCardSelected?: ((T: {
|
|
366
360
|
id: string;
|
|
367
361
|
name: string;
|
|
368
362
|
type: string;
|
|
369
|
-
tags:
|
|
363
|
+
tags: UiTagInterface[] | undefined;
|
|
370
364
|
}) => any) | undefined;
|
|
371
365
|
}>, {
|
|
372
366
|
loading: boolean;
|
|
@@ -508,9 +502,9 @@ export declare interface UiChartInterface {
|
|
|
508
502
|
}
|
|
509
503
|
|
|
510
504
|
export declare const uiCheckbox: __VLS_WithTemplateSlots_2<DefineComponent<UiCheckboxInterface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
511
|
-
checkboxChanged: (checkbox:
|
|
505
|
+
checkboxChanged: (checkbox: UiCheckboxType) => any;
|
|
512
506
|
}, string, PublicProps, Readonly<UiCheckboxInterface> & Readonly<{
|
|
513
|
-
onCheckboxChanged?: ((checkbox:
|
|
507
|
+
onCheckboxChanged?: ((checkbox: UiCheckboxType) => any) | undefined;
|
|
514
508
|
}>, {
|
|
515
509
|
disabled: boolean;
|
|
516
510
|
loading: boolean;
|
|
@@ -864,11 +858,11 @@ export declare interface UiIconInterface {
|
|
|
864
858
|
}
|
|
865
859
|
|
|
866
860
|
export declare const uiInput: DefineComponent<UiInputInterface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
867
|
-
inputChanged: (T:
|
|
861
|
+
inputChanged: (T: InputType) => any;
|
|
868
862
|
rightAddOnClicked: () => any;
|
|
869
863
|
addOnClicked: () => any;
|
|
870
864
|
}, string, PublicProps, Readonly<UiInputInterface> & Readonly<{
|
|
871
|
-
onInputChanged?: ((T:
|
|
865
|
+
onInputChanged?: ((T: InputType) => any) | undefined;
|
|
872
866
|
onRightAddOnClicked?: (() => any) | undefined;
|
|
873
867
|
onAddOnClicked?: (() => any) | undefined;
|
|
874
868
|
}>, {
|
|
@@ -888,9 +882,9 @@ export declare interface UiInputEventsInterface {
|
|
|
888
882
|
}
|
|
889
883
|
|
|
890
884
|
export declare const uiInputFile: DefineComponent<UiInputFileInterface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
891
|
-
filesUploaded: (T:
|
|
885
|
+
filesUploaded: (T: FileInputType) => any;
|
|
892
886
|
}, string, PublicProps, Readonly<UiInputFileInterface> & Readonly<{
|
|
893
|
-
onFilesUploaded?: ((T:
|
|
887
|
+
onFilesUploaded?: ((T: FileInputType) => any) | undefined;
|
|
894
888
|
}>, {
|
|
895
889
|
loading: boolean;
|
|
896
890
|
icon: FunctionalComponent< {}, {}, any, {}>;
|
|
@@ -1027,10 +1021,10 @@ export declare interface UiModalInterface {
|
|
|
1027
1021
|
|
|
1028
1022
|
export declare const uiNoResults: DefineComponent<UiNoResultsInterface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1029
1023
|
action: (T: string) => any;
|
|
1030
|
-
noResultsOptionSelected: (T:
|
|
1024
|
+
noResultsOptionSelected: (T: UiDropdownItemType) => any;
|
|
1031
1025
|
}, string, PublicProps, Readonly<UiNoResultsInterface> & Readonly<{
|
|
1032
1026
|
onAction?: ((T: string) => any) | undefined;
|
|
1033
|
-
onNoResultsOptionSelected?: ((T:
|
|
1027
|
+
onNoResultsOptionSelected?: ((T: UiDropdownItemType) => any) | undefined;
|
|
1034
1028
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1035
1029
|
|
|
1036
1030
|
export declare interface UiNoResultsEventsInterface {
|
|
@@ -1413,11 +1407,11 @@ export declare interface UiSidebarInterface {
|
|
|
1413
1407
|
}
|
|
1414
1408
|
|
|
1415
1409
|
export declare const uiSidebarV2: DefineComponent<UiSidebarV2Interface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1416
|
-
inputChanged: (T:
|
|
1410
|
+
inputChanged: (T: InputType) => any;
|
|
1417
1411
|
sideBarClick: (t: string) => any;
|
|
1418
1412
|
productBarClick: (t: string) => any;
|
|
1419
1413
|
}, string, PublicProps, Readonly<UiSidebarV2Interface> & Readonly<{
|
|
1420
|
-
onInputChanged?: ((T:
|
|
1414
|
+
onInputChanged?: ((T: InputType) => any) | undefined;
|
|
1421
1415
|
onSideBarClick?: ((t: string) => any) | undefined;
|
|
1422
1416
|
onProductBarClick?: ((t: string) => any) | undefined;
|
|
1423
1417
|
}>, {
|
|
@@ -1486,15 +1480,15 @@ export declare interface UiSidebarV2Interface {
|
|
|
1486
1480
|
export declare const uiSmartFilter: DefineComponent<UiSmartFilterInterface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1487
1481
|
rightAddOnClicked: () => any;
|
|
1488
1482
|
smartFilterSelected: (T: string) => any;
|
|
1489
|
-
smartInputChanged: (T:
|
|
1490
|
-
smartSelectChanged: (T:
|
|
1491
|
-
smartOptionSelected: (T:
|
|
1483
|
+
smartInputChanged: (T: InputType) => any;
|
|
1484
|
+
smartSelectChanged: (T: SelectItemType[]) => any;
|
|
1485
|
+
smartOptionSelected: (T: UiDropdownItemType) => any;
|
|
1492
1486
|
}, string, PublicProps, Readonly<UiSmartFilterInterface> & Readonly<{
|
|
1493
1487
|
onRightAddOnClicked?: (() => any) | undefined;
|
|
1494
1488
|
onSmartFilterSelected?: ((T: string) => any) | undefined;
|
|
1495
|
-
onSmartInputChanged?: ((T:
|
|
1496
|
-
onSmartSelectChanged?: ((T:
|
|
1497
|
-
onSmartOptionSelected?: ((T:
|
|
1489
|
+
onSmartInputChanged?: ((T: InputType) => any) | undefined;
|
|
1490
|
+
onSmartSelectChanged?: ((T: SelectItemType[]) => any) | undefined;
|
|
1491
|
+
onSmartOptionSelected?: ((T: UiDropdownItemType) => any) | undefined;
|
|
1498
1492
|
}>, {
|
|
1499
1493
|
loading: boolean;
|
|
1500
1494
|
showFilterButton: boolean;
|
|
@@ -1544,7 +1538,7 @@ export declare const uiSmartFilterMultiple: DefineComponent<UiSmartFilterInterfa
|
|
|
1544
1538
|
rightAddOnClicked: () => any;
|
|
1545
1539
|
smartFilterSelected: (value: string) => any;
|
|
1546
1540
|
smartInputChanged: (value: InputType) => any;
|
|
1547
|
-
smartSelectChanged: (value:
|
|
1541
|
+
smartSelectChanged: (value: SelectItemType[]) => any;
|
|
1548
1542
|
smartOptionSelected: (value: UiDropdownItemType) => any;
|
|
1549
1543
|
smartFilterMultipleSent: (filters: {
|
|
1550
1544
|
name: string;
|
|
@@ -1554,7 +1548,7 @@ value: any;
|
|
|
1554
1548
|
onRightAddOnClicked?: (() => any) | undefined;
|
|
1555
1549
|
onSmartFilterSelected?: ((value: string) => any) | undefined;
|
|
1556
1550
|
onSmartInputChanged?: ((value: InputType) => any) | undefined;
|
|
1557
|
-
onSmartSelectChanged?: ((value:
|
|
1551
|
+
onSmartSelectChanged?: ((value: SelectItemType[]) => any) | undefined;
|
|
1558
1552
|
onSmartOptionSelected?: ((value: UiDropdownItemType) => any) | undefined;
|
|
1559
1553
|
onSmartFilterMultipleSent?: ((filters: {
|
|
1560
1554
|
name: string;
|
|
@@ -2062,18 +2056,18 @@ export declare interface UiTopbarInterface {
|
|
|
2062
2056
|
}
|
|
2063
2057
|
|
|
2064
2058
|
export declare const uiWrapper: __VLS_WithTemplateSlots_8<DefineComponent<UiWrapperInterface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
2065
|
-
checkboxChanged: (checkbox:
|
|
2066
|
-
inputChanged: (T:
|
|
2067
|
-
selectChanged: (T:
|
|
2059
|
+
checkboxChanged: (checkbox: UiCheckboxType) => any;
|
|
2060
|
+
inputChanged: (T: InputType) => any;
|
|
2061
|
+
selectChanged: (T: SelectItemType | SelectItemType[]) => any;
|
|
2068
2062
|
sideBarClick: (t: string) => any;
|
|
2069
2063
|
productBarClick: (t: string) => any;
|
|
2070
2064
|
topBarClick: (T: string) => any;
|
|
2071
2065
|
sidebarToggle: (T: boolean) => any;
|
|
2072
2066
|
bellClick: () => any;
|
|
2073
2067
|
}, string, PublicProps, Readonly<UiWrapperInterface> & Readonly<{
|
|
2074
|
-
onCheckboxChanged?: ((checkbox:
|
|
2075
|
-
onInputChanged?: ((T:
|
|
2076
|
-
onSelectChanged?: ((T:
|
|
2068
|
+
onCheckboxChanged?: ((checkbox: UiCheckboxType) => any) | undefined;
|
|
2069
|
+
onInputChanged?: ((T: InputType) => any) | undefined;
|
|
2070
|
+
onSelectChanged?: ((T: SelectItemType | SelectItemType[]) => any) | undefined;
|
|
2077
2071
|
onSideBarClick?: ((t: string) => any) | undefined;
|
|
2078
2072
|
onProductBarClick?: ((t: string) => any) | undefined;
|
|
2079
2073
|
onTopBarClick?: ((T: string) => any) | undefined;
|
package/dist/ui.es.js
CHANGED
|
@@ -1405,6 +1405,7 @@ const Bl = { class: "flex justify-between" }, Ml = {
|
|
|
1405
1405
|
"onUpdate:modelValue": o[1] || (o[1] = (t) => i.value = t),
|
|
1406
1406
|
class: y([
|
|
1407
1407
|
i.value ? "bg-lime-400" : "bg-black",
|
|
1408
|
+
s.disabled ? "!bg-gray-100" : "",
|
|
1408
1409
|
"relative inline-flex h-6 w-11 flex-shrink-0 cursor-pointer rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out focus:outline-none focus:ring-2 focus:ring-lime-400 focus:ring-offset-2"
|
|
1409
1410
|
])
|
|
1410
1411
|
}, {
|
|
@@ -4957,7 +4958,7 @@ const hr = /* @__PURE__ */ se(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
4957
4958
|
default: f(({ active: h }) => [
|
|
4958
4959
|
e("a", {
|
|
4959
4960
|
onClick: (v) => t.$emit("topBarClick", d.id),
|
|
4960
|
-
class: y([h ? "bg-gray-50" : "", "block px-3 py-1 text-sm leading-6 text-gray-900"])
|
|
4961
|
+
class: y([h ? "bg-gray-50" : "", "block px-3 py-1 text-sm leading-6 text-gray-900 cursor-pointer"])
|
|
4961
4962
|
}, g(d.name), 11, jd)
|
|
4962
4963
|
]),
|
|
4963
4964
|
_: 2
|
|
@@ -5591,8 +5592,8 @@ const qe = /* @__PURE__ */ se(Rd, [["render", Ud]]), Hd = { class: "flex flex-co
|
|
|
5591
5592
|
default: f(() => [
|
|
5592
5593
|
z(g(r.literals.filter), 1)
|
|
5593
5594
|
]),
|
|
5594
|
-
_:
|
|
5595
|
-
},
|
|
5595
|
+
_: 1
|
|
5596
|
+
}, 8, ["icon", "onClick"])
|
|
5596
5597
|
])
|
|
5597
5598
|
])
|
|
5598
5599
|
]),
|