1
0
mirror of synced 2024-11-28 16:16:09 +03:00
Commit Graph

497 Commits

Author SHA1 Message Date
Kruglov Kirill
b5961c52eb
Merge pull request #29 from cmath10/0.6.0-experimental
v0.6.0 Form state management refactoring, release automation
2021-06-17 17:12:23 +03:00
Zaytsev Kirill
ea54f0a800 chore: Removed unused type declaration 2021-06-15 11:14:04 +03:00
Zaytsev Kirill
65b2ec4cc8 chore: Release automation preparations 2021-06-14 14:02:10 +03:00
Zaytsev Kirill
b9af1bdab8 chore: github-actions testing pipeline 2021-06-14 14:02:10 +03:00
Zaytsev Kirill
9336db2989 docs: README.md clarification 2021-06-14 14:02:10 +03:00
Zaytsev Kirill
9152b9a322 chore: Rearranged package.json keys to show more valuable information first 2021-06-14 14:02:10 +03:00
Zaytsev Kirill
037751a3a1 chore: Removed unused dependency 2021-06-14 14:02:10 +03:00
Zaytsev Kirill
b37040d2d3 refactor: Deep cloning of state, deep equal checker 2021-06-14 14:02:10 +03:00
Zaytsev Kirill
7c2a9e8110 feat!: Validation event payload property "name" renamed to "path" 2021-06-14 14:02:10 +03:00
Zaytsev Kirill
a1476d9986 refactor: State management logic & tests 2021-06-14 14:02:10 +03:00
Zaytsev Kirill
9868d99c19 chore: Form state management refactor preparations 2021-06-14 14:02:10 +03:00
Zaytsev Kirill
343bdb16cb refactor: Improved logic of clone utility 2021-06-14 14:02:10 +03:00
Zaytsev Kirill
fd780cd585 feat: Added possibility to run / reset form validation via $formulario 2021-06-14 14:02:10 +03:00
Zaytsev Kirill
6612d8a5f9 refactor!: FormularioFieldGroup - isArrayItem prop no longer required, replaced with integer name value detection 2021-06-14 14:02:10 +03:00
Zaytsev Kirill
0cba9e56b3 test: Test logic refactor 2021-06-14 14:02:10 +03:00
Zaytsev Kirill
509aa44710 chore: Updated eslint rules 2021-06-14 14:02:10 +03:00
Zaytsev Kirill
b4ab3404a4 fix: Got rid of redundant input events 2021-06-14 14:02:10 +03:00
Zaytsev Kirill
b1c2ee9056 chore: clone logic refactor preparations & typehinting 2021-06-14 14:02:10 +03:00
Zaytsev Kirill
320df96b96 test: Tests logic refactor, typehinting improvements 2021-06-14 14:02:10 +03:00
Zaytsev Kirill
9a344bf8b5 feat!: FormularioField - individual field errors are always presumed as a string array 2021-06-14 14:02:10 +03:00
Zaytsev Kirill
7f864c7951 test: Tests logic refactor 2021-06-14 14:02:09 +03:00
Zaytsev Kirill
aee0dc977a feat: FormularioForm - added ::runValidation() method to run entire form validation manually and return all form violations 2021-06-14 14:02:09 +03:00
Zaytsev Kirill
4e05844e73 refactor!: FormularioForm - renamed prop errors to fieldsErrors, some internal renamings; tests semantic improvements 2021-06-14 14:02:09 +03:00
Zaytsev Kirill
e55ea0c410 test: Improved test for validation interruption & code style 2021-06-14 14:02:09 +03:00
Zaytsev Kirill
4c3274e621 refactor: Simplified logic of field components registry, moved value set logic from registry to form component 2021-06-14 14:02:09 +03:00
Zaytsev Kirill
8144c27c69 refactor!: FormularioForm - renamed formularioValue into state 2021-06-14 14:02:09 +03:00
Zaytsev Kirill
fcbe4df667 style: Entries in the 'components' option in alphabetical order 2021-06-14 14:02:09 +03:00
Zaytsev Kirill
c4a16c6fdf test: Imporved test for plugin install, fixed outdated components names 2021-06-14 14:02:09 +03:00
Zaytsev Kirill
735fa3f126 chore!: FormularioField - removed formulario-input class from root element 2021-06-14 14:02:09 +03:00
Zaytsev Kirill
6afe5f0a08 refactor: Got rid of error observer to push errors into fields 2021-06-14 14:02:09 +03:00
Zaytsev Kirill
7aca27a010 refactor: Typehinting improvals, moved registry class, improved logic of shallow equal checker 2021-06-14 14:02:09 +03:00
Zaytsev Kirill
e6271bb069 refactor: moved isScalar to new file, improved typehinting 2021-06-14 14:02:09 +03:00
Zaytsev Kirill
013931fbfc feat: Renamed FormularioInput => FormularioField, FormularioGrouping => FormularioFieldGroup, old names are preserved in plugin install method for compatibility 2021-06-14 14:02:09 +03:00
Zaytsev Kirill
6a86d1f7b7 style: Rearranged imports 2021-06-14 13:59:23 +03:00
Zaytsev Kirill
4cec18b1d7 test: Improved checking validation event & code style 2021-06-14 13:59:23 +03:00
Zaytsev Kirill
cb2f350edf chore: Fixed description for registry forEach method 2021-06-14 13:59:23 +03:00
Zaytsev Kirill
5547cb5b87 chore: Improved typehinting 2021-06-14 13:59:23 +03:00
Zaytsev Kirill
8edc523af7 chore: Removed unused code 2021-06-14 13:59:23 +03:00
Zaytsev Kirill
9c758e9fbf docs: Updated story of address list - added possibility to remove items from list; removed outdated story 2021-06-14 13:59:23 +03:00
Kruglov Kirill
7168b81e53
Merge pull request #26 from retailcrm/dependabot/npm_and_yarn/hosted-git-info-2.8.9
chore(deps): bump hosted-git-info from 2.8.8 to 2.8.9
2021-05-12 15:46:47 +03:00
Kruglov Kirill
ee0d8a8983
Merge pull request #25 from retailcrm/dependabot/npm_and_yarn/lodash-4.17.21
chore(deps): bump lodash from 4.17.19 to 4.17.21
2021-05-12 15:46:41 +03:00
Kruglov Kirill
939cd71f5a
Merge pull request #24 from retailcrm/dependabot/npm_and_yarn/url-parse-1.5.1
chore(deps): bump url-parse from 1.4.7 to 1.5.1
2021-05-12 15:46:26 +03:00
dependabot[bot]
04d2cf0e7a
chore(deps): bump hosted-git-info from 2.8.8 to 2.8.9
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-11 18:42:00 +00:00
dependabot[bot]
023a135e64
chore(deps): bump lodash from 4.17.19 to 4.17.21
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.19 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.19...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-11 08:05:57 +00:00
dependabot[bot]
495096ce34
chore(deps): bump url-parse from 1.4.7 to 1.5.1
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.4.7 to 1.5.1.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.4.7...1.5.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-09 20:05:21 +00:00
Kruglov Kirill
3462bde9dd
Merge pull request #19 from retailcrm/dependabot/npm_and_yarn/ini-1.3.8
chore(deps): bump ini from 1.3.5 to 1.3.8
2021-04-20 11:09:33 +03:00
Kruglov Kirill
18ad0dfb9e
Merge pull request #20 from retailcrm/dependabot/npm_and_yarn/node-notifier-8.0.1
chore(deps): bump node-notifier from 8.0.0 to 8.0.1
2021-04-20 11:04:57 +03:00
Kruglov Kirill
01a9bb9637
Merge pull request #23 from retailcrm/dependabot/npm_and_yarn/ssri-6.0.2
chore(deps): bump ssri from 6.0.1 to 6.0.2
2021-04-20 11:01:29 +03:00
dependabot[bot]
9182386776
chore(deps): bump ssri from 6.0.1 to 6.0.2
Bumps [ssri](https://github.com/npm/ssri) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/npm/ssri/releases)
- [Changelog](https://github.com/npm/ssri/blob/v6.0.2/CHANGELOG.md)
- [Commits](https://github.com/npm/ssri/compare/v6.0.1...v6.0.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-19 22:20:53 +00:00
Kruglov Kirill
a1cc6c6e13
Merge pull request #22 from retailcrm/dependabot/npm_and_yarn/y18n-4.0.1
chore(deps): bump y18n from 4.0.0 to 4.0.1
2021-04-01 09:08:52 +03:00