@burdenoff/microfe-channel 2026.608.1 → 2026.624.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.
- package/dist/channel/components/AdapterCredentialsForm.js +11 -11
- package/dist/channel/components/AdapterCredentialsForm.js.map +1 -1
- package/dist/channel/modules/channels/pages/ChannelDashboardPage.js +53 -53
- package/dist/channel/modules/channels/pages/ChannelDashboardPage.js.map +1 -1
- package/dist/channel/modules/channels/pages/ChannelDetailsPage.js +78 -78
- package/dist/channel/modules/channels/pages/ChannelDetailsPage.js.map +1 -1
- package/dist/channel/modules/channels/pages/ChannelSettingsPage.js +26 -26
- package/dist/channel/modules/channels/pages/ChannelSettingsPage.js.map +1 -1
- package/dist/channel/modules/channels/pages/ChannelUsersPage.js +32 -32
- package/dist/channel/modules/channels/pages/ChannelUsersPage.js.map +1 -1
- package/dist/channel/modules/channels/pages/ChannelsListPage.js +41 -41
- package/dist/channel/modules/channels/pages/ChannelsListPage.js.map +1 -1
- package/dist/channel/modules/channels/pages/ConnectionDetailsPage.js +30 -30
- package/dist/channel/modules/channels/pages/ConnectionDetailsPage.js.map +1 -1
- package/dist/channel/modules/channels/pages/ConnectionsListPage.js +29 -29
- package/dist/channel/modules/channels/pages/ConnectionsListPage.js.map +1 -1
- package/dist/channel/modules/channels/pages/CreateChannelPage.js +28 -28
- package/dist/channel/modules/channels/pages/CreateChannelPage.js.map +1 -1
- package/dist/channel/modules/channels/pages/CreateConnectionPage.js +8 -8
- package/dist/channel/modules/channels/pages/CreateConnectionPage.js.map +1 -1
- package/dist/channel/modules/channels/pages/DeliveryHistoryPage.js +28 -28
- package/dist/channel/modules/channels/pages/DeliveryHistoryPage.js.map +1 -1
- package/dist/channel/modules/channels/pages/EditChannelPage.js +25 -25
- package/dist/channel/modules/channels/pages/EditChannelPage.js.map +1 -1
- package/dist/channel/modules/channels/pages/EditConnectionPage.js +4 -4
- package/dist/channel/modules/channels/pages/EditConnectionPage.js.map +1 -1
- package/dist/channel/modules/channels/pages/SendMessagePage.js +27 -27
- package/dist/channel/modules/channels/pages/SendMessagePage.js.map +1 -1
- package/dist/channel/modules/channels/pages/WebhookEventsPage.js +29 -29
- package/dist/channel/modules/channels/pages/WebhookEventsPage.js.map +1 -1
- package/package.json +1 -1
|
@@ -61,7 +61,7 @@ var S = {
|
|
|
61
61
|
},
|
|
62
62
|
INACTIVE: {
|
|
63
63
|
label: "Inactive",
|
|
64
|
-
color: "text-
|
|
64
|
+
color: "text-text-secondary bg-bg-sunken",
|
|
65
65
|
icon: h
|
|
66
66
|
},
|
|
67
67
|
ERROR: {
|
|
@@ -76,7 +76,7 @@ var S = {
|
|
|
76
76
|
},
|
|
77
77
|
ARCHIVED: {
|
|
78
78
|
label: "Archived",
|
|
79
|
-
color: "text-
|
|
79
|
+
color: "text-text-secondary bg-bg-sunken",
|
|
80
80
|
icon: h
|
|
81
81
|
}
|
|
82
82
|
}, w = {
|
|
@@ -97,7 +97,7 @@ var S = {
|
|
|
97
97
|
},
|
|
98
98
|
UNKNOWN: {
|
|
99
99
|
label: "Unknown",
|
|
100
|
-
color: "text-
|
|
100
|
+
color: "text-text-secondary",
|
|
101
101
|
icon: f
|
|
102
102
|
}
|
|
103
103
|
};
|
|
@@ -292,7 +292,7 @@ function T() {
|
|
|
292
292
|
children: [/* @__PURE__ */ b("button", {
|
|
293
293
|
type: "button",
|
|
294
294
|
onClick: () => f(-1),
|
|
295
|
-
className: "p-2 text-
|
|
295
|
+
className: "p-2 text-text-secondary hover:text-text-primary hover:bg-bg-sunken rounded-lg transition-colors",
|
|
296
296
|
children: /* @__PURE__ */ b(ce, { size: 20 })
|
|
297
297
|
}), /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ x("div", {
|
|
298
298
|
className: "flex items-center gap-2",
|
|
@@ -300,11 +300,11 @@ function T() {
|
|
|
300
300
|
size: 24,
|
|
301
301
|
className: "text-accent-primary"
|
|
302
302
|
}), /* @__PURE__ */ b("h1", {
|
|
303
|
-
className: "text-xl sm:text-2xl font-bold text-
|
|
303
|
+
className: "text-xl sm:text-2xl font-bold text-text-primary",
|
|
304
304
|
children: K.name
|
|
305
305
|
})]
|
|
306
306
|
}), K.description && /* @__PURE__ */ b("p", {
|
|
307
|
-
className: "text-sm text-
|
|
307
|
+
className: "text-sm text-text-secondary mt-1",
|
|
308
308
|
children: K.description
|
|
309
309
|
})] })]
|
|
310
310
|
}), /* @__PURE__ */ x("div", {
|
|
@@ -316,7 +316,7 @@ function T() {
|
|
|
316
316
|
type: "button",
|
|
317
317
|
onClick: He,
|
|
318
318
|
disabled: A === "health",
|
|
319
|
-
className: "flex items-center gap-2 px-3 py-2 text-sm text-
|
|
319
|
+
className: "flex items-center gap-2 px-3 py-2 text-sm text-text-secondary hover:text-status-info-text hover:bg-status-info-bg-subtle rounded-lg transition-colors disabled:opacity-50",
|
|
320
320
|
children: [A === "health" ? /* @__PURE__ */ b(p, {
|
|
321
321
|
size: 16,
|
|
322
322
|
className: "animate-spin"
|
|
@@ -359,9 +359,9 @@ function T() {
|
|
|
359
359
|
className: "grid gap-4 sm:grid-cols-2 lg:grid-cols-4",
|
|
360
360
|
children: [
|
|
361
361
|
/* @__PURE__ */ x("div", {
|
|
362
|
-
className: "p-4 bg-surface border border-border rounded-lg",
|
|
362
|
+
className: "p-4 bg-surface border border-border-subtle rounded-lg",
|
|
363
363
|
children: [/* @__PURE__ */ b("p", {
|
|
364
|
-
className: "text-xs text-
|
|
364
|
+
className: "text-xs text-text-secondary mb-1",
|
|
365
365
|
children: O("channel.platform", "Platform")
|
|
366
366
|
}), /* @__PURE__ */ b("span", {
|
|
367
367
|
className: `inline-flex px-2 py-1 text-sm font-semibold rounded-full ${X.color}`,
|
|
@@ -369,9 +369,9 @@ function T() {
|
|
|
369
369
|
})]
|
|
370
370
|
}),
|
|
371
371
|
/* @__PURE__ */ x("div", {
|
|
372
|
-
className: "p-4 bg-surface border border-border rounded-lg",
|
|
372
|
+
className: "p-4 bg-surface border border-border-subtle rounded-lg",
|
|
373
373
|
children: [/* @__PURE__ */ b("p", {
|
|
374
|
-
className: "text-xs text-
|
|
374
|
+
className: "text-xs text-text-secondary mb-1",
|
|
375
375
|
children: O("channel.status", "Status")
|
|
376
376
|
}), /* @__PURE__ */ x("div", {
|
|
377
377
|
className: "flex items-center gap-2",
|
|
@@ -385,10 +385,10 @@ function T() {
|
|
|
385
385
|
})]
|
|
386
386
|
}),
|
|
387
387
|
/* @__PURE__ */ x("div", {
|
|
388
|
-
className: "p-4 bg-surface border border-border rounded-lg",
|
|
388
|
+
className: "p-4 bg-surface border border-border-subtle rounded-lg",
|
|
389
389
|
children: [
|
|
390
390
|
/* @__PURE__ */ b("p", {
|
|
391
|
-
className: "text-xs text-
|
|
391
|
+
className: "text-xs text-text-secondary mb-1",
|
|
392
392
|
children: O("channel.connectionHealth", "Connection Health")
|
|
393
393
|
}),
|
|
394
394
|
/* @__PURE__ */ x("div", {
|
|
@@ -402,7 +402,7 @@ function T() {
|
|
|
402
402
|
})]
|
|
403
403
|
}),
|
|
404
404
|
K.lastHealthCheckAt && /* @__PURE__ */ x("p", {
|
|
405
|
-
className: "text-xs text-
|
|
405
|
+
className: "text-xs text-text-secondary mt-1",
|
|
406
406
|
children: [
|
|
407
407
|
O("channel.lastCheck", "Last check"),
|
|
408
408
|
":",
|
|
@@ -413,17 +413,17 @@ function T() {
|
|
|
413
413
|
]
|
|
414
414
|
}),
|
|
415
415
|
/* @__PURE__ */ x("div", {
|
|
416
|
-
className: "p-4 bg-surface border border-border rounded-lg",
|
|
416
|
+
className: "p-4 bg-surface border border-border-subtle rounded-lg",
|
|
417
417
|
children: [/* @__PURE__ */ b("p", {
|
|
418
|
-
className: "text-xs text-
|
|
418
|
+
className: "text-xs text-text-secondary mb-1",
|
|
419
419
|
children: O("channel.connection", "Connection")
|
|
420
420
|
}), /* @__PURE__ */ x("div", {
|
|
421
421
|
className: "flex items-center gap-2",
|
|
422
422
|
children: [/* @__PURE__ */ b(u, {
|
|
423
423
|
size: 16,
|
|
424
|
-
className: K.isConnected ? "text-status-success-text" : "text-
|
|
424
|
+
className: K.isConnected ? "text-status-success-text" : "text-text-secondary"
|
|
425
425
|
}), /* @__PURE__ */ b("span", {
|
|
426
|
-
className: `text-sm font-medium ${K.isConnected ? "text-status-success-text" : "text-
|
|
426
|
+
className: `text-sm font-medium ${K.isConnected ? "text-status-success-text" : "text-text-secondary"}`,
|
|
427
427
|
children: K.isConnected ? O("channel.connected", "Connected") : O("channel.notConnected", "Not Connected")
|
|
428
428
|
})]
|
|
429
429
|
})]
|
|
@@ -431,55 +431,55 @@ function T() {
|
|
|
431
431
|
]
|
|
432
432
|
}),
|
|
433
433
|
/* @__PURE__ */ x("div", {
|
|
434
|
-
className: "p-4 bg-surface border border-border rounded-lg",
|
|
434
|
+
className: "p-4 bg-surface border border-border-subtle rounded-lg",
|
|
435
435
|
children: [
|
|
436
436
|
/* @__PURE__ */ b("h2", {
|
|
437
|
-
className: "text-lg font-semibold text-
|
|
437
|
+
className: "text-lg font-semibold text-text-primary mb-4",
|
|
438
438
|
children: O("channel.channelDetails", "Channel Details")
|
|
439
439
|
}),
|
|
440
440
|
/* @__PURE__ */ x("div", {
|
|
441
441
|
className: "grid gap-4 sm:grid-cols-2",
|
|
442
442
|
children: [
|
|
443
443
|
/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("p", {
|
|
444
|
-
className: "text-xs text-
|
|
444
|
+
className: "text-xs text-text-secondary",
|
|
445
445
|
children: O("channel.adapterType", "Adapter Type")
|
|
446
446
|
}), /* @__PURE__ */ b("p", {
|
|
447
|
-
className: "text-sm font-medium text-
|
|
447
|
+
className: "text-sm font-medium text-text-primary",
|
|
448
448
|
children: K.adapterType?.replace(/_/g, " ") || O("channel.notConfigured", "Not configured")
|
|
449
449
|
})] }),
|
|
450
450
|
/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("p", {
|
|
451
|
-
className: "text-xs text-
|
|
451
|
+
className: "text-xs text-text-secondary",
|
|
452
452
|
children: O("channel.priority", "Priority")
|
|
453
453
|
}), /* @__PURE__ */ b("p", {
|
|
454
|
-
className: "text-sm font-medium text-
|
|
454
|
+
className: "text-sm font-medium text-text-primary",
|
|
455
455
|
children: K.priority
|
|
456
456
|
})] }),
|
|
457
457
|
/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("p", {
|
|
458
|
-
className: "text-xs text-
|
|
458
|
+
className: "text-xs text-text-secondary",
|
|
459
459
|
children: O("channel.consecutiveFailures", "Consecutive Failures")
|
|
460
460
|
}), /* @__PURE__ */ b("p", {
|
|
461
|
-
className: "text-sm font-medium text-
|
|
461
|
+
className: "text-sm font-medium text-text-primary",
|
|
462
462
|
children: K.consecutiveFailures
|
|
463
463
|
})] }),
|
|
464
464
|
/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("p", {
|
|
465
|
-
className: "text-xs text-
|
|
465
|
+
className: "text-xs text-text-secondary",
|
|
466
466
|
children: O("channel.messages24h", "Messages (24h)")
|
|
467
467
|
}), /* @__PURE__ */ b("p", {
|
|
468
|
-
className: "text-sm font-medium text-
|
|
468
|
+
className: "text-sm font-medium text-text-primary",
|
|
469
469
|
children: K.messageCount24h
|
|
470
470
|
})] }),
|
|
471
471
|
/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("p", {
|
|
472
|
-
className: "text-xs text-
|
|
472
|
+
className: "text-xs text-text-secondary",
|
|
473
473
|
children: O("channel.createdAt", "Created At")
|
|
474
474
|
}), /* @__PURE__ */ b("p", {
|
|
475
|
-
className: "text-sm font-medium text-
|
|
475
|
+
className: "text-sm font-medium text-text-primary",
|
|
476
476
|
children: new Date(K.createdAt).toLocaleString()
|
|
477
477
|
})] }),
|
|
478
478
|
/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("p", {
|
|
479
|
-
className: "text-xs text-
|
|
479
|
+
className: "text-xs text-text-secondary",
|
|
480
480
|
children: O("channel.updatedAt", "Updated At")
|
|
481
481
|
}), /* @__PURE__ */ b("p", {
|
|
482
|
-
className: "text-sm font-medium text-
|
|
482
|
+
className: "text-sm font-medium text-text-primary",
|
|
483
483
|
children: new Date(K.updatedAt).toLocaleString()
|
|
484
484
|
})] })
|
|
485
485
|
]
|
|
@@ -487,7 +487,7 @@ function T() {
|
|
|
487
487
|
K.tagAssignments && K.tagAssignments.length > 0 && /* @__PURE__ */ x("div", {
|
|
488
488
|
className: "mt-4",
|
|
489
489
|
children: [/* @__PURE__ */ b("p", {
|
|
490
|
-
className: "text-xs text-
|
|
490
|
+
className: "text-xs text-text-secondary mb-1.5",
|
|
491
491
|
children: O("channel.tags", "Tags")
|
|
492
492
|
}), /* @__PURE__ */ b("div", {
|
|
493
493
|
className: "flex flex-wrap gap-1.5",
|
|
@@ -517,7 +517,7 @@ function T() {
|
|
|
517
517
|
/* @__PURE__ */ x("button", {
|
|
518
518
|
type: "button",
|
|
519
519
|
onClick: () => f("./deliveries"),
|
|
520
|
-
className: "flex items-center gap-3 p-3 bg-surface border border-border rounded-lg hover:bg-action-primary-bg/10 transition-colors text-left",
|
|
520
|
+
className: "flex items-center gap-3 p-3 bg-surface border border-border-subtle rounded-lg hover:bg-action-primary-bg/10 transition-colors text-left",
|
|
521
521
|
children: [
|
|
522
522
|
/* @__PURE__ */ b("div", {
|
|
523
523
|
className: "p-2 bg-accent-orange/10 rounded-lg",
|
|
@@ -529,23 +529,23 @@ function T() {
|
|
|
529
529
|
/* @__PURE__ */ x("div", {
|
|
530
530
|
className: "flex-1 min-w-0",
|
|
531
531
|
children: [/* @__PURE__ */ b("p", {
|
|
532
|
-
className: "text-sm font-medium text-
|
|
532
|
+
className: "text-sm font-medium text-text-primary",
|
|
533
533
|
children: O("channel.deliveryHistory", "Delivery History")
|
|
534
534
|
}), /* @__PURE__ */ b("p", {
|
|
535
|
-
className: "text-xs text-
|
|
535
|
+
className: "text-xs text-text-secondary truncate",
|
|
536
536
|
children: O("channel.viewMessageDeliveries", "View message deliveries")
|
|
537
537
|
})]
|
|
538
538
|
}),
|
|
539
539
|
/* @__PURE__ */ b(l, {
|
|
540
540
|
size: 16,
|
|
541
|
-
className: "text-
|
|
541
|
+
className: "text-text-secondary shrink-0"
|
|
542
542
|
})
|
|
543
543
|
]
|
|
544
544
|
}),
|
|
545
545
|
/* @__PURE__ */ x("button", {
|
|
546
546
|
type: "button",
|
|
547
547
|
onClick: () => f("./webhooks"),
|
|
548
|
-
className: "flex items-center gap-3 p-3 bg-surface border border-border rounded-lg hover:bg-action-primary-bg/10 transition-colors text-left",
|
|
548
|
+
className: "flex items-center gap-3 p-3 bg-surface border border-border-subtle rounded-lg hover:bg-action-primary-bg/10 transition-colors text-left",
|
|
549
549
|
children: [
|
|
550
550
|
/* @__PURE__ */ b("div", {
|
|
551
551
|
className: "p-2 bg-accent-purple/10 rounded-lg",
|
|
@@ -557,23 +557,23 @@ function T() {
|
|
|
557
557
|
/* @__PURE__ */ x("div", {
|
|
558
558
|
className: "flex-1 min-w-0",
|
|
559
559
|
children: [/* @__PURE__ */ b("p", {
|
|
560
|
-
className: "text-sm font-medium text-
|
|
560
|
+
className: "text-sm font-medium text-text-primary",
|
|
561
561
|
children: O("channel.webhookEvents", "Webhook Events")
|
|
562
562
|
}), /* @__PURE__ */ b("p", {
|
|
563
|
-
className: "text-xs text-
|
|
563
|
+
className: "text-xs text-text-secondary truncate",
|
|
564
564
|
children: O("channel.viewIncomingWebhooks", "View incoming webhooks")
|
|
565
565
|
})]
|
|
566
566
|
}),
|
|
567
567
|
/* @__PURE__ */ b(l, {
|
|
568
568
|
size: 16,
|
|
569
|
-
className: "text-
|
|
569
|
+
className: "text-text-secondary shrink-0"
|
|
570
570
|
})
|
|
571
571
|
]
|
|
572
572
|
}),
|
|
573
573
|
/* @__PURE__ */ x("button", {
|
|
574
574
|
type: "button",
|
|
575
575
|
onClick: () => f("./users"),
|
|
576
|
-
className: "flex items-center gap-3 p-3 bg-surface border border-border rounded-lg hover:bg-action-primary-bg/10 transition-colors text-left",
|
|
576
|
+
className: "flex items-center gap-3 p-3 bg-surface border border-border-subtle rounded-lg hover:bg-action-primary-bg/10 transition-colors text-left",
|
|
577
577
|
children: [
|
|
578
578
|
/* @__PURE__ */ b("div", {
|
|
579
579
|
className: "p-2 bg-accent-blue/10 rounded-lg",
|
|
@@ -585,23 +585,23 @@ function T() {
|
|
|
585
585
|
/* @__PURE__ */ x("div", {
|
|
586
586
|
className: "flex-1 min-w-0",
|
|
587
587
|
children: [/* @__PURE__ */ b("p", {
|
|
588
|
-
className: "text-sm font-medium text-
|
|
588
|
+
className: "text-sm font-medium text-text-primary",
|
|
589
589
|
children: O("channel.channelUsers", "Channel Users")
|
|
590
590
|
}), /* @__PURE__ */ b("p", {
|
|
591
|
-
className: "text-xs text-
|
|
591
|
+
className: "text-xs text-text-secondary truncate",
|
|
592
592
|
children: O("channel.viewConnectedUsers", "View connected users")
|
|
593
593
|
})]
|
|
594
594
|
}),
|
|
595
595
|
/* @__PURE__ */ b(l, {
|
|
596
596
|
size: 16,
|
|
597
|
-
className: "text-
|
|
597
|
+
className: "text-text-secondary shrink-0"
|
|
598
598
|
})
|
|
599
599
|
]
|
|
600
600
|
})
|
|
601
601
|
]
|
|
602
602
|
}),
|
|
603
603
|
/* @__PURE__ */ x("div", {
|
|
604
|
-
className: "p-4 bg-surface border border-border rounded-lg",
|
|
604
|
+
className: "p-4 bg-surface border border-border-subtle rounded-lg",
|
|
605
605
|
children: [
|
|
606
606
|
/* @__PURE__ */ x("div", {
|
|
607
607
|
className: "flex items-center justify-between mb-4",
|
|
@@ -611,7 +611,7 @@ function T() {
|
|
|
611
611
|
size: 20,
|
|
612
612
|
className: "text-accent-primary"
|
|
613
613
|
}), /* @__PURE__ */ b("h2", {
|
|
614
|
-
className: "text-lg font-semibold text-
|
|
614
|
+
className: "text-lg font-semibold text-text-primary",
|
|
615
615
|
children: O("channel.connectionAndCredentials", "Connection & Credentials")
|
|
616
616
|
})]
|
|
617
617
|
}), De && !$ && !M && /* @__PURE__ */ x("button", {
|
|
@@ -628,14 +628,14 @@ function T() {
|
|
|
628
628
|
className: "grid gap-4 sm:grid-cols-2",
|
|
629
629
|
children: [
|
|
630
630
|
/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("p", {
|
|
631
|
-
className: "text-xs text-
|
|
631
|
+
className: "text-xs text-text-secondary",
|
|
632
632
|
children: O("channel.authType", "Auth Type")
|
|
633
633
|
}), /* @__PURE__ */ b("p", {
|
|
634
|
-
className: "text-sm font-medium text-
|
|
634
|
+
className: "text-sm font-medium text-text-primary",
|
|
635
635
|
children: a($.authType, ee, O)
|
|
636
636
|
})] }),
|
|
637
637
|
/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("p", {
|
|
638
|
-
className: "text-xs text-
|
|
638
|
+
className: "text-xs text-text-secondary",
|
|
639
639
|
children: O("channel.status", "Status")
|
|
640
640
|
}), /* @__PURE__ */ x("div", {
|
|
641
641
|
className: "flex items-center gap-2",
|
|
@@ -651,26 +651,26 @@ function T() {
|
|
|
651
651
|
})]
|
|
652
652
|
})] }),
|
|
653
653
|
/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("p", {
|
|
654
|
-
className: "text-xs text-
|
|
654
|
+
className: "text-xs text-text-secondary",
|
|
655
655
|
children: O("channel.lastTested", "Last Tested")
|
|
656
656
|
}), /* @__PURE__ */ b("p", {
|
|
657
|
-
className: "text-sm font-medium text-
|
|
657
|
+
className: "text-sm font-medium text-text-primary",
|
|
658
658
|
children: $.lastTestedAt ? new Date($.lastTestedAt).toLocaleString() : O("channel.never", "Never")
|
|
659
659
|
})] }),
|
|
660
660
|
/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("p", {
|
|
661
|
-
className: "text-xs text-
|
|
661
|
+
className: "text-xs text-text-secondary",
|
|
662
662
|
children: O("channel.testStatus", "Test Status")
|
|
663
663
|
}), /* @__PURE__ */ b("p", {
|
|
664
|
-
className: "text-sm font-medium text-
|
|
664
|
+
className: "text-sm font-medium text-text-primary",
|
|
665
665
|
children: $.testStatus || O("channel.notTested", "Not tested")
|
|
666
666
|
})] }),
|
|
667
667
|
$.tokenExpiresAt && /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("p", {
|
|
668
|
-
className: "text-xs text-
|
|
668
|
+
className: "text-xs text-text-secondary",
|
|
669
669
|
children: O("channel.tokenExpires", "Token Expires")
|
|
670
670
|
}), /* @__PURE__ */ x("p", {
|
|
671
|
-
className: `text-sm font-medium ${$.needsTokenRefresh ? "text-status-warning-text" : "text-
|
|
671
|
+
className: `text-sm font-medium ${$.needsTokenRefresh ? "text-status-warning-text" : "text-text-primary"}`,
|
|
672
672
|
children: [new Date($.tokenExpiresAt).toLocaleString(), $.daysUntilExpiry !== void 0 && /* @__PURE__ */ x("span", {
|
|
673
|
-
className: "text-xs text-
|
|
673
|
+
className: "text-xs text-text-secondary ml-1",
|
|
674
674
|
children: [
|
|
675
675
|
"(",
|
|
676
676
|
$.daysUntilExpiry,
|
|
@@ -719,7 +719,7 @@ function T() {
|
|
|
719
719
|
onClick: () => {
|
|
720
720
|
N(!0), F($?.platformMetadata ?? {});
|
|
721
721
|
},
|
|
722
|
-
className: "flex items-center gap-2 px-3 py-2 text-sm text-
|
|
722
|
+
className: "flex items-center gap-2 px-3 py-2 text-sm text-text-secondary hover:text-accent-primary hover:bg-accent-primary/10 rounded-lg transition-colors",
|
|
723
723
|
children: [/* @__PURE__ */ b(m, { size: 16 }), O("channel.updateCredentials", "Update Credentials")]
|
|
724
724
|
}),
|
|
725
725
|
/* @__PURE__ */ b(r, {
|
|
@@ -744,14 +744,14 @@ function T() {
|
|
|
744
744
|
children: [
|
|
745
745
|
/* @__PURE__ */ b(u, {
|
|
746
746
|
size: 32,
|
|
747
|
-
className: "mx-auto text-
|
|
747
|
+
className: "mx-auto text-text-secondary mb-3"
|
|
748
748
|
}),
|
|
749
749
|
/* @__PURE__ */ b("p", {
|
|
750
|
-
className: "text-sm text-
|
|
750
|
+
className: "text-sm text-text-secondary mb-2",
|
|
751
751
|
children: O("channel.noCredentialsConfigured", "No credentials configured for this channel")
|
|
752
752
|
}),
|
|
753
753
|
/* @__PURE__ */ b("p", {
|
|
754
|
-
className: "text-xs text-
|
|
754
|
+
className: "text-xs text-text-secondary",
|
|
755
755
|
children: O("channel.addCredentialsHint", "Add credentials to enable message delivery through this channel")
|
|
756
756
|
})
|
|
757
757
|
]
|
|
@@ -770,7 +770,7 @@ function T() {
|
|
|
770
770
|
className: "text-sm font-medium text-accent-orange",
|
|
771
771
|
children: O("channel.noAdapterTypeConfigured", "No adapter type configured")
|
|
772
772
|
}), /* @__PURE__ */ b("p", {
|
|
773
|
-
className: "text-xs text-
|
|
773
|
+
className: "text-xs text-text-secondary mt-1",
|
|
774
774
|
children: O("channel.noAdapterTypeConfiguredHint", "You can still add credentials below. The system will attempt to validate them when the channel is configured with an adapter type.")
|
|
775
775
|
})] })]
|
|
776
776
|
})
|
|
@@ -790,7 +790,7 @@ function T() {
|
|
|
790
790
|
})
|
|
791
791
|
}),
|
|
792
792
|
/* @__PURE__ */ x("div", {
|
|
793
|
-
className: "flex items-center gap-2 pt-2 border-t border-border",
|
|
793
|
+
className: "flex items-center gap-2 pt-2 border-t border-border-subtle",
|
|
794
794
|
children: [/* @__PURE__ */ b(r, {
|
|
795
795
|
permission: i.CHANNEL_CONNECTION_UPDATE,
|
|
796
796
|
children: /* @__PURE__ */ x("button", {
|
|
@@ -810,7 +810,7 @@ function T() {
|
|
|
810
810
|
onClick: () => {
|
|
811
811
|
N(!1), F({}), I(!1);
|
|
812
812
|
},
|
|
813
|
-
className: "flex items-center gap-2 px-4 py-2 text-sm text-
|
|
813
|
+
className: "flex items-center gap-2 px-4 py-2 text-sm text-text-secondary hover:bg-bg-sunken rounded-lg transition-colors",
|
|
814
814
|
children: [/* @__PURE__ */ b(v, { size: 16 }), O("channel.cancel", "Cancel")]
|
|
815
815
|
})]
|
|
816
816
|
})
|
|
@@ -821,7 +821,7 @@ function T() {
|
|
|
821
821
|
je && /* @__PURE__ */ b("div", {
|
|
822
822
|
className: "fixed inset-0 z-50 flex items-center justify-center bg-black/50",
|
|
823
823
|
children: /* @__PURE__ */ x("div", {
|
|
824
|
-
className: "w-full max-w-md mx-4 p-6 bg-surface border border-border rounded-lg shadow-xl",
|
|
824
|
+
className: "w-full max-w-md mx-4 p-6 bg-surface border border-border-subtle rounded-lg shadow-xl",
|
|
825
825
|
children: [/* @__PURE__ */ x("div", {
|
|
826
826
|
className: "flex items-center justify-between mb-4",
|
|
827
827
|
children: [/* @__PURE__ */ x("div", {
|
|
@@ -830,7 +830,7 @@ function T() {
|
|
|
830
830
|
size: 20,
|
|
831
831
|
className: "text-accent-primary"
|
|
832
832
|
}), /* @__PURE__ */ x("h3", {
|
|
833
|
-
className: "text-lg font-semibold text-
|
|
833
|
+
className: "text-lg font-semibold text-text-primary",
|
|
834
834
|
children: [
|
|
835
835
|
"Test ",
|
|
836
836
|
S[K.platform]?.label || K.platform,
|
|
@@ -840,14 +840,14 @@ function T() {
|
|
|
840
840
|
}), /* @__PURE__ */ b("button", {
|
|
841
841
|
type: "button",
|
|
842
842
|
onClick: () => z(!1),
|
|
843
|
-
className: "p-1 text-
|
|
843
|
+
className: "p-1 text-text-secondary hover:text-text-primary rounded",
|
|
844
844
|
children: /* @__PURE__ */ b(v, { size: 20 })
|
|
845
845
|
})]
|
|
846
846
|
}), /* @__PURE__ */ x("div", {
|
|
847
847
|
className: "space-y-4",
|
|
848
848
|
children: [
|
|
849
849
|
/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ x("label", {
|
|
850
|
-
className: "block text-sm font-medium text-
|
|
850
|
+
className: "block text-sm font-medium text-text-primary mb-1.5",
|
|
851
851
|
children: [
|
|
852
852
|
Y(K.platform),
|
|
853
853
|
" ",
|
|
@@ -864,15 +864,15 @@ function T() {
|
|
|
864
864
|
value: B,
|
|
865
865
|
onChange: (e) => V(e.target.value),
|
|
866
866
|
placeholder: J(K.platform),
|
|
867
|
-
className: "w-full pl-9 pr-3 py-2 text-sm bg-surface border border-border rounded-lg focus:outline-none focus:ring-2 focus:ring-action-primary-bg"
|
|
867
|
+
className: "w-full pl-9 pr-3 py-2 text-sm bg-surface border border-border-subtle rounded-lg focus:outline-none focus:ring-2 focus:ring-action-primary-bg"
|
|
868
868
|
}), /* @__PURE__ */ b("div", {
|
|
869
|
-
className: "absolute left-3 top-1/2 -translate-y-1/2 text-
|
|
869
|
+
className: "absolute left-3 top-1/2 -translate-y-1/2 text-text-secondary",
|
|
870
870
|
children: K.platform === "EMAIL" ? /* @__PURE__ */ b(de, { size: 16 }) : K.platform === "SMS" || K.platform === "WHATSAPP" ? /* @__PURE__ */ b(pe, { size: 16 }) : /* @__PURE__ */ b(fe, { size: 16 })
|
|
871
871
|
})]
|
|
872
872
|
})] }),
|
|
873
873
|
K.platform === "EMAIL" && /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
|
|
874
874
|
htmlFor: "channel-details-test-subject",
|
|
875
|
-
className: "block text-sm font-medium text-
|
|
875
|
+
className: "block text-sm font-medium text-text-primary mb-1.5",
|
|
876
876
|
children: "Subject"
|
|
877
877
|
}), /* @__PURE__ */ b("input", {
|
|
878
878
|
id: "channel-details-test-subject",
|
|
@@ -881,11 +881,11 @@ function T() {
|
|
|
881
881
|
value: H,
|
|
882
882
|
onChange: (e) => Me(e.target.value),
|
|
883
883
|
placeholder: "Email subject",
|
|
884
|
-
className: "w-full px-3 py-2 text-sm bg-surface border border-border rounded-lg focus:outline-none focus:ring-2 focus:ring-action-primary-bg"
|
|
884
|
+
className: "w-full px-3 py-2 text-sm bg-surface border border-border-subtle rounded-lg focus:outline-none focus:ring-2 focus:ring-action-primary-bg"
|
|
885
885
|
})] }),
|
|
886
886
|
/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
|
|
887
887
|
htmlFor: "channel-details-test-message",
|
|
888
|
-
className: "block text-sm font-medium text-
|
|
888
|
+
className: "block text-sm font-medium text-text-primary mb-1.5",
|
|
889
889
|
children: "Message"
|
|
890
890
|
}), /* @__PURE__ */ b("textarea", {
|
|
891
891
|
id: "channel-details-test-message",
|
|
@@ -894,7 +894,7 @@ function T() {
|
|
|
894
894
|
onChange: (e) => Ne(e.target.value),
|
|
895
895
|
placeholder: "Test message content",
|
|
896
896
|
rows: 3,
|
|
897
|
-
className: "w-full px-3 py-2 text-sm bg-surface border border-border rounded-lg focus:outline-none focus:ring-2 focus:ring-action-primary-bg resize-none"
|
|
897
|
+
className: "w-full px-3 py-2 text-sm bg-surface border border-border-subtle rounded-lg focus:outline-none focus:ring-2 focus:ring-action-primary-bg resize-none"
|
|
898
898
|
})] }),
|
|
899
899
|
W && /* @__PURE__ */ b("div", {
|
|
900
900
|
className: `p-3 rounded-lg ${W.success ? "bg-status-success-bg-subtle border border-status-success-border" : "bg-status-error-bg-subtle border border-status-error-border"}`,
|
|
@@ -918,11 +918,11 @@ function T() {
|
|
|
918
918
|
children: ["Message ID: ", W.messageId]
|
|
919
919
|
}),
|
|
920
920
|
W.externalId && /* @__PURE__ */ x("p", {
|
|
921
|
-
className: "text-xs text-
|
|
921
|
+
className: "text-xs text-text-secondary mt-1",
|
|
922
922
|
children: ["External ID: ", W.externalId]
|
|
923
923
|
}),
|
|
924
924
|
W.status && /* @__PURE__ */ x("p", {
|
|
925
|
-
className: "text-xs text-
|
|
925
|
+
className: "text-xs text-text-secondary mt-1",
|
|
926
926
|
children: ["Status: ", W.status]
|
|
927
927
|
}),
|
|
928
928
|
W.error && /* @__PURE__ */ x("p", {
|
|
@@ -933,7 +933,7 @@ function T() {
|
|
|
933
933
|
})]
|
|
934
934
|
}),
|
|
935
935
|
W.sentAt && /* @__PURE__ */ x("p", {
|
|
936
|
-
className: "text-xs text-
|
|
936
|
+
className: "text-xs text-text-secondary mt-1",
|
|
937
937
|
children: ["Sent at: ", new Date(W.sentAt).toLocaleString()]
|
|
938
938
|
})
|
|
939
939
|
]
|
|
@@ -957,7 +957,7 @@ function T() {
|
|
|
957
957
|
}), /* @__PURE__ */ b("button", {
|
|
958
958
|
type: "button",
|
|
959
959
|
onClick: () => z(!1),
|
|
960
|
-
className: "px-4 py-2 text-sm text-
|
|
960
|
+
className: "px-4 py-2 text-sm text-text-secondary hover:bg-bg-sunken rounded-lg transition-colors",
|
|
961
961
|
children: O("channel.close", "Close")
|
|
962
962
|
})]
|
|
963
963
|
})
|