1
0
mirror of synced 2024-11-22 05:16:05 +03:00
Commit Graph

530 Commits

Author SHA1 Message Date
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
dependabot[bot]
773d391b99
chore(deps): bump y18n from 4.0.0 to 4.0.1
Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-01 00:31:16 +00:00
Kruglov Kirill
7082dc4406
Merge pull request #21 from retailcrm/dependabot/npm_and_yarn/pug-code-gen-2.0.3
chore(deps): bump pug-code-gen from 2.0.2 to 2.0.3
2021-03-04 09:42:51 +03:00
dependabot[bot]
44bcbabbcc
chore(deps): bump pug-code-gen from 2.0.2 to 2.0.3
Bumps [pug-code-gen](https://github.com/pugjs/pug) from 2.0.2 to 2.0.3.
- [Release notes](https://github.com/pugjs/pug/releases)
- [Commits](https://github.com/pugjs/pug/compare/pug-code-gen@2.0.2...pug@2.0.3)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-03 04:35:03 +00:00
dependabot[bot]
1dbabafdd7
chore(deps): bump node-notifier from 8.0.0 to 8.0.1
Bumps [node-notifier](https://github.com/mikaelbr/node-notifier) from 8.0.0 to 8.0.1.
- [Release notes](https://github.com/mikaelbr/node-notifier/releases)
- [Changelog](https://github.com/mikaelbr/node-notifier/blob/v8.0.1/CHANGELOG.md)
- [Commits](https://github.com/mikaelbr/node-notifier/compare/v8.0.0...v8.0.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-22 16:48:44 +00:00
dependabot[bot]
b02460144e
chore(deps): bump ini from 1.3.5 to 1.3.8
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.8)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-12 18:43:25 +00:00
1on
46423dc8c6 0.5.1 2020-11-17 09:36:13 +03:00
Kruglov Kirill
91b928f144
Merge pull request #18 from 1on/dev
fix: fixed removing array item in form data
2020-11-17 09:34:02 +03:00
1on
ed0f3aaeac fix: fixed removing array item in form data 2020-11-16 17:42:26 +03:00
1on
6115322699 0.5.0 2020-11-13 14:45:37 +03:00
1on
8ca723af00 0.4.2 2020-11-13 13:03:46 +03:00
Kruglov Kirill
d4ca4d80df
Merge pull request #17 from cmath10/proposal-typehints
fix: Typehints for modelGetConverter / modelSetConverter
2020-11-13 13:03:21 +03:00
Zaytsev Kirill
7a6fc72839 fix: Typehints for modelGetConverter / modelSetConverter 2020-11-13 13:01:22 +03:00
Kruglov Kirill
50d0516a28
Merge pull request #16 from 1on/dev
feat: custom model setter and getter props are added for FormularioInput
2020-11-13 12:27:25 +03:00
1on
61bc90bc39 feat: custom model setter and getter props are added for FormularioInput 2020-11-13 12:13:55 +03:00
1on
57075b2b75 0.4.1 2020-11-12 10:17:27 +03:00
Kruglov Kirill
397fee45a3
Merge pull request #15 from 1on/dev
fix: Fixed resetting field`s local errors when form errors prop cleared
2020-11-12 10:11:36 +03:00
1on
75ee75f311 fix: Fixed resetting field`s local errors when form errors prop cleared 2020-11-12 10:05:56 +03:00