@fastkit/vui 0.18.27 → 0.18.28

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 CHANGED
@@ -778,6 +778,7 @@ 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>;
781
782
  } & {
782
783
  dense: BooleanConstructor;
783
784
  variant: vue.PropType<ColorVariant>;
@@ -902,6 +903,7 @@ declare const VDialog: vue.DefineComponent<{
902
903
  };
903
904
  includeElements: vue.PropType<() => Element[]>;
904
905
  activator: vue.PropType<_fastkit_vue_stack.VStackActivatorQuery>;
906
+ resolveHandler: vue.PropType<_fastkit_vue_stack.StackableResolveHandler>;
905
907
  } & {
906
908
  dense: BooleanConstructor;
907
909
  variant: vue.PropType<ColorVariant>;
@@ -1044,6 +1046,7 @@ declare const VSnackbar: vue.DefineComponent<{
1044
1046
  };
1045
1047
  includeElements: vue.PropType<() => Element[]>;
1046
1048
  activator: vue.PropType<_fastkit_vue_stack.VStackActivatorQuery>;
1049
+ resolveHandler: vue.PropType<_fastkit_vue_stack.StackableResolveHandler>;
1047
1050
  } & {
1048
1051
  variant: vue.PropType<ColorVariant>;
1049
1052
  theme: vue.PropType<ThemeName>;
@@ -1171,6 +1174,7 @@ declare const VSnackbar: vue.DefineComponent<{
1171
1174
  };
1172
1175
  includeElements: vue.PropType<() => Element[]>;
1173
1176
  activator: vue.PropType<_fastkit_vue_stack.VStackActivatorQuery>;
1177
+ resolveHandler: vue.PropType<_fastkit_vue_stack.StackableResolveHandler>;
1174
1178
  } & {
1175
1179
  variant: vue.PropType<ColorVariant>;
1176
1180
  theme: vue.PropType<ThemeName>;
@@ -1351,6 +1355,7 @@ declare const VMenu: vue.DefineComponent<{
1351
1355
  };
1352
1356
  includeElements: vue.PropType<() => Element[]>;
1353
1357
  activator: vue.PropType<_fastkit_vue_stack.VStackActivatorQuery>;
1358
+ resolveHandler: vue.PropType<_fastkit_vue_stack.StackableResolveHandler>;
1354
1359
  } & {
1355
1360
  variant: vue.PropType<ColorVariant>;
1356
1361
  theme: vue.PropType<ThemeName>;
@@ -1510,6 +1515,7 @@ declare const VMenu: vue.DefineComponent<{
1510
1515
  };
1511
1516
  includeElements: vue.PropType<() => Element[]>;
1512
1517
  activator: vue.PropType<_fastkit_vue_stack.VStackActivatorQuery>;
1518
+ resolveHandler: vue.PropType<_fastkit_vue_stack.StackableResolveHandler>;
1513
1519
  } & {
1514
1520
  variant: vue.PropType<ColorVariant>;
1515
1521
  theme: vue.PropType<ThemeName>;
@@ -1651,6 +1657,7 @@ declare const sheetModalProps: {
1651
1657
  };
1652
1658
  includeElements: PropType<() => Element[]>;
1653
1659
  activator: PropType<_fastkit_vue_stack.VStackActivatorQuery>;
1660
+ resolveHandler: PropType<_fastkit_vue_stack.StackableResolveHandler>;
1654
1661
  };
1655
1662
  declare const VSheetModal: vue.DefineComponent<{
1656
1663
  header: PropType<(control: VStackControl) => VNodeChild>;
@@ -1737,6 +1744,7 @@ declare const VSheetModal: vue.DefineComponent<{
1737
1744
  };
1738
1745
  includeElements: PropType<() => Element[]>;
1739
1746
  activator: PropType<_fastkit_vue_stack.VStackActivatorQuery>;
1747
+ resolveHandler: PropType<_fastkit_vue_stack.StackableResolveHandler>;
1740
1748
  }, {
1741
1749
  stackControl: VStackControl;
1742
1750
  hasActiveChild: vue.ComputedRef<boolean>;
@@ -1837,6 +1845,7 @@ declare const VSheetModal: vue.DefineComponent<{
1837
1845
  };
1838
1846
  includeElements: PropType<() => Element[]>;
1839
1847
  activator: PropType<_fastkit_vue_stack.VStackActivatorQuery>;
1848
+ resolveHandler: PropType<_fastkit_vue_stack.StackableResolveHandler>;
1840
1849
  }>> & {
1841
1850
  onChange?: ((modelValue: boolean) => any) | undefined;
1842
1851
  "onUpdate:modelValue"?: ((modelValue: boolean) => any) | undefined;
@@ -2138,6 +2147,7 @@ declare const VTooltip: vue.DefineComponent<{
2138
2147
  };
2139
2148
  includeElements: vue.PropType<() => Element[]>;
2140
2149
  activator: vue.PropType<_fastkit_vue_stack__.VStackActivatorQuery>;
2150
+ resolveHandler: vue.PropType<_fastkit_vue_stack__.StackableResolveHandler>;
2141
2151
  } & {
2142
2152
  variant: vue.PropType<ColorVariant>;
2143
2153
  theme: vue.PropType<ThemeName>;
@@ -2297,6 +2307,7 @@ declare const VTooltip: vue.DefineComponent<{
2297
2307
  };
2298
2308
  includeElements: vue.PropType<() => Element[]>;
2299
2309
  activator: vue.PropType<_fastkit_vue_stack__.VStackActivatorQuery>;
2310
+ resolveHandler: vue.PropType<_fastkit_vue_stack__.StackableResolveHandler>;
2300
2311
  } & {
2301
2312
  variant: vue.PropType<ColorVariant>;
2302
2313
  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
- ...attrs
4863
+ ..._attrs
4856
4864
  }
4857
4865
  });
4858
4866
  },