@falcondev-oss/nuxt-layers-base 0.1.0 → 0.2.2

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 (165) hide show
  1. package/LICENSE +21 -0
  2. package/app/assets/css/utilities.css +3 -0
  3. package/app/components/Define.vue +13 -0
  4. package/app/components/layout/LayoutDashboard.vue +1 -1
  5. package/app/components/u/UField.vue +17 -6
  6. package/app/components/u/UForm.vue +90 -0
  7. package/app/components/u/UInputDurationMinutes.vue +1 -1
  8. package/app/composables/useTableColumns.tsx +1 -1
  9. package/app/composables/useToast.ts +3 -3
  10. package/app/utils/debug.ts +48 -0
  11. package/app/utils/files.ts +22 -0
  12. package/app/utils/plugins.ts +45 -6
  13. package/package.json +19 -3
  14. package/server/plugins/error.ts +20 -0
  15. package/server/utils/error.ts +24 -0
  16. package/shared/types/helpers.ts +27 -0
  17. package/shared/utils/helpers.ts +3 -0
  18. package/.nuxt/app.config.mjs +0 -317
  19. package/.nuxt/components.d.ts +0 -332
  20. package/.nuxt/imports.d.ts +0 -61
  21. package/.nuxt/manifest/meta/24fb5e89-93fb-44cb-bbff-2a13f165c1e8.json +0 -1
  22. package/.nuxt/nuxt-icon-client-bundle.mjs +0 -1
  23. package/.nuxt/nuxt-icon-server-bundle.mjs +0 -14
  24. package/.nuxt/nuxt.d.ts +0 -24
  25. package/.nuxt/nuxt.node.d.ts +0 -14
  26. package/.nuxt/nuxt.shared.d.ts +0 -5
  27. package/.nuxt/schema/nuxt.schema.d.ts +0 -210
  28. package/.nuxt/schema/nuxt.schema.json +0 -263
  29. package/.nuxt/tsconfig.app.json +0 -217
  30. package/.nuxt/tsconfig.json +0 -219
  31. package/.nuxt/tsconfig.node.json +0 -114
  32. package/.nuxt/tsconfig.server.json +0 -140
  33. package/.nuxt/tsconfig.shared.json +0 -139
  34. package/.nuxt/types/app.config.d.ts +0 -331
  35. package/.nuxt/types/build.d.ts +0 -24
  36. package/.nuxt/types/builder-env.d.ts +0 -1
  37. package/.nuxt/types/components.d.ts +0 -337
  38. package/.nuxt/types/imports.d.ts +0 -906
  39. package/.nuxt/types/layouts.d.ts +0 -7
  40. package/.nuxt/types/middleware.d.ts +0 -7
  41. package/.nuxt/types/modules.d.ts +0 -159
  42. package/.nuxt/types/nitro-config.d.ts +0 -14
  43. package/.nuxt/types/nitro-imports.d.ts +0 -141
  44. package/.nuxt/types/nitro-middleware.d.ts +0 -11
  45. package/.nuxt/types/nitro-nuxt.d.ts +0 -61
  46. package/.nuxt/types/nitro-routes.d.ts +0 -17
  47. package/.nuxt/types/nitro.d.ts +0 -3
  48. package/.nuxt/types/plugins.d.ts +0 -35
  49. package/.nuxt/types/runtime-config.d.ts +0 -36
  50. package/.nuxt/types/ui.d.ts +0 -36
  51. package/.nuxt/types/vue-shim.d.ts +0 -0
  52. package/.nuxt/ui/accordion.ts +0 -20
  53. package/.nuxt/ui/alert.ts +0 -264
  54. package/.nuxt/ui/auth-form.ts +0 -20
  55. package/.nuxt/ui/avatar-group.ts +0 -52
  56. package/.nuxt/ui/avatar.ts +0 -54
  57. package/.nuxt/ui/badge.ts +0 -263
  58. package/.nuxt/ui/banner.ts +0 -108
  59. package/.nuxt/ui/blog-post.ts +0 -143
  60. package/.nuxt/ui/blog-posts.ts +0 -9
  61. package/.nuxt/ui/breadcrumb.ts +0 -45
  62. package/.nuxt/ui/button.ts +0 -378
  63. package/.nuxt/ui/calendar.ts +0 -315
  64. package/.nuxt/ui/card.ts +0 -34
  65. package/.nuxt/ui/carousel.ts +0 -38
  66. package/.nuxt/ui/changelog-version.ts +0 -45
  67. package/.nuxt/ui/changelog-versions.ts +0 -8
  68. package/.nuxt/ui/chat-message.ts +0 -136
  69. package/.nuxt/ui/chat-messages.ts +0 -14
  70. package/.nuxt/ui/chat-palette.ts +0 -8
  71. package/.nuxt/ui/chat-prompt-submit.ts +0 -5
  72. package/.nuxt/ui/chat-prompt.ts +0 -35
  73. package/.nuxt/ui/checkbox-group.ts +0 -207
  74. package/.nuxt/ui/checkbox.ts +0 -237
  75. package/.nuxt/ui/chip.ts +0 -96
  76. package/.nuxt/ui/collapsible.ts +0 -6
  77. package/.nuxt/ui/color-picker.ts +0 -47
  78. package/.nuxt/ui/command-palette.ts +0 -62
  79. package/.nuxt/ui/container.ts +0 -3
  80. package/.nuxt/ui/context-menu.ts +0 -219
  81. package/.nuxt/ui/dashboard-group.ts +0 -3
  82. package/.nuxt/ui/dashboard-navbar.ts +0 -21
  83. package/.nuxt/ui/dashboard-panel.ts +0 -17
  84. package/.nuxt/ui/dashboard-resize-handle.ts +0 -3
  85. package/.nuxt/ui/dashboard-search-button.ts +0 -15
  86. package/.nuxt/ui/dashboard-search.ts +0 -13
  87. package/.nuxt/ui/dashboard-sidebar-collapse.ts +0 -9
  88. package/.nuxt/ui/dashboard-sidebar-toggle.ts +0 -9
  89. package/.nuxt/ui/dashboard-sidebar.ts +0 -37
  90. package/.nuxt/ui/dashboard-toolbar.ts +0 -7
  91. package/.nuxt/ui/drawer.ts +0 -149
  92. package/.nuxt/ui/dropdown-menu.ts +0 -220
  93. package/.nuxt/ui/editor-drag-handle.ts +0 -6
  94. package/.nuxt/ui/editor-emoji-menu.ts +0 -35
  95. package/.nuxt/ui/editor-mention-menu.ts +0 -35
  96. package/.nuxt/ui/editor-suggestion-menu.ts +0 -35
  97. package/.nuxt/ui/editor-toolbar.ts +0 -21
  98. package/.nuxt/ui/editor.ts +0 -35
  99. package/.nuxt/ui/empty.ts +0 -83
  100. package/.nuxt/ui/error.ts +0 -9
  101. package/.nuxt/ui/field-group.ts +0 -16
  102. package/.nuxt/ui/file-upload.ts +0 -290
  103. package/.nuxt/ui/footer-columns.ts +0 -28
  104. package/.nuxt/ui/footer.ts +0 -11
  105. package/.nuxt/ui/form-field.ts +0 -62
  106. package/.nuxt/ui/form.ts +0 -3
  107. package/.nuxt/ui/header.ts +0 -25
  108. package/.nuxt/ui/index.ts +0 -109
  109. package/.nuxt/ui/input-date.ts +0 -337
  110. package/.nuxt/ui/input-menu.ts +0 -460
  111. package/.nuxt/ui/input-number.ts +0 -256
  112. package/.nuxt/ui/input-tags.ts +0 -310
  113. package/.nuxt/ui/input-time.ts +0 -336
  114. package/.nuxt/ui/input.ts +0 -289
  115. package/.nuxt/ui/kbd.ts +0 -195
  116. package/.nuxt/ui/link.ts +0 -22
  117. package/.nuxt/ui/main.ts +0 -3
  118. package/.nuxt/ui/marquee.ts +0 -66
  119. package/.nuxt/ui/modal.ts +0 -60
  120. package/.nuxt/ui/navigation-menu.ts +0 -512
  121. package/.nuxt/ui/page-anchors.ts +0 -30
  122. package/.nuxt/ui/page-aside.ts +0 -10
  123. package/.nuxt/ui/page-body.ts +0 -3
  124. package/.nuxt/ui/page-card.ts +0 -274
  125. package/.nuxt/ui/page-columns.ts +0 -3
  126. package/.nuxt/ui/page-cta.ts +0 -70
  127. package/.nuxt/ui/page-feature.ts +0 -34
  128. package/.nuxt/ui/page-grid.ts +0 -3
  129. package/.nuxt/ui/page-header.ts +0 -18
  130. package/.nuxt/ui/page-hero.ts +0 -44
  131. package/.nuxt/ui/page-links.ts +0 -25
  132. package/.nuxt/ui/page-list.ts +0 -8
  133. package/.nuxt/ui/page-logos.ts +0 -15
  134. package/.nuxt/ui/page-section.ts +0 -84
  135. package/.nuxt/ui/page.ts +0 -32
  136. package/.nuxt/ui/pagination.ts +0 -13
  137. package/.nuxt/ui/pin-input.ts +0 -171
  138. package/.nuxt/ui/popover.ts +0 -6
  139. package/.nuxt/ui/pricing-plan.ts +0 -101
  140. package/.nuxt/ui/pricing-plans.ts +0 -22
  141. package/.nuxt/ui/pricing-table.ts +0 -51
  142. package/.nuxt/ui/progress.ts +0 -297
  143. package/.nuxt/ui/radio-group.ts +0 -352
  144. package/.nuxt/ui/scroll-area.ts +0 -21
  145. package/.nuxt/ui/select-menu.ts +0 -361
  146. package/.nuxt/ui/select.ts +0 -348
  147. package/.nuxt/ui/separator.ts +0 -172
  148. package/.nuxt/ui/skeleton.ts +0 -3
  149. package/.nuxt/ui/slideover.ts +0 -132
  150. package/.nuxt/ui/slider.ts +0 -171
  151. package/.nuxt/ui/stepper.ts +0 -202
  152. package/.nuxt/ui/switch.ts +0 -132
  153. package/.nuxt/ui/table.ts +0 -162
  154. package/.nuxt/ui/tabs.ts +0 -258
  155. package/.nuxt/ui/textarea.ts +0 -294
  156. package/.nuxt/ui/timeline.ts +0 -321
  157. package/.nuxt/ui/toast.ts +0 -74
  158. package/.nuxt/ui/toaster.ts +0 -91
  159. package/.nuxt/ui/tooltip.ts +0 -9
  160. package/.nuxt/ui/tree.ts +0 -168
  161. package/.nuxt/ui/user.ts +0 -101
  162. package/.nuxt/ui-image-component.ts +0 -1
  163. package/.nuxt/ui.css +0 -154
  164. package/app/components/Var.vue +0 -13
  165. package/pnpm-workspace.yaml +0 -5
@@ -1,352 +0,0 @@
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
- }
@@ -1,21 +0,0 @@
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
- }