@burdenoff/microfe-product 2026.624.3 → 2026.626.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.
Files changed (63) hide show
  1. package/dist/product/pages/ContentPageViewPage.js +41 -36
  2. package/dist/product/pages/ContentPageViewPage.js.map +1 -1
  3. package/dist/product/pages/ProductCatalogPage.js +63 -50
  4. package/dist/product/pages/ProductCatalogPage.js.map +1 -1
  5. package/dist/product/pages/ProductViewPage.js +220 -178
  6. package/dist/product/pages/ProductViewPage.js.map +1 -1
  7. package/dist/product-management/modules/content-pages/components/ContentPageForm.js +7 -7
  8. package/dist/product-management/modules/content-pages/components/ContentPageForm.js.map +1 -1
  9. package/dist/product-management/modules/content-pages/pages/ContentPageCreatePage.js +28 -26
  10. package/dist/product-management/modules/content-pages/pages/ContentPageCreatePage.js.map +1 -1
  11. package/dist/product-management/modules/content-pages/pages/ContentPageDetailPage.js +119 -90
  12. package/dist/product-management/modules/content-pages/pages/ContentPageDetailPage.js.map +1 -1
  13. package/dist/product-management/modules/content-pages/pages/ContentPageEditPage.js +33 -31
  14. package/dist/product-management/modules/content-pages/pages/ContentPageEditPage.js.map +1 -1
  15. package/dist/product-management/modules/content-pages/pages/ContentPagesListPage.js +171 -161
  16. package/dist/product-management/modules/content-pages/pages/ContentPagesListPage.js.map +1 -1
  17. package/dist/product-management/modules/feature-flags/components/FeatureFlagForm.js +1 -1
  18. package/dist/product-management/modules/feature-flags/components/FeatureFlagForm.js.map +1 -1
  19. package/dist/product-management/modules/feature-flags/pages/FeatureFlagCreatePage.js +26 -24
  20. package/dist/product-management/modules/feature-flags/pages/FeatureFlagCreatePage.js.map +1 -1
  21. package/dist/product-management/modules/feature-flags/pages/FeatureFlagDetailPage.js +152 -125
  22. package/dist/product-management/modules/feature-flags/pages/FeatureFlagDetailPage.js.map +1 -1
  23. package/dist/product-management/modules/feature-flags/pages/FeatureFlagEditPage.js +36 -34
  24. package/dist/product-management/modules/feature-flags/pages/FeatureFlagEditPage.js.map +1 -1
  25. package/dist/product-management/modules/feature-flags/pages/FeatureFlagsListPage.js +144 -136
  26. package/dist/product-management/modules/feature-flags/pages/FeatureFlagsListPage.js.map +1 -1
  27. package/dist/product-management/modules/press-kit/components/PressKitAssetForm.js +4 -4
  28. package/dist/product-management/modules/press-kit/components/PressKitAssetForm.js.map +1 -1
  29. package/dist/product-management/modules/press-kit/pages/PressKitCreatePage.js +28 -26
  30. package/dist/product-management/modules/press-kit/pages/PressKitCreatePage.js.map +1 -1
  31. package/dist/product-management/modules/press-kit/pages/PressKitDetailPage.js +111 -84
  32. package/dist/product-management/modules/press-kit/pages/PressKitDetailPage.js.map +1 -1
  33. package/dist/product-management/modules/press-kit/pages/PressKitEditPage.js +33 -31
  34. package/dist/product-management/modules/press-kit/pages/PressKitEditPage.js.map +1 -1
  35. package/dist/product-management/modules/press-kit/pages/PressKitListPage.js +85 -75
  36. package/dist/product-management/modules/press-kit/pages/PressKitListPage.js.map +1 -1
  37. package/dist/product-management/modules/products/components/ProductForm.js +8 -8
  38. package/dist/product-management/modules/products/components/ProductForm.js.map +1 -1
  39. package/dist/product-management/modules/products/components/ProductPlans.js +136 -147
  40. package/dist/product-management/modules/products/components/ProductPlans.js.map +1 -1
  41. package/dist/product-management/modules/products/pages/ProductCreatePage.js +28 -26
  42. package/dist/product-management/modules/products/pages/ProductCreatePage.js.map +1 -1
  43. package/dist/product-management/modules/products/pages/ProductDetailPage.js +170 -140
  44. package/dist/product-management/modules/products/pages/ProductDetailPage.js.map +1 -1
  45. package/dist/product-management/modules/products/pages/ProductEditPage.js +32 -30
  46. package/dist/product-management/modules/products/pages/ProductEditPage.js.map +1 -1
  47. package/dist/product-management/modules/products/pages/ProductsListPage.js +219 -202
  48. package/dist/product-management/modules/products/pages/ProductsListPage.js.map +1 -1
  49. package/dist/product-management/modules/shortcuts/components/ShortcutForm.js +3 -3
  50. package/dist/product-management/modules/shortcuts/components/ShortcutForm.js.map +1 -1
  51. package/dist/product-management/modules/shortcuts/pages/ShortcutCreatePage.js +28 -23
  52. package/dist/product-management/modules/shortcuts/pages/ShortcutCreatePage.js.map +1 -1
  53. package/dist/product-management/modules/shortcuts/pages/ShortcutDetailPage.js +228 -209
  54. package/dist/product-management/modules/shortcuts/pages/ShortcutDetailPage.js.map +1 -1
  55. package/dist/product-management/modules/shortcuts/pages/ShortcutEditPage.js +31 -26
  56. package/dist/product-management/modules/shortcuts/pages/ShortcutEditPage.js.map +1 -1
  57. package/dist/product-management/modules/shortcuts/pages/ShortcutsListPage.js +209 -198
  58. package/dist/product-management/modules/shortcuts/pages/ShortcutsListPage.js.map +1 -1
  59. package/dist/product-management/shared/components/AuditHistoryTab.js +19 -17
  60. package/dist/product-management/shared/components/AuditHistoryTab.js.map +1 -1
  61. package/dist/product-management/shared/components/feedback/EmptyState.js +2 -20
  62. package/package.json +2 -2
  63. package/dist/product-management/shared/components/feedback/EmptyState.js.map +0 -1
@@ -8,258 +8,277 @@ import { useDeleteShortcut as c, useShortcut as l, useToggleShortcut as u } from
8
8
  import { ShortcutCategoryBadge as d } from "../components/ShortcutCategoryBadge.js";
9
9
  import { ShortcutKeyBadge as f } from "../components/ShortcutKeyBadge.js";
10
10
  import { ArrowLeft as p, SquarePen as m, ToggleLeft as h, ToggleRight as g, Trash2 as _ } from "lucide-react";
11
- import { Fragment as v, jsx as y, jsxs as b } from "react/jsx-runtime";
12
- import { useParams as x } from "react-router-dom";
11
+ import { jsx as v, jsxs as y } from "react/jsx-runtime";
12
+ import { useParams as b } from "react-router-dom";
13
+ import { CTAOverflowMenu as x, EmphasisPanel as S, GradientText as C, NextSteps as w, PagePurpose as T } from "@burdenoff/fe-libs/ui";
13
14
  //#region src/product-management/modules/shortcuts/pages/ShortcutDetailPage.tsx
14
- function S() {
15
- let { id: S } = x(), { navigate: C, basePath: w = "/products" } = t(), T = e(), { confirm: E, ConfirmDialog: D } = s(), O = S || "", { shortcut: k, loading: A, error: j, refetch: M } = l(O), { deleteShortcut: N, loading: P } = c(), { toggleShortcut: F, loading: I } = u();
16
- return A ? /* @__PURE__ */ y("div", {
15
+ function E() {
16
+ let { id: E } = b(), { navigate: D, basePath: O = "/products" } = t(), k = e(), { confirm: A, ConfirmDialog: j } = s(), M = E || "", { shortcut: N, loading: P, error: F, refetch: I } = l(M), { deleteShortcut: L, loading: R } = c(), { toggleShortcut: z, loading: B } = u(), V = async () => {
17
+ a("medium");
18
+ let e = k("shortcuts.confirmDelete", "Are you sure you want to delete this shortcut?"), t = await i({
19
+ title: "Delete shortcut",
20
+ message: e,
21
+ okButtonTitle: "Delete",
22
+ cancelButtonTitle: "Cancel"
23
+ });
24
+ if (t === null ? await A({
25
+ title: "Delete shortcut",
26
+ message: e,
27
+ okButtonTitle: "Delete",
28
+ cancelButtonTitle: "Cancel",
29
+ destructive: !0
30
+ }) : t) try {
31
+ await L(M), o("success"), D(`${O}/shortcuts`);
32
+ } catch (e) {
33
+ o("error"), console.error("Failed to delete shortcut:", e);
34
+ }
35
+ }, H = async () => {
36
+ if (N) {
37
+ a("medium");
38
+ try {
39
+ await z(M, !N.isEnabled), I();
40
+ } catch (e) {
41
+ o("error"), console.error("Failed to toggle shortcut:", e);
42
+ }
43
+ }
44
+ };
45
+ return P ? /* @__PURE__ */ v("div", {
17
46
  className: "min-h-full bg-[var(--color-bg-canvas)] p-6",
18
- children: /* @__PURE__ */ y(n, { message: T("shortcuts.loadingShortcut", "Loading shortcut...") })
19
- }) : j ? /* @__PURE__ */ y("div", {
47
+ children: /* @__PURE__ */ v(n, { message: k("shortcuts.loadingShortcut", "Loading shortcut...") })
48
+ }) : F ? /* @__PURE__ */ v("div", {
20
49
  className: "min-h-full bg-[var(--color-bg-canvas)] p-6",
21
- children: /* @__PURE__ */ y(r, {
22
- message: j.message,
50
+ children: /* @__PURE__ */ v(r, {
51
+ message: F.message,
23
52
  action: {
24
- label: T("productCommon.retry", "Retry"),
25
- onClick: () => M()
53
+ label: k("productCommon.retry", "Retry"),
54
+ onClick: () => I()
26
55
  }
27
56
  })
28
- }) : k ? /* @__PURE__ */ b("div", {
57
+ }) : N ? /* @__PURE__ */ y("div", {
29
58
  className: "min-h-full bg-[var(--color-bg-canvas)] p-6 animate-in fade-in duration-200",
30
59
  children: [
31
- /* @__PURE__ */ b("div", {
60
+ /* @__PURE__ */ y("div", {
32
61
  className: "mb-6",
33
- children: [/* @__PURE__ */ b("button", {
62
+ children: [/* @__PURE__ */ y("button", {
34
63
  type: "button",
35
- onClick: () => C(`${w}/shortcuts`),
64
+ onClick: () => D(`${O}/shortcuts`),
36
65
  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 ",
37
- children: [/* @__PURE__ */ y(p, { size: 18 }), T("shortcuts.backToShortcuts", "Back to Shortcuts")]
38
- }), /* @__PURE__ */ b("div", {
39
- className: "flex items-start justify-between",
40
- children: [/* @__PURE__ */ b("div", { children: [/* @__PURE__ */ b("div", {
41
- className: "flex items-center gap-3 mb-2",
42
- children: [/* @__PURE__ */ y("h1", {
43
- className: "text-3xl font-bold text-text-primary",
44
- children: k.label
45
- }), /* @__PURE__ */ y(d, { category: k.category })]
46
- }), /* @__PURE__ */ b("div", {
66
+ children: [/* @__PURE__ */ v(p, { size: 18 }), k("shortcuts.backToShortcuts", "Back to Shortcuts")]
67
+ }), /* @__PURE__ */ y("div", {
68
+ className: "flex flex-col sm:flex-row sm:items-start sm:justify-between gap-4",
69
+ children: [/* @__PURE__ */ y("div", { children: [/* @__PURE__ */ y("div", {
70
+ className: "flex flex-wrap items-center gap-3 mb-2",
71
+ children: [/* @__PURE__ */ v("h1", {
72
+ className: "text-2xl md:text-3xl font-semibold tracking-tight text-text-primary",
73
+ children: /* @__PURE__ */ v(C, { children: N.label })
74
+ }), /* @__PURE__ */ v(d, { category: N.category })]
75
+ }), /* @__PURE__ */ y("div", {
47
76
  className: "flex items-center gap-3",
48
- children: [/* @__PURE__ */ y(f, {
49
- shortcutKey: k.shortcutKey,
50
- isSequence: k.isSequence
77
+ children: [/* @__PURE__ */ v(f, {
78
+ shortcutKey: N.shortcutKey,
79
+ isSequence: N.isSequence
51
80
  }), /* @__PURE__ */ y("span", {
52
81
  className: `
53
- inline-flex items-center gap-1 px-2 py-0.5 rounded-full text-xs font-medium
54
- ${k.isEnabled ? "bg-[var(--color-status-success-subtle)] text-[var(--color-status-success)]" : "bg-bg-sunken text-text-tertiary"}
82
+ inline-flex items-center gap-1.5 px-2 py-0.5 rounded-full text-xs font-medium
83
+ ${N.isEnabled ? "bg-[var(--color-status-success-subtle)] text-[var(--color-status-success)]" : "bg-bg-sunken text-text-tertiary"}
55
84
  `,
56
- children: k.isEnabled ? T("shortcuts.enabled", "Enabled") : T("shortcuts.disabled", "Disabled")
85
+ children: [N.isEnabled && /* @__PURE__ */ v("span", { className: "size-1.5 rounded-full bg-[var(--color-status-success)] motion-safe:animate-vc-glow-pulse" }), N.isEnabled ? k("shortcuts.enabled", "Enabled") : k("shortcuts.disabled", "Disabled")]
57
86
  })]
58
- })] }), /* @__PURE__ */ b("div", {
59
- className: "flex items-center gap-2",
60
- children: [
61
- /* @__PURE__ */ y("button", {
62
- type: "button",
63
- onClick: async () => {
64
- if (k) {
65
- a("medium");
66
- try {
67
- await F(O, !k.isEnabled), M();
68
- } catch (e) {
69
- o("error"), console.error("Failed to toggle shortcut:", e);
70
- }
71
- }
72
- },
73
- disabled: I,
74
- className: `
75
- inline-flex items-center gap-2 px-4 py-2
76
- rounded-lg
77
- transition-all duration-200
78
- font-medium
79
- disabled:opacity-50
80
- ${k.isEnabled ? "bg-surface text-text-primary border border-default hover:bg-bg-sunken" : "bg-[var(--color-status-success-subtle)] text-[var(--color-status-success)] border border-[var(--color-status-success)] hover:bg-[var(--color-status-success)] hover:text-white"}
81
- `,
82
- children: k.isEnabled ? /* @__PURE__ */ b(v, { children: [/* @__PURE__ */ y(h, { size: 18 }), T("shortcuts.disable", "Disable")] }) : /* @__PURE__ */ b(v, { children: [/* @__PURE__ */ y(g, { size: 18 }), T("shortcuts.enable", "Enable")] })
83
- }),
84
- /* @__PURE__ */ b("button", {
85
- type: "button",
86
- onClick: () => C(`${w}/shortcuts/${O}/edit`),
87
- 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 ",
88
- children: [/* @__PURE__ */ y(m, { size: 18 }), T("shortcuts.edit", "Edit")]
89
- }),
90
- /* @__PURE__ */ b("button", {
91
- type: "button",
92
- onClick: async () => {
93
- a("medium");
94
- let e = T("shortcuts.confirmDelete", "Are you sure you want to delete this shortcut?"), t = await i({
95
- title: "Delete shortcut",
96
- message: e,
97
- okButtonTitle: "Delete",
98
- cancelButtonTitle: "Cancel"
99
- });
100
- if (t === null ? await E({
101
- title: "Delete shortcut",
102
- message: e,
103
- okButtonTitle: "Delete",
104
- cancelButtonTitle: "Cancel",
105
- destructive: !0
106
- }) : t) try {
107
- await N(O), o("success"), C(`${w}/shortcuts`);
108
- } catch (e) {
109
- o("error"), console.error("Failed to delete shortcut:", e);
110
- }
111
- },
112
- disabled: P,
113
- className: "\n inline-flex items-center gap-2 px-4 py-2\n bg-[var(--color-status-error-subtle)]\n text-[var(--color-status-error)]\n border border-[var(--color-status-error)]\n rounded-lg\n hover:bg-[var(--color-status-error)] hover:text-white\n transition-all duration-200\n font-medium\n disabled:opacity-50\n ",
114
- children: [/* @__PURE__ */ y(_, { size: 18 }), T("shortcuts.delete", "Delete")]
115
- })
116
- ]
87
+ })] }), /* @__PURE__ */ v(x, {
88
+ primary: {
89
+ label: k("shortcuts.edit", "Edit"),
90
+ onSelect: () => D(`${O}/shortcuts/${M}/edit`),
91
+ icon: /* @__PURE__ */ v(m, { className: "size-4" })
92
+ },
93
+ actions: [{
94
+ label: N.isEnabled ? k("shortcuts.disable", "Disable") : k("shortcuts.enable", "Enable"),
95
+ onSelect: () => {
96
+ H();
97
+ },
98
+ disabled: B,
99
+ icon: N.isEnabled ? /* @__PURE__ */ v(h, { className: "size-4" }) : /* @__PURE__ */ v(g, { className: "size-4" })
100
+ }, {
101
+ label: k("shortcuts.delete", "Delete"),
102
+ onSelect: () => {
103
+ V();
104
+ },
105
+ intent: "destructive",
106
+ disabled: R,
107
+ icon: /* @__PURE__ */ v(_, { className: "size-4" })
108
+ }]
117
109
  })]
118
110
  })]
119
111
  }),
120
- /* @__PURE__ */ b("div", {
112
+ /* @__PURE__ */ v(T, {
113
+ className: "mb-6",
114
+ children: k("shortcuts.detailPurpose", `This is the "${N.label}" shortcut — it fires the "${N.eventName}" event when pressed. Review its key bindings (including Mac and Windows/Linux variants), toggle it on or off, or edit it to change the keys or event.`)
115
+ }),
116
+ /* @__PURE__ */ v(w, {
117
+ storageKey: "product-shortcut-detail",
118
+ className: "mb-6",
119
+ steps: [
120
+ {
121
+ id: "edit",
122
+ label: k("shortcuts.steps.edit", "Edit this shortcut"),
123
+ description: k("shortcuts.steps.editDesc", "Change the key combination, event, category, or per-platform keys."),
124
+ onClick: () => D(`${O}/shortcuts/${M}/edit`)
125
+ },
126
+ {
127
+ id: "toggle",
128
+ label: N.isEnabled ? k("shortcuts.steps.disable", "Disable this shortcut") : k("shortcuts.steps.enable", "Enable this shortcut"),
129
+ description: k("shortcuts.steps.toggleDesc", "Turn it on or off without deleting it — useful while testing."),
130
+ onClick: () => {
131
+ H();
132
+ }
133
+ },
134
+ {
135
+ id: "back",
136
+ label: k("shortcuts.steps.back", "Back to all shortcuts"),
137
+ description: k("shortcuts.steps.backDesc", "Return to the list to manage the rest of your shortcuts."),
138
+ onClick: () => D(`${O}/shortcuts`)
139
+ }
140
+ ]
141
+ }),
142
+ /* @__PURE__ */ y("div", {
121
143
  className: "grid grid-cols-1 lg:grid-cols-2 gap-6",
122
- children: [/* @__PURE__ */ b("div", {
123
- className: "bg-surface border border-default rounded-lg shadow-[var(--shadow-elevation-1)] p-6",
124
- children: [/* @__PURE__ */ y("h2", {
125
- className: "text-lg font-semibold text-text-primary mb-4",
126
- children: T("shortcuts.shortcutDetails", "Shortcut Details")
127
- }), /* @__PURE__ */ b("dl", {
128
- className: "space-y-4",
129
- children: [
130
- /* @__PURE__ */ b("div", { children: [/* @__PURE__ */ y("dt", {
131
- className: "text-sm font-medium text-text-secondary",
132
- children: T("shortcuts.label", "Label")
133
- }), /* @__PURE__ */ y("dd", {
134
- className: "text-text-primary mt-1",
135
- children: k.label
136
- })] }),
137
- k.description && /* @__PURE__ */ b("div", { children: [/* @__PURE__ */ y("dt", {
138
- className: "text-sm font-medium text-text-secondary",
139
- children: T("shortcuts.description", "Description")
140
- }), /* @__PURE__ */ y("dd", {
141
- className: "text-text-primary mt-1",
142
- children: k.description
143
- })] }),
144
- /* @__PURE__ */ b("div", { children: [/* @__PURE__ */ y("dt", {
145
- className: "text-sm font-medium text-text-secondary",
146
- children: T("shortcuts.shortcutKey", "Shortcut Key")
147
- }), /* @__PURE__ */ y("dd", {
148
- className: "mt-1",
149
- children: /* @__PURE__ */ y(f, {
150
- shortcutKey: k.shortcutKey,
151
- isSequence: k.isSequence
152
- })
153
- })] }),
154
- /* @__PURE__ */ b("div", { children: [/* @__PURE__ */ y("dt", {
155
- className: "text-sm font-medium text-text-secondary",
156
- children: T("shortcuts.eventName", "Event Name")
157
- }), /* @__PURE__ */ y("dd", {
158
- className: "mt-1",
159
- children: /* @__PURE__ */ y("code", {
160
- className: "text-sm text-text-secondary bg-bg-sunken px-2 py-1 rounded font-mono",
161
- children: k.eventName
162
- })
163
- })] }),
164
- /* @__PURE__ */ b("div", { children: [/* @__PURE__ */ y("dt", {
165
- className: "text-sm font-medium text-text-secondary",
166
- children: T("shortcuts.category", "Category")
167
- }), /* @__PURE__ */ y("dd", {
168
- className: "mt-1",
169
- children: /* @__PURE__ */ y(d, { category: k.category })
170
- })] }),
171
- /* @__PURE__ */ b("div", { children: [/* @__PURE__ */ y("dt", {
172
- className: "text-sm font-medium text-text-secondary",
173
- children: T("shortcuts.product", "Product")
174
- }), /* @__PURE__ */ y("dd", {
175
- className: "text-text-primary mt-1",
176
- children: k.product?.name || /* @__PURE__ */ y("span", {
177
- className: "text-text-tertiary italic",
178
- children: T("shortcuts.globalAllProducts", "Global (All Products)")
179
- })
180
- })] }),
181
- /* @__PURE__ */ b("div", { children: [/* @__PURE__ */ y("dt", {
182
- className: "text-sm font-medium text-text-secondary",
183
- children: T("shortcuts.type", "Type")
184
- }), /* @__PURE__ */ y("dd", {
185
- className: "text-text-primary mt-1",
186
- children: k.isSequence ? T("shortcuts.keySequence", "Key Sequence") : T("shortcuts.keyCombination", "Key Combination")
187
- })] }),
188
- /* @__PURE__ */ b("div", { children: [/* @__PURE__ */ y("dt", {
189
- className: "text-sm font-medium text-text-secondary",
190
- children: T("shortcuts.sortOrder", "Sort Order")
191
- }), /* @__PURE__ */ y("dd", {
192
- className: "text-text-primary mt-1",
193
- children: k.sortOrder
194
- })] })
195
- ]
196
- })]
197
- }), /* @__PURE__ */ b("div", {
198
- className: "bg-surface border border-default rounded-lg shadow-[var(--shadow-elevation-1)] p-6",
144
+ children: [/* @__PURE__ */ y(S, { children: [/* @__PURE__ */ v("h2", {
145
+ className: "text-lg font-semibold text-text-primary mb-4",
146
+ children: k("shortcuts.shortcutDetails", "Shortcut Details")
147
+ }), /* @__PURE__ */ y("dl", {
148
+ className: "space-y-4",
149
+ children: [
150
+ /* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("dt", {
151
+ className: "text-sm font-medium text-text-secondary",
152
+ children: k("shortcuts.label", "Label")
153
+ }), /* @__PURE__ */ v("dd", {
154
+ className: "text-text-primary mt-1",
155
+ children: N.label
156
+ })] }),
157
+ N.description && /* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("dt", {
158
+ className: "text-sm font-medium text-text-secondary",
159
+ children: k("shortcuts.description", "Description")
160
+ }), /* @__PURE__ */ v("dd", {
161
+ className: "text-text-primary mt-1",
162
+ children: N.description
163
+ })] }),
164
+ /* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("dt", {
165
+ className: "text-sm font-medium text-text-secondary",
166
+ children: k("shortcuts.shortcutKey", "Shortcut Key")
167
+ }), /* @__PURE__ */ v("dd", {
168
+ className: "mt-1",
169
+ children: /* @__PURE__ */ v(f, {
170
+ shortcutKey: N.shortcutKey,
171
+ isSequence: N.isSequence
172
+ })
173
+ })] }),
174
+ /* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("dt", {
175
+ className: "text-sm font-medium text-text-secondary",
176
+ children: k("shortcuts.eventName", "Event Name")
177
+ }), /* @__PURE__ */ v("dd", {
178
+ className: "mt-1",
179
+ children: /* @__PURE__ */ v("code", {
180
+ className: "text-sm text-text-secondary bg-bg-sunken px-2 py-1 rounded font-mono",
181
+ children: N.eventName
182
+ })
183
+ })] }),
184
+ /* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("dt", {
185
+ className: "text-sm font-medium text-text-secondary",
186
+ children: k("shortcuts.category", "Category")
187
+ }), /* @__PURE__ */ v("dd", {
188
+ className: "mt-1",
189
+ children: /* @__PURE__ */ v(d, { category: N.category })
190
+ })] }),
191
+ /* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("dt", {
192
+ className: "text-sm font-medium text-text-secondary",
193
+ children: k("shortcuts.product", "Product")
194
+ }), /* @__PURE__ */ v("dd", {
195
+ className: "text-text-primary mt-1",
196
+ children: N.product?.name || /* @__PURE__ */ v("span", {
197
+ className: "text-text-tertiary italic",
198
+ children: k("shortcuts.globalAllProducts", "Global (All Products)")
199
+ })
200
+ })] }),
201
+ /* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("dt", {
202
+ className: "text-sm font-medium text-text-secondary",
203
+ children: k("shortcuts.type", "Type")
204
+ }), /* @__PURE__ */ v("dd", {
205
+ className: "text-text-primary mt-1",
206
+ children: N.isSequence ? k("shortcuts.keySequence", "Key Sequence") : k("shortcuts.keyCombination", "Key Combination")
207
+ })] }),
208
+ /* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("dt", {
209
+ className: "text-sm font-medium text-text-secondary",
210
+ children: k("shortcuts.sortOrder", "Sort Order")
211
+ }), /* @__PURE__ */ v("dd", {
212
+ className: "text-text-primary mt-1",
213
+ children: N.sortOrder
214
+ })] })
215
+ ]
216
+ })] }), /* @__PURE__ */ y("div", {
217
+ className: "bg-bg-surface bg-accent-wash border border-border-seam rounded-card shadow-elevation-1 p-6",
199
218
  children: [
200
- /* @__PURE__ */ y("h2", {
219
+ /* @__PURE__ */ v("h2", {
201
220
  className: "text-lg font-semibold text-text-primary mb-4",
202
- children: T("shortcuts.platformKeys", "Platform Keys")
221
+ children: k("shortcuts.platformKeys", "Platform Keys")
203
222
  }),
204
- /* @__PURE__ */ b("dl", {
223
+ /* @__PURE__ */ y("dl", {
205
224
  className: "space-y-4",
206
225
  children: [
207
- /* @__PURE__ */ b("div", { children: [/* @__PURE__ */ y("dt", {
226
+ /* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("dt", {
208
227
  className: "text-sm font-medium text-text-secondary",
209
- children: T("shortcuts.defaultKey", "Default Key")
210
- }), /* @__PURE__ */ y("dd", {
228
+ children: k("shortcuts.defaultKey", "Default Key")
229
+ }), /* @__PURE__ */ v("dd", {
211
230
  className: "mt-1",
212
- children: /* @__PURE__ */ y(f, {
213
- shortcutKey: k.shortcutKey,
214
- isSequence: k.isSequence
231
+ children: /* @__PURE__ */ v(f, {
232
+ shortcutKey: N.shortcutKey,
233
+ isSequence: N.isSequence
215
234
  })
216
235
  })] }),
217
- /* @__PURE__ */ b("div", { children: [/* @__PURE__ */ y("dt", {
236
+ /* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("dt", {
218
237
  className: "text-sm font-medium text-text-secondary",
219
- children: T("shortcuts.macKey", "Mac Key")
220
- }), /* @__PURE__ */ y("dd", {
238
+ children: k("shortcuts.macKey", "Mac Key")
239
+ }), /* @__PURE__ */ v("dd", {
221
240
  className: "mt-1",
222
- children: k.macKey ? /* @__PURE__ */ y(f, { shortcutKey: k.macKey }) : /* @__PURE__ */ y("span", {
241
+ children: N.macKey ? /* @__PURE__ */ v(f, { shortcutKey: N.macKey }) : /* @__PURE__ */ v("span", {
223
242
  className: "text-text-tertiary italic",
224
- children: T("shortcuts.sameAsDefault", "Same as default")
243
+ children: k("shortcuts.sameAsDefault", "Same as default")
225
244
  })
226
245
  })] }),
227
- /* @__PURE__ */ b("div", { children: [/* @__PURE__ */ y("dt", {
246
+ /* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("dt", {
228
247
  className: "text-sm font-medium text-text-secondary",
229
- children: T("shortcuts.windowsLinuxKey", "Windows/Linux Key")
230
- }), /* @__PURE__ */ y("dd", {
248
+ children: k("shortcuts.windowsLinuxKey", "Windows/Linux Key")
249
+ }), /* @__PURE__ */ v("dd", {
231
250
  className: "mt-1",
232
- children: k.windowsKey ? /* @__PURE__ */ y(f, { shortcutKey: k.windowsKey }) : /* @__PURE__ */ y("span", {
251
+ children: N.windowsKey ? /* @__PURE__ */ v(f, { shortcutKey: N.windowsKey }) : /* @__PURE__ */ v("span", {
233
252
  className: "text-text-tertiary italic",
234
- children: T("shortcuts.sameAsDefault", "Same as default")
253
+ children: k("shortcuts.sameAsDefault", "Same as default")
235
254
  })
236
255
  })] })
237
256
  ]
238
257
  }),
239
- /* @__PURE__ */ b("div", {
240
- className: "mt-6 pt-4 border-t border-default",
241
- children: [/* @__PURE__ */ y("h3", {
258
+ /* @__PURE__ */ y("div", {
259
+ className: "mt-6 pt-4 border-t border-border-seam",
260
+ children: [/* @__PURE__ */ v("h3", {
242
261
  className: "text-sm font-semibold text-text-secondary mb-3",
243
- children: T("shortcuts.timestamps", "Timestamps")
244
- }), /* @__PURE__ */ b("dl", {
262
+ children: k("shortcuts.timestamps", "Timestamps")
263
+ }), /* @__PURE__ */ y("dl", {
245
264
  className: "space-y-2 text-sm",
246
- children: [/* @__PURE__ */ b("div", {
265
+ children: [/* @__PURE__ */ y("div", {
247
266
  className: "flex justify-between",
248
- children: [/* @__PURE__ */ y("dt", {
267
+ children: [/* @__PURE__ */ v("dt", {
249
268
  className: "text-text-tertiary",
250
- children: T("shortcuts.created", "Created")
251
- }), /* @__PURE__ */ y("dd", {
269
+ children: k("shortcuts.created", "Created")
270
+ }), /* @__PURE__ */ v("dd", {
252
271
  className: "text-text-primary",
253
- children: new Date(k.createdAt).toLocaleString()
272
+ children: new Date(N.createdAt).toLocaleString()
254
273
  })]
255
- }), /* @__PURE__ */ b("div", {
274
+ }), /* @__PURE__ */ y("div", {
256
275
  className: "flex justify-between",
257
- children: [/* @__PURE__ */ y("dt", {
276
+ children: [/* @__PURE__ */ v("dt", {
258
277
  className: "text-text-tertiary",
259
- children: T("shortcuts.updated", "Updated")
260
- }), /* @__PURE__ */ y("dd", {
278
+ children: k("shortcuts.updated", "Updated")
279
+ }), /* @__PURE__ */ v("dd", {
261
280
  className: "text-text-primary",
262
- children: new Date(k.updatedAt).toLocaleString()
281
+ children: new Date(N.updatedAt).toLocaleString()
263
282
  })]
264
283
  })]
265
284
  })]
@@ -267,20 +286,20 @@ function S() {
267
286
  ]
268
287
  })]
269
288
  }),
270
- D
289
+ j
271
290
  ]
272
- }) : /* @__PURE__ */ y("div", {
291
+ }) : /* @__PURE__ */ v("div", {
273
292
  className: "min-h-full bg-[var(--color-bg-canvas)] p-6",
274
- children: /* @__PURE__ */ y(r, {
275
- message: T("shortcuts.shortcutNotFound", "Shortcut not found"),
293
+ children: /* @__PURE__ */ v(r, {
294
+ message: k("shortcuts.shortcutNotFound", "Shortcut not found"),
276
295
  action: {
277
- label: T("shortcuts.goBack", "Go Back"),
278
- onClick: () => C(`${w}/shortcuts`)
296
+ label: k("shortcuts.goBack", "Go Back"),
297
+ onClick: () => D(`${O}/shortcuts`)
279
298
  }
280
299
  })
281
300
  });
282
301
  }
283
302
  //#endregion
284
- export { S as ShortcutDetailPage };
303
+ export { E as ShortcutDetailPage };
285
304
 
286
305
  //# sourceMappingURL=ShortcutDetailPage.js.map