@questpie/admin 3.2.3 → 3.2.4
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/client/blocks/block-renderer.d.mts +2 -2
- package/dist/client/components/admin-link.d.mts +2 -2
- package/dist/client/components/blocks/block-library-sidebar.mjs +126 -113
- package/dist/client/components/fields/json-field.mjs +114 -118
- package/dist/client/components/fields/rich-text-editor/bubble-menu.mjs +38 -40
- package/dist/client/components/fields/rich-text-editor/image-popover.mjs +6 -17
- package/dist/client/components/fields/rich-text-editor/index.mjs +71 -87
- package/dist/client/components/history-sidebar.mjs +25 -10
- package/dist/client/components/media/media-picker-dialog.mjs +237 -254
- package/dist/client/components/preview/live-preview-mode.mjs +230 -203
- package/dist/client/components/primitives/asset-preview.mjs +1 -1
- package/dist/client/contexts/focus-context.d.mts +4 -0
- package/dist/client/contexts/focus-context.mjs +106 -86
- package/dist/client/preview/block-scope-context.d.mts +2 -2
- package/dist/client/preview/diff.mjs +110 -0
- package/dist/client/preview/preview-banner.d.mts +2 -2
- package/dist/client/preview/preview-field.d.mts +4 -4
- package/dist/client/preview/preview-field.mjs +125 -187
- package/dist/client/preview/use-collection-preview.mjs +49 -21
- package/dist/client/views/auth/accept-invite-form.d.mts +2 -2
- package/dist/client/views/auth/auth-layout.d.mts +3 -3
- package/dist/client/views/auth/forgot-password-form.d.mts +2 -2
- package/dist/client/views/auth/login-form.d.mts +2 -2
- package/dist/client/views/auth/reset-password-form.d.mts +2 -2
- package/dist/client/views/auth/setup-form.d.mts +2 -2
- package/dist/client/views/collection/bulk-action-toolbar.mjs +135 -156
- package/dist/client/views/collection/field-renderer.mjs +162 -51
- package/dist/client/views/collection/form-view.mjs +43 -81
- package/dist/client/views/collection/table-view.mjs +12 -10
- package/dist/client/views/common/global-search.mjs +199 -182
- package/dist/client/views/globals/global-form-view.mjs +625 -621
- package/dist/client/views/layout/admin-router.mjs +84 -100
- package/dist/client/views/pages/accept-invite-page.d.mts +2 -2
- package/dist/client/views/pages/dashboard-page.d.mts +2 -2
- package/dist/client/views/pages/forgot-password-page.d.mts +2 -2
- package/dist/client/views/pages/invite-page.d.mts +2 -2
- package/dist/client/views/pages/reset-password-page.d.mts +2 -2
- package/dist/client/views/pages/setup-page.d.mts +2 -2
- package/dist/server/modules/admin/collections/account.d.mts +50 -50
- package/dist/server/modules/admin/collections/admin-locks.d.mts +54 -54
- package/dist/server/modules/admin/collections/admin-preferences.d.mts +39 -39
- package/dist/server/modules/admin/collections/admin-saved-views.d.mts +47 -47
- package/dist/server/modules/admin/collections/apikey.d.mts +68 -68
- package/dist/server/modules/admin/collections/assets.d.mts +39 -39
- package/dist/server/modules/admin/collections/session.d.mts +42 -42
- package/dist/server/modules/admin/collections/user.d.mts +63 -63
- package/dist/server/modules/admin/collections/verification.d.mts +32 -32
- package/dist/server/modules/admin/index.d.mts +1 -1
- package/dist/server/modules/admin/routes/admin-config.d.mts +2 -2
- package/dist/server/modules/admin/routes/execute-action.d.mts +9 -9
- package/dist/server/modules/admin/routes/locales.d.mts +2 -2
- package/dist/server/modules/admin/routes/preview.d.mts +11 -11
- package/dist/server/modules/admin/routes/reactive.d.mts +9 -9
- package/dist/server/modules/admin/routes/setup.d.mts +7 -7
- package/dist/server/modules/admin/routes/translations.d.mts +4 -4
- package/dist/server/modules/admin/routes/widget-data.d.mts +5 -5
- package/dist/server/modules/admin-preferences/collections/saved-views.d.mts +41 -41
- package/dist/server/modules/audit/.generated/module.d.mts +6 -6
- package/dist/server/modules/audit/collections/audit-log.d.mts +78 -78
- package/dist/server/modules/audit/jobs/audit-cleanup.d.mts +2 -2
- package/package.json +3 -3
|
@@ -168,7 +168,7 @@ const SearchGroup = React.memo(function SearchGroup$1(t0) {
|
|
|
168
168
|
return t6;
|
|
169
169
|
});
|
|
170
170
|
function GlobalSearch(t0) {
|
|
171
|
-
const $ = c(
|
|
171
|
+
const $ = c(112);
|
|
172
172
|
const { isOpen, onClose, navigate, basePath: basePathProp } = t0;
|
|
173
173
|
const { t } = useTranslation();
|
|
174
174
|
const resolveText = useResolveText();
|
|
@@ -380,8 +380,6 @@ function GlobalSearch(t0) {
|
|
|
380
380
|
if ($[41] !== isOpen) {
|
|
381
381
|
t11 = () => {
|
|
382
382
|
if (!isOpen) return;
|
|
383
|
-
setQuery("");
|
|
384
|
-
setSelectedIndex(0);
|
|
385
383
|
const timer = setTimeout(() => inputRef.current?.focus(), 50);
|
|
386
384
|
return () => clearTimeout(timer);
|
|
387
385
|
};
|
|
@@ -395,65 +393,84 @@ function GlobalSearch(t0) {
|
|
|
395
393
|
}
|
|
396
394
|
React.useEffect(t11, t12);
|
|
397
395
|
let t13;
|
|
398
|
-
if ($[44]
|
|
399
|
-
t13 = (
|
|
400
|
-
|
|
396
|
+
if ($[44] === Symbol.for("react.memo_cache_sentinel")) {
|
|
397
|
+
t13 = () => {
|
|
398
|
+
setQuery("");
|
|
399
|
+
setSelectedIndex(0);
|
|
400
|
+
};
|
|
401
|
+
$[44] = t13;
|
|
402
|
+
} else t13 = $[44];
|
|
403
|
+
const resetSearchState = t13;
|
|
404
|
+
let t14;
|
|
405
|
+
if ($[45] !== onClose) {
|
|
406
|
+
t14 = () => {
|
|
407
|
+
resetSearchState();
|
|
401
408
|
onClose();
|
|
402
409
|
};
|
|
403
|
-
$[44] = navigate;
|
|
404
410
|
$[45] = onClose;
|
|
405
|
-
$[46] =
|
|
406
|
-
} else
|
|
407
|
-
const
|
|
408
|
-
let
|
|
409
|
-
if ($[47] !==
|
|
410
|
-
|
|
411
|
-
|
|
411
|
+
$[46] = t14;
|
|
412
|
+
} else t14 = $[46];
|
|
413
|
+
const closeSearch = t14;
|
|
414
|
+
let t15;
|
|
415
|
+
if ($[47] !== closeSearch || $[48] !== navigate) {
|
|
416
|
+
t15 = (item) => {
|
|
417
|
+
navigate(item.href);
|
|
418
|
+
closeSearch();
|
|
419
|
+
};
|
|
420
|
+
$[47] = closeSearch;
|
|
421
|
+
$[48] = navigate;
|
|
422
|
+
$[49] = t15;
|
|
423
|
+
} else t15 = $[49];
|
|
424
|
+
const handleSelect = t15;
|
|
425
|
+
let t16;
|
|
426
|
+
if ($[50] !== allItems || $[51] !== closeSearch || $[52] !== handleSelect || $[53] !== selectedIndex || $[54] !== totalCount) {
|
|
427
|
+
t16 = (e) => {
|
|
428
|
+
bb127: switch (e.key) {
|
|
412
429
|
case "ArrowDown":
|
|
413
430
|
e.preventDefault();
|
|
414
431
|
setSelectedIndex((i_3) => totalCount > 0 ? (i_3 + 1) % totalCount : 0);
|
|
415
|
-
break
|
|
432
|
+
break bb127;
|
|
416
433
|
case "ArrowUp":
|
|
417
434
|
e.preventDefault();
|
|
418
435
|
setSelectedIndex((i_2) => totalCount > 0 ? (i_2 - 1 + totalCount) % totalCount : 0);
|
|
419
|
-
break
|
|
436
|
+
break bb127;
|
|
420
437
|
case "Enter":
|
|
421
438
|
e.preventDefault();
|
|
422
439
|
if (allItems[selectedIndex]) handleSelect(allItems[selectedIndex]);
|
|
423
|
-
break
|
|
440
|
+
break bb127;
|
|
424
441
|
case "Escape":
|
|
425
442
|
e.preventDefault();
|
|
426
|
-
|
|
443
|
+
closeSearch();
|
|
427
444
|
}
|
|
428
445
|
};
|
|
429
|
-
$[
|
|
430
|
-
$[
|
|
431
|
-
$[
|
|
432
|
-
$[
|
|
433
|
-
$[
|
|
434
|
-
$[
|
|
435
|
-
} else
|
|
436
|
-
const handleKeyDown =
|
|
437
|
-
let
|
|
438
|
-
if ($[
|
|
439
|
-
|
|
446
|
+
$[50] = allItems;
|
|
447
|
+
$[51] = closeSearch;
|
|
448
|
+
$[52] = handleSelect;
|
|
449
|
+
$[53] = selectedIndex;
|
|
450
|
+
$[54] = totalCount;
|
|
451
|
+
$[55] = t16;
|
|
452
|
+
} else t16 = $[55];
|
|
453
|
+
const handleKeyDown = t16;
|
|
454
|
+
let t17;
|
|
455
|
+
if ($[56] === Symbol.for("react.memo_cache_sentinel")) {
|
|
456
|
+
t17 = (index) => {
|
|
440
457
|
setSelectedIndex(index);
|
|
441
458
|
};
|
|
442
|
-
$[
|
|
443
|
-
} else
|
|
444
|
-
const handleHover =
|
|
459
|
+
$[56] = t17;
|
|
460
|
+
} else t17 = $[56];
|
|
461
|
+
const handleHover = t17;
|
|
445
462
|
const hasNavResults = groupedNavItems.collections.length > 0 || groupedNavItems.globals.length > 0 || groupedNavItems.actions.length > 0;
|
|
446
463
|
const hasRecordResults = recordItems.length > 0;
|
|
447
464
|
const hasResults = hasNavResults || hasRecordResults;
|
|
448
|
-
let
|
|
449
|
-
if ($[
|
|
450
|
-
|
|
451
|
-
$[
|
|
452
|
-
$[
|
|
453
|
-
} else
|
|
454
|
-
let
|
|
455
|
-
if ($[
|
|
456
|
-
|
|
465
|
+
let t18;
|
|
466
|
+
if ($[57] !== closeSearch) {
|
|
467
|
+
t18 = (open) => !open && closeSearch();
|
|
468
|
+
$[57] = closeSearch;
|
|
469
|
+
$[58] = t18;
|
|
470
|
+
} else t18 = $[58];
|
|
471
|
+
let t19;
|
|
472
|
+
if ($[59] === Symbol.for("react.memo_cache_sentinel")) {
|
|
473
|
+
t19 = /* @__PURE__ */ jsx(InputGroupAddon, {
|
|
457
474
|
align: "inline-start",
|
|
458
475
|
className: "pl-0",
|
|
459
476
|
children: /* @__PURE__ */ jsx(Icon, {
|
|
@@ -461,81 +478,81 @@ function GlobalSearch(t0) {
|
|
|
461
478
|
className: "size-5"
|
|
462
479
|
})
|
|
463
480
|
});
|
|
464
|
-
$[56] = t17;
|
|
465
|
-
} else t17 = $[56];
|
|
466
|
-
let t18;
|
|
467
|
-
if ($[57] !== t) {
|
|
468
|
-
t18 = t("globalSearch.placeholder");
|
|
469
|
-
$[57] = t;
|
|
470
|
-
$[58] = t18;
|
|
471
|
-
} else t18 = $[58];
|
|
472
|
-
let t19;
|
|
473
|
-
if ($[59] === Symbol.for("react.memo_cache_sentinel")) {
|
|
474
|
-
t19 = (e_0) => {
|
|
475
|
-
setQuery(e_0.target.value);
|
|
476
|
-
setSelectedIndex(0);
|
|
477
|
-
};
|
|
478
481
|
$[59] = t19;
|
|
479
482
|
} else t19 = $[59];
|
|
480
483
|
let t20;
|
|
481
|
-
if ($[60] !==
|
|
482
|
-
t20 =
|
|
484
|
+
if ($[60] !== t) {
|
|
485
|
+
t20 = t("globalSearch.placeholder");
|
|
486
|
+
$[60] = t;
|
|
487
|
+
$[61] = t20;
|
|
488
|
+
} else t20 = $[61];
|
|
489
|
+
let t21;
|
|
490
|
+
if ($[62] === Symbol.for("react.memo_cache_sentinel")) {
|
|
491
|
+
t21 = (e_0) => {
|
|
492
|
+
setQuery(e_0.target.value);
|
|
493
|
+
setSelectedIndex(0);
|
|
494
|
+
};
|
|
495
|
+
$[62] = t21;
|
|
496
|
+
} else t21 = $[62];
|
|
497
|
+
let t22;
|
|
498
|
+
if ($[63] !== handleKeyDown || $[64] !== query || $[65] !== t20) {
|
|
499
|
+
t22 = /* @__PURE__ */ jsx(InputGroupInput, {
|
|
483
500
|
ref: inputRef,
|
|
484
501
|
className: "h-12 px-0 text-base",
|
|
485
|
-
placeholder:
|
|
502
|
+
placeholder: t20,
|
|
486
503
|
value: query,
|
|
487
|
-
onChange:
|
|
504
|
+
onChange: t21,
|
|
488
505
|
onKeyDown: handleKeyDown
|
|
489
506
|
});
|
|
490
|
-
$[
|
|
491
|
-
$[
|
|
492
|
-
$[
|
|
493
|
-
$[63] = t20;
|
|
494
|
-
} else t20 = $[63];
|
|
495
|
-
let t21;
|
|
496
|
-
if ($[64] !== isSearching) {
|
|
497
|
-
t21 = isSearching && /* @__PURE__ */ jsx(Icon, {
|
|
498
|
-
icon: "ph:spinner",
|
|
499
|
-
className: "size-4 animate-spin"
|
|
500
|
-
});
|
|
501
|
-
$[64] = isSearching;
|
|
502
|
-
$[65] = t21;
|
|
503
|
-
} else t21 = $[65];
|
|
504
|
-
let t22;
|
|
505
|
-
if ($[66] === Symbol.for("react.memo_cache_sentinel")) {
|
|
506
|
-
t22 = /* @__PURE__ */ jsx(Kbd, { children: "ESC" });
|
|
507
|
+
$[63] = handleKeyDown;
|
|
508
|
+
$[64] = query;
|
|
509
|
+
$[65] = t20;
|
|
507
510
|
$[66] = t22;
|
|
508
511
|
} else t22 = $[66];
|
|
509
512
|
let t23;
|
|
510
|
-
if ($[67] !==
|
|
511
|
-
t23 = /* @__PURE__ */
|
|
512
|
-
|
|
513
|
-
className: "
|
|
514
|
-
children: [t21, t22]
|
|
513
|
+
if ($[67] !== isSearching) {
|
|
514
|
+
t23 = isSearching && /* @__PURE__ */ jsx(Icon, {
|
|
515
|
+
icon: "ph:spinner",
|
|
516
|
+
className: "size-4 animate-spin"
|
|
515
517
|
});
|
|
516
|
-
$[67] =
|
|
518
|
+
$[67] = isSearching;
|
|
517
519
|
$[68] = t23;
|
|
518
520
|
} else t23 = $[68];
|
|
519
521
|
let t24;
|
|
520
|
-
if ($[69]
|
|
521
|
-
t24 = /* @__PURE__ */ jsx("
|
|
522
|
+
if ($[69] === Symbol.for("react.memo_cache_sentinel")) {
|
|
523
|
+
t24 = /* @__PURE__ */ jsx(Kbd, { children: "ESC" });
|
|
524
|
+
$[69] = t24;
|
|
525
|
+
} else t24 = $[69];
|
|
526
|
+
let t25;
|
|
527
|
+
if ($[70] !== t23) {
|
|
528
|
+
t25 = /* @__PURE__ */ jsxs(InputGroupAddon, {
|
|
529
|
+
align: "inline-end",
|
|
530
|
+
className: "gap-2 pr-0",
|
|
531
|
+
children: [t23, t24]
|
|
532
|
+
});
|
|
533
|
+
$[70] = t23;
|
|
534
|
+
$[71] = t25;
|
|
535
|
+
} else t25 = $[71];
|
|
536
|
+
let t26;
|
|
537
|
+
if ($[72] !== t22 || $[73] !== t25) {
|
|
538
|
+
t26 = /* @__PURE__ */ jsx("div", {
|
|
522
539
|
className: "qa-global-search__input-area border-border-subtle bg-popover border-b p-3",
|
|
523
540
|
children: /* @__PURE__ */ jsxs(InputGroup, {
|
|
524
541
|
className: "h-12 border-transparent bg-transparent focus-within:border-transparent focus-within:ring-0 hover:border-transparent",
|
|
525
542
|
children: [
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
543
|
+
t19,
|
|
544
|
+
t22,
|
|
545
|
+
t25
|
|
529
546
|
]
|
|
530
547
|
})
|
|
531
548
|
});
|
|
532
|
-
$[
|
|
533
|
-
$[
|
|
534
|
-
$[
|
|
535
|
-
} else
|
|
536
|
-
let
|
|
537
|
-
if ($[
|
|
538
|
-
|
|
549
|
+
$[72] = t22;
|
|
550
|
+
$[73] = t25;
|
|
551
|
+
$[74] = t26;
|
|
552
|
+
} else t26 = $[74];
|
|
553
|
+
let t27;
|
|
554
|
+
if ($[75] !== actionsStartIndex || $[76] !== globalsStartIndex || $[77] !== groupedNavItems.actions || $[78] !== groupedNavItems.collections || $[79] !== groupedNavItems.globals || $[80] !== handleSelect || $[81] !== hasRecordResults || $[82] !== hasResults || $[83] !== isSearching || $[84] !== query || $[85] !== recordItems || $[86] !== recordsStartIndex || $[87] !== selectedIndex || $[88] !== t) {
|
|
555
|
+
t27 = /* @__PURE__ */ jsx("div", {
|
|
539
556
|
className: "qa-global-search__results max-h-[60vh] overflow-y-auto p-2",
|
|
540
557
|
children: hasResults ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
541
558
|
/* @__PURE__ */ jsx(SearchGroup, {
|
|
@@ -582,120 +599,120 @@ function GlobalSearch(t0) {
|
|
|
582
599
|
}) : t("globalSearch.noResults")
|
|
583
600
|
})
|
|
584
601
|
});
|
|
585
|
-
$[
|
|
586
|
-
$[
|
|
587
|
-
$[
|
|
588
|
-
$[
|
|
589
|
-
$[
|
|
590
|
-
$[
|
|
591
|
-
$[
|
|
592
|
-
$[
|
|
593
|
-
$[
|
|
594
|
-
$[
|
|
595
|
-
$[
|
|
596
|
-
$[
|
|
597
|
-
$[
|
|
598
|
-
$[
|
|
599
|
-
$[
|
|
600
|
-
} else
|
|
601
|
-
let
|
|
602
|
-
let
|
|
603
|
-
if ($[
|
|
604
|
-
|
|
602
|
+
$[75] = actionsStartIndex;
|
|
603
|
+
$[76] = globalsStartIndex;
|
|
604
|
+
$[77] = groupedNavItems.actions;
|
|
605
|
+
$[78] = groupedNavItems.collections;
|
|
606
|
+
$[79] = groupedNavItems.globals;
|
|
607
|
+
$[80] = handleSelect;
|
|
608
|
+
$[81] = hasRecordResults;
|
|
609
|
+
$[82] = hasResults;
|
|
610
|
+
$[83] = isSearching;
|
|
611
|
+
$[84] = query;
|
|
612
|
+
$[85] = recordItems;
|
|
613
|
+
$[86] = recordsStartIndex;
|
|
614
|
+
$[87] = selectedIndex;
|
|
615
|
+
$[88] = t;
|
|
616
|
+
$[89] = t27;
|
|
617
|
+
} else t27 = $[89];
|
|
618
|
+
let t28;
|
|
619
|
+
let t29;
|
|
620
|
+
if ($[90] === Symbol.for("react.memo_cache_sentinel")) {
|
|
621
|
+
t28 = /* @__PURE__ */ jsx(Kbd, {
|
|
605
622
|
className: "px-1 text-[10px]",
|
|
606
623
|
children: "↑"
|
|
607
624
|
});
|
|
608
|
-
|
|
625
|
+
t29 = /* @__PURE__ */ jsx(Kbd, {
|
|
609
626
|
className: "px-1 text-[10px]",
|
|
610
627
|
children: "↓"
|
|
611
628
|
});
|
|
612
|
-
$[
|
|
613
|
-
$[
|
|
629
|
+
$[90] = t28;
|
|
630
|
+
$[91] = t29;
|
|
614
631
|
} else {
|
|
615
|
-
|
|
616
|
-
|
|
632
|
+
t28 = $[90];
|
|
633
|
+
t29 = $[91];
|
|
617
634
|
}
|
|
618
|
-
let t28;
|
|
619
|
-
if ($[89] !== t) {
|
|
620
|
-
t28 = t("globalSearch.navigate");
|
|
621
|
-
$[89] = t;
|
|
622
|
-
$[90] = t28;
|
|
623
|
-
} else t28 = $[90];
|
|
624
|
-
let t29;
|
|
625
|
-
if ($[91] !== t28) {
|
|
626
|
-
t29 = /* @__PURE__ */ jsxs("span", {
|
|
627
|
-
className: "flex items-center gap-1",
|
|
628
|
-
children: [
|
|
629
|
-
t26,
|
|
630
|
-
t27,
|
|
631
|
-
/* @__PURE__ */ jsx("span", { children: t28 })
|
|
632
|
-
]
|
|
633
|
-
});
|
|
634
|
-
$[91] = t28;
|
|
635
|
-
$[92] = t29;
|
|
636
|
-
} else t29 = $[92];
|
|
637
635
|
let t30;
|
|
638
|
-
if ($[
|
|
639
|
-
t30 =
|
|
640
|
-
|
|
641
|
-
children: "↵"
|
|
642
|
-
});
|
|
636
|
+
if ($[92] !== t) {
|
|
637
|
+
t30 = t("globalSearch.navigate");
|
|
638
|
+
$[92] = t;
|
|
643
639
|
$[93] = t30;
|
|
644
640
|
} else t30 = $[93];
|
|
645
641
|
let t31;
|
|
646
|
-
if ($[94] !==
|
|
647
|
-
t31 =
|
|
648
|
-
|
|
642
|
+
if ($[94] !== t30) {
|
|
643
|
+
t31 = /* @__PURE__ */ jsxs("span", {
|
|
644
|
+
className: "flex items-center gap-1",
|
|
645
|
+
children: [
|
|
646
|
+
t28,
|
|
647
|
+
t29,
|
|
648
|
+
/* @__PURE__ */ jsx("span", { children: t30 })
|
|
649
|
+
]
|
|
650
|
+
});
|
|
651
|
+
$[94] = t30;
|
|
649
652
|
$[95] = t31;
|
|
650
653
|
} else t31 = $[95];
|
|
651
654
|
let t32;
|
|
652
|
-
if ($[96]
|
|
653
|
-
t32 = /* @__PURE__ */
|
|
654
|
-
className: "
|
|
655
|
-
children:
|
|
655
|
+
if ($[96] === Symbol.for("react.memo_cache_sentinel")) {
|
|
656
|
+
t32 = /* @__PURE__ */ jsx(Kbd, {
|
|
657
|
+
className: "px-1.5 text-[10px]",
|
|
658
|
+
children: "↵"
|
|
656
659
|
});
|
|
657
|
-
$[96] =
|
|
658
|
-
|
|
659
|
-
} else t32 = $[97];
|
|
660
|
+
$[96] = t32;
|
|
661
|
+
} else t32 = $[96];
|
|
660
662
|
let t33;
|
|
661
|
-
if ($[
|
|
662
|
-
t33 =
|
|
663
|
+
if ($[97] !== t) {
|
|
664
|
+
t33 = t("globalSearch.select");
|
|
665
|
+
$[97] = t;
|
|
666
|
+
$[98] = t33;
|
|
667
|
+
} else t33 = $[98];
|
|
668
|
+
let t34;
|
|
669
|
+
if ($[99] !== t33) {
|
|
670
|
+
t34 = /* @__PURE__ */ jsxs("span", {
|
|
671
|
+
className: "flex items-center gap-1",
|
|
672
|
+
children: [t32, /* @__PURE__ */ jsx("span", { children: t33 })]
|
|
673
|
+
});
|
|
674
|
+
$[99] = t33;
|
|
675
|
+
$[100] = t34;
|
|
676
|
+
} else t34 = $[100];
|
|
677
|
+
let t35;
|
|
678
|
+
if ($[101] !== t31 || $[102] !== t34) {
|
|
679
|
+
t35 = /* @__PURE__ */ jsxs("div", {
|
|
663
680
|
className: "qa-global-search__footer text-muted-foreground flex items-center justify-end gap-4 border-t px-3 py-2 text-xs",
|
|
664
|
-
children: [
|
|
681
|
+
children: [t31, t34]
|
|
665
682
|
});
|
|
666
|
-
$[
|
|
667
|
-
$[
|
|
668
|
-
$[
|
|
669
|
-
} else
|
|
670
|
-
let
|
|
671
|
-
if ($[
|
|
672
|
-
|
|
683
|
+
$[101] = t31;
|
|
684
|
+
$[102] = t34;
|
|
685
|
+
$[103] = t35;
|
|
686
|
+
} else t35 = $[103];
|
|
687
|
+
let t36;
|
|
688
|
+
if ($[104] !== t26 || $[105] !== t27 || $[106] !== t35) {
|
|
689
|
+
t36 = /* @__PURE__ */ jsxs(ResponsiveDialogContent, {
|
|
673
690
|
className: "qa-global-search gap-0 p-0 sm:max-w-3xl",
|
|
674
691
|
showCloseButton: false,
|
|
675
692
|
children: [
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
693
|
+
t26,
|
|
694
|
+
t27,
|
|
695
|
+
t35
|
|
679
696
|
]
|
|
680
697
|
});
|
|
681
|
-
$[
|
|
682
|
-
$[
|
|
683
|
-
$[
|
|
684
|
-
$[
|
|
685
|
-
} else
|
|
686
|
-
let
|
|
687
|
-
if ($[
|
|
688
|
-
|
|
698
|
+
$[104] = t26;
|
|
699
|
+
$[105] = t27;
|
|
700
|
+
$[106] = t35;
|
|
701
|
+
$[107] = t36;
|
|
702
|
+
} else t36 = $[107];
|
|
703
|
+
let t37;
|
|
704
|
+
if ($[108] !== isOpen || $[109] !== t18 || $[110] !== t36) {
|
|
705
|
+
t37 = /* @__PURE__ */ jsx(ResponsiveDialog, {
|
|
689
706
|
open: isOpen,
|
|
690
|
-
onOpenChange:
|
|
691
|
-
children:
|
|
707
|
+
onOpenChange: t18,
|
|
708
|
+
children: t36
|
|
692
709
|
});
|
|
693
|
-
$[
|
|
694
|
-
$[
|
|
695
|
-
$[
|
|
696
|
-
$[
|
|
697
|
-
} else
|
|
698
|
-
return
|
|
710
|
+
$[108] = isOpen;
|
|
711
|
+
$[109] = t18;
|
|
712
|
+
$[110] = t36;
|
|
713
|
+
$[111] = t37;
|
|
714
|
+
} else t37 = $[111];
|
|
715
|
+
return t37;
|
|
699
716
|
}
|
|
700
717
|
function _temp3(i_1) {
|
|
701
718
|
return i_1.type === "action";
|