@happyvertical/smrt-users 0.37.2 → 0.37.3

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/dist/ui.js CHANGED
@@ -1,75 +1,81 @@
1
- const USERS_UI_SLOTS = {
2
- "user-card": {
3
- id: "user-card",
4
- label: "User Card",
5
- description: "Compact user information display",
6
- icon: "user",
7
- category: "display",
8
- order: 1,
9
- propsInterface: "UserCardProps"
10
- },
11
- "user-list": {
12
- id: "user-list",
13
- label: "User List",
14
- description: "List of users with selection support",
15
- icon: "users",
16
- category: "list",
17
- order: 2,
18
- propsInterface: "UserListProps"
19
- },
20
- "user-form": {
21
- id: "user-form",
22
- label: "User Form",
23
- description: "Form for creating or editing users",
24
- icon: "edit",
25
- category: "form",
26
- order: 3,
27
- propsInterface: "UserFormProps"
28
- },
29
- "user-avatar": {
30
- id: "user-avatar",
31
- label: "User Avatar",
32
- description: "User profile image or initials display",
33
- icon: "image",
34
- category: "display",
35
- order: 4,
36
- propsInterface: "UserAvatarProps"
37
- },
38
- "invite-user-modal": {
39
- id: "invite-user-modal",
40
- label: "Invite User Modal",
41
- description: "Modal for inviting new users",
42
- icon: "user-plus",
43
- category: "form",
44
- order: 5,
45
- propsInterface: "InviteUserModalProps"
46
- },
47
- "user-menu": {
48
- id: "user-menu",
49
- label: "User Menu",
50
- description: "User profile menu dropdown",
51
- icon: "menu",
52
- category: "action",
53
- order: 6,
54
- propsInterface: "UserMenuProps"
55
- }
1
+ //#region src/ui.ts
2
+ var USERS_UI_SLOTS = {
3
+ "user-card": {
4
+ id: "user-card",
5
+ label: "User Card",
6
+ description: "Compact user information display",
7
+ icon: "user",
8
+ category: "display",
9
+ order: 1,
10
+ propsInterface: "UserCardProps"
11
+ },
12
+ "user-list": {
13
+ id: "user-list",
14
+ label: "User List",
15
+ description: "List of users with selection support",
16
+ icon: "users",
17
+ category: "list",
18
+ order: 2,
19
+ propsInterface: "UserListProps"
20
+ },
21
+ "user-form": {
22
+ id: "user-form",
23
+ label: "User Form",
24
+ description: "Form for creating or editing users",
25
+ icon: "edit",
26
+ category: "form",
27
+ order: 3,
28
+ propsInterface: "UserFormProps"
29
+ },
30
+ "user-avatar": {
31
+ id: "user-avatar",
32
+ label: "User Avatar",
33
+ description: "User profile image or initials display",
34
+ icon: "image",
35
+ category: "display",
36
+ order: 4,
37
+ propsInterface: "UserAvatarProps"
38
+ },
39
+ "invite-user-modal": {
40
+ id: "invite-user-modal",
41
+ label: "Invite User Modal",
42
+ description: "Modal for inviting new users",
43
+ icon: "user-plus",
44
+ category: "form",
45
+ order: 5,
46
+ propsInterface: "InviteUserModalProps"
47
+ },
48
+ "user-menu": {
49
+ id: "user-menu",
50
+ label: "User Menu",
51
+ description: "User profile menu dropdown",
52
+ icon: "menu",
53
+ category: "action",
54
+ order: 6,
55
+ propsInterface: "UserMenuProps"
56
+ }
56
57
  };
57
- const USERS_MODULE_META = {
58
- name: "@happyvertical/smrt-users",
59
- displayName: "Users",
60
- description: "Multi-tenant user management with roles and permissions",
61
- uiSlots: USERS_UI_SLOTS,
62
- models: ["User", "Tenant", "Role", "Permission", "Group"],
63
- collections: [
64
- "UserCollection",
65
- "TenantCollection",
66
- "RoleCollection",
67
- "PermissionCollection",
68
- "GroupCollection"
69
- ]
58
+ var USERS_MODULE_META = {
59
+ name: "@happyvertical/smrt-users",
60
+ displayName: "Users",
61
+ description: "Multi-tenant user management with roles and permissions",
62
+ uiSlots: USERS_UI_SLOTS,
63
+ models: [
64
+ "User",
65
+ "Tenant",
66
+ "Role",
67
+ "Permission",
68
+ "Group"
69
+ ],
70
+ collections: [
71
+ "UserCollection",
72
+ "TenantCollection",
73
+ "RoleCollection",
74
+ "PermissionCollection",
75
+ "GroupCollection"
76
+ ]
70
77
  };
71
- export {
72
- USERS_MODULE_META,
73
- USERS_UI_SLOTS
74
- };
75
- //# sourceMappingURL=ui.js.map
78
+ //#endregion
79
+ export { USERS_MODULE_META, USERS_UI_SLOTS };
80
+
81
+ //# sourceMappingURL=ui.js.map
package/dist/ui.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"ui.js","sources":["../src/ui.ts"],"sourcesContent":["/**\n * Users Module UI Slot Declarations\n *\n * This file defines the UI extension points for the users module.\n * UI components are implemented in the ./svelte subpath.\n */\n\nimport type { ModuleUISlot, SmrtModuleMeta } from '@happyvertical/smrt-types';\n\n/**\n * Users module UI slots\n */\nexport const USERS_UI_SLOTS: Record<string, ModuleUISlot> = {\n 'user-card': {\n id: 'user-card',\n label: 'User Card',\n description: 'Compact user information display',\n icon: 'user',\n category: 'display',\n order: 1,\n propsInterface: 'UserCardProps',\n },\n 'user-list': {\n id: 'user-list',\n label: 'User List',\n description: 'List of users with selection support',\n icon: 'users',\n category: 'list',\n order: 2,\n propsInterface: 'UserListProps',\n },\n 'user-form': {\n id: 'user-form',\n label: 'User Form',\n description: 'Form for creating or editing users',\n icon: 'edit',\n category: 'form',\n order: 3,\n propsInterface: 'UserFormProps',\n },\n 'user-avatar': {\n id: 'user-avatar',\n label: 'User Avatar',\n description: 'User profile image or initials display',\n icon: 'image',\n category: 'display',\n order: 4,\n propsInterface: 'UserAvatarProps',\n },\n 'invite-user-modal': {\n id: 'invite-user-modal',\n label: 'Invite User Modal',\n description: 'Modal for inviting new users',\n icon: 'user-plus',\n category: 'form',\n order: 5,\n propsInterface: 'InviteUserModalProps',\n },\n 'user-menu': {\n id: 'user-menu',\n label: 'User Menu',\n description: 'User profile menu dropdown',\n icon: 'menu',\n category: 'action',\n order: 6,\n propsInterface: 'UserMenuProps',\n },\n};\n\n/**\n * Users module metadata\n */\nexport const USERS_MODULE_META: SmrtModuleMeta = {\n name: '@happyvertical/smrt-users',\n displayName: 'Users',\n description: 'Multi-tenant user management with roles and permissions',\n uiSlots: USERS_UI_SLOTS,\n models: ['User', 'Tenant', 'Role', 'Permission', 'Group'],\n collections: [\n 'UserCollection',\n 'TenantCollection',\n 'RoleCollection',\n 'PermissionCollection',\n 'GroupCollection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js","names":[],"sources":["../src/ui.ts"],"sourcesContent":["/**\n * Users Module UI Slot Declarations\n *\n * This file defines the UI extension points for the users module.\n * UI components are implemented in the ./svelte subpath.\n */\n\nimport type { ModuleUISlot, SmrtModuleMeta } from '@happyvertical/smrt-types';\n\n/**\n * Users module UI slots\n */\nexport const USERS_UI_SLOTS: Record<string, ModuleUISlot> = {\n 'user-card': {\n id: 'user-card',\n label: 'User Card',\n description: 'Compact user information display',\n icon: 'user',\n category: 'display',\n order: 1,\n propsInterface: 'UserCardProps',\n },\n 'user-list': {\n id: 'user-list',\n label: 'User List',\n description: 'List of users with selection support',\n icon: 'users',\n category: 'list',\n order: 2,\n propsInterface: 'UserListProps',\n },\n 'user-form': {\n id: 'user-form',\n label: 'User Form',\n description: 'Form for creating or editing users',\n icon: 'edit',\n category: 'form',\n order: 3,\n propsInterface: 'UserFormProps',\n },\n 'user-avatar': {\n id: 'user-avatar',\n label: 'User Avatar',\n description: 'User profile image or initials display',\n icon: 'image',\n category: 'display',\n order: 4,\n propsInterface: 'UserAvatarProps',\n },\n 'invite-user-modal': {\n id: 'invite-user-modal',\n label: 'Invite User Modal',\n description: 'Modal for inviting new users',\n icon: 'user-plus',\n category: 'form',\n order: 5,\n propsInterface: 'InviteUserModalProps',\n },\n 'user-menu': {\n id: 'user-menu',\n label: 'User Menu',\n description: 'User profile menu dropdown',\n icon: 'menu',\n category: 'action',\n order: 6,\n propsInterface: 'UserMenuProps',\n },\n};\n\n/**\n * Users module metadata\n */\nexport const USERS_MODULE_META: SmrtModuleMeta = {\n name: '@happyvertical/smrt-users',\n displayName: 'Users',\n description: 'Multi-tenant user management with roles and permissions',\n uiSlots: USERS_UI_SLOTS,\n models: ['User', 'Tenant', 'Role', 'Permission', 'Group'],\n collections: [\n 'UserCollection',\n 'TenantCollection',\n 'RoleCollection',\n 'PermissionCollection',\n 'GroupCollection',\n ],\n};\n"],"mappings":";AAYO,IAAM,iBAA+C;CAC1D,aAAa;EACX,IAAI;EACJ,OAAO;EACP,aAAa;EACb,MAAM;EACN,UAAU;EACV,OAAO;EACP,gBAAgB;CAClB;CACA,aAAa;EACX,IAAI;EACJ,OAAO;EACP,aAAa;EACb,MAAM;EACN,UAAU;EACV,OAAO;EACP,gBAAgB;CAClB;CACA,aAAa;EACX,IAAI;EACJ,OAAO;EACP,aAAa;EACb,MAAM;EACN,UAAU;EACV,OAAO;EACP,gBAAgB;CAClB;CACA,eAAe;EACb,IAAI;EACJ,OAAO;EACP,aAAa;EACb,MAAM;EACN,UAAU;EACV,OAAO;EACP,gBAAgB;CAClB;CACA,qBAAqB;EACnB,IAAI;EACJ,OAAO;EACP,aAAa;EACb,MAAM;EACN,UAAU;EACV,OAAO;EACP,gBAAgB;CAClB;CACA,aAAa;EACX,IAAI;EACJ,OAAO;EACP,aAAa;EACb,MAAM;EACN,UAAU;EACV,OAAO;EACP,gBAAgB;CAClB;AACF;AAKO,IAAM,oBAAoC;CAC/C,MAAM;CACN,aAAa;CACb,aAAa;CACb,SAAS;CACT,QAAQ;EAAC;EAAQ;EAAU;EAAQ;EAAc;CAAO;CACxD,aAAa;EACX;EACA;EACA;EACA;EACA;CACF;AACF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@happyvertical/smrt-users",
3
- "version": "0.37.2",
3
+ "version": "0.37.3",
4
4
  "description": "Multi-tenant user management for the SMRT framework - users, tenants, roles, permissions, groups",
5
5
  "type": "module",
6
6
  "smrtRawPrimitives": "strict",
@@ -33,7 +33,7 @@
33
33
  "AGENTS.md"
34
34
  ],
35
35
  "peerDependencies": {
36
- "svelte": "^5.46.4"
36
+ "svelte": "^5.56.4"
37
37
  },
38
38
  "peerDependenciesMeta": {
39
39
  "svelte": {
@@ -41,27 +41,27 @@
41
41
  }
42
42
  },
43
43
  "dependencies": {
44
- "@happyvertical/logger": "^0.74.10",
45
- "jose": "^6.1.3",
46
- "@happyvertical/smrt-profiles": "0.37.2",
47
- "@happyvertical/smrt-config": "0.37.2",
48
- "@happyvertical/smrt-core": "0.37.2",
49
- "@happyvertical/smrt-tenancy": "0.37.2",
50
- "@happyvertical/smrt-types": "0.37.2",
51
- "@happyvertical/smrt-ui": "0.37.2"
44
+ "@happyvertical/logger": "^0.74.11",
45
+ "jose": "^6.2.3",
46
+ "@happyvertical/smrt-config": "0.37.3",
47
+ "@happyvertical/smrt-profiles": "0.37.3",
48
+ "@happyvertical/smrt-core": "0.37.3",
49
+ "@happyvertical/smrt-tenancy": "0.37.3",
50
+ "@happyvertical/smrt-types": "0.37.3",
51
+ "@happyvertical/smrt-ui": "0.37.3"
52
52
  },
53
53
  "devDependencies": {
54
- "@happyvertical/sql": "^0.74.10",
55
- "@sveltejs/package": "^2.5.7",
56
- "@sveltejs/vite-plugin-svelte": "^6.2.4",
57
- "@types/node": "25.0.9",
54
+ "@happyvertical/sql": "^0.74.11",
55
+ "@sveltejs/package": "^2.5.8",
56
+ "@sveltejs/vite-plugin-svelte": "^7.1.2",
57
+ "@types/node": "24.13.2",
58
58
  "fast-glob": "^3.3.3",
59
- "svelte": "^5.46.4",
60
- "svelte-check": "^4.3.5",
59
+ "svelte": "^5.56.4",
60
+ "svelte-check": "^4.7.1",
61
61
  "typescript": "^5.9.3",
62
- "vite": "^7.3.6",
63
- "vitest": "^4.0.17",
64
- "@happyvertical/smrt-vitest": "0.37.2"
62
+ "vite": "^8.1.2",
63
+ "vitest": "^4.1.9",
64
+ "@happyvertical/smrt-vitest": "0.37.3"
65
65
  },
66
66
  "keywords": [
67
67
  "smrt",