@fewangsit/wangsvue-fats 1.0.0-alpha.156 → 1.0.0-alpha.157

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.
@@ -30,7 +30,7 @@ export interface UserNameComponentConfigs {
30
30
  /**
31
31
  * @example `/tim-member/member/{userId}/detail-member`
32
32
  */
33
- detailUserPath: string;
33
+ detailUserPath?: string;
34
34
 
35
35
  /**
36
36
  * @default 'picture' - Show user profile picture instead of user icon
@@ -42,6 +42,11 @@ export interface UserNameComponentConfigs {
42
42
  * @default true
43
43
  */
44
44
  showUserName?: boolean;
45
+ /**
46
+ * Whether to shorten the user's name..
47
+ * @default true
48
+ */
49
+ formatUserName?: boolean;
45
50
  /**
46
51
  * Specify the field of user to be used as display name
47
52
  *
@@ -60,7 +65,7 @@ export interface UserNameComponentConfigs {
60
65
  * @param userId The user id
61
66
  * @returns Full user detail object
62
67
  */
63
- getUserDetail: (
68
+ getUserDetail?: (
64
69
  userId: string,
65
70
  ) => UserNameProps['user'] | Promise<UserNameProps['user']>;
66
71
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fewangsit/wangsvue-fats",
3
- "version": "1.0.0-alpha.156",
3
+ "version": "1.0.0-alpha.157",
4
4
  "author": "Wangsit FE Developer",
5
5
  "description": "Fixed Asset Tagsamurai VueJS Component Library",
6
6
  "type": "module",