qt-ui-kit 1.0.78 → 1.0.80
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 +3 -4
- package/dist/index.d.ts +3 -4
- package/dist/index.js +477 -767
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +474 -764
- package/dist/index.mjs.map +1 -1
- package/dist/style.css +52 -44
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -11172,16 +11172,16 @@ var require_lib7 = __commonJS({
|
|
|
11172
11172
|
import { useState as useState2 } from "react";
|
|
11173
11173
|
|
|
11174
11174
|
// src/types/global.ts
|
|
11175
|
-
var IntegrationService = /* @__PURE__ */ ((
|
|
11176
|
-
|
|
11177
|
-
|
|
11178
|
-
|
|
11179
|
-
|
|
11180
|
-
|
|
11181
|
-
|
|
11182
|
-
|
|
11183
|
-
|
|
11184
|
-
return
|
|
11175
|
+
var IntegrationService = /* @__PURE__ */ ((IntegrationService5) => {
|
|
11176
|
+
IntegrationService5["SLACK"] = "slack";
|
|
11177
|
+
IntegrationService5["GMAIL"] = "google_mail";
|
|
11178
|
+
IntegrationService5["GCAL"] = "google_calendar";
|
|
11179
|
+
IntegrationService5["MSTEAMS"] = "microsoft_teams";
|
|
11180
|
+
IntegrationService5["MSMAIL"] = "microsoft_mail";
|
|
11181
|
+
IntegrationService5["MSCAL"] = "microsoft_calendar";
|
|
11182
|
+
IntegrationService5["AJIRA"] = "atlassian_jira";
|
|
11183
|
+
IntegrationService5["CLKUP"] = "clickup";
|
|
11184
|
+
return IntegrationService5;
|
|
11185
11185
|
})(IntegrationService || {});
|
|
11186
11186
|
var BaseIconName = /* @__PURE__ */ ((BaseIconName2) => {
|
|
11187
11187
|
BaseIconName2["SEARCH"] = "search";
|
|
@@ -13402,93 +13402,12 @@ function BrandIcon({ size = 24, className, service }) {
|
|
|
13402
13402
|
);
|
|
13403
13403
|
}
|
|
13404
13404
|
|
|
13405
|
-
// src/components/atoms/icons/base_icons/ExternalLink.tsx
|
|
13406
|
-
import { jsx as jsx9 } from "react/jsx-runtime";
|
|
13407
|
-
function ExternalLink({
|
|
13408
|
-
size = 24,
|
|
13409
|
-
color = "#1D1D1F",
|
|
13410
|
-
fillColor = "none"
|
|
13411
|
-
}) {
|
|
13412
|
-
const getIconData = () => {
|
|
13413
|
-
switch (size) {
|
|
13414
|
-
case 16:
|
|
13415
|
-
return {
|
|
13416
|
-
viewBox: "0 0 16 16",
|
|
13417
|
-
path: /* @__PURE__ */ jsx9(
|
|
13418
|
-
"path",
|
|
13419
|
-
{
|
|
13420
|
-
d: "M6.66699 3.99996H4.00033C3.26395 3.99996 2.66699 4.59691 2.66699 5.33329V12C2.66699 12.7363 3.26395 13.3333 4.00033 13.3333H10.667C11.4034 13.3333 12.0003 12.7363 12.0003 12V9.33329M9.33366 2.66663H13.3337M13.3337 2.66663V6.66663M13.3337 2.66663L6.66699 9.33329",
|
|
13421
|
-
stroke: color,
|
|
13422
|
-
strokeWidth: "1.25",
|
|
13423
|
-
strokeLinecap: "round",
|
|
13424
|
-
strokeLinejoin: "round"
|
|
13425
|
-
}
|
|
13426
|
-
)
|
|
13427
|
-
};
|
|
13428
|
-
case 20:
|
|
13429
|
-
return {
|
|
13430
|
-
viewBox: "0 0 20 20",
|
|
13431
|
-
path: /* @__PURE__ */ jsx9(
|
|
13432
|
-
"path",
|
|
13433
|
-
{
|
|
13434
|
-
d: "M8.33301 5.00004H4.99967C4.0792 5.00004 3.33301 5.74623 3.33301 6.66671V15C3.33301 15.9205 4.0792 16.6667 4.99967 16.6667H13.333C14.2535 16.6667 14.9997 15.9205 14.9997 15V11.6667M11.6663 3.33337H16.6663M16.6663 3.33337V8.33337M16.6663 3.33337L8.33301 11.6667",
|
|
13435
|
-
stroke: color,
|
|
13436
|
-
strokeWidth: "1.5",
|
|
13437
|
-
strokeLinecap: "round",
|
|
13438
|
-
strokeLinejoin: "round"
|
|
13439
|
-
}
|
|
13440
|
-
)
|
|
13441
|
-
};
|
|
13442
|
-
case 24:
|
|
13443
|
-
return {
|
|
13444
|
-
viewBox: "0 0 24 24",
|
|
13445
|
-
path: /* @__PURE__ */ jsx9(
|
|
13446
|
-
"path",
|
|
13447
|
-
{
|
|
13448
|
-
d: "M10 6H6C4.89543 6 4 6.89543 4 8V18C4 19.1046 4.89543 20 6 20H16C17.1046 20 18 19.1046 18 18V14M14 4H20M20 4V10M20 4L10 14",
|
|
13449
|
-
stroke: color,
|
|
13450
|
-
strokeWidth: "2",
|
|
13451
|
-
strokeLinecap: "round",
|
|
13452
|
-
strokeLinejoin: "round"
|
|
13453
|
-
}
|
|
13454
|
-
)
|
|
13455
|
-
};
|
|
13456
|
-
case 36:
|
|
13457
|
-
return {
|
|
13458
|
-
viewBox: "0 0 36 36",
|
|
13459
|
-
path: /* @__PURE__ */ jsx9(
|
|
13460
|
-
"path",
|
|
13461
|
-
{
|
|
13462
|
-
d: "M15 9H9C7.34315 9 6 10.3431 6 12V27C6 28.6569 7.34315 30 9 30H24C25.6569 30 27 28.6569 27 27V21M21 6H30M30 6V15M30 6L15 21",
|
|
13463
|
-
stroke: color,
|
|
13464
|
-
strokeWidth: "2.25",
|
|
13465
|
-
strokeLinecap: "round",
|
|
13466
|
-
strokeLinejoin: "round"
|
|
13467
|
-
}
|
|
13468
|
-
)
|
|
13469
|
-
};
|
|
13470
|
-
}
|
|
13471
|
-
};
|
|
13472
|
-
const { viewBox, path } = getIconData();
|
|
13473
|
-
return /* @__PURE__ */ jsx9(
|
|
13474
|
-
"svg",
|
|
13475
|
-
{
|
|
13476
|
-
width: size,
|
|
13477
|
-
height: size,
|
|
13478
|
-
viewBox,
|
|
13479
|
-
fill: "none",
|
|
13480
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
13481
|
-
children: path
|
|
13482
|
-
}
|
|
13483
|
-
);
|
|
13484
|
-
}
|
|
13485
|
-
|
|
13486
13405
|
// src/data/vector_icons/service_brands/vector_icons.tsx
|
|
13487
|
-
import { jsx as
|
|
13406
|
+
import { jsx as jsx9, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
13488
13407
|
function AlertIcon({ variant }) {
|
|
13489
13408
|
switch (variant) {
|
|
13490
13409
|
case void 0:
|
|
13491
|
-
return /* @__PURE__ */
|
|
13410
|
+
return /* @__PURE__ */ jsx9(
|
|
13492
13411
|
"svg",
|
|
13493
13412
|
{
|
|
13494
13413
|
width: "100%",
|
|
@@ -13496,7 +13415,7 @@ function AlertIcon({ variant }) {
|
|
|
13496
13415
|
viewBox: "0 0 36 36",
|
|
13497
13416
|
fill: "#FFC24D",
|
|
13498
13417
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13499
|
-
children: /* @__PURE__ */
|
|
13418
|
+
children: /* @__PURE__ */ jsx9(
|
|
13500
13419
|
"path",
|
|
13501
13420
|
{
|
|
13502
13421
|
d: "M18.0003 15V18M18.0003 24H18.0153M7.60799 30H28.3926C30.702 30 32.1454 27.5 30.9907 25.5L20.5984 7.5C19.4437 5.5 16.5569 5.5 15.4022 7.5L5.00992 25.5C3.85521 27.5 5.29859 30 7.60799 30Z",
|
|
@@ -13509,7 +13428,7 @@ function AlertIcon({ variant }) {
|
|
|
13509
13428
|
}
|
|
13510
13429
|
);
|
|
13511
13430
|
default:
|
|
13512
|
-
return /* @__PURE__ */
|
|
13431
|
+
return /* @__PURE__ */ jsx9(
|
|
13513
13432
|
"svg",
|
|
13514
13433
|
{
|
|
13515
13434
|
width: "100%",
|
|
@@ -13517,7 +13436,7 @@ function AlertIcon({ variant }) {
|
|
|
13517
13436
|
viewBox: "0 0 30 28",
|
|
13518
13437
|
fill: variant,
|
|
13519
13438
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13520
|
-
children: /* @__PURE__ */
|
|
13439
|
+
children: /* @__PURE__ */ jsx9(
|
|
13521
13440
|
"path",
|
|
13522
13441
|
{
|
|
13523
13442
|
d: "M18.0003 15V18M18.0003 24H18.0153M7.60799 30H28.3926C30.702 30 32.1454 27.5 30.9907 25.5L20.5984 7.5C19.4437 5.5 16.5569 5.5 15.4022 7.5L5.00992 25.5C3.85521 27.5 5.29859 30 7.60799 30Z",
|
|
@@ -13541,7 +13460,7 @@ function FireIcon({ variant }) {
|
|
|
13541
13460
|
fill: variant == void 0 ? "none" : variant,
|
|
13542
13461
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13543
13462
|
children: [
|
|
13544
|
-
/* @__PURE__ */
|
|
13463
|
+
/* @__PURE__ */ jsx9(
|
|
13545
13464
|
"path",
|
|
13546
13465
|
{
|
|
13547
13466
|
d: "M26.4853 27.9853C21.799 32.6716 14.201 32.6716 9.51472 27.9853C7.17158 25.6421 6 22.5711 6 19.5C6 16.4289 7.17157 13.3579 9.51472 11.0147C9.51472 11.0147 10.5001 13.4999 13.5001 14.9999C13.5001 11.9999 14.2501 7.49993 17.9788 4.5C21 7.5 24.1367 8.66617 26.4853 11.0147C28.8284 13.3579 30 16.4289 30 19.5C30 22.5711 28.8284 25.6421 26.4853 27.9853Z",
|
|
@@ -13552,7 +13471,7 @@ function FireIcon({ variant }) {
|
|
|
13552
13471
|
strokeLinejoin: "round"
|
|
13553
13472
|
}
|
|
13554
13473
|
),
|
|
13555
|
-
/* @__PURE__ */
|
|
13474
|
+
/* @__PURE__ */ jsx9(
|
|
13556
13475
|
"path",
|
|
13557
13476
|
{
|
|
13558
13477
|
d: "M14.818 24.1819C16.5754 25.9393 19.4246 25.9393 21.182 24.1819C22.0606 23.3033 22.5 22.1516 22.5 21C22.5 19.8483 22.0607 18.6967 21.182 17.818C20.3089 16.9448 19.1662 16.5055 18.0218 16.5L16.4999 20.9999L13.5 21C13.5 22.1516 13.9394 23.3033 14.818 24.1819Z",
|
|
@@ -13596,15 +13515,6 @@ function toDate(argument, context) {
|
|
|
13596
13515
|
return constructFrom(context || argument, argument);
|
|
13597
13516
|
}
|
|
13598
13517
|
|
|
13599
|
-
// node_modules/date-fns/addDays.js
|
|
13600
|
-
function addDays(date, amount, options) {
|
|
13601
|
-
const _date = toDate(date, options?.in);
|
|
13602
|
-
if (isNaN(amount)) return constructFrom(options?.in || date, NaN);
|
|
13603
|
-
if (!amount) return _date;
|
|
13604
|
-
_date.setDate(_date.getDate() + amount);
|
|
13605
|
-
return _date;
|
|
13606
|
-
}
|
|
13607
|
-
|
|
13608
13518
|
// node_modules/date-fns/_lib/defaultOptions.js
|
|
13609
13519
|
var defaultOptions = {};
|
|
13610
13520
|
function getDefaultOptions() {
|
|
@@ -13706,21 +13616,6 @@ function startOfISOWeekYear(date, options) {
|
|
|
13706
13616
|
return startOfISOWeek(fourthOfJanuary);
|
|
13707
13617
|
}
|
|
13708
13618
|
|
|
13709
|
-
// node_modules/date-fns/constructNow.js
|
|
13710
|
-
function constructNow(date) {
|
|
13711
|
-
return constructFrom(date, Date.now());
|
|
13712
|
-
}
|
|
13713
|
-
|
|
13714
|
-
// node_modules/date-fns/isSameDay.js
|
|
13715
|
-
function isSameDay(laterDate, earlierDate, options) {
|
|
13716
|
-
const [dateLeft_, dateRight_] = normalizeDates(
|
|
13717
|
-
options?.in,
|
|
13718
|
-
laterDate,
|
|
13719
|
-
earlierDate
|
|
13720
|
-
);
|
|
13721
|
-
return +startOfDay(dateLeft_) === +startOfDay(dateRight_);
|
|
13722
|
-
}
|
|
13723
|
-
|
|
13724
13619
|
// node_modules/date-fns/isDate.js
|
|
13725
13620
|
function isDate(value) {
|
|
13726
13621
|
return value instanceof Date || typeof value === "object" && Object.prototype.toString.call(value) === "[object Date]";
|
|
@@ -15161,188 +15056,151 @@ function cleanEscapedString(input) {
|
|
|
15161
15056
|
return matched[1].replace(doubleQuoteRegExp, "'");
|
|
15162
15057
|
}
|
|
15163
15058
|
|
|
15164
|
-
// node_modules/date-fns/isSameWeek.js
|
|
15165
|
-
function isSameWeek(laterDate, earlierDate, options) {
|
|
15166
|
-
const [laterDate_, earlierDate_] = normalizeDates(
|
|
15167
|
-
options?.in,
|
|
15168
|
-
laterDate,
|
|
15169
|
-
earlierDate
|
|
15170
|
-
);
|
|
15171
|
-
return +startOfWeek(laterDate_, options) === +startOfWeek(earlierDate_, options);
|
|
15172
|
-
}
|
|
15173
|
-
|
|
15174
|
-
// node_modules/date-fns/isToday.js
|
|
15175
|
-
function isToday(date, options) {
|
|
15176
|
-
return isSameDay(
|
|
15177
|
-
constructFrom(options?.in || date, date),
|
|
15178
|
-
constructNow(options?.in || date)
|
|
15179
|
-
);
|
|
15180
|
-
}
|
|
15181
|
-
|
|
15182
|
-
// node_modules/date-fns/isTomorrow.js
|
|
15183
|
-
function isTomorrow(date, options) {
|
|
15184
|
-
return isSameDay(
|
|
15185
|
-
date,
|
|
15186
|
-
addDays(constructNow(options?.in || date), 1),
|
|
15187
|
-
options
|
|
15188
|
-
);
|
|
15189
|
-
}
|
|
15190
|
-
|
|
15191
15059
|
// src/util/common.tsx
|
|
15192
|
-
import { Fragment as Fragment8, jsx as
|
|
15060
|
+
import { Fragment as Fragment8, jsx as jsx10 } from "react/jsx-runtime";
|
|
15193
15061
|
function getCategoryIcon(service, variant, size) {
|
|
15194
15062
|
if (!size) {
|
|
15195
15063
|
size = 24;
|
|
15196
15064
|
}
|
|
15197
15065
|
switch (service) {
|
|
15198
15066
|
case "fire" /* FIRE */:
|
|
15199
|
-
return /* @__PURE__ */
|
|
15067
|
+
return /* @__PURE__ */ jsx10(FireIcon, { variant });
|
|
15200
15068
|
case "alert" /* ALERT */:
|
|
15201
|
-
return /* @__PURE__ */
|
|
15069
|
+
return /* @__PURE__ */ jsx10(AlertIcon, { variant });
|
|
15202
15070
|
default:
|
|
15203
|
-
return /* @__PURE__ */
|
|
15071
|
+
return /* @__PURE__ */ jsx10(Fragment8, {});
|
|
15204
15072
|
}
|
|
15205
15073
|
}
|
|
15206
15074
|
function formatCustomRelative(date) {
|
|
15207
15075
|
const now = /* @__PURE__ */ new Date();
|
|
15208
|
-
|
|
15209
|
-
return `Today @ ${format(date, "h:mm a")}`;
|
|
15210
|
-
}
|
|
15211
|
-
if (isTomorrow(date)) {
|
|
15212
|
-
return `Tomorrow @ ${format(date, "h:mm a")}`;
|
|
15213
|
-
}
|
|
15214
|
-
if (isSameWeek(date, now, { weekStartsOn: 1 })) {
|
|
15215
|
-
return `${format(date, "EEE")} @ ${format(date, "h:mm a")}`;
|
|
15216
|
-
}
|
|
15217
|
-
return `${format(date, "EEE, do MMMM")} @ ${format(date, "h:mm a")}`;
|
|
15076
|
+
return format(date, "MMM d, h:mmaaa").replace("AM", "am").replace("PM", "pm");
|
|
15218
15077
|
}
|
|
15219
15078
|
|
|
15220
15079
|
// src/components/molecules/text_content/sender_source_row/sender_source_row.tsx
|
|
15221
|
-
import { jsx as
|
|
15080
|
+
import { jsx as jsx11, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
15222
15081
|
function SenderSourceRow({
|
|
15223
15082
|
leftText,
|
|
15224
15083
|
seperator,
|
|
15225
15084
|
rightText,
|
|
15226
|
-
onClick,
|
|
15227
|
-
shrunk,
|
|
15228
15085
|
date
|
|
15229
15086
|
}) {
|
|
15230
|
-
return /* @__PURE__ */ jsxs9("div", { className: "flex w-full place-content-between
|
|
15087
|
+
return /* @__PURE__ */ jsxs9("div", { className: "flex w-full place-content-between gap-6 text-qtneutral-900", children: [
|
|
15231
15088
|
/* @__PURE__ */ jsxs9("div", { className: "flex gap-[4px] place-items-center", children: [
|
|
15232
|
-
/* @__PURE__ */
|
|
15233
|
-
/* @__PURE__ */
|
|
15234
|
-
/* @__PURE__ */
|
|
15235
|
-
/* @__PURE__ */ jsx12("div", { className: "label-3 flex", children: date && formatCustomRelative(date) })
|
|
15089
|
+
/* @__PURE__ */ jsx11("div", { className: "body-small-bold break-all line-clamp-1", children: leftText }),
|
|
15090
|
+
/* @__PURE__ */ jsx11("div", { className: "label-3 text-center", children: seperator }),
|
|
15091
|
+
/* @__PURE__ */ jsx11("div", { className: "label-3 text-center", children: rightText })
|
|
15236
15092
|
] }),
|
|
15237
|
-
/* @__PURE__ */
|
|
15093
|
+
/* @__PURE__ */ jsx11("div", { className: "label-3 flex flex-nowrap flex-none", children: date && formatCustomRelative(date) })
|
|
15238
15094
|
] });
|
|
15239
15095
|
}
|
|
15240
15096
|
|
|
15241
15097
|
// src/components/molecules/text_content/subject_line_row/subject_line_row.tsx
|
|
15242
|
-
import { jsx as
|
|
15098
|
+
import { jsx as jsx12 } from "react/jsx-runtime";
|
|
15243
15099
|
function SubjectLineRow({ text }) {
|
|
15244
|
-
return /* @__PURE__ */
|
|
15100
|
+
return /* @__PURE__ */ jsx12("div", { className: "flex h-[17px]", children: /* @__PURE__ */ jsx12("div", { className: "text-neutral-900 body-small", children: text }) });
|
|
15245
15101
|
}
|
|
15246
15102
|
|
|
15247
|
-
// src/components/
|
|
15248
|
-
import
|
|
15249
|
-
|
|
15250
|
-
|
|
15251
|
-
|
|
15252
|
-
|
|
15103
|
+
// src/components/organisms/preview_card/preview_card.tsx
|
|
15104
|
+
import clsx4 from "clsx";
|
|
15105
|
+
|
|
15106
|
+
// src/components/molecules/dropdown/dropdown.tsx
|
|
15107
|
+
import clsx2 from "clsx";
|
|
15108
|
+
import { jsx as jsx13, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
15109
|
+
function DropDown({
|
|
15110
|
+
title,
|
|
15111
|
+
items,
|
|
15112
|
+
activeItem,
|
|
15113
|
+
direction = "left",
|
|
15114
|
+
onItemClick
|
|
15115
|
+
}) {
|
|
15116
|
+
return /* @__PURE__ */ jsxs10("div", { className: "relative inline-block", children: [
|
|
15117
|
+
/* @__PURE__ */ jsx13(
|
|
15118
|
+
"div",
|
|
15119
|
+
{
|
|
15120
|
+
className: clsx2(
|
|
15121
|
+
"absolute w-3.5 h-3.5 bg-black rotate-45 shadow-md z-0 -top-2 left-22"
|
|
15122
|
+
)
|
|
15123
|
+
}
|
|
15124
|
+
),
|
|
15125
|
+
/* @__PURE__ */ jsxs10("div", { className: "bg-white rounded-2xl shadow-lg w-48 py-3 px-4 relative z-10", children: [
|
|
15126
|
+
/* @__PURE__ */ jsx13("div", { className: "text-xs font-bold text-gray-900 tracking-wide mb-2", children: title.toUpperCase() }),
|
|
15127
|
+
/* @__PURE__ */ jsx13("ul", { className: "text-sm text-gray-800 space-y-2", children: items.map((item) => /* @__PURE__ */ jsx13(
|
|
15128
|
+
"li",
|
|
15129
|
+
{
|
|
15130
|
+
onClick: (e) => {
|
|
15131
|
+
e.stopPropagation();
|
|
15132
|
+
onItemClick?.(item);
|
|
15133
|
+
},
|
|
15134
|
+
className: clsx2(
|
|
15135
|
+
"border-t border-gray-200 pt-2 cursor-pointer label-2 text-qtneutral-800 hover:text-qtpurple-500 !hover:label-2-bold",
|
|
15136
|
+
activeItem === item ? "text-indigo-600 font-semibold" : ""
|
|
15137
|
+
),
|
|
15138
|
+
children: item
|
|
15139
|
+
},
|
|
15140
|
+
item
|
|
15141
|
+
)) })
|
|
15142
|
+
] })
|
|
15253
15143
|
] });
|
|
15254
15144
|
}
|
|
15255
15145
|
|
|
15256
|
-
// src/components/
|
|
15257
|
-
import
|
|
15258
|
-
|
|
15259
|
-
// src/components/molecules/buttons/thumb_group/thumb_group.tsx
|
|
15260
|
-
import { useState } from "react";
|
|
15146
|
+
// src/components/atoms/category_badge/category_badge.tsx
|
|
15147
|
+
import clsx3 from "clsx";
|
|
15261
15148
|
|
|
15262
|
-
// src/components/atoms/icons/
|
|
15263
|
-
import { jsx as
|
|
15264
|
-
function
|
|
15265
|
-
|
|
15266
|
-
|
|
15267
|
-
|
|
15268
|
-
|
|
15269
|
-
|
|
15270
|
-
|
|
15271
|
-
case 16:
|
|
15272
|
-
return {
|
|
15273
|
-
viewBox: "0 0 16 16",
|
|
15274
|
-
path: /* @__PURE__ */ jsx15(
|
|
15275
|
-
"path",
|
|
15276
|
-
{
|
|
15277
|
-
d: "M9.41146 6.66667H12.5874C13.5786 6.66667 14.2233 7.70975 13.78 8.59629L11.4466 13.263C11.2208 13.7147 10.7591 14 10.2541 14H7.5756C7.46658 14 7.35798 13.9866 7.25222 13.9602L4.74479 13.3333M9.41146 6.66667V3.33333C9.41146 2.59695 8.8145 2 8.07813 2H8.01448C7.68144 2 7.41146 2.26998 7.41146 2.60302C7.41146 3.07922 7.2705 3.54477 7.00635 3.94099L4.74479 7.33333V13.3333M9.41146 6.66667H8.07813M4.74479 13.3333H3.41146C2.67508 13.3333 2.07812 12.7364 2.07812 12V8C2.07812 7.26362 2.67508 6.66667 3.41146 6.66667H5.07813",
|
|
15278
|
-
stroke: color,
|
|
15279
|
-
"stroke-width": "1.25",
|
|
15280
|
-
"stroke-linecap": "round",
|
|
15281
|
-
"stroke-linejoin": "round"
|
|
15282
|
-
}
|
|
15283
|
-
)
|
|
15284
|
-
};
|
|
15285
|
-
case 20:
|
|
15286
|
-
return {
|
|
15287
|
-
viewBox: "0 0 20 20",
|
|
15288
|
-
path: /* @__PURE__ */ jsx15(
|
|
15289
|
-
"path",
|
|
15290
|
-
{
|
|
15291
|
-
d: "M11.7643 8.33333H15.7343C16.9732 8.33333 17.7791 9.63719 17.225 10.7454L14.3083 16.5787C14.026 17.1433 13.4489 17.5 12.8176 17.5H9.4695C9.33323 17.5 9.19747 17.4833 9.06527 17.4502L5.93099 16.6667M11.7643 8.33333V4.16667C11.7643 3.24619 11.0181 2.5 10.0977 2.5H10.0181C9.6018 2.5 9.26432 2.83748 9.26432 3.25377C9.26432 3.84903 9.08813 4.43096 8.75794 4.92624L5.93099 9.16667V16.6667M11.7643 8.33333H10.0977M5.93099 16.6667H4.26432C3.34385 16.6667 2.59766 15.9205 2.59766 15V10C2.59766 9.07953 3.34385 8.33333 4.26432 8.33333H6.34766",
|
|
15292
|
-
stroke: color,
|
|
15293
|
-
"stroke-width": "1.5",
|
|
15294
|
-
"stroke-linecap": "round",
|
|
15295
|
-
"stroke-linejoin": "round"
|
|
15296
|
-
}
|
|
15297
|
-
)
|
|
15298
|
-
};
|
|
15299
|
-
case 24:
|
|
15300
|
-
return {
|
|
15301
|
-
viewBox: "0 0 24 24",
|
|
15302
|
-
path: /* @__PURE__ */ jsx15(
|
|
15303
|
-
"path",
|
|
15304
|
-
{
|
|
15305
|
-
d: "M14.1172 10H18.8811C20.3679 10 21.3349 11.5646 20.67 12.8944L17.17 19.8944C16.8312 20.572 16.1387 21 15.3811 21H11.3634C11.1999 21 11.037 20.9799 10.8783 20.9403L7.11719 20M14.1172 10V5C14.1172 3.89543 13.2218 3 12.1172 3H12.0217C11.5222 3 11.1172 3.40497 11.1172 3.90453C11.1172 4.61883 10.9058 5.31715 10.5095 5.91149L7.11719 11V20M14.1172 10H12.1172M7.11719 20H5.11719C4.01262 20 3.11719 19.1046 3.11719 18V12C3.11719 10.8954 4.01262 10 5.11719 10H7.61719",
|
|
15306
|
-
stroke: color,
|
|
15307
|
-
"stroke-width": "2",
|
|
15308
|
-
"stroke-linecap": "round",
|
|
15309
|
-
"stroke-linejoin": "round"
|
|
15310
|
-
}
|
|
15311
|
-
)
|
|
15312
|
-
};
|
|
15313
|
-
case 36:
|
|
15314
|
-
return {
|
|
15315
|
-
viewBox: "0 0 36 36",
|
|
15316
|
-
path: /* @__PURE__ */ jsx15(
|
|
15317
|
-
"path",
|
|
15318
|
-
{
|
|
15319
|
-
d: "M21.1748 15H28.3207C30.5508 15 32.0013 17.3469 31.004 19.3416L25.754 29.8416C25.2458 30.858 24.207 31.5 23.0707 31.5H17.0441C16.7988 31.5 16.5545 31.4699 16.3165 31.4104L10.6748 30M21.1748 15V7.5C21.1748 5.84315 19.8317 4.5 18.1748 4.5H18.0316C17.2823 4.5 16.6748 5.10746 16.6748 5.85679C16.6748 6.92825 16.3577 7.97573 15.7633 8.86723L10.6748 16.5V30M21.1748 15H18.1748M10.6748 30H7.6748C6.01795 30 4.6748 28.6569 4.6748 27V18C4.6748 16.3431 6.01795 15 7.6748 15H11.4248",
|
|
15320
|
-
stroke: color,
|
|
15321
|
-
"stroke-width": "2.25",
|
|
15322
|
-
"stroke-linecap": "round",
|
|
15323
|
-
"stroke-linejoin": "round"
|
|
15324
|
-
}
|
|
15325
|
-
)
|
|
15326
|
-
};
|
|
15149
|
+
// src/components/atoms/icons/category_icons/category_icon.tsx
|
|
15150
|
+
import { jsx as jsx14 } from "react/jsx-runtime";
|
|
15151
|
+
function CategoryIcon({ size = 24, icon, variant }) {
|
|
15152
|
+
return /* @__PURE__ */ jsx14(
|
|
15153
|
+
"div",
|
|
15154
|
+
{
|
|
15155
|
+
className: `flex-none`,
|
|
15156
|
+
style: { width: `${size}px`, height: `${size}px` },
|
|
15157
|
+
children: /* @__PURE__ */ jsx14("div", { className: "w-full h-full", children: icon && getCategoryIcon(icon, variant, size) })
|
|
15327
15158
|
}
|
|
15328
|
-
|
|
15329
|
-
|
|
15330
|
-
|
|
15331
|
-
|
|
15159
|
+
);
|
|
15160
|
+
}
|
|
15161
|
+
|
|
15162
|
+
// src/components/atoms/category_badge/category_badge.tsx
|
|
15163
|
+
import { useState } from "react";
|
|
15164
|
+
import { jsx as jsx15, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
15165
|
+
function CategoryBadge({ active }) {
|
|
15166
|
+
const [hovering, setHovering] = useState(false);
|
|
15167
|
+
return /* @__PURE__ */ jsxs11(
|
|
15168
|
+
"div",
|
|
15332
15169
|
{
|
|
15333
|
-
|
|
15334
|
-
|
|
15335
|
-
|
|
15336
|
-
|
|
15337
|
-
|
|
15338
|
-
|
|
15170
|
+
onMouseEnter: () => setHovering(true),
|
|
15171
|
+
onMouseLeave: () => setHovering(false),
|
|
15172
|
+
className: clsx3(
|
|
15173
|
+
"flex place-content-center place-items-center w-[100px] h-6 flex-none rounded-lg border-[1.5px] px-2 py-0.5 gap-0.5 hover:border-qtpurple-500 hover:bg-white",
|
|
15174
|
+
active ? "bg-qtred-50" : "bg-white",
|
|
15175
|
+
active ? "border-qtred-400" : "border-qtneutral-700"
|
|
15176
|
+
),
|
|
15177
|
+
children: [
|
|
15178
|
+
!hovering && /* @__PURE__ */ jsx15(
|
|
15179
|
+
CategoryIcon,
|
|
15180
|
+
{
|
|
15181
|
+
size: 16,
|
|
15182
|
+
icon: "fire" /* FIRE */,
|
|
15183
|
+
variant: active ? void 0 : "none" /* OUTLINED */
|
|
15184
|
+
}
|
|
15185
|
+
),
|
|
15186
|
+
/* @__PURE__ */ jsx15(
|
|
15187
|
+
"div",
|
|
15188
|
+
{
|
|
15189
|
+
className: clsx3(
|
|
15190
|
+
"category-badge-text select-none",
|
|
15191
|
+
hovering ? "text-qtpurple-600" : "text-qtneutral-900"
|
|
15192
|
+
),
|
|
15193
|
+
children: hovering ? "Modify" : active ? "High" : "No Fire"
|
|
15194
|
+
}
|
|
15195
|
+
)
|
|
15196
|
+
]
|
|
15339
15197
|
}
|
|
15340
15198
|
);
|
|
15341
15199
|
}
|
|
15342
15200
|
|
|
15343
|
-
// src/components/atoms/icons/base_icons/
|
|
15201
|
+
// src/components/atoms/icons/base_icons/ExternalLink.tsx
|
|
15344
15202
|
import { jsx as jsx16 } from "react/jsx-runtime";
|
|
15345
|
-
function
|
|
15203
|
+
function ExternalLink({
|
|
15346
15204
|
size = 24,
|
|
15347
15205
|
color = "#1D1D1F",
|
|
15348
15206
|
fillColor = "none"
|
|
@@ -15355,11 +15213,11 @@ function ThumbDown({
|
|
|
15355
15213
|
path: /* @__PURE__ */ jsx16(
|
|
15356
15214
|
"path",
|
|
15357
15215
|
{
|
|
15358
|
-
d: "M6.
|
|
15216
|
+
d: "M6.66699 3.99996H4.00033C3.26395 3.99996 2.66699 4.59691 2.66699 5.33329V12C2.66699 12.7363 3.26395 13.3333 4.00033 13.3333H10.667C11.4034 13.3333 12.0003 12.7363 12.0003 12V9.33329M9.33366 2.66663H13.3337M13.3337 2.66663V6.66663M13.3337 2.66663L6.66699 9.33329",
|
|
15359
15217
|
stroke: color,
|
|
15360
|
-
|
|
15361
|
-
|
|
15362
|
-
|
|
15218
|
+
strokeWidth: "1.25",
|
|
15219
|
+
strokeLinecap: "round",
|
|
15220
|
+
strokeLinejoin: "round"
|
|
15363
15221
|
}
|
|
15364
15222
|
)
|
|
15365
15223
|
};
|
|
@@ -15369,11 +15227,11 @@ function ThumbDown({
|
|
|
15369
15227
|
path: /* @__PURE__ */ jsx16(
|
|
15370
15228
|
"path",
|
|
15371
15229
|
{
|
|
15372
|
-
d: "M8.
|
|
15230
|
+
d: "M8.33301 5.00004H4.99967C4.0792 5.00004 3.33301 5.74623 3.33301 6.66671V15C3.33301 15.9205 4.0792 16.6667 4.99967 16.6667H13.333C14.2535 16.6667 14.9997 15.9205 14.9997 15V11.6667M11.6663 3.33337H16.6663M16.6663 3.33337V8.33337M16.6663 3.33337L8.33301 11.6667",
|
|
15373
15231
|
stroke: color,
|
|
15374
|
-
|
|
15375
|
-
|
|
15376
|
-
|
|
15232
|
+
strokeWidth: "1.5",
|
|
15233
|
+
strokeLinecap: "round",
|
|
15234
|
+
strokeLinejoin: "round"
|
|
15377
15235
|
}
|
|
15378
15236
|
)
|
|
15379
15237
|
};
|
|
@@ -15383,11 +15241,11 @@ function ThumbDown({
|
|
|
15383
15241
|
path: /* @__PURE__ */ jsx16(
|
|
15384
15242
|
"path",
|
|
15385
15243
|
{
|
|
15386
|
-
d: "
|
|
15244
|
+
d: "M10 6H6C4.89543 6 4 6.89543 4 8V18C4 19.1046 4.89543 20 6 20H16C17.1046 20 18 19.1046 18 18V14M14 4H20M20 4V10M20 4L10 14",
|
|
15387
15245
|
stroke: color,
|
|
15388
|
-
|
|
15389
|
-
|
|
15390
|
-
|
|
15246
|
+
strokeWidth: "2",
|
|
15247
|
+
strokeLinecap: "round",
|
|
15248
|
+
strokeLinejoin: "round"
|
|
15391
15249
|
}
|
|
15392
15250
|
)
|
|
15393
15251
|
};
|
|
@@ -15397,11 +15255,11 @@ function ThumbDown({
|
|
|
15397
15255
|
path: /* @__PURE__ */ jsx16(
|
|
15398
15256
|
"path",
|
|
15399
15257
|
{
|
|
15400
|
-
d: "
|
|
15258
|
+
d: "M15 9H9C7.34315 9 6 10.3431 6 12V27C6 28.6569 7.34315 30 9 30H24C25.6569 30 27 28.6569 27 27V21M21 6H30M30 6V15M30 6L15 21",
|
|
15401
15259
|
stroke: color,
|
|
15402
|
-
|
|
15403
|
-
|
|
15404
|
-
|
|
15260
|
+
strokeWidth: "2.25",
|
|
15261
|
+
strokeLinecap: "round",
|
|
15262
|
+
strokeLinejoin: "round"
|
|
15405
15263
|
}
|
|
15406
15264
|
)
|
|
15407
15265
|
};
|
|
@@ -15414,81 +15272,15 @@ function ThumbDown({
|
|
|
15414
15272
|
width: size,
|
|
15415
15273
|
height: size,
|
|
15416
15274
|
viewBox,
|
|
15417
|
-
fill:
|
|
15275
|
+
fill: "none",
|
|
15418
15276
|
xmlns: "http://www.w3.org/2000/svg",
|
|
15419
15277
|
children: path
|
|
15420
15278
|
}
|
|
15421
15279
|
);
|
|
15422
15280
|
}
|
|
15423
15281
|
|
|
15424
|
-
// src/components/molecules/buttons/thumb_group/thumb_group.tsx
|
|
15425
|
-
import { jsx as jsx17, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
15426
|
-
function ThumbGroup({ onUpSelected, onDownSelected }) {
|
|
15427
|
-
const [upHovering, setUpHovering] = useState(false);
|
|
15428
|
-
const [downHovering, setDownHovering] = useState(false);
|
|
15429
|
-
const [upSelected, setUpSelected] = useState(false);
|
|
15430
|
-
const [downSelected, setDownSelected] = useState(false);
|
|
15431
|
-
return /* @__PURE__ */ jsxs11("div", { className: "flex flex-none w-min place-items-center place-content-center gap-4", children: [
|
|
15432
|
-
/* @__PURE__ */ jsx17(
|
|
15433
|
-
"div",
|
|
15434
|
-
{
|
|
15435
|
-
onMouseOver: () => setUpHovering(true),
|
|
15436
|
-
onMouseOut: () => setUpHovering(false),
|
|
15437
|
-
onClick: (e) => {
|
|
15438
|
-
e.stopPropagation();
|
|
15439
|
-
if (!upSelected && onUpSelected) {
|
|
15440
|
-
try {
|
|
15441
|
-
onUpSelected();
|
|
15442
|
-
} catch (e2) {
|
|
15443
|
-
console.log(`Failed to execute: onUpSelected() | [${e2}]`);
|
|
15444
|
-
return;
|
|
15445
|
-
}
|
|
15446
|
-
}
|
|
15447
|
-
setUpSelected(!upSelected);
|
|
15448
|
-
},
|
|
15449
|
-
children: upSelected ? /* @__PURE__ */ jsx17(
|
|
15450
|
-
ThumbUp,
|
|
15451
|
-
{
|
|
15452
|
-
fillColor: "#82818E",
|
|
15453
|
-
color: upHovering ? "#6558FD" : "#FFFFFF"
|
|
15454
|
-
}
|
|
15455
|
-
) : /* @__PURE__ */ jsx17(ThumbUp, { color: upHovering ? "#6558FD" : "#82818E" })
|
|
15456
|
-
}
|
|
15457
|
-
),
|
|
15458
|
-
/* @__PURE__ */ jsx17(
|
|
15459
|
-
"div",
|
|
15460
|
-
{
|
|
15461
|
-
onMouseOver: () => setDownHovering(true),
|
|
15462
|
-
onMouseOut: () => setDownHovering(false),
|
|
15463
|
-
onClick: (e) => {
|
|
15464
|
-
e.stopPropagation();
|
|
15465
|
-
if (!downSelected && onDownSelected) {
|
|
15466
|
-
try {
|
|
15467
|
-
onDownSelected();
|
|
15468
|
-
} catch (e2) {
|
|
15469
|
-
console.log(`Failed to execute: onDownSelected() | [${e2}]`);
|
|
15470
|
-
return;
|
|
15471
|
-
}
|
|
15472
|
-
}
|
|
15473
|
-
setDownSelected(!downSelected);
|
|
15474
|
-
},
|
|
15475
|
-
children: downSelected ? /* @__PURE__ */ jsx17(
|
|
15476
|
-
ThumbDown,
|
|
15477
|
-
{
|
|
15478
|
-
fillColor: "#82818E",
|
|
15479
|
-
color: downHovering ? "#6558FD" : "#FFFFFF"
|
|
15480
|
-
}
|
|
15481
|
-
) : /* @__PURE__ */ jsx17(ThumbDown, { color: downHovering ? "#6558FD" : "#82818E" })
|
|
15482
|
-
}
|
|
15483
|
-
)
|
|
15484
|
-
] });
|
|
15485
|
-
}
|
|
15486
|
-
|
|
15487
|
-
// src/components/molecules/checkboxes/main_checkbox/secondary_checkbox.tsx
|
|
15488
|
-
import clsx2 from "clsx";
|
|
15489
|
-
|
|
15490
15282
|
// src/components/atoms/icons/base_icons/CheckBox.tsx
|
|
15491
|
-
import { jsx as
|
|
15283
|
+
import { jsx as jsx17, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
15492
15284
|
function CheckBox({ size = 24, fillColor }) {
|
|
15493
15285
|
const getIconData = () => {
|
|
15494
15286
|
let viewBox2 = "";
|
|
@@ -15513,15 +15305,15 @@ function CheckBox({ size = 24, fillColor }) {
|
|
|
15513
15305
|
break;
|
|
15514
15306
|
}
|
|
15515
15307
|
const path2 = /* @__PURE__ */ jsxs12("g", { transform: `scale(${scale})`, children: [
|
|
15516
|
-
/* @__PURE__ */
|
|
15517
|
-
/* @__PURE__ */
|
|
15308
|
+
/* @__PURE__ */ jsx17("mask", { id: maskId, fill: "white", children: /* @__PURE__ */ jsx17("path", { d: "M4.5 11.25C4.5 7.52208 7.52208 4.5 11.25 4.5H24.75C28.4779 4.5 31.5 7.52208 31.5 11.25V24.75C31.5 28.4779 28.4779 31.5 24.75 31.5H11.25C7.52208 31.5 4.5 28.4779 4.5 24.75V11.25Z" }) }),
|
|
15309
|
+
/* @__PURE__ */ jsx17(
|
|
15518
15310
|
"path",
|
|
15519
15311
|
{
|
|
15520
15312
|
d: "M4.5 11.25C4.5 7.52208 7.52208 4.5 11.25 4.5H24.75C28.4779 4.5 31.5 7.52208 31.5 11.25V24.75C31.5 28.4779 28.4779 31.5 24.75 31.5H11.25C7.52208 31.5 4.5 28.4779 4.5 24.75V11.25Z",
|
|
15521
15313
|
fill: fillColor
|
|
15522
15314
|
}
|
|
15523
15315
|
),
|
|
15524
|
-
/* @__PURE__ */
|
|
15316
|
+
/* @__PURE__ */ jsx17(
|
|
15525
15317
|
"path",
|
|
15526
15318
|
{
|
|
15527
15319
|
d: "M11.25 4.5V6.75H24.75V4.5V2.25H11.25V4.5ZM31.5 11.25H29.25V24.75H31.5H33.75V11.25H31.5ZM24.75 31.5V29.25H11.25V31.5V33.75H24.75V31.5ZM4.5 24.75H6.75V11.25H4.5H2.25V24.75H4.5ZM11.25 31.5V29.25C8.76472 29.25 6.75 27.2353 6.75 24.75H4.5H2.25C2.25 29.7206 6.27944 33.75 11.25 33.75V31.5ZM31.5 24.75H29.25C29.25 27.2353 27.2353 29.25 24.75 29.25V31.5V33.75C29.7206 33.75 33.75 29.7206 33.75 24.75H31.5ZM24.75 4.5V6.75C27.2353 6.75 29.25 8.76472 29.25 11.25H31.5H33.75C33.75 6.27944 29.7206 2.25 24.75 2.25V4.5ZM11.25 4.5V2.25C6.27944 2.25 2.25 6.27944 2.25 11.25H4.5H6.75C6.75 8.76472 8.76472 6.75 11.25 6.75V4.5Z",
|
|
@@ -15529,7 +15321,7 @@ function CheckBox({ size = 24, fillColor }) {
|
|
|
15529
15321
|
mask: `url(#${maskId})`
|
|
15530
15322
|
}
|
|
15531
15323
|
),
|
|
15532
|
-
/* @__PURE__ */
|
|
15324
|
+
/* @__PURE__ */ jsx17(
|
|
15533
15325
|
"path",
|
|
15534
15326
|
{
|
|
15535
15327
|
d: "M13.9502 18L16.6502 20.7L22.0502 15.3",
|
|
@@ -15543,7 +15335,7 @@ function CheckBox({ size = 24, fillColor }) {
|
|
|
15543
15335
|
return { viewBox: viewBox2, path: path2 };
|
|
15544
15336
|
};
|
|
15545
15337
|
const { viewBox, path } = getIconData();
|
|
15546
|
-
return /* @__PURE__ */
|
|
15338
|
+
return /* @__PURE__ */ jsx17(
|
|
15547
15339
|
"svg",
|
|
15548
15340
|
{
|
|
15549
15341
|
width: size,
|
|
@@ -15579,15 +15371,15 @@ function CheckBoxEmpty({ size = 24, fillColor }) {
|
|
|
15579
15371
|
break;
|
|
15580
15372
|
}
|
|
15581
15373
|
const path2 = /* @__PURE__ */ jsxs12("g", { transform: `scale(${scale})`, children: [
|
|
15582
|
-
/* @__PURE__ */
|
|
15583
|
-
/* @__PURE__ */
|
|
15374
|
+
/* @__PURE__ */ jsx17("mask", { id: maskId, fill: "white", children: /* @__PURE__ */ jsx17("path", { d: "M4.5 11.25C4.5 7.52208 7.52208 4.5 11.25 4.5H24.75C28.4779 4.5 31.5 7.52208 31.5 11.25V24.75C31.5 28.4779 28.4779 31.5 24.75 31.5H11.25C7.52208 31.5 4.5 28.4779 4.5 24.75V11.25Z" }) }),
|
|
15375
|
+
/* @__PURE__ */ jsx17(
|
|
15584
15376
|
"path",
|
|
15585
15377
|
{
|
|
15586
15378
|
d: "M4.5 11.25C4.5 7.52208 7.52208 4.5 11.25 4.5H24.75C28.4779 4.5 31.5 7.52208 31.5 11.25V24.75C31.5 28.4779 28.4779 31.5 24.75 31.5H11.25C7.52208 31.5 4.5 28.4779 4.5 24.75V11.25Z",
|
|
15587
15379
|
fill: fillColor
|
|
15588
15380
|
}
|
|
15589
15381
|
),
|
|
15590
|
-
/* @__PURE__ */
|
|
15382
|
+
/* @__PURE__ */ jsx17(
|
|
15591
15383
|
"path",
|
|
15592
15384
|
{
|
|
15593
15385
|
d: "M11.25 4.5V6.75H24.75V4.5V2.25H11.25V4.5ZM31.5 11.25H29.25V24.75H31.5H33.75V11.25H31.5ZM24.75 31.5V29.25H11.25V31.5V33.75H24.75V31.5ZM4.5 24.75H6.75V11.25H4.5H2.25V24.75H4.5ZM11.25 31.5V29.25C8.76472 29.25 6.75 27.2353 6.75 24.75H4.5H2.25C2.25 29.7206 6.27944 33.75 11.25 33.75V31.5ZM31.5 24.75H29.25C29.25 27.2353 27.2353 29.25 24.75 29.25V31.5V33.75C29.7206 33.75 33.75 29.7206 33.75 24.75H31.5ZM24.75 4.5V6.75C27.2353 6.75 29.25 8.76472 29.25 11.25H31.5H33.75C33.75 6.27944 29.7206 2.25 24.75 2.25V4.5ZM11.25 4.5V2.25C6.27944 2.25 2.25 6.27944 2.25 11.25H4.5H6.75C6.75 8.76472 8.76472 6.75 11.25 6.75V4.5Z",
|
|
@@ -15599,7 +15391,7 @@ function CheckBoxEmpty({ size = 24, fillColor }) {
|
|
|
15599
15391
|
return { viewBox: viewBox2, path: path2 };
|
|
15600
15392
|
};
|
|
15601
15393
|
const { viewBox, path } = getIconData();
|
|
15602
|
-
return /* @__PURE__ */
|
|
15394
|
+
return /* @__PURE__ */ jsx17(
|
|
15603
15395
|
"svg",
|
|
15604
15396
|
{
|
|
15605
15397
|
width: size,
|
|
@@ -15612,135 +15404,37 @@ function CheckBoxEmpty({ size = 24, fillColor }) {
|
|
|
15612
15404
|
);
|
|
15613
15405
|
}
|
|
15614
15406
|
|
|
15615
|
-
// src/components/molecules/checkboxes/main_checkbox/secondary_checkbox.tsx
|
|
15616
|
-
import { jsx as jsx19 } from "react/jsx-runtime";
|
|
15617
|
-
function SecondaryCheckBox({ active, onClick }) {
|
|
15618
|
-
return /* @__PURE__ */ jsx19(
|
|
15619
|
-
"div",
|
|
15620
|
-
{
|
|
15621
|
-
className: clsx2(
|
|
15622
|
-
"flex flex-none w-min h-min place-items-center place-content-center p-0"
|
|
15623
|
-
),
|
|
15624
|
-
onClick: (e) => {
|
|
15625
|
-
e.stopPropagation();
|
|
15626
|
-
onClick && onClick();
|
|
15627
|
-
},
|
|
15628
|
-
children: active ? /* @__PURE__ */ jsx19(CheckBox, { size: 36, fillColor: "#E8FE99" }) : /* @__PURE__ */ jsx19(CheckBoxEmpty, { size: 36, fillColor: "#FFFFFF" })
|
|
15629
|
-
}
|
|
15630
|
-
);
|
|
15631
|
-
}
|
|
15632
|
-
|
|
15633
|
-
// src/components/molecules/buttons/icon_button/category_icon_button/category_icon_button.tsx
|
|
15634
|
-
import clsx3 from "clsx";
|
|
15635
|
-
import { jsx as jsx20, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
15636
|
-
function CategoryIconButton({ icon, label, active }) {
|
|
15637
|
-
return /* @__PURE__ */ jsxs13(
|
|
15638
|
-
"div",
|
|
15639
|
-
{
|
|
15640
|
-
className: `w-min h-min flex flex-none flex-col place-items-center gap-2 hover:grayscale-0 ${active ? "" : "grayscale"}`,
|
|
15641
|
-
children: [
|
|
15642
|
-
/* @__PURE__ */ jsx20(
|
|
15643
|
-
"div",
|
|
15644
|
-
{
|
|
15645
|
-
className: clsx3(
|
|
15646
|
-
"flex flex-none flex-col place-items-center place-content-center rounded-lg hover:bg-qtneutral-200 border-2 border-transparent hover:border-qtneutral-500 w-[36px] h-[36px]"
|
|
15647
|
-
),
|
|
15648
|
-
children: icon
|
|
15649
|
-
}
|
|
15650
|
-
),
|
|
15651
|
-
label && /* @__PURE__ */ jsx20("div", { className: "font-medium text-[0.7rem] text-qtneutral-900", children: label })
|
|
15652
|
-
]
|
|
15653
|
-
}
|
|
15654
|
-
);
|
|
15655
|
-
}
|
|
15656
|
-
|
|
15657
|
-
// src/components/molecules/dropdown/dropdown.tsx
|
|
15658
|
-
import clsx4 from "clsx";
|
|
15659
|
-
import { jsx as jsx21, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
15660
|
-
function DropDown({
|
|
15661
|
-
title,
|
|
15662
|
-
items,
|
|
15663
|
-
activeItem,
|
|
15664
|
-
direction = "left",
|
|
15665
|
-
onItemClick
|
|
15666
|
-
}) {
|
|
15667
|
-
return /* @__PURE__ */ jsxs14("div", { className: "relative inline-block", children: [
|
|
15668
|
-
/* @__PURE__ */ jsx21(
|
|
15669
|
-
"div",
|
|
15670
|
-
{
|
|
15671
|
-
className: clsx4(
|
|
15672
|
-
"absolute w-3.5 h-3.5 bg-black rotate-45 shadow-md z-0",
|
|
15673
|
-
direction === "left" ? "left-[-6px] top-3" : "right-0 top-3"
|
|
15674
|
-
)
|
|
15675
|
-
}
|
|
15676
|
-
),
|
|
15677
|
-
/* @__PURE__ */ jsxs14("div", { className: "bg-white rounded-2xl shadow-lg w-48 py-3 px-4 relative z-10", children: [
|
|
15678
|
-
/* @__PURE__ */ jsx21("div", { className: "text-xs font-bold text-gray-900 tracking-wide mb-2", children: title.toUpperCase() }),
|
|
15679
|
-
/* @__PURE__ */ jsx21("ul", { className: "text-sm text-gray-800 space-y-2", children: items.map((item) => /* @__PURE__ */ jsx21(
|
|
15680
|
-
"li",
|
|
15681
|
-
{
|
|
15682
|
-
onClick: (e) => {
|
|
15683
|
-
e.stopPropagation();
|
|
15684
|
-
onItemClick?.(item);
|
|
15685
|
-
},
|
|
15686
|
-
className: clsx4(
|
|
15687
|
-
"border-t border-gray-200 pt-2 cursor-pointer label-2 text-qtneutral-800 hover:text-qtpurple-500 !hover:label-2-bold",
|
|
15688
|
-
activeItem === item ? "text-indigo-600 font-semibold" : ""
|
|
15689
|
-
),
|
|
15690
|
-
children: item
|
|
15691
|
-
},
|
|
15692
|
-
item
|
|
15693
|
-
)) })
|
|
15694
|
-
] })
|
|
15695
|
-
] });
|
|
15696
|
-
}
|
|
15697
|
-
|
|
15698
15407
|
// src/components/organisms/preview_card/preview_card.tsx
|
|
15699
|
-
import { jsx as
|
|
15408
|
+
import { jsx as jsx18, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
15700
15409
|
function PreviewCard({
|
|
15701
15410
|
eventID,
|
|
15702
15411
|
onSelected,
|
|
15703
15412
|
selected,
|
|
15704
15413
|
onChecked,
|
|
15414
|
+
checked,
|
|
15705
15415
|
service,
|
|
15706
15416
|
subjectLine,
|
|
15707
15417
|
body,
|
|
15708
15418
|
sender,
|
|
15709
15419
|
source,
|
|
15710
|
-
metadata,
|
|
15711
15420
|
date,
|
|
15712
15421
|
onClickGoToSource,
|
|
15713
|
-
|
|
15714
|
-
alert,
|
|
15422
|
+
eventCategory,
|
|
15715
15423
|
read,
|
|
15716
15424
|
overrideItems,
|
|
15717
15425
|
onOverride
|
|
15718
15426
|
}) {
|
|
15719
|
-
const [checked, setChecked] = useState2(false);
|
|
15720
15427
|
const [overrideMenuOpen, setoverrideMenuOpen] = useState2(false);
|
|
15721
|
-
function getColorVariant(urgency) {
|
|
15722
|
-
switch (urgency) {
|
|
15723
|
-
case "high" /* HIGH */:
|
|
15724
|
-
return void 0;
|
|
15725
|
-
case "medium" /* MEDIUM */:
|
|
15726
|
-
return "#FFD481" /* YELLOW */;
|
|
15727
|
-
case "low" /* LOW */:
|
|
15728
|
-
return "#E8FE99" /* GREEN */;
|
|
15729
|
-
default:
|
|
15730
|
-
return void 0;
|
|
15731
|
-
}
|
|
15732
|
-
}
|
|
15733
15428
|
function toggleChecked() {
|
|
15734
|
-
setChecked(!checked);
|
|
15735
15429
|
if (onChecked) {
|
|
15736
15430
|
onChecked(eventID);
|
|
15737
15431
|
}
|
|
15738
15432
|
}
|
|
15739
|
-
return /* @__PURE__ */
|
|
15433
|
+
return /* @__PURE__ */ jsxs13(
|
|
15740
15434
|
"div",
|
|
15741
15435
|
{
|
|
15742
|
-
className:
|
|
15743
|
-
"
|
|
15436
|
+
className: clsx4(
|
|
15437
|
+
"flex gap-4 h-min w-[409px] bg-white rounded-3xl p-4 border-[2px] preview-card-shadow",
|
|
15744
15438
|
selected ? "bg-qtpurple-200 border-qtpurple-200" : "",
|
|
15745
15439
|
!read ? "border-qtpurple-500" : "border-neutral-6"
|
|
15746
15440
|
),
|
|
@@ -15749,33 +15443,33 @@ function PreviewCard({
|
|
|
15749
15443
|
onSelected && onSelected(eventID);
|
|
15750
15444
|
},
|
|
15751
15445
|
children: [
|
|
15752
|
-
/* @__PURE__ */
|
|
15753
|
-
|
|
15754
|
-
/* @__PURE__ */
|
|
15755
|
-
|
|
15756
|
-
|
|
15446
|
+
/* @__PURE__ */ jsx18("div", { className: "flex flex-col gap-4 place-items-center", children: /* @__PURE__ */ jsx18(BrandIcon, { service, size: 16 }) }),
|
|
15447
|
+
/* @__PURE__ */ jsxs13("div", { className: "flex flex-col gap-2 grow ", children: [
|
|
15448
|
+
/* @__PURE__ */ jsxs13("div", { className: "flex flex-col grow gap-1", children: [
|
|
15449
|
+
/* @__PURE__ */ jsx18(
|
|
15450
|
+
SenderSourceRow,
|
|
15451
|
+
{
|
|
15452
|
+
leftText: sender,
|
|
15453
|
+
seperator: source ? "via" : "",
|
|
15454
|
+
rightText: source,
|
|
15455
|
+
date
|
|
15456
|
+
}
|
|
15457
|
+
),
|
|
15458
|
+
subjectLine && /* @__PURE__ */ jsx18(SubjectLineRow, { text: subjectLine })
|
|
15459
|
+
] }),
|
|
15460
|
+
body && /* @__PURE__ */ jsx18("div", { className: "flex flex-col max-w-full w-full wrap-anywhere", children: /* @__PURE__ */ jsx18("p", { className: "line-clamp-2 body-small", children: body }) }),
|
|
15461
|
+
/* @__PURE__ */ jsx18("div", { className: "flex", children: body && /* @__PURE__ */ jsxs13("div", { className: "w-full relative flex place-content-between place-items-center", children: [
|
|
15462
|
+
/* @__PURE__ */ jsx18(
|
|
15757
15463
|
"div",
|
|
15758
15464
|
{
|
|
15759
15465
|
onClick: (e) => {
|
|
15760
|
-
if (!overrideItems || overrideItems.length == 0) {
|
|
15761
|
-
return;
|
|
15762
|
-
}
|
|
15763
15466
|
e.stopPropagation();
|
|
15764
15467
|
setoverrideMenuOpen(!overrideMenuOpen);
|
|
15765
15468
|
},
|
|
15766
|
-
children: /* @__PURE__ */
|
|
15767
|
-
CategoryIconButton,
|
|
15768
|
-
{
|
|
15769
|
-
active: true,
|
|
15770
|
-
icon: getCategoryIcon(
|
|
15771
|
-
"fire" /* FIRE */,
|
|
15772
|
-
getColorVariant(urgencyLevel)
|
|
15773
|
-
)
|
|
15774
|
-
}
|
|
15775
|
-
)
|
|
15469
|
+
children: /* @__PURE__ */ jsx18(CategoryBadge, { active: eventCategory == "fire" })
|
|
15776
15470
|
}
|
|
15777
15471
|
),
|
|
15778
|
-
overrideMenuOpen && /* @__PURE__ */
|
|
15472
|
+
overrideMenuOpen && /* @__PURE__ */ jsx18("div", { className: "absolute right-[56%] top-[140%]", children: /* @__PURE__ */ jsx18(
|
|
15779
15473
|
DropDown,
|
|
15780
15474
|
{
|
|
15781
15475
|
items: overrideItems ? overrideItems : [],
|
|
@@ -15785,35 +15479,27 @@ function PreviewCard({
|
|
|
15785
15479
|
setoverrideMenuOpen(false);
|
|
15786
15480
|
}
|
|
15787
15481
|
}
|
|
15788
|
-
) })
|
|
15789
|
-
|
|
15790
|
-
|
|
15791
|
-
|
|
15792
|
-
|
|
15793
|
-
|
|
15794
|
-
|
|
15795
|
-
|
|
15796
|
-
|
|
15797
|
-
|
|
15798
|
-
|
|
15799
|
-
|
|
15800
|
-
|
|
15801
|
-
|
|
15802
|
-
|
|
15803
|
-
|
|
15804
|
-
|
|
15805
|
-
|
|
15806
|
-
|
|
15807
|
-
|
|
15808
|
-
|
|
15809
|
-
),
|
|
15810
|
-
subjectLine && /* @__PURE__ */ jsx22(SubjectLineRow, { text: subjectLine }),
|
|
15811
|
-
/* @__PURE__ */ jsx22(MetadataRow, { metadata })
|
|
15812
|
-
] }),
|
|
15813
|
-
body && /* @__PURE__ */ jsxs15("div", { className: "bg-white flex flex-col max-w-full w-full gap-2 wrap-anywhere rounded-2xl text-sm p-4 leading-[120%] font-normal", children: [
|
|
15814
|
-
/* @__PURE__ */ jsx22("p", { className: "line-clamp-4", children: body }),
|
|
15815
|
-
/* @__PURE__ */ jsx22(ThumbGroup, {})
|
|
15816
|
-
] })
|
|
15482
|
+
) }),
|
|
15483
|
+
/* @__PURE__ */ jsxs13("div", { className: "flex gap-2", children: [
|
|
15484
|
+
/* @__PURE__ */ jsx18(
|
|
15485
|
+
"div",
|
|
15486
|
+
{
|
|
15487
|
+
onClick: (e) => {
|
|
15488
|
+
e.stopPropagation();
|
|
15489
|
+
toggleChecked();
|
|
15490
|
+
},
|
|
15491
|
+
children: /* @__PURE__ */ jsx18(
|
|
15492
|
+
CheckBox,
|
|
15493
|
+
{
|
|
15494
|
+
size: 16,
|
|
15495
|
+
fillColor: checked ? "#E8FE99" : void 0
|
|
15496
|
+
}
|
|
15497
|
+
)
|
|
15498
|
+
}
|
|
15499
|
+
),
|
|
15500
|
+
/* @__PURE__ */ jsx18("div", { onClick: onClickGoToSource, children: /* @__PURE__ */ jsx18(ExternalLink, { size: 16, color: "#82818E" }) })
|
|
15501
|
+
] })
|
|
15502
|
+
] }) })
|
|
15817
15503
|
] })
|
|
15818
15504
|
]
|
|
15819
15505
|
}
|
|
@@ -15821,7 +15507,7 @@ function PreviewCard({
|
|
|
15821
15507
|
}
|
|
15822
15508
|
|
|
15823
15509
|
// src/components/atoms/icons/base_icons/Gear.tsx
|
|
15824
|
-
import { Fragment as Fragment9, jsx as
|
|
15510
|
+
import { Fragment as Fragment9, jsx as jsx19, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
15825
15511
|
function Gear({
|
|
15826
15512
|
size = 24,
|
|
15827
15513
|
color = "#1D1D1F",
|
|
@@ -15832,8 +15518,8 @@ function Gear({
|
|
|
15832
15518
|
case 16:
|
|
15833
15519
|
return {
|
|
15834
15520
|
viewBox: "0 0 16 16",
|
|
15835
|
-
path: /* @__PURE__ */
|
|
15836
|
-
/* @__PURE__ */
|
|
15521
|
+
path: /* @__PURE__ */ jsxs14(Fragment9, { children: [
|
|
15522
|
+
/* @__PURE__ */ jsx19(
|
|
15837
15523
|
"path",
|
|
15838
15524
|
{
|
|
15839
15525
|
d: "M6.88309 2.87821C7.16735 1.70726 8.83265 1.70726 9.11692 2.87821C9.30055 3.63462 10.1672 3.99358 10.8319 3.58857C11.8609 2.96159 13.0384 4.13914 12.4114 5.16812C12.0064 5.83284 12.3654 6.69945 13.1218 6.88308C14.2927 7.16735 14.2927 8.83265 13.1218 9.11692C12.3654 9.30055 12.0064 10.1672 12.4114 10.8319C13.0384 11.8609 11.8609 13.0384 10.8319 12.4114C10.1672 12.0064 9.30055 12.3654 9.11692 13.1218C8.83265 14.2927 7.16735 14.2927 6.88309 13.1218C6.69945 12.3654 5.83284 12.0064 5.16812 12.4114C4.13914 13.0384 2.96159 11.8609 3.58857 10.8319C3.99358 10.1672 3.63462 9.30055 2.87821 9.11692C1.70726 8.83265 1.70726 7.16735 2.87821 6.88308C3.63462 6.69945 3.99358 5.83284 3.58857 5.16812C2.96159 4.13914 4.13914 2.96159 5.16812 3.58857C5.83284 3.99358 6.69945 3.63462 6.88309 2.87821Z",
|
|
@@ -15843,7 +15529,7 @@ function Gear({
|
|
|
15843
15529
|
strokeLinejoin: "round"
|
|
15844
15530
|
}
|
|
15845
15531
|
),
|
|
15846
|
-
/* @__PURE__ */
|
|
15532
|
+
/* @__PURE__ */ jsx19(
|
|
15847
15533
|
"path",
|
|
15848
15534
|
{
|
|
15849
15535
|
d: "M10 8C10 9.10457 9.10457 10 8 10C6.89543 10 6 9.10457 6 8C6 6.89543 6.89543 6 8 6C9.10457 6 10 6.89543 10 8Z",
|
|
@@ -15858,8 +15544,8 @@ function Gear({
|
|
|
15858
15544
|
case 20:
|
|
15859
15545
|
return {
|
|
15860
15546
|
viewBox: "0 0 20 20",
|
|
15861
|
-
path: /* @__PURE__ */
|
|
15862
|
-
/* @__PURE__ */
|
|
15547
|
+
path: /* @__PURE__ */ jsxs14(Fragment9, { children: [
|
|
15548
|
+
/* @__PURE__ */ jsx19(
|
|
15863
15549
|
"path",
|
|
15864
15550
|
{
|
|
15865
15551
|
d: "M8.60386 3.59776C8.95919 2.13408 11.0408 2.13408 11.3961 3.59776C11.6257 4.54327 12.709 4.99198 13.5398 4.48571C14.8261 3.70199 16.298 5.17392 15.5143 6.46015C15.008 7.29105 15.4567 8.37431 16.4022 8.60386C17.8659 8.95919 17.8659 11.0408 16.4022 11.3961C15.4567 11.6257 15.008 12.709 15.5143 13.5398C16.298 14.8261 14.8261 16.298 13.5398 15.5143C12.709 15.008 11.6257 15.4567 11.3961 16.4022C11.0408 17.8659 8.95919 17.8659 8.60386 16.4022C8.37431 15.4567 7.29105 15.008 6.46016 15.5143C5.17392 16.298 3.70199 14.8261 4.48571 13.5398C4.99198 12.709 4.54327 11.6257 3.59776 11.3961C2.13408 11.0408 2.13408 8.95919 3.59776 8.60386C4.54327 8.37431 4.99198 7.29105 4.48571 6.46015C3.70199 5.17392 5.17392 3.70199 6.46015 4.48571C7.29105 4.99198 8.37431 4.54327 8.60386 3.59776Z",
|
|
@@ -15869,7 +15555,7 @@ function Gear({
|
|
|
15869
15555
|
strokeLinejoin: "round"
|
|
15870
15556
|
}
|
|
15871
15557
|
),
|
|
15872
|
-
/* @__PURE__ */
|
|
15558
|
+
/* @__PURE__ */ jsx19(
|
|
15873
15559
|
"path",
|
|
15874
15560
|
{
|
|
15875
15561
|
d: "M12.5 10C12.5 11.3807 11.3807 12.5 10 12.5C8.61929 12.5 7.5 11.3807 7.5 10C7.5 8.61929 8.61929 7.5 10 7.5C11.3807 7.5 12.5 8.61929 12.5 10Z",
|
|
@@ -15884,8 +15570,8 @@ function Gear({
|
|
|
15884
15570
|
case 24:
|
|
15885
15571
|
return {
|
|
15886
15572
|
viewBox: "0 0 24 24",
|
|
15887
|
-
path: /* @__PURE__ */
|
|
15888
|
-
/* @__PURE__ */
|
|
15573
|
+
path: /* @__PURE__ */ jsxs14(Fragment9, { children: [
|
|
15574
|
+
/* @__PURE__ */ jsx19(
|
|
15889
15575
|
"path",
|
|
15890
15576
|
{
|
|
15891
15577
|
d: "M10.3246 4.31731C10.751 2.5609 13.249 2.5609 13.6754 4.31731C13.9508 5.45193 15.2507 5.99038 16.2478 5.38285C17.7913 4.44239 19.5576 6.2087 18.6172 7.75218C18.0096 8.74925 18.5481 10.0492 19.6827 10.3246C21.4391 10.751 21.4391 13.249 19.6827 13.6754C18.5481 13.9508 18.0096 15.2507 18.6172 16.2478C19.5576 17.7913 17.7913 19.5576 16.2478 18.6172C15.2507 18.0096 13.9508 18.5481 13.6754 19.6827C13.249 21.4391 10.751 21.4391 10.3246 19.6827C10.0492 18.5481 8.74926 18.0096 7.75219 18.6172C6.2087 19.5576 4.44239 17.7913 5.38285 16.2478C5.99038 15.2507 5.45193 13.9508 4.31731 13.6754C2.5609 13.249 2.5609 10.751 4.31731 10.3246C5.45193 10.0492 5.99037 8.74926 5.38285 7.75218C4.44239 6.2087 6.2087 4.44239 7.75219 5.38285C8.74926 5.99037 10.0492 5.45193 10.3246 4.31731Z",
|
|
@@ -15895,7 +15581,7 @@ function Gear({
|
|
|
15895
15581
|
strokeLinejoin: "round"
|
|
15896
15582
|
}
|
|
15897
15583
|
),
|
|
15898
|
-
/* @__PURE__ */
|
|
15584
|
+
/* @__PURE__ */ jsx19(
|
|
15899
15585
|
"path",
|
|
15900
15586
|
{
|
|
15901
15587
|
d: "M15 12C15 13.6569 13.6569 15 12 15C10.3431 15 9 13.6569 9 12C9 10.3431 10.3431 9 12 9C13.6569 9 15 10.3431 15 12Z",
|
|
@@ -15910,8 +15596,8 @@ function Gear({
|
|
|
15910
15596
|
case 36:
|
|
15911
15597
|
return {
|
|
15912
15598
|
viewBox: "0 0 36 36",
|
|
15913
|
-
path: /* @__PURE__ */
|
|
15914
|
-
/* @__PURE__ */
|
|
15599
|
+
path: /* @__PURE__ */ jsxs14(Fragment9, { children: [
|
|
15600
|
+
/* @__PURE__ */ jsx19(
|
|
15915
15601
|
"path",
|
|
15916
15602
|
{
|
|
15917
15603
|
d: "M15.4869 6.47596C16.1265 3.84134 19.8735 3.84135 20.5131 6.47596C20.9262 8.17789 22.8761 8.98556 24.3717 8.07427C26.6869 6.66359 29.3364 9.31305 27.9257 11.6283C27.0144 13.1239 27.8221 15.0738 29.524 15.4869C32.1587 16.1265 32.1587 19.8735 29.524 20.5131C27.8221 20.9262 27.0144 22.8761 27.9257 24.3717C29.3364 26.6869 26.6869 29.3364 24.3717 27.9257C22.8761 27.0144 20.9262 27.8221 20.5131 29.524C19.8735 32.1587 16.1265 32.1587 15.4869 29.524C15.0738 27.8221 13.1239 27.0144 11.6283 27.9257C9.31306 29.3364 6.66359 26.6869 8.07428 24.3717C8.98556 22.8761 8.17789 20.9262 6.47596 20.5131C3.84135 19.8735 3.84134 16.1265 6.47596 15.4869C8.17789 15.0738 8.98556 13.1239 8.07427 11.6283C6.66358 9.31305 9.31305 6.66358 11.6283 8.07427C13.1239 8.98556 15.0738 8.17789 15.4869 6.47596Z",
|
|
@@ -15921,7 +15607,7 @@ function Gear({
|
|
|
15921
15607
|
strokeLinejoin: "round"
|
|
15922
15608
|
}
|
|
15923
15609
|
),
|
|
15924
|
-
/* @__PURE__ */
|
|
15610
|
+
/* @__PURE__ */ jsx19(
|
|
15925
15611
|
"path",
|
|
15926
15612
|
{
|
|
15927
15613
|
d: "M22.5 18C22.5 20.4853 20.4853 22.5 18 22.5C15.5147 22.5 13.5 20.4853 13.5 18C13.5 15.5147 15.5147 13.5 18 13.5C20.4853 13.5 22.5 15.5147 22.5 18Z",
|
|
@@ -15936,7 +15622,7 @@ function Gear({
|
|
|
15936
15622
|
}
|
|
15937
15623
|
};
|
|
15938
15624
|
const { viewBox, path } = getIconData();
|
|
15939
|
-
return /* @__PURE__ */
|
|
15625
|
+
return /* @__PURE__ */ jsx19(
|
|
15940
15626
|
"svg",
|
|
15941
15627
|
{
|
|
15942
15628
|
width: size,
|
|
@@ -15950,7 +15636,7 @@ function Gear({
|
|
|
15950
15636
|
}
|
|
15951
15637
|
|
|
15952
15638
|
// src/components/atoms/icons/base_icons/Logout.tsx
|
|
15953
|
-
import { jsx as
|
|
15639
|
+
import { jsx as jsx20 } from "react/jsx-runtime";
|
|
15954
15640
|
function Logout({
|
|
15955
15641
|
size = 24,
|
|
15956
15642
|
color = "#1D1D1F",
|
|
@@ -15961,7 +15647,7 @@ function Logout({
|
|
|
15961
15647
|
case 16:
|
|
15962
15648
|
return {
|
|
15963
15649
|
viewBox: "0 0 16 16",
|
|
15964
|
-
path: /* @__PURE__ */
|
|
15650
|
+
path: /* @__PURE__ */ jsx20(
|
|
15965
15651
|
"path",
|
|
15966
15652
|
{
|
|
15967
15653
|
d: "M11.3333 10.6666L14 7.99996M14 7.99996L11.3333 5.33329M14 7.99996L4.66667 7.99996M8.66667 10.6666V11.3333C8.66667 12.4379 7.77124 13.3333 6.66667 13.3333H4C2.89543 13.3333 2 12.4379 2 11.3333V4.66663C2 3.56206 2.89543 2.66663 4 2.66663H6.66667C7.77124 2.66663 8.66667 3.56206 8.66667 4.66663V5.33329",
|
|
@@ -15975,7 +15661,7 @@ function Logout({
|
|
|
15975
15661
|
case 20:
|
|
15976
15662
|
return {
|
|
15977
15663
|
viewBox: "0 0 20 20",
|
|
15978
|
-
path: /* @__PURE__ */
|
|
15664
|
+
path: /* @__PURE__ */ jsx20(
|
|
15979
15665
|
"path",
|
|
15980
15666
|
{
|
|
15981
15667
|
d: "M14.1667 13.3334L17.5 10M17.5 10L14.1667 6.66671M17.5 10L5.83333 10M10.8333 13.3334V14.1667C10.8333 15.5474 9.71405 16.6667 8.33333 16.6667H5C3.61929 16.6667 2.5 15.5474 2.5 14.1667V5.83337C2.5 4.45266 3.61929 3.33337 5 3.33337H8.33333C9.71405 3.33337 10.8333 4.45266 10.8333 5.83337V6.66671",
|
|
@@ -15989,7 +15675,7 @@ function Logout({
|
|
|
15989
15675
|
case 24:
|
|
15990
15676
|
return {
|
|
15991
15677
|
viewBox: "0 0 24 24",
|
|
15992
|
-
path: /* @__PURE__ */
|
|
15678
|
+
path: /* @__PURE__ */ jsx20(
|
|
15993
15679
|
"path",
|
|
15994
15680
|
{
|
|
15995
15681
|
d: "M17 16L21 12M21 12L17 8M21 12L7 12M13 16V17C13 18.6569 11.6569 20 10 20H6C4.34315 20 3 18.6569 3 17V7C3 5.34315 4.34315 4 6 4H10C11.6569 4 13 5.34315 13 7V8",
|
|
@@ -16003,7 +15689,7 @@ function Logout({
|
|
|
16003
15689
|
case 36:
|
|
16004
15690
|
return {
|
|
16005
15691
|
viewBox: "0 0 36 36",
|
|
16006
|
-
path: /* @__PURE__ */
|
|
15692
|
+
path: /* @__PURE__ */ jsx20(
|
|
16007
15693
|
"path",
|
|
16008
15694
|
{
|
|
16009
15695
|
d: "M25.5 24L31.5 18M31.5 18L25.5 12M31.5 18L10.5 18M19.5 24V25.5C19.5 27.9853 17.4853 30 15 30H9C6.51472 30 4.5 27.9853 4.5 25.5V10.5C4.5 8.01472 6.51472 6 9 6H15C17.4853 6 19.5 8.01472 19.5 10.5V12",
|
|
@@ -16017,7 +15703,7 @@ function Logout({
|
|
|
16017
15703
|
}
|
|
16018
15704
|
};
|
|
16019
15705
|
const { viewBox, path } = getIconData();
|
|
16020
|
-
return /* @__PURE__ */
|
|
15706
|
+
return /* @__PURE__ */ jsx20(
|
|
16021
15707
|
"svg",
|
|
16022
15708
|
{
|
|
16023
15709
|
width: size,
|
|
@@ -16031,7 +15717,7 @@ function Logout({
|
|
|
16031
15717
|
}
|
|
16032
15718
|
|
|
16033
15719
|
// src/components/atoms/icons/base_icons/Queue.tsx
|
|
16034
|
-
import { Fragment as Fragment10, jsx as
|
|
15720
|
+
import { Fragment as Fragment10, jsx as jsx21, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
16035
15721
|
function Queue({
|
|
16036
15722
|
size = 24,
|
|
16037
15723
|
color = "#1D1D1F",
|
|
@@ -16042,8 +15728,8 @@ function Queue({
|
|
|
16042
15728
|
case 16:
|
|
16043
15729
|
return {
|
|
16044
15730
|
viewBox: "0 0 16 16",
|
|
16045
|
-
path: /* @__PURE__ */
|
|
16046
|
-
/* @__PURE__ */
|
|
15731
|
+
path: /* @__PURE__ */ jsxs15(Fragment10, { children: [
|
|
15732
|
+
/* @__PURE__ */ jsx21(
|
|
16047
15733
|
"path",
|
|
16048
15734
|
{
|
|
16049
15735
|
d: "M6.86628 11.4002H5.73294C5.10702 11.4002 4.59961 10.8928 4.59961 10.2669V5.73355C4.59961 5.10763 5.10702 4.60022 5.73294 4.60022H10.2663C10.8922 4.60022 11.3996 5.10763 11.3996 5.73355V6.86689M7.99961 13.6669H12.5329C13.1589 13.6669 13.6663 13.1595 13.6663 12.5336V8.00022C13.6663 7.3743 13.1589 6.86689 12.5329 6.86689H7.99961C7.37369 6.86689 6.86628 7.3743 6.86628 8.00022V12.5336C6.86628 13.1595 7.37369 13.6669 7.99961 13.6669Z",
|
|
@@ -16053,7 +15739,7 @@ function Queue({
|
|
|
16053
15739
|
strokeLinejoin: "round"
|
|
16054
15740
|
}
|
|
16055
15741
|
),
|
|
16056
|
-
/* @__PURE__ */
|
|
15742
|
+
/* @__PURE__ */ jsx21(
|
|
16057
15743
|
"path",
|
|
16058
15744
|
{
|
|
16059
15745
|
d: "M4.59967 9.13325H3.46634C2.84042 9.13325 2.33301 8.62584 2.33301 7.99992V3.46659C2.33301 2.84066 2.84042 2.33325 3.46634 2.33325H7.99967C8.6256 2.33325 9.13301 2.84066 9.13301 3.46659V4.59992M11.4626 6.74066L11.3997 5.73325C11.3997 5.10733 10.8923 4.59992 10.2663 4.59992H5.73301C5.10709 4.59992 4.59967 5.10733 4.59967 5.73325V10.2666C4.59967 10.8925 5.10709 11.3999 5.73301 11.3999H6.74042",
|
|
@@ -16063,7 +15749,7 @@ function Queue({
|
|
|
16063
15749
|
strokeLinejoin: "round"
|
|
16064
15750
|
}
|
|
16065
15751
|
),
|
|
16066
|
-
/* @__PURE__ */
|
|
15752
|
+
/* @__PURE__ */ jsx21(
|
|
16067
15753
|
"path",
|
|
16068
15754
|
{
|
|
16069
15755
|
d: "M6.86621 7.99918C6.86621 7.37326 7.37362 6.86584 7.99954 6.86584H12.5329C13.1588 6.86584 13.6662 7.37326 13.6662 7.99918V12.5325C13.6662 13.1584 13.1588 13.6658 12.5329 13.6658H7.99954C7.37362 13.6658 6.86621 13.1584 6.86621 12.5325V7.99918Z",
|
|
@@ -16078,8 +15764,8 @@ function Queue({
|
|
|
16078
15764
|
case 20:
|
|
16079
15765
|
return {
|
|
16080
15766
|
viewBox: "0 0 20 20",
|
|
16081
|
-
path: /* @__PURE__ */
|
|
16082
|
-
/* @__PURE__ */
|
|
15767
|
+
path: /* @__PURE__ */ jsxs15(Fragment10, { children: [
|
|
15768
|
+
/* @__PURE__ */ jsx21(
|
|
16083
15769
|
"path",
|
|
16084
15770
|
{
|
|
16085
15771
|
d: "M8.58333 14.2501H7.16667C6.38426 14.2501 5.75 13.6159 5.75 12.8335V7.16679C5.75 6.38439 6.38426 5.75012 7.16667 5.75012H12.8333C13.6157 5.75012 14.25 6.38439 14.25 7.16679V8.58346M10 17.0835H15.6667C16.4491 17.0835 17.0833 16.4492 17.0833 15.6668V10.0001C17.0833 9.21772 16.4491 8.58346 15.6667 8.58346H10C9.2176 8.58346 8.58333 9.21772 8.58333 10.0001V15.6668C8.58333 16.4492 9.2176 17.0835 10 17.0835Z",
|
|
@@ -16089,7 +15775,7 @@ function Queue({
|
|
|
16089
15775
|
strokeLinejoin: "round"
|
|
16090
15776
|
}
|
|
16091
15777
|
),
|
|
16092
|
-
/* @__PURE__ */
|
|
15778
|
+
/* @__PURE__ */ jsx21(
|
|
16093
15779
|
"path",
|
|
16094
15780
|
{
|
|
16095
15781
|
d: "M5.75033 11.4165H4.33366C3.55126 11.4165 2.91699 10.7822 2.91699 9.99984V4.33317C2.91699 3.55077 3.55126 2.9165 4.33366 2.9165H10.0003C10.7827 2.9165 11.417 3.55077 11.417 4.33317V5.74984M14.329 8.42576L14.2503 7.1665C14.2503 6.3841 13.6161 5.74984 12.8337 5.74984H7.16699C6.38459 5.74984 5.75033 6.3841 5.75033 7.1665V12.8332C5.75033 13.6156 6.38459 14.2498 7.16699 14.2498H8.42625",
|
|
@@ -16099,7 +15785,7 @@ function Queue({
|
|
|
16099
15785
|
strokeLinejoin: "round"
|
|
16100
15786
|
}
|
|
16101
15787
|
),
|
|
16102
|
-
/* @__PURE__ */
|
|
15788
|
+
/* @__PURE__ */ jsx21(
|
|
16103
15789
|
"path",
|
|
16104
15790
|
{
|
|
16105
15791
|
d: "M8.58398 9.99882C8.58398 9.21642 9.21825 8.58215 10.0007 8.58215H15.6673C16.4497 8.58215 17.084 9.21642 17.084 9.99882V15.6655C17.084 16.4479 16.4497 17.0822 15.6673 17.0822H10.0007C9.21825 17.0822 8.58398 16.4479 8.58398 15.6655V9.99882Z",
|
|
@@ -16114,8 +15800,8 @@ function Queue({
|
|
|
16114
15800
|
case 24:
|
|
16115
15801
|
return {
|
|
16116
15802
|
viewBox: "0 0 24 24",
|
|
16117
|
-
path: /* @__PURE__ */
|
|
16118
|
-
/* @__PURE__ */
|
|
15803
|
+
path: /* @__PURE__ */ jsxs15(Fragment10, { children: [
|
|
15804
|
+
/* @__PURE__ */ jsx21(
|
|
16119
15805
|
"path",
|
|
16120
15806
|
{
|
|
16121
15807
|
d: "M10.2994 17.0997H8.59941C7.66053 17.0997 6.89941 16.3385 6.89941 15.3997V8.59966C6.89941 7.66077 7.66053 6.89966 8.59941 6.89966H15.3994C16.3383 6.89966 17.0994 7.66077 17.0994 8.59966V10.2997M11.9994 20.4997H18.7994C19.7383 20.4997 20.4994 19.7385 20.4994 18.7997V11.9997C20.4994 11.0608 19.7383 10.2997 18.7994 10.2997H11.9994C11.0605 10.2997 10.2994 11.0608 10.2994 11.9997V18.7997C10.2994 19.7385 11.0605 20.4997 11.9994 20.4997Z",
|
|
@@ -16125,7 +15811,7 @@ function Queue({
|
|
|
16125
15811
|
strokeLinejoin: "round"
|
|
16126
15812
|
}
|
|
16127
15813
|
),
|
|
16128
|
-
/* @__PURE__ */
|
|
15814
|
+
/* @__PURE__ */ jsx21(
|
|
16129
15815
|
"path",
|
|
16130
15816
|
{
|
|
16131
15817
|
d: "M6.9 13.7H5.2C4.26112 13.7 3.5 12.9389 3.5 12V5.2C3.5 4.26112 4.26112 3.5 5.2 3.5H12C12.9389 3.5 13.7 4.26112 13.7 5.2V6.9M17.1944 10.1111L17.1 8.6C17.1 7.66112 16.3389 6.9 15.4 6.9H8.6C7.66112 6.9 6.9 7.66112 6.9 8.6V15.4C6.9 16.3389 7.66112 17.1 8.6 17.1H10.1111",
|
|
@@ -16135,7 +15821,7 @@ function Queue({
|
|
|
16135
15821
|
strokeLinejoin: "round"
|
|
16136
15822
|
}
|
|
16137
15823
|
),
|
|
16138
|
-
/* @__PURE__ */
|
|
15824
|
+
/* @__PURE__ */ jsx21(
|
|
16139
15825
|
"path",
|
|
16140
15826
|
{
|
|
16141
15827
|
d: "M10.2998 11.9993C10.2998 11.0604 11.0609 10.2993 11.9998 10.2993H18.7998C19.7387 10.2993 20.4998 11.0604 20.4998 11.9993V18.7993C20.4998 19.7382 19.7387 20.4993 18.7998 20.4993H11.9998C11.0609 20.4993 10.2998 19.7382 10.2998 18.7993V11.9993Z",
|
|
@@ -16150,8 +15836,8 @@ function Queue({
|
|
|
16150
15836
|
case 36:
|
|
16151
15837
|
return {
|
|
16152
15838
|
viewBox: "0 0 36 36",
|
|
16153
|
-
path: /* @__PURE__ */
|
|
16154
|
-
/* @__PURE__ */
|
|
15839
|
+
path: /* @__PURE__ */ jsxs15(Fragment10, { children: [
|
|
15840
|
+
/* @__PURE__ */ jsx21(
|
|
16155
15841
|
"path",
|
|
16156
15842
|
{
|
|
16157
15843
|
d: "M15.4496 25.6511H12.8996C11.4913 25.6511 10.3496 24.5094 10.3496 23.1011V12.9011C10.3496 11.4927 11.4913 10.3511 12.8996 10.3511H23.0996C24.5079 10.3511 25.6496 11.4927 25.6496 12.9011V15.4511M17.9996 30.7511H28.1996C29.6079 30.7511 30.7496 29.6094 30.7496 28.2011V18.0011C30.7496 16.5927 29.6079 15.4511 28.1996 15.4511H17.9996C16.5913 15.4511 15.4496 16.5927 15.4496 18.0011V28.2011C15.4496 29.6094 16.5913 30.7511 17.9996 30.7511Z",
|
|
@@ -16161,7 +15847,7 @@ function Queue({
|
|
|
16161
15847
|
strokeLinejoin: "round"
|
|
16162
15848
|
}
|
|
16163
15849
|
),
|
|
16164
|
-
/* @__PURE__ */
|
|
15850
|
+
/* @__PURE__ */ jsx21(
|
|
16165
15851
|
"path",
|
|
16166
15852
|
{
|
|
16167
15853
|
d: "M10.35 20.549H7.8C6.39167 20.549 5.25 19.4073 5.25 17.999V7.79902C5.25 6.3907 6.39167 5.24902 7.8 5.24902H18C19.4083 5.24902 20.55 6.3907 20.55 7.79902V10.349M25.7917 15.1657L25.65 12.899C25.65 11.4907 24.5083 10.349 23.1 10.349H12.9C11.4917 10.349 10.35 11.4907 10.35 12.899V23.099C10.35 24.5073 11.4917 25.649 12.9 25.649H15.1667",
|
|
@@ -16171,7 +15857,7 @@ function Queue({
|
|
|
16171
15857
|
strokeLinejoin: "round"
|
|
16172
15858
|
}
|
|
16173
15859
|
),
|
|
16174
|
-
/* @__PURE__ */
|
|
15860
|
+
/* @__PURE__ */ jsx21(
|
|
16175
15861
|
"path",
|
|
16176
15862
|
{
|
|
16177
15863
|
d: "M15.4492 17.9987C15.4492 16.5904 16.5909 15.4487 17.9992 15.4487H28.1992C29.6075 15.4487 30.7492 16.5904 30.7492 17.9987V28.1987C30.7492 29.6071 29.6075 30.7487 28.1992 30.7487H17.9992C16.5909 30.7487 15.4492 29.6071 15.4492 28.1987V17.9987Z",
|
|
@@ -16186,7 +15872,7 @@ function Queue({
|
|
|
16186
15872
|
}
|
|
16187
15873
|
};
|
|
16188
15874
|
const { viewBox, path } = getIconData();
|
|
16189
|
-
return /* @__PURE__ */
|
|
15875
|
+
return /* @__PURE__ */ jsx21(
|
|
16190
15876
|
"svg",
|
|
16191
15877
|
{
|
|
16192
15878
|
width: size,
|
|
@@ -16200,17 +15886,17 @@ function Queue({
|
|
|
16200
15886
|
}
|
|
16201
15887
|
|
|
16202
15888
|
// src/components/atoms/qtalo_logo/qtalo_logo.tsx
|
|
16203
|
-
import { jsx as
|
|
15889
|
+
import { jsx as jsx22 } from "react/jsx-runtime";
|
|
16204
15890
|
function QTLogo({ variant }) {
|
|
16205
15891
|
if (variant == "monogram") {
|
|
16206
|
-
return /* @__PURE__ */
|
|
15892
|
+
return /* @__PURE__ */ jsx22(
|
|
16207
15893
|
"svg",
|
|
16208
15894
|
{
|
|
16209
15895
|
xmlns: "http://www.w3.org/2000/svg",
|
|
16210
15896
|
width: "40",
|
|
16211
15897
|
height: "40",
|
|
16212
15898
|
viewBox: "0 0 40 40",
|
|
16213
|
-
children: /* @__PURE__ */
|
|
15899
|
+
children: /* @__PURE__ */ jsx22(
|
|
16214
15900
|
"image",
|
|
16215
15901
|
{
|
|
16216
15902
|
href: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAABApJREFUWEfNWV1SGkEQ/npXTcUnvAGeIHKCyAnUEwguIsmLeILgCcSXhL9VPIF6ArmBeoJwg1CpPEV2O9ULu7WsuzOzSCWZKl5gpvubnu6vfy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5W8NwmQFR7XuV97QAzyDQOS/t3+lbtJueTAyQjgAG3zcYWMlvJLI9MAEgT5s8CKvXCUmLF5z7GAEPl4bSKgI85/FMmBDdEuAuVp72KRHJyQJAbYNxKjRrvBnNAQhGEDxGPU/A3xIQ9PMvcsJ+Y+UVpscYtYhwKLQkH0hTV5OznD06t70w92gcAAAAAAElFTkSuQmCC",
|
|
@@ -16223,14 +15909,14 @@ function QTLogo({ variant }) {
|
|
|
16223
15909
|
}
|
|
16224
15910
|
);
|
|
16225
15911
|
} else {
|
|
16226
|
-
return /* @__PURE__ */
|
|
15912
|
+
return /* @__PURE__ */ jsx22(
|
|
16227
15913
|
"svg",
|
|
16228
15914
|
{
|
|
16229
15915
|
xmlns: "http://www.w3.org/2000/svg",
|
|
16230
15916
|
width: "140",
|
|
16231
15917
|
height: "40",
|
|
16232
15918
|
viewBox: "0 0 140 40",
|
|
16233
|
-
children: /* @__PURE__ */
|
|
15919
|
+
children: /* @__PURE__ */ jsx22(
|
|
16234
15920
|
"image",
|
|
16235
15921
|
{
|
|
16236
15922
|
href: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAVEAAABhCAYAAABve5JbAAAAAXNSR0IArs4c6QAAGHFJREFUeF7tXW+MJEd1f9W7xmcHh+O4YAnHytofHNtI8RAUJQeybgjCIUoIa8VGCUrw+PZu40hIXqT4S6To9hDhQ4jCgoRy7N0ec0ECCTswRHIkByHvKkR8CXj3AxC+4Bv5j3TKcdzEyHde70xlXl/3XO9Mz3RVvVfV1TM10uk+bHV11fvz6/devfdKQIV+jYY8eGAeasNLvrYH282muFKhrYSlBgqwUOCJ47Lek9AAgEUAeFtm0jYAbEZdWD3dFBdYXhYmyaWA8I0uCJRvmYM6CKhJCTUh4CBIOKq8TgFbIOECCLgQAWxWCWCfaMgFmIcF5b1WeGCV+OIjmVFPbpqDpgD4aOH6BJxaPytWC8eFAUYU8AJEl5fkogCoS4A6ADxgtJPJD+3059/sRdA8c0ZsW5jfeMr4ozEPK33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YSahoGFnoR20LCNup5//qYTRs09xZEswtLrI5av5UZEhAbLB/U/ELtSIAL2MgZW6FxEDMBH3Qrx1nM7UhAo8iyLUMwh99ZYNW1Y5fnnMCsCq9/hgoXK1pfrjb7StqidsTP0HL446/s7VCJPLDk0Jq7cYtDvE/ZgybXdTvUdVKeR9d/0vNl611p7rwJUccRsyvgClUhitazzwoSMbBD+tWrwlc+b39pf038W9pzs4gOvv89u6d0rS7kw3e6hPXZo8D/A0ONxI7r4VufAAAAAElFTkSuQmCC",
|
|
@@ -16246,63 +15932,63 @@ function QTLogo({ variant }) {
|
|
|
16246
15932
|
}
|
|
16247
15933
|
|
|
16248
15934
|
// src/components/molecules/buttons/nav_button/main_nav_button/main_nav_button.tsx
|
|
16249
|
-
import
|
|
16250
|
-
import { jsx as
|
|
15935
|
+
import clsx5 from "clsx";
|
|
15936
|
+
import { jsx as jsx23, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
16251
15937
|
function MainNavButton({ icon, label, active, onClick }) {
|
|
16252
|
-
return /* @__PURE__ */
|
|
15938
|
+
return /* @__PURE__ */ jsxs16(
|
|
16253
15939
|
"div",
|
|
16254
15940
|
{
|
|
16255
15941
|
className: "w-min h-min flex flex-none flex-col place-items-center gap-2",
|
|
16256
15942
|
onClick,
|
|
16257
15943
|
children: [
|
|
16258
|
-
/* @__PURE__ */
|
|
15944
|
+
/* @__PURE__ */ jsx23(
|
|
16259
15945
|
"div",
|
|
16260
15946
|
{
|
|
16261
|
-
className:
|
|
15947
|
+
className: clsx5(
|
|
16262
15948
|
"w-[44px] h-[44px] flex flex-none flex-col place-items-center place-content-center rounded-xl border-2 hover:border-qtpurple-500",
|
|
16263
15949
|
active ? "border-qtpurple-500 qt-drop-shadow-100 bg-qtpurple-200" : "border-qtpurple-300 bg-white"
|
|
16264
15950
|
),
|
|
16265
15951
|
children: icon
|
|
16266
15952
|
}
|
|
16267
15953
|
),
|
|
16268
|
-
/* @__PURE__ */
|
|
15954
|
+
/* @__PURE__ */ jsx23("div", { className: "label-3-bold text-qtpurple-500 select-none", children: label })
|
|
16269
15955
|
]
|
|
16270
15956
|
}
|
|
16271
15957
|
);
|
|
16272
15958
|
}
|
|
16273
15959
|
|
|
16274
15960
|
// src/components/organisms/nav_bar/nav_bar.tsx
|
|
16275
|
-
import { jsx as
|
|
15961
|
+
import { jsx as jsx24, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
16276
15962
|
function NavBar({ buttons = {} }) {
|
|
16277
|
-
return /* @__PURE__ */
|
|
16278
|
-
/* @__PURE__ */
|
|
16279
|
-
/* @__PURE__ */
|
|
16280
|
-
/* @__PURE__ */
|
|
15963
|
+
return /* @__PURE__ */ jsxs17("div", { className: "flex flex-col w-[66px] bg-qtneutral-100 navbar-shadow h-full py-12 place-items-center place-content-between gap-8", children: [
|
|
15964
|
+
/* @__PURE__ */ jsxs17("div", { className: "flex flex-col gap-8", children: [
|
|
15965
|
+
/* @__PURE__ */ jsx24(QTLogo, { variant: "monogram" }),
|
|
15966
|
+
/* @__PURE__ */ jsx24(
|
|
16281
15967
|
MainNavButton,
|
|
16282
15968
|
{
|
|
16283
15969
|
active: buttons.queue?.active,
|
|
16284
15970
|
label: "Queue",
|
|
16285
|
-
icon: /* @__PURE__ */
|
|
15971
|
+
icon: /* @__PURE__ */ jsx24(Queue, { color: "#6558FD" }),
|
|
16286
15972
|
onClick: buttons.queue?.onClick
|
|
16287
15973
|
}
|
|
16288
15974
|
)
|
|
16289
15975
|
] }),
|
|
16290
|
-
/* @__PURE__ */
|
|
16291
|
-
/* @__PURE__ */
|
|
15976
|
+
/* @__PURE__ */ jsxs17("div", { className: "flex flex-col gap-8", children: [
|
|
15977
|
+
/* @__PURE__ */ jsx24(
|
|
16292
15978
|
MainNavButton,
|
|
16293
15979
|
{
|
|
16294
15980
|
active: buttons.account?.active,
|
|
16295
15981
|
label: "Account",
|
|
16296
|
-
icon: /* @__PURE__ */
|
|
15982
|
+
icon: /* @__PURE__ */ jsx24(Gear, { color: "#6558FD" }),
|
|
16297
15983
|
onClick: buttons.account?.onClick
|
|
16298
15984
|
}
|
|
16299
15985
|
),
|
|
16300
|
-
/* @__PURE__ */
|
|
15986
|
+
/* @__PURE__ */ jsx24(
|
|
16301
15987
|
MainNavButton,
|
|
16302
15988
|
{
|
|
16303
15989
|
active: buttons.logout?.active,
|
|
16304
15990
|
label: "Logout",
|
|
16305
|
-
icon: /* @__PURE__ */
|
|
15991
|
+
icon: /* @__PURE__ */ jsx24(Logout, { color: "#6558FD" }),
|
|
16306
15992
|
onClick: buttons.logout?.onClick
|
|
16307
15993
|
}
|
|
16308
15994
|
)
|
|
@@ -16310,15 +15996,21 @@ function NavBar({ buttons = {} }) {
|
|
|
16310
15996
|
] });
|
|
16311
15997
|
}
|
|
16312
15998
|
|
|
16313
|
-
// src/components/
|
|
16314
|
-
import
|
|
16315
|
-
|
|
16316
|
-
|
|
15999
|
+
// src/components/molecules/checkboxes/main_checkbox/secondary_checkbox.tsx
|
|
16000
|
+
import clsx6 from "clsx";
|
|
16001
|
+
import { jsx as jsx25 } from "react/jsx-runtime";
|
|
16002
|
+
function SecondaryCheckBox({ active, onClick }) {
|
|
16003
|
+
return /* @__PURE__ */ jsx25(
|
|
16317
16004
|
"div",
|
|
16318
16005
|
{
|
|
16319
|
-
className:
|
|
16320
|
-
|
|
16321
|
-
|
|
16006
|
+
className: clsx6(
|
|
16007
|
+
"flex flex-none w-min h-min place-items-center place-content-center p-0"
|
|
16008
|
+
),
|
|
16009
|
+
onClick: (e) => {
|
|
16010
|
+
e.stopPropagation();
|
|
16011
|
+
onClick && onClick();
|
|
16012
|
+
},
|
|
16013
|
+
children: active ? /* @__PURE__ */ jsx25(CheckBox, { size: 36, fillColor: "#E8FE99" }) : /* @__PURE__ */ jsx25(CheckBoxEmpty, { size: 36, fillColor: "#FFFFFF" })
|
|
16322
16014
|
}
|
|
16323
16015
|
);
|
|
16324
16016
|
}
|
|
@@ -16330,10 +16022,10 @@ import { useEffect, useState as useState3 } from "react";
|
|
|
16330
16022
|
import clsx7 from "clsx";
|
|
16331
16023
|
|
|
16332
16024
|
// src/components/molecules/text_content/intel_row/intel_row.tsx
|
|
16333
|
-
import { jsx as
|
|
16025
|
+
import { jsx as jsx26, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
16334
16026
|
function IntelRow({ boldText, text }) {
|
|
16335
|
-
return /* @__PURE__ */
|
|
16336
|
-
/* @__PURE__ */
|
|
16027
|
+
return /* @__PURE__ */ jsx26("div", { className: "flex w-max body-small text-neutral-1 gap-2 max-w-full", children: /* @__PURE__ */ jsx26("div", { className: "flex break-words", children: /* @__PURE__ */ jsxs18("p", { children: [
|
|
16028
|
+
/* @__PURE__ */ jsxs18("strong", { className: "body-small-bold", children: [
|
|
16337
16029
|
boldText,
|
|
16338
16030
|
":"
|
|
16339
16031
|
] }),
|
|
@@ -16343,7 +16035,7 @@ function IntelRow({ boldText, text }) {
|
|
|
16343
16035
|
}
|
|
16344
16036
|
|
|
16345
16037
|
// src/components/organisms/intel_card/intel_card.tsx
|
|
16346
|
-
import { jsx as
|
|
16038
|
+
import { jsx as jsx27, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
16347
16039
|
function IntelCard({
|
|
16348
16040
|
onRead,
|
|
16349
16041
|
onSelected,
|
|
@@ -16364,7 +16056,7 @@ function IntelCard({
|
|
|
16364
16056
|
return "";
|
|
16365
16057
|
}
|
|
16366
16058
|
};
|
|
16367
|
-
return /* @__PURE__ */
|
|
16059
|
+
return /* @__PURE__ */ jsxs19(
|
|
16368
16060
|
"div",
|
|
16369
16061
|
{
|
|
16370
16062
|
className: clsx7(
|
|
@@ -16377,10 +16069,10 @@ function IntelCard({
|
|
|
16377
16069
|
reversed ? "rounded-b-2xl border-t-[2px]" : "rounded-t-2xl border-b-[2px]"
|
|
16378
16070
|
),
|
|
16379
16071
|
children: [
|
|
16380
|
-
/* @__PURE__ */
|
|
16381
|
-
/* @__PURE__ */
|
|
16382
|
-
urgency && /* @__PURE__ */
|
|
16383
|
-
/* @__PURE__ */
|
|
16072
|
+
/* @__PURE__ */ jsx27("div", { className: "flex flex-col gap-4 place-items-center" }),
|
|
16073
|
+
/* @__PURE__ */ jsxs19("div", { className: "flex flex-col gap-2 max-w-full", children: [
|
|
16074
|
+
urgency && /* @__PURE__ */ jsx27(IntelRow, { boldText: urgencyPrefix(), text: urgencyText }),
|
|
16075
|
+
/* @__PURE__ */ jsx27(IntelRow, { boldText: "Summary", text: summary })
|
|
16384
16076
|
] })
|
|
16385
16077
|
]
|
|
16386
16078
|
}
|
|
@@ -16388,7 +16080,7 @@ function IntelCard({
|
|
|
16388
16080
|
}
|
|
16389
16081
|
|
|
16390
16082
|
// src/components/organisms/emails/single_event.tsx
|
|
16391
|
-
import { Fragment as Fragment11, jsx as
|
|
16083
|
+
import { Fragment as Fragment11, jsx as jsx28, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
16392
16084
|
function SingleEvent({
|
|
16393
16085
|
urgency,
|
|
16394
16086
|
service,
|
|
@@ -16408,7 +16100,7 @@ function SingleEvent({
|
|
|
16408
16100
|
setExpanded(true);
|
|
16409
16101
|
}
|
|
16410
16102
|
}, [startExpanded]);
|
|
16411
|
-
return /* @__PURE__ */
|
|
16103
|
+
return /* @__PURE__ */ jsxs20(
|
|
16412
16104
|
"div",
|
|
16413
16105
|
{
|
|
16414
16106
|
className: "flex flex-col rounded-3xl bg-qtneutral-200 py-4 px-4 gap-4 h-min",
|
|
@@ -16418,15 +16110,15 @@ function SingleEvent({
|
|
|
16418
16110
|
}
|
|
16419
16111
|
},
|
|
16420
16112
|
children: [
|
|
16421
|
-
/* @__PURE__ */
|
|
16422
|
-
/* @__PURE__ */
|
|
16113
|
+
/* @__PURE__ */ jsxs20("div", { className: "flex gap-2 place-items-center", children: [
|
|
16114
|
+
/* @__PURE__ */ jsx28(
|
|
16423
16115
|
SecondaryCheckBox,
|
|
16424
16116
|
{
|
|
16425
16117
|
active: selected,
|
|
16426
16118
|
onClick: () => setSelected(!selected)
|
|
16427
16119
|
}
|
|
16428
16120
|
),
|
|
16429
|
-
/* @__PURE__ */
|
|
16121
|
+
/* @__PURE__ */ jsx28(
|
|
16430
16122
|
CategoryIcon,
|
|
16431
16123
|
{
|
|
16432
16124
|
size: 30,
|
|
@@ -16434,8 +16126,8 @@ function SingleEvent({
|
|
|
16434
16126
|
variant: urgency == "high" ? void 0 : urgency == "medium" ? "#FFD481" /* YELLOW */ : urgency == void 0 ? "none" /* OUTLINED */ : void 0
|
|
16435
16127
|
}
|
|
16436
16128
|
),
|
|
16437
|
-
/* @__PURE__ */
|
|
16438
|
-
/* @__PURE__ */
|
|
16129
|
+
/* @__PURE__ */ jsxs20("div", { className: "flex flex-col w-full h-min", children: [
|
|
16130
|
+
/* @__PURE__ */ jsx28(
|
|
16439
16131
|
SenderSourceRow,
|
|
16440
16132
|
{
|
|
16441
16133
|
leftText: sender,
|
|
@@ -16445,12 +16137,12 @@ function SingleEvent({
|
|
|
16445
16137
|
onClick: onExternal
|
|
16446
16138
|
}
|
|
16447
16139
|
),
|
|
16448
|
-
/* @__PURE__ */
|
|
16140
|
+
/* @__PURE__ */ jsx28(SubjectLineRow, { text: subjectLine })
|
|
16449
16141
|
] })
|
|
16450
16142
|
] }),
|
|
16451
|
-
expanded && /* @__PURE__ */
|
|
16452
|
-
/* @__PURE__ */
|
|
16453
|
-
/* @__PURE__ */
|
|
16143
|
+
expanded && /* @__PURE__ */ jsxs20(Fragment11, { children: [
|
|
16144
|
+
/* @__PURE__ */ jsxs20("div", { children: [
|
|
16145
|
+
/* @__PURE__ */ jsx28(
|
|
16454
16146
|
IntelCard,
|
|
16455
16147
|
{
|
|
16456
16148
|
urgencyText: urgencyExplanation,
|
|
@@ -16460,7 +16152,7 @@ function SingleEvent({
|
|
|
16460
16152
|
),
|
|
16461
16153
|
body
|
|
16462
16154
|
] }),
|
|
16463
|
-
/* @__PURE__ */
|
|
16155
|
+
/* @__PURE__ */ jsx28(BrandIcon, { service })
|
|
16464
16156
|
] })
|
|
16465
16157
|
]
|
|
16466
16158
|
}
|
|
@@ -16469,7 +16161,7 @@ function SingleEvent({
|
|
|
16469
16161
|
|
|
16470
16162
|
// src/components/organisms/event_card/event_card.tsx
|
|
16471
16163
|
import clsx8 from "clsx";
|
|
16472
|
-
import { Fragment as Fragment12, jsx as
|
|
16164
|
+
import { Fragment as Fragment12, jsx as jsx29, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
16473
16165
|
function EventCard({
|
|
16474
16166
|
eventType,
|
|
16475
16167
|
eventData,
|
|
@@ -16480,9 +16172,9 @@ function EventCard({
|
|
|
16480
16172
|
function getEventBody() {
|
|
16481
16173
|
switch (eventType) {
|
|
16482
16174
|
case "message" /* MESSAGE */:
|
|
16483
|
-
return eventData ? eventData[0].eventBody : /* @__PURE__ */
|
|
16175
|
+
return eventData ? eventData[0].eventBody : /* @__PURE__ */ jsx29(Fragment12, {});
|
|
16484
16176
|
case "email" /* EMAIL */:
|
|
16485
|
-
return /* @__PURE__ */
|
|
16177
|
+
return /* @__PURE__ */ jsx29(Fragment12, { children: eventData ? eventData.map((d, i) => /* @__PURE__ */ jsx29(
|
|
16486
16178
|
SingleEvent,
|
|
16487
16179
|
{
|
|
16488
16180
|
urgency: d.urgency,
|
|
@@ -16497,9 +16189,9 @@ function EventCard({
|
|
|
16497
16189
|
summary: d.summary
|
|
16498
16190
|
},
|
|
16499
16191
|
d.id
|
|
16500
|
-
)) : /* @__PURE__ */
|
|
16192
|
+
)) : /* @__PURE__ */ jsx29(Fragment12, { children: " " }) });
|
|
16501
16193
|
case "ticket" /* TICKET */:
|
|
16502
|
-
return /* @__PURE__ */
|
|
16194
|
+
return /* @__PURE__ */ jsx29(Fragment12, { children: eventData ? eventData.map((d, i) => /* @__PURE__ */ jsx29(
|
|
16503
16195
|
SingleEvent,
|
|
16504
16196
|
{
|
|
16505
16197
|
urgency: d.urgency,
|
|
@@ -16513,12 +16205,12 @@ function EventCard({
|
|
|
16513
16205
|
summary: d.summary
|
|
16514
16206
|
},
|
|
16515
16207
|
d.id
|
|
16516
|
-
)) : /* @__PURE__ */
|
|
16208
|
+
)) : /* @__PURE__ */ jsx29(Fragment12, { children: " " }) });
|
|
16517
16209
|
default:
|
|
16518
|
-
return /* @__PURE__ */
|
|
16210
|
+
return /* @__PURE__ */ jsx29(Fragment12, {});
|
|
16519
16211
|
}
|
|
16520
16212
|
}
|
|
16521
|
-
return /* @__PURE__ */
|
|
16213
|
+
return /* @__PURE__ */ jsxs21(
|
|
16522
16214
|
"div",
|
|
16523
16215
|
{
|
|
16524
16216
|
className: clsx8(
|
|
@@ -16526,8 +16218,17 @@ function EventCard({
|
|
|
16526
16218
|
eventType == "message" /* MESSAGE */ ? "bg-qtneutral-200" : "bg-white py-4 pl-4 pr-2"
|
|
16527
16219
|
),
|
|
16528
16220
|
children: [
|
|
16529
|
-
/* @__PURE__ */
|
|
16530
|
-
|
|
16221
|
+
/* @__PURE__ */ jsx29(
|
|
16222
|
+
"div",
|
|
16223
|
+
{
|
|
16224
|
+
className: clsx8(
|
|
16225
|
+
eventType == "message" /* MESSAGE */ ? "flex-col-reverse" : "flex-col",
|
|
16226
|
+
"overflow-y-auto flex gap-4 w-full"
|
|
16227
|
+
),
|
|
16228
|
+
children: getEventBody()
|
|
16229
|
+
}
|
|
16230
|
+
),
|
|
16231
|
+
eventType == "message" /* MESSAGE */ && /* @__PURE__ */ jsx29(
|
|
16531
16232
|
IntelCard,
|
|
16532
16233
|
{
|
|
16533
16234
|
urgency: groupUrgency,
|
|
@@ -16541,11 +16242,20 @@ function EventCard({
|
|
|
16541
16242
|
);
|
|
16542
16243
|
}
|
|
16543
16244
|
|
|
16245
|
+
// src/components/molecules/text_content/metadata_row/metadata_row.tsx
|
|
16246
|
+
import { jsx as jsx30, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
16247
|
+
function MetadataRow({ metadata }) {
|
|
16248
|
+
return /* @__PURE__ */ jsxs22("div", { className: "flex w-full flex-wrap break-all body-small text-neutral-900 gap-2", children: [
|
|
16249
|
+
metadata && /* @__PURE__ */ jsx30("div", { children: metadata[0] + (metadata.length == 2 ? "," : "") }),
|
|
16250
|
+
metadata?.length == 2 && /* @__PURE__ */ jsx30("div", { children: metadata[1] })
|
|
16251
|
+
] });
|
|
16252
|
+
}
|
|
16253
|
+
|
|
16544
16254
|
// src/components/organisms/message_body/email_body.tsx
|
|
16545
16255
|
import DOMPurify from "dompurify";
|
|
16546
16256
|
import ReactMarkdown from "react-markdown";
|
|
16547
16257
|
import rehypeRaw from "rehype-raw";
|
|
16548
|
-
import { jsx as
|
|
16258
|
+
import { jsx as jsx31, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
16549
16259
|
function EmailBody({
|
|
16550
16260
|
subjectLine,
|
|
16551
16261
|
to,
|
|
@@ -16557,24 +16267,24 @@ function EmailBody({
|
|
|
16557
16267
|
body
|
|
16558
16268
|
}) {
|
|
16559
16269
|
const clean = DOMPurify.sanitize(body ?? "");
|
|
16560
|
-
return /* @__PURE__ */
|
|
16561
|
-
/* @__PURE__ */
|
|
16562
|
-
/* @__PURE__ */
|
|
16563
|
-
/* @__PURE__ */
|
|
16564
|
-
/* @__PURE__ */
|
|
16565
|
-
/* @__PURE__ */
|
|
16566
|
-
/* @__PURE__ */
|
|
16567
|
-
/* @__PURE__ */
|
|
16568
|
-
/* @__PURE__ */
|
|
16270
|
+
return /* @__PURE__ */ jsxs23("div", { className: "flex flex-col gap-4 bg-white p-4 rounded-b-2xl overflow-auto", children: [
|
|
16271
|
+
/* @__PURE__ */ jsxs23("div", { className: "flex flex-col gap-0.5", children: [
|
|
16272
|
+
/* @__PURE__ */ jsx31(MetadataRow, { metadata: [`Subject: ${subjectLine}`] }),
|
|
16273
|
+
/* @__PURE__ */ jsx31(MetadataRow, { metadata: [`To: ${to}`] }),
|
|
16274
|
+
/* @__PURE__ */ jsx31(MetadataRow, { metadata: [`Date: ${date}`] }),
|
|
16275
|
+
/* @__PURE__ */ jsx31(MetadataRow, { metadata: [`From: ${from}`] }),
|
|
16276
|
+
/* @__PURE__ */ jsx31(MetadataRow, { metadata: [`CC: ${CC}`] }),
|
|
16277
|
+
/* @__PURE__ */ jsx31(MetadataRow, { metadata: [`BCC: ${BCC}`] }),
|
|
16278
|
+
/* @__PURE__ */ jsx31(MetadataRow, { metadata: [`Attachments: ${attachments}`] })
|
|
16569
16279
|
] }),
|
|
16570
|
-
/* @__PURE__ */
|
|
16571
|
-
/* @__PURE__ */
|
|
16280
|
+
/* @__PURE__ */ jsx31("hr", { className: "text-qtneutral-500" }),
|
|
16281
|
+
/* @__PURE__ */ jsx31("div", { className: "body-medium prose break-all whitespace-pre-line", children: body && /* @__PURE__ */ jsx31(
|
|
16572
16282
|
ReactMarkdown,
|
|
16573
16283
|
{
|
|
16574
16284
|
children: body,
|
|
16575
16285
|
rehypePlugins: [rehypeRaw],
|
|
16576
16286
|
components: {
|
|
16577
|
-
img: ({ node, ...props }) => /* @__PURE__ */
|
|
16287
|
+
img: ({ node, ...props }) => /* @__PURE__ */ jsx31("img", { style: { maxWidth: "100%" }, ...props })
|
|
16578
16288
|
// Apply custom components/styling
|
|
16579
16289
|
}
|
|
16580
16290
|
}
|
|
@@ -16588,11 +16298,11 @@ import { useEffect as useEffect2, useState as useState4 } from "react";
|
|
|
16588
16298
|
|
|
16589
16299
|
// src/components/atoms/emoji_pill/emoji_pill.tsx
|
|
16590
16300
|
var import_emoji_dictionary = __toESM(require_lib7());
|
|
16591
|
-
import { jsx as
|
|
16301
|
+
import { jsx as jsx32, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
16592
16302
|
function EmojiPill({ emoji, count }) {
|
|
16593
|
-
return /* @__PURE__ */
|
|
16303
|
+
return /* @__PURE__ */ jsxs24("div", { className: "flex rounded-2xl bg-qtneutral-300 w-min py-0.5 px-4 place-items-center place-content-center gap-1", children: [
|
|
16594
16304
|
emoji && import_emoji_dictionary.default.getUnicode(emoji),
|
|
16595
|
-
/* @__PURE__ */
|
|
16305
|
+
/* @__PURE__ */ jsx32("div", { className: "label-3-bold text-qtneutral-900", children: count })
|
|
16596
16306
|
] });
|
|
16597
16307
|
}
|
|
16598
16308
|
|
|
@@ -16600,22 +16310,22 @@ function EmojiPill({ emoji, count }) {
|
|
|
16600
16310
|
import clsx9 from "clsx";
|
|
16601
16311
|
import ReactMarkdown2 from "react-markdown";
|
|
16602
16312
|
import remarkGfm from "remark-gfm";
|
|
16603
|
-
import { jsx as
|
|
16313
|
+
import { jsx as jsx33 } from "react/jsx-runtime";
|
|
16604
16314
|
function MarkdownRenderer({ content, truncated }) {
|
|
16605
|
-
return /* @__PURE__ */
|
|
16315
|
+
return /* @__PURE__ */ jsx33(
|
|
16606
16316
|
"div",
|
|
16607
16317
|
{
|
|
16608
16318
|
className: clsx9(
|
|
16609
16319
|
"flex flex-col markdown break-all",
|
|
16610
16320
|
truncated && "line-clamp-3"
|
|
16611
16321
|
),
|
|
16612
|
-
children: /* @__PURE__ */
|
|
16322
|
+
children: /* @__PURE__ */ jsx33(ReactMarkdown2, { remarkPlugins: [remarkGfm], children: content })
|
|
16613
16323
|
}
|
|
16614
16324
|
);
|
|
16615
16325
|
}
|
|
16616
16326
|
|
|
16617
16327
|
// src/components/organisms/chat_messages/chat_bubble/chat_bubble.tsx
|
|
16618
|
-
import { jsx as
|
|
16328
|
+
import { jsx as jsx34, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
16619
16329
|
function ChatBubble({
|
|
16620
16330
|
summary,
|
|
16621
16331
|
text,
|
|
@@ -16645,7 +16355,7 @@ function ChatBubble({
|
|
|
16645
16355
|
setUniqueEmojis(ue);
|
|
16646
16356
|
}
|
|
16647
16357
|
}, [emojis]);
|
|
16648
|
-
return /* @__PURE__ */
|
|
16358
|
+
return /* @__PURE__ */ jsx34("div", { className: clsx10(outbound ? "pl-8" : "pr-8"), children: /* @__PURE__ */ jsxs25(
|
|
16649
16359
|
"div",
|
|
16650
16360
|
{
|
|
16651
16361
|
className: clsx10(
|
|
@@ -16654,29 +16364,29 @@ function ChatBubble({
|
|
|
16654
16364
|
outbound ? "rounded-bl-3xl" : "rounded-br-3xl"
|
|
16655
16365
|
),
|
|
16656
16366
|
children: [
|
|
16657
|
-
/* @__PURE__ */
|
|
16658
|
-
/* @__PURE__ */
|
|
16659
|
-
/* @__PURE__ */
|
|
16660
|
-
/* @__PURE__ */
|
|
16367
|
+
/* @__PURE__ */ jsxs25("div", { className: "flex place-content-between", children: [
|
|
16368
|
+
/* @__PURE__ */ jsxs25("div", { className: "flex gap-2 place-items-center", children: [
|
|
16369
|
+
/* @__PURE__ */ jsx34("div", { className: "body-small-bold", children: name }),
|
|
16370
|
+
/* @__PURE__ */ jsx34("div", { className: "text-qtneutral-700 label-3", children: timestamp })
|
|
16661
16371
|
] }),
|
|
16662
|
-
/* @__PURE__ */
|
|
16372
|
+
/* @__PURE__ */ jsx34("div", { onClick: onExternal, children: /* @__PURE__ */ jsx34(ExternalLink, { size: 16 }) })
|
|
16663
16373
|
] }),
|
|
16664
|
-
/* @__PURE__ */
|
|
16665
|
-
summary && truncatedText && /* @__PURE__ */
|
|
16666
|
-
/* @__PURE__ */
|
|
16667
|
-
/* @__PURE__ */
|
|
16374
|
+
/* @__PURE__ */ jsxs25("div", { className: clsx10("flex flex-col gap-2", !expanded && " "), children: [
|
|
16375
|
+
summary && truncatedText && /* @__PURE__ */ jsxs25("div", { children: [
|
|
16376
|
+
/* @__PURE__ */ jsxs25("p", { className: "body-small mb-2", children: [
|
|
16377
|
+
/* @__PURE__ */ jsx34("strong", { className: "body-small-bold", children: "Summary:" }),
|
|
16668
16378
|
" ",
|
|
16669
16379
|
summary
|
|
16670
16380
|
] }),
|
|
16671
|
-
/* @__PURE__ */
|
|
16381
|
+
/* @__PURE__ */ jsx34("hr", { className: "border-qtneutral-500" })
|
|
16672
16382
|
] }),
|
|
16673
|
-
/* @__PURE__ */
|
|
16383
|
+
/* @__PURE__ */ jsx34(
|
|
16674
16384
|
"div",
|
|
16675
16385
|
{
|
|
16676
16386
|
className: clsx10(
|
|
16677
16387
|
"flex flex-none text-qtneutral-900 body-medium w-full"
|
|
16678
16388
|
),
|
|
16679
|
-
children: /* @__PURE__ */
|
|
16389
|
+
children: /* @__PURE__ */ jsx34(
|
|
16680
16390
|
MarkdownRenderer,
|
|
16681
16391
|
{
|
|
16682
16392
|
content: text || "",
|
|
@@ -16686,7 +16396,7 @@ function ChatBubble({
|
|
|
16686
16396
|
}
|
|
16687
16397
|
)
|
|
16688
16398
|
] }),
|
|
16689
|
-
truncatedText && /* @__PURE__ */
|
|
16399
|
+
truncatedText && /* @__PURE__ */ jsx34(
|
|
16690
16400
|
"div",
|
|
16691
16401
|
{
|
|
16692
16402
|
className: "qt-link select-none",
|
|
@@ -16694,9 +16404,9 @@ function ChatBubble({
|
|
|
16694
16404
|
children: `${!expanded ? "Show" : "Hide"} full message`
|
|
16695
16405
|
}
|
|
16696
16406
|
),
|
|
16697
|
-
image && /* @__PURE__ */
|
|
16698
|
-
/* @__PURE__ */
|
|
16699
|
-
/* @__PURE__ */
|
|
16407
|
+
image && /* @__PURE__ */ jsx34("img", { src: image, alt: "", className: "rounded-xl" }),
|
|
16408
|
+
/* @__PURE__ */ jsxs25("div", { className: "flex gap-2", children: [
|
|
16409
|
+
/* @__PURE__ */ jsx34(
|
|
16700
16410
|
"div",
|
|
16701
16411
|
{
|
|
16702
16412
|
className: clsx10(
|
|
@@ -16706,7 +16416,7 @@ function ChatBubble({
|
|
|
16706
16416
|
children: name ? name[0].toUpperCase() : ""
|
|
16707
16417
|
}
|
|
16708
16418
|
),
|
|
16709
|
-
uniqueEmojis.entries().map(([e, c]) => /* @__PURE__ */
|
|
16419
|
+
uniqueEmojis.entries().map(([e, c]) => /* @__PURE__ */ jsx34(EmojiPill, { emoji: e, count: c }))
|
|
16710
16420
|
] })
|
|
16711
16421
|
]
|
|
16712
16422
|
}
|
|
@@ -16714,10 +16424,10 @@ function ChatBubble({
|
|
|
16714
16424
|
}
|
|
16715
16425
|
|
|
16716
16426
|
// src/components/organisms/message_body/chat_body.tsx
|
|
16717
|
-
import { jsx as
|
|
16427
|
+
import { jsx as jsx35 } from "react/jsx-runtime";
|
|
16718
16428
|
function ChatBody({ messages }) {
|
|
16719
|
-
return /* @__PURE__ */
|
|
16720
|
-
return /* @__PURE__ */
|
|
16429
|
+
return /* @__PURE__ */ jsx35("div", { className: "p-4 rounded-2xl w-full", children: /* @__PURE__ */ jsx35("div", { className: "flex flex-col place-content-center gap-4", children: messages && messages.map((msg) => {
|
|
16430
|
+
return /* @__PURE__ */ jsx35(
|
|
16721
16431
|
ChatBubble,
|
|
16722
16432
|
{
|
|
16723
16433
|
summary: msg.summary,
|
|
@@ -16736,7 +16446,7 @@ function ChatBody({ messages }) {
|
|
|
16736
16446
|
|
|
16737
16447
|
// src/components/organisms/message_body/ticket_body.tsx
|
|
16738
16448
|
import clsx11 from "clsx";
|
|
16739
|
-
import { jsx as
|
|
16449
|
+
import { jsx as jsx36, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
16740
16450
|
function TicketBody({
|
|
16741
16451
|
issueNumber,
|
|
16742
16452
|
notification,
|
|
@@ -16752,53 +16462,53 @@ function TicketBody({
|
|
|
16752
16462
|
description,
|
|
16753
16463
|
comments
|
|
16754
16464
|
}) {
|
|
16755
|
-
return /* @__PURE__ */
|
|
16756
|
-
/* @__PURE__ */
|
|
16757
|
-
/* @__PURE__ */
|
|
16758
|
-
/* @__PURE__ */
|
|
16759
|
-
/* @__PURE__ */
|
|
16760
|
-
/* @__PURE__ */
|
|
16465
|
+
return /* @__PURE__ */ jsxs26("div", { className: "flex flex-col gap-4 bg-white p-4 rounded-b-2xl max-w-full", children: [
|
|
16466
|
+
/* @__PURE__ */ jsxs26("div", { className: "flex flex-col gap-0.5", children: [
|
|
16467
|
+
/* @__PURE__ */ jsx36(MetadataRow, { metadata: [`Issue: ${issueNumber}`] }),
|
|
16468
|
+
/* @__PURE__ */ jsx36(MetadataRow, { metadata: [`Notification: ${notification}`] }),
|
|
16469
|
+
/* @__PURE__ */ jsx36(MetadataRow, { metadata: [`Project: ${project}`] }),
|
|
16470
|
+
/* @__PURE__ */ jsx36(MetadataRow, { metadata: [`Task: ${task}`] })
|
|
16761
16471
|
] }),
|
|
16762
|
-
/* @__PURE__ */
|
|
16763
|
-
/* @__PURE__ */
|
|
16764
|
-
/* @__PURE__ */
|
|
16765
|
-
/* @__PURE__ */
|
|
16766
|
-
/* @__PURE__ */
|
|
16767
|
-
/* @__PURE__ */
|
|
16768
|
-
/* @__PURE__ */
|
|
16769
|
-
/* @__PURE__ */
|
|
16770
|
-
/* @__PURE__ */
|
|
16771
|
-
/* @__PURE__ */
|
|
16772
|
-
/* @__PURE__ */
|
|
16773
|
-
/* @__PURE__ */
|
|
16472
|
+
/* @__PURE__ */ jsx36("hr", { className: "text-qtneutral-500" }),
|
|
16473
|
+
/* @__PURE__ */ jsx36("div", { className: "body-bold", children: "Issue" }),
|
|
16474
|
+
/* @__PURE__ */ jsxs26("div", { className: "grid grid-cols-2 gap-4 body-small", children: [
|
|
16475
|
+
/* @__PURE__ */ jsxs26("div", { className: "", children: [
|
|
16476
|
+
/* @__PURE__ */ jsx36("div", { children: "Due Date: " }),
|
|
16477
|
+
/* @__PURE__ */ jsx36("div", { children: "Start Date: " }),
|
|
16478
|
+
/* @__PURE__ */ jsx36("div", { children: "Assignees: " }),
|
|
16479
|
+
/* @__PURE__ */ jsx36("div", { children: "Reporter: " }),
|
|
16480
|
+
/* @__PURE__ */ jsx36("div", { children: "Team: " }),
|
|
16481
|
+
/* @__PURE__ */ jsx36("div", { children: "Location: " }),
|
|
16482
|
+
/* @__PURE__ */ jsx36("div", { children: "Related: " }),
|
|
16483
|
+
/* @__PURE__ */ jsx36("div", { children: "Description: " })
|
|
16774
16484
|
] }),
|
|
16775
|
-
/* @__PURE__ */
|
|
16776
|
-
/* @__PURE__ */
|
|
16777
|
-
/* @__PURE__ */
|
|
16778
|
-
/* @__PURE__ */
|
|
16779
|
-
/* @__PURE__ */
|
|
16780
|
-
/* @__PURE__ */
|
|
16781
|
-
/* @__PURE__ */
|
|
16782
|
-
/* @__PURE__ */
|
|
16783
|
-
/* @__PURE__ */
|
|
16485
|
+
/* @__PURE__ */ jsxs26("div", { className: "", children: [
|
|
16486
|
+
/* @__PURE__ */ jsx36("div", { children: dueDate || "None" }),
|
|
16487
|
+
/* @__PURE__ */ jsx36("div", { children: startDate || "None" }),
|
|
16488
|
+
/* @__PURE__ */ jsx36("div", { children: assignees || "None" }),
|
|
16489
|
+
/* @__PURE__ */ jsx36("div", { children: reporter || "None" }),
|
|
16490
|
+
/* @__PURE__ */ jsx36("div", { children: team || "None" }),
|
|
16491
|
+
/* @__PURE__ */ jsx36("div", { children: location || "None" }),
|
|
16492
|
+
/* @__PURE__ */ jsx36("div", { children: related || "None" }),
|
|
16493
|
+
/* @__PURE__ */ jsx36("div", { children: description || "None" })
|
|
16784
16494
|
] }),
|
|
16785
16495
|
comments && comments.map((c, i) => {
|
|
16786
|
-
return /* @__PURE__ */
|
|
16787
|
-
/* @__PURE__ */
|
|
16788
|
-
/* @__PURE__ */
|
|
16789
|
-
/* @__PURE__ */
|
|
16496
|
+
return /* @__PURE__ */ jsxs26("div", { className: "flex col-span-2 flex-col gap-2 w-full", children: [
|
|
16497
|
+
/* @__PURE__ */ jsx36("hr", { className: "text-qtneutral-500" }),
|
|
16498
|
+
/* @__PURE__ */ jsx36("div", { className: `${i == 0 ? "body-bold" : "body "}`, children: `${i == 0 ? "New" : ""} Comment` }),
|
|
16499
|
+
/* @__PURE__ */ jsxs26(
|
|
16790
16500
|
"div",
|
|
16791
16501
|
{
|
|
16792
16502
|
className: `flex gap-2 ${i == 0 ? "body-small-bold" : "body-small"}`,
|
|
16793
16503
|
children: [
|
|
16794
|
-
/* @__PURE__ */
|
|
16795
|
-
/* @__PURE__ */
|
|
16504
|
+
/* @__PURE__ */ jsx36("div", { children: c.name }),
|
|
16505
|
+
/* @__PURE__ */ jsx36("div", { children: c.timestamp })
|
|
16796
16506
|
]
|
|
16797
16507
|
}
|
|
16798
16508
|
),
|
|
16799
|
-
/* @__PURE__ */
|
|
16800
|
-
/* @__PURE__ */
|
|
16801
|
-
/* @__PURE__ */
|
|
16509
|
+
/* @__PURE__ */ jsx36("div", { children: c.text }),
|
|
16510
|
+
/* @__PURE__ */ jsxs26("div", { className: "flex gap-2", children: [
|
|
16511
|
+
/* @__PURE__ */ jsx36(
|
|
16802
16512
|
"div",
|
|
16803
16513
|
{
|
|
16804
16514
|
className: clsx11(
|
|
@@ -16811,7 +16521,7 @@ function TicketBody({
|
|
|
16811
16521
|
acc.set(str, (acc.get(str) || 0) + 1);
|
|
16812
16522
|
return acc;
|
|
16813
16523
|
}, /* @__PURE__ */ new Map()).entries().map(([e, c2]) => {
|
|
16814
|
-
return /* @__PURE__ */
|
|
16524
|
+
return /* @__PURE__ */ jsx36(EmojiPill, { emoji: e, count: c2 });
|
|
16815
16525
|
})
|
|
16816
16526
|
] })
|
|
16817
16527
|
] });
|
|
@@ -16821,7 +16531,7 @@ function TicketBody({
|
|
|
16821
16531
|
}
|
|
16822
16532
|
|
|
16823
16533
|
// src/components/atoms/icons/base_icons/CircleX.tsx
|
|
16824
|
-
import { jsx as
|
|
16534
|
+
import { jsx as jsx37 } from "react/jsx-runtime";
|
|
16825
16535
|
function CircleX({
|
|
16826
16536
|
size = 24,
|
|
16827
16537
|
color = "#1D1D1F",
|
|
@@ -16832,27 +16542,27 @@ function CircleX({
|
|
|
16832
16542
|
case 16:
|
|
16833
16543
|
return {
|
|
16834
16544
|
viewBox: "0 0 16 16",
|
|
16835
|
-
path: /* @__PURE__ */
|
|
16545
|
+
path: /* @__PURE__ */ jsx37("path", { d: "M6.66667 9.33333L8 8M8 8L9.33333 6.66667M8 8L6.66667 6.66667M8 8L9.33333 9.33333M14 8C14 8.78793 13.8448 9.56815 13.5433 10.2961C13.2417 11.0241 12.7998 11.6855 12.2426 12.2426C11.6855 12.7998 11.0241 13.2417 10.2961 13.5433C9.56815 13.8448 8.78793 14 8 14C7.21207 14 6.43185 13.8448 5.7039 13.5433C4.97595 13.2417 4.31451 12.7998 3.75736 12.2426C3.20021 11.6855 2.75825 11.0241 2.45672 10.2961C2.15519 9.56815 2 8.78793 2 8C2 6.4087 2.63214 4.88258 3.75736 3.75736C4.88258 2.63214 6.4087 2 8 2C9.5913 2 11.1174 2.63214 12.2426 3.75736C13.3679 4.88258 14 6.4087 14 8Z", stroke: color, "stroke-width": "1.25", "stroke-linecap": "round", "stroke-linejoin": "round" })
|
|
16836
16546
|
};
|
|
16837
16547
|
case 20:
|
|
16838
16548
|
return {
|
|
16839
16549
|
viewBox: "0 0 20 20",
|
|
16840
|
-
path: /* @__PURE__ */
|
|
16550
|
+
path: /* @__PURE__ */ jsx37("path", { d: "M8.33333 11.6667L10 10M10 10L11.6667 8.33333M10 10L8.33333 8.33333M10 10L11.6667 11.6667M17.5 10C17.5 10.9849 17.306 11.9602 16.9291 12.8701C16.5522 13.7801 15.9997 14.6069 15.3033 15.3033C14.6069 15.9997 13.7801 16.5522 12.8701 16.9291C11.9602 17.306 10.9849 17.5 10 17.5C9.01509 17.5 8.03982 17.306 7.12987 16.9291C6.21993 16.5522 5.39314 15.9997 4.6967 15.3033C4.00026 14.6069 3.44781 13.7801 3.0709 12.8701C2.69399 11.9602 2.5 10.9849 2.5 10C2.5 8.01088 3.29018 6.10322 4.6967 4.6967C6.10322 3.29018 8.01088 2.5 10 2.5C11.9891 2.5 13.8968 3.29018 15.3033 4.6967C16.7098 6.10322 17.5 8.01088 17.5 10Z", stroke: color, "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })
|
|
16841
16551
|
};
|
|
16842
16552
|
case 24:
|
|
16843
16553
|
return {
|
|
16844
16554
|
viewBox: "0 0 24 24",
|
|
16845
|
-
path: /* @__PURE__ */
|
|
16555
|
+
path: /* @__PURE__ */ jsx37("path", { d: "M10 14L12 12M12 12L14 10M12 12L10 10M12 12L14 14M21 12C21 13.1819 20.7672 14.3522 20.3149 15.4442C19.8626 16.5361 19.1997 17.5282 18.364 18.364C17.5282 19.1997 16.5361 19.8626 15.4442 20.3149C14.3522 20.7672 13.1819 21 12 21C10.8181 21 9.64778 20.7672 8.55585 20.3149C7.46392 19.8626 6.47177 19.1997 5.63604 18.364C4.80031 17.5282 4.13738 16.5361 3.68508 15.4442C3.23279 14.3522 3 13.1819 3 12C3 9.61305 3.94821 7.32387 5.63604 5.63604C7.32387 3.94821 9.61305 3 12 3C14.3869 3 16.6761 3.94821 18.364 5.63604C20.0518 7.32387 21 9.61305 21 12Z", stroke: color, "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" })
|
|
16846
16556
|
};
|
|
16847
16557
|
case 36:
|
|
16848
16558
|
return {
|
|
16849
16559
|
viewBox: "0 0 36 36",
|
|
16850
|
-
path: /* @__PURE__ */
|
|
16560
|
+
path: /* @__PURE__ */ jsx37("path", { d: "M15 21L18 18M18 18L21 15M18 18L15 15M18 18L21 21M31.5 18C31.5 19.7728 31.1508 21.5283 30.4724 23.1662C29.7939 24.8041 28.7995 26.2923 27.5459 27.5459C26.2923 28.7995 24.8041 29.7939 23.1662 30.4724C21.5283 31.1508 19.7728 31.5 18 31.5C16.2272 31.5 14.4717 31.1508 12.8338 30.4724C11.1959 29.7939 9.70765 28.7995 8.45406 27.5459C7.20047 26.2923 6.20606 24.8041 5.52763 23.1662C4.84919 21.5283 4.5 19.7728 4.5 18C4.5 14.4196 5.92232 10.9858 8.45406 8.45406C10.9858 5.92232 14.4196 4.5 18 4.5C21.5804 4.5 25.0142 5.92232 27.5459 8.45406C30.0777 10.9858 31.5 14.4196 31.5 18Z", stroke: color, "stroke-width": "2.25", "stroke-linecap": "round", "stroke-linejoin": "round" })
|
|
16851
16561
|
};
|
|
16852
16562
|
}
|
|
16853
16563
|
};
|
|
16854
16564
|
const { viewBox, path } = getIconData();
|
|
16855
|
-
return /* @__PURE__ */
|
|
16565
|
+
return /* @__PURE__ */ jsx37(
|
|
16856
16566
|
"svg",
|
|
16857
16567
|
{
|
|
16858
16568
|
width: size,
|
|
@@ -16866,7 +16576,7 @@ function CircleX({
|
|
|
16866
16576
|
}
|
|
16867
16577
|
|
|
16868
16578
|
// src/components/atoms/icons/base_icons/Loading.tsx
|
|
16869
|
-
import { Fragment as Fragment13, jsx as
|
|
16579
|
+
import { Fragment as Fragment13, jsx as jsx38, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
16870
16580
|
function Loading({
|
|
16871
16581
|
size = 24,
|
|
16872
16582
|
color = "#1D1D1F",
|
|
@@ -16877,8 +16587,8 @@ function Loading({
|
|
|
16877
16587
|
case 16:
|
|
16878
16588
|
return {
|
|
16879
16589
|
viewBox: "0 0 16 16",
|
|
16880
|
-
path: /* @__PURE__ */
|
|
16881
|
-
/* @__PURE__ */
|
|
16590
|
+
path: /* @__PURE__ */ jsxs27(Fragment13, { children: [
|
|
16591
|
+
/* @__PURE__ */ jsx38(
|
|
16882
16592
|
"path",
|
|
16883
16593
|
{
|
|
16884
16594
|
d: "M11.4209 4.85221C10.466 3.81296 9.13351 3.19329 7.72528 3.13377C6.31705 3.07424 4.93704 3.57926 3.89779 4.53422C2.85854 5.48917 2.23887 6.82165 2.17935 8.22988C2.11983 9.63811 2.62485 11.0181 3.5798 12.0574C4.05501 12.5745 4.62461 12.9868 5.26063 13.2835C5.89665 13.5802 6.581 13.7417 7.28038 13.7713C7.97977 13.8008 8.68023 13.6932 9.33409 13.4557C9.99289 13.2137 10.5952 12.851 11.1124 12.3758C11.6296 11.9005 12.0418 11.3309 12.3385 10.6949C12.6353 10.0589 12.7968 9.37456 12.8263 8.67517",
|
|
@@ -16888,7 +16598,7 @@ function Loading({
|
|
|
16888
16598
|
"stroke-linejoin": "round"
|
|
16889
16599
|
}
|
|
16890
16600
|
),
|
|
16891
|
-
/* @__PURE__ */
|
|
16601
|
+
/* @__PURE__ */ jsx38(
|
|
16892
16602
|
"path",
|
|
16893
16603
|
{
|
|
16894
16604
|
d: "M10.4362 5.7666L12.3556 5.49268L12.0771 3.56836",
|
|
@@ -16903,8 +16613,8 @@ function Loading({
|
|
|
16903
16613
|
case 20:
|
|
16904
16614
|
return {
|
|
16905
16615
|
viewBox: "0 0 20 20",
|
|
16906
|
-
path: /* @__PURE__ */
|
|
16907
|
-
/* @__PURE__ */
|
|
16616
|
+
path: /* @__PURE__ */ jsxs27(Fragment13, { children: [
|
|
16617
|
+
/* @__PURE__ */ jsx38(
|
|
16908
16618
|
"path",
|
|
16909
16619
|
{
|
|
16910
16620
|
d: "M14.2757 6.06538C13.082 4.76633 11.4164 3.99174 9.65611 3.91733C7.89583 3.84293 6.17081 4.4742 4.87175 5.6679C3.57269 6.86159 2.7981 8.52718 2.7237 10.2875C2.64929 12.0478 3.28057 13.7728 4.47426 15.0718C5.06828 15.7183 5.78027 16.2336 6.5753 16.6045C7.37033 16.9754 8.22576 17.1773 9.09999 17.2142C9.97423 17.2512 10.8498 17.1166 11.6671 16.8197C12.4906 16.5172 13.2436 16.0638 13.89 15.4698C14.5365 14.8758 15.0518 14.1638 15.4227 13.3688C15.7936 12.5738 15.9955 11.7183 16.0324 10.8441",
|
|
@@ -16914,7 +16624,7 @@ function Loading({
|
|
|
16914
16624
|
"stroke-linejoin": "round"
|
|
16915
16625
|
}
|
|
16916
16626
|
),
|
|
16917
|
-
/* @__PURE__ */
|
|
16627
|
+
/* @__PURE__ */ jsx38(
|
|
16918
16628
|
"path",
|
|
16919
16629
|
{
|
|
16920
16630
|
d: "M13.0445 7.20838L15.4438 6.86597L15.0957 4.46057",
|
|
@@ -16929,8 +16639,8 @@ function Loading({
|
|
|
16929
16639
|
case 24:
|
|
16930
16640
|
return {
|
|
16931
16641
|
viewBox: "0 0 24 24",
|
|
16932
|
-
path: /* @__PURE__ */
|
|
16933
|
-
/* @__PURE__ */
|
|
16642
|
+
path: /* @__PURE__ */ jsxs27(Fragment13, { children: [
|
|
16643
|
+
/* @__PURE__ */ jsx38(
|
|
16934
16644
|
"path",
|
|
16935
16645
|
{
|
|
16936
16646
|
d: "M17.1304 7.27831C15.698 5.71944 13.6993 4.78994 11.5869 4.70065C9.4746 4.61137 7.40458 5.3689 5.84571 6.80133C4.28684 8.23376 3.35733 10.2325 3.26805 12.3448C3.17876 14.4572 3.93629 16.5272 5.36872 18.086C6.08155 18.8618 6.93594 19.4802 7.88997 19.9253C8.844 20.3704 9.87052 20.6126 10.9196 20.6569C11.9687 20.7013 13.0194 20.5397 14.0002 20.1835C14.9884 19.8206 15.8919 19.2765 16.6676 18.5636C17.4434 17.8508 18.0618 16.9964 18.5068 16.0424C18.9519 15.0884 19.1942 14.0618 19.2385 13.0128",
|
|
@@ -16940,7 +16650,7 @@ function Loading({
|
|
|
16940
16650
|
"stroke-linejoin": "round"
|
|
16941
16651
|
}
|
|
16942
16652
|
),
|
|
16943
|
-
/* @__PURE__ */
|
|
16653
|
+
/* @__PURE__ */ jsx38(
|
|
16944
16654
|
"path",
|
|
16945
16655
|
{
|
|
16946
16656
|
d: "M15.6528 8.65003L18.5319 8.23914L18.1143 5.35266",
|
|
@@ -16955,8 +16665,8 @@ function Loading({
|
|
|
16955
16665
|
case 36:
|
|
16956
16666
|
return {
|
|
16957
16667
|
viewBox: "0 0 36 36",
|
|
16958
|
-
path: /* @__PURE__ */
|
|
16959
|
-
/* @__PURE__ */
|
|
16668
|
+
path: /* @__PURE__ */ jsxs27(Fragment13, { children: [
|
|
16669
|
+
/* @__PURE__ */ jsx38(
|
|
16960
16670
|
"path",
|
|
16961
16671
|
{
|
|
16962
16672
|
d: "M25.6966 10.9176C23.548 8.57929 20.5499 7.18503 17.3814 7.0511C14.2129 6.91717 11.1078 8.05347 8.76954 10.2021C6.43124 12.3508 5.03697 15.3488 4.90305 18.5173C4.76912 21.6859 5.90541 24.7909 8.05406 27.1292C9.1233 28.2928 10.4049 29.2204 11.8359 29.888C13.267 30.5557 14.8068 30.919 16.3804 30.9855C17.954 31.052 19.53 30.8097 21.0012 30.2754C22.4835 29.7309 23.8388 28.9148 25.0024 27.8456C26.166 26.7763 27.0936 25.4948 27.7612 24.0637C28.4289 22.6327 28.7922 21.0929 28.8587 19.5193",
|
|
@@ -16966,7 +16676,7 @@ function Loading({
|
|
|
16966
16676
|
"stroke-linejoin": "round"
|
|
16967
16677
|
}
|
|
16968
16678
|
),
|
|
16969
|
-
/* @__PURE__ */
|
|
16679
|
+
/* @__PURE__ */ jsx38(
|
|
16970
16680
|
"path",
|
|
16971
16681
|
{
|
|
16972
16682
|
d: "M23.4797 12.975L27.7984 12.3587L27.1719 8.02893",
|
|
@@ -16981,7 +16691,7 @@ function Loading({
|
|
|
16981
16691
|
}
|
|
16982
16692
|
};
|
|
16983
16693
|
const { viewBox, path } = getIconData();
|
|
16984
|
-
return /* @__PURE__ */
|
|
16694
|
+
return /* @__PURE__ */ jsx38(
|
|
16985
16695
|
"svg",
|
|
16986
16696
|
{
|
|
16987
16697
|
width: size,
|
|
@@ -16995,7 +16705,7 @@ function Loading({
|
|
|
16995
16705
|
}
|
|
16996
16706
|
|
|
16997
16707
|
// src/components/atoms/icons/base_icons/Search.tsx
|
|
16998
|
-
import { jsx as
|
|
16708
|
+
import { jsx as jsx39 } from "react/jsx-runtime";
|
|
16999
16709
|
function Search({
|
|
17000
16710
|
size = 24,
|
|
17001
16711
|
color = "#1D1D1F",
|
|
@@ -17006,7 +16716,7 @@ function Search({
|
|
|
17006
16716
|
case 16:
|
|
17007
16717
|
return {
|
|
17008
16718
|
viewBox: "0 0 16 16",
|
|
17009
|
-
path: /* @__PURE__ */
|
|
16719
|
+
path: /* @__PURE__ */ jsx39(
|
|
17010
16720
|
"path",
|
|
17011
16721
|
{
|
|
17012
16722
|
d: "M14 14L10 10M11.3333 6.66667C11.3333 9.244 9.244 11.3333 6.66667 11.3333C4.08934 11.3333 2 9.244 2 6.66667C2 4.08934 4.08934 2 6.66667 2C9.244 2 11.3333 4.08934 11.3333 6.66667Z",
|
|
@@ -17020,7 +16730,7 @@ function Search({
|
|
|
17020
16730
|
case 20:
|
|
17021
16731
|
return {
|
|
17022
16732
|
viewBox: "0 0 20 20",
|
|
17023
|
-
path: /* @__PURE__ */
|
|
16733
|
+
path: /* @__PURE__ */ jsx39(
|
|
17024
16734
|
"path",
|
|
17025
16735
|
{
|
|
17026
16736
|
d: "M17.5 17.5L12.5 12.5M14.1667 8.33333C14.1667 11.555 11.555 14.1667 8.33333 14.1667C5.11167 14.1667 2.5 11.555 2.5 8.33333C2.5 5.11167 5.11167 2.5 8.33333 2.5C11.555 2.5 14.1667 5.11167 14.1667 8.33333Z",
|
|
@@ -17034,7 +16744,7 @@ function Search({
|
|
|
17034
16744
|
case 24:
|
|
17035
16745
|
return {
|
|
17036
16746
|
viewBox: "0 0 24 24",
|
|
17037
|
-
path: /* @__PURE__ */
|
|
16747
|
+
path: /* @__PURE__ */ jsx39(
|
|
17038
16748
|
"path",
|
|
17039
16749
|
{
|
|
17040
16750
|
d: "M21 21L15 15M17 10C17 13.866 13.866 17 10 17C6.13401 17 3 13.866 3 10C3 6.13401 6.13401 3 10 3C13.866 3 17 6.13401 17 10Z",
|
|
@@ -17048,7 +16758,7 @@ function Search({
|
|
|
17048
16758
|
case 36:
|
|
17049
16759
|
return {
|
|
17050
16760
|
viewBox: "0 0 36 36",
|
|
17051
|
-
path: /* @__PURE__ */
|
|
16761
|
+
path: /* @__PURE__ */ jsx39(
|
|
17052
16762
|
"path",
|
|
17053
16763
|
{
|
|
17054
16764
|
d: "M31.5 31.5L22.5 22.5M25.5 15C25.5 20.799 20.799 25.5 15 25.5C9.20101 25.5 4.5 20.799 4.5 15C4.5 9.20101 9.20101 4.5 15 4.5C20.799 4.5 25.5 9.20101 25.5 15Z",
|
|
@@ -17062,7 +16772,7 @@ function Search({
|
|
|
17062
16772
|
}
|
|
17063
16773
|
};
|
|
17064
16774
|
const { viewBox, path } = getIconData();
|
|
17065
|
-
return /* @__PURE__ */
|
|
16775
|
+
return /* @__PURE__ */ jsx39(
|
|
17066
16776
|
"svg",
|
|
17067
16777
|
{
|
|
17068
16778
|
width: size,
|
|
@@ -17077,7 +16787,7 @@ function Search({
|
|
|
17077
16787
|
|
|
17078
16788
|
// src/components/organisms/search_bar/search_bar.tsx
|
|
17079
16789
|
import { useState as useState5, useEffect as useEffect3 } from "react";
|
|
17080
|
-
import { jsx as
|
|
16790
|
+
import { jsx as jsx40, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
17081
16791
|
function SearchBar({ loading, results, onUpdate }) {
|
|
17082
16792
|
const [query, setQuery] = useState5("");
|
|
17083
16793
|
useEffect3(() => {
|
|
@@ -17089,10 +16799,10 @@ function SearchBar({ loading, results, onUpdate }) {
|
|
|
17089
16799
|
const clearQuery = () => {
|
|
17090
16800
|
setQuery("");
|
|
17091
16801
|
};
|
|
17092
|
-
return /* @__PURE__ */
|
|
17093
|
-
/* @__PURE__ */
|
|
17094
|
-
loading ? /* @__PURE__ */
|
|
17095
|
-
/* @__PURE__ */
|
|
16802
|
+
return /* @__PURE__ */ jsxs28("div", { className: "w-full space-y-3", children: [
|
|
16803
|
+
/* @__PURE__ */ jsxs28("div", { className: "flex items-center px-4 py-2 rounded-full bg-gray-100 gap-2 text-gray-900", children: [
|
|
16804
|
+
loading ? /* @__PURE__ */ jsx40(Loading, {}) : /* @__PURE__ */ jsx40(Search, {}),
|
|
16805
|
+
/* @__PURE__ */ jsx40(
|
|
17096
16806
|
"input",
|
|
17097
16807
|
{
|
|
17098
16808
|
type: "text",
|
|
@@ -17102,15 +16812,15 @@ function SearchBar({ loading, results, onUpdate }) {
|
|
|
17102
16812
|
onChange: (e) => setQuery(e.target.value)
|
|
17103
16813
|
}
|
|
17104
16814
|
),
|
|
17105
|
-
query && /* @__PURE__ */
|
|
16815
|
+
query && /* @__PURE__ */ jsx40("button", { onClick: clearQuery, children: /* @__PURE__ */ jsx40(CircleX, {}) })
|
|
17106
16816
|
] }),
|
|
17107
|
-
results && /* @__PURE__ */
|
|
17108
|
-
/* @__PURE__ */
|
|
16817
|
+
results && /* @__PURE__ */ jsxs28("div", { className: "text-sm", children: [
|
|
16818
|
+
/* @__PURE__ */ jsxs28("p", { className: "text-gray-700 font-medium", children: [
|
|
17109
16819
|
"Search results (",
|
|
17110
16820
|
results.reduce((acc, r) => acc + r.count, 0),
|
|
17111
16821
|
"):"
|
|
17112
16822
|
] }),
|
|
17113
|
-
/* @__PURE__ */
|
|
16823
|
+
/* @__PURE__ */ jsx40("div", { className: "flex flex-wrap gap-2 mt-2", children: results.map((r) => /* @__PURE__ */ jsxs28(
|
|
17114
16824
|
"span",
|
|
17115
16825
|
{
|
|
17116
16826
|
className: "px-3 py-1 rounded-full bg-gray-100 text-gray-700",
|
|
@@ -17128,7 +16838,7 @@ function SearchBar({ loading, results, onUpdate }) {
|
|
|
17128
16838
|
}
|
|
17129
16839
|
|
|
17130
16840
|
// src/components/atoms/icons/base_icons/Mail.tsx
|
|
17131
|
-
import { jsx as
|
|
16841
|
+
import { jsx as jsx41 } from "react/jsx-runtime";
|
|
17132
16842
|
function Mail({
|
|
17133
16843
|
size = 24,
|
|
17134
16844
|
color = "#1D1D1F",
|
|
@@ -17139,7 +16849,7 @@ function Mail({
|
|
|
17139
16849
|
case 16:
|
|
17140
16850
|
return {
|
|
17141
16851
|
viewBox: "0 0 16 16",
|
|
17142
|
-
path: /* @__PURE__ */
|
|
16852
|
+
path: /* @__PURE__ */ jsx41(
|
|
17143
16853
|
"path",
|
|
17144
16854
|
{
|
|
17145
16855
|
d: "M2 5.33337L7.2604 8.84031C7.70827 9.13888 8.29173 9.13888 8.7396 8.84031L14 5.33337M3.33333 12.6667H12.6667C13.403 12.6667 14 12.0698 14 11.3334V4.66671C14 3.93033 13.403 3.33337 12.6667 3.33337H3.33333C2.59695 3.33337 2 3.93033 2 4.66671V11.3334C2 12.0698 2.59695 12.6667 3.33333 12.6667Z",
|
|
@@ -17153,7 +16863,7 @@ function Mail({
|
|
|
17153
16863
|
case 20:
|
|
17154
16864
|
return {
|
|
17155
16865
|
viewBox: "0 0 20 20",
|
|
17156
|
-
path: /* @__PURE__ */
|
|
16866
|
+
path: /* @__PURE__ */ jsx41(
|
|
17157
16867
|
"path",
|
|
17158
16868
|
{
|
|
17159
16869
|
d: "M2.5 6.66663L9.0755 11.0503C9.63533 11.4235 10.3647 11.4235 10.9245 11.0503L17.5 6.66663M4.16667 15.8333H15.8333C16.7538 15.8333 17.5 15.0871 17.5 14.1666V5.83329C17.5 4.91282 16.7538 4.16663 15.8333 4.16663H4.16667C3.24619 4.16663 2.5 4.91282 2.5 5.83329V14.1666C2.5 15.0871 3.24619 15.8333 4.16667 15.8333Z",
|
|
@@ -17167,7 +16877,7 @@ function Mail({
|
|
|
17167
16877
|
case 24:
|
|
17168
16878
|
return {
|
|
17169
16879
|
viewBox: "0 0 24 24",
|
|
17170
|
-
path: /* @__PURE__ */
|
|
16880
|
+
path: /* @__PURE__ */ jsx41(
|
|
17171
16881
|
"path",
|
|
17172
16882
|
{
|
|
17173
16883
|
d: "M3 8L10.8906 13.2604C11.5624 13.7083 12.4376 13.7083 13.1094 13.2604L21 8M5 19H19C20.1046 19 21 18.1046 21 17V7C21 5.89543 20.1046 5 19 5H5C3.89543 5 3 5.89543 3 7V17C3 18.1046 3.89543 19 5 19Z",
|
|
@@ -17181,7 +16891,7 @@ function Mail({
|
|
|
17181
16891
|
case 36:
|
|
17182
16892
|
return {
|
|
17183
16893
|
viewBox: "0 0 36 36",
|
|
17184
|
-
path: /* @__PURE__ */
|
|
16894
|
+
path: /* @__PURE__ */ jsx41(
|
|
17185
16895
|
"path",
|
|
17186
16896
|
{
|
|
17187
16897
|
d: "M4.5 12L16.3359 19.8906C17.3436 20.5624 18.6564 20.5624 19.6641 19.8906L31.5 12M7.5 28.5H28.5C30.1569 28.5 31.5 27.1569 31.5 25.5V10.5C31.5 8.84315 30.1569 7.5 28.5 7.5H7.5C5.84315 7.5 4.5 8.84315 4.5 10.5V25.5C4.5 27.1569 5.84315 28.5 7.5 28.5Z",
|
|
@@ -17195,7 +16905,7 @@ function Mail({
|
|
|
17195
16905
|
}
|
|
17196
16906
|
};
|
|
17197
16907
|
const { viewBox, path } = getIconData();
|
|
17198
|
-
return /* @__PURE__ */
|
|
16908
|
+
return /* @__PURE__ */ jsx41(
|
|
17199
16909
|
"svg",
|
|
17200
16910
|
{
|
|
17201
16911
|
width: size,
|
|
@@ -17209,7 +16919,7 @@ function Mail({
|
|
|
17209
16919
|
}
|
|
17210
16920
|
|
|
17211
16921
|
// src/components/atoms/icons/base_icons/PlusLarge.tsx
|
|
17212
|
-
import { jsx as
|
|
16922
|
+
import { jsx as jsx42 } from "react/jsx-runtime";
|
|
17213
16923
|
function PlusLarge({
|
|
17214
16924
|
size = 24,
|
|
17215
16925
|
color = "#1D1D1F",
|
|
@@ -17220,7 +16930,7 @@ function PlusLarge({
|
|
|
17220
16930
|
case 16:
|
|
17221
16931
|
return {
|
|
17222
16932
|
viewBox: "0 0 16 16",
|
|
17223
|
-
path: /* @__PURE__ */
|
|
16933
|
+
path: /* @__PURE__ */ jsx42(
|
|
17224
16934
|
"path",
|
|
17225
16935
|
{
|
|
17226
16936
|
d: "M8.00033 2.66663V13.3333M13.3337 7.99996L2.66699 7.99996",
|
|
@@ -17234,7 +16944,7 @@ function PlusLarge({
|
|
|
17234
16944
|
case 20:
|
|
17235
16945
|
return {
|
|
17236
16946
|
viewBox: "0 0 20 20",
|
|
17237
|
-
path: /* @__PURE__ */
|
|
16947
|
+
path: /* @__PURE__ */ jsx42(
|
|
17238
16948
|
"path",
|
|
17239
16949
|
{
|
|
17240
16950
|
d: "M9.99967 3.33337V16.6667M16.6663 10L3.33301 10",
|
|
@@ -17248,7 +16958,7 @@ function PlusLarge({
|
|
|
17248
16958
|
case 24:
|
|
17249
16959
|
return {
|
|
17250
16960
|
viewBox: "0 0 24 24",
|
|
17251
|
-
path: /* @__PURE__ */
|
|
16961
|
+
path: /* @__PURE__ */ jsx42(
|
|
17252
16962
|
"path",
|
|
17253
16963
|
{
|
|
17254
16964
|
d: "M12 4V20M20 12L4 12",
|
|
@@ -17262,7 +16972,7 @@ function PlusLarge({
|
|
|
17262
16972
|
case 36:
|
|
17263
16973
|
return {
|
|
17264
16974
|
viewBox: "0 0 36 36",
|
|
17265
|
-
path: /* @__PURE__ */
|
|
16975
|
+
path: /* @__PURE__ */ jsx42(
|
|
17266
16976
|
"path",
|
|
17267
16977
|
{
|
|
17268
16978
|
d: "M18 6V30M30 18L6 18",
|
|
@@ -17276,7 +16986,7 @@ function PlusLarge({
|
|
|
17276
16986
|
}
|
|
17277
16987
|
};
|
|
17278
16988
|
const { viewBox, path } = getIconData();
|
|
17279
|
-
return /* @__PURE__ */
|
|
16989
|
+
return /* @__PURE__ */ jsx42(
|
|
17280
16990
|
"svg",
|
|
17281
16991
|
{
|
|
17282
16992
|
width: size,
|
|
@@ -17291,15 +17001,15 @@ function PlusLarge({
|
|
|
17291
17001
|
|
|
17292
17002
|
// src/components/molecules/buttons/nav_button/filter_nav_button/filter_nav_button.tsx
|
|
17293
17003
|
import clsx12 from "clsx";
|
|
17294
|
-
import { jsx as
|
|
17004
|
+
import { jsx as jsx43, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
17295
17005
|
function FilterNavButton({ icon, label, active, onClick }) {
|
|
17296
|
-
return /* @__PURE__ */
|
|
17006
|
+
return /* @__PURE__ */ jsxs29(
|
|
17297
17007
|
"div",
|
|
17298
17008
|
{
|
|
17299
17009
|
className: "w-min h-min flex flex-none flex-col place-items-center gap-2",
|
|
17300
17010
|
onClick,
|
|
17301
17011
|
children: [
|
|
17302
|
-
/* @__PURE__ */
|
|
17012
|
+
/* @__PURE__ */ jsx43(
|
|
17303
17013
|
"div",
|
|
17304
17014
|
{
|
|
17305
17015
|
className: clsx12(
|
|
@@ -17308,20 +17018,20 @@ function FilterNavButton({ icon, label, active, onClick }) {
|
|
|
17308
17018
|
children: icon
|
|
17309
17019
|
}
|
|
17310
17020
|
),
|
|
17311
|
-
/* @__PURE__ */
|
|
17021
|
+
/* @__PURE__ */ jsx43("div", { className: "font-medium text-[9px] text-qtneutral-900 w-full text-center", children: label })
|
|
17312
17022
|
]
|
|
17313
17023
|
}
|
|
17314
17024
|
);
|
|
17315
17025
|
}
|
|
17316
17026
|
|
|
17317
17027
|
// src/components/organisms/filter_bar/filter_bar.tsx
|
|
17318
|
-
import { jsx as
|
|
17028
|
+
import { jsx as jsx44, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
17319
17029
|
function FilterBar({ buttons }) {
|
|
17320
|
-
return /* @__PURE__ */
|
|
17321
|
-
/* @__PURE__ */
|
|
17030
|
+
return /* @__PURE__ */ jsxs30("div", { className: "flex flex-col w-[54px] place-items-center gap-4", children: [
|
|
17031
|
+
/* @__PURE__ */ jsx44(
|
|
17322
17032
|
FilterNavButton,
|
|
17323
17033
|
{
|
|
17324
|
-
icon: /* @__PURE__ */
|
|
17034
|
+
icon: /* @__PURE__ */ jsx44(
|
|
17325
17035
|
FireIcon,
|
|
17326
17036
|
{
|
|
17327
17037
|
variant: buttons?.fires?.active ? void 0 : "none" /* OUTLINED */
|
|
@@ -17331,10 +17041,10 @@ function FilterBar({ buttons }) {
|
|
|
17331
17041
|
onClick: buttons?.fires?.onClick
|
|
17332
17042
|
}
|
|
17333
17043
|
),
|
|
17334
|
-
/* @__PURE__ */
|
|
17044
|
+
/* @__PURE__ */ jsx44(
|
|
17335
17045
|
FilterNavButton,
|
|
17336
17046
|
{
|
|
17337
|
-
icon: /* @__PURE__ */
|
|
17047
|
+
icon: /* @__PURE__ */ jsx44(
|
|
17338
17048
|
Mail,
|
|
17339
17049
|
{
|
|
17340
17050
|
size: 36,
|
|
@@ -17345,10 +17055,10 @@ function FilterBar({ buttons }) {
|
|
|
17345
17055
|
onClick: buttons?.unread?.onClick
|
|
17346
17056
|
}
|
|
17347
17057
|
),
|
|
17348
|
-
/* @__PURE__ */
|
|
17058
|
+
/* @__PURE__ */ jsx44(
|
|
17349
17059
|
FilterNavButton,
|
|
17350
17060
|
{
|
|
17351
|
-
icon: /* @__PURE__ */
|
|
17061
|
+
icon: /* @__PURE__ */ jsx44(
|
|
17352
17062
|
CheckBox,
|
|
17353
17063
|
{
|
|
17354
17064
|
size: 36,
|
|
@@ -17359,57 +17069,57 @@ function FilterBar({ buttons }) {
|
|
|
17359
17069
|
onClick: buttons?.incomplete?.onClick
|
|
17360
17070
|
}
|
|
17361
17071
|
),
|
|
17362
|
-
/* @__PURE__ */
|
|
17363
|
-
/* @__PURE__ */
|
|
17072
|
+
/* @__PURE__ */ jsx44("hr", { className: "w-full border-0.5 text-qtneutral-700" }),
|
|
17073
|
+
/* @__PURE__ */ jsx44(
|
|
17364
17074
|
FilterNavButton,
|
|
17365
17075
|
{
|
|
17366
|
-
icon: /* @__PURE__ */
|
|
17076
|
+
icon: /* @__PURE__ */ jsx44("div", { className: buttons?.slack?.active ? "" : "grayscale", children: /* @__PURE__ */ jsx44(SlackIcon, {}) }),
|
|
17367
17077
|
onClick: buttons?.slack?.onClick
|
|
17368
17078
|
}
|
|
17369
17079
|
),
|
|
17370
|
-
/* @__PURE__ */
|
|
17080
|
+
/* @__PURE__ */ jsx44(
|
|
17371
17081
|
FilterNavButton,
|
|
17372
17082
|
{
|
|
17373
|
-
icon: /* @__PURE__ */
|
|
17083
|
+
icon: /* @__PURE__ */ jsx44("div", { className: buttons?.google_mail?.active ? "" : "grayscale", children: /* @__PURE__ */ jsx44(GoogleMailIcon, {}) }),
|
|
17374
17084
|
onClick: buttons?.google_mail?.onClick
|
|
17375
17085
|
}
|
|
17376
17086
|
),
|
|
17377
|
-
/* @__PURE__ */
|
|
17087
|
+
/* @__PURE__ */ jsx44(
|
|
17378
17088
|
FilterNavButton,
|
|
17379
17089
|
{
|
|
17380
|
-
icon: /* @__PURE__ */
|
|
17090
|
+
icon: /* @__PURE__ */ jsx44("div", { className: buttons?.google_calendar?.active ? "" : "grayscale", children: /* @__PURE__ */ jsx44(GoogleCalendarIcon, {}) }),
|
|
17381
17091
|
onClick: buttons?.google_calendar?.onClick
|
|
17382
17092
|
}
|
|
17383
17093
|
),
|
|
17384
|
-
/* @__PURE__ */
|
|
17094
|
+
/* @__PURE__ */ jsx44(
|
|
17385
17095
|
FilterNavButton,
|
|
17386
17096
|
{
|
|
17387
|
-
icon: /* @__PURE__ */
|
|
17388
|
-
/* @__PURE__ */
|
|
17097
|
+
icon: /* @__PURE__ */ jsxs30("div", { className: buttons?.atlassian_jira?.active ? "" : "grayscale", children: [
|
|
17098
|
+
/* @__PURE__ */ jsx44(AtlassianIcon, {}),
|
|
17389
17099
|
" "
|
|
17390
17100
|
] }),
|
|
17391
17101
|
onClick: buttons?.atlassian_jira?.onClick
|
|
17392
17102
|
}
|
|
17393
17103
|
),
|
|
17394
|
-
/* @__PURE__ */
|
|
17104
|
+
/* @__PURE__ */ jsx44(
|
|
17395
17105
|
FilterNavButton,
|
|
17396
17106
|
{
|
|
17397
|
-
icon: /* @__PURE__ */
|
|
17398
|
-
/* @__PURE__ */
|
|
17107
|
+
icon: /* @__PURE__ */ jsxs30("div", { className: buttons?.microsoft_teams?.active ? "" : "grayscale", children: [
|
|
17108
|
+
/* @__PURE__ */ jsx44(MicrosoftTeamsIcon, {}),
|
|
17399
17109
|
" "
|
|
17400
17110
|
] }),
|
|
17401
17111
|
onClick: buttons?.microsoft_teams?.onClick
|
|
17402
17112
|
}
|
|
17403
17113
|
),
|
|
17404
|
-
/* @__PURE__ */
|
|
17114
|
+
/* @__PURE__ */ jsx44(
|
|
17405
17115
|
FilterNavButton,
|
|
17406
17116
|
{
|
|
17407
|
-
icon: /* @__PURE__ */
|
|
17117
|
+
icon: /* @__PURE__ */ jsxs30(
|
|
17408
17118
|
"div",
|
|
17409
17119
|
{
|
|
17410
17120
|
className: buttons?.microsoft_calendar?.active || buttons?.microsoft_mail?.active ? "" : "grayscale",
|
|
17411
17121
|
children: [
|
|
17412
|
-
/* @__PURE__ */
|
|
17122
|
+
/* @__PURE__ */ jsx44(MicrosoftOutlookMailIcon, {}),
|
|
17413
17123
|
" "
|
|
17414
17124
|
]
|
|
17415
17125
|
}
|
|
@@ -17417,15 +17127,15 @@ function FilterBar({ buttons }) {
|
|
|
17417
17127
|
onClick: buttons?.microsoft_mail?.onClick || buttons?.microsoft_calendar?.onClick
|
|
17418
17128
|
}
|
|
17419
17129
|
),
|
|
17420
|
-
/* @__PURE__ */
|
|
17130
|
+
/* @__PURE__ */ jsx44(
|
|
17421
17131
|
FilterNavButton,
|
|
17422
17132
|
{
|
|
17423
|
-
icon: /* @__PURE__ */
|
|
17133
|
+
icon: /* @__PURE__ */ jsxs30(
|
|
17424
17134
|
"div",
|
|
17425
17135
|
{
|
|
17426
17136
|
className: buttons?.clickup?.active || buttons?.clickup?.active ? "" : "grayscale",
|
|
17427
17137
|
children: [
|
|
17428
|
-
/* @__PURE__ */
|
|
17138
|
+
/* @__PURE__ */ jsx44(ClickupIcon, {}),
|
|
17429
17139
|
" "
|
|
17430
17140
|
]
|
|
17431
17141
|
}
|
|
@@ -17433,8 +17143,8 @@ function FilterBar({ buttons }) {
|
|
|
17433
17143
|
onClick: buttons?.clickup?.onClick
|
|
17434
17144
|
}
|
|
17435
17145
|
),
|
|
17436
|
-
/* @__PURE__ */
|
|
17437
|
-
/* @__PURE__ */
|
|
17146
|
+
/* @__PURE__ */ jsx44("hr", { className: "w-full border-0.5 text-qtneutral-700" }),
|
|
17147
|
+
/* @__PURE__ */ jsx44("div", { onClick: buttons?.more?.onClick, children: /* @__PURE__ */ jsx44(FilterNavButton, { icon: /* @__PURE__ */ jsx44(PlusLarge, { size: 36 }) }) })
|
|
17438
17148
|
] });
|
|
17439
17149
|
}
|
|
17440
17150
|
|