@saasquatch/mint-components 1.6.2-21 → 1.6.2-22

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.
Files changed (145) hide show
  1. package/dist/cjs/{ShadowViewAddon-312e517f.js → ShadowViewAddon-4b75a331.js} +28 -17
  2. package/dist/cjs/sqm-big-stat_35.cjs.entry.js +54 -42
  3. package/dist/cjs/sqm-password-field.cjs.entry.js +6 -8
  4. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +2 -2
  5. package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +2 -2
  6. package/dist/cjs/sqm-portal-logout.cjs.entry.js +1 -1
  7. package/dist/cjs/sqm-portal-profile.cjs.entry.js +2 -0
  8. package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +2 -2
  9. package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +40 -20
  10. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +9 -7
  11. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +4 -4
  12. package/dist/cjs/sqm-stencilbook.cjs.entry.js +66 -33
  13. package/dist/cjs/{useRegistrationFormState-d0e43ca9.js → useRegistrationFormState-bee054d6.js} +0 -9
  14. package/dist/collection/components/sqm-checkbox-field/CheckboxField.stories.js +12 -5
  15. package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field-view.js +6 -2
  16. package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field.js +3 -3
  17. package/dist/collection/components/sqm-checkbox-field/useCheckboxField.js +3 -3
  18. package/dist/collection/components/sqm-divided-layout/sqm-divided-layout.js +2 -2
  19. package/dist/collection/components/sqm-dropdown-field/DropdownField.stories.js +13 -6
  20. package/dist/collection/components/sqm-dropdown-field/sqm-dropdown-field-view.js +6 -2
  21. package/dist/collection/components/sqm-dropdown-field/sqm-dropdown-field.js +3 -3
  22. package/dist/collection/components/sqm-dropdown-field/useDropdownField.js +3 -3
  23. package/dist/collection/components/sqm-input-field/InputField.stories.js +12 -5
  24. package/dist/collection/components/sqm-input-field/sqm-input-field-view.js +6 -2
  25. package/dist/collection/components/sqm-input-field/sqm-input-field.js +3 -3
  26. package/dist/collection/components/sqm-input-field/useInputField.js +3 -3
  27. package/dist/collection/components/sqm-name-fields/NameFields.stories.js +8 -4
  28. package/dist/collection/components/sqm-name-fields/sqm-name-fields-view.js +6 -6
  29. package/dist/collection/components/sqm-name-fields/sqm-name-fields.js +1 -1
  30. package/dist/collection/components/sqm-name-fields/useNameFields.js +0 -3
  31. package/dist/collection/components/sqm-password-field/PasswordField.stories.js +9 -6
  32. package/dist/collection/components/sqm-password-field/sqm-password-field-view.js +4 -3
  33. package/dist/collection/components/sqm-password-field/sqm-password-field.js +1 -2
  34. package/dist/collection/components/sqm-password-field/usePasswordField.js +0 -3
  35. package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password.js +10 -10
  36. package/dist/collection/components/sqm-portal-email-verification/sqm-portal-email-verification.js +4 -4
  37. package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password.js +4 -4
  38. package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +10 -12
  39. package/dist/collection/components/sqm-portal-logout/sqm-portal-logout.js +2 -2
  40. package/dist/collection/components/sqm-portal-profile/sqm-portal-profile.js +3 -1
  41. package/dist/collection/components/sqm-portal-protected-route/sqm-portal-protected-route.js +4 -4
  42. package/dist/collection/components/sqm-portal-register/PortalRegister.stories.js +5 -0
  43. package/dist/collection/components/sqm-portal-register/sqm-portal-register-view.js +4 -5
  44. package/dist/collection/components/sqm-portal-register/sqm-portal-register.js +20 -18
  45. package/dist/collection/components/sqm-portal-register/usePortalRegister.js +20 -6
  46. package/dist/collection/components/sqm-portal-registration-form/PortalRegistrationForm.stories.js +1 -0
  47. package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form-view.js +4 -5
  48. package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form.js +23 -21
  49. package/dist/collection/components/sqm-portal-registration-form/usePortalRegistrationForm.js +24 -6
  50. package/dist/collection/components/sqm-portal-reset-password/sqm-portal-reset-password.js +17 -15
  51. package/dist/collection/components/sqm-portal-verify-email/sqm-portal-verify-email.js +8 -8
  52. package/dist/collection/components/sqm-referral-iframe/sqm-referral-iframe.js +4 -4
  53. package/dist/collection/components/sqm-route/sqm-route.js +1 -1
  54. package/dist/collection/components/sqm-user-name/sqm-user-name.js +5 -5
  55. package/dist/esm/{ShadowViewAddon-b7ca4ee5.js → ShadowViewAddon-c201908c.js} +28 -17
  56. package/dist/esm/sqm-big-stat_35.entry.js +54 -42
  57. package/dist/esm/sqm-password-field.entry.js +6 -8
  58. package/dist/esm/sqm-portal-email-verification.entry.js +2 -2
  59. package/dist/esm/sqm-portal-forgot-password.entry.js +2 -2
  60. package/dist/esm/sqm-portal-logout.entry.js +1 -1
  61. package/dist/esm/sqm-portal-profile.entry.js +2 -0
  62. package/dist/esm/sqm-portal-protected-route.entry.js +2 -2
  63. package/dist/esm/sqm-portal-registration-form.entry.js +40 -20
  64. package/dist/esm/sqm-portal-reset-password.entry.js +9 -7
  65. package/dist/esm/sqm-portal-verify-email.entry.js +4 -4
  66. package/dist/esm/sqm-stencilbook.entry.js +66 -33
  67. package/dist/esm/{useRegistrationFormState-e94eec81.js → useRegistrationFormState-3cdf2939.js} +1 -8
  68. package/dist/esm-es5/ShadowViewAddon-c201908c.js +1 -0
  69. package/dist/esm-es5/sqm-big-stat_35.entry.js +1 -1
  70. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  71. package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
  72. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  73. package/dist/esm-es5/useRegistrationFormState-3cdf2939.js +1 -0
  74. package/dist/mint-components/mint-components.esm.js +1 -1
  75. package/dist/mint-components/p-11a4a003.system.js +1 -1
  76. package/dist/mint-components/p-1287215d.js +1 -0
  77. package/dist/mint-components/p-2c805081.system.js +1 -0
  78. package/dist/mint-components/p-33cf5799.entry.js +9 -0
  79. package/dist/mint-components/p-4a2238b1.system.entry.js +1 -0
  80. package/dist/mint-components/p-5a78d954.system.js +1 -0
  81. package/dist/mint-components/p-8dfebcc6.js +268 -0
  82. package/dist/mint-components/p-a400c8c6.entry.js +13 -0
  83. package/dist/mint-components/p-a837750f.system.entry.js +1 -0
  84. package/dist/mint-components/p-ab5a8bf0.system.entry.js +1 -0
  85. package/dist/mint-components/{p-b36802a0.entry.js → p-c83ec898.entry.js} +12 -12
  86. package/dist/mint-components/p-dcf30408.entry.js +1 -0
  87. package/dist/mint-components/p-e58e454d.system.entry.js +1 -0
  88. package/dist/types/components/sqm-checkbox-field/sqm-checkbox-field-view.d.ts +2 -2
  89. package/dist/types/components/sqm-checkbox-field/sqm-checkbox-field.d.ts +0 -1
  90. package/dist/types/components/sqm-checkbox-field/useCheckboxField.d.ts +2 -1
  91. package/dist/types/components/sqm-divided-layout/sqm-divided-layout.d.ts +1 -1
  92. package/dist/types/components/sqm-dropdown-field/sqm-dropdown-field-view.d.ts +2 -2
  93. package/dist/types/components/sqm-dropdown-field/sqm-dropdown-field.d.ts +0 -1
  94. package/dist/types/components/sqm-dropdown-field/useDropdownField.d.ts +2 -1
  95. package/dist/types/components/sqm-input-field/sqm-input-field-view.d.ts +2 -2
  96. package/dist/types/components/sqm-input-field/sqm-input-field.d.ts +1 -1
  97. package/dist/types/components/sqm-input-field/useInputField.d.ts +2 -1
  98. package/dist/types/components/sqm-name-fields/sqm-name-fields-view.d.ts +0 -2
  99. package/dist/types/components/sqm-name-fields/useNameFields.d.ts +0 -1
  100. package/dist/types/components/sqm-password-field/sqm-password-field-view.d.ts +0 -1
  101. package/dist/types/components/sqm-password-field/sqm-password-field.d.ts +0 -1
  102. package/dist/types/components/sqm-portal-change-password/sqm-portal-change-password.d.ts +5 -5
  103. package/dist/types/components/sqm-portal-email-verification/sqm-portal-email-verification.d.ts +2 -2
  104. package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password.d.ts +2 -2
  105. package/dist/types/components/sqm-portal-login/sqm-portal-login.d.ts +4 -6
  106. package/dist/types/components/sqm-portal-logout/sqm-portal-logout.d.ts +1 -1
  107. package/dist/types/components/sqm-portal-profile/sqm-portal-profile.d.ts +2 -0
  108. package/dist/types/components/sqm-portal-protected-route/sqm-portal-protected-route.d.ts +2 -2
  109. package/dist/types/components/sqm-portal-register/sqm-portal-register-view.d.ts +2 -2
  110. package/dist/types/components/sqm-portal-register/sqm-portal-register.d.ts +10 -8
  111. package/dist/types/components/sqm-portal-register/usePortalRegister.d.ts +1 -1
  112. package/dist/types/components/sqm-portal-registration-form/sqm-portal-registration-form-view.d.ts +0 -2
  113. package/dist/types/components/sqm-portal-registration-form/sqm-portal-registration-form.d.ts +12 -10
  114. package/dist/types/components/sqm-portal-registration-form/usePortalRegistrationForm.d.ts +0 -1
  115. package/dist/types/components/sqm-portal-registration-form/useRegistrationFormState.d.ts +2 -0
  116. package/dist/types/components/sqm-portal-reset-password/sqm-portal-reset-password.d.ts +9 -7
  117. package/dist/types/components/sqm-portal-verify-email/sqm-portal-verify-email.d.ts +4 -4
  118. package/dist/types/components/sqm-referral-iframe/sqm-referral-iframe.d.ts +2 -2
  119. package/dist/types/components/sqm-route/sqm-route.d.ts +0 -1
  120. package/dist/types/components/sqm-user-name/sqm-user-name.d.ts +2 -2
  121. package/dist/types/components.d.ts +110 -112
  122. package/dist/types/global/android.d.ts +7 -0
  123. package/dist/types/global/demo.d.ts +1 -0
  124. package/dist/types/stories/features.d.ts +4 -0
  125. package/dist/types/stories/templates.d.ts +4 -0
  126. package/docs/docs.docx +0 -0
  127. package/docs/grapesjs.js +54 -0
  128. package/docs/raisins.json +1 -1
  129. package/grapesjs/grapesjs.js +1 -1
  130. package/package.json +1 -1
  131. package/dist/collection/components/sqm-portal-register/useValidationState.js +0 -8
  132. package/dist/esm-es5/ShadowViewAddon-b7ca4ee5.js +0 -1
  133. package/dist/esm-es5/useRegistrationFormState-e94eec81.js +0 -1
  134. package/dist/mint-components/p-16280a8d.entry.js +0 -9
  135. package/dist/mint-components/p-233e784a.js +0 -1
  136. package/dist/mint-components/p-3435cd60.system.entry.js +0 -1
  137. package/dist/mint-components/p-41994f1b.system.entry.js +0 -1
  138. package/dist/mint-components/p-5d815633.system.entry.js +0 -1
  139. package/dist/mint-components/p-5d86baae.entry.js +0 -13
  140. package/dist/mint-components/p-aa893634.entry.js +0 -1
  141. package/dist/mint-components/p-b01e28dd.system.js +0 -1
  142. package/dist/mint-components/p-b17ec97c.system.js +0 -1
  143. package/dist/mint-components/p-d5e7f5e3.system.entry.js +0 -1
  144. package/dist/mint-components/p-eb5835b3.js +0 -268
  145. package/dist/types/components/sqm-portal-register/useValidationState.d.ts +0 -18
@@ -13,7 +13,7 @@ const PortalLogout = class {
13
13
  registerInstance(this, hostRef);
14
14
  this.ignored = true;
15
15
  /**
16
- * Redirect participants to this page when they log out.
16
+ * Redirect participants to this path when they log out
17
17
  *
18
18
  * @uiName Logout Redirect Path
19
19
  * @uiWidget pageSelect
@@ -190,6 +190,8 @@ const PortalProfile = class {
190
190
  */
191
191
  this.submitChangeButtonText = "Submit Changes";
192
192
  /**
193
+ * Show or hide the country field.
194
+ *
193
195
  * @uiName Hide Country Field
194
196
  */
195
197
  this.hideCountry = false;
@@ -33,7 +33,7 @@ const PortalProtectedRoute = class {
33
33
  registerInstance(this, hostRef);
34
34
  this.ignored = true;
35
35
  /**
36
- * Redirect participants to this page they are not logged in.
36
+ * Redirect participants to this path they are not logged in.
37
37
  *
38
38
  * @uiName Redirect Path
39
39
  */
@@ -43,7 +43,7 @@ const PortalProtectedRoute = class {
43
43
  */
44
44
  this.requireEmailVerification = false;
45
45
  /**
46
- * Redirect participants to this page when email verification is required but they have not verified their email.
46
+ * Redirect participants to this path when email verification is required but they have not verified their email.
47
47
  *
48
48
  * @uiName Unverified Participant Redirect Path
49
49
  */
@@ -8,7 +8,7 @@ import { A as AuthWrapper, a as AuthColumn, H as HostBlock, b as AuthButtonsCont
8
8
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
9
9
  import { T as TextSpanView } from './sqm-text-span-view-8b194920.js';
10
10
  import { A as AsYouType } from './AsYouType-46f67d0d.js';
11
- import { u as useRegistrationFormState, a as useValidationState } from './useRegistrationFormState-e94eec81.js';
11
+ import { u as useRegistrationFormState } from './useRegistrationFormState-3cdf2939.js';
12
12
 
13
13
  const style = {
14
14
  Wrapper: { ...AuthWrapper, "max-width": "600px" },
@@ -65,9 +65,9 @@ function PortalRegistrationFormView(props) {
65
65
  } }, (((_d = (_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.initialData) === null || _d === void 0 ? void 0 : _d.email) ? {
66
66
  value: (_f = (_e = states.registrationFormState) === null || _e === void 0 ? void 0 : _e.initialData) === null || _f === void 0 ? void 0 : _f.email,
67
67
  }
68
- : {}), (((_h = (_g = states.validationState) === null || _g === void 0 ? void 0 : _g.validationErrors) === null || _h === void 0 ? void 0 : _h.email) ? {
68
+ : {}), (((_h = (_g = states.registrationFormState) === null || _g === void 0 ? void 0 : _g.validationErrors) === null || _h === void 0 ? void 0 : _h.email) ? {
69
69
  class: sheet.classes.ErrorStyle,
70
- helpText: ((_k = (_j = states.validationState) === null || _j === void 0 ? void 0 : _j.validationErrors) === null || _k === void 0 ? void 0 : _k.email) ||
70
+ helpText: ((_k = (_j = states.registrationFormState) === null || _j === void 0 ? void 0 : _j.validationErrors) === null || _k === void 0 ? void 0 : _k.email) ||
71
71
  "Cannot be empty",
72
72
  }
73
73
  : [])))),
@@ -76,10 +76,9 @@ function PortalRegistrationFormView(props) {
76
76
  !states.hideInputs && states.confirmPassword && (h("sl-input", Object.assign({ exportparts: "label: input-label", type: "password", name: "/confirmPassword", label: content.confirmPasswordLabel, disabled: states.loading, required: true }, (((_m = (_l = states.registrationFormState) === null || _l === void 0 ? void 0 : _l.initialData) === null || _m === void 0 ? void 0 : _m.confirmPassword) ? {
77
77
  value: (_p = (_o = states.registrationFormState) === null || _o === void 0 ? void 0 : _o.initialData) === null || _p === void 0 ? void 0 : _p.confirmPassword,
78
78
  }
79
- : {}), (((_r = (_q = states.validationState) === null || _q === void 0 ? void 0 : _q.validationErrors) === null || _r === void 0 ? void 0 : _r.confirmPassword) ? {
79
+ : {}), (((_r = (_q = states.registrationFormState) === null || _q === void 0 ? void 0 : _q.validationErrors) === null || _r === void 0 ? void 0 : _r.confirmPassword) ? {
80
80
  class: sheet.classes.ErrorStyle,
81
- helpText: ((_t = (_s = states.validationState) === null || _s === void 0 ? void 0 : _s.validationErrors) === null || _t === void 0 ? void 0 : _t.confirmPassword) ||
82
- "Cannot be empty",
81
+ helpText: ((_t = (_s = states.registrationFormState) === null || _s === void 0 ? void 0 : _s.validationErrors) === null || _t === void 0 ? void 0 : _t.confirmPassword) || "Cannot be empty",
83
82
  }
84
83
  : [])))),
85
84
  content.terms,
@@ -105,7 +104,6 @@ function usePortalRegistrationForm(props) {
105
104
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
106
105
  const formRef = useRef(null);
107
106
  const { registrationFormState, setRegistrationFormState } = useRegistrationFormState({});
108
- const { validationState, setValidationState } = useValidationState({});
109
107
  const [request, { loading, errors, data, formError }] = qe();
110
108
  const queryResponse = dn(RegistrationFormQuery, { key: props.formKey });
111
109
  const formLoading = loading || queryResponse.loading;
@@ -163,11 +161,22 @@ function usePortalRegistrationForm(props) {
163
161
  confirmPassword: "Passwords do not match.",
164
162
  };
165
163
  }
166
- setValidationState({ error: "", validationErrors });
167
164
  if (Object.keys(validationErrors).length) {
168
165
  // early return for validation errors
166
+ setRegistrationFormState({
167
+ ...registrationFormState,
168
+ loading: false,
169
+ error: "",
170
+ validationErrors,
171
+ });
169
172
  return;
170
173
  }
174
+ setRegistrationFormState({
175
+ ...registrationFormState,
176
+ loading: true,
177
+ error: "",
178
+ validationErrors: {},
179
+ });
171
180
  const { email, password } = formData;
172
181
  delete formData.email;
173
182
  delete formData.password;
@@ -187,6 +196,12 @@ function usePortalRegistrationForm(props) {
187
196
  if (result instanceof Error) {
188
197
  throw result;
189
198
  }
199
+ setRegistrationFormState({
200
+ ...registrationFormState,
201
+ loading: false,
202
+ error: "",
203
+ validationErrors: {},
204
+ });
190
205
  const managedIdentityResponse = (_a = result.submitForm) === null || _a === void 0 ? void 0 : _a.results.find((result) => result.formHandler.namespace === "identity");
191
206
  if (managedIdentityResponse &&
192
207
  managedIdentityResponse.result.results.length &&
@@ -196,7 +211,11 @@ function usePortalRegistrationForm(props) {
196
211
  }
197
212
  }
198
213
  catch (error) {
199
- setValidationState({ error: "Network request failed." });
214
+ setRegistrationFormState({
215
+ ...registrationFormState,
216
+ loading: false,
217
+ error: "Network request failed.",
218
+ });
200
219
  }
201
220
  };
202
221
  const inputFunction = useCallback((e) => {
@@ -221,13 +240,12 @@ function usePortalRegistrationForm(props) {
221
240
  }
222
241
  else {
223
242
  errorMessage =
224
- formError || ((_j = (_h = (_g = (_f = queryResponse === null || queryResponse === void 0 ? void 0 : queryResponse.errors) === null || _f === void 0 ? void 0 : _f.response) === null || _g === void 0 ? void 0 : _g.errors) === null || _h === void 0 ? void 0 : _h[0]) === null || _j === void 0 ? void 0 : _j.message) || ((_o = (_m = (_l = (_k = errors === null || errors === void 0 ? void 0 : errors.response) === null || _k === void 0 ? void 0 : _k.errors) === null || _l === void 0 ? void 0 : _l[0]) === null || _m === void 0 ? void 0 : _m.extensions) === null || _o === void 0 ? void 0 : _o.message) || ((_r = (_q = (_p = errors === null || errors === void 0 ? void 0 : errors.response) === null || _p === void 0 ? void 0 : _p.errors) === null || _q === void 0 ? void 0 : _q[0]) === null || _r === void 0 ? void 0 : _r.message) || (validationState === null || validationState === void 0 ? void 0 : validationState.error);
243
+ formError || ((_j = (_h = (_g = (_f = queryResponse === null || queryResponse === void 0 ? void 0 : queryResponse.errors) === null || _f === void 0 ? void 0 : _f.response) === null || _g === void 0 ? void 0 : _g.errors) === null || _h === void 0 ? void 0 : _h[0]) === null || _j === void 0 ? void 0 : _j.message) || ((_o = (_m = (_l = (_k = errors === null || errors === void 0 ? void 0 : errors.response) === null || _k === void 0 ? void 0 : _k.errors) === null || _l === void 0 ? void 0 : _l[0]) === null || _m === void 0 ? void 0 : _m.extensions) === null || _o === void 0 ? void 0 : _o.message) || ((_r = (_q = (_p = errors === null || errors === void 0 ? void 0 : errors.response) === null || _p === void 0 ? void 0 : _p.errors) === null || _q === void 0 ? void 0 : _q[0]) === null || _r === void 0 ? void 0 : _r.message) || (registrationFormState === null || registrationFormState === void 0 ? void 0 : registrationFormState.error);
225
244
  }
226
245
  return {
227
246
  states: {
228
247
  loading: loading || queryResponse.loading,
229
248
  error: errorMessage,
230
- validationState,
231
249
  registrationFormState,
232
250
  confirmPassword: props.confirmPassword,
233
251
  hideInputs: props.hideInputs,
@@ -249,16 +267,16 @@ const PortalRegistrationForm = class {
249
267
  registerInstance(this, hostRef);
250
268
  this.ignored = true;
251
269
  /**
252
- * Redirect participants to this page after they successfully register.
270
+ * Page participants are navigated to after registration.
253
271
  *
254
- * @uiName Registration Redirect
272
+ * @uiName Registration Redirect Path
255
273
  * @uiWidget pageSelect
256
274
  */
257
275
  this.nextPage = "/";
258
276
  /**
259
- * Redirect participants to this page from their verification email
277
+ * The page that participants are redirected to from the verification email.
260
278
  *
261
- * @uiName Email Verification Redirect
279
+ * @uiName Email Redirection Path
262
280
  * @uiWidget pageSelect
263
281
  */
264
282
  this.redirectPath = "/verifyEmail";
@@ -279,10 +297,12 @@ const PortalRegistrationForm = class {
279
297
  */
280
298
  this.loginLabel = "Sign in";
281
299
  /**
282
- * @uiName Confirm Password Field Label
300
+ * @uiName Confirm Password Label
283
301
  */
284
302
  this.confirmPasswordLabel = "Confirm Password";
285
303
  /**
304
+ * Show or hide the confirm password input.
305
+ *
286
306
  * @uiName Show Confirm Password Field
287
307
  */
288
308
  this.confirmPassword = false;
@@ -291,9 +311,9 @@ const PortalRegistrationForm = class {
291
311
  */
292
312
  this.disablePasswordValidation = false;
293
313
  /**
294
- * Hides the email and password fields. Note: If you hide default inputs, you must add additional input fields. They must have the input name attributes "email" and "password" for this form to succeed.
314
+ * Hide default input fields to use custom fields.
295
315
  *
296
- * @uiName Hide Default Fields
316
+ * @uiName Hide Default Inputs
297
317
  */
298
318
  this.hideInputs = false;
299
319
  /**
@@ -301,9 +321,9 @@ const PortalRegistrationForm = class {
301
321
  */
302
322
  this.pageLabel = "Register";
303
323
  /**
304
- * Redirect participants to this page after clicking the login button.
324
+ * Login button redirection path.
305
325
  *
306
- * @uiName Login Redirect
326
+ * @uiName Login Redirect Path
307
327
  * @uiWidget pageSelect
308
328
  */
309
329
  this.loginPath = "/login";
@@ -89,21 +89,23 @@ const PortalResetPassword = class {
89
89
  registerInstance(this, hostRef);
90
90
  this.ignored = true;
91
91
  /**
92
- * Redirect participants to this page when they successfully reset their password.
92
+ * The page that participants are redirected to when the password reset succeeds.
93
93
  *
94
- * @uiName Successful Reset Redirect
94
+ * @uiName Reset Successful Redirect Path
95
95
  * @uiWidget pageSelect
96
96
  */
97
97
  this.nextPage = "/";
98
98
  /**
99
- * Redirect participants to this page if password reset fails due to an outdated reset attempt.
99
+ * The page that participants are redirected to if the reset fails due to outdated password reset attempt.
100
100
  *
101
- * @uiName Failed Reset Redirect
101
+ * @uiName Reset Failed Redirect Path
102
102
  * @uiWidget pageSelect
103
103
  */
104
104
  this.failedPage = "/";
105
105
  /**
106
- * @uiName Show Confirm Password Field
106
+ * Show or hide confirm password field.
107
+ *
108
+ * @uiName Show Confirm Password
107
109
  */
108
110
  this.confirmPassword = false;
109
111
  /**
@@ -128,11 +130,11 @@ const PortalResetPassword = class {
128
130
  */
129
131
  this.continueButtonText = "Continue";
130
132
  /**
131
- * @uiName Password Confirmation Field Label
133
+ * @uiName Password Comfirmation Label
132
134
  */
133
135
  this.confirmPasswordFieldLabel = "Confirm Password";
134
136
  /**
135
- * @uiName Password Field Label
137
+ * @uiName Password Label
136
138
  */
137
139
  this.passwordFieldLabel = "New Password";
138
140
  h(this);
@@ -72,16 +72,16 @@ const PortalVerifyEmail = class {
72
72
  registerInstance(this, hostRef);
73
73
  this.ignored = true;
74
74
  /**
75
- * Redirect participants to this page when they successfully verify their email.
75
+ * The page that participants are redirected to when the verification succeeds.
76
76
  *
77
- * @uiName Successful Verification Redirect
77
+ * @uiName Verification Redirect Path
78
78
  * @uiWidget pageSelect
79
79
  */
80
80
  this.nextPage = "/";
81
81
  /**
82
- * Redirect participants to this page if verification fails due to an outdated verification attempt.
82
+ * The page that participants are redirected to if verification fails due to outdated verification attempt.
83
83
  *
84
- * @uiName Failed Verification Redirect
84
+ * @uiName Verification Failed Redirect Path
85
85
  * @uiWidget pageSelect
86
86
  */
87
87
  this.failedPage = "/";