@formisch/qwik 0.6.0 → 0.6.1
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/index.qwik.js +2 -2
- package/package.json +2 -2
package/dist/index.qwik.js
CHANGED
|
@@ -651,10 +651,10 @@ function move(form, config) {
|
|
|
651
651
|
internalArrayStore.items.value = newItems;
|
|
652
652
|
const tempInternalFieldStore = {};
|
|
653
653
|
initializeFieldStore(tempInternalFieldStore, internalArrayStore.schema.item, void 0, []);
|
|
654
|
-
copyItemState(internalArrayStore.children[config.from
|
|
654
|
+
copyItemState(internalArrayStore.children[config.from], tempInternalFieldStore);
|
|
655
655
|
if (config.from < config.to) for (let index = config.from; index < config.to; index++) copyItemState(internalArrayStore.children[index + 1], internalArrayStore.children[index]);
|
|
656
656
|
else for (let index = config.from; index > config.to; index--) copyItemState(internalArrayStore.children[index - 1], internalArrayStore.children[index]);
|
|
657
|
-
copyItemState(tempInternalFieldStore, internalArrayStore.children[config.
|
|
657
|
+
copyItemState(tempInternalFieldStore, internalArrayStore.children[config.to]);
|
|
658
658
|
internalArrayStore.isTouched.value = true;
|
|
659
659
|
internalArrayStore.isDirty.value = internalArrayStore.startItems.value.join() !== newItems.join();
|
|
660
660
|
validateIfRequired(internalFormStore, internalArrayStore, "input");
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@formisch/qwik",
|
|
3
3
|
"description": "The modular and type-safe form library for Qwik",
|
|
4
|
-
"version": "0.6.
|
|
4
|
+
"version": "0.6.1",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Fabian Hiller",
|
|
7
7
|
"homepage": "https://formisch.dev",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"vite": "7.0.4",
|
|
51
51
|
"vite-tsconfig-paths": "^5.1.4",
|
|
52
52
|
"@formisch/core": "0.4.1",
|
|
53
|
-
"@formisch/methods": "0.4.
|
|
53
|
+
"@formisch/methods": "0.4.1"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
56
|
"@qwik.dev/core": ">=2",
|