@uipath/apollo-wind 0.10.0 → 0.11.0

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 (187) hide show
  1. package/dist/components/custom/canvas-studio.cjs +133 -0
  2. package/dist/components/custom/canvas-studio.d.ts +99 -0
  3. package/dist/components/custom/canvas-studio.js +93 -0
  4. package/dist/components/custom/canvas.cjs +44 -0
  5. package/dist/components/custom/canvas.d.ts +14 -0
  6. package/dist/components/custom/canvas.js +10 -0
  7. package/dist/components/custom/chat-composer.cjs +105 -0
  8. package/dist/components/custom/chat-composer.d.ts +15 -0
  9. package/dist/components/custom/chat-composer.js +71 -0
  10. package/dist/components/custom/chat-first-experience.cjs +87 -0
  11. package/dist/components/custom/chat-first-experience.d.ts +24 -0
  12. package/dist/components/custom/chat-first-experience.js +53 -0
  13. package/dist/components/custom/chat-prompt-suggestions.cjs +49 -0
  14. package/dist/components/custom/chat-prompt-suggestions.d.ts +18 -0
  15. package/dist/components/custom/chat-prompt-suggestions.js +15 -0
  16. package/dist/components/custom/chat-steps-view.cjs +308 -0
  17. package/dist/components/custom/chat-steps-view.d.ts +38 -0
  18. package/dist/components/custom/chat-steps-view.js +274 -0
  19. package/dist/components/custom/flow-node.cjs +76 -0
  20. package/dist/components/custom/flow-node.d.ts +20 -0
  21. package/dist/components/custom/flow-node.js +42 -0
  22. package/dist/components/custom/flow-properties-bar.cjs +103 -0
  23. package/dist/components/custom/flow-properties-bar.d.ts +21 -0
  24. package/dist/components/custom/flow-properties-bar.js +69 -0
  25. package/dist/components/custom/flow-properties-expanded.cjs +328 -0
  26. package/dist/components/custom/flow-properties-expanded.d.ts +21 -0
  27. package/dist/components/custom/flow-properties-expanded.js +294 -0
  28. package/dist/components/custom/flow-properties-simple.cjs +364 -0
  29. package/dist/components/custom/flow-properties-simple.d.ts +62 -0
  30. package/dist/components/custom/flow-properties-simple.js +330 -0
  31. package/dist/components/custom/flow-properties.cjs +56 -0
  32. package/dist/components/custom/flow-properties.d.ts +28 -0
  33. package/dist/components/custom/flow-properties.js +22 -0
  34. package/dist/components/custom/global-header.cjs +422 -0
  35. package/dist/components/custom/global-header.d.ts +38 -0
  36. package/dist/components/custom/global-header.js +388 -0
  37. package/dist/components/custom/grid-maestro.cjs +62 -0
  38. package/dist/components/custom/grid-maestro.d.ts +19 -0
  39. package/dist/components/custom/grid-maestro.js +22 -0
  40. package/dist/components/custom/page-header.cjs +92 -0
  41. package/dist/components/custom/page-header.d.ts +43 -0
  42. package/dist/components/custom/page-header.js +58 -0
  43. package/dist/components/custom/panel-delegate.cjs +285 -0
  44. package/dist/components/custom/panel-delegate.d.ts +34 -0
  45. package/dist/components/custom/panel-delegate.js +251 -0
  46. package/dist/components/custom/panel-flow.cjs +262 -0
  47. package/dist/components/custom/panel-flow.d.ts +38 -0
  48. package/dist/components/custom/panel-flow.js +225 -0
  49. package/dist/components/custom/panel-maestro.cjs +74 -0
  50. package/dist/components/custom/panel-maestro.d.ts +30 -0
  51. package/dist/components/custom/panel-maestro.js +40 -0
  52. package/dist/components/custom/panel-studio.cjs +122 -0
  53. package/dist/components/custom/panel-studio.d.ts +48 -0
  54. package/dist/components/custom/panel-studio.js +85 -0
  55. package/dist/components/custom/toolbar-canvas.cjs +124 -0
  56. package/dist/components/custom/toolbar-canvas.d.ts +15 -0
  57. package/dist/components/custom/toolbar-canvas.js +90 -0
  58. package/dist/components/custom/toolbar-view.cjs +121 -0
  59. package/dist/components/custom/toolbar-view.d.ts +14 -0
  60. package/dist/components/custom/toolbar-view.js +87 -0
  61. package/dist/components/custom/viewport-guard.cjs +92 -0
  62. package/dist/components/custom/viewport-guard.d.ts +23 -0
  63. package/dist/components/custom/viewport-guard.js +55 -0
  64. package/dist/components/forms/field-renderer.cjs +3 -1
  65. package/dist/components/forms/field-renderer.js +3 -1
  66. package/dist/components/forms/form-designer.cjs +13 -2
  67. package/dist/components/forms/form-designer.js +13 -2
  68. package/dist/components/forms/rules-engine.d.ts +1 -1
  69. package/dist/components/ui/breadcrumb.cjs +1 -2
  70. package/dist/components/ui/breadcrumb.js +1 -2
  71. package/dist/components/ui/button-group.cjs +5 -3
  72. package/dist/components/ui/button-group.d.ts +2 -2
  73. package/dist/components/ui/button-group.js +5 -3
  74. package/dist/components/ui/button.cjs +3 -3
  75. package/dist/components/ui/button.js +3 -3
  76. package/dist/components/ui/chart.cjs +223 -0
  77. package/dist/components/ui/chart.d.ts +40 -0
  78. package/dist/components/ui/chart.js +174 -0
  79. package/dist/components/ui/code-block.cjs +234 -0
  80. package/dist/components/ui/code-block.d.ts +48 -0
  81. package/dist/components/ui/code-block.js +200 -0
  82. package/dist/components/ui/data-table.cjs +22 -4
  83. package/dist/components/ui/data-table.d.ts +5 -2
  84. package/dist/components/ui/data-table.js +23 -5
  85. package/dist/components/ui/editable-cell.cjs +3 -10
  86. package/dist/components/ui/editable-cell.js +3 -10
  87. package/dist/components/ui/empty-state.cjs +17 -6
  88. package/dist/components/ui/empty-state.d.ts +7 -0
  89. package/dist/components/ui/empty-state.js +17 -6
  90. package/dist/components/ui/file-upload.cjs +8 -0
  91. package/dist/components/ui/file-upload.js +8 -0
  92. package/dist/components/ui/index.cjs +287 -147
  93. package/dist/components/ui/index.d.ts +2 -3
  94. package/dist/components/ui/index.js +2 -3
  95. package/dist/components/ui/multi-select.cjs +3 -10
  96. package/dist/components/ui/multi-select.js +3 -10
  97. package/dist/components/ui/pagination.cjs +0 -1
  98. package/dist/components/ui/pagination.js +0 -1
  99. package/dist/components/ui/resizable.d.ts +1 -1
  100. package/dist/components/ui/tree-view.cjs +1117 -0
  101. package/dist/components/ui/tree-view.d.ts +95 -0
  102. package/dist/components/ui/tree-view.js +1083 -0
  103. package/dist/foundation/Future/colors.cjs +92 -0
  104. package/dist/foundation/Future/colors.d.ts +132 -0
  105. package/dist/foundation/Future/colors.js +43 -0
  106. package/dist/foundation/Future/radius.cjs +46 -0
  107. package/dist/foundation/Future/radius.d.ts +33 -0
  108. package/dist/foundation/Future/radius.js +12 -0
  109. package/dist/foundation/Future/responsive.cjs +49 -0
  110. package/dist/foundation/Future/responsive.d.ts +40 -0
  111. package/dist/foundation/Future/responsive.js +12 -0
  112. package/dist/foundation/Future/shadows.cjs +48 -0
  113. package/dist/foundation/Future/shadows.d.ts +29 -0
  114. package/dist/foundation/Future/shadows.js +11 -0
  115. package/dist/foundation/Future/spacing.cjs +71 -0
  116. package/dist/foundation/Future/spacing.d.ts +80 -0
  117. package/dist/foundation/Future/spacing.js +31 -0
  118. package/dist/foundation/Future/strokes.cjs +59 -0
  119. package/dist/foundation/Future/strokes.d.ts +49 -0
  120. package/dist/foundation/Future/strokes.js +19 -0
  121. package/dist/foundation/Future/types.cjs +18 -0
  122. package/dist/foundation/Future/types.d.ts +25 -0
  123. package/dist/foundation/Future/types.js +0 -0
  124. package/dist/foundation/Future/typography.cjs +79 -0
  125. package/dist/foundation/Future/typography.d.ts +86 -0
  126. package/dist/foundation/Future/typography.js +33 -0
  127. package/dist/index.cjs +131 -221
  128. package/dist/index.d.ts +4 -3
  129. package/dist/index.js +3 -4
  130. package/dist/src/foundation/Future/themes.css +279 -0
  131. package/dist/styles.css +1941 -605
  132. package/dist/tailwind.css +874 -87
  133. package/dist/templates/Admin/settings-admin.d.ts +5 -0
  134. package/dist/templates/Admin/template-admin.d.ts +86 -0
  135. package/dist/templates/Delegate/template-delegate.d.ts +26 -0
  136. package/dist/templates/EmptyErrors/error-components.d.ts +3 -0
  137. package/dist/templates/Experiments/ideas-AnimatedGradientText.d.ts +23 -0
  138. package/dist/templates/Flow/template-flow.d.ts +57 -0
  139. package/dist/templates/Maestro/template-maestro.d.ts +52 -0
  140. package/dist/templates/Studio/template-studio.d.ts +102 -0
  141. package/dist/templates/{vscode-example.d.ts → VisualStudio/shell.d.ts} +1 -1
  142. package/package.json +12 -1
  143. package/dist/components/ui/menubar.cjs +0 -210
  144. package/dist/components/ui/menubar.d.ts +0 -28
  145. package/dist/components/ui/menubar.js +0 -131
  146. package/dist/components/ui/navigation-menu.cjs +0 -122
  147. package/dist/components/ui/navigation-menu.d.ts +0 -12
  148. package/dist/components/ui/navigation-menu.js +0 -64
  149. package/dist/examples/admin-layout-example.cjs +0 -490
  150. package/dist/examples/admin-layout-example.d.ts +0 -92
  151. package/dist/examples/admin-layout-example.js +0 -411
  152. package/dist/examples/app-shell-example.cjs +0 -452
  153. package/dist/examples/app-shell-example.d.ts +0 -52
  154. package/dist/examples/app-shell-example.js +0 -418
  155. package/dist/examples/dashboard-example.cjs +0 -590
  156. package/dist/examples/dashboard-example.d.ts +0 -11
  157. package/dist/examples/dashboard-example.js +0 -556
  158. package/dist/examples/data-management-example.cjs +0 -584
  159. package/dist/examples/data-management-example.d.ts +0 -1
  160. package/dist/examples/data-management-example.js +0 -550
  161. package/dist/examples/flow-editor-layout-example.cjs +0 -309
  162. package/dist/examples/flow-editor-layout-example.d.ts +0 -22
  163. package/dist/examples/flow-editor-layout-example.js +0 -269
  164. package/dist/examples/flow-start-example.cjs +0 -467
  165. package/dist/examples/flow-start-example.d.ts +0 -30
  166. package/dist/examples/flow-start-example.js +0 -433
  167. package/dist/examples/form-builder-example.cjs +0 -674
  168. package/dist/examples/form-builder-example.js +0 -640
  169. package/dist/examples/new-project-example.cjs +0 -550
  170. package/dist/examples/new-project-example.d.ts +0 -30
  171. package/dist/examples/new-project-example.js +0 -516
  172. package/dist/examples/settings-example.cjs +0 -864
  173. package/dist/examples/settings-example.d.ts +0 -1
  174. package/dist/examples/settings-example.js +0 -830
  175. package/dist/examples/vscode-example.cjs +0 -340
  176. package/dist/examples/vscode-example.d.ts +0 -80
  177. package/dist/examples/vscode-example.js +0 -270
  178. package/dist/templates/admin-layout-example.d.ts +0 -92
  179. package/dist/templates/app-shell-example.d.ts +0 -52
  180. package/dist/templates/dashboard-example.d.ts +0 -11
  181. package/dist/templates/data-management-example.d.ts +0 -1
  182. package/dist/templates/flow-editor-layout-example.d.ts +0 -22
  183. package/dist/templates/flow-start-example.d.ts +0 -30
  184. package/dist/templates/form-builder-example.d.ts +0 -1
  185. package/dist/templates/new-project-example.d.ts +0 -30
  186. package/dist/templates/settings-example.d.ts +0 -1
  187. /package/dist/{examples → templates/Forms}/form-builder-example.d.ts +0 -0
@@ -1,864 +0,0 @@
1
- "use strict";
2
- var __webpack_require__ = {};
3
- (()=>{
4
- __webpack_require__.d = (exports1, definition)=>{
5
- for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
6
- enumerable: true,
7
- get: definition[key]
8
- });
9
- };
10
- })();
11
- (()=>{
12
- __webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
13
- })();
14
- (()=>{
15
- __webpack_require__.r = (exports1)=>{
16
- if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
17
- value: 'Module'
18
- });
19
- Object.defineProperty(exports1, '__esModule', {
20
- value: true
21
- });
22
- };
23
- })();
24
- var __webpack_exports__ = {};
25
- __webpack_require__.r(__webpack_exports__);
26
- __webpack_require__.d(__webpack_exports__, {
27
- SettingsExample: ()=>SettingsExample
28
- });
29
- const jsx_runtime_namespaceObject = require("react/jsx-runtime");
30
- const external_react_namespaceObject = require("react");
31
- const external_lucide_react_namespaceObject = require("lucide-react");
32
- const avatar_cjs_namespaceObject = require("../components/ui/avatar.cjs");
33
- const button_cjs_namespaceObject = require("../components/ui/button.cjs");
34
- const card_cjs_namespaceObject = require("../components/ui/card.cjs");
35
- const input_cjs_namespaceObject = require("../components/ui/input.cjs");
36
- const label_cjs_namespaceObject = require("../components/ui/label.cjs");
37
- const select_cjs_namespaceObject = require("../components/ui/select.cjs");
38
- const separator_cjs_namespaceObject = require("../components/ui/separator.cjs");
39
- const switch_cjs_namespaceObject = require("../components/ui/switch.cjs");
40
- const textarea_cjs_namespaceObject = require("../components/ui/textarea.cjs");
41
- const index_cjs_namespaceObject = require("../lib/index.cjs");
42
- const layout_index_cjs_namespaceObject = require("../components/ui/layout/index.cjs");
43
- const navItems = [
44
- {
45
- id: 'profile',
46
- label: 'Profile',
47
- icon: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.User, {
48
- className: "h-4 w-4"
49
- })
50
- },
51
- {
52
- id: 'account',
53
- label: 'Account',
54
- icon: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.Key, {
55
- className: "h-4 w-4"
56
- })
57
- },
58
- {
59
- id: 'appearance',
60
- label: 'Appearance',
61
- icon: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.Palette, {
62
- className: "h-4 w-4"
63
- })
64
- },
65
- {
66
- id: 'notifications',
67
- label: 'Notifications',
68
- icon: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.Bell, {
69
- className: "h-4 w-4"
70
- })
71
- },
72
- {
73
- id: 'security',
74
- label: 'Security',
75
- icon: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.Shield, {
76
- className: "h-4 w-4"
77
- })
78
- },
79
- {
80
- id: 'billing',
81
- label: 'Billing',
82
- icon: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.CreditCard, {
83
- className: "h-4 w-4"
84
- })
85
- }
86
- ];
87
- function SettingsExample() {
88
- const [activeSection, setActiveSection] = external_react_namespaceObject.useState('profile');
89
- const [formData, setFormData] = external_react_namespaceObject.useState({
90
- firstName: 'John',
91
- lastName: 'Doe',
92
- email: 'john.doe@example.com',
93
- username: 'johndoe',
94
- bio: 'Software developer passionate about building great products.',
95
- theme: 'system',
96
- language: 'en',
97
- emailNotifications: true,
98
- pushNotifications: false,
99
- marketingEmails: false,
100
- twoFactor: false
101
- });
102
- const updateField = (field, value)=>{
103
- setFormData((prev)=>({
104
- ...prev,
105
- [field]: value
106
- }));
107
- };
108
- return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(layout_index_cjs_namespaceObject.Column, {
109
- minH: "screen",
110
- className: "bg-background",
111
- children: [
112
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("header", {
113
- className: "border-b",
114
- children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(layout_index_cjs_namespaceObject.Row, {
115
- h: 14,
116
- align: "center",
117
- className: "container mx-auto px-4",
118
- children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("h1", {
119
- className: "text-lg font-semibold",
120
- children: "Settings"
121
- })
122
- })
123
- }),
124
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(layout_index_cjs_namespaceObject.Row, {
125
- gap: 8,
126
- flex: 1,
127
- className: "container mx-auto p-6",
128
- children: [
129
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("aside", {
130
- className: "w-56 shrink-0",
131
- children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("nav", {
132
- className: "space-y-1",
133
- children: navItems.map((item)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("button", {
134
- onClick: ()=>setActiveSection(item.id),
135
- className: (0, index_cjs_namespaceObject.cn)('flex w-full items-center gap-3 rounded-md px-3 py-2 text-sm transition-colors', activeSection === item.id ? 'bg-muted font-medium' : 'text-muted-foreground hover:bg-muted/50 hover:text-foreground'),
136
- children: [
137
- item.icon,
138
- item.label
139
- ]
140
- }, item.id))
141
- })
142
- }),
143
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("main", {
144
- className: "flex-1 space-y-6",
145
- children: [
146
- 'profile' === activeSection && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(jsx_runtime_namespaceObject.Fragment, {
147
- children: [
148
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
149
- children: [
150
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("h2", {
151
- className: "text-2xl font-bold",
152
- children: "Profile"
153
- }),
154
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("p", {
155
- className: "text-muted-foreground",
156
- children: "Manage your public profile information."
157
- })
158
- ]
159
- }),
160
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(card_cjs_namespaceObject.Card, {
161
- children: [
162
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(card_cjs_namespaceObject.CardHeader, {
163
- children: [
164
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(card_cjs_namespaceObject.CardTitle, {
165
- children: "Avatar"
166
- }),
167
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(card_cjs_namespaceObject.CardDescription, {
168
- children: "Click on the avatar to upload a custom one from your files."
169
- })
170
- ]
171
- }),
172
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(card_cjs_namespaceObject.CardContent, {
173
- children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(layout_index_cjs_namespaceObject.Row, {
174
- gap: 4,
175
- align: "center",
176
- children: [
177
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(avatar_cjs_namespaceObject.Avatar, {
178
- className: "h-20 w-20",
179
- children: [
180
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(avatar_cjs_namespaceObject.AvatarImage, {
181
- src: ""
182
- }),
183
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(avatar_cjs_namespaceObject.AvatarFallback, {
184
- className: "text-lg",
185
- children: "JD"
186
- })
187
- ]
188
- }),
189
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(layout_index_cjs_namespaceObject.Row, {
190
- gap: 2,
191
- children: [
192
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(button_cjs_namespaceObject.Button, {
193
- variant: "outline",
194
- size: "sm",
195
- children: "Upload"
196
- }),
197
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(button_cjs_namespaceObject.Button, {
198
- variant: "ghost",
199
- size: "sm",
200
- children: "Remove"
201
- })
202
- ]
203
- })
204
- ]
205
- })
206
- })
207
- ]
208
- }),
209
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(card_cjs_namespaceObject.Card, {
210
- children: [
211
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(card_cjs_namespaceObject.CardHeader, {
212
- children: [
213
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(card_cjs_namespaceObject.CardTitle, {
214
- children: "Personal Information"
215
- }),
216
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(card_cjs_namespaceObject.CardDescription, {
217
- children: "Update your personal details here."
218
- })
219
- ]
220
- }),
221
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(card_cjs_namespaceObject.CardContent, {
222
- className: "space-y-4",
223
- children: [
224
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(layout_index_cjs_namespaceObject.Grid, {
225
- gap: 4,
226
- cols: 2,
227
- className: "md:grid-cols-2",
228
- children: [
229
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(layout_index_cjs_namespaceObject.Column, {
230
- gap: 2,
231
- children: [
232
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(label_cjs_namespaceObject.Label, {
233
- htmlFor: "firstName",
234
- children: "First name"
235
- }),
236
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(input_cjs_namespaceObject.Input, {
237
- id: "firstName",
238
- value: formData.firstName,
239
- onChange: (e)=>updateField('firstName', e.target.value)
240
- })
241
- ]
242
- }),
243
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(layout_index_cjs_namespaceObject.Column, {
244
- gap: 2,
245
- children: [
246
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(label_cjs_namespaceObject.Label, {
247
- htmlFor: "lastName",
248
- children: "Last name"
249
- }),
250
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(input_cjs_namespaceObject.Input, {
251
- id: "lastName",
252
- value: formData.lastName,
253
- onChange: (e)=>updateField('lastName', e.target.value)
254
- })
255
- ]
256
- })
257
- ]
258
- }),
259
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(layout_index_cjs_namespaceObject.Column, {
260
- gap: 2,
261
- children: [
262
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(label_cjs_namespaceObject.Label, {
263
- htmlFor: "username",
264
- children: "Username"
265
- }),
266
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(input_cjs_namespaceObject.Input, {
267
- id: "username",
268
- value: formData.username,
269
- onChange: (e)=>updateField('username', e.target.value)
270
- })
271
- ]
272
- }),
273
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(layout_index_cjs_namespaceObject.Column, {
274
- gap: 2,
275
- children: [
276
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(label_cjs_namespaceObject.Label, {
277
- htmlFor: "bio",
278
- children: "Bio"
279
- }),
280
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(textarea_cjs_namespaceObject.Textarea, {
281
- id: "bio",
282
- value: formData.bio,
283
- onChange: (e)=>updateField('bio', e.target.value),
284
- rows: 3
285
- }),
286
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("p", {
287
- className: "text-xs text-muted-foreground",
288
- children: "Brief description for your profile. URLs are hyperlinked."
289
- })
290
- ]
291
- })
292
- ]
293
- }),
294
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(card_cjs_namespaceObject.CardFooter, {
295
- className: "border-t px-6 py-4",
296
- children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(button_cjs_namespaceObject.Button, {
297
- children: "Save changes"
298
- })
299
- })
300
- ]
301
- })
302
- ]
303
- }),
304
- 'account' === activeSection && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(jsx_runtime_namespaceObject.Fragment, {
305
- children: [
306
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
307
- children: [
308
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("h2", {
309
- className: "text-2xl font-bold",
310
- children: "Account"
311
- }),
312
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("p", {
313
- className: "text-muted-foreground",
314
- children: "Manage your account settings and email preferences."
315
- })
316
- ]
317
- }),
318
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(card_cjs_namespaceObject.Card, {
319
- children: [
320
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(card_cjs_namespaceObject.CardHeader, {
321
- children: [
322
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(card_cjs_namespaceObject.CardTitle, {
323
- children: "Email"
324
- }),
325
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(card_cjs_namespaceObject.CardDescription, {
326
- children: "Your email address is used for login and notifications."
327
- })
328
- ]
329
- }),
330
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(card_cjs_namespaceObject.CardContent, {
331
- className: "space-y-4",
332
- children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
333
- className: "space-y-2",
334
- children: [
335
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(label_cjs_namespaceObject.Label, {
336
- htmlFor: "email",
337
- children: "Email address"
338
- }),
339
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(input_cjs_namespaceObject.Input, {
340
- id: "email",
341
- type: "email",
342
- value: formData.email,
343
- onChange: (e)=>updateField('email', e.target.value)
344
- })
345
- ]
346
- })
347
- }),
348
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(card_cjs_namespaceObject.CardFooter, {
349
- className: "border-t px-6 py-4",
350
- children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(button_cjs_namespaceObject.Button, {
351
- children: "Update email"
352
- })
353
- })
354
- ]
355
- }),
356
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(card_cjs_namespaceObject.Card, {
357
- className: "border-destructive",
358
- children: [
359
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(card_cjs_namespaceObject.CardHeader, {
360
- children: [
361
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(card_cjs_namespaceObject.CardTitle, {
362
- className: "text-destructive",
363
- children: "Danger Zone"
364
- }),
365
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(card_cjs_namespaceObject.CardDescription, {
366
- children: "Irreversible and destructive actions."
367
- })
368
- ]
369
- }),
370
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(card_cjs_namespaceObject.CardContent, {
371
- className: "space-y-4",
372
- children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(layout_index_cjs_namespaceObject.Row, {
373
- justify: "between",
374
- align: "center",
375
- children: [
376
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(layout_index_cjs_namespaceObject.Column, {
377
- gap: 0,
378
- children: [
379
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("p", {
380
- className: "font-medium",
381
- children: "Delete account"
382
- }),
383
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("p", {
384
- className: "text-sm text-muted-foreground",
385
- children: "Permanently delete your account and all associated data."
386
- })
387
- ]
388
- }),
389
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(button_cjs_namespaceObject.Button, {
390
- variant: "destructive",
391
- children: "Delete account"
392
- })
393
- ]
394
- })
395
- })
396
- ]
397
- })
398
- ]
399
- }),
400
- 'appearance' === activeSection && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(jsx_runtime_namespaceObject.Fragment, {
401
- children: [
402
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
403
- children: [
404
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("h2", {
405
- className: "text-2xl font-bold",
406
- children: "Appearance"
407
- }),
408
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("p", {
409
- className: "text-muted-foreground",
410
- children: "Customize the appearance of the application."
411
- })
412
- ]
413
- }),
414
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(card_cjs_namespaceObject.Card, {
415
- children: [
416
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(card_cjs_namespaceObject.CardHeader, {
417
- children: [
418
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(card_cjs_namespaceObject.CardTitle, {
419
- children: "Theme"
420
- }),
421
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(card_cjs_namespaceObject.CardDescription, {
422
- children: "Select your preferred theme for the dashboard."
423
- })
424
- ]
425
- }),
426
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(card_cjs_namespaceObject.CardContent, {
427
- className: "space-y-4",
428
- children: [
429
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
430
- className: "space-y-2",
431
- children: [
432
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(label_cjs_namespaceObject.Label, {
433
- htmlFor: "theme",
434
- children: "Theme"
435
- }),
436
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(select_cjs_namespaceObject.Select, {
437
- value: formData.theme,
438
- onValueChange: (value)=>updateField('theme', value),
439
- children: [
440
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(select_cjs_namespaceObject.SelectTrigger, {
441
- id: "theme",
442
- className: "w-[200px]",
443
- children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(select_cjs_namespaceObject.SelectValue, {})
444
- }),
445
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(select_cjs_namespaceObject.SelectContent, {
446
- children: [
447
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(select_cjs_namespaceObject.SelectItem, {
448
- value: "light",
449
- children: "Light"
450
- }),
451
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(select_cjs_namespaceObject.SelectItem, {
452
- value: "dark",
453
- children: "Dark"
454
- }),
455
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(select_cjs_namespaceObject.SelectItem, {
456
- value: "system",
457
- children: "System"
458
- })
459
- ]
460
- })
461
- ]
462
- })
463
- ]
464
- }),
465
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
466
- className: "space-y-2",
467
- children: [
468
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(label_cjs_namespaceObject.Label, {
469
- htmlFor: "language",
470
- children: "Language"
471
- }),
472
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(select_cjs_namespaceObject.Select, {
473
- value: formData.language,
474
- onValueChange: (value)=>updateField('language', value),
475
- children: [
476
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(select_cjs_namespaceObject.SelectTrigger, {
477
- id: "language",
478
- className: "w-[200px]",
479
- children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(select_cjs_namespaceObject.SelectValue, {})
480
- }),
481
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(select_cjs_namespaceObject.SelectContent, {
482
- children: [
483
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(select_cjs_namespaceObject.SelectItem, {
484
- value: "en",
485
- children: "English"
486
- }),
487
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(select_cjs_namespaceObject.SelectItem, {
488
- value: "es",
489
- children: "Spanish"
490
- }),
491
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(select_cjs_namespaceObject.SelectItem, {
492
- value: "fr",
493
- children: "French"
494
- }),
495
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(select_cjs_namespaceObject.SelectItem, {
496
- value: "de",
497
- children: "German"
498
- })
499
- ]
500
- })
501
- ]
502
- })
503
- ]
504
- })
505
- ]
506
- })
507
- ]
508
- })
509
- ]
510
- }),
511
- 'notifications' === activeSection && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(jsx_runtime_namespaceObject.Fragment, {
512
- children: [
513
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
514
- children: [
515
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("h2", {
516
- className: "text-2xl font-bold",
517
- children: "Notifications"
518
- }),
519
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("p", {
520
- className: "text-muted-foreground",
521
- children: "Configure how you receive notifications."
522
- })
523
- ]
524
- }),
525
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(card_cjs_namespaceObject.Card, {
526
- children: [
527
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(card_cjs_namespaceObject.CardHeader, {
528
- children: [
529
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(card_cjs_namespaceObject.CardTitle, {
530
- children: "Notification Preferences"
531
- }),
532
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(card_cjs_namespaceObject.CardDescription, {
533
- children: "Choose what notifications you want to receive."
534
- })
535
- ]
536
- }),
537
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(card_cjs_namespaceObject.CardContent, {
538
- className: "space-y-6",
539
- children: [
540
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(layout_index_cjs_namespaceObject.Row, {
541
- justify: "between",
542
- align: "center",
543
- children: [
544
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(layout_index_cjs_namespaceObject.Column, {
545
- gap: 0.5,
546
- children: [
547
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(label_cjs_namespaceObject.Label, {
548
- children: "Email notifications"
549
- }),
550
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("p", {
551
- className: "text-sm text-muted-foreground",
552
- children: "Receive notifications via email."
553
- })
554
- ]
555
- }),
556
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(switch_cjs_namespaceObject.Switch, {
557
- checked: formData.emailNotifications,
558
- onCheckedChange: (checked)=>updateField('emailNotifications', checked)
559
- })
560
- ]
561
- }),
562
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(separator_cjs_namespaceObject.Separator, {}),
563
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(layout_index_cjs_namespaceObject.Row, {
564
- justify: "between",
565
- align: "center",
566
- children: [
567
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(layout_index_cjs_namespaceObject.Column, {
568
- gap: 0.5,
569
- children: [
570
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(label_cjs_namespaceObject.Label, {
571
- children: "Push notifications"
572
- }),
573
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("p", {
574
- className: "text-sm text-muted-foreground",
575
- children: "Receive push notifications on your device."
576
- })
577
- ]
578
- }),
579
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(switch_cjs_namespaceObject.Switch, {
580
- checked: formData.pushNotifications,
581
- onCheckedChange: (checked)=>updateField('pushNotifications', checked)
582
- })
583
- ]
584
- }),
585
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(separator_cjs_namespaceObject.Separator, {}),
586
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(layout_index_cjs_namespaceObject.Row, {
587
- justify: "between",
588
- align: "center",
589
- children: [
590
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(layout_index_cjs_namespaceObject.Column, {
591
- gap: 0.5,
592
- children: [
593
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(label_cjs_namespaceObject.Label, {
594
- children: "Marketing emails"
595
- }),
596
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("p", {
597
- className: "text-sm text-muted-foreground",
598
- children: "Receive emails about new features and updates."
599
- })
600
- ]
601
- }),
602
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(switch_cjs_namespaceObject.Switch, {
603
- checked: formData.marketingEmails,
604
- onCheckedChange: (checked)=>updateField('marketingEmails', checked)
605
- })
606
- ]
607
- })
608
- ]
609
- })
610
- ]
611
- })
612
- ]
613
- }),
614
- 'security' === activeSection && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(jsx_runtime_namespaceObject.Fragment, {
615
- children: [
616
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
617
- children: [
618
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("h2", {
619
- className: "text-2xl font-bold",
620
- children: "Security"
621
- }),
622
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("p", {
623
- className: "text-muted-foreground",
624
- children: "Manage your security preferences."
625
- })
626
- ]
627
- }),
628
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(card_cjs_namespaceObject.Card, {
629
- children: [
630
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(card_cjs_namespaceObject.CardHeader, {
631
- children: [
632
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(card_cjs_namespaceObject.CardTitle, {
633
- children: "Password"
634
- }),
635
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(card_cjs_namespaceObject.CardDescription, {
636
- children: "Change your password here."
637
- })
638
- ]
639
- }),
640
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(card_cjs_namespaceObject.CardContent, {
641
- className: "space-y-4",
642
- children: [
643
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
644
- className: "space-y-2",
645
- children: [
646
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(label_cjs_namespaceObject.Label, {
647
- htmlFor: "currentPassword",
648
- children: "Current password"
649
- }),
650
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(input_cjs_namespaceObject.Input, {
651
- id: "currentPassword",
652
- type: "password"
653
- })
654
- ]
655
- }),
656
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
657
- className: "space-y-2",
658
- children: [
659
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(label_cjs_namespaceObject.Label, {
660
- htmlFor: "newPassword",
661
- children: "New password"
662
- }),
663
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(input_cjs_namespaceObject.Input, {
664
- id: "newPassword",
665
- type: "password"
666
- })
667
- ]
668
- }),
669
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
670
- className: "space-y-2",
671
- children: [
672
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(label_cjs_namespaceObject.Label, {
673
- htmlFor: "confirmPassword",
674
- children: "Confirm password"
675
- }),
676
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(input_cjs_namespaceObject.Input, {
677
- id: "confirmPassword",
678
- type: "password"
679
- })
680
- ]
681
- })
682
- ]
683
- }),
684
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(card_cjs_namespaceObject.CardFooter, {
685
- className: "border-t px-6 py-4",
686
- children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(button_cjs_namespaceObject.Button, {
687
- children: "Update password"
688
- })
689
- })
690
- ]
691
- }),
692
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(card_cjs_namespaceObject.Card, {
693
- children: [
694
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(card_cjs_namespaceObject.CardHeader, {
695
- children: [
696
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(card_cjs_namespaceObject.CardTitle, {
697
- children: "Two-Factor Authentication"
698
- }),
699
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(card_cjs_namespaceObject.CardDescription, {
700
- children: "Add an extra layer of security to your account."
701
- })
702
- ]
703
- }),
704
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(card_cjs_namespaceObject.CardContent, {
705
- children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(layout_index_cjs_namespaceObject.Row, {
706
- justify: "between",
707
- align: "center",
708
- children: [
709
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(layout_index_cjs_namespaceObject.Column, {
710
- gap: 0.5,
711
- children: [
712
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("p", {
713
- className: "font-medium",
714
- children: "Enable 2FA"
715
- }),
716
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("p", {
717
- className: "text-sm text-muted-foreground",
718
- children: "Secure your account with two-factor authentication."
719
- })
720
- ]
721
- }),
722
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(switch_cjs_namespaceObject.Switch, {
723
- checked: formData.twoFactor,
724
- onCheckedChange: (checked)=>updateField('twoFactor', checked)
725
- })
726
- ]
727
- })
728
- })
729
- ]
730
- })
731
- ]
732
- }),
733
- 'billing' === activeSection && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(jsx_runtime_namespaceObject.Fragment, {
734
- children: [
735
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
736
- children: [
737
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("h2", {
738
- className: "text-2xl font-bold",
739
- children: "Billing"
740
- }),
741
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("p", {
742
- className: "text-muted-foreground",
743
- children: "Manage your billing information and subscription."
744
- })
745
- ]
746
- }),
747
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(card_cjs_namespaceObject.Card, {
748
- children: [
749
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(card_cjs_namespaceObject.CardHeader, {
750
- children: [
751
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(card_cjs_namespaceObject.CardTitle, {
752
- children: "Current Plan"
753
- }),
754
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(card_cjs_namespaceObject.CardDescription, {
755
- children: "You are currently on the Pro plan."
756
- })
757
- ]
758
- }),
759
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(card_cjs_namespaceObject.CardContent, {
760
- children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(layout_index_cjs_namespaceObject.Row, {
761
- justify: "between",
762
- align: "center",
763
- className: "rounded-lg border p-4",
764
- children: [
765
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(layout_index_cjs_namespaceObject.Column, {
766
- gap: 0,
767
- children: [
768
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("p", {
769
- className: "font-semibold",
770
- children: "Pro Plan"
771
- }),
772
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("p", {
773
- className: "text-sm text-muted-foreground",
774
- children: "$29/month • Renews on Jan 1, 2025"
775
- })
776
- ]
777
- }),
778
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(button_cjs_namespaceObject.Button, {
779
- variant: "outline",
780
- children: "Manage subscription"
781
- })
782
- ]
783
- })
784
- })
785
- ]
786
- }),
787
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(card_cjs_namespaceObject.Card, {
788
- children: [
789
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(card_cjs_namespaceObject.CardHeader, {
790
- children: [
791
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(card_cjs_namespaceObject.CardTitle, {
792
- children: "Payment Method"
793
- }),
794
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(card_cjs_namespaceObject.CardDescription, {
795
- children: "Update your payment information."
796
- })
797
- ]
798
- }),
799
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(card_cjs_namespaceObject.CardContent, {
800
- children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(layout_index_cjs_namespaceObject.Row, {
801
- justify: "between",
802
- align: "center",
803
- className: "rounded-lg border p-4",
804
- children: [
805
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(layout_index_cjs_namespaceObject.Row, {
806
- gap: 3,
807
- align: "center",
808
- children: [
809
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(layout_index_cjs_namespaceObject.Row, {
810
- justify: "center",
811
- align: "center",
812
- className: "h-10 w-14 rounded bg-muted",
813
- children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.CreditCard, {
814
- className: "h-5 w-5"
815
- })
816
- }),
817
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(layout_index_cjs_namespaceObject.Column, {
818
- gap: 0,
819
- children: [
820
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("p", {
821
- className: "font-medium",
822
- children: "•••• •••• •••• 4242"
823
- }),
824
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("p", {
825
- className: "text-sm text-muted-foreground",
826
- children: "Expires 12/25"
827
- })
828
- ]
829
- })
830
- ]
831
- }),
832
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(button_cjs_namespaceObject.Button, {
833
- variant: "ghost",
834
- size: "sm",
835
- children: "Edit"
836
- })
837
- ]
838
- })
839
- }),
840
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(card_cjs_namespaceObject.CardFooter, {
841
- className: "border-t px-6 py-4",
842
- children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(button_cjs_namespaceObject.Button, {
843
- variant: "outline",
844
- children: "Add payment method"
845
- })
846
- })
847
- ]
848
- })
849
- ]
850
- })
851
- ]
852
- })
853
- ]
854
- })
855
- ]
856
- });
857
- }
858
- exports.SettingsExample = __webpack_exports__.SettingsExample;
859
- for(var __webpack_i__ in __webpack_exports__)if (-1 === [
860
- "SettingsExample"
861
- ].indexOf(__webpack_i__)) exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
862
- Object.defineProperty(exports, '__esModule', {
863
- value: true
864
- });