smoothly 1.0.0-alpha.151 → 1.0.0-alpha.152
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/cjs/smoothly-accordion_73.cjs.entry.js +7 -2
- package/dist/cjs/smoothly-accordion_73.cjs.entry.js.map +1 -1
- package/dist/collection/components/input/index.js +7 -2
- package/dist/collection/components/input/index.js.map +1 -1
- package/dist/custom-elements/index.js +7 -2
- package/dist/custom-elements/index.js.map +1 -1
- package/dist/esm/smoothly-accordion_73.entry.js +7 -2
- package/dist/esm/smoothly-accordion_73.entry.js.map +1 -1
- package/dist/smoothly/{p-03b40a39.entry.js → p-8be1a00c.entry.js} +2 -2
- package/dist/smoothly/p-8be1a00c.entry.js.map +1 -0
- package/dist/smoothly/smoothly.esm.js +1 -1
- package/dist/types/components/input/index.d.ts +1 -0
- package/package.json +1 -1
- package/dist/smoothly/p-03b40a39.entry.js.map +0 -1
|
@@ -9113,8 +9113,7 @@ const SmoothlyInput = class {
|
|
|
9113
9113
|
let pasted = event.clipboardData ? event.clipboardData.getData("text") : "";
|
|
9114
9114
|
const backend = event.target;
|
|
9115
9115
|
pasted = this.expiresAutocompleteFix(backend, pasted);
|
|
9116
|
-
|
|
9117
|
-
this.processKey({ key: letter }, backend);
|
|
9116
|
+
this.processPaste(pasted, backend);
|
|
9118
9117
|
}
|
|
9119
9118
|
onInput(event) {
|
|
9120
9119
|
var _a;
|
|
@@ -9146,6 +9145,12 @@ const SmoothlyInput = class {
|
|
|
9146
9145
|
: value;
|
|
9147
9146
|
return value;
|
|
9148
9147
|
}
|
|
9148
|
+
processPaste(pasted, backend) {
|
|
9149
|
+
if (!this.readonly) {
|
|
9150
|
+
const after = Action.paste(this.formatter, this.state, pasted);
|
|
9151
|
+
this.updateBackend(after, backend);
|
|
9152
|
+
}
|
|
9153
|
+
}
|
|
9149
9154
|
processKey(event, backend) {
|
|
9150
9155
|
if (!this.readonly) {
|
|
9151
9156
|
const after = Action.apply(this.formatter, this.state, event);
|