@vuetify/nightly 3.6.6-master.2024-05-16 → 3.6.6-master.2024-05-21

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.
@@ -22720,6 +22720,9 @@ type VCombobox = InstanceType<typeof VCombobox>;
22720
22720
  type VConfirmEditSlots<T> = {
22721
22721
  default: {
22722
22722
  model: Ref<T>;
22723
+ save: () => void;
22724
+ cancel: () => void;
22725
+ isPristine: boolean;
22723
22726
  get actions(): VNode;
22724
22727
  };
22725
22728
  };
@@ -22731,7 +22734,11 @@ declare const VConfirmEdit: {
22731
22734
  color?: string | undefined;
22732
22735
  } & {
22733
22736
  onCancel?: (() => any) | undefined;
22734
- }, void, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Omit<{
22737
+ }, {
22738
+ save: () => void;
22739
+ cancel: () => void;
22740
+ isPristine: vue.ComputedRef<boolean>;
22741
+ }, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Omit<{
22735
22742
  cancel: () => true;
22736
22743
  save: (value: any) => true;
22737
22744
  'update:modelValue': (value: any) => true;
@@ -22748,6 +22755,9 @@ declare const VConfirmEdit: {
22748
22755
  }, true, {}, vue.SlotsType<Partial<{
22749
22756
  default: (arg: {
22750
22757
  model: Ref<unknown>;
22758
+ save: () => void;
22759
+ cancel: () => void;
22760
+ isPristine: boolean;
22751
22761
  readonly actions: VNode<vue.RendererNode, vue.RendererElement, {
22752
22762
  [key: string]: any;
22753
22763
  }>;
@@ -22768,7 +22778,11 @@ declare const VConfirmEdit: {
22768
22778
  color?: string | undefined;
22769
22779
  } & {
22770
22780
  onCancel?: (() => any) | undefined;
22771
- }, {}, {}, {}, {}, {
22781
+ }, {
22782
+ save: () => void;
22783
+ cancel: () => void;
22784
+ isPristine: vue.ComputedRef<boolean>;
22785
+ }, {}, {}, {}, {
22772
22786
  cancelText: string;
22773
22787
  okText: string;
22774
22788
  }>;
@@ -22782,7 +22796,11 @@ declare const VConfirmEdit: {
22782
22796
  color?: string | undefined;
22783
22797
  } & {
22784
22798
  onCancel?: (() => any) | undefined;
22785
- }, void, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Omit<{
22799
+ }, {
22800
+ save: () => void;
22801
+ cancel: () => void;
22802
+ isPristine: vue.ComputedRef<boolean>;
22803
+ }, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Omit<{
22786
22804
  cancel: () => true;
22787
22805
  save: (value: any) => true;
22788
22806
  'update:modelValue': (value: any) => true;
@@ -22792,6 +22810,9 @@ declare const VConfirmEdit: {
22792
22810
  }, {}, string, vue.SlotsType<Partial<{
22793
22811
  default: (arg: {
22794
22812
  model: Ref<unknown>;
22813
+ save: () => void;
22814
+ cancel: () => void;
22815
+ isPristine: boolean;
22795
22816
  readonly actions: VNode<vue.RendererNode, vue.RendererElement, {
22796
22817
  [key: string]: any;
22797
22818
  }>;
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.6.6-master.2024-05-16
2
+ * Vuetify v3.6.6-master.2024-05-21
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -391,6 +391,8 @@ function findChildrenWithProvide(key, vnode) {
391
391
  if (!vnode || typeof vnode !== 'object') return [];
392
392
  if (Array.isArray(vnode)) {
393
393
  return vnode.map(child => findChildrenWithProvide(key, child)).flat(1);
394
+ } else if (vnode.suspense) {
395
+ return findChildrenWithProvide(key, vnode.ssContent);
394
396
  } else if (Array.isArray(vnode.children)) {
395
397
  return vnode.children.map(child => findChildrenWithProvide(key, child)).flat(1);
396
398
  } else if (vnode.component) {
@@ -17967,12 +17969,20 @@ const VConfirmEdit = genericComponent()({
17967
17969
  }, null)]);
17968
17970
  return createVNode(Fragment, null, [slots.default?.({
17969
17971
  model: internalModel,
17972
+ save,
17973
+ cancel,
17974
+ isPristine: isPristine.value,
17970
17975
  get actions() {
17971
17976
  actionsUsed = true;
17972
17977
  return actions;
17973
17978
  }
17974
17979
  }), !actionsUsed && actions]);
17975
17980
  });
17981
+ return {
17982
+ save,
17983
+ cancel,
17984
+ isPristine
17985
+ };
17976
17986
  }
17977
17987
  });
17978
17988
 
@@ -30090,7 +30100,7 @@ function createVuetify$1() {
30090
30100
  goTo
30091
30101
  };
30092
30102
  }
30093
- const version$1 = "3.6.6-master.2024-05-16";
30103
+ const version$1 = "3.6.6-master.2024-05-21";
30094
30104
  createVuetify$1.version = version$1;
30095
30105
 
30096
30106
  // Vue's inject() can only be used in setup
@@ -30343,7 +30353,7 @@ var index = /*#__PURE__*/Object.freeze({
30343
30353
 
30344
30354
  /* eslint-disable local-rules/sort-imports */
30345
30355
 
30346
- const version = "3.6.6-master.2024-05-16";
30356
+ const version = "3.6.6-master.2024-05-21";
30347
30357
 
30348
30358
  /* eslint-disable local-rules/sort-imports */
30349
30359