@happyvertical/smrt-messages 0.37.2 → 0.37.4

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.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"ui.js","sources":["../src/ui.ts"],"sourcesContent":["/**\n * Messages Module UI Slot Declarations\n *\n * Defines UI extension points for the messages module.\n * UI components are implemented in the ./svelte subpath.\n */\n\nimport type { ModuleUISlot, SmrtModuleMeta } from '@happyvertical/smrt-types';\n\nexport const MESSAGES_UI_SLOTS: Record<string, ModuleUISlot> = {\n 'message-card': {\n id: 'message-card',\n label: 'Message Card',\n description: 'Single message row with type-adaptive rendering',\n icon: 'mail',\n category: 'display',\n order: 1,\n propsInterface: 'MessageCardProps',\n },\n 'message-list': {\n id: 'message-list',\n label: 'Message List',\n description: 'Unified message list with selection and filtering',\n icon: 'list',\n category: 'list',\n order: 2,\n propsInterface: 'MessageListProps',\n },\n 'message-detail': {\n id: 'message-detail',\n label: 'Message Detail',\n description: 'Full message view with type-adaptive sections',\n icon: 'file-text',\n category: 'display',\n order: 3,\n propsInterface: 'MessageDetailProps',\n },\n 'message-filters': {\n id: 'message-filters',\n label: 'Message Filters',\n description: 'Filter and sort controls for message lists',\n icon: 'filter',\n category: 'action',\n order: 4,\n propsInterface: 'MessageFiltersProps',\n },\n 'account-list': {\n id: 'account-list',\n label: 'Account List',\n description: 'Account management list with sync status',\n icon: 'users',\n category: 'list',\n order: 5,\n propsInterface: 'AccountListProps',\n },\n 'thread-view': {\n id: 'thread-view',\n label: 'Thread View',\n description: 'Conversation thread with collapsible messages',\n icon: 'message-circle',\n category: 'display',\n order: 6,\n propsInterface: 'ThreadViewProps',\n },\n 'compose-form': {\n id: 'compose-form',\n label: 'Compose Form',\n description: 'Full message compose form with type-adaptive fields',\n icon: 'edit',\n category: 'action',\n order: 7,\n propsInterface: 'ComposeFormProps',\n },\n 'reply-form': {\n id: 'reply-form',\n label: 'Reply Form',\n description: 'Inline reply form with quoted original',\n icon: 'reply',\n category: 'action',\n order: 8,\n propsInterface: 'ReplyFormProps',\n },\n};\n\nexport const MESSAGES_MODULE_META: SmrtModuleMeta = {\n name: '@happyvertical/smrt-messages',\n displayName: 'Messages',\n description:\n 'Unified multi-channel messaging: email, Slack, Twitter, and more',\n uiSlots: MESSAGES_UI_SLOTS,\n models: [\n 'Message',\n 'Email',\n 'Tweet',\n 'SlackMessage',\n 'Account',\n 'EmailAccount',\n 'SlackAccount',\n 'TwitterAccount',\n 'Attachment',\n ],\n collections: [\n 'MessageCollection',\n 'EmailCollection',\n 'AccountCollection',\n 'EmailAccountCollection',\n 'AttachmentCollection',\n ],\n};\n"],"names":[],"mappings":"AASO,MAAM,oBAAkD;AAAA,EAC7D,gBAAgB;AAAA,IACd,IAAI;AAAA,IACJ,OAAO;AAAA,IACP,aAAa;AAAA,IACb,MAAM;AAAA,IACN,UAAU;AAAA,IACV,OAAO;AAAA,IACP,gBAAgB;AAAA,EAAA;AAAA,EAElB,gBAAgB;AAAA,IACd,IAAI;AAAA,IACJ,OAAO;AAAA,IACP,aAAa;AAAA,IACb,MAAM;AAAA,IACN,UAAU;AAAA,IACV,OAAO;AAAA,IACP,gBAAgB;AAAA,EAAA;AAAA,EAElB,kBAAkB;AAAA,IAChB,IAAI;AAAA,IACJ,OAAO;AAAA,IACP,aAAa;AAAA,IACb,MAAM;AAAA,IACN,UAAU;AAAA,IACV,OAAO;AAAA,IACP,gBAAgB;AAAA,EAAA;AAAA,EAElB,mBAAmB;AAAA,IACjB,IAAI;AAAA,IACJ,OAAO;AAAA,IACP,aAAa;AAAA,IACb,MAAM;AAAA,IACN,UAAU;AAAA,IACV,OAAO;AAAA,IACP,gBAAgB;AAAA,EAAA;AAAA,EAElB,gBAAgB;AAAA,IACd,IAAI;AAAA,IACJ,OAAO;AAAA,IACP,aAAa;AAAA,IACb,MAAM;AAAA,IACN,UAAU;AAAA,IACV,OAAO;AAAA,IACP,gBAAgB;AAAA,EAAA;AAAA,EAElB,eAAe;AAAA,IACb,IAAI;AAAA,IACJ,OAAO;AAAA,IACP,aAAa;AAAA,IACb,MAAM;AAAA,IACN,UAAU;AAAA,IACV,OAAO;AAAA,IACP,gBAAgB;AAAA,EAAA;AAAA,EAElB,gBAAgB;AAAA,IACd,IAAI;AAAA,IACJ,OAAO;AAAA,IACP,aAAa;AAAA,IACb,MAAM;AAAA,IACN,UAAU;AAAA,IACV,OAAO;AAAA,IACP,gBAAgB;AAAA,EAAA;AAAA,EAElB,cAAc;AAAA,IACZ,IAAI;AAAA,IACJ,OAAO;AAAA,IACP,aAAa;AAAA,IACb,MAAM;AAAA,IACN,UAAU;AAAA,IACV,OAAO;AAAA,IACP,gBAAgB;AAAA,EAAA;AAEpB;AAEO,MAAM,uBAAuC;AAAA,EAClD,MAAM;AAAA,EACN,aAAa;AAAA,EACb,aACE;AAAA,EACF,SAAS;AAAA,EACT,QAAQ;AAAA,IACN;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EAAA;AAAA,EAEF,aAAa;AAAA,IACX;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EAAA;AAEJ;"}
1
+ {"version":3,"file":"ui.js","names":[],"sources":["../src/ui.ts"],"sourcesContent":["/**\n * Messages Module UI Slot Declarations\n *\n * Defines UI extension points for the messages module.\n * UI components are implemented in the ./svelte subpath.\n */\n\nimport type { ModuleUISlot, SmrtModuleMeta } from '@happyvertical/smrt-types';\n\nexport const MESSAGES_UI_SLOTS: Record<string, ModuleUISlot> = {\n 'message-card': {\n id: 'message-card',\n label: 'Message Card',\n description: 'Single message row with type-adaptive rendering',\n icon: 'mail',\n category: 'display',\n order: 1,\n propsInterface: 'MessageCardProps',\n },\n 'message-list': {\n id: 'message-list',\n label: 'Message List',\n description: 'Unified message list with selection and filtering',\n icon: 'list',\n category: 'list',\n order: 2,\n propsInterface: 'MessageListProps',\n },\n 'message-detail': {\n id: 'message-detail',\n label: 'Message Detail',\n description: 'Full message view with type-adaptive sections',\n icon: 'file-text',\n category: 'display',\n order: 3,\n propsInterface: 'MessageDetailProps',\n },\n 'message-filters': {\n id: 'message-filters',\n label: 'Message Filters',\n description: 'Filter and sort controls for message lists',\n icon: 'filter',\n category: 'action',\n order: 4,\n propsInterface: 'MessageFiltersProps',\n },\n 'account-list': {\n id: 'account-list',\n label: 'Account List',\n description: 'Account management list with sync status',\n icon: 'users',\n category: 'list',\n order: 5,\n propsInterface: 'AccountListProps',\n },\n 'thread-view': {\n id: 'thread-view',\n label: 'Thread View',\n description: 'Conversation thread with collapsible messages',\n icon: 'message-circle',\n category: 'display',\n order: 6,\n propsInterface: 'ThreadViewProps',\n },\n 'compose-form': {\n id: 'compose-form',\n label: 'Compose Form',\n description: 'Full message compose form with type-adaptive fields',\n icon: 'edit',\n category: 'action',\n order: 7,\n propsInterface: 'ComposeFormProps',\n },\n 'reply-form': {\n id: 'reply-form',\n label: 'Reply Form',\n description: 'Inline reply form with quoted original',\n icon: 'reply',\n category: 'action',\n order: 8,\n propsInterface: 'ReplyFormProps',\n },\n};\n\nexport const MESSAGES_MODULE_META: SmrtModuleMeta = {\n name: '@happyvertical/smrt-messages',\n displayName: 'Messages',\n description:\n 'Unified multi-channel messaging: email, Slack, Twitter, and more',\n uiSlots: MESSAGES_UI_SLOTS,\n models: [\n 'Message',\n 'Email',\n 'Tweet',\n 'SlackMessage',\n 'Account',\n 'EmailAccount',\n 'SlackAccount',\n 'TwitterAccount',\n 'Attachment',\n ],\n collections: [\n 'MessageCollection',\n 'EmailCollection',\n 'AccountCollection',\n 'EmailAccountCollection',\n 'AttachmentCollection',\n ],\n};\n"],"mappings":";AASO,IAAM,oBAAkD;CAC7D,gBAAgB;EACd,IAAI;EACJ,OAAO;EACP,aAAa;EACb,MAAM;EACN,UAAU;EACV,OAAO;EACP,gBAAgB;CAClB;CACA,gBAAgB;EACd,IAAI;EACJ,OAAO;EACP,aAAa;EACb,MAAM;EACN,UAAU;EACV,OAAO;EACP,gBAAgB;CAClB;CACA,kBAAkB;EAChB,IAAI;EACJ,OAAO;EACP,aAAa;EACb,MAAM;EACN,UAAU;EACV,OAAO;EACP,gBAAgB;CAClB;CACA,mBAAmB;EACjB,IAAI;EACJ,OAAO;EACP,aAAa;EACb,MAAM;EACN,UAAU;EACV,OAAO;EACP,gBAAgB;CAClB;CACA,gBAAgB;EACd,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,gBAAgB;EACd,IAAI;EACJ,OAAO;EACP,aAAa;EACb,MAAM;EACN,UAAU;EACV,OAAO;EACP,gBAAgB;CAClB;CACA,cAAc;EACZ,IAAI;EACJ,OAAO;EACP,aAAa;EACb,MAAM;EACN,UAAU;EACV,OAAO;EACP,gBAAgB;CAClB;AACF;AAEO,IAAM,uBAAuC;CAClD,MAAM;CACN,aAAa;CACb,aACE;CACF,SAAS;CACT,QAAQ;EACN;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACF;CACA,aAAa;EACX;EACA;EACA;EACA;EACA;CACF;AACF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@happyvertical/smrt-messages",
3
- "version": "0.37.2",
3
+ "version": "0.37.4",
4
4
  "description": "Unified multi-channel messaging with STI-based hierarchies",
5
5
  "type": "module",
6
6
  "smrtRawPrimitives": "strict",
@@ -33,22 +33,22 @@
33
33
  }
34
34
  },
35
35
  "dependencies": {
36
- "@happyvertical/ai": "^0.74.10",
37
- "@happyvertical/email": "^0.74.10",
38
- "@happyvertical/files": "^0.74.10",
39
- "@happyvertical/logger": "^0.74.10",
40
- "@happyvertical/messages": "^0.74.10",
41
- "@happyvertical/sql": "^0.74.10",
42
- "@happyvertical/utils": "^0.74.10",
43
- "@happyvertical/smrt-core": "0.37.2",
44
- "@happyvertical/smrt-types": "0.37.2",
45
- "@happyvertical/smrt-tenancy": "0.37.2",
46
- "@happyvertical/smrt-secrets": "0.37.2",
47
- "@happyvertical/smrt-ui": "0.37.2"
36
+ "@happyvertical/ai": "^0.74.11",
37
+ "@happyvertical/email": "^0.74.11",
38
+ "@happyvertical/files": "^0.74.11",
39
+ "@happyvertical/logger": "^0.74.11",
40
+ "@happyvertical/messages": "^0.74.11",
41
+ "@happyvertical/sql": "^0.74.11",
42
+ "@happyvertical/utils": "^0.74.11",
43
+ "@happyvertical/smrt-core": "0.37.4",
44
+ "@happyvertical/smrt-types": "0.37.4",
45
+ "@happyvertical/smrt-secrets": "0.37.4",
46
+ "@happyvertical/smrt-tenancy": "0.37.4",
47
+ "@happyvertical/smrt-ui": "0.37.4"
48
48
  },
49
49
  "peerDependencies": {
50
50
  "@happyvertical/encryption": "*",
51
- "svelte": "^5.18.0"
51
+ "svelte": "^5.56.4"
52
52
  },
53
53
  "peerDependenciesMeta": {
54
54
  "@happyvertical/encryption": {
@@ -59,15 +59,15 @@
59
59
  }
60
60
  },
61
61
  "devDependencies": {
62
- "@sveltejs/package": "^2.5.7",
63
- "@sveltejs/vite-plugin-svelte": "^6.2.4",
64
- "@types/node": "25.0.9",
65
- "svelte": "^5.46.4",
66
- "svelte-check": "^4.3.5",
62
+ "@sveltejs/package": "^2.5.8",
63
+ "@sveltejs/vite-plugin-svelte": "^7.1.2",
64
+ "@types/node": "24.13.2",
65
+ "svelte": "^5.56.4",
66
+ "svelte-check": "^4.7.1",
67
67
  "typescript": "^5.9.3",
68
- "vite": "^7.3.6",
69
- "vitest": "^4.0.17",
70
- "@happyvertical/smrt-vitest": "0.37.2"
68
+ "vite": "^8.1.2",
69
+ "vitest": "^4.1.9",
70
+ "@happyvertical/smrt-vitest": "0.37.4"
71
71
  },
72
72
  "keywords": [
73
73
  "email",
package/dist/types.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}