@memberjunction/ng-explorer-core 6.2.0-edge.0 → 6.2.0-edge.1

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 (178) hide show
  1. package/dist/app-routing.module.d.ts +23 -1
  2. package/dist/app-routing.module.d.ts.map +1 -1
  3. package/dist/app-routing.module.js +50 -14
  4. package/dist/app-routing.module.js.map +1 -1
  5. package/dist/lib/command-palette/command-palette.component.d.ts +7 -1
  6. package/dist/lib/command-palette/command-palette.component.d.ts.map +1 -1
  7. package/dist/lib/command-palette/command-palette.component.js +28 -14
  8. package/dist/lib/command-palette/command-palette.component.js.map +1 -1
  9. package/dist/lib/conversation-feedback/conversation-feedback.d.ts +103 -13
  10. package/dist/lib/conversation-feedback/conversation-feedback.d.ts.map +1 -1
  11. package/dist/lib/conversation-feedback/conversation-feedback.js +219 -67
  12. package/dist/lib/conversation-feedback/conversation-feedback.js.map +1 -1
  13. package/dist/lib/dashboard-preferences-dialog/dashboard-preferences-dialog.component.d.ts +64 -10
  14. package/dist/lib/dashboard-preferences-dialog/dashboard-preferences-dialog.component.d.ts.map +1 -1
  15. package/dist/lib/dashboard-preferences-dialog/dashboard-preferences-dialog.component.js +172 -66
  16. package/dist/lib/dashboard-preferences-dialog/dashboard-preferences-dialog.component.js.map +1 -1
  17. package/dist/lib/generic/resource-container-component.d.ts +19 -5
  18. package/dist/lib/generic/resource-container-component.d.ts.map +1 -1
  19. package/dist/lib/generic/resource-container-component.js +43 -13
  20. package/dist/lib/generic/resource-container-component.js.map +1 -1
  21. package/dist/lib/guards/entities.guard.d.ts +4 -0
  22. package/dist/lib/guards/entities.guard.d.ts.map +1 -1
  23. package/dist/lib/guards/entities.guard.js +10 -2
  24. package/dist/lib/guards/entities.guard.js.map +1 -1
  25. package/dist/lib/identity-claims/claim-redeem.component.d.ts +4 -0
  26. package/dist/lib/identity-claims/claim-redeem.component.d.ts.map +1 -1
  27. package/dist/lib/identity-claims/claim-redeem.component.js +10 -2
  28. package/dist/lib/identity-claims/claim-redeem.component.js.map +1 -1
  29. package/dist/lib/oauth/oauth-callback.component.d.ts +4 -0
  30. package/dist/lib/oauth/oauth-callback.component.d.ts.map +1 -1
  31. package/dist/lib/oauth/oauth-callback.component.js +10 -2
  32. package/dist/lib/oauth/oauth-callback.component.js.map +1 -1
  33. package/dist/lib/profile/profile-dialog.component.d.ts.map +1 -1
  34. package/dist/lib/profile/profile-dialog.component.js +194 -191
  35. package/dist/lib/profile/profile-dialog.component.js.map +1 -1
  36. package/dist/lib/resource-wrappers/artifact-resource.component.d.ts +20 -2
  37. package/dist/lib/resource-wrappers/artifact-resource.component.d.ts.map +1 -1
  38. package/dist/lib/resource-wrappers/artifact-resource.component.js +33 -9
  39. package/dist/lib/resource-wrappers/artifact-resource.component.js.map +1 -1
  40. package/dist/lib/resource-wrappers/chat-collections-resource.component.d.ts +80 -10
  41. package/dist/lib/resource-wrappers/chat-collections-resource.component.d.ts.map +1 -1
  42. package/dist/lib/resource-wrappers/chat-collections-resource.component.js +168 -56
  43. package/dist/lib/resource-wrappers/chat-collections-resource.component.js.map +1 -1
  44. package/dist/lib/resource-wrappers/chat-conversations-resource.component.d.ts +186 -23
  45. package/dist/lib/resource-wrappers/chat-conversations-resource.component.d.ts.map +1 -1
  46. package/dist/lib/resource-wrappers/chat-conversations-resource.component.js +500 -177
  47. package/dist/lib/resource-wrappers/chat-conversations-resource.component.js.map +1 -1
  48. package/dist/lib/resource-wrappers/chat-deeplink-params.d.ts +2 -0
  49. package/dist/lib/resource-wrappers/chat-deeplink-params.d.ts.map +1 -1
  50. package/dist/lib/resource-wrappers/chat-deeplink-params.js +5 -1
  51. package/dist/lib/resource-wrappers/chat-deeplink-params.js.map +1 -1
  52. package/dist/lib/resource-wrappers/chat-search-routing.d.ts +25 -0
  53. package/dist/lib/resource-wrappers/chat-search-routing.d.ts.map +1 -0
  54. package/dist/lib/resource-wrappers/chat-search-routing.js +24 -0
  55. package/dist/lib/resource-wrappers/chat-search-routing.js.map +1 -0
  56. package/dist/lib/resource-wrappers/chat-tasks-resource.component.d.ts +14 -2
  57. package/dist/lib/resource-wrappers/chat-tasks-resource.component.d.ts.map +1 -1
  58. package/dist/lib/resource-wrappers/chat-tasks-resource.component.js +32 -8
  59. package/dist/lib/resource-wrappers/chat-tasks-resource.component.js.map +1 -1
  60. package/dist/lib/resource-wrappers/dashboard-resource.component.d.ts +54 -8
  61. package/dist/lib/resource-wrappers/dashboard-resource.component.d.ts.map +1 -1
  62. package/dist/lib/resource-wrappers/dashboard-resource.component.js +138 -46
  63. package/dist/lib/resource-wrappers/dashboard-resource.component.js.map +1 -1
  64. package/dist/lib/resource-wrappers/livekit-room-resource.component.d.ts +223 -30
  65. package/dist/lib/resource-wrappers/livekit-room-resource.component.d.ts.map +1 -1
  66. package/dist/lib/resource-wrappers/livekit-room-resource.component.js +438 -118
  67. package/dist/lib/resource-wrappers/livekit-room-resource.component.js.map +1 -1
  68. package/dist/lib/resource-wrappers/search-results-resource.component.d.ts +7 -3
  69. package/dist/lib/resource-wrappers/search-results-resource.component.d.ts.map +1 -1
  70. package/dist/lib/resource-wrappers/search-results-resource.component.js +23 -15
  71. package/dist/lib/resource-wrappers/search-results-resource.component.js.map +1 -1
  72. package/dist/lib/resource-wrappers/view-resource.component.d.ts +68 -10
  73. package/dist/lib/resource-wrappers/view-resource.component.d.ts.map +1 -1
  74. package/dist/lib/resource-wrappers/view-resource.component.js +178 -62
  75. package/dist/lib/resource-wrappers/view-resource.component.js.map +1 -1
  76. package/dist/lib/services/startup-validation.service.d.ts +4 -0
  77. package/dist/lib/services/startup-validation.service.d.ts.map +1 -1
  78. package/dist/lib/services/startup-validation.service.js +10 -2
  79. package/dist/lib/services/startup-validation.service.js.map +1 -1
  80. package/dist/lib/services/system-validation.service.d.ts +13 -1
  81. package/dist/lib/services/system-validation.service.d.ts.map +1 -1
  82. package/dist/lib/services/system-validation.service.js +29 -5
  83. package/dist/lib/services/system-validation.service.js.map +1 -1
  84. package/dist/lib/shell/components/dialogs/app-access-dialog.component.d.ts +54 -4
  85. package/dist/lib/shell/components/dialogs/app-access-dialog.component.d.ts.map +1 -1
  86. package/dist/lib/shell/components/dialogs/app-access-dialog.component.js +130 -40
  87. package/dist/lib/shell/components/dialogs/app-access-dialog.component.js.map +1 -1
  88. package/dist/lib/shell/components/header/app-nav.component.d.ts +29 -1
  89. package/dist/lib/shell/components/header/app-nav.component.d.ts.map +1 -1
  90. package/dist/lib/shell/components/header/app-nav.component.js +56 -12
  91. package/dist/lib/shell/components/header/app-nav.component.js.map +1 -1
  92. package/dist/lib/shell/components/header/app-switcher.component.d.ts +33 -5
  93. package/dist/lib/shell/components/header/app-switcher.component.d.ts.map +1 -1
  94. package/dist/lib/shell/components/header/app-switcher.component.js +85 -29
  95. package/dist/lib/shell/components/header/app-switcher.component.js.map +1 -1
  96. package/dist/lib/shell/components/record-open/record-origin-crumb.component.js +1 -1
  97. package/dist/lib/shell/components/record-open/record-origin-crumb.component.js.map +1 -1
  98. package/dist/lib/shell/components/tabs/component-cache-manager.d.ts +50 -6
  99. package/dist/lib/shell/components/tabs/component-cache-manager.d.ts.map +1 -1
  100. package/dist/lib/shell/components/tabs/component-cache-manager.js +95 -22
  101. package/dist/lib/shell/components/tabs/component-cache-manager.js.map +1 -1
  102. package/dist/lib/shell/components/tabs/tab-container.component.d.ts +91 -9
  103. package/dist/lib/shell/components/tabs/tab-container.component.d.ts.map +1 -1
  104. package/dist/lib/shell/components/tabs/tab-container.component.js +257 -101
  105. package/dist/lib/shell/components/tabs/tab-container.component.js.map +1 -1
  106. package/dist/lib/shell/loading-themes.d.ts +16 -12
  107. package/dist/lib/shell/loading-themes.d.ts.map +1 -1
  108. package/dist/lib/shell/loading-themes.js +145 -137
  109. package/dist/lib/shell/loading-themes.js.map +1 -1
  110. package/dist/lib/shell/readiness-beacon.d.ts +2 -0
  111. package/dist/lib/shell/readiness-beacon.d.ts.map +1 -1
  112. package/dist/lib/shell/readiness-beacon.js +5 -1
  113. package/dist/lib/shell/readiness-beacon.js.map +1 -1
  114. package/dist/lib/shell/services/about-dialog.service.d.ts +6 -0
  115. package/dist/lib/shell/services/about-dialog.service.d.ts.map +1 -1
  116. package/dist/lib/shell/services/about-dialog.service.js +16 -4
  117. package/dist/lib/shell/services/about-dialog.service.js.map +1 -1
  118. package/dist/lib/shell/services/profile-dialog.service.d.ts +6 -0
  119. package/dist/lib/shell/services/profile-dialog.service.d.ts.map +1 -1
  120. package/dist/lib/shell/services/profile-dialog.service.js +16 -4
  121. package/dist/lib/shell/services/profile-dialog.service.js.map +1 -1
  122. package/dist/lib/shell/services/user-sharing-center-dialog.service.d.ts +6 -0
  123. package/dist/lib/shell/services/user-sharing-center-dialog.service.d.ts.map +1 -1
  124. package/dist/lib/shell/services/user-sharing-center-dialog.service.js +15 -3
  125. package/dist/lib/shell/services/user-sharing-center-dialog.service.js.map +1 -1
  126. package/dist/lib/shell/shell.component.d.ts +262 -39
  127. package/dist/lib/shell/shell.component.d.ts.map +1 -1
  128. package/dist/lib/shell/shell.component.js +688 -292
  129. package/dist/lib/shell/shell.component.js.map +1 -1
  130. package/dist/lib/single-dashboard/Components/add-item/add-item.component.d.ts +64 -8
  131. package/dist/lib/single-dashboard/Components/add-item/add-item.component.d.ts.map +1 -1
  132. package/dist/lib/single-dashboard/Components/add-item/add-item.component.js +129 -37
  133. package/dist/lib/single-dashboard/Components/add-item/add-item.component.js.map +1 -1
  134. package/dist/lib/single-dashboard/Components/delete-item/delete-item.component.d.ts +26 -2
  135. package/dist/lib/single-dashboard/Components/delete-item/delete-item.component.d.ts.map +1 -1
  136. package/dist/lib/single-dashboard/Components/delete-item/delete-item.component.js +48 -10
  137. package/dist/lib/single-dashboard/Components/delete-item/delete-item.component.js.map +1 -1
  138. package/dist/lib/single-dashboard/Components/edit-dashboard/edit-dashboard.component.d.ts +84 -6
  139. package/dist/lib/single-dashboard/Components/edit-dashboard/edit-dashboard.component.d.ts.map +1 -1
  140. package/dist/lib/single-dashboard/Components/edit-dashboard/edit-dashboard.component.js +133 -29
  141. package/dist/lib/single-dashboard/Components/edit-dashboard/edit-dashboard.component.js.map +1 -1
  142. package/dist/lib/single-dashboard/single-dashboard.component.d.ts +173 -23
  143. package/dist/lib/single-dashboard/single-dashboard.component.d.ts.map +1 -1
  144. package/dist/lib/single-dashboard/single-dashboard.component.js +383 -109
  145. package/dist/lib/single-dashboard/single-dashboard.component.js.map +1 -1
  146. package/dist/lib/single-list-detail/single-list-detail.component.d.ts +383 -55
  147. package/dist/lib/single-list-detail/single-list-detail.component.d.ts.map +1 -1
  148. package/dist/lib/single-list-detail/single-list-detail.component.js +962 -326
  149. package/dist/lib/single-list-detail/single-list-detail.component.js.map +1 -1
  150. package/dist/lib/single-query/single-query.component.d.ts +22 -2
  151. package/dist/lib/single-query/single-query.component.d.ts.map +1 -1
  152. package/dist/lib/single-query/single-query.component.js +40 -10
  153. package/dist/lib/single-query/single-query.component.js.map +1 -1
  154. package/dist/lib/single-record/single-record.component.d.ts +41 -3
  155. package/dist/lib/single-record/single-record.component.d.ts.map +1 -1
  156. package/dist/lib/single-record/single-record.component.js +71 -11
  157. package/dist/lib/single-record/single-record.component.js.map +1 -1
  158. package/dist/lib/single-search-result/single-search-result.component.d.ts +23 -3
  159. package/dist/lib/single-search-result/single-search-result.component.d.ts.map +1 -1
  160. package/dist/lib/single-search-result/single-search-result.component.js +42 -12
  161. package/dist/lib/single-search-result/single-search-result.component.js.map +1 -1
  162. package/dist/lib/system-validation/system-validation-banner.component.d.ts +12 -2
  163. package/dist/lib/system-validation/system-validation-banner.component.d.ts.map +1 -1
  164. package/dist/lib/system-validation/system-validation-banner.component.js +25 -5
  165. package/dist/lib/system-validation/system-validation-banner.component.js.map +1 -1
  166. package/dist/lib/user-menu/user-menu.types.d.ts +4 -0
  167. package/dist/lib/user-menu/user-menu.types.d.ts.map +1 -1
  168. package/dist/lib/user-menu/user-menu.types.js +10 -2
  169. package/dist/lib/user-menu/user-menu.types.js.map +1 -1
  170. package/dist/lib/user-notifications/user-notifications.component.d.ts +59 -7
  171. package/dist/lib/user-notifications/user-notifications.component.d.ts.map +1 -1
  172. package/dist/lib/user-notifications/user-notifications.component.js +151 -47
  173. package/dist/lib/user-notifications/user-notifications.component.js.map +1 -1
  174. package/dist/lib/user-profile/user-profile.component.d.ts +3 -2
  175. package/dist/lib/user-profile/user-profile.component.d.ts.map +1 -1
  176. package/dist/lib/user-profile/user-profile.component.js +5 -4
  177. package/dist/lib/user-profile/user-profile.component.js.map +1 -1
  178. package/package.json +52 -52
@@ -4,15 +4,15 @@
4
4
  */
5
5
  export const STANDARD_THEME = {
6
6
  id: 'standard',
7
- name: 'Standard',
8
- startsAt: { month: 1, day: 1 },
9
- endsAt: { month: 12, day: 31 },
10
- staticColors: true, // Keep MJ blue the whole time
11
- animations: 'pulse', // Calm, professional pulse animation only
12
- colors: [
7
+ Name: 'Standard',
8
+ StartsAt: { month: 1, day: 1 },
9
+ EndsAt: { month: 12, day: 31 },
10
+ StaticColors: true, // Keep MJ blue the whole time
11
+ Animations: 'pulse', // Calm, professional pulse animation only
12
+ Colors: [
13
13
  '', // Uses --mj-logo-color CSS variable (adapts to theme)
14
14
  ],
15
- messages: [
15
+ Messages: [
16
16
  'Loading workspace...',
17
17
  'Warming up the engines... 🚀',
18
18
  'Fetching your applications...',
@@ -46,29 +46,29 @@ export const STANDARD_THEME = {
46
46
  */
47
47
  export const WINTER_HOLIDAY_THEME = {
48
48
  id: 'winter-holiday',
49
- name: 'Winter Holidays',
50
- startsAt: { month: 12, day: 1 },
51
- endsAt: { month: 12, day: 31 },
49
+ Name: 'Winter Holidays',
50
+ StartsAt: { month: 12, day: 1 },
51
+ EndsAt: { month: 12, day: 31 },
52
52
  // Festive bounce to start, then gentle pulse
53
- animations: [
54
- { type: 'bounce', durationMs: 4000 },
55
- { type: 'pulse' }
53
+ Animations: [
54
+ { Type: 'bounce', DurationMs: 4000 },
55
+ { Type: 'pulse' }
56
56
  ],
57
- colors: [
57
+ Colors: [
58
58
  '#C41E3A', // Christmas Red
59
59
  '#228B22', // Forest Green
60
60
  '#FFD700', // Gold
61
61
  '#87CEEB', // Sky Blue (icy)
62
62
  '#8B4513', // Saddle Brown (cozy)
63
63
  ],
64
- gradients: [
64
+ Gradients: [
65
65
  { startColor: '#C41E3A', endColor: '#228B22', angle: 45 }, // Red to Green
66
66
  { startColor: '#228B22', endColor: '#C41E3A', angle: 45 }, // Green to Red
67
67
  { startColor: '#C41E3A', endColor: '#FFD700', angle: 45 }, // Red to Gold
68
68
  { startColor: '#FFD700', endColor: '#228B22', angle: 45 }, // Gold to Green
69
69
  { startColor: '#87CEEB', endColor: '#C41E3A', angle: 45 }, // Ice Blue to Red
70
70
  ],
71
- messages: [
71
+ Messages: [
72
72
  'Loading workspace...',
73
73
  'Happy Holidays! 🎄',
74
74
  'Spreading holiday cheer... ✨',
@@ -101,31 +101,31 @@ export const WINTER_HOLIDAY_THEME = {
101
101
  */
102
102
  export const NEW_YEAR_THEME = {
103
103
  id: 'new-year',
104
- name: 'New Year',
105
- startsAt: { month: 12, day: 31 },
106
- endsAt: { month: 1, day: 2 },
107
- priority: 10, // Higher priority than Winter Holiday
104
+ Name: 'New Year',
105
+ StartsAt: { month: 12, day: 31 },
106
+ EndsAt: { month: 1, day: 2 },
107
+ Priority: 10, // Higher priority than Winter Holiday
108
108
  // Exciting spin for countdown feel, then celebratory pulse-spin
109
- animations: [
110
- { type: 'spin', durationMs: 3000 },
111
- { type: 'pulse-spin', durationMs: 4000 },
112
- { type: 'pulse' }
109
+ Animations: [
110
+ { Type: 'spin', DurationMs: 3000 },
111
+ { Type: 'pulse-spin', DurationMs: 4000 },
112
+ { Type: 'pulse' }
113
113
  ],
114
- colors: [
114
+ Colors: [
115
115
  '#FFD700', // Gold
116
116
  '#C0C0C0', // Silver
117
117
  '#4169E1', // Royal Blue
118
118
  '#9400D3', // Dark Violet
119
119
  '#FF1493', // Deep Pink
120
120
  ],
121
- gradients: [
121
+ Gradients: [
122
122
  { startColor: '#FFD700', endColor: '#C0C0C0', angle: 135 }, // Gold to Silver
123
123
  { startColor: '#C0C0C0', endColor: '#FFD700', angle: 135 }, // Silver to Gold
124
124
  { startColor: '#FFD700', endColor: '#4169E1', angle: 135 }, // Gold to Blue
125
125
  { startColor: '#4169E1', endColor: '#9400D3', angle: 135 }, // Blue to Violet
126
126
  { startColor: '#9400D3', endColor: '#FF1493', angle: 135 }, // Violet to Pink
127
127
  ],
128
- messages: [
128
+ Messages: [
129
129
  'Loading workspace...',
130
130
  'Happy New Year! 🎆',
131
131
  'New year, new possibilities... ✨',
@@ -158,29 +158,29 @@ export const NEW_YEAR_THEME = {
158
158
  */
159
159
  export const HALLOWEEN_THEME = {
160
160
  id: 'halloween',
161
- name: 'Halloween',
162
- startsAt: { month: 10, day: 15 },
163
- endsAt: { month: 10, day: 31 },
161
+ Name: 'Halloween',
162
+ StartsAt: { month: 10, day: 15 },
163
+ EndsAt: { month: 10, day: 31 },
164
164
  // Spooky slow pulse-spin, then eerie pulse
165
- animations: [
166
- { type: 'pulse-spin', durationMs: 5000 },
167
- { type: 'pulse' }
165
+ Animations: [
166
+ { Type: 'pulse-spin', DurationMs: 5000 },
167
+ { Type: 'pulse' }
168
168
  ],
169
- colors: [
169
+ Colors: [
170
170
  '#FF6600', // Pumpkin Orange
171
171
  '#8B008B', // Dark Magenta
172
172
  '#2E8B57', // Sea Green (witchy)
173
173
  '#800080', // Purple
174
174
  '#000000', // Black
175
175
  ],
176
- gradients: [
176
+ Gradients: [
177
177
  { startColor: '#FF6600', endColor: '#8B008B', angle: 45 }, // Orange to Magenta
178
178
  { startColor: '#8B008B', endColor: '#FF6600', angle: 45 }, // Magenta to Orange
179
179
  { startColor: '#FF6600', endColor: '#000000', angle: 45 }, // Orange to Black
180
180
  { startColor: '#800080', endColor: '#2E8B57', angle: 45 }, // Purple to Green
181
181
  { startColor: '#2E8B57', endColor: '#FF6600', angle: 45 }, // Green to Orange
182
182
  ],
183
- messages: [
183
+ Messages: [
184
184
  'Loading workspace...',
185
185
  'Summoning your data... 🔮',
186
186
  'Brewing a spooky potion... 🧙',
@@ -213,26 +213,26 @@ export const HALLOWEEN_THEME = {
213
213
  */
214
214
  export const VALENTINES_THEME = {
215
215
  id: 'valentines',
216
- name: "Valentine's Day",
217
- startsAt: { month: 2, day: 1 },
218
- endsAt: { month: 2, day: 14 },
216
+ Name: "Valentine's Day",
217
+ StartsAt: { month: 2, day: 1 },
218
+ EndsAt: { month: 2, day: 14 },
219
219
  // Heartbeat-like pulse throughout
220
- animations: 'pulse',
221
- colors: [
220
+ Animations: 'pulse',
221
+ Colors: [
222
222
  '#FF69B4', // Hot Pink
223
223
  '#DC143C', // Crimson
224
224
  '#FFB6C1', // Light Pink
225
225
  '#C71585', // Medium Violet Red
226
226
  '#FF1493', // Deep Pink
227
227
  ],
228
- gradients: [
228
+ Gradients: [
229
229
  { startColor: '#FF69B4', endColor: '#DC143C', angle: 45 }, // Hot Pink to Crimson
230
230
  { startColor: '#DC143C', endColor: '#FF69B4', angle: 45 }, // Crimson to Hot Pink
231
231
  { startColor: '#FFB6C1', endColor: '#C71585', angle: 45 }, // Light Pink to Violet Red
232
232
  { startColor: '#C71585', endColor: '#FF1493', angle: 45 }, // Violet Red to Deep Pink
233
233
  { startColor: '#FF1493', endColor: '#FFB6C1', angle: 45 }, // Deep Pink to Light Pink
234
234
  ],
235
- messages: [
235
+ Messages: [
236
236
  'Loading workspace...',
237
237
  'Hearts are loading... 💕',
238
238
  'Cupid is on the way... 💘',
@@ -260,29 +260,29 @@ export const VALENTINES_THEME = {
260
260
  */
261
261
  export const ST_PATRICKS_THEME = {
262
262
  id: 'st-patricks',
263
- name: "St. Patrick's Day",
264
- startsAt: { month: 3, day: 14 },
265
- endsAt: { month: 3, day: 17 },
263
+ Name: "St. Patrick's Day",
264
+ StartsAt: { month: 3, day: 14 },
265
+ EndsAt: { month: 3, day: 17 },
266
266
  // Lucky bounce, then pulse
267
- animations: [
268
- { type: 'bounce', durationMs: 3000 },
269
- { type: 'pulse' }
267
+ Animations: [
268
+ { Type: 'bounce', DurationMs: 3000 },
269
+ { Type: 'pulse' }
270
270
  ],
271
- colors: [
271
+ Colors: [
272
272
  '#228B22', // Forest Green
273
273
  '#32CD32', // Lime Green
274
274
  '#FFD700', // Gold
275
275
  '#006400', // Dark Green
276
276
  '#90EE90', // Light Green
277
277
  ],
278
- gradients: [
278
+ Gradients: [
279
279
  { startColor: '#228B22', endColor: '#FFD700', angle: 45 }, // Forest Green to Gold
280
280
  { startColor: '#FFD700', endColor: '#228B22', angle: 45 }, // Gold to Forest Green
281
281
  { startColor: '#32CD32', endColor: '#006400', angle: 45 }, // Lime to Dark Green
282
282
  { startColor: '#006400', endColor: '#90EE90', angle: 45 }, // Dark to Light Green
283
283
  { startColor: '#90EE90', endColor: '#FFD700', angle: 45 }, // Light Green to Gold
284
284
  ],
285
- messages: [
285
+ Messages: [
286
286
  'Loading workspace...',
287
287
  'Feeling lucky... 🍀',
288
288
  'Finding the pot of gold... 🌈',
@@ -314,15 +314,15 @@ export const ST_PATRICKS_THEME = {
314
314
  */
315
315
  export const SPRING_THEME = {
316
316
  id: 'spring',
317
- name: 'Spring',
318
- startsAt: { month: 3, day: 20 },
319
- endsAt: { month: 4, day: 15 },
317
+ Name: 'Spring',
318
+ StartsAt: { month: 3, day: 20 },
319
+ EndsAt: { month: 4, day: 15 },
320
320
  // Fresh, light bounce then gentle pulse
321
- animations: [
322
- { type: 'bounce', durationMs: 3000 },
323
- { type: 'pulse' }
321
+ Animations: [
322
+ { Type: 'bounce', DurationMs: 3000 },
323
+ { Type: 'pulse' }
324
324
  ],
325
- colors: [
325
+ Colors: [
326
326
  '#98FB98', // Pale Green
327
327
  '#FFB6C1', // Light Pink
328
328
  '#87CEEB', // Sky Blue
@@ -330,7 +330,7 @@ export const SPRING_THEME = {
330
330
  '#F0E68C', // Khaki (sunny)
331
331
  '#FFA07A', // Light Salmon
332
332
  ],
333
- gradients: [
333
+ Gradients: [
334
334
  { startColor: '#98FB98', endColor: '#FFB6C1', angle: 45 }, // Green to Pink
335
335
  { startColor: '#FFB6C1', endColor: '#87CEEB', angle: 45 }, // Pink to Sky Blue
336
336
  { startColor: '#87CEEB', endColor: '#DDA0DD', angle: 45 }, // Sky Blue to Plum
@@ -338,7 +338,7 @@ export const SPRING_THEME = {
338
338
  { startColor: '#F0E68C', endColor: '#FFA07A', angle: 45 }, // Sunny to Salmon
339
339
  { startColor: '#FFA07A', endColor: '#98FB98', angle: 45 }, // Salmon to Green
340
340
  ],
341
- messages: [
341
+ Messages: [
342
342
  'Loading workspace...',
343
343
  'Spring is in the air... 🌸',
344
344
  'Flowers are blooming... 🌷',
@@ -371,13 +371,13 @@ export const SPRING_THEME = {
371
371
  */
372
372
  export const THANKSGIVING_US_THEME = {
373
373
  id: 'thanksgiving-us',
374
- name: 'Thanksgiving (US)',
375
- startsAt: { month: 11, day: 1 },
376
- endsAt: { month: 11, day: 30 },
377
- locales: ['en-US'],
374
+ Name: 'Thanksgiving (US)',
375
+ StartsAt: { month: 11, day: 1 },
376
+ EndsAt: { month: 11, day: 30 },
377
+ Locales: ['en-US'],
378
378
  // Warm, cozy pulse throughout
379
- animations: 'pulse',
380
- colors: [
379
+ Animations: 'pulse',
380
+ Colors: [
381
381
  '#D2691E', // Chocolate (brown)
382
382
  '#FF8C00', // Dark Orange
383
383
  '#8B4513', // Saddle Brown
@@ -385,7 +385,7 @@ export const THANKSGIVING_US_THEME = {
385
385
  '#CD853F', // Peru
386
386
  '#B22222', // Firebrick (cranberry)
387
387
  ],
388
- gradients: [
388
+ Gradients: [
389
389
  { startColor: '#D2691E', endColor: '#FF8C00', angle: 45 }, // Brown to Orange
390
390
  { startColor: '#FF8C00', endColor: '#D2691E', angle: 45 }, // Orange to Brown
391
391
  { startColor: '#8B4513', endColor: '#DAA520', angle: 45 }, // Saddle to Gold
@@ -393,7 +393,7 @@ export const THANKSGIVING_US_THEME = {
393
393
  { startColor: '#CD853F', endColor: '#B22222', angle: 45 }, // Peru to Cranberry
394
394
  { startColor: '#B22222', endColor: '#FF8C00', angle: 45 }, // Cranberry to Orange
395
395
  ],
396
- messages: [
396
+ Messages: [
397
397
  'Loading workspace...',
398
398
  'Giving thanks... 🙏',
399
399
  'Harvest time loading... 🌾',
@@ -426,13 +426,13 @@ export const THANKSGIVING_US_THEME = {
426
426
  */
427
427
  export const THANKSGIVING_CA_THEME = {
428
428
  id: 'thanksgiving-ca',
429
- name: 'Thanksgiving (Canada)',
430
- startsAt: { month: 10, day: 1 },
431
- endsAt: { month: 10, day: 14 },
432
- locales: ['en-CA', 'fr-CA'],
429
+ Name: 'Thanksgiving (Canada)',
430
+ StartsAt: { month: 10, day: 1 },
431
+ EndsAt: { month: 10, day: 14 },
432
+ Locales: ['en-CA', 'fr-CA'],
433
433
  // Warm, cozy pulse throughout
434
- animations: 'pulse',
435
- colors: [
434
+ Animations: 'pulse',
435
+ Colors: [
436
436
  '#D2691E', // Chocolate (brown)
437
437
  '#FF8C00', // Dark Orange
438
438
  '#8B4513', // Saddle Brown
@@ -440,14 +440,14 @@ export const THANKSGIVING_CA_THEME = {
440
440
  '#CD853F', // Peru
441
441
  '#C41E3A', // Maple red
442
442
  ],
443
- gradients: [
443
+ Gradients: [
444
444
  { startColor: '#C41E3A', endColor: '#FF8C00', angle: 45 }, // Maple to Orange
445
445
  { startColor: '#FF8C00', endColor: '#C41E3A', angle: 45 }, // Orange to Maple
446
446
  { startColor: '#D2691E', endColor: '#DAA520', angle: 45 }, // Brown to Gold
447
447
  { startColor: '#DAA520', endColor: '#8B4513', angle: 45 }, // Gold to Saddle
448
448
  { startColor: '#8B4513', endColor: '#CD853F', angle: 45 }, // Saddle to Peru
449
449
  ],
450
- messages: [
450
+ Messages: [
451
451
  'Loading workspace...',
452
452
  'Giving thanks, eh... 🙏',
453
453
  'Harvest time loading... 🌾',
@@ -480,28 +480,28 @@ export const THANKSGIVING_CA_THEME = {
480
480
  */
481
481
  export const INDEPENDENCE_DAY_US_THEME = {
482
482
  id: 'independence-day-us',
483
- name: 'Independence Day (US)',
484
- startsAt: { month: 6, day: 28 },
485
- endsAt: { month: 7, day: 4 },
486
- locales: ['en-US'],
483
+ Name: 'Independence Day (US)',
484
+ StartsAt: { month: 6, day: 28 },
485
+ EndsAt: { month: 7, day: 4 },
486
+ Locales: ['en-US'],
487
487
  // Fireworks-like spin, then celebratory pulse-spin
488
- animations: [
489
- { type: 'spin', durationMs: 3000 },
490
- { type: 'pulse-spin', durationMs: 3000 },
491
- { type: 'pulse' }
488
+ Animations: [
489
+ { Type: 'spin', DurationMs: 3000 },
490
+ { Type: 'pulse-spin', DurationMs: 3000 },
491
+ { Type: 'pulse' }
492
492
  ],
493
- colors: [
493
+ Colors: [
494
494
  '#B22234', // Old Glory Red
495
495
  '#FFFFFF', // White
496
496
  '#3C3B6E', // Old Glory Blue
497
497
  ],
498
- gradients: [
498
+ Gradients: [
499
499
  { startColor: '#B22234', endColor: '#3C3B6E', angle: 0 }, // Red to Blue
500
500
  { startColor: '#3C3B6E', endColor: '#B22234', angle: 0 }, // Blue to Red
501
501
  { startColor: '#B22234', endColor: '#FFFFFF', angle: 0 }, // Red to White
502
502
  { startColor: '#FFFFFF', endColor: '#3C3B6E', angle: 0 }, // White to Blue
503
503
  ],
504
- messages: [
504
+ Messages: [
505
505
  'Loading workspace...',
506
506
  'Happy 4th of July! 🎆',
507
507
  'Land of the free loading... 🗽',
@@ -534,24 +534,24 @@ export const INDEPENDENCE_DAY_US_THEME = {
534
534
  */
535
535
  export const CANADA_DAY_THEME = {
536
536
  id: 'canada-day',
537
- name: 'Canada Day',
538
- startsAt: { month: 6, day: 28 },
539
- endsAt: { month: 7, day: 1 },
540
- locales: ['en-CA', 'fr-CA'],
537
+ Name: 'Canada Day',
538
+ StartsAt: { month: 6, day: 28 },
539
+ EndsAt: { month: 7, day: 1 },
540
+ Locales: ['en-CA', 'fr-CA'],
541
541
  // Celebratory bounce, then pulse
542
- animations: [
543
- { type: 'bounce', durationMs: 4000 },
544
- { type: 'pulse' }
542
+ Animations: [
543
+ { Type: 'bounce', DurationMs: 4000 },
544
+ { Type: 'pulse' }
545
545
  ],
546
- colors: [
546
+ Colors: [
547
547
  '#FF0000', // Red
548
548
  '#FFFFFF', // White
549
549
  ],
550
- gradients: [
550
+ Gradients: [
551
551
  { startColor: '#FF0000', endColor: '#FFFFFF', angle: 0 }, // Red to White
552
552
  { startColor: '#FFFFFF', endColor: '#FF0000', angle: 0 }, // White to Red
553
553
  ],
554
- messages: [
554
+ Messages: [
555
555
  'Loading workspace...',
556
556
  'Happy Canada Day! 🇨🇦',
557
557
  'Bonne fête du Canada! 🍁',
@@ -584,29 +584,29 @@ export const CANADA_DAY_THEME = {
584
584
  */
585
585
  export const INDEPENDENCE_DAY_MX_THEME = {
586
586
  id: 'independence-day-mx',
587
- name: 'Mexican Independence Day',
588
- startsAt: { month: 9, day: 13 },
589
- endsAt: { month: 9, day: 16 },
590
- locales: ['es-MX', 'es'],
591
- priority: 5,
587
+ Name: 'Mexican Independence Day',
588
+ StartsAt: { month: 9, day: 13 },
589
+ EndsAt: { month: 9, day: 16 },
590
+ Locales: ['es-MX', 'es'],
591
+ Priority: 5,
592
592
  // Fiesta spin, then celebratory pulse-spin
593
- animations: [
594
- { type: 'spin', durationMs: 3000 },
595
- { type: 'pulse-spin', durationMs: 3000 },
596
- { type: 'pulse' }
593
+ Animations: [
594
+ { Type: 'spin', DurationMs: 3000 },
595
+ { Type: 'pulse-spin', DurationMs: 3000 },
596
+ { Type: 'pulse' }
597
597
  ],
598
- colors: [
598
+ Colors: [
599
599
  '#006847', // Green
600
600
  '#FFFFFF', // White
601
601
  '#CE1126', // Red
602
602
  ],
603
- gradients: [
603
+ Gradients: [
604
604
  { startColor: '#006847', endColor: '#CE1126', angle: 0 }, // Green to Red
605
605
  { startColor: '#CE1126', endColor: '#006847', angle: 0 }, // Red to Green
606
606
  { startColor: '#006847', endColor: '#FFFFFF', angle: 0 }, // Green to White
607
607
  { startColor: '#FFFFFF', endColor: '#CE1126', angle: 0 }, // White to Red
608
608
  ],
609
- messages: [
609
+ Messages: [
610
610
  'Cargando espacio de trabajo...',
611
611
  '¡Viva México! 🇲🇽',
612
612
  'Felices fiestas patrias... 🎉',
@@ -638,28 +638,28 @@ export const INDEPENDENCE_DAY_MX_THEME = {
638
638
  */
639
639
  export const INDEPENDENCE_DAY_IN_THEME = {
640
640
  id: 'independence-day-in',
641
- name: 'Indian Independence Day',
642
- startsAt: { month: 8, day: 13 },
643
- endsAt: { month: 8, day: 15 },
644
- locales: ['en-IN', 'hi', 'hi-IN'],
641
+ Name: 'Indian Independence Day',
642
+ StartsAt: { month: 8, day: 13 },
643
+ EndsAt: { month: 8, day: 15 },
644
+ Locales: ['en-IN', 'hi', 'hi-IN'],
645
645
  // Patriotic spin, then pulse
646
- animations: [
647
- { type: 'spin', durationMs: 3000 },
648
- { type: 'pulse' }
646
+ Animations: [
647
+ { Type: 'spin', DurationMs: 3000 },
648
+ { Type: 'pulse' }
649
649
  ],
650
- colors: [
650
+ Colors: [
651
651
  '#FF9933', // Saffron
652
652
  '#FFFFFF', // White
653
653
  '#138808', // Green
654
654
  '#000080', // Navy Blue (Ashoka Chakra)
655
655
  ],
656
- gradients: [
656
+ Gradients: [
657
657
  { startColor: '#FF9933', endColor: '#138808', angle: 90 }, // Saffron to Green
658
658
  { startColor: '#138808', endColor: '#FF9933', angle: 90 }, // Green to Saffron
659
659
  { startColor: '#FF9933', endColor: '#FFFFFF', angle: 90 }, // Saffron to White
660
660
  { startColor: '#FFFFFF', endColor: '#138808', angle: 90 }, // White to Green
661
661
  ],
662
- messages: [
662
+ Messages: [
663
663
  'Loading workspace...',
664
664
  'Jai Hind! 🇮🇳',
665
665
  'Happy Independence Day! 🎉',
@@ -693,31 +693,31 @@ export const INDEPENDENCE_DAY_IN_THEME = {
693
693
  */
694
694
  export const DIWALI_THEME = {
695
695
  id: 'diwali',
696
- name: 'Diwali',
697
- startsAt: { month: 10, day: 20 },
698
- endsAt: { month: 11, day: 15 },
699
- locales: ['en-IN', 'hi', 'hi-IN'],
700
- priority: 5,
696
+ Name: 'Diwali',
697
+ StartsAt: { month: 10, day: 20 },
698
+ EndsAt: { month: 11, day: 15 },
699
+ Locales: ['en-IN', 'hi', 'hi-IN'],
700
+ Priority: 5,
701
701
  // Festival of lights - glowing pulse-spin, then warm pulse
702
- animations: [
703
- { type: 'pulse-spin', durationMs: 4000 },
704
- { type: 'pulse' }
702
+ Animations: [
703
+ { Type: 'pulse-spin', DurationMs: 4000 },
704
+ { Type: 'pulse' }
705
705
  ],
706
- colors: [
706
+ Colors: [
707
707
  '#FFD700', // Gold
708
708
  '#FF6600', // Orange (diyas)
709
709
  '#8B0000', // Dark Red
710
710
  '#9400D3', // Dark Violet
711
711
  '#FF1493', // Deep Pink
712
712
  ],
713
- gradients: [
713
+ Gradients: [
714
714
  { startColor: '#FFD700', endColor: '#FF6600', angle: 45 }, // Gold to Orange
715
715
  { startColor: '#FF6600', endColor: '#FFD700', angle: 45 }, // Orange to Gold
716
716
  { startColor: '#FFD700', endColor: '#8B0000', angle: 45 }, // Gold to Dark Red
717
717
  { startColor: '#8B0000', endColor: '#9400D3', angle: 45 }, // Red to Violet
718
718
  { startColor: '#9400D3', endColor: '#FF1493', angle: 45 }, // Violet to Pink
719
719
  ],
720
- messages: [
720
+ Messages: [
721
721
  'Loading workspace...',
722
722
  'Happy Diwali! 🪔',
723
723
  'Shubh Deepavali! ✨',
@@ -771,12 +771,16 @@ export const ALL_THEMES = [
771
771
  /**
772
772
  * Get the user's browser locale.
773
773
  */
774
- export function getBrowserLocale() {
774
+ export function GetBrowserLocale() {
775
775
  if (typeof navigator !== 'undefined') {
776
776
  return navigator.language || navigator.userLanguage || 'en';
777
777
  }
778
778
  return 'en';
779
779
  }
780
+ /** @deprecated Use {@link GetBrowserLocale}. */
781
+ export function getBrowserLocale() {
782
+ return GetBrowserLocale();
783
+ }
780
784
  /**
781
785
  * Check if a theme's date range includes today.
782
786
  * Handles ranges that span year boundaries (e.g., Dec 31 - Jan 2).
@@ -815,24 +819,28 @@ function localeMatches(userLocale, themeLocales) {
815
819
  * Find the best matching theme for the current date and locale.
816
820
  * Returns the highest priority matching theme, or STANDARD_THEME if none match.
817
821
  */
818
- export function getActiveTheme(date = new Date(), locale) {
819
- const userLocale = locale || getBrowserLocale();
822
+ export function GetActiveTheme(date = new Date(), locale) {
823
+ const userLocale = locale || GetBrowserLocale();
820
824
  const today = { month: date.getMonth() + 1, day: date.getDate() };
821
825
  // Find all matching themes
822
826
  const matchingThemes = ALL_THEMES.filter(theme => {
823
- const dateMatches = isDateInRange(today, theme.startsAt, theme.endsAt);
824
- const localeMatch = localeMatches(userLocale, theme.locales);
827
+ const dateMatches = isDateInRange(today, theme.StartsAt, theme.EndsAt);
828
+ const localeMatch = localeMatches(userLocale, theme.Locales);
825
829
  return dateMatches && localeMatch;
826
830
  });
827
831
  if (matchingThemes.length === 0) {
828
832
  return STANDARD_THEME;
829
833
  }
830
834
  // Sort by priority (higher first) and return the best match
831
- matchingThemes.sort((a, b) => (b.priority || 0) - (a.priority || 0));
835
+ matchingThemes.sort((a, b) => (b.Priority || 0) - (a.Priority || 0));
832
836
  // If the best match is STANDARD_THEME and there are other matches, prefer those
833
837
  if (matchingThemes[0].id === 'standard' && matchingThemes.length > 1) {
834
838
  return matchingThemes[1];
835
839
  }
836
840
  return matchingThemes[0];
837
841
  }
842
+ /** @deprecated Use {@link GetActiveTheme}. */
843
+ export function getActiveTheme(date = new Date(), locale) {
844
+ return GetActiveTheme(date, locale);
845
+ }
838
846
  //# sourceMappingURL=loading-themes.js.map