@vuetify/nightly 3.10.9-dev.2025-11-08 → 3.10.9-dev.2025-11-09

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/vuetify.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.10.9-dev.2025-11-08
2
+ * Vuetify v3.10.9-dev.2025-11-09
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -19797,16 +19797,9 @@
19797
19797
  vue.nextTick(() => vVirtualScrollRef.value?.scrollToIndex(0));
19798
19798
  }
19799
19799
  if (val && props.multiple && props.delimiters?.length) {
19800
- const signsToMatch = props.delimiters.map(escapeForRegex).join('|');
19801
- const values = val.split(new RegExp(`(?:${signsToMatch})+`));
19800
+ const values = splitByDelimiters(val);
19802
19801
  if (values.length > 1) {
19803
- for (let v of values) {
19804
- v = v.trim();
19805
- if (v) {
19806
- select(transformItem$3(props, v));
19807
- await vue.nextTick();
19808
- }
19809
- }
19802
+ selectMultiple(values);
19810
19803
  _search.value = '';
19811
19804
  }
19812
19805
  }
@@ -19953,6 +19946,14 @@
19953
19946
  selectionIndex.value = -1;
19954
19947
  }
19955
19948
  }
19949
+ function onPaste(e) {
19950
+ const clipboardText = e?.clipboardData?.getData('Text') ?? '';
19951
+ const values = splitByDelimiters(clipboardText);
19952
+ if (values.length > 1 && props.multiple) {
19953
+ e.preventDefault();
19954
+ selectMultiple(values);
19955
+ }
19956
+ }
19956
19957
  function onAfterEnter() {
19957
19958
  if (props.eager) {
19958
19959
  vVirtualScrollRef.value?.calculateVisibleItems();
@@ -19998,6 +19999,20 @@
19998
19999
  });
19999
20000
  }
20000
20001
  }
20002
+ function splitByDelimiters(val) {
20003
+ const effectiveDelimiters = ['\n', ...(props.delimiters ?? [])];
20004
+ const signsToMatch = effectiveDelimiters.map(escapeForRegex).join('|');
20005
+ return val.split(new RegExp(`(?:${signsToMatch})+`));
20006
+ }
20007
+ async function selectMultiple(values) {
20008
+ for (let value of values) {
20009
+ value = value.trim();
20010
+ if (value) {
20011
+ select(transformItem$3(props, value));
20012
+ await vue.nextTick();
20013
+ }
20014
+ }
20015
+ }
20001
20016
  function onFocusin(e) {
20002
20017
  isFocused.value = true;
20003
20018
  setTimeout(() => {
@@ -20071,6 +20086,7 @@
20071
20086
  "onClick:clear": onClear,
20072
20087
  "onMousedown:control": onMousedownControl,
20073
20088
  "onKeydown": onKeydown,
20089
+ "onPaste": onPaste,
20074
20090
  "aria-expanded": ariaExpanded.value,
20075
20091
  "aria-controls": ariaControls.value
20076
20092
  }), {
@@ -32759,7 +32775,7 @@
32759
32775
  };
32760
32776
  });
32761
32777
  }
32762
- const version$1 = "3.10.9-dev.2025-11-08";
32778
+ const version$1 = "3.10.9-dev.2025-11-09";
32763
32779
  createVuetify$1.version = version$1;
32764
32780
 
32765
32781
  // Vue's inject() can only be used in setup
@@ -32784,7 +32800,7 @@
32784
32800
  ...options
32785
32801
  });
32786
32802
  };
32787
- const version = "3.10.9-dev.2025-11-08";
32803
+ const version = "3.10.9-dev.2025-11-09";
32788
32804
  createVuetify.version = version;
32789
32805
 
32790
32806
  exports.blueprints = index;