ember-flexberry-account 0.1.0-beta.2 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -2,24 +2,20 @@
2
2
  All notable changes to this project will be documented in this file.
3
3
 
4
4
  ## [Unreleased]
5
- ## [0.1.0-beta.1] - 2023-10-04
6
- ### Fixed
7
- * Login with "Enter" key
8
5
 
9
- ## [0.1.0-beta.0] - 2019-04-25
10
- ### Fixed
11
- * Configuration getting in the `flexberry-recaptcha` component is implemented in a compatible way with different versions of the `Ember.js`.
6
+ ## [0.1.0] - 2024-05-03
7
+ ### Added
8
+ * Components:
9
+ * `flexberry-login`. Incapsulates logic for user login.
10
+ * `flexberry-register`. Incapsulates logic for registering new user.
11
+ * `flexberry-user-profile`. Incapsulates logic for changing user profile.
12
+ * `flexberry-pwd-reset`. Incapsulates logic for reset user password.
13
+ * `flexberry-recaptcha`. Incapsulates logic for displaying and verifying captcha.
12
14
 
13
15
  ### Changed
14
16
  * Components:
15
17
  * Add GUI logic to `flexberry-login`, `flexberry-register`, `flexberry-user-profile`, `flexberry-login`, `flexberry-pwd-reset`.
16
18
 
17
-
18
- ## [0.1.0-alpha.2]
19
- ### Added
20
- * Components:
21
- * `flexberry-login`. Incapsulates logic for user login.
22
- * `flexberry-register`. Incapsulates logic for registering new user.
23
- * `flexberry-user-profile`. Incapsulates logic for changing user profile.
24
- * `flexberry-pwd-reset`. Incapsulates logic for reset user password.
25
- * `flexberry-recaptcha`. Incapsulates logic for displaying and verifying captcha.
19
+ ### Fixed
20
+ * Login with "Enter" key
21
+ * Configuration getting in the `flexberry-recaptcha` component is implemented in a compatible way with different versions of the `Ember.js`.
@@ -69,6 +69,15 @@ export default Ember.Component.extend({
69
69
  */
70
70
  remember: true,
71
71
 
72
+ /**
73
+ Flag is used to hide remember me field.
74
+
75
+ @property showRemember
76
+ @type Boolean
77
+ @default false
78
+ */
79
+ showRemember: false,
80
+
72
81
  /**
73
82
  This computed field shows whether login is allowed or not.
74
83
 
@@ -16,12 +16,14 @@
16
16
  value=password
17
17
  placeholder="Введите пароль"}}
18
18
  </div>
19
- <div class="remember-div">
20
- <div class="ui checkbox">
21
- {{input type="checkbox" id="remember" checked=remember}}
22
- <label for="remember">{{t "components.login.remember-label"}}</label>
19
+ {{#if showRemember}}
20
+ <div class="remember-div">
21
+ <div class="ui checkbox">
22
+ {{input type="checkbox" id="remember" checked=remember}}
23
+ <label for="remember">{{t "components.login.remember-label"}}</label>
24
+ </div>
23
25
  </div>
24
- </div>
26
+ {{/if}}
25
27
  <div class="login-div">
26
28
  <button
27
29
  class="ui login-button button"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ember-flexberry-account",
3
- "version": "0.1.0-beta.2",
3
+ "version": "0.1.0",
4
4
  "description": "User account management addon.",
5
5
  "directories": {
6
6
  "doc": "doc",