@falcondev-oss/nuxt-layers-base 0.1.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 (176) hide show
  1. package/.nuxt/app.config.mjs +317 -0
  2. package/.nuxt/components.d.ts +332 -0
  3. package/.nuxt/imports.d.ts +61 -0
  4. package/.nuxt/manifest/meta/24fb5e89-93fb-44cb-bbff-2a13f165c1e8.json +1 -0
  5. package/.nuxt/nuxt-icon-client-bundle.mjs +1 -0
  6. package/.nuxt/nuxt-icon-server-bundle.mjs +14 -0
  7. package/.nuxt/nuxt.d.ts +24 -0
  8. package/.nuxt/nuxt.node.d.ts +14 -0
  9. package/.nuxt/nuxt.shared.d.ts +5 -0
  10. package/.nuxt/schema/nuxt.schema.d.ts +210 -0
  11. package/.nuxt/schema/nuxt.schema.json +263 -0
  12. package/.nuxt/tsconfig.app.json +217 -0
  13. package/.nuxt/tsconfig.json +219 -0
  14. package/.nuxt/tsconfig.node.json +114 -0
  15. package/.nuxt/tsconfig.server.json +140 -0
  16. package/.nuxt/tsconfig.shared.json +139 -0
  17. package/.nuxt/types/app.config.d.ts +331 -0
  18. package/.nuxt/types/build.d.ts +24 -0
  19. package/.nuxt/types/builder-env.d.ts +1 -0
  20. package/.nuxt/types/components.d.ts +337 -0
  21. package/.nuxt/types/imports.d.ts +906 -0
  22. package/.nuxt/types/layouts.d.ts +7 -0
  23. package/.nuxt/types/middleware.d.ts +7 -0
  24. package/.nuxt/types/modules.d.ts +159 -0
  25. package/.nuxt/types/nitro-config.d.ts +14 -0
  26. package/.nuxt/types/nitro-imports.d.ts +141 -0
  27. package/.nuxt/types/nitro-middleware.d.ts +11 -0
  28. package/.nuxt/types/nitro-nuxt.d.ts +61 -0
  29. package/.nuxt/types/nitro-routes.d.ts +17 -0
  30. package/.nuxt/types/nitro.d.ts +3 -0
  31. package/.nuxt/types/plugins.d.ts +35 -0
  32. package/.nuxt/types/runtime-config.d.ts +36 -0
  33. package/.nuxt/types/ui.d.ts +36 -0
  34. package/.nuxt/types/vue-shim.d.ts +0 -0
  35. package/.nuxt/ui/accordion.ts +20 -0
  36. package/.nuxt/ui/alert.ts +264 -0
  37. package/.nuxt/ui/auth-form.ts +20 -0
  38. package/.nuxt/ui/avatar-group.ts +52 -0
  39. package/.nuxt/ui/avatar.ts +54 -0
  40. package/.nuxt/ui/badge.ts +263 -0
  41. package/.nuxt/ui/banner.ts +108 -0
  42. package/.nuxt/ui/blog-post.ts +143 -0
  43. package/.nuxt/ui/blog-posts.ts +9 -0
  44. package/.nuxt/ui/breadcrumb.ts +45 -0
  45. package/.nuxt/ui/button.ts +378 -0
  46. package/.nuxt/ui/calendar.ts +315 -0
  47. package/.nuxt/ui/card.ts +34 -0
  48. package/.nuxt/ui/carousel.ts +38 -0
  49. package/.nuxt/ui/changelog-version.ts +45 -0
  50. package/.nuxt/ui/changelog-versions.ts +8 -0
  51. package/.nuxt/ui/chat-message.ts +136 -0
  52. package/.nuxt/ui/chat-messages.ts +14 -0
  53. package/.nuxt/ui/chat-palette.ts +8 -0
  54. package/.nuxt/ui/chat-prompt-submit.ts +5 -0
  55. package/.nuxt/ui/chat-prompt.ts +35 -0
  56. package/.nuxt/ui/checkbox-group.ts +207 -0
  57. package/.nuxt/ui/checkbox.ts +237 -0
  58. package/.nuxt/ui/chip.ts +96 -0
  59. package/.nuxt/ui/collapsible.ts +6 -0
  60. package/.nuxt/ui/color-picker.ts +47 -0
  61. package/.nuxt/ui/command-palette.ts +62 -0
  62. package/.nuxt/ui/container.ts +3 -0
  63. package/.nuxt/ui/context-menu.ts +219 -0
  64. package/.nuxt/ui/dashboard-group.ts +3 -0
  65. package/.nuxt/ui/dashboard-navbar.ts +21 -0
  66. package/.nuxt/ui/dashboard-panel.ts +17 -0
  67. package/.nuxt/ui/dashboard-resize-handle.ts +3 -0
  68. package/.nuxt/ui/dashboard-search-button.ts +15 -0
  69. package/.nuxt/ui/dashboard-search.ts +13 -0
  70. package/.nuxt/ui/dashboard-sidebar-collapse.ts +9 -0
  71. package/.nuxt/ui/dashboard-sidebar-toggle.ts +9 -0
  72. package/.nuxt/ui/dashboard-sidebar.ts +37 -0
  73. package/.nuxt/ui/dashboard-toolbar.ts +7 -0
  74. package/.nuxt/ui/drawer.ts +149 -0
  75. package/.nuxt/ui/dropdown-menu.ts +220 -0
  76. package/.nuxt/ui/editor-drag-handle.ts +6 -0
  77. package/.nuxt/ui/editor-emoji-menu.ts +35 -0
  78. package/.nuxt/ui/editor-mention-menu.ts +35 -0
  79. package/.nuxt/ui/editor-suggestion-menu.ts +35 -0
  80. package/.nuxt/ui/editor-toolbar.ts +21 -0
  81. package/.nuxt/ui/editor.ts +35 -0
  82. package/.nuxt/ui/empty.ts +83 -0
  83. package/.nuxt/ui/error.ts +9 -0
  84. package/.nuxt/ui/field-group.ts +16 -0
  85. package/.nuxt/ui/file-upload.ts +290 -0
  86. package/.nuxt/ui/footer-columns.ts +28 -0
  87. package/.nuxt/ui/footer.ts +11 -0
  88. package/.nuxt/ui/form-field.ts +62 -0
  89. package/.nuxt/ui/form.ts +3 -0
  90. package/.nuxt/ui/header.ts +25 -0
  91. package/.nuxt/ui/index.ts +109 -0
  92. package/.nuxt/ui/input-date.ts +337 -0
  93. package/.nuxt/ui/input-menu.ts +460 -0
  94. package/.nuxt/ui/input-number.ts +256 -0
  95. package/.nuxt/ui/input-tags.ts +310 -0
  96. package/.nuxt/ui/input-time.ts +336 -0
  97. package/.nuxt/ui/input.ts +289 -0
  98. package/.nuxt/ui/kbd.ts +195 -0
  99. package/.nuxt/ui/link.ts +22 -0
  100. package/.nuxt/ui/main.ts +3 -0
  101. package/.nuxt/ui/marquee.ts +66 -0
  102. package/.nuxt/ui/modal.ts +60 -0
  103. package/.nuxt/ui/navigation-menu.ts +512 -0
  104. package/.nuxt/ui/page-anchors.ts +30 -0
  105. package/.nuxt/ui/page-aside.ts +10 -0
  106. package/.nuxt/ui/page-body.ts +3 -0
  107. package/.nuxt/ui/page-card.ts +274 -0
  108. package/.nuxt/ui/page-columns.ts +3 -0
  109. package/.nuxt/ui/page-cta.ts +70 -0
  110. package/.nuxt/ui/page-feature.ts +34 -0
  111. package/.nuxt/ui/page-grid.ts +3 -0
  112. package/.nuxt/ui/page-header.ts +18 -0
  113. package/.nuxt/ui/page-hero.ts +44 -0
  114. package/.nuxt/ui/page-links.ts +25 -0
  115. package/.nuxt/ui/page-list.ts +8 -0
  116. package/.nuxt/ui/page-logos.ts +15 -0
  117. package/.nuxt/ui/page-section.ts +84 -0
  118. package/.nuxt/ui/page.ts +32 -0
  119. package/.nuxt/ui/pagination.ts +13 -0
  120. package/.nuxt/ui/pin-input.ts +171 -0
  121. package/.nuxt/ui/popover.ts +6 -0
  122. package/.nuxt/ui/pricing-plan.ts +101 -0
  123. package/.nuxt/ui/pricing-plans.ts +22 -0
  124. package/.nuxt/ui/pricing-table.ts +51 -0
  125. package/.nuxt/ui/progress.ts +297 -0
  126. package/.nuxt/ui/radio-group.ts +352 -0
  127. package/.nuxt/ui/scroll-area.ts +21 -0
  128. package/.nuxt/ui/select-menu.ts +361 -0
  129. package/.nuxt/ui/select.ts +348 -0
  130. package/.nuxt/ui/separator.ts +172 -0
  131. package/.nuxt/ui/skeleton.ts +3 -0
  132. package/.nuxt/ui/slideover.ts +132 -0
  133. package/.nuxt/ui/slider.ts +171 -0
  134. package/.nuxt/ui/stepper.ts +202 -0
  135. package/.nuxt/ui/switch.ts +132 -0
  136. package/.nuxt/ui/table.ts +162 -0
  137. package/.nuxt/ui/tabs.ts +258 -0
  138. package/.nuxt/ui/textarea.ts +294 -0
  139. package/.nuxt/ui/timeline.ts +321 -0
  140. package/.nuxt/ui/toast.ts +74 -0
  141. package/.nuxt/ui/toaster.ts +91 -0
  142. package/.nuxt/ui/tooltip.ts +9 -0
  143. package/.nuxt/ui/tree.ts +168 -0
  144. package/.nuxt/ui/user.ts +101 -0
  145. package/.nuxt/ui-image-component.ts +1 -0
  146. package/.nuxt/ui.css +154 -0
  147. package/app/app.config.ts +7 -0
  148. package/app/app.vue +3 -0
  149. package/app/assets/css/base.css +28 -0
  150. package/app/components/Var.vue +13 -0
  151. package/app/components/layout/LayoutDashboard.vue +102 -0
  152. package/app/components/overlay/modal/ModalActions.vue +25 -0
  153. package/app/components/overlay/modal/ModalConfirm.vue +25 -0
  154. package/app/components/overlay/modal/ModalRadioGroup.vue +37 -0
  155. package/app/components/u/UActions.vue +23 -0
  156. package/app/components/u/UCustomApp.vue +20 -0
  157. package/app/components/u/UField.vue +55 -0
  158. package/app/components/u/UImageWithFallback.vue +35 -0
  159. package/app/components/u/UInputDatePicker.vue +40 -0
  160. package/app/components/u/UInputDurationMinutes.vue +88 -0
  161. package/app/components/u/UTableCard.vue +16 -0
  162. package/app/composables/useConfirm.ts +16 -0
  163. package/app/composables/usePreventPageLeave.ts +31 -0
  164. package/app/composables/useRouteParamString.ts +22 -0
  165. package/app/composables/useTableColumns.tsx +68 -0
  166. package/app/composables/useToast.ts +40 -0
  167. package/app/composables/useTrpc.ts +3 -0
  168. package/app/error.vue +15 -0
  169. package/app/pages/index.vue +3 -0
  170. package/app/utils/form-field-translators.ts +41 -0
  171. package/app/utils/plugins.ts +95 -0
  172. package/app/utils/reactivity.ts +17 -0
  173. package/nuxt.config.ts +85 -0
  174. package/package.json +46 -0
  175. package/pnpm-workspace.yaml +5 -0
  176. package/tsconfig.json +17 -0
@@ -0,0 +1,352 @@
1
+ const color = [
2
+ "primary",
3
+ "secondary",
4
+ "success",
5
+ "info",
6
+ "warning",
7
+ "error",
8
+ "neutral"
9
+ ] as const
10
+
11
+ const variant = [
12
+ "list",
13
+ "card",
14
+ "table"
15
+ ] as const
16
+
17
+ const orientation = [
18
+ "horizontal",
19
+ "vertical"
20
+ ] as const
21
+
22
+ const indicator = [
23
+ "start",
24
+ "end",
25
+ "hidden"
26
+ ] as const
27
+
28
+ const size = [
29
+ "xs",
30
+ "sm",
31
+ "md",
32
+ "lg",
33
+ "xl"
34
+ ] as const
35
+
36
+ export default {
37
+ "slots": {
38
+ "root": "relative",
39
+ "fieldset": "flex gap-x-2",
40
+ "legend": "mb-1 block font-medium text-default",
41
+ "item": "flex items-start",
42
+ "container": "flex items-center",
43
+ "base": "rounded-full ring ring-inset ring-accented overflow-hidden focus-visible:outline-2 focus-visible:outline-offset-2",
44
+ "indicator": "flex items-center justify-center size-full after:bg-default after:rounded-full" as typeof indicator[number],
45
+ "wrapper": "w-full",
46
+ "label": "block font-medium text-default",
47
+ "description": "text-muted"
48
+ },
49
+ "variants": {
50
+ "color": {
51
+ "primary": {
52
+ "base": "focus-visible:outline-primary",
53
+ "indicator": "bg-primary" as typeof indicator[number]
54
+ },
55
+ "secondary": {
56
+ "base": "focus-visible:outline-secondary",
57
+ "indicator": "bg-secondary" as typeof indicator[number]
58
+ },
59
+ "success": {
60
+ "base": "focus-visible:outline-success",
61
+ "indicator": "bg-success" as typeof indicator[number]
62
+ },
63
+ "info": {
64
+ "base": "focus-visible:outline-info",
65
+ "indicator": "bg-info" as typeof indicator[number]
66
+ },
67
+ "warning": {
68
+ "base": "focus-visible:outline-warning",
69
+ "indicator": "bg-warning" as typeof indicator[number]
70
+ },
71
+ "error": {
72
+ "base": "focus-visible:outline-error",
73
+ "indicator": "bg-error" as typeof indicator[number]
74
+ },
75
+ "neutral": {
76
+ "base": "focus-visible:outline-inverted",
77
+ "indicator": "bg-inverted" as typeof indicator[number]
78
+ }
79
+ },
80
+ "variant": {
81
+ "list": {
82
+ "item": ""
83
+ },
84
+ "card": {
85
+ "item": "border border-muted rounded-lg"
86
+ },
87
+ "table": {
88
+ "item": "border border-muted"
89
+ }
90
+ },
91
+ "orientation": {
92
+ "horizontal": {
93
+ "fieldset": "flex-row"
94
+ },
95
+ "vertical": {
96
+ "fieldset": "flex-col"
97
+ }
98
+ },
99
+ "indicator": {
100
+ "start": {
101
+ "item": "flex-row",
102
+ "wrapper": "ms-2"
103
+ },
104
+ "end": {
105
+ "item": "flex-row-reverse",
106
+ "wrapper": "me-2"
107
+ },
108
+ "hidden": {
109
+ "base": "sr-only",
110
+ "wrapper": "text-center"
111
+ }
112
+ },
113
+ "size": {
114
+ "xs": {
115
+ "fieldset": "gap-y-0.5",
116
+ "legend": "text-xs",
117
+ "base": "size-3",
118
+ "item": "text-xs",
119
+ "container": "h-4",
120
+ "indicator": "after:size-1" as typeof indicator[number]
121
+ },
122
+ "sm": {
123
+ "fieldset": "gap-y-0.5",
124
+ "legend": "text-xs",
125
+ "base": "size-3.5",
126
+ "item": "text-xs",
127
+ "container": "h-4",
128
+ "indicator": "after:size-1" as typeof indicator[number]
129
+ },
130
+ "md": {
131
+ "fieldset": "gap-y-1",
132
+ "legend": "text-sm",
133
+ "base": "size-4",
134
+ "item": "text-sm",
135
+ "container": "h-5",
136
+ "indicator": "after:size-1.5" as typeof indicator[number]
137
+ },
138
+ "lg": {
139
+ "fieldset": "gap-y-1",
140
+ "legend": "text-sm",
141
+ "base": "size-4.5",
142
+ "item": "text-sm",
143
+ "container": "h-5",
144
+ "indicator": "after:size-1.5" as typeof indicator[number]
145
+ },
146
+ "xl": {
147
+ "fieldset": "gap-y-1.5",
148
+ "legend": "text-base",
149
+ "base": "size-5",
150
+ "item": "text-base",
151
+ "container": "h-6",
152
+ "indicator": "after:size-2" as typeof indicator[number]
153
+ }
154
+ },
155
+ "disabled": {
156
+ "true": {
157
+ "item": "opacity-75",
158
+ "base": "cursor-not-allowed",
159
+ "label": "cursor-not-allowed",
160
+ "description": "cursor-not-allowed"
161
+ }
162
+ },
163
+ "required": {
164
+ "true": {
165
+ "legend": "after:content-['*'] after:ms-0.5 after:text-error"
166
+ }
167
+ }
168
+ },
169
+ "compoundVariants": [
170
+ {
171
+ "size": "xs" as typeof size[number],
172
+ "variant": [
173
+ "card" as typeof variant[number],
174
+ "table" as typeof variant[number]
175
+ ],
176
+ "class": {
177
+ "item": "p-2.5"
178
+ }
179
+ },
180
+ {
181
+ "size": "sm" as typeof size[number],
182
+ "variant": [
183
+ "card" as typeof variant[number],
184
+ "table" as typeof variant[number]
185
+ ],
186
+ "class": {
187
+ "item": "p-3"
188
+ }
189
+ },
190
+ {
191
+ "size": "md" as typeof size[number],
192
+ "variant": [
193
+ "card" as typeof variant[number],
194
+ "table" as typeof variant[number]
195
+ ],
196
+ "class": {
197
+ "item": "p-3.5"
198
+ }
199
+ },
200
+ {
201
+ "size": "lg" as typeof size[number],
202
+ "variant": [
203
+ "card" as typeof variant[number],
204
+ "table" as typeof variant[number]
205
+ ],
206
+ "class": {
207
+ "item": "p-4"
208
+ }
209
+ },
210
+ {
211
+ "size": "xl" as typeof size[number],
212
+ "variant": [
213
+ "card" as typeof variant[number],
214
+ "table" as typeof variant[number]
215
+ ],
216
+ "class": {
217
+ "item": "p-4.5"
218
+ }
219
+ },
220
+ {
221
+ "orientation": "horizontal" as typeof orientation[number],
222
+ "variant": "table" as typeof variant[number],
223
+ "class": {
224
+ "item": "first-of-type:rounded-s-lg last-of-type:rounded-e-lg",
225
+ "fieldset": "gap-0 -space-x-px"
226
+ }
227
+ },
228
+ {
229
+ "orientation": "vertical" as typeof orientation[number],
230
+ "variant": "table" as typeof variant[number],
231
+ "class": {
232
+ "item": "first-of-type:rounded-t-lg last-of-type:rounded-b-lg",
233
+ "fieldset": "gap-0 -space-y-px"
234
+ }
235
+ },
236
+ {
237
+ "color": "primary" as typeof color[number],
238
+ "variant": "card" as typeof variant[number],
239
+ "class": {
240
+ "item": "has-data-[state=checked]:border-primary"
241
+ }
242
+ },
243
+ {
244
+ "color": "secondary" as typeof color[number],
245
+ "variant": "card" as typeof variant[number],
246
+ "class": {
247
+ "item": "has-data-[state=checked]:border-secondary"
248
+ }
249
+ },
250
+ {
251
+ "color": "success" as typeof color[number],
252
+ "variant": "card" as typeof variant[number],
253
+ "class": {
254
+ "item": "has-data-[state=checked]:border-success"
255
+ }
256
+ },
257
+ {
258
+ "color": "info" as typeof color[number],
259
+ "variant": "card" as typeof variant[number],
260
+ "class": {
261
+ "item": "has-data-[state=checked]:border-info"
262
+ }
263
+ },
264
+ {
265
+ "color": "warning" as typeof color[number],
266
+ "variant": "card" as typeof variant[number],
267
+ "class": {
268
+ "item": "has-data-[state=checked]:border-warning"
269
+ }
270
+ },
271
+ {
272
+ "color": "error" as typeof color[number],
273
+ "variant": "card" as typeof variant[number],
274
+ "class": {
275
+ "item": "has-data-[state=checked]:border-error"
276
+ }
277
+ },
278
+ {
279
+ "color": "neutral" as typeof color[number],
280
+ "variant": "card" as typeof variant[number],
281
+ "class": {
282
+ "item": "has-data-[state=checked]:border-inverted"
283
+ }
284
+ },
285
+ {
286
+ "color": "primary" as typeof color[number],
287
+ "variant": "table" as typeof variant[number],
288
+ "class": {
289
+ "item": "has-data-[state=checked]:bg-primary/10 has-data-[state=checked]:border-primary/50 has-data-[state=checked]:z-[1]"
290
+ }
291
+ },
292
+ {
293
+ "color": "secondary" as typeof color[number],
294
+ "variant": "table" as typeof variant[number],
295
+ "class": {
296
+ "item": "has-data-[state=checked]:bg-secondary/10 has-data-[state=checked]:border-secondary/50 has-data-[state=checked]:z-[1]"
297
+ }
298
+ },
299
+ {
300
+ "color": "success" as typeof color[number],
301
+ "variant": "table" as typeof variant[number],
302
+ "class": {
303
+ "item": "has-data-[state=checked]:bg-success/10 has-data-[state=checked]:border-success/50 has-data-[state=checked]:z-[1]"
304
+ }
305
+ },
306
+ {
307
+ "color": "info" as typeof color[number],
308
+ "variant": "table" as typeof variant[number],
309
+ "class": {
310
+ "item": "has-data-[state=checked]:bg-info/10 has-data-[state=checked]:border-info/50 has-data-[state=checked]:z-[1]"
311
+ }
312
+ },
313
+ {
314
+ "color": "warning" as typeof color[number],
315
+ "variant": "table" as typeof variant[number],
316
+ "class": {
317
+ "item": "has-data-[state=checked]:bg-warning/10 has-data-[state=checked]:border-warning/50 has-data-[state=checked]:z-[1]"
318
+ }
319
+ },
320
+ {
321
+ "color": "error" as typeof color[number],
322
+ "variant": "table" as typeof variant[number],
323
+ "class": {
324
+ "item": "has-data-[state=checked]:bg-error/10 has-data-[state=checked]:border-error/50 has-data-[state=checked]:z-[1]"
325
+ }
326
+ },
327
+ {
328
+ "color": "neutral" as typeof color[number],
329
+ "variant": "table" as typeof variant[number],
330
+ "class": {
331
+ "item": "has-data-[state=checked]:bg-elevated has-data-[state=checked]:border-inverted/50 has-data-[state=checked]:z-[1]"
332
+ }
333
+ },
334
+ {
335
+ "variant": [
336
+ "card" as typeof variant[number],
337
+ "table" as typeof variant[number]
338
+ ],
339
+ "disabled": true,
340
+ "class": {
341
+ "item": "cursor-not-allowed"
342
+ }
343
+ }
344
+ ],
345
+ "defaultVariants": {
346
+ "size": "md" as typeof size[number],
347
+ "color": "primary" as typeof color[number],
348
+ "variant": "list" as typeof variant[number],
349
+ "orientation": "vertical" as typeof orientation[number],
350
+ "indicator": "start" as typeof indicator[number]
351
+ }
352
+ }
@@ -0,0 +1,21 @@
1
+ export default {
2
+ "slots": {
3
+ "root": "relative",
4
+ "viewport": "relative flex",
5
+ "item": ""
6
+ },
7
+ "variants": {
8
+ "orientation": {
9
+ "vertical": {
10
+ "root": "overflow-y-auto overflow-x-hidden",
11
+ "viewport": "flex-col",
12
+ "item": ""
13
+ },
14
+ "horizontal": {
15
+ "root": "overflow-x-auto overflow-y-hidden",
16
+ "viewport": "flex-row",
17
+ "item": ""
18
+ }
19
+ }
20
+ }
21
+ }