@memberjunction/ng-explorer-core 6.2.0-edge.0 → 6.2.0-edge.2
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/app-routing.module.d.ts +23 -1
- package/dist/app-routing.module.d.ts.map +1 -1
- package/dist/app-routing.module.js +50 -14
- package/dist/app-routing.module.js.map +1 -1
- package/dist/generated/lazy-feature-config.d.ts +1 -1
- package/dist/generated/lazy-feature-config.d.ts.map +1 -1
- package/dist/generated/lazy-feature-config.js +12 -1
- package/dist/generated/lazy-feature-config.js.map +1 -1
- package/dist/lib/command-palette/command-palette.component.d.ts +7 -1
- package/dist/lib/command-palette/command-palette.component.d.ts.map +1 -1
- package/dist/lib/command-palette/command-palette.component.js +28 -14
- package/dist/lib/command-palette/command-palette.component.js.map +1 -1
- package/dist/lib/conversation-feedback/conversation-feedback.d.ts +103 -13
- package/dist/lib/conversation-feedback/conversation-feedback.d.ts.map +1 -1
- package/dist/lib/conversation-feedback/conversation-feedback.js +219 -67
- package/dist/lib/conversation-feedback/conversation-feedback.js.map +1 -1
- package/dist/lib/dashboard-preferences-dialog/dashboard-preferences-dialog.component.d.ts +64 -10
- package/dist/lib/dashboard-preferences-dialog/dashboard-preferences-dialog.component.d.ts.map +1 -1
- package/dist/lib/dashboard-preferences-dialog/dashboard-preferences-dialog.component.js +172 -66
- package/dist/lib/dashboard-preferences-dialog/dashboard-preferences-dialog.component.js.map +1 -1
- package/dist/lib/generic/resource-container-component.d.ts +19 -5
- package/dist/lib/generic/resource-container-component.d.ts.map +1 -1
- package/dist/lib/generic/resource-container-component.js +43 -13
- package/dist/lib/generic/resource-container-component.js.map +1 -1
- package/dist/lib/guards/entities.guard.d.ts +4 -0
- package/dist/lib/guards/entities.guard.d.ts.map +1 -1
- package/dist/lib/guards/entities.guard.js +10 -2
- package/dist/lib/guards/entities.guard.js.map +1 -1
- package/dist/lib/identity-claims/claim-redeem.component.d.ts +4 -0
- package/dist/lib/identity-claims/claim-redeem.component.d.ts.map +1 -1
- package/dist/lib/identity-claims/claim-redeem.component.js +10 -2
- package/dist/lib/identity-claims/claim-redeem.component.js.map +1 -1
- package/dist/lib/oauth/oauth-callback.component.d.ts +4 -0
- package/dist/lib/oauth/oauth-callback.component.d.ts.map +1 -1
- package/dist/lib/oauth/oauth-callback.component.js +10 -2
- package/dist/lib/oauth/oauth-callback.component.js.map +1 -1
- package/dist/lib/profile/profile-dialog.component.d.ts.map +1 -1
- package/dist/lib/profile/profile-dialog.component.js +194 -191
- package/dist/lib/profile/profile-dialog.component.js.map +1 -1
- package/dist/lib/resource-wrappers/artifact-resource.component.d.ts +20 -2
- package/dist/lib/resource-wrappers/artifact-resource.component.d.ts.map +1 -1
- package/dist/lib/resource-wrappers/artifact-resource.component.js +33 -9
- package/dist/lib/resource-wrappers/artifact-resource.component.js.map +1 -1
- package/dist/lib/resource-wrappers/chat-collections-resource.component.d.ts +80 -10
- package/dist/lib/resource-wrappers/chat-collections-resource.component.d.ts.map +1 -1
- package/dist/lib/resource-wrappers/chat-collections-resource.component.js +168 -56
- package/dist/lib/resource-wrappers/chat-collections-resource.component.js.map +1 -1
- package/dist/lib/resource-wrappers/chat-conversations-resource.component.d.ts +199 -25
- package/dist/lib/resource-wrappers/chat-conversations-resource.component.d.ts.map +1 -1
- package/dist/lib/resource-wrappers/chat-conversations-resource.component.js +534 -182
- package/dist/lib/resource-wrappers/chat-conversations-resource.component.js.map +1 -1
- package/dist/lib/resource-wrappers/chat-deeplink-params.d.ts +2 -0
- package/dist/lib/resource-wrappers/chat-deeplink-params.d.ts.map +1 -1
- package/dist/lib/resource-wrappers/chat-deeplink-params.js +5 -1
- package/dist/lib/resource-wrappers/chat-deeplink-params.js.map +1 -1
- package/dist/lib/resource-wrappers/chat-search-routing.d.ts +25 -0
- package/dist/lib/resource-wrappers/chat-search-routing.d.ts.map +1 -0
- package/dist/lib/resource-wrappers/chat-search-routing.js +24 -0
- package/dist/lib/resource-wrappers/chat-search-routing.js.map +1 -0
- package/dist/lib/resource-wrappers/chat-tasks-resource.component.d.ts +14 -2
- package/dist/lib/resource-wrappers/chat-tasks-resource.component.d.ts.map +1 -1
- package/dist/lib/resource-wrappers/chat-tasks-resource.component.js +32 -8
- package/dist/lib/resource-wrappers/chat-tasks-resource.component.js.map +1 -1
- package/dist/lib/resource-wrappers/compose-email-fallback.d.ts +46 -0
- package/dist/lib/resource-wrappers/compose-email-fallback.d.ts.map +1 -0
- package/dist/lib/resource-wrappers/compose-email-fallback.js +62 -0
- package/dist/lib/resource-wrappers/compose-email-fallback.js.map +1 -0
- package/dist/lib/resource-wrappers/dashboard-resource.component.d.ts +54 -8
- package/dist/lib/resource-wrappers/dashboard-resource.component.d.ts.map +1 -1
- package/dist/lib/resource-wrappers/dashboard-resource.component.js +138 -46
- package/dist/lib/resource-wrappers/dashboard-resource.component.js.map +1 -1
- package/dist/lib/resource-wrappers/livekit-room-resource.component.d.ts +223 -30
- package/dist/lib/resource-wrappers/livekit-room-resource.component.d.ts.map +1 -1
- package/dist/lib/resource-wrappers/livekit-room-resource.component.js +438 -118
- package/dist/lib/resource-wrappers/livekit-room-resource.component.js.map +1 -1
- package/dist/lib/resource-wrappers/search-results-resource.component.d.ts +7 -3
- package/dist/lib/resource-wrappers/search-results-resource.component.d.ts.map +1 -1
- package/dist/lib/resource-wrappers/search-results-resource.component.js +23 -15
- package/dist/lib/resource-wrappers/search-results-resource.component.js.map +1 -1
- package/dist/lib/resource-wrappers/view-resource.component.d.ts +74 -11
- package/dist/lib/resource-wrappers/view-resource.component.d.ts.map +1 -1
- package/dist/lib/resource-wrappers/view-resource.component.js +214 -68
- package/dist/lib/resource-wrappers/view-resource.component.js.map +1 -1
- package/dist/lib/services/server-connectivity.service.d.ts +9 -4
- package/dist/lib/services/server-connectivity.service.d.ts.map +1 -1
- package/dist/lib/services/server-connectivity.service.js +56 -12
- package/dist/lib/services/server-connectivity.service.js.map +1 -1
- package/dist/lib/services/startup-validation.service.d.ts +4 -0
- package/dist/lib/services/startup-validation.service.d.ts.map +1 -1
- package/dist/lib/services/startup-validation.service.js +10 -2
- package/dist/lib/services/startup-validation.service.js.map +1 -1
- package/dist/lib/services/system-validation.service.d.ts +13 -1
- package/dist/lib/services/system-validation.service.d.ts.map +1 -1
- package/dist/lib/services/system-validation.service.js +29 -5
- package/dist/lib/services/system-validation.service.js.map +1 -1
- package/dist/lib/shell/components/dialogs/app-access-dialog.component.d.ts +54 -4
- package/dist/lib/shell/components/dialogs/app-access-dialog.component.d.ts.map +1 -1
- package/dist/lib/shell/components/dialogs/app-access-dialog.component.js +130 -40
- package/dist/lib/shell/components/dialogs/app-access-dialog.component.js.map +1 -1
- package/dist/lib/shell/components/header/app-nav.component.d.ts +29 -1
- package/dist/lib/shell/components/header/app-nav.component.d.ts.map +1 -1
- package/dist/lib/shell/components/header/app-nav.component.js +56 -12
- package/dist/lib/shell/components/header/app-nav.component.js.map +1 -1
- package/dist/lib/shell/components/header/app-switcher.component.d.ts +33 -5
- package/dist/lib/shell/components/header/app-switcher.component.d.ts.map +1 -1
- package/dist/lib/shell/components/header/app-switcher.component.js +85 -29
- package/dist/lib/shell/components/header/app-switcher.component.js.map +1 -1
- package/dist/lib/shell/components/record-open/record-origin-crumb.component.js +1 -1
- package/dist/lib/shell/components/record-open/record-origin-crumb.component.js.map +1 -1
- package/dist/lib/shell/components/tabs/component-cache-manager.d.ts +50 -6
- package/dist/lib/shell/components/tabs/component-cache-manager.d.ts.map +1 -1
- package/dist/lib/shell/components/tabs/component-cache-manager.js +95 -22
- package/dist/lib/shell/components/tabs/component-cache-manager.js.map +1 -1
- package/dist/lib/shell/components/tabs/tab-container.component.d.ts +91 -9
- package/dist/lib/shell/components/tabs/tab-container.component.d.ts.map +1 -1
- package/dist/lib/shell/components/tabs/tab-container.component.js +257 -101
- package/dist/lib/shell/components/tabs/tab-container.component.js.map +1 -1
- package/dist/lib/shell/loading-themes.d.ts +16 -12
- package/dist/lib/shell/loading-themes.d.ts.map +1 -1
- package/dist/lib/shell/loading-themes.js +145 -137
- package/dist/lib/shell/loading-themes.js.map +1 -1
- package/dist/lib/shell/readiness-beacon.d.ts +2 -0
- package/dist/lib/shell/readiness-beacon.d.ts.map +1 -1
- package/dist/lib/shell/readiness-beacon.js +5 -1
- package/dist/lib/shell/readiness-beacon.js.map +1 -1
- package/dist/lib/shell/services/about-dialog.service.d.ts +6 -0
- package/dist/lib/shell/services/about-dialog.service.d.ts.map +1 -1
- package/dist/lib/shell/services/about-dialog.service.js +16 -4
- package/dist/lib/shell/services/about-dialog.service.js.map +1 -1
- package/dist/lib/shell/services/profile-dialog.service.d.ts +6 -0
- package/dist/lib/shell/services/profile-dialog.service.d.ts.map +1 -1
- package/dist/lib/shell/services/profile-dialog.service.js +16 -4
- package/dist/lib/shell/services/profile-dialog.service.js.map +1 -1
- package/dist/lib/shell/services/user-sharing-center-dialog.service.d.ts +6 -0
- package/dist/lib/shell/services/user-sharing-center-dialog.service.d.ts.map +1 -1
- package/dist/lib/shell/services/user-sharing-center-dialog.service.js +15 -3
- package/dist/lib/shell/services/user-sharing-center-dialog.service.js.map +1 -1
- package/dist/lib/shell/shell.component.d.ts +264 -39
- package/dist/lib/shell/shell.component.d.ts.map +1 -1
- package/dist/lib/shell/shell.component.js +697 -294
- package/dist/lib/shell/shell.component.js.map +1 -1
- package/dist/lib/single-dashboard/Components/add-item/add-item.component.d.ts +64 -8
- package/dist/lib/single-dashboard/Components/add-item/add-item.component.d.ts.map +1 -1
- package/dist/lib/single-dashboard/Components/add-item/add-item.component.js +129 -37
- package/dist/lib/single-dashboard/Components/add-item/add-item.component.js.map +1 -1
- package/dist/lib/single-dashboard/Components/delete-item/delete-item.component.d.ts +26 -2
- package/dist/lib/single-dashboard/Components/delete-item/delete-item.component.d.ts.map +1 -1
- package/dist/lib/single-dashboard/Components/delete-item/delete-item.component.js +48 -10
- package/dist/lib/single-dashboard/Components/delete-item/delete-item.component.js.map +1 -1
- package/dist/lib/single-dashboard/Components/edit-dashboard/edit-dashboard.component.d.ts +84 -6
- package/dist/lib/single-dashboard/Components/edit-dashboard/edit-dashboard.component.d.ts.map +1 -1
- package/dist/lib/single-dashboard/Components/edit-dashboard/edit-dashboard.component.js +133 -29
- package/dist/lib/single-dashboard/Components/edit-dashboard/edit-dashboard.component.js.map +1 -1
- package/dist/lib/single-dashboard/single-dashboard.component.d.ts +173 -23
- package/dist/lib/single-dashboard/single-dashboard.component.d.ts.map +1 -1
- package/dist/lib/single-dashboard/single-dashboard.component.js +383 -109
- package/dist/lib/single-dashboard/single-dashboard.component.js.map +1 -1
- package/dist/lib/single-list-detail/single-list-detail.component.d.ts +383 -55
- package/dist/lib/single-list-detail/single-list-detail.component.d.ts.map +1 -1
- package/dist/lib/single-list-detail/single-list-detail.component.js +962 -326
- package/dist/lib/single-list-detail/single-list-detail.component.js.map +1 -1
- package/dist/lib/single-query/single-query.component.d.ts +22 -2
- package/dist/lib/single-query/single-query.component.d.ts.map +1 -1
- package/dist/lib/single-query/single-query.component.js +40 -10
- package/dist/lib/single-query/single-query.component.js.map +1 -1
- package/dist/lib/single-record/single-record.component.d.ts +41 -3
- package/dist/lib/single-record/single-record.component.d.ts.map +1 -1
- package/dist/lib/single-record/single-record.component.js +71 -11
- package/dist/lib/single-record/single-record.component.js.map +1 -1
- package/dist/lib/single-search-result/single-search-result.component.d.ts +23 -3
- package/dist/lib/single-search-result/single-search-result.component.d.ts.map +1 -1
- package/dist/lib/single-search-result/single-search-result.component.js +42 -12
- package/dist/lib/single-search-result/single-search-result.component.js.map +1 -1
- package/dist/lib/system-validation/system-validation-banner.component.d.ts +12 -2
- package/dist/lib/system-validation/system-validation-banner.component.d.ts.map +1 -1
- package/dist/lib/system-validation/system-validation-banner.component.js +25 -5
- package/dist/lib/system-validation/system-validation-banner.component.js.map +1 -1
- package/dist/lib/user-menu/user-menu.types.d.ts +4 -0
- package/dist/lib/user-menu/user-menu.types.d.ts.map +1 -1
- package/dist/lib/user-menu/user-menu.types.js +10 -2
- package/dist/lib/user-menu/user-menu.types.js.map +1 -1
- package/dist/lib/user-notifications/user-notifications.component.d.ts +59 -7
- package/dist/lib/user-notifications/user-notifications.component.d.ts.map +1 -1
- package/dist/lib/user-notifications/user-notifications.component.js +151 -47
- package/dist/lib/user-notifications/user-notifications.component.js.map +1 -1
- package/dist/lib/user-profile/user-profile.component.d.ts +3 -2
- package/dist/lib/user-profile/user-profile.component.d.ts.map +1 -1
- package/dist/lib/user-profile/user-profile.component.js +5 -4
- package/dist/lib/user-profile/user-profile.component.js.map +1 -1
- package/package.json +52 -52
|
@@ -4,15 +4,15 @@
|
|
|
4
4
|
*/
|
|
5
5
|
export const STANDARD_THEME = {
|
|
6
6
|
id: 'standard',
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
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
|
-
|
|
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
|
-
|
|
50
|
-
|
|
51
|
-
|
|
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
|
-
|
|
54
|
-
{
|
|
55
|
-
{
|
|
53
|
+
Animations: [
|
|
54
|
+
{ Type: 'bounce', DurationMs: 4000 },
|
|
55
|
+
{ Type: 'pulse' }
|
|
56
56
|
],
|
|
57
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
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
|
-
|
|
110
|
-
{
|
|
111
|
-
{
|
|
112
|
-
{
|
|
109
|
+
Animations: [
|
|
110
|
+
{ Type: 'spin', DurationMs: 3000 },
|
|
111
|
+
{ Type: 'pulse-spin', DurationMs: 4000 },
|
|
112
|
+
{ Type: 'pulse' }
|
|
113
113
|
],
|
|
114
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
162
|
-
|
|
163
|
-
|
|
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
|
-
|
|
166
|
-
{
|
|
167
|
-
{
|
|
165
|
+
Animations: [
|
|
166
|
+
{ Type: 'pulse-spin', DurationMs: 5000 },
|
|
167
|
+
{ Type: 'pulse' }
|
|
168
168
|
],
|
|
169
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
217
|
-
|
|
218
|
-
|
|
216
|
+
Name: "Valentine's Day",
|
|
217
|
+
StartsAt: { month: 2, day: 1 },
|
|
218
|
+
EndsAt: { month: 2, day: 14 },
|
|
219
219
|
// Heartbeat-like pulse throughout
|
|
220
|
-
|
|
221
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
264
|
-
|
|
265
|
-
|
|
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
|
-
|
|
268
|
-
{
|
|
269
|
-
{
|
|
267
|
+
Animations: [
|
|
268
|
+
{ Type: 'bounce', DurationMs: 3000 },
|
|
269
|
+
{ Type: 'pulse' }
|
|
270
270
|
],
|
|
271
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
318
|
-
|
|
319
|
-
|
|
317
|
+
Name: 'Spring',
|
|
318
|
+
StartsAt: { month: 3, day: 20 },
|
|
319
|
+
EndsAt: { month: 4, day: 15 },
|
|
320
320
|
// Fresh, light bounce then gentle pulse
|
|
321
|
-
|
|
322
|
-
{
|
|
323
|
-
{
|
|
321
|
+
Animations: [
|
|
322
|
+
{ Type: 'bounce', DurationMs: 3000 },
|
|
323
|
+
{ Type: 'pulse' }
|
|
324
324
|
],
|
|
325
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
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
|
-
|
|
380
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
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
|
-
|
|
435
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
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
|
-
|
|
489
|
-
{
|
|
490
|
-
{
|
|
491
|
-
{
|
|
488
|
+
Animations: [
|
|
489
|
+
{ Type: 'spin', DurationMs: 3000 },
|
|
490
|
+
{ Type: 'pulse-spin', DurationMs: 3000 },
|
|
491
|
+
{ Type: 'pulse' }
|
|
492
492
|
],
|
|
493
|
-
|
|
493
|
+
Colors: [
|
|
494
494
|
'#B22234', // Old Glory Red
|
|
495
495
|
'#FFFFFF', // White
|
|
496
496
|
'#3C3B6E', // Old Glory Blue
|
|
497
497
|
],
|
|
498
|
-
|
|
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
|
-
|
|
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
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
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
|
-
|
|
543
|
-
{
|
|
544
|
-
{
|
|
542
|
+
Animations: [
|
|
543
|
+
{ Type: 'bounce', DurationMs: 4000 },
|
|
544
|
+
{ Type: 'pulse' }
|
|
545
545
|
],
|
|
546
|
-
|
|
546
|
+
Colors: [
|
|
547
547
|
'#FF0000', // Red
|
|
548
548
|
'#FFFFFF', // White
|
|
549
549
|
],
|
|
550
|
-
|
|
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
|
-
|
|
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
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
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
|
-
|
|
594
|
-
{
|
|
595
|
-
{
|
|
596
|
-
{
|
|
593
|
+
Animations: [
|
|
594
|
+
{ Type: 'spin', DurationMs: 3000 },
|
|
595
|
+
{ Type: 'pulse-spin', DurationMs: 3000 },
|
|
596
|
+
{ Type: 'pulse' }
|
|
597
597
|
],
|
|
598
|
-
|
|
598
|
+
Colors: [
|
|
599
599
|
'#006847', // Green
|
|
600
600
|
'#FFFFFF', // White
|
|
601
601
|
'#CE1126', // Red
|
|
602
602
|
],
|
|
603
|
-
|
|
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
|
-
|
|
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
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
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
|
-
|
|
647
|
-
{
|
|
648
|
-
{
|
|
646
|
+
Animations: [
|
|
647
|
+
{ Type: 'spin', DurationMs: 3000 },
|
|
648
|
+
{ Type: 'pulse' }
|
|
649
649
|
],
|
|
650
|
-
|
|
650
|
+
Colors: [
|
|
651
651
|
'#FF9933', // Saffron
|
|
652
652
|
'#FFFFFF', // White
|
|
653
653
|
'#138808', // Green
|
|
654
654
|
'#000080', // Navy Blue (Ashoka Chakra)
|
|
655
655
|
],
|
|
656
|
-
|
|
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
|
-
|
|
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
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
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
|
-
|
|
703
|
-
{
|
|
704
|
-
{
|
|
702
|
+
Animations: [
|
|
703
|
+
{ Type: 'pulse-spin', DurationMs: 4000 },
|
|
704
|
+
{ Type: 'pulse' }
|
|
705
705
|
],
|
|
706
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
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
|
|
819
|
-
const userLocale = locale ||
|
|
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.
|
|
824
|
-
const localeMatch = localeMatches(userLocale, theme.
|
|
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.
|
|
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
|