@flamingo-stack/openframe-frontend-core 0.0.741 → 0.0.742
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-BV5WZVOP.cjs → chunk-32Q7K5OP.cjs} +254 -254
- package/dist/{chunk-I6UE6YVM.cjs → chunk-3LW43GIJ.cjs} +6 -6
- package/dist/{chunk-VA7OMDZO.cjs → chunk-4FWURR3W.cjs} +50 -50
- package/dist/{chunk-EKGL5K5K.cjs → chunk-4LDU32OB.cjs} +17 -17
- package/dist/{chunk-IK2RJUEA.cjs → chunk-4PKORVOX.cjs} +724 -724
- package/dist/{chunk-4XL4YEZM.cjs → chunk-54EA4RLX.cjs} +8 -8
- package/dist/{chunk-YXKB5WRE.cjs → chunk-5MH6BRPY.cjs} +36 -36
- package/dist/{chunk-PQ2M7P2U.cjs → chunk-5TCIRWHL.cjs} +9 -9
- package/dist/{chunk-7ZFCR7UY.cjs → chunk-ABLUMGCI.cjs} +3 -3
- package/dist/{chunk-PX7FY655.cjs → chunk-ASMNNSUQ.cjs} +3 -3
- package/dist/{chunk-HF7Z2E4W.cjs → chunk-BI3XBCQX.cjs} +2 -2
- package/dist/{chunk-SA7LDEVJ.cjs → chunk-CSJO7ZGN.cjs} +3 -3
- package/dist/{chunk-VOX4E6AX.cjs → chunk-DGFDBPO7.cjs} +7 -5
- package/dist/{chunk-YQ37ZCD2.cjs → chunk-DNFSMVXJ.cjs} +16 -16
- package/dist/{chunk-B3XBJCOD.cjs → chunk-H3UA7UY5.cjs} +7 -7
- package/dist/{chunk-JFS6TZDX.cjs → chunk-HDBY2URA.cjs} +64 -64
- package/dist/{chunk-QEUGYHFB.cjs → chunk-HIRVNBX5.cjs} +20 -20
- package/dist/{chunk-ZJPDGVA6.cjs → chunk-ISJXKKYW.cjs} +28 -28
- package/dist/{chunk-FICJS5OA.cjs → chunk-KTPR66EE.cjs} +4 -4
- package/dist/{chunk-FQN6STIM.cjs → chunk-L34TKFTS.cjs} +20 -20
- package/dist/{chunk-AAFW4STC.cjs → chunk-LU7TD6QS.cjs} +5 -5
- package/dist/{chunk-3HPB4H4C.cjs → chunk-NTGIQP7O.cjs} +7 -7
- package/dist/{chunk-WBANGORJ.cjs → chunk-OBODY7F3.cjs} +3 -3
- package/dist/{chunk-GABDE3FM.cjs → chunk-OWGLRE74.cjs} +19 -19
- package/dist/{chunk-CWRVTQUO.cjs → chunk-PS6T65KA.cjs} +101 -101
- package/dist/{chunk-IFS4AH77.cjs → chunk-QYLIHZKZ.cjs} +10 -10
- package/dist/{chunk-GVTDVS5U.cjs → chunk-R34JD6NP.cjs} +3 -3
- package/dist/{chunk-LZ6NOVXX.cjs → chunk-R6SCSV2I.cjs} +103 -103
- package/dist/{chunk-XJ36TEGE.cjs → chunk-T433HSL6.cjs} +47 -47
- package/dist/{chunk-DSVNFRY5.cjs → chunk-U2O5YQRP.cjs} +38 -38
- package/dist/{chunk-O67V3HJR.cjs → chunk-URVIPSAJ.cjs} +24 -24
- package/dist/{chunk-HYBMADYO.cjs → chunk-UWHCRIQQ.cjs} +22 -22
- package/dist/{chunk-GSWQZX23.cjs → chunk-UY6A6TEY.cjs} +2 -2
- package/dist/{chunk-ITPEFCQ2.cjs → chunk-UZLRSFGG.cjs} +32 -32
- package/dist/{chunk-DUVOQHQI.cjs → chunk-W2RM764D.cjs} +7 -7
- package/dist/{chunk-NTJE6SM6.cjs → chunk-WI2OTGKC.cjs} +2 -2
- package/dist/{chunk-SFY4UYPY.cjs → chunk-WIHHA54J.cjs} +44 -44
- package/dist/{chunk-YRE3O65E.cjs → chunk-XAA5EZ5T.cjs} +12 -12
- package/dist/{chunk-KLI4OSRA.cjs → chunk-YQGDXH3M.cjs} +2 -2
- package/dist/{chunk-ZYOS7LVQ.cjs → chunk-Z2DQYKZA.cjs} +89 -89
- package/dist/{chunk-5SVOGLNK.cjs → chunk-ZIFYSLIM.cjs} +6 -6
- package/dist/{cloud-tenants-MVJK52I2.cjs → cloud-tenants-6ICAL3HO.cjs} +24 -24
- package/dist/components/case-studies/index.cjs +37 -37
- package/dist/components/chat/index.cjs +17 -17
- package/dist/components/contact/index.cjs +25 -25
- package/dist/components/docs/index.cjs +28 -28
- package/dist/components/embeds/index.cjs +25 -25
- package/dist/components/faq/index.cjs +26 -26
- package/dist/components/features/index.cjs +24 -24
- package/dist/components/help-center-pages/index.cjs +144 -144
- package/dist/components/index.cjs +85 -85
- package/dist/components/meeting-scheduler/index.cjs +74 -74
- package/dist/components/navigation/index.cjs +27 -27
- package/dist/components/onboarding-guides/index.cjs +27 -27
- package/dist/components/product-demo/index.cjs +9 -9
- package/dist/components/related-content/index.cjs +12 -12
- package/dist/components/tickets/index.cjs +30 -30
- package/dist/components/ui/index.cjs +24 -24
- package/dist/{devices-W3S7Q2PG.cjs → devices-OFP2IBKN.cjs} +25 -25
- package/dist/{embeddable-chat-6JKKFQEB.cjs → embeddable-chat-4C22MGNC.cjs} +92 -92
- package/dist/hooks/index.cjs +10 -10
- package/dist/index.cjs +30 -30
- package/dist/{knowledge-AIYQ4FC3.cjs → knowledge-KKBCSNUA.cjs} +25 -25
- package/dist/{logs-7SHJ2ARE.cjs → logs-X2GRNO57.cjs} +32 -32
- package/dist/{policies-EIZJ5SUP.cjs → policies-35BXKB6P.cjs} +28 -28
- package/dist/{remote-session-BZMNE6D2.cjs → remote-session-N4PJB5FW.cjs} +10 -10
- package/dist/{scripts-J2FWC7E4.cjs → scripts-KQYVQOLU.cjs} +31 -31
- package/dist/{software-update-QAMNASVF.cjs → software-update-ED33WSKT.cjs} +28 -28
- package/dist/{tickets-board-CEDHD3KB.cjs → tickets-board-O753S4ZB.cjs} +14 -14
- package/dist/utils/embed-authed-fetch.d.ts +33 -0
- package/dist/utils/embed-authed-fetch.d.ts.map +1 -1
- package/dist/utils/embed-authed-fetch.js +3 -1
- package/dist/utils/index.cjs +3 -1
- package/dist/{video-file-player-ZH2ILAPO.cjs → video-file-player-QZ3YOLHO.cjs} +2 -2
- package/package.json +1 -1
- package/src/utils/embed-authed-fetch.ts +42 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkOBODY7F3cjs = require('./chunk-OBODY7F3.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkUWHCRIQQcjs = require('./chunk-UWHCRIQQ.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
@@ -14,13 +14,13 @@ var _chunkHEVW75L3cjs = require('./chunk-HEVW75L3.cjs');
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunk4PKORVOXcjs = require('./chunk-4PKORVOX.cjs');
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
var
|
|
20
|
+
var _chunkU2O5YQRPcjs = require('./chunk-U2O5YQRP.cjs');
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
var
|
|
23
|
+
var _chunkPS6T65KAcjs = require('./chunk-PS6T65KA.cjs');
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
@@ -29,10 +29,10 @@ var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
|
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
var
|
|
32
|
+
var _chunk5MH6BRPYcjs = require('./chunk-5MH6BRPY.cjs');
|
|
33
33
|
|
|
34
34
|
|
|
35
|
-
var
|
|
35
|
+
var _chunkUY6A6TEYcjs = require('./chunk-UY6A6TEY.cjs');
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
var _chunkV45KLJQPcjs = require('./chunk-V45KLJQP.cjs');
|
|
@@ -45,7 +45,7 @@ var _jsxruntime = require('react/jsx-runtime');
|
|
|
45
45
|
function ListEmptyState({ isFiltered, filtered, onClearFilters, empty }) {
|
|
46
46
|
if (isFiltered) {
|
|
47
47
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
48
|
-
|
|
48
|
+
_chunkOBODY7F3cjs.EmptyState,
|
|
49
49
|
{
|
|
50
50
|
type: "search",
|
|
51
51
|
title: filtered.title,
|
|
@@ -58,7 +58,7 @@ function ListEmptyState({ isFiltered, filtered, onClearFilters, empty }) {
|
|
|
58
58
|
}
|
|
59
59
|
const hasCta = Boolean(empty.ctaText && (empty.onCtaClick || empty.ctaHref));
|
|
60
60
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
61
|
-
|
|
61
|
+
_chunkOBODY7F3cjs.EmptyState,
|
|
62
62
|
{
|
|
63
63
|
type: "generic",
|
|
64
64
|
title: empty.title,
|
|
@@ -75,7 +75,7 @@ function ListEmptyState({ isFiltered, filtered, onClearFilters, empty }) {
|
|
|
75
75
|
var _react = require('react');
|
|
76
76
|
|
|
77
77
|
function DevSectionView({ sectionKey, hero, preControls, children, showHeading = true }) {
|
|
78
|
-
const section =
|
|
78
|
+
const section = _chunkPS6T65KAcjs.OPENFRAME_DEV_SECTIONS[sectionKey];
|
|
79
79
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
80
80
|
const pathname = _chunk7DNL734Scjs.usePathname.call(void 0, );
|
|
81
81
|
const searchParams = _chunk7DNL734Scjs.useSearchParams.call(void 0, );
|
|
@@ -126,7 +126,7 @@ function DevSectionView({ sectionKey, hero, preControls, children, showHeading =
|
|
|
126
126
|
preControls,
|
|
127
127
|
(search || filter) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
|
|
128
128
|
search && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
129
|
-
|
|
129
|
+
_chunk4PKORVOXcjs.SearchInput,
|
|
130
130
|
{
|
|
131
131
|
showDropdown: false,
|
|
132
132
|
placeholder: search.placeholder,
|
|
@@ -136,7 +136,7 @@ function DevSectionView({ sectionKey, hero, preControls, children, showHeading =
|
|
|
136
136
|
}
|
|
137
137
|
),
|
|
138
138
|
filter && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
139
|
-
|
|
139
|
+
_chunk4PKORVOXcjs.StatusFilterComponent,
|
|
140
140
|
{
|
|
141
141
|
selectedStatus: currentFilterValue,
|
|
142
142
|
onStatusChange: handleFilterChange,
|
|
@@ -161,7 +161,7 @@ function DevSectionPage({
|
|
|
161
161
|
shell = true
|
|
162
162
|
}) {
|
|
163
163
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
164
|
-
const section =
|
|
164
|
+
const section = _chunkPS6T65KAcjs.OPENFRAME_DEV_SECTIONS[sectionKey];
|
|
165
165
|
const backCfg = backButton === false ? void 0 : {
|
|
166
166
|
label: _nullishCoalesce((backButton ? backButton.label : void 0), () => ( "Back to home")),
|
|
167
167
|
onClick: () => router.push(_nullishCoalesce((backButton ? backButton.href : void 0), () => ( "/")))
|
|
@@ -174,7 +174,7 @@ function DevSectionPage({
|
|
|
174
174
|
// duplicate title. (The hero icon is intentionally dropped: TitleBlock is
|
|
175
175
|
// frozen and renders title-only.)
|
|
176
176
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
177
|
-
|
|
177
|
+
_chunkU2O5YQRPcjs.PageLayout,
|
|
178
178
|
{
|
|
179
179
|
title: _nullishCoalesce(title, () => ( section.hero.title)),
|
|
180
180
|
subtitle: _nullishCoalesce(subtitle, () => ( section.hero.description)),
|
|
@@ -183,12 +183,12 @@ function DevSectionPage({
|
|
|
183
183
|
backButton: backCfg,
|
|
184
184
|
children: [
|
|
185
185
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DevSectionView, { sectionKey, showHeading: false, preControls, children }),
|
|
186
|
-
faq && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
186
|
+
faq && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUWHCRIQQcjs.FaqSection, { ..._chunkUWHCRIQQcjs.pageFaqProps.call(void 0, faq) })
|
|
187
187
|
]
|
|
188
188
|
}
|
|
189
189
|
)
|
|
190
190
|
);
|
|
191
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
191
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4PKORVOXcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
|
|
192
192
|
}
|
|
193
193
|
|
|
194
194
|
// src/components/shared/dev-section/dev-card-row.tsx
|
|
@@ -248,7 +248,7 @@ function DeliveryRow({ item, href, target, caption, id, className }) {
|
|
|
248
248
|
const taskType = item.taskType;
|
|
249
249
|
const typeBadgeLabel = _chunkHEVW75L3cjs.TASK_TYPE_LABELS[taskType] || "TASK";
|
|
250
250
|
const typeBadgeTextColor = _chunkHEVW75L3cjs.TASK_TYPE_TEXT_COLORS[taskType] || "";
|
|
251
|
-
const statusBadgeScheme =
|
|
251
|
+
const statusBadgeScheme = _chunk5MH6BRPYcjs.getStatusColorScheme.call(void 0, item.status);
|
|
252
252
|
const relativeTime = getRelativeTime(item.dateUpdated);
|
|
253
253
|
const subtitle = `ACTIVE ${relativeTime}${item.listNames.length > 0 ? `, ${item.listNames.join(", ")}` : ""}, ${item.id}`;
|
|
254
254
|
const inner = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col items-start justify-between gap-[12px] content-md:flex-row content-md:gap-[16px]", children: [
|
|
@@ -260,7 +260,7 @@ function DeliveryRow({ item, href, target, caption, id, className }) {
|
|
|
260
260
|
] }),
|
|
261
261
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-shrink-0 flex-row items-center gap-2 self-stretch content-md:w-auto content-md:flex-col content-md:items-end content-md:self-start", children: [
|
|
262
262
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
263
|
-
|
|
263
|
+
_chunk5MH6BRPYcjs.StatusBadge,
|
|
264
264
|
{
|
|
265
265
|
text: item.status.toUpperCase(),
|
|
266
266
|
colorScheme: statusBadgeScheme,
|
|
@@ -269,7 +269,7 @@ function DeliveryRow({ item, href, target, caption, id, className }) {
|
|
|
269
269
|
}
|
|
270
270
|
),
|
|
271
271
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
272
|
-
|
|
272
|
+
_chunk5MH6BRPYcjs.StatusBadge,
|
|
273
273
|
{
|
|
274
274
|
text: typeBadgeLabel,
|
|
275
275
|
variant: "card",
|
|
@@ -277,7 +277,7 @@ function DeliveryRow({ item, href, target, caption, id, className }) {
|
|
|
277
277
|
}
|
|
278
278
|
),
|
|
279
279
|
item.assignees && item.assignees.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
280
|
-
|
|
280
|
+
_chunkUY6A6TEYcjs.AvatarStack,
|
|
281
281
|
{
|
|
282
282
|
size: "xs",
|
|
283
283
|
className: "ml-auto content-md:ml-0",
|
|
@@ -2,31 +2,31 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunk4PKORVOXcjs = require('./chunk-4PKORVOX.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkU2O5YQRPcjs = require('./chunk-U2O5YQRP.cjs');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunk4FWURR3Wcjs = require('./chunk-4FWURR3W.cjs');
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
var
|
|
20
|
+
var _chunkPS6T65KAcjs = require('./chunk-PS6T65KA.cjs');
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
var
|
|
25
|
+
var _chunk32Q7K5OPcjs = require('./chunk-32Q7K5OP.cjs');
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
var
|
|
29
|
+
var _chunk5MH6BRPYcjs = require('./chunk-5MH6BRPY.cjs');
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
@@ -119,14 +119,14 @@ function ContactForm({
|
|
|
119
119
|
successToastMessage = "Redirecting you to join our community...",
|
|
120
120
|
rescue: rescueForm = null
|
|
121
121
|
} = {}) {
|
|
122
|
-
const attachments =
|
|
123
|
-
const builtInSubmission =
|
|
122
|
+
const attachments = _chunk32Q7K5OPcjs.useChatAttachments.call(void 0, );
|
|
123
|
+
const builtInSubmission = _chunk4FWURR3Wcjs.useContactSubmission.call(void 0, {
|
|
124
124
|
userId,
|
|
125
125
|
successRedirectUrl,
|
|
126
126
|
successToastMessage
|
|
127
127
|
});
|
|
128
128
|
const [customSubmitting, setCustomSubmitting] = _react.useState.call(void 0, false);
|
|
129
|
-
const { honeypotInputProps, getSignals, resetSignals } =
|
|
129
|
+
const { honeypotInputProps, getSignals, resetSignals } = _chunk4FWURR3Wcjs.useHumanitySignals.call(void 0, );
|
|
130
130
|
const isSubmitting = onCustomSubmit ? customSubmitting : builtInSubmission.isSubmitting;
|
|
131
131
|
const isSuccess = onCustomSubmit ? false : builtInSubmission.isSuccess;
|
|
132
132
|
const form = _reacthookform.useForm.call(void 0, {
|
|
@@ -152,7 +152,7 @@ function ContactForm({
|
|
|
152
152
|
),
|
|
153
153
|
[hideFields]
|
|
154
154
|
);
|
|
155
|
-
const rescue =
|
|
155
|
+
const rescue = _chunk4FWURR3Wcjs.useRescuedForm.call(void 0, form, { rescue: rescueForm, fields: rescueFieldNames, getSignals });
|
|
156
156
|
const handleFormSubmit = async (data) => {
|
|
157
157
|
if (isSubmitting) return;
|
|
158
158
|
if (attachmentsEnabled && attachments.hasInflightUploads) return;
|
|
@@ -190,7 +190,7 @@ function ContactForm({
|
|
|
190
190
|
className: `flex h-full flex-col ${!noBorder ? "rounded-2xl border border-ods-border content-md:rounded-3xl" : ""} ${!noPadding ? "p-6 content-md:p-8 content-lg:p-10" : ""}`,
|
|
191
191
|
children: [
|
|
192
192
|
(title || subtitle) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-6 content-md:mb-8", children: [
|
|
193
|
-
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${
|
|
193
|
+
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${_chunk5MH6BRPYcjs.SECTION_HEADING_CLASS} mb-3 content-md:mb-4`, children: _chunk5MH6BRPYcjs.accentSentenceMarks.call(void 0, title) }),
|
|
194
194
|
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: subtitle })
|
|
195
195
|
] }),
|
|
196
196
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -203,13 +203,13 @@ function ContactForm({
|
|
|
203
203
|
);
|
|
204
204
|
}),
|
|
205
205
|
className: "flex flex-grow flex-col space-y-4 content-md:space-y-6",
|
|
206
|
-
...
|
|
206
|
+
..._chunkPS6T65KAcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
207
207
|
children: [
|
|
208
208
|
!showName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("name") }),
|
|
209
209
|
!showEmail && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("email") }),
|
|
210
210
|
!showHelpCategory && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("helpCategory") }),
|
|
211
211
|
!showMessage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("message") }),
|
|
212
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
212
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4PKORVOXcjs.HoneypotField, { ...honeypotInputProps }),
|
|
213
213
|
extraTopField,
|
|
214
214
|
showNameEmailRow && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-md:grid-cols-2 content-md:gap-6", children: [
|
|
215
215
|
showName && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
@@ -261,17 +261,17 @@ function ContactForm({
|
|
|
261
261
|
{
|
|
262
262
|
control,
|
|
263
263
|
name: "companySize",
|
|
264
|
-
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
264
|
+
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkU2O5YQRPcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
|
|
265
265
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
266
|
-
|
|
266
|
+
_chunkU2O5YQRPcjs.SelectTrigger,
|
|
267
267
|
{
|
|
268
268
|
id: "companySize",
|
|
269
269
|
"aria-label": "Company Size",
|
|
270
270
|
className: "h-12 border-ods-border bg-ods-card px-3 text-ods-text-primary",
|
|
271
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
271
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU2O5YQRPcjs.SelectValue, { placeholder: "Select company size" })
|
|
272
272
|
}
|
|
273
273
|
),
|
|
274
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
274
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU2O5YQRPcjs.SelectContent, { children: companySizeOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU2O5YQRPcjs.SelectItem, { value: opt, children: opt }, opt)) })
|
|
275
275
|
] })
|
|
276
276
|
}
|
|
277
277
|
),
|
|
@@ -284,17 +284,17 @@ function ContactForm({
|
|
|
284
284
|
{
|
|
285
285
|
control,
|
|
286
286
|
name: "referralSource",
|
|
287
|
-
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
287
|
+
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkU2O5YQRPcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
|
|
288
288
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
289
|
-
|
|
289
|
+
_chunkU2O5YQRPcjs.SelectTrigger,
|
|
290
290
|
{
|
|
291
291
|
id: "referralSource",
|
|
292
292
|
"aria-label": "Referral Source",
|
|
293
293
|
className: "h-12 border-ods-border bg-ods-card px-3 text-ods-text-primary",
|
|
294
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
294
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU2O5YQRPcjs.SelectValue, { placeholder: "Select an option" })
|
|
295
295
|
}
|
|
296
296
|
),
|
|
297
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
297
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU2O5YQRPcjs.SelectContent, { children: referralSourceOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU2O5YQRPcjs.SelectItem, { value: opt, children: opt }, opt)) })
|
|
298
298
|
] })
|
|
299
299
|
}
|
|
300
300
|
),
|
|
@@ -311,18 +311,18 @@ function ContactForm({
|
|
|
311
311
|
{
|
|
312
312
|
control,
|
|
313
313
|
name: "helpCategory",
|
|
314
|
-
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
314
|
+
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkU2O5YQRPcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
|
|
315
315
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
316
|
-
|
|
316
|
+
_chunkU2O5YQRPcjs.SelectTrigger,
|
|
317
317
|
{
|
|
318
318
|
id: "helpCategory",
|
|
319
319
|
"aria-label": "Help Category",
|
|
320
320
|
"aria-required": true,
|
|
321
321
|
className: "h-12 border-ods-border bg-ods-card px-3 text-ods-text-primary",
|
|
322
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
322
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU2O5YQRPcjs.SelectValue, { placeholder: "Choose your main interest" })
|
|
323
323
|
}
|
|
324
324
|
),
|
|
325
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
325
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU2O5YQRPcjs.SelectContent, { children: helpCategoryOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU2O5YQRPcjs.SelectItem, { value: opt, children: opt }, opt)) })
|
|
326
326
|
] })
|
|
327
327
|
}
|
|
328
328
|
),
|
|
@@ -334,7 +334,7 @@ function ContactForm({
|
|
|
334
334
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHTRILBJDcjs.RequiredMark, {})
|
|
335
335
|
] }),
|
|
336
336
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
337
|
-
|
|
337
|
+
_chunk4PKORVOXcjs.Textarea,
|
|
338
338
|
{
|
|
339
339
|
id: "message",
|
|
340
340
|
...register("message"),
|
|
@@ -349,7 +349,7 @@ function ContactForm({
|
|
|
349
349
|
] }),
|
|
350
350
|
attachmentsEnabled && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-2", children: [
|
|
351
351
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
352
|
-
|
|
352
|
+
_chunk32Q7K5OPcjs.ChatAttachmentChipStrip,
|
|
353
353
|
{
|
|
354
354
|
attachments: attachments.attachments,
|
|
355
355
|
onRemove: attachments.removeAttachment,
|
|
@@ -358,7 +358,7 @@ function ContactForm({
|
|
|
358
358
|
),
|
|
359
359
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
360
360
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
361
|
-
|
|
361
|
+
_chunk32Q7K5OPcjs.ChatAttachmentAddButton,
|
|
362
362
|
{
|
|
363
363
|
attachmentsEnabled: true,
|
|
364
364
|
attachmentsCount: attachments.attachments.length,
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkDGFDBPO7cjs = require('./chunk-DGFDBPO7.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
var _chunk3LU4UFPScjs = require('./chunk-3LU4UFPS.cjs');
|
|
@@ -15,7 +15,7 @@ var _chunk3ATAYP36cjs = require('./chunk-3ATAYP36.cjs');
|
|
|
15
15
|
var _react = require('react');
|
|
16
16
|
function useMediaQuery(query) {
|
|
17
17
|
const [matches, setMatches] = _react.useState.call(void 0, void 0);
|
|
18
|
-
|
|
18
|
+
_chunkDGFDBPO7cjs.useIsomorphicLayoutEffect.call(void 0, () => {
|
|
19
19
|
const matchMedia = window.matchMedia(query);
|
|
20
20
|
const handleChange = () => {
|
|
21
21
|
setMatches(matchMedia.matches);
|
|
@@ -917,9 +917,9 @@ var ICON_OPTIONS = [
|
|
|
917
917
|
|
|
918
918
|
// src/hooks/use-authed-image-src.ts
|
|
919
919
|
function useAuthedImageSrc(src) {
|
|
920
|
-
return
|
|
920
|
+
return _chunkDGFDBPO7cjs.useAuthedAssetSrc.call(void 0, src, "image/*");
|
|
921
921
|
}
|
|
922
|
-
var clearAuthedImageCache =
|
|
922
|
+
var clearAuthedImageCache = _chunkDGFDBPO7cjs.clearAuthedAssetCache;
|
|
923
923
|
|
|
924
924
|
|
|
925
925
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunk4FWURR3Wcjs = require('./chunk-4FWURR3W.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkPS6T65KAcjs = require('./chunk-PS6T65KA.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
var _chunkSXGDKNVEcjs = require('./chunk-SXGDKNVE.cjs');
|
|
@@ -48,10 +48,10 @@ var _chunk5OG5ZTNMcjs = require('./chunk-5OG5ZTNM.cjs');
|
|
|
48
48
|
|
|
49
49
|
|
|
50
50
|
|
|
51
|
-
var
|
|
51
|
+
var _chunk5MH6BRPYcjs = require('./chunk-5MH6BRPY.cjs');
|
|
52
52
|
|
|
53
53
|
|
|
54
|
-
var
|
|
54
|
+
var _chunkABLUMGCIcjs = require('./chunk-ABLUMGCI.cjs');
|
|
55
55
|
|
|
56
56
|
|
|
57
57
|
var _chunkHOTM4UM6cjs = require('./chunk-HOTM4UM6.cjs');
|
|
@@ -162,31 +162,31 @@ CveLink.displayName = "CveLink";
|
|
|
162
162
|
// src/components/platform/ShellTypeBadge.tsx
|
|
163
163
|
|
|
164
164
|
var shellIconMap = {
|
|
165
|
-
[
|
|
165
|
+
[_chunkPS6T65KAcjs.ShellTypeValues.POWERSHELL]: {
|
|
166
166
|
icon: _chunkMCQY746Mcjs.PowershellLogoGreyIcon,
|
|
167
167
|
props: { size: 16, className: "text-ods-text-secondary" }
|
|
168
168
|
},
|
|
169
|
-
[
|
|
169
|
+
[_chunkPS6T65KAcjs.ShellTypeValues.CMD]: {
|
|
170
170
|
icon: _chunkUXUYT4WKcjs.CmdIcon,
|
|
171
171
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
172
172
|
},
|
|
173
|
-
[
|
|
173
|
+
[_chunkPS6T65KAcjs.ShellTypeValues.BASH]: {
|
|
174
174
|
icon: _chunk5OG5ZTNMcjs.BashIcon,
|
|
175
175
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
176
176
|
},
|
|
177
|
-
[
|
|
177
|
+
[_chunkPS6T65KAcjs.ShellTypeValues.PYTHON]: {
|
|
178
178
|
icon: _chunkBF77UKGDcjs.PythonLogoIcon,
|
|
179
179
|
props: { size: 16, className: "text-ods-text-secondary" }
|
|
180
180
|
},
|
|
181
|
-
[
|
|
181
|
+
[_chunkPS6T65KAcjs.ShellTypeValues.NUSHELL]: {
|
|
182
182
|
icon: _chunkG37H4CBTcjs.NushellIcon,
|
|
183
183
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
184
184
|
},
|
|
185
|
-
[
|
|
185
|
+
[_chunkPS6T65KAcjs.ShellTypeValues.DENO]: {
|
|
186
186
|
icon: _chunkHUL6SF5Acjs.DenoIcon,
|
|
187
187
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
188
188
|
},
|
|
189
|
-
[
|
|
189
|
+
[_chunkPS6T65KAcjs.ShellTypeValues.SHELL]: {
|
|
190
190
|
icon: _chunk6RMATQNNcjs.ShellIcon,
|
|
191
191
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
192
192
|
}
|
|
@@ -197,7 +197,7 @@ var defaultIconConfig = {
|
|
|
197
197
|
};
|
|
198
198
|
var ShellTypeBadge = ({ shellType, className, iconClassName }) => {
|
|
199
199
|
const normalizedType = _optionalChain([shellType, 'optionalAccess', _ => _.toUpperCase, 'call', _2 => _2()]);
|
|
200
|
-
const label =
|
|
200
|
+
const label = _chunkPS6T65KAcjs.getShellLabel.call(void 0, normalizedType);
|
|
201
201
|
const { icon: IconComponent, props: iconProps } = _nullishCoalesce(shellIconMap[normalizedType], () => ( defaultIconConfig));
|
|
202
202
|
const defaultIconClassName = "className" in iconProps ? iconProps.className : void 0;
|
|
203
203
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex items-center gap-1", className), children: [
|
|
@@ -213,11 +213,11 @@ function formatSupportedPlatforms(platforms) {
|
|
|
213
213
|
if (!platforms || platforms.length === 0) {
|
|
214
214
|
return "All Platforms";
|
|
215
215
|
}
|
|
216
|
-
return platforms.map((platform) =>
|
|
216
|
+
return platforms.map((platform) => _chunkPS6T65KAcjs.getOSLabel.call(void 0, platform)).join(", ");
|
|
217
217
|
}
|
|
218
218
|
function InfoCell({ label, value, avatar, className }) {
|
|
219
219
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex min-w-0 items-center gap-2", className), children: [
|
|
220
|
-
avatar && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative size-8 shrink-0 overflow-hidden rounded-full border border-ods-border bg-ods-bg", children: avatar.photoUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHOTM4UM6cjs.next_image_default, { src: avatar.photoUrl, alt: avatar.name, className: "object-cover", fill: true, sizes: "32px", unoptimized: true }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex size-full items-center justify-center text-ods-text-secondary text-h6", children: avatar.initials ||
|
|
220
|
+
avatar && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative size-8 shrink-0 overflow-hidden rounded-full border border-ods-border bg-ods-bg", children: avatar.photoUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHOTM4UM6cjs.next_image_default, { src: avatar.photoUrl, alt: avatar.name, className: "object-cover", fill: true, sizes: "32px", unoptimized: true }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex size-full items-center justify-center text-ods-text-secondary text-h6", children: avatar.initials || _chunkABLUMGCIcjs.nameInitials.call(void 0, avatar.name) }) }),
|
|
221
221
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col", children: [
|
|
222
222
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-primary text-h4", title: value, children: value }),
|
|
223
223
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: label })
|
|
@@ -233,7 +233,7 @@ var ScriptInfoSection = ({
|
|
|
233
233
|
author,
|
|
234
234
|
className
|
|
235
235
|
}) => {
|
|
236
|
-
const shellLabel =
|
|
236
|
+
const shellLabel = _chunkPS6T65KAcjs.getShellLabel.call(void 0, shellType);
|
|
237
237
|
const platformsLabel = formatSupportedPlatforms(supportedPlatforms);
|
|
238
238
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "overflow-hidden rounded-[6px] border border-ods-border bg-ods-card", className), children: [
|
|
239
239
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "border-b border-ods-border p-4", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-1", children: [
|
|
@@ -281,7 +281,7 @@ function OnboardingStepCard({
|
|
|
281
281
|
onSkip();
|
|
282
282
|
};
|
|
283
283
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
284
|
-
|
|
284
|
+
_chunk5MH6BRPYcjs.InteractiveCard,
|
|
285
285
|
{
|
|
286
286
|
clickable: false,
|
|
287
287
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
@@ -307,7 +307,7 @@ function OnboardingStepCard({
|
|
|
307
307
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-[32px] w-[100px] animate-pulse rounded-[6px] bg-ods-border" }),
|
|
308
308
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-[32px] w-[120px] animate-pulse rounded-[6px] bg-ods-border" })
|
|
309
309
|
] }) : isCompleted ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
310
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
310
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5MH6BRPYcjs.StatusBadge, { text: "COMPLETED", variant: "card", colorScheme: "success" }),
|
|
311
311
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
312
312
|
_chunk2QMBXGMQcjs.Button,
|
|
313
313
|
{
|
|
@@ -318,7 +318,7 @@ function OnboardingStepCard({
|
|
|
318
318
|
children: step.completedText
|
|
319
319
|
}
|
|
320
320
|
)
|
|
321
|
-
] }) : isSkipped ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
321
|
+
] }) : isSkipped ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5MH6BRPYcjs.StatusBadge, { text: "SKIPPED", variant: "card", colorScheme: "default" }) }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
322
322
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2QMBXGMQcjs.Button, { variant: "outline", onClick: handleSkip, children: "Skip Step" }),
|
|
323
323
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2QMBXGMQcjs.Button, { variant: "accent", onClick: handleAction, disabled: isProcessing, leftIcon: step.actionIcon("black"), children: step.actionText })
|
|
324
324
|
] })
|
|
@@ -353,7 +353,7 @@ function OnboardingWalkthrough({
|
|
|
353
353
|
isStepSkipped,
|
|
354
354
|
allStepsComplete,
|
|
355
355
|
markMultipleComplete
|
|
356
|
-
} =
|
|
356
|
+
} = _chunk4FWURR3Wcjs.useOnboardingState.call(void 0, storageKey);
|
|
357
357
|
const hasAutoMarkedRef = _react.useRef.call(void 0, false);
|
|
358
358
|
const autoMarkingInProgressRef = _react.useRef.call(void 0, false);
|
|
359
359
|
const lastCompletionStatusRef = _react.useRef.call(void 0, null);
|
|
@@ -435,7 +435,7 @@ function OnboardingWalkthrough({
|
|
|
435
435
|
const isAllComplete = allStepsComplete(steps);
|
|
436
436
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "w-full space-y-4", className), children: [
|
|
437
437
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col items-start justify-between gap-3 md:flex-row md:items-center md:gap-0", children: [
|
|
438
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className:
|
|
438
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: _chunk5MH6BRPYcjs.SECTION_HEADING_CLASS, children: _chunk5MH6BRPYcjs.accentSentenceMarks.call(void 0, title) }),
|
|
439
439
|
isLoadingCompletion ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-[48px] w-full animate-pulse rounded-[6px] bg-ods-border md:w-[160px]" }) : isAllComplete ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2QMBXGMQcjs.Button, { variant: "accent", onClick: handleDismiss, className: "w-full md:w-auto", children: "Close Onboarding" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2QMBXGMQcjs.Button, { variant: "outline", onClick: handleDismiss, className: "w-full md:w-auto", children: "Skip Onboarding" })
|
|
440
440
|
] }),
|
|
441
441
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, spacing), children: steps.map((step) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkKTPR66EEcjs = require('./chunk-KTPR66EE.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkDGFDBPO7cjs = require('./chunk-DGFDBPO7.cjs');
|
|
9
9
|
|
|
10
10
|
// src/hooks/ui/use-drag-and-drop-enabled.ts
|
|
11
|
-
var DRAG_AND_DROP_MEDIA_QUERY = `(pointer: fine) and (hover: hover) and ${
|
|
11
|
+
var DRAG_AND_DROP_MEDIA_QUERY = `(pointer: fine) and (hover: hover) and ${_chunkKTPR66EEcjs.breakpoints.md}`;
|
|
12
12
|
function useDragAndDropEnabled() {
|
|
13
|
-
return _nullishCoalesce(
|
|
13
|
+
return _nullishCoalesce(_chunkKTPR66EEcjs.useMediaQuery.call(void 0, DRAG_AND_DROP_MEDIA_QUERY), () => ( false));
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
// src/hooks/ui/use-horizontal-scrollbar.ts
|
|
@@ -236,7 +236,7 @@ function useLocalStorage(key, initialValue, options) {
|
|
|
236
236
|
});
|
|
237
237
|
const validate = _optionalChain([options, 'optionalAccess', _ => _.validate]);
|
|
238
238
|
const storage = _react.useMemo.call(void 0,
|
|
239
|
-
() =>
|
|
239
|
+
() => _chunkDGFDBPO7cjs.createLocalStorageAdapter.call(void 0, { key, validate, logTag: `[useLocalStorage:${key}]` }),
|
|
240
240
|
[key, validate]
|
|
241
241
|
);
|
|
242
242
|
const [storedValue, setStoredValue] = _react.useState.call(void 0, () => _nullishCoalesce(storage.load(), () => ( initialValue)));
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
var _chunk24I6RFVUcjs = require('./chunk-24I6RFVU.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkASMNNSUQcjs = require('./chunk-ASMNNSUQ.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkR34JD6NPcjs = require('./chunk-R34JD6NP.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunkDGFDBPO7cjs = require('./chunk-DGFDBPO7.cjs');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
var _chunkV45KLJQPcjs = require('./chunk-V45KLJQP.cjs');
|
|
@@ -49,7 +49,7 @@ function useResizablePanelSize({
|
|
|
49
49
|
storageKey
|
|
50
50
|
}) {
|
|
51
51
|
const storage = _react.useMemo.call(void 0,
|
|
52
|
-
() => enabled && storageKey ?
|
|
52
|
+
() => enabled && storageKey ? _chunkDGFDBPO7cjs.createLocalStorageAdapter.call(void 0, {
|
|
53
53
|
key: `${storageKey}${CHOSEN_SIZE_KEY_SUFFIX}`,
|
|
54
54
|
validate: isStoredPanelSize,
|
|
55
55
|
logTag: `[panel-size:${storageKey}]`
|
|
@@ -63,7 +63,7 @@ function useResizablePanelSize({
|
|
|
63
63
|
const clampSize = _react.useCallback.call(void 0,
|
|
64
64
|
(value) => {
|
|
65
65
|
const ceiling = available > 0 ? Math.min(maxSize, available - reserve) : maxSize;
|
|
66
|
-
return
|
|
66
|
+
return _chunkASMNNSUQcjs.clamp.call(void 0, value, minSize, Math.max(minSize, ceiling));
|
|
67
67
|
},
|
|
68
68
|
[available, reserve, minSize, maxSize]
|
|
69
69
|
);
|
|
@@ -396,7 +396,7 @@ var DrawerContent = _react.forwardRef.call(void 0,
|
|
|
396
396
|
ref: panelRef,
|
|
397
397
|
className: _chunk3ATAYP36cjs.cn.call(void 0, drawerPanelVariants({ side, flush, size }), className, panelClassName),
|
|
398
398
|
style: { ...sizeStyle, ...panelStyle },
|
|
399
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
399
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkR34JD6NPcjs.ViewportBreakpoints, { children })
|
|
400
400
|
}
|
|
401
401
|
)
|
|
402
402
|
]
|
|
@@ -459,7 +459,7 @@ function HoverDropdown({
|
|
|
459
459
|
const timeoutRef = _react.useRef.call(void 0, void 0);
|
|
460
460
|
const containerRef = _react.useRef.call(void 0, null);
|
|
461
461
|
const panelRef = _react.useRef.call(void 0, null);
|
|
462
|
-
|
|
462
|
+
_chunkDGFDBPO7cjs.useIsomorphicLayoutEffect.call(void 0, () => {
|
|
463
463
|
const el = panelRef.current;
|
|
464
464
|
const container = containerRef.current;
|
|
465
465
|
if (!el || !container) return;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkYQGDXH3Mcjs = require('./chunk-YQGDXH3M.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -179,11 +179,11 @@ function UnifiedPagination({
|
|
|
179
179
|
}, 0);
|
|
180
180
|
};
|
|
181
181
|
if (totalPages <= 1) {
|
|
182
|
-
return reserveSpace ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className, "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pointer-events-none invisible", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
182
|
+
return reserveSpace ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className, "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pointer-events-none invisible", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYQGDXH3Mcjs.Pagination, { currentPage: 1, totalPages: 1, onPageChange: () => {
|
|
183
183
|
} }) }) }) : null;
|
|
184
184
|
}
|
|
185
185
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
186
|
-
|
|
186
|
+
_chunkYQGDXH3Mcjs.Pagination,
|
|
187
187
|
{
|
|
188
188
|
currentPage,
|
|
189
189
|
totalPages,
|