@vergelijkdirect/comparison-forms 1.1.52 → 1.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/README.md CHANGED
@@ -48,8 +48,6 @@ import '@vergelijkdirect/comparison-forms/styles';
48
48
  | form-component | String/Yes | Corresponds to type of form | motor-form |
49
49
  | link | String/No | Indicate address, where user should be redirected after forms submit | &link=verzekeringen/results-page |
50
50
  | has-new-design | Boolean/No | Indicate which version of form styles implemented. Missing value or false mean old form, true - new redesign form (non-required) | true |
51
- | is-on-result-page | Boolean/No | Indicate is form used for aanvragen flow (result page, coverages page etc), or for starting landing page (for exampple VD project) (Will be replaced with form-location) | true |
52
- | is-on-coverage-page | Boolean/No | Indicate is form used for aanvragen flow (coverages page), or for starting landing page (for exampple VD project) (Will be replaced with form-location) | true |
53
51
  | classes | String/No | Indicate which classes should be implemented for root element (vd-form-card) | vd-form-flat |
54
52
  | insurance-state | Object/No | There should be indicated object with data for insurance. Used to show data in inputs, if user already filled in form. | for motor insurance can be included object motorState from store |
55
53
  | user-information | Object/No | There should be indicated object with user's data. Used to show data in inputs, if user already filled in form. | Usually it's userInformation object from store |
@@ -58,7 +56,6 @@ import '@vergelijkdirect/comparison-forms/styles';
58
56
  | show-title | Boolean/No | Boolean, that specify should title, in title prop be showed (Use value false, if there is external modal title, to prevent double titles) | false |
59
57
  | form-orientation | String/No | Specify form orientation (Vertical or Horizontal) Should be used only for create loan form | Vertical |
60
58
  | comparison | Comparison/No | Pass existing comparison for update actions in form. Required value for loans upgrade form | Comparison instance object |
61
- | status | String/No | Now used only for travels, but will be implement instead of is-on-result/coverage page. Indicate location of form. (Will be replaced with form-location) | IS_ON_FAMILY_PAGE |
62
59
  | form-location | String/No | String, that indicate, where form is located. Can be before flow, on result, coverages,family page. | IS_BEFORE_FLOW/IS_ON_RESULT_PAGE/IS_ON_COVERAGES_PAGE/IS_ON_FAMILY_PAGE |
63
60
  | additional-options | Object/No | Props that contains all special data, for separate form. E.g. qustionnary data for only Risk scanner/business car forms. | { qa_id: 'some value' } |
64
61
  | @change | Function/No | Function, that should be called, when user submit form. Has parameters ({ insuranceState: {...}, userInformation: {...} }), that can be used for furtner actions with this data | Any function, that should be called after form submit |
@@ -76,7 +73,6 @@ Example
76
73
  :user-information="userInformation"
77
74
  :insurance-state="motorState"
78
75
  :has-new-design="true"
79
- :is-on-result-page="true"
80
76
  :classes="'w-100 vd-form-card--flat'"
81
77
  :link="'/'"
82
78
  :show-title="false"
@@ -99,6 +95,7 @@ Example
99
95
  * caravan-form-horizontal
100
96
  * caravan-form-old
101
97
  * create-loan-comparison-form
98
+ * default-form
102
99
  * house-form
103
100
  * house-form-horizontal
104
101
  * house-form-old