@flowerforce/flower-core 3.1.2-beta.8 → 3.2.0
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/CHANGELOG.md +24 -0
- package/LICENSE +18 -12
- package/dist/index.cjs.js +1 -0
- package/dist/index.esm.js +1 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,27 @@
|
|
1
|
+
## 3.2.0 (2024-07-23)
|
2
|
+
|
3
|
+
|
4
|
+
### 🚀 Features
|
5
|
+
|
6
|
+
- remove remote key in devtool ([f89abdc](https://github.com/flowerforce/flower/commit/f89abdc))
|
7
|
+
|
8
|
+
- Added the function to reset a form at a specific step or current step ([b17780f](https://github.com/flowerforce/flower/commit/b17780f))
|
9
|
+
|
10
|
+
- **devtool:** add sourcemap preview ([7882290](https://github.com/flowerforce/flower/commit/7882290))
|
11
|
+
|
12
|
+
- **Form:** add submitted status in form node ([fd2d69f](https://github.com/flowerforce/flower/commit/fd2d69f))
|
13
|
+
|
14
|
+
|
15
|
+
### 🩹 Fixes
|
16
|
+
|
17
|
+
- remove global.window object ([81a10c5](https://github.com/flowerforce/flower/commit/81a10c5))
|
18
|
+
|
19
|
+
- restore documentation comments into d.ts ([d5677d9](https://github.com/flowerforce/flower/commit/d5677d9))
|
20
|
+
|
21
|
+
- reset form dirty and submitted ([2118442](https://github.com/flowerforce/flower/commit/2118442))
|
22
|
+
|
23
|
+
- reset form dirty ([#55](https://github.com/flowerforce/flower/pull/55))
|
24
|
+
|
1
25
|
## 3.1.1 (2024-06-11)
|
2
26
|
|
3
27
|
|
package/LICENSE
CHANGED
@@ -1,15 +1,21 @@
|
|
1
|
-
|
1
|
+
MIT License
|
2
2
|
|
3
3
|
Copyright (c) 2024 FlowerForce
|
4
4
|
|
5
|
-
Permission
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
package/dist/index.cjs.js
CHANGED
@@ -665,6 +665,7 @@ const FlowerCoreReducers = {
|
|
665
665
|
_unset(state, [flowNameFromPath, 'data', ...path]);
|
666
666
|
});
|
667
667
|
_unset(state, [payload.flowName, 'form', payload.id, 'touches']);
|
668
|
+
_unset(state, [payload.flowName, 'form', payload.id, 'dirty']);
|
668
669
|
_unset(state, [payload.flowName, 'form', payload.id, 'isDirty']);
|
669
670
|
_unset(state, [payload.flowName, 'form', payload.id, 'isSubmitted']);
|
670
671
|
},
|
package/dist/index.esm.js
CHANGED
@@ -663,6 +663,7 @@ const FlowerCoreReducers = {
|
|
663
663
|
_unset(state, [flowNameFromPath, 'data', ...path]);
|
664
664
|
});
|
665
665
|
_unset(state, [payload.flowName, 'form', payload.id, 'touches']);
|
666
|
+
_unset(state, [payload.flowName, 'form', payload.id, 'dirty']);
|
666
667
|
_unset(state, [payload.flowName, 'form', payload.id, 'isDirty']);
|
667
668
|
_unset(state, [payload.flowName, 'form', payload.id, 'isSubmitted']);
|
668
669
|
},
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@flowerforce/flower-core",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.2.0",
|
4
4
|
"description": "Core functions for flowerJS",
|
5
5
|
"repository": {
|
6
6
|
"type": "git",
|
@@ -20,7 +20,7 @@
|
|
20
20
|
"README.md",
|
21
21
|
"CHANGELOG.md"
|
22
22
|
],
|
23
|
-
"license": "
|
23
|
+
"license": "MIT",
|
24
24
|
"peerDependencies": {
|
25
25
|
"lodash": ">=4"
|
26
26
|
},
|