@flamingo-stack/openframe-frontend-core 0.0.434-snapshot.20260716100758 → 0.0.434
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/{chunk-32V2VHPE.cjs → chunk-473VV632.cjs} +26 -26
- package/dist/{chunk-32V2VHPE.cjs.map → chunk-473VV632.cjs.map} +1 -1
- package/dist/{chunk-FSOKLOXF.js → chunk-6CFMFNIB.js} +2 -2
- package/dist/{chunk-ZH2OEMQJ.js → chunk-6PTETC3Z.js} +157 -134
- package/dist/{chunk-ZH2OEMQJ.js.map → chunk-6PTETC3Z.js.map} +1 -1
- package/dist/{chunk-32BSKGEI.js → chunk-7E2DFRIK.js} +2 -2
- package/dist/{chunk-3V5UQ5TU.cjs → chunk-7R3PASHE.cjs} +541 -518
- package/dist/chunk-7R3PASHE.cjs.map +1 -0
- package/dist/{chunk-MWIYAVFT.js → chunk-A6KQMTJV.js} +4 -4
- package/dist/{chunk-2WXQFYNC.js → chunk-AHXDYVAE.js} +2 -2
- package/dist/{chunk-2QJNX32P.cjs → chunk-AOWQU2KB.cjs} +5 -5
- package/dist/{chunk-2QJNX32P.cjs.map → chunk-AOWQU2KB.cjs.map} +1 -1
- package/dist/{chunk-PXTDEKAY.cjs → chunk-B77THL7Y.cjs} +7 -7
- package/dist/{chunk-PXTDEKAY.cjs.map → chunk-B77THL7Y.cjs.map} +1 -1
- package/dist/{chunk-E6NRV33G.cjs → chunk-BSTVI23E.cjs} +11 -11
- package/dist/{chunk-E6NRV33G.cjs.map → chunk-BSTVI23E.cjs.map} +1 -1
- package/dist/{chunk-AUSUEKXY.cjs → chunk-C476N6PJ.cjs} +31 -31
- package/dist/{chunk-AUSUEKXY.cjs.map → chunk-C476N6PJ.cjs.map} +1 -1
- package/dist/{chunk-WXNE2BF4.cjs → chunk-CV3JHPLQ.cjs} +37 -37
- package/dist/{chunk-WXNE2BF4.cjs.map → chunk-CV3JHPLQ.cjs.map} +1 -1
- package/dist/{chunk-IWYRSGJU.cjs → chunk-F2VLV4PD.cjs} +9 -9
- package/dist/{chunk-IWYRSGJU.cjs.map → chunk-F2VLV4PD.cjs.map} +1 -1
- package/dist/{chunk-KVXB3FOB.cjs → chunk-FEOHPHJ5.cjs} +62 -62
- package/dist/{chunk-KVXB3FOB.cjs.map → chunk-FEOHPHJ5.cjs.map} +1 -1
- package/dist/{chunk-DVYA3BDU.js → chunk-KFXA4ZG3.js} +4 -4
- package/dist/{chunk-BMEA5NPX.js → chunk-NBWZW22E.js} +4 -4
- package/dist/{chunk-NGBO5Z5O.cjs → chunk-P6VXTG5N.cjs} +15 -15
- package/dist/{chunk-NGBO5Z5O.cjs.map → chunk-P6VXTG5N.cjs.map} +1 -1
- package/dist/{chunk-GQHXJ37C.js → chunk-PAOY2AIG.js} +2 -2
- package/dist/{chunk-NFU37EP6.js → chunk-RZRQI55M.js} +2 -2
- package/dist/{chunk-NRIJNBRG.cjs → chunk-SXVO2PXE.cjs} +26 -26
- package/dist/{chunk-NRIJNBRG.cjs.map → chunk-SXVO2PXE.cjs.map} +1 -1
- package/dist/{chunk-P5EN67AU.cjs → chunk-WPMUNLCC.cjs} +59 -59
- package/dist/{chunk-P5EN67AU.cjs.map → chunk-WPMUNLCC.cjs.map} +1 -1
- package/dist/{chunk-LYK6D7GU.js → chunk-XWEECWZD.js} +2 -2
- package/dist/{chunk-3OPSNUPJ.js → chunk-ZAJPJ2JD.js} +2 -2
- package/dist/{chunk-E77Z2P3K.js → chunk-ZB57GGZX.js} +4 -4
- package/dist/components/case-studies/index.cjs +8 -8
- package/dist/components/case-studies/index.js +2 -2
- package/dist/components/chat/index.cjs +2 -2
- package/dist/components/chat/index.js +1 -1
- package/dist/components/contact/index.cjs +3 -3
- package/dist/components/contact/index.js +2 -2
- package/dist/components/docs/index.cjs +5 -5
- package/dist/components/docs/index.js +4 -4
- package/dist/components/embeds/index.cjs +3 -3
- package/dist/components/embeds/index.js +2 -2
- package/dist/components/faq/index.cjs +3 -3
- package/dist/components/faq/index.js +2 -2
- package/dist/components/features/auth/create-organization-form.d.ts +4 -8
- package/dist/components/features/auth/create-organization-form.d.ts.map +1 -1
- package/dist/components/features/auth/login-form.d.ts +14 -18
- package/dist/components/features/auth/login-form.d.ts.map +1 -1
- package/dist/components/features/auth/sso-providers.d.ts +1 -7
- package/dist/components/features/auth/sso-providers.d.ts.map +1 -1
- package/dist/components/features/index.cjs +2 -2
- package/dist/components/features/index.js +1 -1
- package/dist/components/help-center-pages/index.cjs +20 -20
- package/dist/components/help-center-pages/index.js +11 -11
- package/dist/components/index.cjs +128 -128
- package/dist/components/index.js +9 -9
- package/dist/components/navigation/index.cjs +2 -2
- package/dist/components/navigation/index.js +1 -1
- package/dist/components/onboarding-guides/index.cjs +5 -5
- package/dist/components/onboarding-guides/index.js +4 -4
- package/dist/components/related-content/index.cjs +3 -3
- package/dist/components/related-content/index.js +2 -2
- package/dist/components/tickets/index.cjs +5 -5
- package/dist/components/tickets/index.js +4 -4
- package/dist/components/ui/index.cjs +2 -2
- package/dist/components/ui/index.js +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/components/features/auth/create-organization-form.tsx +28 -37
- package/src/components/features/auth/login-form.tsx +60 -29
- package/src/components/features/auth/sso-providers.tsx +1 -8
- package/dist/chunk-3V5UQ5TU.cjs.map +0 -1
- /package/dist/{chunk-FSOKLOXF.js.map → chunk-6CFMFNIB.js.map} +0 -0
- /package/dist/{chunk-32BSKGEI.js.map → chunk-7E2DFRIK.js.map} +0 -0
- /package/dist/{chunk-MWIYAVFT.js.map → chunk-A6KQMTJV.js.map} +0 -0
- /package/dist/{chunk-2WXQFYNC.js.map → chunk-AHXDYVAE.js.map} +0 -0
- /package/dist/{chunk-DVYA3BDU.js.map → chunk-KFXA4ZG3.js.map} +0 -0
- /package/dist/{chunk-BMEA5NPX.js.map → chunk-NBWZW22E.js.map} +0 -0
- /package/dist/{chunk-GQHXJ37C.js.map → chunk-PAOY2AIG.js.map} +0 -0
- /package/dist/{chunk-NFU37EP6.js.map → chunk-RZRQI55M.js.map} +0 -0
- /package/dist/{chunk-LYK6D7GU.js.map → chunk-XWEECWZD.js.map} +0 -0
- /package/dist/{chunk-3OPSNUPJ.js.map → chunk-ZAJPJ2JD.js.map} +0 -0
- /package/dist/{chunk-E77Z2P3K.js.map → chunk-ZB57GGZX.js.map} +0 -0
|
@@ -26014,8 +26014,7 @@ function SsoProviderButtons({
|
|
|
26014
26014
|
providers,
|
|
26015
26015
|
onSsoClick,
|
|
26016
26016
|
actionLabel = "Continue with",
|
|
26017
|
-
disabled = false
|
|
26018
|
-
enabledProviders
|
|
26017
|
+
disabled = false
|
|
26019
26018
|
}) {
|
|
26020
26019
|
return /* @__PURE__ */ jsx194("div", { className: "flex flex-col gap-[var(--spacing-system-l)]", children: providers.map((provider) => {
|
|
26021
26020
|
const meta = PROVIDER_META[provider];
|
|
@@ -26026,7 +26025,7 @@ function SsoProviderButtons({
|
|
|
26026
26025
|
type: "button",
|
|
26027
26026
|
variant: "outline",
|
|
26028
26027
|
fullWidth: true,
|
|
26029
|
-
disabled
|
|
26028
|
+
disabled,
|
|
26030
26029
|
className: "disabled:bg-ods-bg",
|
|
26031
26030
|
leftIcon: /* @__PURE__ */ jsx194(Icon2, { className: "h-5 w-5" }),
|
|
26032
26031
|
onClick: () => onSsoClick?.(provider),
|
|
@@ -26228,7 +26227,7 @@ function TermsAgreementLabel({ termsUrl = "#", privacyPolicyUrl = "#" }) {
|
|
|
26228
26227
|
}
|
|
26229
26228
|
|
|
26230
26229
|
// src/components/features/auth/create-organization-form.tsx
|
|
26231
|
-
import {
|
|
26230
|
+
import { jsx as jsx197, jsxs as jsxs151 } from "react/jsx-runtime";
|
|
26232
26231
|
function CreateOrganizationForm({
|
|
26233
26232
|
email,
|
|
26234
26233
|
organizationName,
|
|
@@ -26253,13 +26252,11 @@ function CreateOrganizationForm({
|
|
|
26253
26252
|
domainSlot,
|
|
26254
26253
|
ssoProviders,
|
|
26255
26254
|
onSsoClick,
|
|
26256
|
-
ssoDisabled = false,
|
|
26257
26255
|
ssoActionLabel = "Continue with",
|
|
26258
|
-
dividerLabel = "or continue with",
|
|
26259
26256
|
className
|
|
26260
26257
|
}) {
|
|
26261
|
-
const
|
|
26262
|
-
const fieldsDisabled = disabled || loading;
|
|
26258
|
+
const isSsoMode = !!ssoProviders && ssoProviders.length > 0;
|
|
26259
|
+
const fieldsDisabled = disabled || loading || isSsoMode;
|
|
26263
26260
|
const emailErr = useDeferredError(errors?.email, email);
|
|
26264
26261
|
const orgNameErr = useDeferredError(errors?.organizationName, organizationName);
|
|
26265
26262
|
const domainErr = useDeferredError(errors?.domain, domain);
|
|
@@ -26338,31 +26335,27 @@ function CreateOrganizationForm({
|
|
|
26338
26335
|
onCheckedChange: onAgreedToTermsChange
|
|
26339
26336
|
}
|
|
26340
26337
|
),
|
|
26341
|
-
/* @__PURE__ */ jsx197(
|
|
26342
|
-
|
|
26338
|
+
isSsoMode ? /* @__PURE__ */ jsx197(
|
|
26339
|
+
SsoProviderButtons,
|
|
26343
26340
|
{
|
|
26344
|
-
|
|
26345
|
-
|
|
26346
|
-
|
|
26347
|
-
loading
|
|
26348
|
-
disabled: disabled || submitDisabled,
|
|
26349
|
-
onClick: onSubmit,
|
|
26350
|
-
children: submitLabel
|
|
26341
|
+
providers: ssoProviders,
|
|
26342
|
+
onSsoClick,
|
|
26343
|
+
actionLabel: ssoActionLabel,
|
|
26344
|
+
disabled: disabled || loading
|
|
26351
26345
|
}
|
|
26352
|
-
),
|
|
26353
|
-
|
|
26354
|
-
/* @__PURE__ */ jsxs151("div", { className: "flex items-center gap-[var(--spacing-system-s)]", children: [
|
|
26355
|
-
/* @__PURE__ */ jsx197("div", { className: "h-px flex-1 bg-ods-border" }),
|
|
26356
|
-
/* @__PURE__ */ jsx197("span", { className: "text-h6 text-ods-text-secondary", children: dividerLabel }),
|
|
26357
|
-
/* @__PURE__ */ jsx197("div", { className: "h-px flex-1 bg-ods-border" })
|
|
26358
|
-
] }),
|
|
26346
|
+
) : /* @__PURE__ */ jsxs151("div", { className: "flex items-center gap-[var(--spacing-system-l)]", children: [
|
|
26347
|
+
/* @__PURE__ */ jsx197("div", { className: "hidden flex-1 md:block" }),
|
|
26359
26348
|
/* @__PURE__ */ jsx197(
|
|
26360
|
-
|
|
26349
|
+
Button,
|
|
26361
26350
|
{
|
|
26362
|
-
|
|
26363
|
-
|
|
26364
|
-
|
|
26365
|
-
|
|
26351
|
+
type: "button",
|
|
26352
|
+
variant: "accent",
|
|
26353
|
+
fullWidth: true,
|
|
26354
|
+
className: "md:flex-1",
|
|
26355
|
+
loading,
|
|
26356
|
+
disabled: disabled || submitDisabled,
|
|
26357
|
+
onClick: onSubmit,
|
|
26358
|
+
children: submitLabel
|
|
26366
26359
|
}
|
|
26367
26360
|
)
|
|
26368
26361
|
] })
|
|
@@ -26398,28 +26391,31 @@ function InviteLinkInvalidModal({
|
|
|
26398
26391
|
|
|
26399
26392
|
// src/components/features/auth/login-form.tsx
|
|
26400
26393
|
init_cn();
|
|
26394
|
+
init_button2();
|
|
26401
26395
|
import { jsx as jsx199, jsxs as jsxs153 } from "react/jsx-runtime";
|
|
26402
26396
|
function LoginForm({
|
|
26403
26397
|
email,
|
|
26404
26398
|
onEmailChange,
|
|
26405
26399
|
onSubmit,
|
|
26400
|
+
onForgotPassword,
|
|
26406
26401
|
emailPlaceholder = "username@mail.com",
|
|
26402
|
+
submitLabel = "Continue",
|
|
26403
|
+
forgotPasswordLabel = "Forgot Password?",
|
|
26404
|
+
submitDisabled = false,
|
|
26407
26405
|
loading = false,
|
|
26408
26406
|
disabled = false,
|
|
26409
26407
|
errors,
|
|
26410
|
-
emailStatus,
|
|
26411
26408
|
ssoProviders,
|
|
26412
26409
|
onSsoClick,
|
|
26413
|
-
ssoDisabled = false,
|
|
26414
|
-
ssoEnabledProviders,
|
|
26415
26410
|
ssoActionLabel = "Continue with",
|
|
26416
26411
|
className
|
|
26417
26412
|
}) {
|
|
26418
|
-
const
|
|
26413
|
+
const isSsoMode = !!ssoProviders && ssoProviders.length > 0;
|
|
26414
|
+
const fieldDisabled = disabled || loading || isSsoMode;
|
|
26419
26415
|
const emailErr = useDeferredError(errors?.email, email);
|
|
26420
26416
|
const handleKeyDown = (event) => {
|
|
26421
26417
|
if (event.key === "Enter" && !fieldDisabled) {
|
|
26422
|
-
onSubmit
|
|
26418
|
+
onSubmit();
|
|
26423
26419
|
}
|
|
26424
26420
|
};
|
|
26425
26421
|
return /* @__PURE__ */ jsxs153(
|
|
@@ -26441,24 +26437,51 @@ function LoginForm({
|
|
|
26441
26437
|
label: "Email",
|
|
26442
26438
|
placeholder: emailPlaceholder,
|
|
26443
26439
|
value: email,
|
|
26444
|
-
error: emailErr.error
|
|
26445
|
-
errorVariant: emailErr.error ? "error" : emailStatus?.variant,
|
|
26440
|
+
error: emailErr.error,
|
|
26446
26441
|
disabled: fieldDisabled,
|
|
26447
26442
|
onBlur: emailErr.onBlur,
|
|
26448
26443
|
onChange: (event) => onEmailChange(event.target.value),
|
|
26449
26444
|
onKeyDown: handleKeyDown
|
|
26450
26445
|
}
|
|
26451
26446
|
),
|
|
26452
|
-
/* @__PURE__ */ jsx199(
|
|
26447
|
+
isSsoMode ? /* @__PURE__ */ jsx199(
|
|
26453
26448
|
SsoProviderButtons,
|
|
26454
26449
|
{
|
|
26455
26450
|
providers: ssoProviders,
|
|
26456
26451
|
onSsoClick,
|
|
26457
26452
|
actionLabel: ssoActionLabel,
|
|
26458
|
-
disabled: disabled || loading
|
|
26459
|
-
enabledProviders: ssoEnabledProviders
|
|
26453
|
+
disabled: disabled || loading
|
|
26460
26454
|
}
|
|
26461
|
-
)
|
|
26455
|
+
) : /* @__PURE__ */ jsxs153("div", { className: "flex items-center gap-[var(--spacing-system-l)]", children: [
|
|
26456
|
+
onForgotPassword ? /* @__PURE__ */ jsx199(
|
|
26457
|
+
Button,
|
|
26458
|
+
{
|
|
26459
|
+
type: "button",
|
|
26460
|
+
variant: "transparent",
|
|
26461
|
+
fullWidth: true,
|
|
26462
|
+
className: "flex-1",
|
|
26463
|
+
disabled: disabled || loading,
|
|
26464
|
+
onClick: onForgotPassword,
|
|
26465
|
+
children: forgotPasswordLabel
|
|
26466
|
+
}
|
|
26467
|
+
) : (
|
|
26468
|
+
// Spacer keeps the button on the right half, matching the design
|
|
26469
|
+
/* @__PURE__ */ jsx199("div", { className: "hidden flex-1 md:block" })
|
|
26470
|
+
),
|
|
26471
|
+
/* @__PURE__ */ jsx199(
|
|
26472
|
+
Button,
|
|
26473
|
+
{
|
|
26474
|
+
type: "button",
|
|
26475
|
+
variant: "accent",
|
|
26476
|
+
fullWidth: true,
|
|
26477
|
+
className: onForgotPassword ? "flex-1" : "md:flex-1",
|
|
26478
|
+
loading,
|
|
26479
|
+
disabled: disabled || submitDisabled,
|
|
26480
|
+
onClick: onSubmit,
|
|
26481
|
+
children: submitLabel
|
|
26482
|
+
}
|
|
26483
|
+
)
|
|
26484
|
+
] })
|
|
26462
26485
|
]
|
|
26463
26486
|
}
|
|
26464
26487
|
);
|
|
@@ -29478,7 +29501,7 @@ SelectButton.displayName = "SelectButton";
|
|
|
29478
29501
|
// src/components/features/seo-editor-preview.tsx
|
|
29479
29502
|
import { useState as useState66 } from "react";
|
|
29480
29503
|
import { Globe as Globe3, ExternalLink as ExternalLink6, Upload as Upload3, X as X6, Loader2 as Loader25 } from "lucide-react";
|
|
29481
|
-
import { Fragment as
|
|
29504
|
+
import { Fragment as Fragment41, jsx as jsx226, jsxs as jsxs175 } from "react/jsx-runtime";
|
|
29482
29505
|
function SEOEditorPreview({
|
|
29483
29506
|
seoTitle,
|
|
29484
29507
|
seoDescription,
|
|
@@ -29531,7 +29554,7 @@ function SEOEditorPreview({
|
|
|
29531
29554
|
/* @__PURE__ */ jsxs175("div", { className: "space-y-2", children: [
|
|
29532
29555
|
/* @__PURE__ */ jsxs175("div", { className: "flex items-center gap-2", children: [
|
|
29533
29556
|
/* @__PURE__ */ jsx226(Label, { className: "font-['DM_Sans'] text-[14px] font-medium text-ods-text-primary", children: "SEO Title" }),
|
|
29534
|
-
aiConfidenceSeoTitle !== void 0 && /* @__PURE__ */ jsxs175(
|
|
29557
|
+
aiConfidenceSeoTitle !== void 0 && /* @__PURE__ */ jsxs175(Fragment41, { children: [
|
|
29535
29558
|
/* @__PURE__ */ jsx226(AIGeneratedBadge, {}),
|
|
29536
29559
|
/* @__PURE__ */ jsx226(
|
|
29537
29560
|
ConfidenceBadge,
|
|
@@ -29578,7 +29601,7 @@ function SEOEditorPreview({
|
|
|
29578
29601
|
/* @__PURE__ */ jsxs175("div", { className: "space-y-2", children: [
|
|
29579
29602
|
/* @__PURE__ */ jsxs175("div", { className: "flex items-center gap-2", children: [
|
|
29580
29603
|
/* @__PURE__ */ jsx226(Label, { className: "font-['DM_Sans'] text-[14px] font-medium text-ods-text-primary", children: "SEO Keywords" }),
|
|
29581
|
-
aiConfidenceSeoKeywords !== void 0 && /* @__PURE__ */ jsxs175(
|
|
29604
|
+
aiConfidenceSeoKeywords !== void 0 && /* @__PURE__ */ jsxs175(Fragment41, { children: [
|
|
29582
29605
|
/* @__PURE__ */ jsx226(AIGeneratedBadge, {}),
|
|
29583
29606
|
/* @__PURE__ */ jsx226(
|
|
29584
29607
|
ConfidenceBadge,
|
|
@@ -29607,7 +29630,7 @@ function SEOEditorPreview({
|
|
|
29607
29630
|
/* @__PURE__ */ jsxs175("div", { className: "space-y-2 flex flex-col h-full", children: [
|
|
29608
29631
|
/* @__PURE__ */ jsxs175("div", { className: "flex items-center gap-2", children: [
|
|
29609
29632
|
/* @__PURE__ */ jsx226(Label, { className: "font-['DM_Sans'] text-[14px] font-medium text-ods-text-primary", children: "SEO Description" }),
|
|
29610
|
-
aiConfidenceSeoDescription !== void 0 && /* @__PURE__ */ jsxs175(
|
|
29633
|
+
aiConfidenceSeoDescription !== void 0 && /* @__PURE__ */ jsxs175(Fragment41, { children: [
|
|
29611
29634
|
/* @__PURE__ */ jsx226(AIGeneratedBadge, {}),
|
|
29612
29635
|
/* @__PURE__ */ jsx226(
|
|
29613
29636
|
ConfidenceBadge,
|
|
@@ -29697,7 +29720,7 @@ function SEOEditorPreview({
|
|
|
29697
29720
|
{
|
|
29698
29721
|
className: "h-full min-h-[280px] border-2 border-dashed border-ods-border rounded-lg flex flex-col items-center justify-center cursor-pointer hover:border-ods-accent transition-colors bg-ods-bg-hover",
|
|
29699
29722
|
onClick: () => onOgImageUpload && fileInputRef?.click(),
|
|
29700
|
-
children: isUploading ? /* @__PURE__ */ jsx226(Loader25, { className: "h-8 w-8 animate-spin text-ods-accent" }) : /* @__PURE__ */ jsxs175(
|
|
29723
|
+
children: isUploading ? /* @__PURE__ */ jsx226(Loader25, { className: "h-8 w-8 animate-spin text-ods-accent" }) : /* @__PURE__ */ jsxs175(Fragment41, { children: [
|
|
29701
29724
|
/* @__PURE__ */ jsx226(Upload3, { className: "h-8 w-8 text-ods-text-secondary mb-2" }),
|
|
29702
29725
|
/* @__PURE__ */ jsx226("span", { className: "text-sm text-ods-text-secondary font-['DM_Sans']", children: onOgImageUpload ? "Click to upload OG image" : "No image" })
|
|
29703
29726
|
] })
|
|
@@ -31894,7 +31917,7 @@ var DropdownMenuShortcut = ({
|
|
|
31894
31917
|
DropdownMenuShortcut.displayName = "DropdownMenuShortcut";
|
|
31895
31918
|
|
|
31896
31919
|
// src/components/features/policy-configuration-panel.tsx
|
|
31897
|
-
import { Fragment as
|
|
31920
|
+
import { Fragment as Fragment42, jsx as jsx252, jsxs as jsxs195 } from "react/jsx-runtime";
|
|
31898
31921
|
var approvalLevelOptions = [
|
|
31899
31922
|
{ value: "ALLOW", label: "Allow" },
|
|
31900
31923
|
{ value: "ASK_USER", label: "Ask User" },
|
|
@@ -31956,7 +31979,7 @@ var CategorySection = ({
|
|
|
31956
31979
|
onPolicyPermissionChange
|
|
31957
31980
|
}) => {
|
|
31958
31981
|
const { contentRef, height } = useAnimatedHeight(category.isExpanded);
|
|
31959
|
-
return /* @__PURE__ */ jsxs195(
|
|
31982
|
+
return /* @__PURE__ */ jsxs195(Fragment42, { children: [
|
|
31960
31983
|
/* @__PURE__ */ jsxs195(
|
|
31961
31984
|
"div",
|
|
31962
31985
|
{
|
|
@@ -32199,7 +32222,7 @@ function CountryOption({ country }) {
|
|
|
32199
32222
|
init_cn();
|
|
32200
32223
|
import { getCountries as getCountries2 } from "libphonenumber-js";
|
|
32201
32224
|
import { useEffect as useEffect53, useState as useState72 } from "react";
|
|
32202
|
-
import { Fragment as
|
|
32225
|
+
import { Fragment as Fragment43, jsx as jsx254, jsxs as jsxs197 } from "react/jsx-runtime";
|
|
32203
32226
|
function WaitlistForm({
|
|
32204
32227
|
id = "waitlist-form",
|
|
32205
32228
|
className,
|
|
@@ -32344,7 +32367,7 @@ function WaitlistForm({
|
|
|
32344
32367
|
error: showConsentError ? "Please agree to SMS notifications to continue." : void 0,
|
|
32345
32368
|
disabled: isSubmitting,
|
|
32346
32369
|
label: smsCheckboxLabel,
|
|
32347
|
-
description: /* @__PURE__ */ jsxs197(
|
|
32370
|
+
description: /* @__PURE__ */ jsxs197(Fragment43, { children: [
|
|
32348
32371
|
consentText,
|
|
32349
32372
|
" View our ",
|
|
32350
32373
|
/* @__PURE__ */ jsx254(
|
|
@@ -33270,7 +33293,7 @@ function NotificationTile({
|
|
|
33270
33293
|
}
|
|
33271
33294
|
|
|
33272
33295
|
// src/components/features/notifications/notification-drawer.tsx
|
|
33273
|
-
import { Fragment as
|
|
33296
|
+
import { Fragment as Fragment44, jsx as jsx258, jsxs as jsxs200 } from "react/jsx-runtime";
|
|
33274
33297
|
function NotificationDrawer({
|
|
33275
33298
|
className,
|
|
33276
33299
|
liveDurationMs,
|
|
@@ -33303,7 +33326,7 @@ function NotificationDrawer({
|
|
|
33303
33326
|
} = ctx;
|
|
33304
33327
|
const renderTile = renderTileProp ?? ctxRenderTile;
|
|
33305
33328
|
const unreadNotifications = notifications.filter((n) => !n.read);
|
|
33306
|
-
const content = /* @__PURE__ */ jsxs200(
|
|
33329
|
+
const content = /* @__PURE__ */ jsxs200(Fragment44, { children: [
|
|
33307
33330
|
/* @__PURE__ */ jsx258("div", { className: "px-[var(--spacing-system-m)] pt-[var(--spacing-system-m)]", children: /* @__PURE__ */ jsx258(
|
|
33308
33331
|
DrawerTitle,
|
|
33309
33332
|
{
|
|
@@ -33413,7 +33436,7 @@ function DrawerScrollList({
|
|
|
33413
33436
|
{
|
|
33414
33437
|
ref: scrollRef,
|
|
33415
33438
|
className: "flex flex-1 flex-col gap-[var(--spacing-system-xs)] overflow-y-auto px-[var(--spacing-system-m)]",
|
|
33416
|
-
children: isEmpty && !isLoadingMore ? /* @__PURE__ */ jsx258(EmptyState, {}) : /* @__PURE__ */ jsxs200(
|
|
33439
|
+
children: isEmpty && !isLoadingMore ? /* @__PURE__ */ jsx258(EmptyState, {}) : /* @__PURE__ */ jsxs200(Fragment44, { children: [
|
|
33417
33440
|
unreadNotifications.map((n) => {
|
|
33418
33441
|
const custom = renderTile?.(n, { onComplete, onSettle, liveDurationMs });
|
|
33419
33442
|
if (custom) return /* @__PURE__ */ jsx258("div", { children: custom }, n.id);
|
|
@@ -33435,7 +33458,7 @@ function DrawerScrollList({
|
|
|
33435
33458
|
);
|
|
33436
33459
|
}
|
|
33437
33460
|
function DrawerLoadingTiles() {
|
|
33438
|
-
return /* @__PURE__ */ jsxs200(
|
|
33461
|
+
return /* @__PURE__ */ jsxs200(Fragment44, { children: [
|
|
33439
33462
|
/* @__PURE__ */ jsx258(
|
|
33440
33463
|
"div",
|
|
33441
33464
|
{
|
|
@@ -33818,7 +33841,7 @@ function approvalMetaToBatchData(approval) {
|
|
|
33818
33841
|
}
|
|
33819
33842
|
|
|
33820
33843
|
// src/components/features/notifications/approval-request-notification-tile.tsx
|
|
33821
|
-
import { Fragment as
|
|
33844
|
+
import { Fragment as Fragment45, jsx as jsx260, jsxs as jsxs201 } from "react/jsx-runtime";
|
|
33822
33845
|
function ApprovalRequestNotificationTile({
|
|
33823
33846
|
notification,
|
|
33824
33847
|
onApprove,
|
|
@@ -33868,7 +33891,7 @@ function ApprovalRequestNotificationTile({
|
|
|
33868
33891
|
className,
|
|
33869
33892
|
paused: pinned || processing,
|
|
33870
33893
|
actions: /* @__PURE__ */ jsxs201("div", { className: "flex w-full items-center gap-[var(--spacing-system-xs)]", children: [
|
|
33871
|
-
status === "pending" ? /* @__PURE__ */ jsxs201(
|
|
33894
|
+
status === "pending" ? /* @__PURE__ */ jsxs201(Fragment45, { children: [
|
|
33872
33895
|
/* @__PURE__ */ jsx260(Button, { variant: "accent", size: "small", onClick: () => resolve("approved", onApprove), disabled: processing, children: "Approve" }),
|
|
33873
33896
|
/* @__PURE__ */ jsx260(Button, { variant: "outline", size: "small", onClick: () => resolve("rejected", onReject), disabled: processing, children: "Reject" })
|
|
33874
33897
|
] }) : /* @__PURE__ */ jsxs201("span", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
@@ -34288,7 +34311,7 @@ function HeaderButton({
|
|
|
34288
34311
|
}
|
|
34289
34312
|
|
|
34290
34313
|
// src/components/features/time-tracker/time-tracker-header-button.tsx
|
|
34291
|
-
import { Fragment as
|
|
34314
|
+
import { Fragment as Fragment46, jsx as jsx264, jsxs as jsxs203 } from "react/jsx-runtime";
|
|
34292
34315
|
function TimeTrackerHeaderButton({ className, disabled }) {
|
|
34293
34316
|
const ctx = useOptionalTimeTracker();
|
|
34294
34317
|
const elapsedLabel = useTrackerClock({
|
|
@@ -34334,7 +34357,7 @@ function TimeTrackerHeaderButton({ className, disabled }) {
|
|
|
34334
34357
|
isActive && "w-auto gap-[var(--spacing-system-xsf)] px-[var(--spacing-system-sf)] md:w-auto",
|
|
34335
34358
|
className
|
|
34336
34359
|
),
|
|
34337
|
-
icon: /* @__PURE__ */ jsxs203(
|
|
34360
|
+
icon: /* @__PURE__ */ jsxs203(Fragment46, { children: [
|
|
34338
34361
|
/* @__PURE__ */ jsx264(
|
|
34339
34362
|
ClockHistoryIcon,
|
|
34340
34363
|
{
|
|
@@ -34576,7 +34599,7 @@ function BoardTicketApproval({ pendingApproval, onApprove, onReject }) {
|
|
|
34576
34599
|
}
|
|
34577
34600
|
|
|
34578
34601
|
// src/components/features/board/ticket-card.tsx
|
|
34579
|
-
import { Fragment as
|
|
34602
|
+
import { Fragment as Fragment47, jsx as jsx267, jsxs as jsxs206 } from "react/jsx-runtime";
|
|
34580
34603
|
var PRIORITY_COLOR_CLASS = {
|
|
34581
34604
|
low: "text-ods-text-secondary",
|
|
34582
34605
|
medium: "text-ods-info",
|
|
@@ -34620,7 +34643,7 @@ function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onRe
|
|
|
34620
34643
|
] }) : null;
|
|
34621
34644
|
const timestampLabel = ticket.createdAt ? formatTicketRelativeTime(ticket.createdAt) : null;
|
|
34622
34645
|
const tooltipLabel = ticket.createdAt ? formatTicketFullTimestamp(ticket.createdAt) : null;
|
|
34623
|
-
return /* @__PURE__ */ jsxs206(
|
|
34646
|
+
return /* @__PURE__ */ jsxs206(Fragment47, { children: [
|
|
34624
34647
|
/* @__PURE__ */ jsxs206("div", { className: "flex items-start gap-[var(--spacing-system-sf)]", children: [
|
|
34625
34648
|
/* @__PURE__ */ jsxs206("div", { className: "flex min-w-0 flex-1 flex-col gap-[var(--spacing-system-zero)]", title: ticket.title, children: [
|
|
34626
34649
|
/* @__PURE__ */ jsx267("p", { className: "text-h3 truncate text-ods-text-primary", children: ticket.title }),
|
|
@@ -34786,7 +34809,7 @@ var TicketCardSkeleton = React104.forwardRef(
|
|
|
34786
34809
|
TicketCardSkeleton.displayName = "TicketCardSkeleton";
|
|
34787
34810
|
|
|
34788
34811
|
// src/components/features/board/board-column.tsx
|
|
34789
|
-
import { Fragment as
|
|
34812
|
+
import { Fragment as Fragment48, jsx as jsx269, jsxs as jsxs208 } from "react/jsx-runtime";
|
|
34790
34813
|
function BoardColumn({
|
|
34791
34814
|
column,
|
|
34792
34815
|
collapsed = false,
|
|
@@ -34825,7 +34848,7 @@ function BoardColumn({
|
|
|
34825
34848
|
onArchive: !collapsed && column.archivable && onArchive ? () => onArchive(column.id) : void 0
|
|
34826
34849
|
}
|
|
34827
34850
|
),
|
|
34828
|
-
!collapsed && /* @__PURE__ */ jsxs208(
|
|
34851
|
+
!collapsed && /* @__PURE__ */ jsxs208(Fragment48, { children: [
|
|
34829
34852
|
/* @__PURE__ */ jsx269("div", { "aria-hidden": true, className: "-mx-[var(--spacing-system-sf)] h-px shrink-0 bg-ods-border" }),
|
|
34830
34853
|
/* @__PURE__ */ jsx269(
|
|
34831
34854
|
ColumnBody,
|
|
@@ -34918,7 +34941,7 @@ function SkeletonStack({ count = 4 }) {
|
|
|
34918
34941
|
() => Array.from({ length: count }, () => Math.random().toString(36).slice(2)),
|
|
34919
34942
|
[count]
|
|
34920
34943
|
);
|
|
34921
|
-
return /* @__PURE__ */ jsx269(
|
|
34944
|
+
return /* @__PURE__ */ jsx269(Fragment48, { children: keys.map((k) => /* @__PURE__ */ jsx269(TicketCardSkeleton, {}, k)) });
|
|
34922
34945
|
}
|
|
34923
34946
|
function EmptyState2() {
|
|
34924
34947
|
return /* @__PURE__ */ jsxs208("div", { className: "flex flex-1 flex-col items-center justify-center gap-[var(--spacing-system-lf)] p-[var(--spacing-system-lf)] text-center text-ods-text-secondary", children: [
|
|
@@ -35336,7 +35359,7 @@ import { useRef as useRef44 } from "react";
|
|
|
35336
35359
|
import { usePreventScroll as usePreventScroll3 } from "@react-aria/overlays";
|
|
35337
35360
|
init_button2();
|
|
35338
35361
|
import { X as X10 } from "lucide-react";
|
|
35339
|
-
import { Fragment as
|
|
35362
|
+
import { Fragment as Fragment50, jsx as jsx272, jsxs as jsxs210 } from "react/jsx-runtime";
|
|
35340
35363
|
var MOBILE_NAV_PANEL_ID = "mobile-nav-panel";
|
|
35341
35364
|
function MobileNavPanel({ isOpen, config }) {
|
|
35342
35365
|
const panelRef = useRef44(null);
|
|
@@ -35392,7 +35415,7 @@ function MobileNavPanel({ isOpen, config }) {
|
|
|
35392
35415
|
item.id
|
|
35393
35416
|
);
|
|
35394
35417
|
};
|
|
35395
|
-
return /* @__PURE__ */ jsxs210(
|
|
35418
|
+
return /* @__PURE__ */ jsxs210(Fragment50, { children: [
|
|
35396
35419
|
/* @__PURE__ */ jsx272(
|
|
35397
35420
|
"div",
|
|
35398
35421
|
{
|
|
@@ -35495,7 +35518,7 @@ function MingoAiButton({ source, icon, label = "Mingo AI", className, onClick, .
|
|
|
35495
35518
|
}
|
|
35496
35519
|
|
|
35497
35520
|
// src/components/navigation/header.tsx
|
|
35498
|
-
import { Fragment as
|
|
35521
|
+
import { Fragment as Fragment51, jsx as jsx274, jsxs as jsxs212 } from "react/jsx-runtime";
|
|
35499
35522
|
function Header2({ config, platform }) {
|
|
35500
35523
|
const [show, setShow] = useState83(true);
|
|
35501
35524
|
const [lastScrollY, setLastScrollY] = useState83(0);
|
|
@@ -35640,7 +35663,7 @@ function Header2({ config, platform }) {
|
|
|
35640
35663
|
},
|
|
35641
35664
|
child.id
|
|
35642
35665
|
)) }),
|
|
35643
|
-
item.dropdownContent && /* @__PURE__ */ jsxs212(
|
|
35666
|
+
item.dropdownContent && /* @__PURE__ */ jsxs212(Fragment51, { children: [
|
|
35644
35667
|
item.showDropdownDivider !== false && /* @__PURE__ */ jsx274("div", { className: "h-px my-2 mx-2 bg-ods-border" }),
|
|
35645
35668
|
/* @__PURE__ */ jsx274("div", { className: "px-2 pb-2", children: item.dropdownContent })
|
|
35646
35669
|
] })
|
|
@@ -35831,7 +35854,7 @@ import { useState as useState85, useEffect as useEffect65, useRef as useRef46 }
|
|
|
35831
35854
|
import { motion as motion2, AnimatePresence, useReducedMotion } from "framer-motion";
|
|
35832
35855
|
import { usePreventScroll as usePreventScroll4 } from "@react-aria/overlays";
|
|
35833
35856
|
init_button2();
|
|
35834
|
-
import { Fragment as
|
|
35857
|
+
import { Fragment as Fragment52, jsx as jsx277, jsxs as jsxs214 } from "react/jsx-runtime";
|
|
35835
35858
|
function SlidingSidebar({ config }) {
|
|
35836
35859
|
const [expandedItems, setExpandedItems] = useState85(/* @__PURE__ */ new Set());
|
|
35837
35860
|
const [mounted, setMounted] = useState85(false);
|
|
@@ -35957,7 +35980,7 @@ function SlidingSidebar({ config }) {
|
|
|
35957
35980
|
if (!mounted) {
|
|
35958
35981
|
return null;
|
|
35959
35982
|
}
|
|
35960
|
-
return /* @__PURE__ */ jsxs214(
|
|
35983
|
+
return /* @__PURE__ */ jsxs214(Fragment52, { children: [
|
|
35961
35984
|
/* @__PURE__ */ jsx277(AnimatePresence, { children: config.isOpen && /* @__PURE__ */ jsx277(
|
|
35962
35985
|
motion2.div,
|
|
35963
35986
|
{
|
|
@@ -36258,7 +36281,7 @@ function NavigationSidebarToggle({
|
|
|
36258
36281
|
}
|
|
36259
36282
|
|
|
36260
36283
|
// src/components/navigation/navigation-sidebar.tsx
|
|
36261
|
-
import { Fragment as
|
|
36284
|
+
import { Fragment as Fragment53, jsx as jsx282, jsxs as jsxs219 } from "react/jsx-runtime";
|
|
36262
36285
|
var MINIMIZED_WIDTH = 56;
|
|
36263
36286
|
var EXPANDED_WIDTH = 224;
|
|
36264
36287
|
var STORAGE_KEY = "of.navigationSidebar.minimized";
|
|
@@ -36323,7 +36346,7 @@ function NavigationSidebar({ config, disabled = false }) {
|
|
|
36323
36346
|
return () => cancelAnimationFrame(id);
|
|
36324
36347
|
}
|
|
36325
36348
|
}, [isHydrated, transitionsEnabled]);
|
|
36326
|
-
return /* @__PURE__ */ jsxs219(
|
|
36349
|
+
return /* @__PURE__ */ jsxs219(Fragment53, { children: [
|
|
36327
36350
|
/* @__PURE__ */ jsx282(
|
|
36328
36351
|
"div",
|
|
36329
36352
|
{
|
|
@@ -36362,7 +36385,7 @@ function NavigationSidebar({ config, disabled = false }) {
|
|
|
36362
36385
|
),
|
|
36363
36386
|
style: { width: sidebarWidth },
|
|
36364
36387
|
"aria-label": "Main navigation sidebar",
|
|
36365
|
-
children: isHydrated && /* @__PURE__ */ jsxs219(
|
|
36388
|
+
children: isHydrated && /* @__PURE__ */ jsxs219(Fragment53, { children: [
|
|
36366
36389
|
/* @__PURE__ */ jsx282(NavigationSidebarHeader, { minimized }),
|
|
36367
36390
|
/* @__PURE__ */ jsxs219("div", { className: "flex-1 flex flex-col justify-between py-4 overflow-y-auto", children: [
|
|
36368
36391
|
/* @__PURE__ */ jsx282("nav", { className: "flex flex-col", "aria-label": "Primary navigation", children: primaryItems.map((item) => /* @__PURE__ */ jsx282(
|
|
@@ -36775,7 +36798,7 @@ import { Suspense as Suspense2, useCallback as useCallback37, useMemo as useMemo
|
|
|
36775
36798
|
// src/components/navigation/mobile-burger-menu.tsx
|
|
36776
36799
|
import React114, { useCallback as useCallback36, useRef as useRef48 } from "react";
|
|
36777
36800
|
import { usePreventScroll as usePreventScroll5 } from "@react-aria/overlays";
|
|
36778
|
-
import { Fragment as
|
|
36801
|
+
import { Fragment as Fragment54, jsx as jsx287, jsxs as jsxs224 } from "react/jsx-runtime";
|
|
36779
36802
|
var HEADER_HEIGHT = 48;
|
|
36780
36803
|
var MobileBurgerMenu = React114.memo(function MobileBurgerMenu2({
|
|
36781
36804
|
isOpen,
|
|
@@ -36843,7 +36866,7 @@ var MobileBurgerMenu = React114.memo(function MobileBurgerMenu2({
|
|
|
36843
36866
|
row.length === 1 && /* @__PURE__ */ jsx287("div", { className: "flex-1" })
|
|
36844
36867
|
] }, rowIndex)) });
|
|
36845
36868
|
};
|
|
36846
|
-
return /* @__PURE__ */ jsxs224(
|
|
36869
|
+
return /* @__PURE__ */ jsxs224(Fragment54, { children: [
|
|
36847
36870
|
/* @__PURE__ */ jsx287(
|
|
36848
36871
|
"div",
|
|
36849
36872
|
{
|
|
@@ -37607,7 +37630,7 @@ import React116, { useRef as useRef50, useCallback as useCallback38 } from "reac
|
|
|
37607
37630
|
import React115 from "react";
|
|
37608
37631
|
init_button2();
|
|
37609
37632
|
init_cn();
|
|
37610
|
-
import { Fragment as
|
|
37633
|
+
import { Fragment as Fragment55, jsx as jsx297, jsxs as jsxs234 } from "react/jsx-runtime";
|
|
37611
37634
|
function OnboardingStepCard({
|
|
37612
37635
|
step,
|
|
37613
37636
|
isCompleted,
|
|
@@ -37649,10 +37672,10 @@ function OnboardingStepCard({
|
|
|
37649
37672
|
/* @__PURE__ */ jsx297("h3", { className: "text-h4 text-ods-text-primary truncate", title: step.title, children: step.title }),
|
|
37650
37673
|
/* @__PURE__ */ jsx297("p", { className: "font-['DM_Sans'] font-medium text-[14px] leading-[20px] text-ods-text-secondary truncate h-[20px]", title: step.description, children: step.description })
|
|
37651
37674
|
] }),
|
|
37652
|
-
/* @__PURE__ */ jsx297("div", { className: "flex items-center gap-2 w-full md:w-auto justify-start md:justify-end shrink-0", onClick: (e) => e.stopPropagation(), children: isCheckingCompletion ? /* @__PURE__ */ jsxs234(
|
|
37675
|
+
/* @__PURE__ */ jsx297("div", { className: "flex items-center gap-2 w-full md:w-auto justify-start md:justify-end shrink-0", onClick: (e) => e.stopPropagation(), children: isCheckingCompletion ? /* @__PURE__ */ jsxs234(Fragment55, { children: [
|
|
37653
37676
|
/* @__PURE__ */ jsx297("div", { className: "h-[32px] w-[100px] bg-ods-border rounded-[6px] animate-pulse" }),
|
|
37654
37677
|
/* @__PURE__ */ jsx297("div", { className: "h-[32px] w-[120px] bg-ods-border rounded-[6px] animate-pulse" })
|
|
37655
|
-
] }) : isCompleted ? /* @__PURE__ */ jsxs234(
|
|
37678
|
+
] }) : isCompleted ? /* @__PURE__ */ jsxs234(Fragment55, { children: [
|
|
37656
37679
|
/* @__PURE__ */ jsx297(
|
|
37657
37680
|
StatusBadge,
|
|
37658
37681
|
{
|
|
@@ -37671,14 +37694,14 @@ function OnboardingStepCard({
|
|
|
37671
37694
|
children: step.completedText
|
|
37672
37695
|
}
|
|
37673
37696
|
)
|
|
37674
|
-
] }) : isSkipped ? /* @__PURE__ */ jsx297(
|
|
37697
|
+
] }) : isSkipped ? /* @__PURE__ */ jsx297(Fragment55, { children: /* @__PURE__ */ jsx297(
|
|
37675
37698
|
StatusBadge,
|
|
37676
37699
|
{
|
|
37677
37700
|
text: "SKIPPED",
|
|
37678
37701
|
variant: "card",
|
|
37679
37702
|
colorScheme: "default"
|
|
37680
37703
|
}
|
|
37681
|
-
) }) : /* @__PURE__ */ jsxs234(
|
|
37704
|
+
) }) : /* @__PURE__ */ jsxs234(Fragment55, { children: [
|
|
37682
37705
|
/* @__PURE__ */ jsx297(
|
|
37683
37706
|
Button,
|
|
37684
37707
|
{
|
|
@@ -38685,7 +38708,7 @@ function getHideClasses(hideAt) {
|
|
|
38685
38708
|
}
|
|
38686
38709
|
|
|
38687
38710
|
// src/components/ui/table/table-header.tsx
|
|
38688
|
-
import { Fragment as
|
|
38711
|
+
import { Fragment as Fragment56, jsx as jsx311, jsxs as jsxs245 } from "react/jsx-runtime";
|
|
38689
38712
|
function TableHeader({
|
|
38690
38713
|
columns,
|
|
38691
38714
|
className,
|
|
@@ -38796,10 +38819,10 @@ function TableHeader({
|
|
|
38796
38819
|
column.sortable && "cursor-pointer hover:text-ods-text-primary transition-colors"
|
|
38797
38820
|
),
|
|
38798
38821
|
onClick: () => handleSort(column),
|
|
38799
|
-
children: column.renderHeader ? /* @__PURE__ */ jsxs245(
|
|
38822
|
+
children: column.renderHeader ? /* @__PURE__ */ jsxs245(Fragment56, { children: [
|
|
38800
38823
|
column.renderHeader(),
|
|
38801
38824
|
getSortIcon(column)
|
|
38802
|
-
] }) : /* @__PURE__ */ jsxs245(
|
|
38825
|
+
] }) : /* @__PURE__ */ jsxs245(Fragment56, { children: [
|
|
38803
38826
|
/* @__PURE__ */ jsx311("span", { className: "text-h5 text-ods-text-secondary uppercase whitespace-nowrap", children: column.label }),
|
|
38804
38827
|
getSortIcon(column)
|
|
38805
38828
|
] })
|
|
@@ -38854,7 +38877,7 @@ function TableCell({
|
|
|
38854
38877
|
|
|
38855
38878
|
// src/components/ui/table/table-skeleton.tsx
|
|
38856
38879
|
init_cn();
|
|
38857
|
-
import { Fragment as
|
|
38880
|
+
import { Fragment as Fragment57, jsx as jsx313, jsxs as jsxs246 } from "react/jsx-runtime";
|
|
38858
38881
|
var ROW_HEIGHT_DESKTOP = "h-[68px] md:h-[80px]";
|
|
38859
38882
|
var ROW_HEIGHT_MOBILE = "h-[68px]";
|
|
38860
38883
|
function TableCardSkeleton({
|
|
@@ -38866,7 +38889,7 @@ function TableCardSkeleton({
|
|
|
38866
38889
|
rowClassName
|
|
38867
38890
|
}) {
|
|
38868
38891
|
const primaryKey = (columns.find((c) => /flex-(1|\[)/.test(c.width || "")) ?? columns[0])?.key;
|
|
38869
|
-
return /* @__PURE__ */ jsx313(
|
|
38892
|
+
return /* @__PURE__ */ jsx313(Fragment57, { children: Array.from({ length: rows }).map((_, index) => /* @__PURE__ */ jsxs246(
|
|
38870
38893
|
"div",
|
|
38871
38894
|
{
|
|
38872
38895
|
className: cn(
|
|
@@ -39045,7 +39068,7 @@ function useTableMotion(enabled) {
|
|
|
39045
39068
|
}
|
|
39046
39069
|
|
|
39047
39070
|
// src/components/ui/table/table.tsx
|
|
39048
|
-
import { Fragment as
|
|
39071
|
+
import { Fragment as Fragment58, jsx as jsx315, jsxs as jsxs248 } from "react/jsx-runtime";
|
|
39049
39072
|
function injectSyntheticColumns(columns, rowActions, renderRowActions, rowHref) {
|
|
39050
39073
|
const hasActions = Boolean(rowActions?.length) || Boolean(renderRowActions);
|
|
39051
39074
|
const result = [...columns];
|
|
@@ -39247,7 +39270,7 @@ function Table({
|
|
|
39247
39270
|
hasActions: Boolean(rowActions) && rowActions.length > 0,
|
|
39248
39271
|
hasChevron: Boolean(rowHref)
|
|
39249
39272
|
}
|
|
39250
|
-
) : data.length === 0 ? /* @__PURE__ */ jsx315(TableEmptyState, { message: emptyMessage }) : /* @__PURE__ */ jsxs248(
|
|
39273
|
+
) : data.length === 0 ? /* @__PURE__ */ jsx315(TableEmptyState, { message: emptyMessage }) : /* @__PURE__ */ jsxs248(Fragment58, { children: [
|
|
39251
39274
|
(() => {
|
|
39252
39275
|
const rows = data.map((item, index) => /* @__PURE__ */ jsx315(
|
|
39253
39276
|
TableRow,
|
|
@@ -39874,7 +39897,7 @@ function DataTableColumnFilter({
|
|
|
39874
39897
|
}
|
|
39875
39898
|
|
|
39876
39899
|
// src/components/ui/data-table/data-table-header.tsx
|
|
39877
|
-
import { Fragment as
|
|
39900
|
+
import { Fragment as Fragment59, jsx as jsx324, jsxs as jsxs255 } from "react/jsx-runtime";
|
|
39878
39901
|
function DataTableHeader({
|
|
39879
39902
|
className,
|
|
39880
39903
|
stickyHeader,
|
|
@@ -39970,7 +39993,7 @@ function HeaderLabel({ header }) {
|
|
|
39970
39993
|
if (typeof headerDef === "string") {
|
|
39971
39994
|
return /* @__PURE__ */ jsx324("span", { className: "text-h5 text-ods-text-secondary uppercase whitespace-nowrap transition-colors duration-200 group-hover:text-ods-text-primary", children: headerDef });
|
|
39972
39995
|
}
|
|
39973
|
-
return /* @__PURE__ */ jsx324(
|
|
39996
|
+
return /* @__PURE__ */ jsx324(Fragment59, { children: flexRender(headerDef, header.getContext()) });
|
|
39974
39997
|
}
|
|
39975
39998
|
function SortIcon({ sorted }) {
|
|
39976
39999
|
if (sorted === "asc") return /* @__PURE__ */ jsx324(Arrow01UpIcon, { className: "w-4 h-4 text-ods-accent" });
|
|
@@ -40009,7 +40032,7 @@ import { flexRender as flexRender2 } from "@tanstack/react-table";
|
|
|
40009
40032
|
|
|
40010
40033
|
// src/components/ui/data-table/data-table-skeleton.tsx
|
|
40011
40034
|
init_cn();
|
|
40012
|
-
import { Fragment as
|
|
40035
|
+
import { Fragment as Fragment60, jsx as jsx326, jsxs as jsxs256 } from "react/jsx-runtime";
|
|
40013
40036
|
var ROW_HEIGHT_DESKTOP2 = "h-[68px] md:h-[80px]";
|
|
40014
40037
|
var ROW_HEIGHT_MOBILE2 = "h-[68px]";
|
|
40015
40038
|
function DataTableSkeleton({
|
|
@@ -40020,7 +40043,7 @@ function DataTableSkeleton({
|
|
|
40020
40043
|
const table = useDataTableContext();
|
|
40021
40044
|
const columns = table.getVisibleFlatColumns();
|
|
40022
40045
|
const firstColumnId = columns[0]?.id;
|
|
40023
|
-
return /* @__PURE__ */ jsx326(
|
|
40046
|
+
return /* @__PURE__ */ jsx326(Fragment60, { children: Array.from({ length: rows }).map((_, index) => /* @__PURE__ */ jsxs256(
|
|
40024
40047
|
"div",
|
|
40025
40048
|
{
|
|
40026
40049
|
className: cn(
|
|
@@ -40076,7 +40099,7 @@ function DataTableSkeleton({
|
|
|
40076
40099
|
}
|
|
40077
40100
|
|
|
40078
40101
|
// src/components/ui/data-table/data-table-row.tsx
|
|
40079
|
-
import { Fragment as
|
|
40102
|
+
import { Fragment as Fragment61, jsx as jsx327, jsxs as jsxs257 } from "react/jsx-runtime";
|
|
40080
40103
|
function DataTableRowImpl({
|
|
40081
40104
|
row,
|
|
40082
40105
|
onClick,
|
|
@@ -40178,7 +40201,7 @@ function CellContent({ children }) {
|
|
|
40178
40201
|
if (typeof children === "string" || typeof children === "number") {
|
|
40179
40202
|
return /* @__PURE__ */ jsx327("span", { className: "text-h4 text-ods-text-primary truncate", title: String(children), children });
|
|
40180
40203
|
}
|
|
40181
|
-
return /* @__PURE__ */ jsx327(
|
|
40204
|
+
return /* @__PURE__ */ jsx327(Fragment61, { children });
|
|
40182
40205
|
}
|
|
40183
40206
|
|
|
40184
40207
|
// src/components/ui/data-table/data-table-body.tsx
|
|
@@ -40258,7 +40281,7 @@ function DataTableBody({
|
|
|
40258
40281
|
|
|
40259
40282
|
// src/components/ui/data-table/data-table-infinite-footer.tsx
|
|
40260
40283
|
import { useEffect as useEffect70, useRef as useRef56 } from "react";
|
|
40261
|
-
import { Fragment as
|
|
40284
|
+
import { Fragment as Fragment62, jsx as jsx329, jsxs as jsxs259 } from "react/jsx-runtime";
|
|
40262
40285
|
function DataTableInfiniteFooter({
|
|
40263
40286
|
hasNextPage,
|
|
40264
40287
|
isFetchingNextPage,
|
|
@@ -40282,7 +40305,7 @@ function DataTableInfiniteFooter({
|
|
|
40282
40305
|
observer.observe(sentinel);
|
|
40283
40306
|
return () => observer.disconnect();
|
|
40284
40307
|
}, [hasNextPage, isFetchingNextPage, rootMargin]);
|
|
40285
|
-
return /* @__PURE__ */ jsxs259(
|
|
40308
|
+
return /* @__PURE__ */ jsxs259(Fragment62, { children: [
|
|
40286
40309
|
isFetchingNextPage && /* @__PURE__ */ jsx329(DataTableSkeleton, { rows: skeletonRows }),
|
|
40287
40310
|
hasNextPage && /* @__PURE__ */ jsx329("div", { ref: sentinelRef, className: "h-1", "aria-hidden": "true" })
|
|
40288
40311
|
] });
|
|
@@ -41692,7 +41715,7 @@ function FileUpload({
|
|
|
41692
41715
|
import * as React127 from "react";
|
|
41693
41716
|
import { Loader2 as Loader211 } from "lucide-react";
|
|
41694
41717
|
init_cn();
|
|
41695
|
-
import { Fragment as
|
|
41718
|
+
import { Fragment as Fragment64, jsx as jsx336, jsxs as jsxs266 } from "react/jsx-runtime";
|
|
41696
41719
|
var DEFAULT_MAX_SIZE = 25 * 1024 * 1024;
|
|
41697
41720
|
function formatSize(bytes) {
|
|
41698
41721
|
const mb = bytes / (1024 * 1024);
|
|
@@ -41820,7 +41843,7 @@ function ImageUploader({
|
|
|
41820
41843
|
!hasImage && !interactive && "cursor-not-allowed",
|
|
41821
41844
|
dropzoneClassName
|
|
41822
41845
|
),
|
|
41823
|
-
children: hasImage ? /* @__PURE__ */ jsxs266(
|
|
41846
|
+
children: hasImage ? /* @__PURE__ */ jsxs266(Fragment64, { children: [
|
|
41824
41847
|
/* @__PURE__ */ jsx336("div", { className: "relative min-h-0 w-full flex-1 overflow-hidden rounded-md", children: /* @__PURE__ */ jsx336(
|
|
41825
41848
|
"img",
|
|
41826
41849
|
{
|
|
@@ -41857,7 +41880,7 @@ function ImageUploader({
|
|
|
41857
41880
|
)
|
|
41858
41881
|
] }),
|
|
41859
41882
|
loading && /* @__PURE__ */ jsx336("div", { className: "absolute inset-0 flex items-center justify-center rounded-md bg-ods-overlay", children: /* @__PURE__ */ jsx336(Loader211, { className: "size-8 animate-spin text-ods-text-on-dark" }) })
|
|
41860
|
-
] }) : loading ? /* @__PURE__ */ jsx336(Loader211, { className: "size-8 animate-spin text-ods-accent" }) : /* @__PURE__ */ jsxs266(
|
|
41883
|
+
] }) : loading ? /* @__PURE__ */ jsx336(Loader211, { className: "size-8 animate-spin text-ods-accent" }) : /* @__PURE__ */ jsxs266(Fragment64, { children: [
|
|
41861
41884
|
/* @__PURE__ */ jsx336("div", { className: "flex shrink-0 items-center justify-center rounded-full border border-ods-border bg-ods-card p-[var(--spacing-system-s)]", children: /* @__PURE__ */ jsx336(ImagePlusIcon, { className: "size-6 text-ods-text-primary" }) }),
|
|
41862
41885
|
/* @__PURE__ */ jsxs266("div", { className: "flex w-full flex-col items-center text-center", children: [
|
|
41863
41886
|
/* @__PURE__ */ jsx336("p", { className: "text-h4 text-ods-text-primary", children: label }),
|
|
@@ -41927,7 +41950,7 @@ PopoverContent.displayName = PopoverPrimitive7.Content.displayName;
|
|
|
41927
41950
|
|
|
41928
41951
|
// src/components/ui/color-preset-select.tsx
|
|
41929
41952
|
init_cn();
|
|
41930
|
-
import { Fragment as
|
|
41953
|
+
import { Fragment as Fragment65, jsx as jsx338, jsxs as jsxs267 } from "react/jsx-runtime";
|
|
41931
41954
|
var TICKET_STATUS_COLOR_PRESETS = [
|
|
41932
41955
|
{ key: "green", label: "Green", color: "#5ea62e" },
|
|
41933
41956
|
{ key: "lime", label: "Lime", color: "#8bc34a" },
|
|
@@ -42078,7 +42101,7 @@ function RgbInputs({ value, onChange }) {
|
|
|
42078
42101
|
const b = next.b ?? rgb.b;
|
|
42079
42102
|
onChange(rgbToHex(r, g, b));
|
|
42080
42103
|
};
|
|
42081
|
-
return /* @__PURE__ */ jsxs267(
|
|
42104
|
+
return /* @__PURE__ */ jsxs267(Fragment65, { children: [
|
|
42082
42105
|
/* @__PURE__ */ jsx338(ChannelInput, { value: rgb.r, min: 0, max: 255, ariaLabel: "Red", onCommit: (r) => update({ r }) }),
|
|
42083
42106
|
/* @__PURE__ */ jsx338(ChannelInput, { value: rgb.g, min: 0, max: 255, ariaLabel: "Green", onCommit: (g) => update({ g }) }),
|
|
42084
42107
|
/* @__PURE__ */ jsx338(ChannelInput, { value: rgb.b, min: 0, max: 255, ariaLabel: "Blue", onCommit: (b) => update({ b }) })
|
|
@@ -42094,7 +42117,7 @@ function HslInputs({ value, onChange }) {
|
|
|
42094
42117
|
const out = hslToRgb(h, s, l);
|
|
42095
42118
|
onChange(rgbToHex(out.r, out.g, out.b));
|
|
42096
42119
|
};
|
|
42097
|
-
return /* @__PURE__ */ jsxs267(
|
|
42120
|
+
return /* @__PURE__ */ jsxs267(Fragment65, { children: [
|
|
42098
42121
|
/* @__PURE__ */ jsx338(ChannelInput, { value: hsl.h, min: 0, max: 360, ariaLabel: "Hue", onCommit: (h) => update({ h }) }),
|
|
42099
42122
|
/* @__PURE__ */ jsx338(ChannelInput, { value: hsl.s, min: 0, max: 100, ariaLabel: "Saturation", onCommit: (s) => update({ s }) }),
|
|
42100
42123
|
/* @__PURE__ */ jsx338(ChannelInput, { value: hsl.l, min: 0, max: 100, ariaLabel: "Lightness", onCommit: (l) => update({ l }) })
|
|
@@ -42391,7 +42414,7 @@ init_cn();
|
|
|
42391
42414
|
// src/components/ui/ticket-note-card.tsx
|
|
42392
42415
|
import * as React131 from "react";
|
|
42393
42416
|
init_cn();
|
|
42394
|
-
import { Fragment as
|
|
42417
|
+
import { Fragment as Fragment66, jsx as jsx342, jsxs as jsxs271 } from "react/jsx-runtime";
|
|
42395
42418
|
function TicketNoteCard({ note, onEdit, onDelete, className }) {
|
|
42396
42419
|
const [isEditing, setIsEditing] = React131.useState(false);
|
|
42397
42420
|
const [editText, setEditText] = React131.useState(note.text);
|
|
@@ -42465,7 +42488,7 @@ function TicketNoteCard({ note, onEdit, onDelete, className }) {
|
|
|
42465
42488
|
children: /* @__PURE__ */ jsx342(XmarkIcon, { className: "size-5" })
|
|
42466
42489
|
}
|
|
42467
42490
|
)
|
|
42468
|
-
] }) : /* @__PURE__ */ jsxs271(
|
|
42491
|
+
] }) : /* @__PURE__ */ jsxs271(Fragment66, { children: [
|
|
42469
42492
|
/* @__PURE__ */ jsx342("p", { className: "text-h4 text-ods-text-primary", children: note.text }),
|
|
42470
42493
|
/* @__PURE__ */ jsxs271(
|
|
42471
42494
|
"p",
|
|
@@ -42572,7 +42595,7 @@ function TicketNotesSection({
|
|
|
42572
42595
|
}
|
|
42573
42596
|
|
|
42574
42597
|
// src/components/ui/ticket-info-section.tsx
|
|
42575
|
-
import { Fragment as
|
|
42598
|
+
import { Fragment as Fragment67, jsx as jsx344, jsxs as jsxs273 } from "react/jsx-runtime";
|
|
42576
42599
|
function InfoCell2({ value, label, icon, onClick }) {
|
|
42577
42600
|
return /* @__PURE__ */ jsx344("div", { className: "flex-1 min-w-0 overflow-hidden", children: /* @__PURE__ */ jsxs273("div", { className: "flex flex-col justify-center", children: [
|
|
42578
42601
|
/* @__PURE__ */ jsxs273("div", { className: "flex items-center gap-1 w-full min-w-0", children: [
|
|
@@ -42697,7 +42720,7 @@ function TicketInfoSection({
|
|
|
42697
42720
|
)
|
|
42698
42721
|
] })
|
|
42699
42722
|
] }),
|
|
42700
|
-
expanded && /* @__PURE__ */ jsxs273(
|
|
42723
|
+
expanded && /* @__PURE__ */ jsxs273(Fragment67, { children: [
|
|
42701
42724
|
createdAt && /* @__PURE__ */ jsx344("div", { className: "grid grid-cols-2 gap-4 px-4 py-3 bg-ods-bg border-b border-ods-border items-center", children: /* @__PURE__ */ jsx344(InfoCell2, { value: createdAt, label: "Created" }) }),
|
|
42702
42725
|
/* @__PURE__ */ jsxs273("div", { className: "flex flex-col gap-4 p-4 bg-ods-bg border-b border-ods-border", children: [
|
|
42703
42726
|
description && /* @__PURE__ */ jsx344(SimpleMarkdownRenderer, { content: description }),
|
|
@@ -42755,7 +42778,7 @@ function FilterPillRow({
|
|
|
42755
42778
|
|
|
42756
42779
|
// src/components/ui/image-gallery-modal.tsx
|
|
42757
42780
|
import { ChevronLeft as ChevronLeft4, ChevronRight as ChevronRight10 } from "lucide-react";
|
|
42758
|
-
import { Fragment as
|
|
42781
|
+
import { Fragment as Fragment68, jsx as jsx346, jsxs as jsxs275 } from "react/jsx-runtime";
|
|
42759
42782
|
function ImageGalleryModal({
|
|
42760
42783
|
images,
|
|
42761
42784
|
isOpen,
|
|
@@ -42811,7 +42834,7 @@ function ImageGalleryModal({
|
|
|
42811
42834
|
onClose,
|
|
42812
42835
|
className: "max-w-[95vw]",
|
|
42813
42836
|
children: /* @__PURE__ */ jsxs275("div", { className: "relative flex items-center justify-center bg-black rounded-lg", children: [
|
|
42814
|
-
images.length > 1 && /* @__PURE__ */ jsxs275(
|
|
42837
|
+
images.length > 1 && /* @__PURE__ */ jsxs275(Fragment68, { children: [
|
|
42815
42838
|
selectedImageIndex > 0 && /* @__PURE__ */ jsx346("div", { className: "absolute left-4 top-1/2 -translate-y-1/2 z-[10000]", children: /* @__PURE__ */ jsx346(
|
|
42816
42839
|
Button,
|
|
42817
42840
|
{
|
|
@@ -42929,7 +42952,7 @@ function TaskTypeIcon({ customItemId, className = "h-5 w-5" }) {
|
|
|
42929
42952
|
}
|
|
42930
42953
|
|
|
42931
42954
|
// src/components/chat/entity-cards/roadmap-card.tsx
|
|
42932
|
-
import { Fragment as
|
|
42955
|
+
import { Fragment as Fragment69, jsx as jsx348, jsxs as jsxs276 } from "react/jsx-runtime";
|
|
42933
42956
|
function RoadmapCardSkeleton({ size: size2 = "default" }) {
|
|
42934
42957
|
if (size2 === "sm") {
|
|
42935
42958
|
return /* @__PURE__ */ jsxs276("span", { className: COMPACT_CARD_SKELETON_OUTER, children: [
|
|
@@ -42991,7 +43014,7 @@ function RoadmapCard({
|
|
|
42991
43014
|
const hasScreenshots = (item.screenshots?.length ?? 0) > 0;
|
|
42992
43015
|
const typeLabel = getTaskTypeLabel(item.customItemId);
|
|
42993
43016
|
const useTypeIcon = cardType === "internal_task" || !iconSrc && item.customItemId != null;
|
|
42994
|
-
const body = /* @__PURE__ */ jsxs276(
|
|
43017
|
+
const body = /* @__PURE__ */ jsxs276(Fragment69, { children: [
|
|
42995
43018
|
/* @__PURE__ */ jsx348(
|
|
42996
43019
|
"span",
|
|
42997
43020
|
{
|
|
@@ -43183,7 +43206,7 @@ function RoadmapCard({
|
|
|
43183
43206
|
// src/components/chat/entity-cards/github-activity-card.tsx
|
|
43184
43207
|
import React134 from "react";
|
|
43185
43208
|
import { GitPullRequest, Eye as Eye4, ExternalLink as ExternalLink8 } from "lucide-react";
|
|
43186
|
-
import { Fragment as
|
|
43209
|
+
import { Fragment as Fragment70, jsx as jsx349, jsxs as jsxs277 } from "react/jsx-runtime";
|
|
43187
43210
|
function parseRepoFromUrl(url) {
|
|
43188
43211
|
if (!url) return null;
|
|
43189
43212
|
try {
|
|
@@ -43315,7 +43338,7 @@ function GitHubActivityCard({ item, variant = "compact", className, anchorProps
|
|
|
43315
43338
|
if (repo) metaParts.push(/* @__PURE__ */ jsx349("span", { className: "font-mono truncate", children: repo }, "repo"));
|
|
43316
43339
|
if (dateText) metaParts.push(/* @__PURE__ */ jsx349("span", { className: "whitespace-nowrap", children: dateText }, "date"));
|
|
43317
43340
|
const href = safeHref(item.url);
|
|
43318
|
-
const body = /* @__PURE__ */ jsxs277(
|
|
43341
|
+
const body = /* @__PURE__ */ jsxs277(Fragment70, { children: [
|
|
43319
43342
|
/* @__PURE__ */ jsx349("span", { className: COMPACT_CARD_ICON_SLOT, children: kindIcon(kind, "h-5 w-5") }),
|
|
43320
43343
|
/* @__PURE__ */ jsxs277("span", { className: COMPACT_CARD_TEXT_COL, children: [
|
|
43321
43344
|
/* @__PURE__ */ jsxs277("span", { className: `${COMPACT_CARD_TITLE_ROW} flex-nowrap gap-1.5`, children: [
|
|
@@ -43370,7 +43393,7 @@ function GitHubActivityCardSkeleton({ variant = "compact", className }) {
|
|
|
43370
43393
|
// src/components/chat/entity-cards/slack-message-card.tsx
|
|
43371
43394
|
import React135 from "react";
|
|
43372
43395
|
import { ExternalLink as ExternalLink9, Hash } from "lucide-react";
|
|
43373
|
-
import { Fragment as
|
|
43396
|
+
import { Fragment as Fragment71, jsx as jsx350, jsxs as jsxs278 } from "react/jsx-runtime";
|
|
43374
43397
|
function parseChannelFromUrl(url) {
|
|
43375
43398
|
if (!url) return null;
|
|
43376
43399
|
try {
|
|
@@ -43409,7 +43432,7 @@ function SlackMessageCard({ item, variant = "compact", className, anchorProps })
|
|
|
43409
43432
|
}
|
|
43410
43433
|
if (dateText) metaParts.push(/* @__PURE__ */ jsx350("span", { className: "whitespace-nowrap", children: dateText }, "date"));
|
|
43411
43434
|
const href = safeHref(item.url);
|
|
43412
|
-
const body = /* @__PURE__ */ jsxs278(
|
|
43435
|
+
const body = /* @__PURE__ */ jsxs278(Fragment71, { children: [
|
|
43413
43436
|
/* @__PURE__ */ jsx350("span", { className: COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ jsx350(SlackIcon, { className: "h-5 w-5" }) }),
|
|
43414
43437
|
/* @__PURE__ */ jsxs278("span", { className: COMPACT_CARD_TEXT_COL, children: [
|
|
43415
43438
|
/* @__PURE__ */ jsx350("span", { className: COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ jsx350("span", { className: COMPACT_CARD_TITLE, children: item.title }) }),
|
|
@@ -43459,7 +43482,7 @@ function SlackMessageCardSkeleton({ variant = "compact", className }) {
|
|
|
43459
43482
|
// src/components/chat/entity-cards/hubspot-ticket-card.tsx
|
|
43460
43483
|
import React136 from "react";
|
|
43461
43484
|
import { ExternalLink as ExternalLink10 } from "lucide-react";
|
|
43462
|
-
import { Fragment as
|
|
43485
|
+
import { Fragment as Fragment72, jsx as jsx351, jsxs as jsxs279 } from "react/jsx-runtime";
|
|
43463
43486
|
function formatToken(token) {
|
|
43464
43487
|
if (!token) return null;
|
|
43465
43488
|
const lower = token.toLowerCase().replace(/_/g, " ");
|
|
@@ -43498,7 +43521,7 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
43498
43521
|
}
|
|
43499
43522
|
if (dateText) metaParts.push(/* @__PURE__ */ jsx351("span", { className: "whitespace-nowrap", children: dateText }, "date"));
|
|
43500
43523
|
const href = safeHref(item.url);
|
|
43501
|
-
const body = /* @__PURE__ */ jsxs279(
|
|
43524
|
+
const body = /* @__PURE__ */ jsxs279(Fragment72, { children: [
|
|
43502
43525
|
/* @__PURE__ */ jsxs279("span", { className: COMPACT_CARD_TEXT_COL, children: [
|
|
43503
43526
|
/* @__PURE__ */ jsxs279("span", { className: "flex flex-wrap items-center gap-1.5 min-w-0", children: [
|
|
43504
43527
|
/* @__PURE__ */ jsx351("span", { className: `${COMPACT_CARD_TITLE} shrink min-w-0`, children: item.title }),
|
|
@@ -43578,9 +43601,9 @@ function HubspotTicketCardSkeleton({ variant = "compact", className }) {
|
|
|
43578
43601
|
|
|
43579
43602
|
// src/components/chat/entity-cards/data-room-doc-card.tsx
|
|
43580
43603
|
import { ExternalLink as ExternalLink11 } from "lucide-react";
|
|
43581
|
-
import { Fragment as
|
|
43604
|
+
import { Fragment as Fragment73, jsx as jsx352, jsxs as jsxs280 } from "react/jsx-runtime";
|
|
43582
43605
|
function DataRoomDocCard({ item, className, badgeText, anchorProps }) {
|
|
43583
|
-
const body = /* @__PURE__ */ jsxs280(
|
|
43606
|
+
const body = /* @__PURE__ */ jsxs280(Fragment73, { children: [
|
|
43584
43607
|
/* @__PURE__ */ jsxs280("span", { className: COMPACT_CARD_TEXT_COL, children: [
|
|
43585
43608
|
/* @__PURE__ */ jsxs280("span", { className: "flex flex-wrap items-center gap-1.5 min-w-0", children: [
|
|
43586
43609
|
/* @__PURE__ */ jsx352("span", { className: `${COMPACT_CARD_TITLE} shrink min-w-0`, children: item.title }),
|
|
@@ -45190,7 +45213,7 @@ function cleanEscapedString(input) {
|
|
|
45190
45213
|
init_button();
|
|
45191
45214
|
import { ExternalLink as ExternalLink12, Clock as Clock2, Play as Play4, Video as Video8 } from "lucide-react";
|
|
45192
45215
|
init_cn();
|
|
45193
|
-
import { Fragment as
|
|
45216
|
+
import { Fragment as Fragment74, jsx as jsx353, jsxs as jsxs281 } from "react/jsx-runtime";
|
|
45194
45217
|
function formatUtc(date, fmt) {
|
|
45195
45218
|
return format2(new Date(date.getTime() + date.getTimezoneOffset() * 6e4), fmt);
|
|
45196
45219
|
}
|
|
@@ -45265,7 +45288,7 @@ function MediaGallery({ images, title }) {
|
|
|
45265
45288
|
setIsModalOpen(false);
|
|
45266
45289
|
setSelectedImageIndex(null);
|
|
45267
45290
|
};
|
|
45268
|
-
return /* @__PURE__ */ jsxs281(
|
|
45291
|
+
return /* @__PURE__ */ jsxs281(Fragment74, { children: [
|
|
45269
45292
|
/* @__PURE__ */ jsx353("div", { className: "p-6 pt-4", children: /* @__PURE__ */ jsx353("div", { className: "overflow-x-auto mb-4", children: /* @__PURE__ */ jsx353("div", { className: "flex gap-3 pb-2", style: { width: "max-content" }, children: images.map((mediaItem, index) => /* @__PURE__ */ jsxs281(
|
|
45270
45293
|
"div",
|
|
45271
45294
|
{
|
|
@@ -45407,7 +45430,7 @@ function ProgramCard({
|
|
|
45407
45430
|
const dateFormat = formatUtc(itemDate, "EEEE d MMMM");
|
|
45408
45431
|
const defaultRenderMeta = () => {
|
|
45409
45432
|
if (config.type === "podcast" && "duration_seconds" in item && !isScheduled) {
|
|
45410
|
-
return /* @__PURE__ */ jsxs281(
|
|
45433
|
+
return /* @__PURE__ */ jsxs281(Fragment74, { children: [
|
|
45411
45434
|
/* @__PURE__ */ jsx353(Clock2, { className: "w-4 h-4 text-ods-text-secondary" }),
|
|
45412
45435
|
/* @__PURE__ */ jsx353("span", { className: "font-['DM_Sans'] text-ods-text-secondary", children: formatDurationCompact(item.duration_seconds) })
|
|
45413
45436
|
] });
|
|
@@ -45418,7 +45441,7 @@ function ProgramCard({
|
|
|
45418
45441
|
if (config.type === "webinar" && "start_at" in item) {
|
|
45419
45442
|
const webinarItem = item;
|
|
45420
45443
|
const duration = formatDurationFromRange(webinarItem.start_at, webinarItem.end_at);
|
|
45421
|
-
return /* @__PURE__ */ jsxs281(
|
|
45444
|
+
return /* @__PURE__ */ jsxs281(Fragment74, { children: [
|
|
45422
45445
|
/* @__PURE__ */ jsx353(Video8, { className: "w-4 h-4 text-ods-text-secondary" }),
|
|
45423
45446
|
/* @__PURE__ */ jsxs281("span", { className: "font-['DM_Sans'] text-ods-text-secondary", children: [
|
|
45424
45447
|
formatTimeWithTimezone(webinarItem.start_at, webinarItem.timezone ?? null),
|
|
@@ -45452,10 +45475,10 @@ function ProgramCard({
|
|
|
45452
45475
|
/* @__PURE__ */ jsx353("h3", { className: "font-['Azeret_Mono'] font-semibold text-xl md:text-2xl text-ods-text-primary leading-tight mb-3 min-h-[3rem] md:min-h-[3.5rem] line-clamp-2 flex items-center", children: item.title }),
|
|
45453
45476
|
/* @__PURE__ */ jsxs281("div", { className: "flex flex-col md:flex-row md:items-center gap-2 md:gap-4 mb-4", children: [
|
|
45454
45477
|
/* @__PURE__ */ jsx353("span", { className: "font-['DM_Sans'] font-medium", style: { color: accentColor }, children: dateFormat }),
|
|
45455
|
-
renderMeta ? /* @__PURE__ */ jsxs281(
|
|
45478
|
+
renderMeta ? /* @__PURE__ */ jsxs281(Fragment74, { children: [
|
|
45456
45479
|
/* @__PURE__ */ jsx353("span", { className: "hidden md:inline text-ods-text-secondary", children: "\u2022" }),
|
|
45457
45480
|
renderMeta(item)
|
|
45458
|
-
] }) : defaultRenderMeta() && /* @__PURE__ */ jsxs281(
|
|
45481
|
+
] }) : defaultRenderMeta() && /* @__PURE__ */ jsxs281(Fragment74, { children: [
|
|
45459
45482
|
/* @__PURE__ */ jsx353("span", { className: "hidden md:inline text-ods-text-secondary", children: "\u2022" }),
|
|
45460
45483
|
/* @__PURE__ */ jsx353("div", { className: "flex items-center gap-2", children: defaultRenderMeta() })
|
|
45461
45484
|
] })
|
|
@@ -45532,10 +45555,10 @@ function ProgramCard({
|
|
|
45532
45555
|
|
|
45533
45556
|
// src/components/chat/entity-cards/campaign-card-admin.tsx
|
|
45534
45557
|
import { Megaphone as Megaphone3 } from "lucide-react";
|
|
45535
|
-
import { Fragment as
|
|
45558
|
+
import { Fragment as Fragment75, jsx as jsx354, jsxs as jsxs282 } from "react/jsx-runtime";
|
|
45536
45559
|
function CampaignCardAdmin({ campaign, className, anchorProps }) {
|
|
45537
45560
|
const goalsCount = campaign.goals?.length || 0;
|
|
45538
|
-
const innerChildren = /* @__PURE__ */ jsxs282(
|
|
45561
|
+
const innerChildren = /* @__PURE__ */ jsxs282(Fragment75, { children: [
|
|
45539
45562
|
/* @__PURE__ */ jsx354("span", { className: COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ jsx354(Megaphone3, { className: "h-5 w-5" }) }),
|
|
45540
45563
|
/* @__PURE__ */ jsxs282("span", { className: COMPACT_CARD_TEXT_COL, children: [
|
|
45541
45564
|
/* @__PURE__ */ jsx354("span", { className: COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ jsx354("span", { className: COMPACT_CARD_TITLE, children: campaign.name }) }),
|
|
@@ -45565,11 +45588,11 @@ function CampaignCardAdminSkeleton({ className }) {
|
|
|
45565
45588
|
|
|
45566
45589
|
// src/components/chat/entity-cards/generic-entity-card.tsx
|
|
45567
45590
|
import { ExternalLink as ExternalLink13 } from "lucide-react";
|
|
45568
|
-
import { Fragment as
|
|
45591
|
+
import { Fragment as Fragment76, jsx as jsx355, jsxs as jsxs283 } from "react/jsx-runtime";
|
|
45569
45592
|
function GenericEntityCard({ item, className, anchorProps }) {
|
|
45570
45593
|
const href = safeHref(item.url);
|
|
45571
45594
|
const dateText = formatDateUTC(item.dateUpdated, { fallback: "", timezone: "local" });
|
|
45572
|
-
const body = /* @__PURE__ */ jsxs283(
|
|
45595
|
+
const body = /* @__PURE__ */ jsxs283(Fragment76, { children: [
|
|
45573
45596
|
/* @__PURE__ */ jsxs283("span", { className: COMPACT_CARD_TEXT_COL, children: [
|
|
45574
45597
|
/* @__PURE__ */ jsxs283("span", { className: "flex flex-wrap items-center gap-1.5 min-w-0", children: [
|
|
45575
45598
|
/* @__PURE__ */ jsx355("span", { className: `${COMPACT_CARD_TITLE} shrink min-w-0`, children: item.title }),
|
|
@@ -45754,7 +45777,7 @@ function resolveSourceIcon(input, ctx = {}) {
|
|
|
45754
45777
|
|
|
45755
45778
|
// src/components/chat/mingo-info-card.tsx
|
|
45756
45779
|
init_cn();
|
|
45757
|
-
import { Fragment as
|
|
45780
|
+
import { Fragment as Fragment77, jsx as jsx356, jsxs as jsxs284 } from "react/jsx-runtime";
|
|
45758
45781
|
function CardMedia({
|
|
45759
45782
|
imageSrc,
|
|
45760
45783
|
imageAlt,
|
|
@@ -45798,7 +45821,7 @@ function MingoInfoCard({
|
|
|
45798
45821
|
const hasMenu = !!menuGroups && menuGroups.length > 0;
|
|
45799
45822
|
const isAnchor = !!anchorProps;
|
|
45800
45823
|
const isInteractive = isAnchor || !!onClick;
|
|
45801
|
-
const content = /* @__PURE__ */ jsxs284(
|
|
45824
|
+
const content = /* @__PURE__ */ jsxs284(Fragment77, { children: [
|
|
45802
45825
|
hasMedia && /* @__PURE__ */ jsx356(CardMedia, { imageSrc, imageAlt, icon }),
|
|
45803
45826
|
/* @__PURE__ */ jsxs284("span", { className: "flex min-w-0 flex-1 flex-col justify-center", children: [
|
|
45804
45827
|
/* @__PURE__ */ jsx356("span", { className: "truncate text-h4 font-medium text-ods-text-primary", children: title }),
|
|
@@ -45847,7 +45870,7 @@ function MingoInfoCard({
|
|
|
45847
45870
|
}
|
|
45848
45871
|
|
|
45849
45872
|
// src/components/chat/entity-cards/dispatch.tsx
|
|
45850
|
-
import { Fragment as
|
|
45873
|
+
import { Fragment as Fragment78, jsx as jsx357, jsxs as jsxs285 } from "react/jsx-runtime";
|
|
45851
45874
|
function githubKindIcon(kind) {
|
|
45852
45875
|
switch (kind) {
|
|
45853
45876
|
case "pull_request":
|
|
@@ -46815,10 +46838,10 @@ function ChatCardLoader({
|
|
|
46815
46838
|
}
|
|
46816
46839
|
);
|
|
46817
46840
|
}
|
|
46818
|
-
if (isLoading) return /* @__PURE__ */ jsx357(
|
|
46841
|
+
if (isLoading) return /* @__PURE__ */ jsx357(Fragment78, { children: entry.skeleton() });
|
|
46819
46842
|
if (!item) return null;
|
|
46820
46843
|
if (entry.bareInline) {
|
|
46821
|
-
return /* @__PURE__ */ jsx357(
|
|
46844
|
+
return /* @__PURE__ */ jsx357(Fragment78, { children: navWrap(entry.render(item, finalChatRef, renderOpts)) });
|
|
46822
46845
|
}
|
|
46823
46846
|
return /* @__PURE__ */ jsx357(
|
|
46824
46847
|
ChatCardWithDiscuss,
|
|
@@ -51652,7 +51675,7 @@ function useChatDialogManager({
|
|
|
51652
51675
|
|
|
51653
51676
|
// src/components/chat/embeddable-chat.tsx
|
|
51654
51677
|
init_next_navigation();
|
|
51655
|
-
import { Fragment as
|
|
51678
|
+
import { Fragment as Fragment79, jsx as jsx361, jsxs as jsxs286 } from "react/jsx-runtime";
|
|
51656
51679
|
var formatRelativePath = (p) => p.replace(/^\/+/, "").replace(/\/+$/, "");
|
|
51657
51680
|
var mentionTokenOf = (key, markerByType) => {
|
|
51658
51681
|
const ci = key.indexOf(":");
|
|
@@ -51772,7 +51795,7 @@ function SourceChip({
|
|
|
51772
51795
|
);
|
|
51773
51796
|
}
|
|
51774
51797
|
const displayName = src.name || formatRelativePath(src.path);
|
|
51775
|
-
const chipBody = (label) => /* @__PURE__ */ jsxs286(
|
|
51798
|
+
const chipBody = (label) => /* @__PURE__ */ jsxs286(Fragment79, { children: [
|
|
51776
51799
|
icon,
|
|
51777
51800
|
/* @__PURE__ */ jsxs286("span", { className: "truncate max-w-[160px]", children: [
|
|
51778
51801
|
"[",
|
|
@@ -52736,7 +52759,7 @@ function EmbeddableChatInner({
|
|
|
52736
52759
|
]
|
|
52737
52760
|
}
|
|
52738
52761
|
) }) });
|
|
52739
|
-
return /* @__PURE__ */ jsxs286(
|
|
52762
|
+
return /* @__PURE__ */ jsxs286(Fragment79, { children: [
|
|
52740
52763
|
showInternalTrigger && !shellLess && /* @__PURE__ */ jsx361(
|
|
52741
52764
|
"div",
|
|
52742
52765
|
{
|
|
@@ -53738,4 +53761,4 @@ export {
|
|
|
53738
53761
|
LogsList,
|
|
53739
53762
|
assets
|
|
53740
53763
|
};
|
|
53741
|
-
//# sourceMappingURL=chunk-
|
|
53764
|
+
//# sourceMappingURL=chunk-6PTETC3Z.js.map
|