@vuetify/nightly 3.6.9-master.2024-06-15 → 3.6.10-master.2024-06-20

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.
@@ -79781,8 +79781,8 @@ declare const VTreeview: {
79781
79781
  valueComparator: typeof deepEqual;
79782
79782
  activatable: boolean;
79783
79783
  selectable: boolean;
79784
- selectStrategy: NonNullable<NonNullable<SelectStrategyProp>>;
79785
- openStrategy: NonNullable<NonNullable<OpenStrategyProp>>;
79784
+ selectStrategy: NonNullable<SelectStrategyProp>;
79785
+ openStrategy: NonNullable<OpenStrategyProp>;
79786
79786
  collapseIcon: string;
79787
79787
  expandIcon: string;
79788
79788
  lines: false | "one" | "two" | "three";
@@ -79875,8 +79875,8 @@ declare const VTreeview: {
79875
79875
  valueComparator: typeof deepEqual;
79876
79876
  activatable: boolean;
79877
79877
  selectable: boolean;
79878
- selectStrategy: NonNullable<NonNullable<SelectStrategyProp>>;
79879
- openStrategy: NonNullable<NonNullable<OpenStrategyProp>>;
79878
+ selectStrategy: NonNullable<SelectStrategyProp>;
79879
+ openStrategy: NonNullable<OpenStrategyProp>;
79880
79880
  collapseIcon: string;
79881
79881
  expandIcon: string;
79882
79882
  lines: false | "one" | "two" | "three";
@@ -79954,8 +79954,8 @@ declare const VTreeview: {
79954
79954
  valueComparator: typeof deepEqual;
79955
79955
  activatable: boolean;
79956
79956
  selectable: boolean;
79957
- selectStrategy: NonNullable<NonNullable<SelectStrategyProp>>;
79958
- openStrategy: NonNullable<NonNullable<OpenStrategyProp>>;
79957
+ selectStrategy: NonNullable<SelectStrategyProp>;
79958
+ openStrategy: NonNullable<OpenStrategyProp>;
79959
79959
  collapseIcon: string;
79960
79960
  expandIcon: string;
79961
79961
  lines: false | "one" | "two" | "three";
@@ -80049,8 +80049,8 @@ declare const VTreeview: {
80049
80049
  valueComparator: typeof deepEqual;
80050
80050
  activatable: boolean;
80051
80051
  selectable: boolean;
80052
- selectStrategy: NonNullable<NonNullable<SelectStrategyProp>>;
80053
- openStrategy: NonNullable<NonNullable<OpenStrategyProp>>;
80052
+ selectStrategy: NonNullable<SelectStrategyProp>;
80053
+ openStrategy: NonNullable<OpenStrategyProp>;
80054
80054
  collapseIcon: string;
80055
80055
  expandIcon: string;
80056
80056
  lines: false | "one" | "two" | "three";
@@ -80130,8 +80130,8 @@ declare const VTreeview: {
80130
80130
  valueComparator: typeof deepEqual;
80131
80131
  activatable: boolean;
80132
80132
  selectable: boolean;
80133
- selectStrategy: NonNullable<NonNullable<SelectStrategyProp>>;
80134
- openStrategy: NonNullable<NonNullable<OpenStrategyProp>>;
80133
+ selectStrategy: NonNullable<SelectStrategyProp>;
80134
+ openStrategy: NonNullable<OpenStrategyProp>;
80135
80135
  collapseIcon: string;
80136
80136
  expandIcon: string;
80137
80137
  lines: false | "one" | "two" | "three";
@@ -80162,8 +80162,8 @@ declare const VTreeview: {
80162
80162
  valueComparator: typeof deepEqual;
80163
80163
  activatable: boolean;
80164
80164
  selectable: boolean;
80165
- selectStrategy: NonNullable<NonNullable<SelectStrategyProp>>;
80166
- openStrategy: NonNullable<NonNullable<OpenStrategyProp>>;
80165
+ selectStrategy: NonNullable<SelectStrategyProp>;
80166
+ openStrategy: NonNullable<OpenStrategyProp>;
80167
80167
  collapseIcon: string;
80168
80168
  expandIcon: string;
80169
80169
  lines: false | "one" | "two" | "three";
@@ -80257,8 +80257,8 @@ declare const VTreeview: {
80257
80257
  valueComparator: typeof deepEqual;
80258
80258
  activatable: boolean;
80259
80259
  selectable: boolean;
80260
- selectStrategy: NonNullable<NonNullable<SelectStrategyProp>>;
80261
- openStrategy: NonNullable<NonNullable<OpenStrategyProp>>;
80260
+ selectStrategy: NonNullable<SelectStrategyProp>;
80261
+ openStrategy: NonNullable<OpenStrategyProp>;
80262
80262
  collapseIcon: string;
80263
80263
  expandIcon: string;
80264
80264
  lines: false | "one" | "two" | "three";
@@ -80401,19 +80401,13 @@ declare const VTreeview: {
80401
80401
  activatable: BooleanConstructor;
80402
80402
  selectable: BooleanConstructor;
80403
80403
  activeStrategy: vue.PropType<ActiveStrategyProp>;
80404
- selectStrategy: Omit<{
80404
+ selectStrategy: {
80405
80405
  type: vue.PropType<NonNullable<SelectStrategyProp>>;
80406
80406
  default: NonNullable<SelectStrategyProp>;
80407
- }, "default" | "type"> & {
80408
- type: vue.PropType<NonNullable<NonNullable<SelectStrategyProp>>>;
80409
- default: NonNullable<NonNullable<SelectStrategyProp>>;
80410
80407
  };
80411
- openStrategy: Omit<{
80408
+ openStrategy: {
80412
80409
  type: vue.PropType<NonNullable<OpenStrategyProp>>;
80413
80410
  default: NonNullable<OpenStrategyProp>;
80414
- }, "default" | "type"> & {
80415
- type: vue.PropType<NonNullable<NonNullable<OpenStrategyProp>>>;
80416
- default: NonNullable<NonNullable<OpenStrategyProp>>;
80417
80411
  };
80418
80412
  'onUpdate:opened': vue.PropType<() => void>;
80419
80413
  activeColor: StringConstructor;
@@ -80542,19 +80536,13 @@ declare const VTreeview: {
80542
80536
  activatable: BooleanConstructor;
80543
80537
  selectable: BooleanConstructor;
80544
80538
  activeStrategy: vue.PropType<ActiveStrategyProp>;
80545
- selectStrategy: Omit<{
80539
+ selectStrategy: {
80546
80540
  type: vue.PropType<NonNullable<SelectStrategyProp>>;
80547
80541
  default: NonNullable<SelectStrategyProp>;
80548
- }, "default" | "type"> & {
80549
- type: vue.PropType<NonNullable<NonNullable<SelectStrategyProp>>>;
80550
- default: NonNullable<NonNullable<SelectStrategyProp>>;
80551
80542
  };
80552
- openStrategy: Omit<{
80543
+ openStrategy: {
80553
80544
  type: vue.PropType<NonNullable<OpenStrategyProp>>;
80554
80545
  default: NonNullable<OpenStrategyProp>;
80555
- }, "default" | "type"> & {
80556
- type: vue.PropType<NonNullable<NonNullable<OpenStrategyProp>>>;
80557
- default: NonNullable<NonNullable<OpenStrategyProp>>;
80558
80546
  };
80559
80547
  'onUpdate:opened': vue.PropType<() => void>;
80560
80548
  activeColor: StringConstructor;
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.6.9-master.2024-06-15
2
+ * Vuetify v3.6.10-master.2024-06-20
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -22041,8 +22041,11 @@ const VDatePicker = genericComponent()({
22041
22041
  emit('update:year', value);
22042
22042
  }
22043
22043
  watch(model, (val, oldVal) => {
22044
- const before = adapter.date(wrapInArray(oldVal)[oldVal.length - 1]);
22045
- const after = adapter.date(wrapInArray(val)[val.length - 1]);
22044
+ const arrBefore = wrapInArray(oldVal);
22045
+ const arrAfter = wrapInArray(val);
22046
+ if (!arrAfter.length) return;
22047
+ const before = adapter.date(arrBefore[arrBefore.length - 1]);
22048
+ const after = adapter.date(arrAfter[arrAfter.length - 1]);
22046
22049
  const newMonth = adapter.getMonth(after);
22047
22050
  const newYear = adapter.getYear(after);
22048
22051
  if (newMonth !== month.value) {
@@ -29646,8 +29649,6 @@ const makeVTreeviewProps = propsFactory({
29646
29649
  ...omit(makeVListProps({
29647
29650
  collapseIcon: '$treeviewCollapse',
29648
29651
  expandIcon: '$treeviewExpand',
29649
- selectStrategy: 'classic',
29650
- openStrategy: 'multiple',
29651
29652
  slim: true
29652
29653
  }), ['nav'])
29653
29654
  }, 'VTreeview');
@@ -29665,17 +29666,16 @@ const VTreeview = genericComponent()({
29665
29666
  let {
29666
29667
  slots
29667
29668
  } = _ref;
29668
- const vm = getCurrentInstance('VTreeview');
29669
29669
  const {
29670
29670
  items
29671
29671
  } = useListItems(props);
29672
29672
  const activeColor = toRef(props, 'activeColor');
29673
29673
  const baseColor = toRef(props, 'baseColor');
29674
29674
  const color = toRef(props, 'color');
29675
- const opened = useProxiedModel(props, 'opened');
29676
29675
  const activated = useProxiedModel(props, 'activated');
29677
29676
  const selected = useProxiedModel(props, 'selected');
29678
29677
  const vListRef = ref();
29678
+ const opened = computed(() => props.openAll ? openAll(items.value) : props.opened);
29679
29679
  const flatItems = computed(() => flatten(items.value));
29680
29680
  const search = toRef(props, 'search');
29681
29681
  const {
@@ -29709,11 +29709,6 @@ const VTreeview = genericComponent()({
29709
29709
  }
29710
29710
  return arr;
29711
29711
  }
29712
- watch(() => props.openAll, val => {
29713
- opened.value = val ? openAll(items.value) : [];
29714
- }, {
29715
- immediate: true
29716
- });
29717
29712
  function openAll(item) {
29718
29713
  let ids = [];
29719
29714
  for (const i of item) {
@@ -29748,13 +29743,14 @@ const VTreeview = genericComponent()({
29748
29743
  }
29749
29744
  });
29750
29745
  useRender(() => {
29751
- const listProps = VList.filterProps(vm.vnode.props);
29746
+ const listProps = VList.filterProps(props);
29752
29747
  const treeviewChildrenProps = VTreeviewChildren.filterProps(props);
29753
29748
  return createVNode(VList, mergeProps({
29754
29749
  "ref": vListRef
29755
29750
  }, listProps, {
29756
29751
  "class": ['v-treeview', props.class],
29757
29752
  "style": props.style,
29753
+ "opened": opened.value,
29758
29754
  "activated": activated.value,
29759
29755
  "onUpdate:activated": $event => activated.value = $event,
29760
29756
  "selected": selected.value,
@@ -30266,7 +30262,7 @@ function createVuetify$1() {
30266
30262
  goTo
30267
30263
  };
30268
30264
  }
30269
- const version$1 = "3.6.9-master.2024-06-15";
30265
+ const version$1 = "3.6.10-master.2024-06-20";
30270
30266
  createVuetify$1.version = version$1;
30271
30267
 
30272
30268
  // Vue's inject() can only be used in setup
@@ -30519,7 +30515,7 @@ var index = /*#__PURE__*/Object.freeze({
30519
30515
 
30520
30516
  /* eslint-disable local-rules/sort-imports */
30521
30517
 
30522
- const version = "3.6.9-master.2024-06-15";
30518
+ const version = "3.6.10-master.2024-06-20";
30523
30519
 
30524
30520
  /* eslint-disable local-rules/sort-imports */
30525
30521