@vuetify/nightly 3.5.8-dev.2024-03-09 → 3.5.8-dev.2024-03-13

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.
@@ -34230,6 +34230,7 @@ declare const VForm: {
34230
34230
  validate: () => Promise<string[]>;
34231
34231
  reset: () => void;
34232
34232
  resetValidation: () => void;
34233
+ vm: vue.Raw<vue.ComponentInternalInstance>;
34233
34234
  isValid: boolean | null;
34234
34235
  errorMessages: string[];
34235
34236
  }[]>;
@@ -34259,6 +34260,7 @@ declare const VForm: {
34259
34260
  validate: () => Promise<string[]>;
34260
34261
  reset: () => void;
34261
34262
  resetValidation: () => void;
34263
+ vm: vue.Raw<vue.ComponentInternalInstance>;
34262
34264
  isValid: boolean | null;
34263
34265
  errorMessages: string[];
34264
34266
  }[]>;
@@ -34289,6 +34291,7 @@ declare const VForm: {
34289
34291
  validate: () => Promise<string[]>;
34290
34292
  reset: () => void;
34291
34293
  resetValidation: () => void;
34294
+ vm: vue.Raw<vue.ComponentInternalInstance>;
34292
34295
  isValid: boolean | null;
34293
34296
  errorMessages: string[];
34294
34297
  }[]>;
@@ -34320,6 +34323,7 @@ declare const VForm: {
34320
34323
  validate: () => Promise<string[]>;
34321
34324
  reset: () => void;
34322
34325
  resetValidation: () => void;
34326
+ vm: vue.Raw<vue.ComponentInternalInstance>;
34323
34327
  isValid: boolean | null;
34324
34328
  errorMessages: string[];
34325
34329
  }[]>;
@@ -34352,6 +34356,7 @@ declare const VForm: {
34352
34356
  validate: () => Promise<string[]>;
34353
34357
  reset: () => void;
34354
34358
  resetValidation: () => void;
34359
+ vm: vue.Raw<vue.ComponentInternalInstance>;
34355
34360
  isValid: boolean | null;
34356
34361
  errorMessages: string[];
34357
34362
  }[]>;
@@ -34394,6 +34399,7 @@ declare const VForm: {
34394
34399
  validate: () => Promise<string[]>;
34395
34400
  reset: () => void;
34396
34401
  resetValidation: () => void;
34402
+ vm: vue.Raw<vue.ComponentInternalInstance>;
34397
34403
  isValid: boolean | null;
34398
34404
  errorMessages: string[];
34399
34405
  }[]>;
@@ -34423,6 +34429,7 @@ declare const VForm: {
34423
34429
  validate: () => Promise<string[]>;
34424
34430
  reset: () => void;
34425
34431
  resetValidation: () => void;
34432
+ vm: vue.Raw<vue.ComponentInternalInstance>;
34426
34433
  isValid: boolean | null;
34427
34434
  errorMessages: string[];
34428
34435
  }[]>;
@@ -34453,6 +34460,7 @@ declare const VForm: {
34453
34460
  validate: () => Promise<string[]>;
34454
34461
  reset: () => void;
34455
34462
  resetValidation: () => void;
34463
+ vm: vue.Raw<vue.ComponentInternalInstance>;
34456
34464
  isValid: boolean | null;
34457
34465
  errorMessages: string[];
34458
34466
  }[]>;
@@ -34484,6 +34492,7 @@ declare const VForm: {
34484
34492
  validate: () => Promise<string[]>;
34485
34493
  reset: () => void;
34486
34494
  resetValidation: () => void;
34495
+ vm: vue.Raw<vue.ComponentInternalInstance>;
34487
34496
  isValid: boolean | null;
34488
34497
  errorMessages: string[];
34489
34498
  }[]>;
@@ -34524,6 +34533,7 @@ declare const VForm: {
34524
34533
  validate: () => Promise<string[]>;
34525
34534
  reset: () => void;
34526
34535
  resetValidation: () => void;
34536
+ vm: vue.Raw<vue.ComponentInternalInstance>;
34527
34537
  isValid: boolean | null;
34528
34538
  errorMessages: string[];
34529
34539
  }[]>;
@@ -34573,6 +34583,7 @@ declare const VForm: {
34573
34583
  validate: () => Promise<string[]>;
34574
34584
  reset: () => void;
34575
34585
  resetValidation: () => void;
34586
+ vm: vue.Raw<vue.ComponentInternalInstance>;
34576
34587
  isValid: boolean | null;
34577
34588
  errorMessages: string[];
34578
34589
  }[]>;
@@ -34602,6 +34613,7 @@ declare const VForm: {
34602
34613
  validate: () => Promise<string[]>;
34603
34614
  reset: () => void;
34604
34615
  resetValidation: () => void;
34616
+ vm: vue.Raw<vue.ComponentInternalInstance>;
34605
34617
  isValid: boolean | null;
34606
34618
  errorMessages: string[];
34607
34619
  }[]>;
@@ -34632,6 +34644,7 @@ declare const VForm: {
34632
34644
  validate: () => Promise<string[]>;
34633
34645
  reset: () => void;
34634
34646
  resetValidation: () => void;
34647
+ vm: vue.Raw<vue.ComponentInternalInstance>;
34635
34648
  isValid: boolean | null;
34636
34649
  errorMessages: string[];
34637
34650
  }[]>;
@@ -34663,6 +34676,7 @@ declare const VForm: {
34663
34676
  validate: () => Promise<string[]>;
34664
34677
  reset: () => void;
34665
34678
  resetValidation: () => void;
34679
+ vm: vue.Raw<vue.ComponentInternalInstance>;
34666
34680
  isValid: boolean | null;
34667
34681
  errorMessages: string[];
34668
34682
  }[]>;
@@ -34695,6 +34709,7 @@ declare const VForm: {
34695
34709
  validate: () => Promise<string[]>;
34696
34710
  reset: () => void;
34697
34711
  resetValidation: () => void;
34712
+ vm: vue.Raw<vue.ComponentInternalInstance>;
34698
34713
  isValid: boolean | null;
34699
34714
  errorMessages: string[];
34700
34715
  }[]>;
@@ -34745,6 +34760,7 @@ declare const VForm: {
34745
34760
  validate: () => Promise<string[]>;
34746
34761
  reset: () => void;
34747
34762
  resetValidation: () => void;
34763
+ vm: vue.Raw<vue.ComponentInternalInstance>;
34748
34764
  isValid: boolean | null;
34749
34765
  errorMessages: string[];
34750
34766
  }[]>;
@@ -34774,6 +34790,7 @@ declare const VForm: {
34774
34790
  validate: () => Promise<string[]>;
34775
34791
  reset: () => void;
34776
34792
  resetValidation: () => void;
34793
+ vm: vue.Raw<vue.ComponentInternalInstance>;
34777
34794
  isValid: boolean | null;
34778
34795
  errorMessages: string[];
34779
34796
  }[]>;
@@ -34804,6 +34821,7 @@ declare const VForm: {
34804
34821
  validate: () => Promise<string[]>;
34805
34822
  reset: () => void;
34806
34823
  resetValidation: () => void;
34824
+ vm: vue.Raw<vue.ComponentInternalInstance>;
34807
34825
  isValid: boolean | null;
34808
34826
  errorMessages: string[];
34809
34827
  }[]>;
@@ -34835,6 +34853,7 @@ declare const VForm: {
34835
34853
  validate: () => Promise<string[]>;
34836
34854
  reset: () => void;
34837
34855
  resetValidation: () => void;
34856
+ vm: vue.Raw<vue.ComponentInternalInstance>;
34838
34857
  isValid: boolean | null;
34839
34858
  errorMessages: string[];
34840
34859
  }[]>;
@@ -34867,6 +34886,7 @@ declare const VForm: {
34867
34886
  validate: () => Promise<string[]>;
34868
34887
  reset: () => void;
34869
34888
  resetValidation: () => void;
34889
+ vm: vue.Raw<vue.ComponentInternalInstance>;
34870
34890
  isValid: boolean | null;
34871
34891
  errorMessages: string[];
34872
34892
  }[]>;
@@ -34906,6 +34926,7 @@ declare const VForm: {
34906
34926
  validate: () => Promise<string[]>;
34907
34927
  reset: () => void;
34908
34928
  resetValidation: () => void;
34929
+ vm: vue.Raw<vue.ComponentInternalInstance>;
34909
34930
  isValid: boolean | null;
34910
34931
  errorMessages: string[];
34911
34932
  }[]>;
@@ -1,10 +1,10 @@
1
1
  /*!
2
- * Vuetify v3.5.8-dev.2024-03-09
2
+ * Vuetify v3.5.8-dev.2024-03-13
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
6
6
 
7
- import { Fragment, reactive, computed, watchEffect, toRefs, capitalize, isVNode, Comment, shallowRef, readonly, unref, warn, ref, provide, inject as inject$1, defineComponent as defineComponent$1, camelize, h, getCurrentInstance as getCurrentInstance$1, onBeforeUnmount, watch, nextTick, onDeactivated, onActivated, onScopeDispose, effectScope, toRaw, createVNode, Suspense, TransitionGroup, Transition, mergeProps, isRef, toRef, onBeforeMount, withDirectives, resolveDirective, vShow, onMounted, Text, resolveDynamicComponent, Teleport, cloneVNode, createTextVNode, onUnmounted, onBeforeUpdate, withModifiers, toDisplayString, vModelText } from 'vue';
7
+ import { Fragment, reactive, computed, watchEffect, toRefs, capitalize, isVNode, Comment, shallowRef, readonly, unref, warn, ref, provide, inject as inject$1, defineComponent as defineComponent$1, camelize, h, getCurrentInstance as getCurrentInstance$1, onBeforeUnmount, watch, nextTick, onDeactivated, onActivated, onScopeDispose, effectScope, toRaw, createVNode, Suspense, TransitionGroup, Transition, mergeProps, isRef, toRef, onBeforeMount, withDirectives, resolveDirective, vShow, onMounted, Text, resolveDynamicComponent, markRaw, Teleport, cloneVNode, createTextVNode, onUnmounted, onBeforeUpdate, withModifiers, toDisplayString, vModelText } from 'vue';
8
8
 
9
9
  // Types
10
10
  // eslint-disable-line vue/prefer-import-from-vue
@@ -6486,6 +6486,7 @@ function createForm(props) {
6486
6486
  register: _ref => {
6487
6487
  let {
6488
6488
  id,
6489
+ vm,
6489
6490
  validate,
6490
6491
  reset,
6491
6492
  resetValidation
@@ -6498,6 +6499,7 @@ function createForm(props) {
6498
6499
  validate,
6499
6500
  reset,
6500
6501
  resetValidation,
6502
+ vm: markRaw(vm),
6501
6503
  isValid: null,
6502
6504
  errorMessages: []
6503
6505
  });
@@ -6612,10 +6614,12 @@ function useValidation(props) {
6612
6614
  [`${name}--readonly`]: isReadonly.value
6613
6615
  };
6614
6616
  });
6617
+ const vm = getCurrentInstance('validation');
6615
6618
  const uid = computed(() => props.name ?? unref(id));
6616
6619
  onBeforeMount(() => {
6617
6620
  form?.register({
6618
6621
  id: uid.value,
6622
+ vm,
6619
6623
  validate,
6620
6624
  reset,
6621
6625
  resetValidation
@@ -27080,7 +27084,7 @@ function createVuetify$1() {
27080
27084
  goTo
27081
27085
  };
27082
27086
  }
27083
- const version$1 = "3.5.8-dev.2024-03-09";
27087
+ const version$1 = "3.5.8-dev.2024-03-13";
27084
27088
  createVuetify$1.version = version$1;
27085
27089
 
27086
27090
  // Vue's inject() can only be used in setup
@@ -27094,7 +27098,7 @@ function inject(key) {
27094
27098
 
27095
27099
  /* eslint-disable local-rules/sort-imports */
27096
27100
 
27097
- const version = "3.5.8-dev.2024-03-09";
27101
+ const version = "3.5.8-dev.2024-03-13";
27098
27102
 
27099
27103
  /* eslint-disable local-rules/sort-imports */
27100
27104