@fastkit/vui 0.18.27 → 0.18.29
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/vui.d.ts +22 -0
- package/dist/vui.mjs +9 -1
- package/dist/vui.mjs.map +1 -1
- package/package.json +14 -14
- package/src/service.tsx +12 -1
package/dist/vui.d.ts
CHANGED
|
@@ -778,6 +778,8 @@ declare const VDialog: vue.DefineComponent<{
|
|
|
778
778
|
};
|
|
779
779
|
includeElements: vue.PropType<() => Element[]>;
|
|
780
780
|
activator: vue.PropType<_fastkit_vue_stack.VStackActivatorQuery>;
|
|
781
|
+
resolveHandler: vue.PropType<_fastkit_vue_stack.StackableResolveHandler>;
|
|
782
|
+
cancelHandler: vue.PropType<_fastkit_vue_stack.StackableResolveHandler>;
|
|
781
783
|
} & {
|
|
782
784
|
dense: BooleanConstructor;
|
|
783
785
|
variant: vue.PropType<ColorVariant>;
|
|
@@ -902,6 +904,8 @@ declare const VDialog: vue.DefineComponent<{
|
|
|
902
904
|
};
|
|
903
905
|
includeElements: vue.PropType<() => Element[]>;
|
|
904
906
|
activator: vue.PropType<_fastkit_vue_stack.VStackActivatorQuery>;
|
|
907
|
+
resolveHandler: vue.PropType<_fastkit_vue_stack.StackableResolveHandler>;
|
|
908
|
+
cancelHandler: vue.PropType<_fastkit_vue_stack.StackableResolveHandler>;
|
|
905
909
|
} & {
|
|
906
910
|
dense: BooleanConstructor;
|
|
907
911
|
variant: vue.PropType<ColorVariant>;
|
|
@@ -1044,6 +1048,8 @@ declare const VSnackbar: vue.DefineComponent<{
|
|
|
1044
1048
|
};
|
|
1045
1049
|
includeElements: vue.PropType<() => Element[]>;
|
|
1046
1050
|
activator: vue.PropType<_fastkit_vue_stack.VStackActivatorQuery>;
|
|
1051
|
+
resolveHandler: vue.PropType<_fastkit_vue_stack.StackableResolveHandler>;
|
|
1052
|
+
cancelHandler: vue.PropType<_fastkit_vue_stack.StackableResolveHandler>;
|
|
1047
1053
|
} & {
|
|
1048
1054
|
variant: vue.PropType<ColorVariant>;
|
|
1049
1055
|
theme: vue.PropType<ThemeName>;
|
|
@@ -1171,6 +1177,8 @@ declare const VSnackbar: vue.DefineComponent<{
|
|
|
1171
1177
|
};
|
|
1172
1178
|
includeElements: vue.PropType<() => Element[]>;
|
|
1173
1179
|
activator: vue.PropType<_fastkit_vue_stack.VStackActivatorQuery>;
|
|
1180
|
+
resolveHandler: vue.PropType<_fastkit_vue_stack.StackableResolveHandler>;
|
|
1181
|
+
cancelHandler: vue.PropType<_fastkit_vue_stack.StackableResolveHandler>;
|
|
1174
1182
|
} & {
|
|
1175
1183
|
variant: vue.PropType<ColorVariant>;
|
|
1176
1184
|
theme: vue.PropType<ThemeName>;
|
|
@@ -1351,6 +1359,8 @@ declare const VMenu: vue.DefineComponent<{
|
|
|
1351
1359
|
};
|
|
1352
1360
|
includeElements: vue.PropType<() => Element[]>;
|
|
1353
1361
|
activator: vue.PropType<_fastkit_vue_stack.VStackActivatorQuery>;
|
|
1362
|
+
resolveHandler: vue.PropType<_fastkit_vue_stack.StackableResolveHandler>;
|
|
1363
|
+
cancelHandler: vue.PropType<_fastkit_vue_stack.StackableResolveHandler>;
|
|
1354
1364
|
} & {
|
|
1355
1365
|
variant: vue.PropType<ColorVariant>;
|
|
1356
1366
|
theme: vue.PropType<ThemeName>;
|
|
@@ -1510,6 +1520,8 @@ declare const VMenu: vue.DefineComponent<{
|
|
|
1510
1520
|
};
|
|
1511
1521
|
includeElements: vue.PropType<() => Element[]>;
|
|
1512
1522
|
activator: vue.PropType<_fastkit_vue_stack.VStackActivatorQuery>;
|
|
1523
|
+
resolveHandler: vue.PropType<_fastkit_vue_stack.StackableResolveHandler>;
|
|
1524
|
+
cancelHandler: vue.PropType<_fastkit_vue_stack.StackableResolveHandler>;
|
|
1513
1525
|
} & {
|
|
1514
1526
|
variant: vue.PropType<ColorVariant>;
|
|
1515
1527
|
theme: vue.PropType<ThemeName>;
|
|
@@ -1651,6 +1663,8 @@ declare const sheetModalProps: {
|
|
|
1651
1663
|
};
|
|
1652
1664
|
includeElements: PropType<() => Element[]>;
|
|
1653
1665
|
activator: PropType<_fastkit_vue_stack.VStackActivatorQuery>;
|
|
1666
|
+
resolveHandler: PropType<_fastkit_vue_stack.StackableResolveHandler>;
|
|
1667
|
+
cancelHandler: PropType<_fastkit_vue_stack.StackableResolveHandler>;
|
|
1654
1668
|
};
|
|
1655
1669
|
declare const VSheetModal: vue.DefineComponent<{
|
|
1656
1670
|
header: PropType<(control: VStackControl) => VNodeChild>;
|
|
@@ -1737,6 +1751,8 @@ declare const VSheetModal: vue.DefineComponent<{
|
|
|
1737
1751
|
};
|
|
1738
1752
|
includeElements: PropType<() => Element[]>;
|
|
1739
1753
|
activator: PropType<_fastkit_vue_stack.VStackActivatorQuery>;
|
|
1754
|
+
resolveHandler: PropType<_fastkit_vue_stack.StackableResolveHandler>;
|
|
1755
|
+
cancelHandler: PropType<_fastkit_vue_stack.StackableResolveHandler>;
|
|
1740
1756
|
}, {
|
|
1741
1757
|
stackControl: VStackControl;
|
|
1742
1758
|
hasActiveChild: vue.ComputedRef<boolean>;
|
|
@@ -1837,6 +1853,8 @@ declare const VSheetModal: vue.DefineComponent<{
|
|
|
1837
1853
|
};
|
|
1838
1854
|
includeElements: PropType<() => Element[]>;
|
|
1839
1855
|
activator: PropType<_fastkit_vue_stack.VStackActivatorQuery>;
|
|
1856
|
+
resolveHandler: PropType<_fastkit_vue_stack.StackableResolveHandler>;
|
|
1857
|
+
cancelHandler: PropType<_fastkit_vue_stack.StackableResolveHandler>;
|
|
1840
1858
|
}>> & {
|
|
1841
1859
|
onChange?: ((modelValue: boolean) => any) | undefined;
|
|
1842
1860
|
"onUpdate:modelValue"?: ((modelValue: boolean) => any) | undefined;
|
|
@@ -2138,6 +2156,8 @@ declare const VTooltip: vue.DefineComponent<{
|
|
|
2138
2156
|
};
|
|
2139
2157
|
includeElements: vue.PropType<() => Element[]>;
|
|
2140
2158
|
activator: vue.PropType<_fastkit_vue_stack__.VStackActivatorQuery>;
|
|
2159
|
+
resolveHandler: vue.PropType<_fastkit_vue_stack__.StackableResolveHandler>;
|
|
2160
|
+
cancelHandler: vue.PropType<_fastkit_vue_stack__.StackableResolveHandler>;
|
|
2141
2161
|
} & {
|
|
2142
2162
|
variant: vue.PropType<ColorVariant>;
|
|
2143
2163
|
theme: vue.PropType<ThemeName>;
|
|
@@ -2297,6 +2317,8 @@ declare const VTooltip: vue.DefineComponent<{
|
|
|
2297
2317
|
};
|
|
2298
2318
|
includeElements: vue.PropType<() => Element[]>;
|
|
2299
2319
|
activator: vue.PropType<_fastkit_vue_stack__.VStackActivatorQuery>;
|
|
2320
|
+
resolveHandler: vue.PropType<_fastkit_vue_stack__.StackableResolveHandler>;
|
|
2321
|
+
cancelHandler: vue.PropType<_fastkit_vue_stack__.StackableResolveHandler>;
|
|
2300
2322
|
} & {
|
|
2301
2323
|
variant: vue.PropType<ColorVariant>;
|
|
2302
2324
|
theme: vue.PropType<ThemeName>;
|
package/dist/vui.mjs
CHANGED
|
@@ -4846,13 +4846,21 @@ var VuiService = class {
|
|
|
4846
4846
|
key: key2
|
|
4847
4847
|
}) => {
|
|
4848
4848
|
const onClick = (ev) => _onClick(control, ev);
|
|
4849
|
+
control.guardInProgress;
|
|
4850
|
+
const _attrs = {
|
|
4851
|
+
disabled: control.guardInProgress,
|
|
4852
|
+
...attrs
|
|
4853
|
+
};
|
|
4854
|
+
if (key2 === "ok" && control.guardInProgress) {
|
|
4855
|
+
_attrs.loading = true;
|
|
4856
|
+
}
|
|
4849
4857
|
return factory({
|
|
4850
4858
|
service: this.stack,
|
|
4851
4859
|
control,
|
|
4852
4860
|
key: key2,
|
|
4853
4861
|
bindings: {
|
|
4854
4862
|
onClick,
|
|
4855
|
-
...
|
|
4863
|
+
..._attrs
|
|
4856
4864
|
}
|
|
4857
4865
|
});
|
|
4858
4866
|
},
|