qt-ui-kit 1.0.77 → 1.0.79
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/index.d.mts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +25 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +25 -4
- package/dist/index.mjs.map +1 -1
- package/dist/style.css +3 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -49,6 +49,7 @@ declare enum UrgencyLevel {
|
|
|
49
49
|
LOW = "low"
|
|
50
50
|
}
|
|
51
51
|
type EventGroup = {
|
|
52
|
+
id: string;
|
|
52
53
|
urgency?: UrgencyLevel;
|
|
53
54
|
urgencyText?: string;
|
|
54
55
|
summary?: string;
|
|
@@ -123,6 +124,7 @@ type Props$3 = {
|
|
|
123
124
|
messages?: ChatData[];
|
|
124
125
|
};
|
|
125
126
|
type ChatData = {
|
|
127
|
+
id: string;
|
|
126
128
|
name?: string;
|
|
127
129
|
timeStamp?: string;
|
|
128
130
|
body?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -49,6 +49,7 @@ declare enum UrgencyLevel {
|
|
|
49
49
|
LOW = "low"
|
|
50
50
|
}
|
|
51
51
|
type EventGroup = {
|
|
52
|
+
id: string;
|
|
52
53
|
urgency?: UrgencyLevel;
|
|
53
54
|
urgencyText?: string;
|
|
54
55
|
summary?: string;
|
|
@@ -123,6 +124,7 @@ type Props$3 = {
|
|
|
123
124
|
messages?: ChatData[];
|
|
124
125
|
};
|
|
125
126
|
type ChatData = {
|
|
127
|
+
id: string;
|
|
126
128
|
name?: string;
|
|
127
129
|
timeStamp?: string;
|
|
128
130
|
body?: string;
|
package/dist/index.js
CHANGED
|
@@ -16523,7 +16523,7 @@ function EventCard({
|
|
|
16523
16523
|
onExternal: () => window.open(d.link, "_blank"),
|
|
16524
16524
|
summary: d.summary
|
|
16525
16525
|
},
|
|
16526
|
-
d.
|
|
16526
|
+
d.id
|
|
16527
16527
|
)) : /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_jsx_runtime33.Fragment, { children: " " }) });
|
|
16528
16528
|
case "ticket" /* TICKET */:
|
|
16529
16529
|
return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_jsx_runtime33.Fragment, { children: eventData ? eventData.map((d, i) => /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
@@ -16538,7 +16538,8 @@ function EventCard({
|
|
|
16538
16538
|
subjectLine: d.subjectLine,
|
|
16539
16539
|
onExternal: () => window.open(d.link, "_blank"),
|
|
16540
16540
|
summary: d.summary
|
|
16541
|
-
}
|
|
16541
|
+
},
|
|
16542
|
+
d.id
|
|
16542
16543
|
)) : /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_jsx_runtime33.Fragment, { children: " " }) });
|
|
16543
16544
|
default:
|
|
16544
16545
|
return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_jsx_runtime33.Fragment, {});
|
|
@@ -16552,7 +16553,16 @@ function EventCard({
|
|
|
16552
16553
|
eventType == "message" /* MESSAGE */ ? "bg-qtneutral-200" : "bg-white py-4 pl-4 pr-2"
|
|
16553
16554
|
),
|
|
16554
16555
|
children: [
|
|
16555
|
-
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
16556
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
16557
|
+
"div",
|
|
16558
|
+
{
|
|
16559
|
+
className: (0, import_clsx8.default)(
|
|
16560
|
+
eventType == "message" /* MESSAGE */ ? "flex-col-reverse" : "flex-col",
|
|
16561
|
+
"overflow-y-auto flex gap-4 w-full"
|
|
16562
|
+
),
|
|
16563
|
+
children: getEventBody()
|
|
16564
|
+
}
|
|
16565
|
+
),
|
|
16556
16566
|
eventType == "message" /* MESSAGE */ && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
16557
16567
|
IntelCard,
|
|
16558
16568
|
{
|
|
@@ -16754,7 +16764,8 @@ function ChatBody({ messages }) {
|
|
|
16754
16764
|
timestamp: msg.timeStamp,
|
|
16755
16765
|
emojis: msg.emojis,
|
|
16756
16766
|
onExternal: () => window.open(msg.link, "_blank")
|
|
16757
|
-
}
|
|
16767
|
+
},
|
|
16768
|
+
msg.id
|
|
16758
16769
|
);
|
|
16759
16770
|
}) }) });
|
|
16760
16771
|
}
|
|
@@ -17473,6 +17484,7 @@ var EventState = /* @__PURE__ */ ((EventState2) => {
|
|
|
17473
17484
|
// src/util/mockdata.ts
|
|
17474
17485
|
var fakeMessages = [
|
|
17475
17486
|
{
|
|
17487
|
+
id: "123",
|
|
17476
17488
|
name: "Sr. Issac Newton",
|
|
17477
17489
|
timeStamp: "Today @ 11:45 AM",
|
|
17478
17490
|
body: "Hey team, just a reminder that the client pitch deck needs final review today. I\u2019ve updated the numbers from Q1 and added two new slides with competitor insights. Hey team, just a reminder that the client pitch deck needs final review today. I\u2019ve updated the numbers from Q1 and added two new slides with competitor insights. Hey team, just a reminder that the client pitch deck needs final review today. I\u2019ve updated the numbers from Q1 and added two new slides with competitor insights.",
|
|
@@ -17481,6 +17493,7 @@ var fakeMessages = [
|
|
|
17481
17493
|
outbound: true
|
|
17482
17494
|
},
|
|
17483
17495
|
{
|
|
17496
|
+
id: "124",
|
|
17484
17497
|
name: "Sr. Issac Newton",
|
|
17485
17498
|
timeStamp: "Tomorrow @ 2:00 PM",
|
|
17486
17499
|
body: "I\u2019ve confirmed the offsite meeting with the engineering leads. It will be held at the downtown conference center and lunch will be provided. Let me know if you have dietary needs. I\u2019ve confirmed the offsite meeting with the engineering leads. It will be held at the downtown conference center and lunch will be provided. Let me know if you have dietary needs. I\u2019ve confirmed the offsite meeting with the engineering leads. It will be held at the downtown conference center and lunch will be provided. Let me know if you have dietary needs. I\u2019ve confirmed the offsite meeting with the engineering leads. It will be held at the downtown conference center and lunch will be provided. Let me know if you have dietary needs. I\u2019ve confirmed the offsite meeting with the engineering leads. It will be held at the downtown conference center and lunch will be provided. Let me know if you have dietary needs.",
|
|
@@ -17490,6 +17503,7 @@ var fakeMessages = [
|
|
|
17490
17503
|
outbound: true
|
|
17491
17504
|
},
|
|
17492
17505
|
{
|
|
17506
|
+
id: "125",
|
|
17493
17507
|
name: "Priya Desai",
|
|
17494
17508
|
timeStamp: "Wednesday @ 3:15 PM",
|
|
17495
17509
|
body: `
|
|
@@ -17507,6 +17521,7 @@ This is a *markdown* **example**.
|
|
|
17507
17521
|
outbound: false
|
|
17508
17522
|
},
|
|
17509
17523
|
{
|
|
17524
|
+
id: "126",
|
|
17510
17525
|
name: "Devon James",
|
|
17511
17526
|
timeStamp: "Monday, 19th May @ 9:30 AM",
|
|
17512
17527
|
body: "The supplier in Shenzhen confirmed they can expedite our next shipment. They'll need final approval by Thursday to ensure arrival before the end of the month.",
|
|
@@ -17515,6 +17530,7 @@ This is a *markdown* **example**.
|
|
|
17515
17530
|
outbound: false
|
|
17516
17531
|
},
|
|
17517
17532
|
{
|
|
17533
|
+
id: "127",
|
|
17518
17534
|
name: "Sr. Issac Newton",
|
|
17519
17535
|
timeStamp: "Friday @ 4:20 PM",
|
|
17520
17536
|
body: "I\u2019ve updated the analytics dashboard to include bounce rate and average session duration for each product page. Check the new filters under 'Advanced Metrics'.",
|
|
@@ -17522,6 +17538,7 @@ This is a *markdown* **example**.
|
|
|
17522
17538
|
outbound: true
|
|
17523
17539
|
},
|
|
17524
17540
|
{
|
|
17541
|
+
id: "128",
|
|
17525
17542
|
name: "Zahra Malik",
|
|
17526
17543
|
timeStamp: "Today @ 10:00 AM",
|
|
17527
17544
|
body: "Just wrapped up the investor Q&A session. Feedback was positive, especially on the projected growth numbers. A few asked about regulatory concerns\u2014I'll send a memo tomorrow.",
|
|
@@ -17531,6 +17548,7 @@ This is a *markdown* **example**.
|
|
|
17531
17548
|
outbound: false
|
|
17532
17549
|
},
|
|
17533
17550
|
{
|
|
17551
|
+
id: "129",
|
|
17534
17552
|
name: "Sr. Issac Newton",
|
|
17535
17553
|
timeStamp: "Thursday @ 6:15 PM",
|
|
17536
17554
|
body: "Legal has flagged a few clauses in the new vendor agreement that may conflict with our IP policy. Recommend we pause signing until we clarify points 4 and 7.",
|
|
@@ -17539,6 +17557,7 @@ This is a *markdown* **example**.
|
|
|
17539
17557
|
outbound: true
|
|
17540
17558
|
},
|
|
17541
17559
|
{
|
|
17560
|
+
id: "1234",
|
|
17542
17561
|
name: "Anna Kov\xE1cs",
|
|
17543
17562
|
timeStamp: "Tuesday @ 8:00 AM",
|
|
17544
17563
|
body: "We\u2019ve identified a bug in the onboarding flow affecting Android 11 devices. Users are unable to progress past the third screen. Patch in progress, ETA tomorrow.",
|
|
@@ -17546,6 +17565,7 @@ This is a *markdown* **example**.
|
|
|
17546
17565
|
outbound: false
|
|
17547
17566
|
},
|
|
17548
17567
|
{
|
|
17568
|
+
id: "1235",
|
|
17549
17569
|
name: "Sr. Issac Newton",
|
|
17550
17570
|
timeStamp: "Monday, 26th May @ 1:45 PM",
|
|
17551
17571
|
body: "Reminder that the quarterly town hall is scheduled for the last Monday of the month. We'll cover performance metrics, upcoming hires, and the office reopening plan.",
|
|
@@ -17554,6 +17574,7 @@ This is a *markdown* **example**.
|
|
|
17554
17574
|
outbound: true
|
|
17555
17575
|
},
|
|
17556
17576
|
{
|
|
17577
|
+
id: "1236",
|
|
17557
17578
|
name: "Fatima Ahmed",
|
|
17558
17579
|
timeStamp: "Sunday, 25th May @ 10:30 AM",
|
|
17559
17580
|
body: "I\u2019ve drafted a new content calendar for Q3 with themes for each week. Would love feedback on week 4\u2014thinking of tying it to a product announcement.",
|