@burdenoff/microfe-product 2026.624.2 → 2026.625.1
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/product/pages/ContentPageViewPage.js +25 -24
- package/dist/product/pages/ContentPageViewPage.js.map +1 -1
- package/dist/product/pages/ProductCatalogPage.js +69 -64
- package/dist/product/pages/ProductCatalogPage.js.map +1 -1
- package/dist/product/pages/ProductViewPage.js +91 -86
- package/dist/product/pages/ProductViewPage.js.map +1 -1
- package/dist/product-management/modules/content-pages/components/ContentPageForm.js +7 -7
- package/dist/product-management/modules/content-pages/components/ContentPageForm.js.map +1 -1
- package/dist/product-management/modules/content-pages/pages/ContentPageCreatePage.js +2 -2
- package/dist/product-management/modules/content-pages/pages/ContentPageCreatePage.js.map +1 -1
- package/dist/product-management/modules/content-pages/pages/ContentPageDetailPage.js +243 -230
- package/dist/product-management/modules/content-pages/pages/ContentPageDetailPage.js.map +1 -1
- package/dist/product-management/modules/content-pages/pages/ContentPageEditPage.js +2 -2
- package/dist/product-management/modules/content-pages/pages/ContentPageEditPage.js.map +1 -1
- package/dist/product-management/modules/content-pages/pages/ContentPagesListPage.js +293 -277
- package/dist/product-management/modules/content-pages/pages/ContentPagesListPage.js.map +1 -1
- package/dist/product-management/modules/feature-flags/components/FeatureFlagForm.js +1 -1
- package/dist/product-management/modules/feature-flags/components/FeatureFlagForm.js.map +1 -1
- package/dist/product-management/modules/feature-flags/pages/FeatureFlagCreatePage.js +2 -2
- package/dist/product-management/modules/feature-flags/pages/FeatureFlagCreatePage.js.map +1 -1
- package/dist/product-management/modules/feature-flags/pages/FeatureFlagDetailPage.js +158 -148
- package/dist/product-management/modules/feature-flags/pages/FeatureFlagDetailPage.js.map +1 -1
- package/dist/product-management/modules/feature-flags/pages/FeatureFlagEditPage.js +2 -2
- package/dist/product-management/modules/feature-flags/pages/FeatureFlagEditPage.js.map +1 -1
- package/dist/product-management/modules/feature-flags/pages/FeatureFlagsListPage.js +98 -81
- package/dist/product-management/modules/feature-flags/pages/FeatureFlagsListPage.js.map +1 -1
- package/dist/product-management/modules/press-kit/components/PressKitAssetForm.js +4 -4
- package/dist/product-management/modules/press-kit/components/PressKitAssetForm.js.map +1 -1
- package/dist/product-management/modules/press-kit/pages/PressKitCreatePage.js +2 -2
- package/dist/product-management/modules/press-kit/pages/PressKitCreatePage.js.map +1 -1
- package/dist/product-management/modules/press-kit/pages/PressKitDetailPage.js +109 -99
- package/dist/product-management/modules/press-kit/pages/PressKitDetailPage.js.map +1 -1
- package/dist/product-management/modules/press-kit/pages/PressKitEditPage.js +2 -2
- package/dist/product-management/modules/press-kit/pages/PressKitEditPage.js.map +1 -1
- package/dist/product-management/modules/press-kit/pages/PressKitListPage.js +252 -236
- package/dist/product-management/modules/press-kit/pages/PressKitListPage.js.map +1 -1
- package/dist/product-management/modules/products/components/ProductForm.js +8 -8
- package/dist/product-management/modules/products/components/ProductForm.js.map +1 -1
- package/dist/product-management/modules/products/components/ProductPlans.js +4 -4
- package/dist/product-management/modules/products/components/ProductPlans.js.map +1 -1
- package/dist/product-management/modules/products/pages/ProductCreatePage.js +2 -2
- package/dist/product-management/modules/products/pages/ProductCreatePage.js.map +1 -1
- package/dist/product-management/modules/products/pages/ProductDetailPage.js +408 -395
- package/dist/product-management/modules/products/pages/ProductDetailPage.js.map +1 -1
- package/dist/product-management/modules/products/pages/ProductEditPage.js +2 -2
- package/dist/product-management/modules/products/pages/ProductEditPage.js.map +1 -1
- package/dist/product-management/modules/products/pages/ProductsListPage.js +301 -281
- package/dist/product-management/modules/products/pages/ProductsListPage.js.map +1 -1
- package/dist/product-management/modules/shortcuts/components/ShortcutForm.js +3 -3
- package/dist/product-management/modules/shortcuts/components/ShortcutForm.js.map +1 -1
- package/dist/product-management/modules/shortcuts/pages/ShortcutCreatePage.js +2 -2
- package/dist/product-management/modules/shortcuts/pages/ShortcutCreatePage.js.map +1 -1
- package/dist/product-management/modules/shortcuts/pages/ShortcutDetailPage.js +221 -218
- package/dist/product-management/modules/shortcuts/pages/ShortcutDetailPage.js.map +1 -1
- package/dist/product-management/modules/shortcuts/pages/ShortcutEditPage.js +2 -2
- package/dist/product-management/modules/shortcuts/pages/ShortcutEditPage.js.map +1 -1
- package/dist/product-management/modules/shortcuts/pages/ShortcutsListPage.js +260 -241
- package/dist/product-management/modules/shortcuts/pages/ShortcutsListPage.js.map +1 -1
- package/dist/product-management/shared/components/AuditHistoryTab.js +1 -1
- package/dist/product-management/shared/components/AuditHistoryTab.js.map +1 -1
- package/dist/product-management/shared/components/feedback/EmptyState.js +2 -20
- package/dist/product-management/shared/hooks/useConfirmDialog.js +44 -0
- package/dist/product-management/shared/hooks/useConfirmDialog.js.map +1 -0
- package/package.json +2 -2
- package/dist/product-management/shared/components/feedback/EmptyState.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ShortcutEditPage.js","names":[],"sources":["../../../../../src/product-management/modules/shortcuts/pages/ShortcutEditPage.tsx"],"sourcesContent":["import { useParams } from 'react-router-dom';\nimport { ArrowLeft } from 'lucide-react';\nimport { useTr } from '../../../shared/hooks/useTr';\nimport { useProductConsole } from '../../../providers/ProductConsoleProvider';\nimport { useShortcut, useUpdateShortcut } from '../hooks/useShortcuts';\nimport { ShortcutForm } from '../components/ShortcutForm';\nimport { LoadingState } from '../../../shared/components/feedback/LoadingState';\nimport { ErrorState } from '../../../shared/components/feedback/ErrorState';\nimport type { UpdateKeyboardShortcutInput } from '../types';\n\nexport function ShortcutEditPage() {\n const { id } = useParams<{ id: string }>();\n const { navigate, basePath = '/products' } = useProductConsole();\n const tr = useTr();\n const shortcutId = id || '';\n\n const { shortcut, loading: fetchLoading, error: fetchError, refetch } = useShortcut(shortcutId);\n const { updateShortcut, loading: updateLoading, error: updateError } = useUpdateShortcut();\n\n const handleSubmit = async (data: UpdateKeyboardShortcutInput) => {\n try {\n await updateShortcut(shortcutId, data);\n navigate(`${basePath}/shortcuts/${shortcutId}`);\n } catch (error) {\n console.error('Failed to update shortcut:', error);\n }\n };\n\n const handleCancel = () => {\n navigate(`${basePath}/shortcuts/${shortcutId}`);\n };\n\n if (fetchLoading) {\n return (\n <div className=\"min-h-full bg-[var(--color-bg-canvas)] p-6\">\n <LoadingState message={tr('shortcuts.loadingShortcut', 'Loading shortcut...')} />\n </div>\n );\n }\n\n if (fetchError) {\n return (\n <div className=\"min-h-full bg-[var(--color-bg-canvas)] p-6\">\n <ErrorState\n message={fetchError.message}\n action={{\n label: tr('productCommon.retry', 'Retry'),\n onClick: () => refetch(),\n }}\n />\n </div>\n );\n }\n\n if (!shortcut) {\n return (\n <div className=\"min-h-full bg-[var(--color-bg-canvas)] p-6\">\n <ErrorState\n message={tr('shortcuts.shortcutNotFound', 'Shortcut not found')}\n action={{\n label: tr('shortcuts.goBack', 'Go Back'),\n onClick: () => navigate(`${basePath}/shortcuts`),\n }}\n />\n </div>\n );\n }\n\n return (\n <div className=\"min-h-full bg-[var(--color-bg-canvas)] p-6 animate-in fade-in duration-200\">\n {/* Page Header */}\n <div className=\"mb-6\">\n <button\n type=\"button\"\n onClick={() => navigate(`${basePath}/shortcuts/${shortcutId}`)}\n className=\"\n inline-flex items-center gap-2 mb-4\n text-text-secondary\n hover:text-text-primary\n transition-colors duration-200\n \"\n >\n <ArrowLeft size={18} />\n {tr('shortcuts.backToShortcut', 'Back to Shortcut')}\n </button>\n\n <h1 className=\"text-3xl font-
|
|
1
|
+
{"version":3,"file":"ShortcutEditPage.js","names":[],"sources":["../../../../../src/product-management/modules/shortcuts/pages/ShortcutEditPage.tsx"],"sourcesContent":["import { useParams } from 'react-router-dom';\nimport { ArrowLeft } from 'lucide-react';\nimport { useTr } from '../../../shared/hooks/useTr';\nimport { useProductConsole } from '../../../providers/ProductConsoleProvider';\nimport { useShortcut, useUpdateShortcut } from '../hooks/useShortcuts';\nimport { ShortcutForm } from '../components/ShortcutForm';\nimport { LoadingState } from '../../../shared/components/feedback/LoadingState';\nimport { ErrorState } from '../../../shared/components/feedback/ErrorState';\nimport type { UpdateKeyboardShortcutInput } from '../types';\n\nexport function ShortcutEditPage() {\n const { id } = useParams<{ id: string }>();\n const { navigate, basePath = '/products' } = useProductConsole();\n const tr = useTr();\n const shortcutId = id || '';\n\n const { shortcut, loading: fetchLoading, error: fetchError, refetch } = useShortcut(shortcutId);\n const { updateShortcut, loading: updateLoading, error: updateError } = useUpdateShortcut();\n\n const handleSubmit = async (data: UpdateKeyboardShortcutInput) => {\n try {\n await updateShortcut(shortcutId, data);\n navigate(`${basePath}/shortcuts/${shortcutId}`);\n } catch (error) {\n console.error('Failed to update shortcut:', error);\n }\n };\n\n const handleCancel = () => {\n navigate(`${basePath}/shortcuts/${shortcutId}`);\n };\n\n if (fetchLoading) {\n return (\n <div className=\"min-h-full bg-[var(--color-bg-canvas)] p-6\">\n <LoadingState message={tr('shortcuts.loadingShortcut', 'Loading shortcut...')} />\n </div>\n );\n }\n\n if (fetchError) {\n return (\n <div className=\"min-h-full bg-[var(--color-bg-canvas)] p-6\">\n <ErrorState\n message={fetchError.message}\n action={{\n label: tr('productCommon.retry', 'Retry'),\n onClick: () => refetch(),\n }}\n />\n </div>\n );\n }\n\n if (!shortcut) {\n return (\n <div className=\"min-h-full bg-[var(--color-bg-canvas)] p-6\">\n <ErrorState\n message={tr('shortcuts.shortcutNotFound', 'Shortcut not found')}\n action={{\n label: tr('shortcuts.goBack', 'Go Back'),\n onClick: () => navigate(`${basePath}/shortcuts`),\n }}\n />\n </div>\n );\n }\n\n return (\n <div className=\"min-h-full bg-[var(--color-bg-canvas)] p-6 animate-in fade-in duration-200\">\n {/* Page Header */}\n <div className=\"mb-6\">\n <button\n type=\"button\"\n onClick={() => navigate(`${basePath}/shortcuts/${shortcutId}`)}\n className=\"\n inline-flex items-center gap-2 mb-4\n text-text-secondary\n hover:text-text-primary\n transition-colors duration-200\n \"\n >\n <ArrowLeft size={18} />\n {tr('shortcuts.backToShortcut', 'Back to Shortcut')}\n </button>\n\n <h1 className=\"text-2xl md:text-3xl font-semibold tracking-tight text-text-primary mb-2\">\n {tr('shortcuts.editKeyboardShortcut', 'Edit Keyboard Shortcut')}\n </h1>\n <p className=\"text-text-secondary\">\n {tr('shortcuts.editShortcutSubtitle', 'Update the keyboard shortcut configuration')}\n </p>\n </div>\n\n {/* Error Message */}\n {updateError && (\n <div className=\"mb-6 p-4 bg-[var(--color-status-error-subtle)] border border-[var(--color-status-error)] rounded-lg\">\n <p className=\"text-[var(--color-status-error)]\">{updateError.message}</p>\n </div>\n )}\n\n {/* Form Card */}\n <div className=\"bg-bg-surface bg-accent-wash border border-border-seam rounded-card shadow-elevation-1 p-6 max-w-2xl\">\n <ShortcutForm\n shortcut={shortcut}\n onSubmit={handleSubmit}\n onCancel={handleCancel}\n loading={updateLoading}\n />\n </div>\n </div>\n );\n}\n"],"mappings":";;;;;;;;;;AAUA,SAAgB,IAAmB;CACjC,IAAM,EAAE,UAAO,GAA2B,EACpC,EAAE,aAAU,cAAW,gBAAgB,GAAmB,EAC1D,IAAK,GAAO,EACZ,IAAa,KAAM,IAEnB,EAAE,aAAU,SAAS,GAAc,OAAO,GAAY,eAAY,EAAY,EAAW,EACzF,EAAE,mBAAgB,SAAS,GAAe,OAAO,MAAgB,GAAmB;AAmD1F,QApCI,IAEA,kBAAC,OAAD;EAAK,WAAU;YACb,kBAAC,GAAD,EAAc,SAAS,EAAG,6BAA6B,sBAAsB,EAAI,CAAA;EAC7E,CAAA,GAIN,IAEA,kBAAC,OAAD;EAAK,WAAU;YACb,kBAAC,GAAD;GACE,SAAS,EAAW;GACpB,QAAQ;IACN,OAAO,EAAG,uBAAuB,QAAQ;IACzC,eAAe,GAAS;IACzB;GACD,CAAA;EACE,CAAA,GAIL,IAeH,kBAAC,OAAD;EAAK,WAAU;YAAf;GAEE,kBAAC,OAAD;IAAK,WAAU;cAAf;KACE,kBAAC,UAAD;MACE,MAAK;MACL,eAAe,EAAS,GAAG,EAAS,aAAa,IAAa;MAC9D,WAAU;gBAHZ,CAUE,kBAAC,GAAD,EAAW,MAAM,IAAM,CAAA,EACtB,EAAG,4BAA4B,mBAAmB,CAC5C;;KAET,kBAAC,MAAD;MAAI,WAAU;gBACX,EAAG,kCAAkC,yBAAyB;MAC5D,CAAA;KACL,kBAAC,KAAD;MAAG,WAAU;gBACV,EAAG,kCAAkC,6CAA6C;MACjF,CAAA;KACA;;GAGL,KACC,kBAAC,OAAD;IAAK,WAAU;cACb,kBAAC,KAAD;KAAG,WAAU;eAAoC,EAAY;KAAY,CAAA;IACrE,CAAA;GAIR,kBAAC,OAAD;IAAK,WAAU;cACb,kBAAC,GAAD;KACY;KACV,UAAU,OAtFU,MAAsC;AAChE,UAAI;AAEF,OADA,MAAM,EAAe,GAAY,EAAK,EACtC,EAAS,GAAG,EAAS,aAAa,IAAa;eACxC,GAAO;AACd,eAAQ,MAAM,8BAA8B,EAAM;;;KAkF9C,gBA9EmB;AACzB,QAAS,GAAG,EAAS,aAAa,IAAa;;KA8EzC,SAAS;KACT,CAAA;IACE,CAAA;GACF;MAtDJ,kBAAC,OAAD;EAAK,WAAU;YACb,kBAAC,GAAD;GACE,SAAS,EAAG,8BAA8B,qBAAqB;GAC/D,QAAQ;IACN,OAAO,EAAG,oBAAoB,UAAU;IACxC,eAAe,EAAS,GAAG,EAAS,YAAY;IACjD;GACD,CAAA;EACE,CAAA"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { useTr as e } from "../../../shared/hooks/useTr.js";
|
|
2
2
|
import { useProductConsole as t } from "../../../providers/ProductConsoleProvider.js";
|
|
3
3
|
import { LoadingState as n } from "../../../shared/components/feedback/LoadingState.js";
|
|
4
|
-
import { ErrorState as
|
|
5
|
-
import { SearchInput as
|
|
6
|
-
import { nativeConfirm as
|
|
4
|
+
import { ErrorState as ee } from "../../../shared/components/feedback/ErrorState.js";
|
|
5
|
+
import { SearchInput as r } from "../../../shared/components/input/SearchInput.js";
|
|
6
|
+
import { nativeConfirm as i, nativeImpact as a, nativeNotify as o } from "../../../../utils/nativeBridge.js";
|
|
7
|
+
import { useConfirmDialog as s } from "../../../shared/hooks/useConfirmDialog.js";
|
|
7
8
|
import { useDebounced as c } from "../../../shared/hooks/useDebounced.js";
|
|
8
9
|
import { useDeleteShortcut as l, useSeedDefaultShortcuts as u, useShortcuts as d, useToggleShortcut as f } from "../hooks/useShortcuts.js";
|
|
9
10
|
import { ShortcutCategories as p } from "../types/index.js";
|
|
@@ -13,287 +14,305 @@ import { useState as g } from "react";
|
|
|
13
14
|
import { Eye as _, Plus as v, RefreshCw as y, Sparkles as b, SquarePen as x, ToggleLeft as S, ToggleRight as C, Trash2 as w } from "lucide-react";
|
|
14
15
|
import { jsx as T, jsxs as E } from "react/jsx-runtime";
|
|
15
16
|
import { PermissionGate as D } from "@burdenoff/fe-libs/shared/components";
|
|
17
|
+
import { Button as O, CTAOverflowMenu as k, GlassCard as A, GradientText as j, IllustratedEmptyState as M } from "@burdenoff/fe-libs/ui";
|
|
16
18
|
//#region src/product-management/modules/shortcuts/pages/ShortcutsListPage.tsx
|
|
17
|
-
function
|
|
18
|
-
let { navigate:
|
|
19
|
-
...
|
|
20
|
-
search:
|
|
21
|
-
}, { limit: 50 }), { deleteShortcut:
|
|
22
|
-
|
|
23
|
-
let t =
|
|
19
|
+
function N() {
|
|
20
|
+
let { navigate: N, basePath: P = "/products" } = t(), F = e(), { confirm: I, ConfirmDialog: L } = s(), [R, z] = g(""), B = c(R, 300), [V, H] = g({}), { shortcuts: U, loading: W, error: G, refetch: K } = d({
|
|
21
|
+
...V,
|
|
22
|
+
search: B || void 0
|
|
23
|
+
}, { limit: 50 }), { deleteShortcut: q, loading: J } = l(), { toggleShortcut: Y, loading: X } = f(), { seedDefaultShortcuts: Z, loading: Q } = u(), te = async (e) => {
|
|
24
|
+
a("medium");
|
|
25
|
+
let t = F("shortcuts.confirmDelete", "Are you sure you want to delete this shortcut?"), n = await i({
|
|
24
26
|
title: "Delete shortcut",
|
|
25
27
|
message: t,
|
|
26
28
|
okButtonTitle: "Delete",
|
|
27
29
|
cancelButtonTitle: "Cancel"
|
|
28
30
|
});
|
|
29
|
-
if (n === null ?
|
|
30
|
-
|
|
31
|
+
if (n === null ? await I({
|
|
32
|
+
title: "Delete shortcut",
|
|
33
|
+
message: t,
|
|
34
|
+
okButtonTitle: "Delete",
|
|
35
|
+
cancelButtonTitle: "Cancel",
|
|
36
|
+
destructive: !0
|
|
37
|
+
}) : n) try {
|
|
38
|
+
await q(e), o("success"), K();
|
|
31
39
|
} catch (e) {
|
|
32
|
-
|
|
40
|
+
o("error"), console.error("Failed to delete shortcut:", e);
|
|
33
41
|
}
|
|
34
|
-
},
|
|
35
|
-
|
|
42
|
+
}, ne = async (e, t) => {
|
|
43
|
+
a("medium");
|
|
36
44
|
try {
|
|
37
|
-
await
|
|
45
|
+
await Y(e, !t), K();
|
|
38
46
|
} catch (e) {
|
|
39
|
-
|
|
47
|
+
o("error"), console.error("Failed to toggle shortcut:", e);
|
|
40
48
|
}
|
|
41
|
-
},
|
|
42
|
-
|
|
43
|
-
let e =
|
|
49
|
+
}, $ = async () => {
|
|
50
|
+
a("light");
|
|
51
|
+
let e = F("shortcuts.confirmSeedDefaults", "This will create default global shortcuts. Continue?"), t = await i({
|
|
44
52
|
title: "Seed defaults",
|
|
45
53
|
message: e,
|
|
46
54
|
okButtonTitle: "Continue",
|
|
47
55
|
cancelButtonTitle: "Cancel"
|
|
48
56
|
});
|
|
49
|
-
if (t === null ?
|
|
50
|
-
|
|
51
|
-
|
|
57
|
+
if (t === null ? await I({
|
|
58
|
+
title: "Seed defaults",
|
|
59
|
+
message: e,
|
|
60
|
+
okButtonTitle: "Continue",
|
|
61
|
+
cancelButtonTitle: "Cancel"
|
|
62
|
+
}) : t) try {
|
|
63
|
+
let e = (await Z()).data?.seedDefaultShortcuts || 0;
|
|
64
|
+
o("success"), alert(`Created ${e} default shortcuts.`), K();
|
|
52
65
|
} catch (e) {
|
|
53
|
-
|
|
66
|
+
o("error"), console.error("Failed to seed shortcuts:", e);
|
|
54
67
|
}
|
|
55
68
|
};
|
|
56
69
|
return /* @__PURE__ */ E("div", {
|
|
57
70
|
className: "min-h-full bg-[var(--color-bg-canvas)] p-6 animate-in fade-in duration-200",
|
|
58
|
-
children: [
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
71
|
+
children: [
|
|
72
|
+
/* @__PURE__ */ E("div", {
|
|
73
|
+
className: "mb-6",
|
|
74
|
+
children: [/* @__PURE__ */ E("div", {
|
|
75
|
+
className: "flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4 mb-4",
|
|
76
|
+
children: [/* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("h1", {
|
|
77
|
+
className: "text-2xl md:text-3xl font-semibold tracking-tight text-text-primary mb-2",
|
|
78
|
+
children: /* @__PURE__ */ T(j, { children: F("shortcuts.title", "Keyboard Shortcuts") })
|
|
79
|
+
}), /* @__PURE__ */ T("p", {
|
|
80
|
+
className: "text-text-secondary",
|
|
81
|
+
children: F("shortcuts.subtitle", "Manage keyboard shortcuts across all Burdenoff products")
|
|
82
|
+
})] }), /* @__PURE__ */ T(D, {
|
|
83
|
+
role: "super_admin",
|
|
84
|
+
children: /* @__PURE__ */ T(k, {
|
|
85
|
+
primary: {
|
|
86
|
+
label: F("shortcuts.createShortcut", "Create Shortcut"),
|
|
87
|
+
onSelect: () => N(`${P}/shortcuts/new`),
|
|
88
|
+
icon: /* @__PURE__ */ T(v, { className: "size-4" })
|
|
89
|
+
},
|
|
90
|
+
actions: [{
|
|
91
|
+
label: F("shortcuts.seedDefaults", "Seed Defaults"),
|
|
92
|
+
onSelect: () => {
|
|
93
|
+
$();
|
|
94
|
+
},
|
|
95
|
+
disabled: Q,
|
|
96
|
+
icon: /* @__PURE__ */ T(b, { className: "size-4" })
|
|
97
|
+
}]
|
|
98
|
+
})
|
|
99
|
+
})]
|
|
100
|
+
}), /* @__PURE__ */ E("div", {
|
|
101
|
+
className: "flex gap-4",
|
|
102
|
+
children: [
|
|
103
|
+
/* @__PURE__ */ T(r, {
|
|
104
|
+
value: R,
|
|
105
|
+
onChange: z,
|
|
106
|
+
placeholder: F("shortcuts.searchPlaceholder", "Search shortcuts..."),
|
|
107
|
+
className: "flex-1"
|
|
108
|
+
}),
|
|
109
|
+
/* @__PURE__ */ E("select", {
|
|
110
|
+
value: V.category || "",
|
|
111
|
+
onChange: (e) => H({
|
|
112
|
+
...V,
|
|
113
|
+
category: e.target.value || void 0
|
|
114
|
+
}),
|
|
115
|
+
className: "\n px-4 py-2\n bg-surface\n border border-default\n rounded-lg\n text-text-primary\n focus:outline-none focus:ring-2 focus:ring-[var(--color-border-focus)]\n transition-all duration-200\n ",
|
|
116
|
+
children: [/* @__PURE__ */ T("option", {
|
|
117
|
+
value: "",
|
|
118
|
+
children: F("shortcuts.allCategories", "All Categories")
|
|
119
|
+
}), Object.values(p).map((e) => /* @__PURE__ */ T("option", {
|
|
120
|
+
value: e,
|
|
121
|
+
children: e
|
|
122
|
+
}, e))]
|
|
123
|
+
}),
|
|
124
|
+
/* @__PURE__ */ E("select", {
|
|
125
|
+
value: V.isEnabled === void 0 || V.isEnabled === null ? "" : V.isEnabled.toString(),
|
|
126
|
+
onChange: (e) => H({
|
|
127
|
+
...V,
|
|
128
|
+
isEnabled: e.target.value === "" ? void 0 : e.target.value === "true"
|
|
129
|
+
}),
|
|
130
|
+
className: "\n px-4 py-2\n bg-surface\n border border-default\n rounded-lg\n text-text-primary\n focus:outline-none focus:ring-2 focus:ring-[var(--color-border-focus)]\n transition-all duration-200\n ",
|
|
131
|
+
children: [
|
|
132
|
+
/* @__PURE__ */ T("option", {
|
|
133
|
+
value: "",
|
|
134
|
+
children: F("shortcuts.allStatus", "All Status")
|
|
135
|
+
}),
|
|
136
|
+
/* @__PURE__ */ T("option", {
|
|
137
|
+
value: "true",
|
|
138
|
+
children: F("shortcuts.enabled", "Enabled")
|
|
139
|
+
}),
|
|
140
|
+
/* @__PURE__ */ T("option", {
|
|
141
|
+
value: "false",
|
|
142
|
+
children: F("shortcuts.disabled", "Disabled")
|
|
143
|
+
})
|
|
144
|
+
]
|
|
145
|
+
}),
|
|
146
|
+
/* @__PURE__ */ T("button", {
|
|
147
|
+
type: "button",
|
|
148
|
+
onClick: () => K(),
|
|
149
|
+
className: "\n inline-flex items-center gap-2 px-4 py-2\n bg-surface\n text-text-primary\n border border-default\n rounded-lg\n hover:bg-bg-sunken\n transition-all duration-200\n ",
|
|
150
|
+
children: /* @__PURE__ */ T(y, { size: 18 })
|
|
151
|
+
})
|
|
152
|
+
]
|
|
153
|
+
})]
|
|
154
|
+
}),
|
|
155
|
+
G ? /* @__PURE__ */ T(ee, {
|
|
156
|
+
message: G.message,
|
|
157
|
+
action: {
|
|
158
|
+
label: F("productCommon.retry", "Retry"),
|
|
159
|
+
onClick: () => K()
|
|
160
|
+
}
|
|
161
|
+
}) : W && U.length === 0 ? /* @__PURE__ */ T(n, { message: F("shortcuts.loadingShortcuts", "Loading keyboard shortcuts...") }) : U.length === 0 ? /* @__PURE__ */ T(A, {
|
|
162
|
+
treatment: "insight",
|
|
163
|
+
className: "animate-in fade-in duration-200",
|
|
164
|
+
children: /* @__PURE__ */ T(M, {
|
|
165
|
+
illustration: R || V.category || V.isEnabled !== void 0 ? "empty-search" : "empty-data",
|
|
166
|
+
title: F("shortcuts.noShortcutsFound", "No keyboard shortcuts found"),
|
|
167
|
+
action: /* @__PURE__ */ E("div", {
|
|
168
|
+
className: "flex flex-wrap items-center justify-center gap-3",
|
|
169
|
+
children: [/* @__PURE__ */ E(O, {
|
|
73
170
|
type: "button",
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
children: [/* @__PURE__ */ T(b, {
|
|
78
|
-
}), /* @__PURE__ */ E(
|
|
171
|
+
variant: "outline",
|
|
172
|
+
onClick: $,
|
|
173
|
+
disabled: Q,
|
|
174
|
+
children: [/* @__PURE__ */ T(b, { className: "size-4" }), F("shortcuts.seedDefaults", "Seed Defaults")]
|
|
175
|
+
}), /* @__PURE__ */ E(O, {
|
|
79
176
|
type: "button",
|
|
80
|
-
onClick: () =>
|
|
81
|
-
|
|
82
|
-
children: [/* @__PURE__ */ T(v, { size: 20 }), A("shortcuts.createShortcut", "Create Shortcut")]
|
|
177
|
+
onClick: () => N(`${P}/shortcuts/new`),
|
|
178
|
+
children: [/* @__PURE__ */ T(v, { className: "size-4" }), F("shortcuts.createShortcut", "Create Shortcut")]
|
|
83
179
|
})]
|
|
84
180
|
})
|
|
85
|
-
})
|
|
86
|
-
})
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
onChange: (e) => F({
|
|
98
|
-
...P,
|
|
99
|
-
category: e.target.value || void 0
|
|
100
|
-
}),
|
|
101
|
-
className: "\n px-4 py-2\n bg-surface\n border border-default\n rounded-lg\n text-text-primary\n focus:outline-none focus:ring-2 focus:ring-[var(--color-border-focus)]\n transition-all duration-200\n ",
|
|
102
|
-
children: [/* @__PURE__ */ T("option", {
|
|
103
|
-
value: "",
|
|
104
|
-
children: A("shortcuts.allCategories", "All Categories")
|
|
105
|
-
}), Object.values(p).map((e) => /* @__PURE__ */ T("option", {
|
|
106
|
-
value: e,
|
|
107
|
-
children: e
|
|
108
|
-
}, e))]
|
|
109
|
-
}),
|
|
110
|
-
/* @__PURE__ */ E("select", {
|
|
111
|
-
value: P.isEnabled === void 0 || P.isEnabled === null ? "" : P.isEnabled.toString(),
|
|
112
|
-
onChange: (e) => F({
|
|
113
|
-
...P,
|
|
114
|
-
isEnabled: e.target.value === "" ? void 0 : e.target.value === "true"
|
|
115
|
-
}),
|
|
116
|
-
className: "\n px-4 py-2\n bg-surface\n border border-default\n rounded-lg\n text-text-primary\n focus:outline-none focus:ring-2 focus:ring-[var(--color-border-focus)]\n transition-all duration-200\n ",
|
|
117
|
-
children: [
|
|
118
|
-
/* @__PURE__ */ T("option", {
|
|
119
|
-
value: "",
|
|
120
|
-
children: A("shortcuts.allStatus", "All Status")
|
|
181
|
+
})
|
|
182
|
+
}) : /* @__PURE__ */ T(A, {
|
|
183
|
+
treatment: "insight",
|
|
184
|
+
className: "overflow-hidden p-0",
|
|
185
|
+
children: /* @__PURE__ */ E("table", {
|
|
186
|
+
className: "w-full",
|
|
187
|
+
children: [/* @__PURE__ */ T("thead", {
|
|
188
|
+
className: "bg-bg-sunken/60 border-b border-border-seam",
|
|
189
|
+
children: /* @__PURE__ */ E("tr", { children: [
|
|
190
|
+
/* @__PURE__ */ T("th", {
|
|
191
|
+
className: "text-left px-6 py-3 text-xs font-semibold text-text-secondary uppercase",
|
|
192
|
+
children: F("shortcuts.columnShortcut", "Shortcut")
|
|
121
193
|
}),
|
|
122
|
-
/* @__PURE__ */ T("
|
|
123
|
-
|
|
124
|
-
children:
|
|
194
|
+
/* @__PURE__ */ T("th", {
|
|
195
|
+
className: "text-left px-6 py-3 text-xs font-semibold text-text-secondary uppercase",
|
|
196
|
+
children: F("shortcuts.columnLabel", "Label")
|
|
125
197
|
}),
|
|
126
|
-
/* @__PURE__ */ T("
|
|
127
|
-
|
|
128
|
-
children:
|
|
129
|
-
})
|
|
130
|
-
]
|
|
131
|
-
}),
|
|
132
|
-
/* @__PURE__ */ T("button", {
|
|
133
|
-
type: "button",
|
|
134
|
-
onClick: () => z(),
|
|
135
|
-
className: "\n inline-flex items-center gap-2 px-4 py-2\n bg-surface\n text-text-primary\n border border-default\n rounded-lg\n hover:bg-bg-sunken\n transition-all duration-200\n ",
|
|
136
|
-
children: /* @__PURE__ */ T(y, { size: 18 })
|
|
137
|
-
})
|
|
138
|
-
]
|
|
139
|
-
})]
|
|
140
|
-
}), R ? /* @__PURE__ */ T(r, {
|
|
141
|
-
message: R.message,
|
|
142
|
-
action: {
|
|
143
|
-
label: A("productCommon.retry", "Retry"),
|
|
144
|
-
onClick: () => z()
|
|
145
|
-
}
|
|
146
|
-
}) : L && I.length === 0 ? /* @__PURE__ */ T(n, { message: A("shortcuts.loadingShortcuts", "Loading keyboard shortcuts...") }) : I.length === 0 ? /* @__PURE__ */ E("div", {
|
|
147
|
-
className: "bg-surface border border-default rounded-lg p-12 text-center animate-in fade-in duration-200",
|
|
148
|
-
children: [/* @__PURE__ */ T("p", {
|
|
149
|
-
className: "text-text-secondary mb-4",
|
|
150
|
-
children: A("shortcuts.noShortcutsFound", "No keyboard shortcuts found")
|
|
151
|
-
}), /* @__PURE__ */ E("div", {
|
|
152
|
-
className: "flex items-center justify-center gap-3",
|
|
153
|
-
children: [/* @__PURE__ */ E("button", {
|
|
154
|
-
type: "button",
|
|
155
|
-
onClick: J,
|
|
156
|
-
disabled: G,
|
|
157
|
-
className: "\n inline-flex items-center gap-2 px-4 py-2\n bg-surface\n text-text-primary\n border border-default\n rounded-lg\n hover:bg-bg-sunken\n transition-all duration-200\n font-medium\n ",
|
|
158
|
-
children: [/* @__PURE__ */ T(b, { size: 18 }), A("shortcuts.seedDefaults", "Seed Defaults")]
|
|
159
|
-
}), /* @__PURE__ */ E("button", {
|
|
160
|
-
type: "button",
|
|
161
|
-
onClick: () => O(`${k}/shortcuts/new`),
|
|
162
|
-
className: "\n inline-flex items-center gap-2 px-4 py-2\n bg-[var(--color-action-primary-bg)]\n text-[var(--color-action-primary-text)]\n rounded-lg\n hover:opacity-90\n transition-all duration-200\n font-medium\n ",
|
|
163
|
-
children: [/* @__PURE__ */ T(v, { size: 20 }), A("shortcuts.createShortcut", "Create Shortcut")]
|
|
164
|
-
})]
|
|
165
|
-
})]
|
|
166
|
-
}) : /* @__PURE__ */ T("div", {
|
|
167
|
-
className: "bg-surface border border-default rounded-lg shadow-[var(--shadow-elevation-1)] overflow-hidden",
|
|
168
|
-
children: /* @__PURE__ */ E("table", {
|
|
169
|
-
className: "w-full",
|
|
170
|
-
children: [/* @__PURE__ */ T("thead", {
|
|
171
|
-
className: "bg-bg-sunken border-b border-default",
|
|
172
|
-
children: /* @__PURE__ */ E("tr", { children: [
|
|
173
|
-
/* @__PURE__ */ T("th", {
|
|
174
|
-
className: "text-left px-6 py-3 text-xs font-semibold text-text-secondary uppercase",
|
|
175
|
-
children: A("shortcuts.columnShortcut", "Shortcut")
|
|
176
|
-
}),
|
|
177
|
-
/* @__PURE__ */ T("th", {
|
|
178
|
-
className: "text-left px-6 py-3 text-xs font-semibold text-text-secondary uppercase",
|
|
179
|
-
children: A("shortcuts.columnLabel", "Label")
|
|
180
|
-
}),
|
|
181
|
-
/* @__PURE__ */ T("th", {
|
|
182
|
-
className: "text-left px-6 py-3 text-xs font-semibold text-text-secondary uppercase",
|
|
183
|
-
children: A("shortcuts.columnCategory", "Category")
|
|
184
|
-
}),
|
|
185
|
-
/* @__PURE__ */ T("th", {
|
|
186
|
-
className: "text-left px-6 py-3 text-xs font-semibold text-text-secondary uppercase",
|
|
187
|
-
children: A("shortcuts.columnEvent", "Event")
|
|
188
|
-
}),
|
|
189
|
-
/* @__PURE__ */ T("th", {
|
|
190
|
-
className: "text-left px-6 py-3 text-xs font-semibold text-text-secondary uppercase",
|
|
191
|
-
children: A("shortcuts.columnProduct", "Product")
|
|
192
|
-
}),
|
|
193
|
-
/* @__PURE__ */ T("th", {
|
|
194
|
-
className: "text-center px-6 py-3 text-xs font-semibold text-text-secondary uppercase",
|
|
195
|
-
children: A("shortcuts.columnEnabled", "Enabled")
|
|
196
|
-
}),
|
|
197
|
-
/* @__PURE__ */ T("th", {
|
|
198
|
-
className: "text-right px-6 py-3 text-xs font-semibold text-text-secondary uppercase",
|
|
199
|
-
children: A("shortcuts.columnActions", "Actions")
|
|
200
|
-
})
|
|
201
|
-
] })
|
|
202
|
-
}), /* @__PURE__ */ T("tbody", {
|
|
203
|
-
className: "divide-y divide-[var(--color-border-default)]",
|
|
204
|
-
children: I.map((e) => /* @__PURE__ */ E("tr", {
|
|
205
|
-
className: "hover:bg-bg-sunken transition-all duration-200",
|
|
206
|
-
children: [
|
|
207
|
-
/* @__PURE__ */ T("td", {
|
|
208
|
-
className: "px-6 py-4",
|
|
209
|
-
children: /* @__PURE__ */ T(h, {
|
|
210
|
-
shortcutKey: e.shortcutKey,
|
|
211
|
-
isSequence: e.isSequence
|
|
212
|
-
})
|
|
198
|
+
/* @__PURE__ */ T("th", {
|
|
199
|
+
className: "text-left px-6 py-3 text-xs font-semibold text-text-secondary uppercase",
|
|
200
|
+
children: F("shortcuts.columnCategory", "Category")
|
|
213
201
|
}),
|
|
214
|
-
/* @__PURE__ */ T("
|
|
215
|
-
className: "px-6 py-
|
|
216
|
-
children:
|
|
217
|
-
className: "font-medium text-text-primary",
|
|
218
|
-
children: e.label
|
|
219
|
-
}), e.description && /* @__PURE__ */ T("p", {
|
|
220
|
-
className: "text-sm text-text-tertiary line-clamp-1",
|
|
221
|
-
children: e.description
|
|
222
|
-
})] })
|
|
202
|
+
/* @__PURE__ */ T("th", {
|
|
203
|
+
className: "text-left px-6 py-3 text-xs font-semibold text-text-secondary uppercase",
|
|
204
|
+
children: F("shortcuts.columnEvent", "Event")
|
|
223
205
|
}),
|
|
224
|
-
/* @__PURE__ */ T("
|
|
225
|
-
className: "px-6 py-
|
|
226
|
-
children:
|
|
206
|
+
/* @__PURE__ */ T("th", {
|
|
207
|
+
className: "text-left px-6 py-3 text-xs font-semibold text-text-secondary uppercase",
|
|
208
|
+
children: F("shortcuts.columnProduct", "Product")
|
|
227
209
|
}),
|
|
228
|
-
/* @__PURE__ */ T("
|
|
229
|
-
className: "px-6 py-
|
|
230
|
-
children:
|
|
231
|
-
className: "text-sm text-text-secondary bg-bg-sunken px-1.5 py-0.5 rounded font-mono",
|
|
232
|
-
children: e.eventName
|
|
233
|
-
})
|
|
210
|
+
/* @__PURE__ */ T("th", {
|
|
211
|
+
className: "text-center px-6 py-3 text-xs font-semibold text-text-secondary uppercase",
|
|
212
|
+
children: F("shortcuts.columnEnabled", "Enabled")
|
|
234
213
|
}),
|
|
235
|
-
/* @__PURE__ */ T("
|
|
236
|
-
className: "px-6 py-
|
|
237
|
-
children:
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
214
|
+
/* @__PURE__ */ T("th", {
|
|
215
|
+
className: "text-right px-6 py-3 text-xs font-semibold text-text-secondary uppercase",
|
|
216
|
+
children: F("shortcuts.columnActions", "Actions")
|
|
217
|
+
})
|
|
218
|
+
] })
|
|
219
|
+
}), /* @__PURE__ */ T("tbody", {
|
|
220
|
+
className: "divide-y divide-border-seam",
|
|
221
|
+
children: U.map((e) => /* @__PURE__ */ E("tr", {
|
|
222
|
+
className: "hover:bg-bg-sunken/70 transition-colors duration-200",
|
|
223
|
+
children: [
|
|
224
|
+
/* @__PURE__ */ T("td", {
|
|
225
|
+
className: "px-6 py-4",
|
|
226
|
+
children: /* @__PURE__ */ T(h, {
|
|
227
|
+
shortcutKey: e.shortcutKey,
|
|
228
|
+
isSequence: e.isSequence
|
|
242
229
|
})
|
|
243
|
-
})
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
230
|
+
}),
|
|
231
|
+
/* @__PURE__ */ T("td", {
|
|
232
|
+
className: "px-6 py-4",
|
|
233
|
+
children: /* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("p", {
|
|
234
|
+
className: "font-medium text-text-primary",
|
|
235
|
+
children: e.label
|
|
236
|
+
}), e.description && /* @__PURE__ */ T("p", {
|
|
237
|
+
className: "text-sm text-text-tertiary line-clamp-1",
|
|
238
|
+
children: e.description
|
|
239
|
+
})] })
|
|
240
|
+
}),
|
|
241
|
+
/* @__PURE__ */ T("td", {
|
|
242
|
+
className: "px-6 py-4",
|
|
243
|
+
children: /* @__PURE__ */ T(m, { category: e.category })
|
|
244
|
+
}),
|
|
245
|
+
/* @__PURE__ */ T("td", {
|
|
246
|
+
className: "px-6 py-4",
|
|
247
|
+
children: /* @__PURE__ */ T("code", {
|
|
248
|
+
className: "text-sm text-text-secondary bg-bg-sunken px-1.5 py-0.5 rounded font-mono",
|
|
249
|
+
children: e.eventName
|
|
250
|
+
})
|
|
251
|
+
}),
|
|
252
|
+
/* @__PURE__ */ T("td", {
|
|
253
|
+
className: "px-6 py-4",
|
|
254
|
+
children: /* @__PURE__ */ T("span", {
|
|
255
|
+
className: "text-sm text-text-primary",
|
|
256
|
+
children: e.product?.name || /* @__PURE__ */ T("span", {
|
|
257
|
+
className: "text-text-tertiary italic",
|
|
258
|
+
children: F("shortcuts.global", "Global")
|
|
259
|
+
})
|
|
260
|
+
})
|
|
261
|
+
}),
|
|
262
|
+
/* @__PURE__ */ T("td", {
|
|
263
|
+
className: "px-6 py-4 text-center",
|
|
264
|
+
children: /* @__PURE__ */ T("button", {
|
|
265
|
+
type: "button",
|
|
266
|
+
onClick: () => ne(e.id, e.isEnabled),
|
|
267
|
+
disabled: X,
|
|
268
|
+
className: `
|
|
252
269
|
p-1 rounded-lg transition-all duration-200
|
|
253
270
|
${e.isEnabled ? "text-[var(--color-status-success)] hover:bg-[var(--color-status-success-subtle)]" : "text-text-tertiary hover:bg-bg-sunken"}
|
|
254
271
|
disabled:opacity-50
|
|
255
272
|
`,
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
children: [/* @__PURE__ */ T("button", {
|
|
265
|
-
type: "button",
|
|
266
|
-
onClick: () => O(`${k}/shortcuts/${e.id}`),
|
|
267
|
-
className: "p-2 rounded-lg text-text-secondary hover:bg-bg-sunken transition-all duration-200",
|
|
268
|
-
title: A("shortcuts.viewDetails", "View details"),
|
|
269
|
-
children: /* @__PURE__ */ T(_, { size: 18 })
|
|
270
|
-
}), /* @__PURE__ */ E(D, {
|
|
271
|
-
role: "super_admin",
|
|
273
|
+
title: e.isEnabled ? F("shortcuts.disable", "Disable") : F("shortcuts.enable", "Enable"),
|
|
274
|
+
children: e.isEnabled ? /* @__PURE__ */ T(C, { size: 24 }) : /* @__PURE__ */ T(S, { size: 24 })
|
|
275
|
+
})
|
|
276
|
+
}),
|
|
277
|
+
/* @__PURE__ */ T("td", {
|
|
278
|
+
className: "px-6 py-4",
|
|
279
|
+
children: /* @__PURE__ */ E("div", {
|
|
280
|
+
className: "flex items-center justify-end gap-2",
|
|
272
281
|
children: [/* @__PURE__ */ T("button", {
|
|
273
282
|
type: "button",
|
|
274
|
-
onClick: () =>
|
|
283
|
+
onClick: () => N(`${P}/shortcuts/${e.id}`),
|
|
275
284
|
className: "p-2 rounded-lg text-text-secondary hover:bg-bg-sunken transition-all duration-200",
|
|
276
|
-
title:
|
|
277
|
-
children: /* @__PURE__ */ T(
|
|
278
|
-
}), /* @__PURE__ */
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
+
title: F("shortcuts.viewDetails", "View details"),
|
|
286
|
+
children: /* @__PURE__ */ T(_, { size: 18 })
|
|
287
|
+
}), /* @__PURE__ */ E(D, {
|
|
288
|
+
role: "super_admin",
|
|
289
|
+
children: [/* @__PURE__ */ T("button", {
|
|
290
|
+
type: "button",
|
|
291
|
+
onClick: () => N(`${P}/shortcuts/${e.id}/edit`),
|
|
292
|
+
className: "p-2 rounded-lg text-text-secondary hover:bg-bg-sunken transition-all duration-200",
|
|
293
|
+
title: F("shortcuts.edit", "Edit"),
|
|
294
|
+
children: /* @__PURE__ */ T(x, { size: 18 })
|
|
295
|
+
}), /* @__PURE__ */ T("button", {
|
|
296
|
+
type: "button",
|
|
297
|
+
onClick: () => te(e.id),
|
|
298
|
+
disabled: J,
|
|
299
|
+
className: "p-2 rounded-lg text-[var(--color-status-error)] hover:bg-[var(--color-status-error-subtle)] transition-all duration-200 disabled:opacity-50",
|
|
300
|
+
title: F("shortcuts.delete", "Delete"),
|
|
301
|
+
children: /* @__PURE__ */ T(w, { size: 18 })
|
|
302
|
+
})]
|
|
285
303
|
})]
|
|
286
|
-
})
|
|
304
|
+
})
|
|
287
305
|
})
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
}
|
|
291
|
-
})
|
|
292
|
-
})
|
|
293
|
-
|
|
306
|
+
]
|
|
307
|
+
}, e.id))
|
|
308
|
+
})]
|
|
309
|
+
})
|
|
310
|
+
}),
|
|
311
|
+
L
|
|
312
|
+
]
|
|
294
313
|
});
|
|
295
314
|
}
|
|
296
315
|
//#endregion
|
|
297
|
-
export {
|
|
316
|
+
export { N as ShortcutsListPage };
|
|
298
317
|
|
|
299
318
|
//# sourceMappingURL=ShortcutsListPage.js.map
|