@fy-/fws-vue 0.2.9 → 0.3.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 (180) hide show
  1. package/components/ui/DefaultInput.vue +204 -213
  2. package/package.json +2 -12
  3. package/presets/Lara/accordion/index.js +0 -86
  4. package/presets/Lara/autocomplete/index.js +0 -284
  5. package/presets/Lara/avatar/index.js +0 -46
  6. package/presets/Lara/badge/index.js +0 -44
  7. package/presets/Lara/badgedirective/index.js +0 -49
  8. package/presets/Lara/blockui/index.js +0 -8
  9. package/presets/Lara/breadcrumb/index.js +0 -64
  10. package/presets/Lara/button/index.js +0 -470
  11. package/presets/Lara/calendar/index.js +0 -683
  12. package/presets/Lara/card/index.js +0 -37
  13. package/presets/Lara/carousel/index.js +0 -152
  14. package/presets/Lara/cascadeselect/index.js +0 -228
  15. package/presets/Lara/checkbox/index.js +0 -106
  16. package/presets/Lara/chip/index.js +0 -45
  17. package/presets/Lara/chips/index.js +0 -118
  18. package/presets/Lara/colorpicker/index.js +0 -129
  19. package/presets/Lara/confirmpopup/index.js +0 -107
  20. package/presets/Lara/contextmenu/index.js +0 -130
  21. package/presets/Lara/datatable/index.js +0 -1289
  22. package/presets/Lara/dataview/index.js +0 -40
  23. package/presets/Lara/deferred/index.js +0 -3
  24. package/presets/Lara/dialog/index.js +0 -249
  25. package/presets/Lara/divider/index.js +0 -72
  26. package/presets/Lara/dock/index.js +0 -97
  27. package/presets/Lara/dropdown/index.js +0 -300
  28. package/presets/Lara/fieldset/index.js +0 -98
  29. package/presets/Lara/fileupload/index.js +0 -173
  30. package/presets/Lara/floatlabel/index.js +0 -26
  31. package/presets/Lara/galleria/index.js +0 -351
  32. package/presets/Lara/global.js +0 -90
  33. package/presets/Lara/iconfield/index.js +0 -22
  34. package/presets/Lara/image/index.js +0 -206
  35. package/presets/Lara/index.js +0 -181
  36. package/presets/Lara/inlinemessage/index.js +0 -36
  37. package/presets/Lara/inplace/index.js +0 -27
  38. package/presets/Lara/inputgroup/index.js +0 -5
  39. package/presets/Lara/inputgroupaddon/index.js +0 -28
  40. package/presets/Lara/inputmask/index.js +0 -37
  41. package/presets/Lara/inputnumber/index.js +0 -253
  42. package/presets/Lara/inputotp/index.js +0 -72
  43. package/presets/Lara/inputswitch/index.js +0 -93
  44. package/presets/Lara/inputtext/index.js +0 -61
  45. package/presets/Lara/knob/index.js +0 -47
  46. package/presets/Lara/listbox/index.js +0 -170
  47. package/presets/Lara/megamenu/index.js +0 -207
  48. package/presets/Lara/menu/index.js +0 -98
  49. package/presets/Lara/menubar/index.js +0 -181
  50. package/presets/Lara/message/index.js +0 -87
  51. package/presets/Lara/metergroup/index.js +0 -110
  52. package/presets/Lara/multiselect/index.js +0 -589
  53. package/presets/Lara/orderlist/index.js +0 -266
  54. package/presets/Lara/organizationchart/index.js +0 -142
  55. package/presets/Lara/overlaypanel/index.js +0 -41
  56. package/presets/Lara/paginator/index.js +0 -590
  57. package/presets/Lara/panel/index.js +0 -93
  58. package/presets/Lara/panelmenu/index.js +0 -139
  59. package/presets/Lara/password/index.js +0 -140
  60. package/presets/Lara/picklist/index.js +0 -659
  61. package/presets/Lara/progressbar/index.js +0 -61
  62. package/presets/Lara/progressspinner/index.js +0 -51
  63. package/presets/Lara/radiobutton/index.js +0 -116
  64. package/presets/Lara/rating/index.js +0 -95
  65. package/presets/Lara/ripple/index.js +0 -6
  66. package/presets/Lara/scrollpanel/index.js +0 -77
  67. package/presets/Lara/scrolltop/index.js +0 -45
  68. package/presets/Lara/selectbutton/index.js +0 -60
  69. package/presets/Lara/sidebar/index.js +0 -163
  70. package/presets/Lara/skeleton/index.js +0 -19
  71. package/presets/Lara/slider/index.js +0 -149
  72. package/presets/Lara/speeddial/index.js +0 -535
  73. package/presets/Lara/splitbutton/index.js +0 -1081
  74. package/presets/Lara/splitter/index.js +0 -64
  75. package/presets/Lara/stepper/index.js +0 -183
  76. package/presets/Lara/steps/index.js +0 -115
  77. package/presets/Lara/tabmenu/index.js +0 -82
  78. package/presets/Lara/tabview/index.js +0 -166
  79. package/presets/Lara/tag/index.js +0 -37
  80. package/presets/Lara/terminal/index.js +0 -60
  81. package/presets/Lara/textarea/index.js +0 -39
  82. package/presets/Lara/tieredmenu/index.js +0 -125
  83. package/presets/Lara/timeline/index.js +0 -107
  84. package/presets/Lara/toast/index.js +0 -113
  85. package/presets/Lara/togglebutton/index.js +0 -100
  86. package/presets/Lara/toolbar/index.js +0 -28
  87. package/presets/Lara/tooltip/index.js +0 -73
  88. package/presets/Lara/tree/index.js +0 -281
  89. package/presets/Lara/treeselect/index.js +0 -387
  90. package/presets/Lara/treetable/index.js +0 -509
  91. package/presets/Lara/tristatecheckbox/index.js +0 -112
  92. package/presets/Wind/accordion/index.js +0 -75
  93. package/presets/Wind/autocomplete/index.js +0 -294
  94. package/presets/Wind/avatar/index.js +0 -48
  95. package/presets/Wind/badge/index.js +0 -43
  96. package/presets/Wind/badgedirective/index.js +0 -50
  97. package/presets/Wind/blockui/index.js +0 -8
  98. package/presets/Wind/breadcrumb/index.js +0 -45
  99. package/presets/Wind/button/index.js +0 -474
  100. package/presets/Wind/calendar/index.js +0 -659
  101. package/presets/Wind/card/index.js +0 -40
  102. package/presets/Wind/carousel/index.js +0 -152
  103. package/presets/Wind/cascadeselect/index.js +0 -225
  104. package/presets/Wind/checkbox/index.js +0 -112
  105. package/presets/Wind/chip/index.js +0 -45
  106. package/presets/Wind/chips/index.js +0 -120
  107. package/presets/Wind/colorpicker/index.js +0 -129
  108. package/presets/Wind/confirmpopup/index.js +0 -123
  109. package/presets/Wind/contextmenu/index.js +0 -128
  110. package/presets/Wind/datatable/index.js +0 -1330
  111. package/presets/Wind/dataview/index.js +0 -40
  112. package/presets/Wind/deferred/index.js +0 -3
  113. package/presets/Wind/dialog/index.js +0 -251
  114. package/presets/Wind/divider/index.js +0 -72
  115. package/presets/Wind/dock/index.js +0 -97
  116. package/presets/Wind/dropdown/index.js +0 -287
  117. package/presets/Wind/fieldset/index.js +0 -99
  118. package/presets/Wind/fileupload/index.js +0 -173
  119. package/presets/Wind/floatlabel/index.js +0 -26
  120. package/presets/Wind/galleria/index.js +0 -351
  121. package/presets/Wind/global.js +0 -77
  122. package/presets/Wind/iconfield/index.js +0 -22
  123. package/presets/Wind/image/index.js +0 -206
  124. package/presets/Wind/index.js +0 -181
  125. package/presets/Wind/inlinemessage/index.js +0 -29
  126. package/presets/Wind/inplace/index.js +0 -30
  127. package/presets/Wind/inputgroup/index.js +0 -5
  128. package/presets/Wind/inputgroupaddon/index.js +0 -28
  129. package/presets/Wind/inputmask/index.js +0 -34
  130. package/presets/Wind/inputnumber/index.js +0 -244
  131. package/presets/Wind/inputotp/index.js +0 -72
  132. package/presets/Wind/inputswitch/index.js +0 -106
  133. package/presets/Wind/inputtext/index.js +0 -61
  134. package/presets/Wind/knob/index.js +0 -47
  135. package/presets/Wind/listbox/index.js +0 -159
  136. package/presets/Wind/megamenu/index.js +0 -218
  137. package/presets/Wind/menu/index.js +0 -111
  138. package/presets/Wind/menubar/index.js +0 -188
  139. package/presets/Wind/message/index.js +0 -87
  140. package/presets/Wind/metergroup/index.js +0 -110
  141. package/presets/Wind/multiselect/index.js +0 -619
  142. package/presets/Wind/orderlist/index.js +0 -275
  143. package/presets/Wind/organizationchart/index.js +0 -143
  144. package/presets/Wind/overlaypanel/index.js +0 -42
  145. package/presets/Wind/paginator/index.js +0 -596
  146. package/presets/Wind/panel/index.js +0 -95
  147. package/presets/Wind/panelmenu/index.js +0 -136
  148. package/presets/Wind/password/index.js +0 -141
  149. package/presets/Wind/picklist/index.js +0 -684
  150. package/presets/Wind/progressbar/index.js +0 -68
  151. package/presets/Wind/progressspinner/index.js +0 -51
  152. package/presets/Wind/radiobutton/index.js +0 -92
  153. package/presets/Wind/rating/index.js +0 -86
  154. package/presets/Wind/ripple/index.js +0 -6
  155. package/presets/Wind/scrollpanel/index.js +0 -77
  156. package/presets/Wind/scrolltop/index.js +0 -45
  157. package/presets/Wind/selectbutton/index.js +0 -58
  158. package/presets/Wind/sidebar/index.js +0 -165
  159. package/presets/Wind/skeleton/index.js +0 -19
  160. package/presets/Wind/slider/index.js +0 -135
  161. package/presets/Wind/speeddial/index.js +0 -536
  162. package/presets/Wind/splitbutton/index.js +0 -1078
  163. package/presets/Wind/splitter/index.js +0 -64
  164. package/presets/Wind/stepper/index.js +0 -180
  165. package/presets/Wind/steps/index.js +0 -132
  166. package/presets/Wind/tabmenu/index.js +0 -84
  167. package/presets/Wind/tabview/index.js +0 -168
  168. package/presets/Wind/tag/index.js +0 -37
  169. package/presets/Wind/terminal/index.js +0 -60
  170. package/presets/Wind/textarea/index.js +0 -40
  171. package/presets/Wind/tieredmenu/index.js +0 -121
  172. package/presets/Wind/timeline/index.js +0 -107
  173. package/presets/Wind/toast/index.js +0 -111
  174. package/presets/Wind/togglebutton/index.js +0 -91
  175. package/presets/Wind/toolbar/index.js +0 -30
  176. package/presets/Wind/tooltip/index.js +0 -43
  177. package/presets/Wind/tree/index.js +0 -300
  178. package/presets/Wind/treeselect/index.js +0 -404
  179. package/presets/Wind/treetable/index.js +0 -505
  180. package/presets/Wind/tristatecheckbox/index.js +0 -118
@@ -1,188 +0,0 @@
1
- export default {
2
- root: {
3
- class: [
4
- "relative",
5
-
6
- // Flexbox
7
- "flex",
8
- "items-center",
9
- "gap-6",
10
-
11
- // Spacing
12
- "px-6",
13
- "min-h-[4rem]",
14
-
15
- // Shape
16
- "rounded-md",
17
- "shadow-md",
18
-
19
- // Color
20
- "bg-surface-0 dark:bg-surface-900",
21
- "ring-1 ring-inset ring-surface-100 dark:ring-surface-800 ring-offset-0",
22
- ],
23
- },
24
- menu: ({ props }) => ({
25
- class: [
26
- // Flexbox
27
- "sm:flex sm:row-gap-2 sm:col-gap-4",
28
- "items-center",
29
- "flex-wrap",
30
- "flex-col sm:flex-row",
31
- { hidden: !props?.mobileActive, flex: props?.mobileActive },
32
-
33
- // Position
34
- "absolute sm:relative",
35
- "top-full left-0",
36
- "sm:top-auto sm:left-auto",
37
-
38
- // Size
39
- "w-full sm:w-auto",
40
-
41
- // Spacing
42
- "m-0 ",
43
- "py-2 px-1.5 sm:py-0 sm:p-0 sm:py-1.5",
44
- "list-none",
45
-
46
- // Shape
47
- "shadow-md sm:shadow-none",
48
- "border-0",
49
- "sm:rounded-none rounded-md",
50
-
51
- // Color
52
- "bg-surface-0 dark:bg-surface-900 sm:bg-transparent dark:sm:bg-transparent",
53
-
54
- // Misc
55
- "outline-none",
56
- ],
57
- }),
58
- menuitem: {
59
- class: "sm:relative sm:w-auto w-full static",
60
- },
61
- content: ({ props, context }) => ({
62
- class: [
63
- // Shape
64
- { "rounded-md": props.root },
65
-
66
- // Colors
67
- {
68
- "text-surface-500 dark:text-white/70":
69
- !context.focused && !context.active,
70
- "text-surface-500 dark:text-white/70 bg-surface-200 dark:bg-black/70":
71
- context.focused && !context.active,
72
- "text-surface-900 dark:text-surface-0/80 bg-surface-50 dark:bg-black/70":
73
- context.focused && context.active,
74
- "text-surface-900 dark:text-surface-0/80 bg-surface-50 dark:bg-black/70":
75
- !context.focused && context.active,
76
- },
77
-
78
- // Hover States
79
- {
80
- "hover:bg-surface-50 dark:hover:bg-surface-800": !context.active,
81
- "hover:bg-surface-100 dark:hover:bg-black/40 text-surface-900 dark:text-surface-0/80":
82
- context.active,
83
- },
84
-
85
- // Transitions
86
- "transition-all",
87
- "duration-200",
88
- ],
89
- }),
90
- action: ({ context }) => ({
91
- class: [
92
- "relative",
93
-
94
- // Font
95
- "sm:text-sm font-medium",
96
-
97
- // Flexbox
98
- "flex",
99
- "items-center",
100
-
101
- // Spacing
102
- "py-2",
103
- "px-3",
104
- "my-1 sm:my-0",
105
-
106
- // Size
107
- {
108
- "pl-5 sm:pl-3": context.level === 1,
109
- "pl-7 sm:pl-3": context.level === 2,
110
- },
111
-
112
- // Misc
113
- "select-none",
114
- "cursor-pointer",
115
- "no-underline ",
116
- "overflow-hidden",
117
- ],
118
- }),
119
- icon: {
120
- class: "mr-2",
121
- },
122
- submenuicon: ({ props }) => ({
123
- class: [
124
- {
125
- "ml-auto sm:ml-2": props.root,
126
- "ml-auto": !props.root,
127
- },
128
- ],
129
- }),
130
- submenu: ({ props }) => ({
131
- class: [
132
- // Size
133
- "w-full sm:w-48",
134
-
135
- // Spacing
136
- "py-1",
137
- "m-0 ",
138
- "list-none",
139
-
140
- // Shape
141
- "shadow-none sm:shadow-md",
142
- "border-0",
143
-
144
- // Position
145
- "static sm:absolute",
146
- "z-10",
147
- { "sm:absolute sm:left-full sm:top-0": props.level > 1 },
148
-
149
- // Color
150
- "bg-surface-0 dark:bg-surface-900",
151
- ],
152
- }),
153
- separator: {
154
- class: "border-t border-surface-200 dark:border-surface-600 my-1",
155
- },
156
- button: {
157
- class: [
158
- // Flexbox
159
- "flex sm:hidden",
160
- "items-center justify-center",
161
-
162
- // Size
163
- "w-8",
164
- "h-8",
165
-
166
- // Shape
167
- "rounded-full",
168
- // Color
169
- "text-surface-500 dark:text-white/80",
170
-
171
- // States
172
- "hover:text-surface-600 dark:hover:text-white/60",
173
- "hover:bg-surface-50 dark:hover:bg-surface-800/80",
174
- "focus:outline-none focus:outline-offset-0",
175
- "focus:ring-2 focus:ring-inset focus:ring-primary-500 dark:focus:ring-primary-400",
176
-
177
- // Transitions
178
- "transition duration-200 ease-in-out",
179
-
180
- // Misc
181
- "cursor-pointer",
182
- "no-underline",
183
- ],
184
- },
185
- end: {
186
- class: "ml-auto self-center",
187
- },
188
- };
@@ -1,87 +0,0 @@
1
- export default {
2
- root: ({ props }) => ({
3
- class: [
4
- // Spacing and Shape
5
- "my-2 mx-0",
6
- "rounded-md",
7
- "ring-1 ring-inset ring-surface-200 dark:ring-surface-700 ring-offset-0",
8
-
9
- // Colors
10
- "bg-surface-0 dark:bg-surface-800",
11
-
12
- {
13
- "text-blue-500 dark:text-blue-300": props.severity == "info",
14
- "text-green-500 dark:text-green-300": props.severity == "success",
15
- "text-orange-500 dark:text-orange-300": props.severity == "warn",
16
- "text-red-500 dark:text-red-300": props.severity == "error",
17
- },
18
- ],
19
- }),
20
- wrapper: {
21
- class: [
22
- // Flexbox
23
- "flex items-center",
24
-
25
- // Spacing
26
- "p-4",
27
- ],
28
- },
29
- icon: {
30
- class: [
31
- // Sizing and Spacing
32
- "w-5 h-5",
33
- "mr-3 shrink-0",
34
- ],
35
- },
36
- text: {
37
- class: [
38
- // Font and Text
39
- "text-sm leading-none",
40
- "font-medium",
41
- ],
42
- },
43
- button: ({ props }) => ({
44
- class: [
45
- // Flexbox
46
- "flex items-center justify-center",
47
-
48
- // Size
49
- "w-6 h-6",
50
-
51
- // Spacing and Misc
52
- "ml-auto relative",
53
-
54
- // Shape
55
- "rounded-full",
56
-
57
- // Colors
58
- "bg-transparent",
59
- "text-surface-700 dark:text-surface-0/80",
60
-
61
- // Transitions
62
- "transition duration-200 ease-in-out",
63
-
64
- // States
65
- "hover:bg-surface-100 dark:hover:bg-surface-700",
66
- "outline-none focus:ring-1 focus:ring-inset",
67
- "focus:ring-primary-500 dark:focus:ring-primary-400",
68
-
69
- // Misc
70
- "overflow-hidden",
71
- ],
72
- }),
73
- closeicon: {
74
- class: [
75
- // Sizing and Spacing
76
- "w-3 h-3",
77
- "shrink-0",
78
- ],
79
- },
80
- transition: {
81
- enterFromClass: "opacity-0",
82
- enterActiveClass: "transition-opacity duration-300",
83
- leaveFromClass: "max-h-40",
84
- leaveActiveClass: "overflow-hidden transition-all duration-300 ease-in",
85
- leaveToClass: "max-h-0 opacity-0 !m-0",
86
- },
87
- };
@@ -1,110 +0,0 @@
1
- export default {
2
- root: ({ props }) => ({
3
- class: [
4
- // Flexbox
5
- "flex gap-4",
6
-
7
- {
8
- "flex-col": props.orientation == "horizontal",
9
- "flex-row": props.orientation == "vertical",
10
- },
11
- ],
12
- }),
13
- metercontainer: ({ props }) => ({
14
- class: [
15
- // Flexbox
16
- "flex",
17
-
18
- { "flex-col": props.orientation === "vertical" },
19
-
20
- // Sizing
21
- { "w-2 h-full": props.orientation === "vertical" },
22
- { "h-2": props.orientation === "horizontal" },
23
-
24
- // Colors
25
- "bg-gray-200 dark:bg-gray-700",
26
-
27
- // Border Radius
28
- "rounded-lg",
29
- ],
30
- }),
31
- meter: ({ props }) => ({
32
- class: [
33
- // Shape
34
- "border-0",
35
-
36
- // Rounded Corners - Horizontal
37
- {
38
- "first:rounded-l-lg last:rounded-r-lg":
39
- props.orientation === "horizontal",
40
- },
41
-
42
- // Rounded Corners - Vertical
43
- {
44
- "first:rounded-t-lg last:rounded-b-lg":
45
- props.orientation === "vertical",
46
- },
47
-
48
- // Colors
49
- "bg-primary-500 dark:bg-primary-400",
50
- ],
51
- }),
52
- labellist: ({ props }) => ({
53
- class: [
54
- // Display & Flexbox
55
- "flex flex-wrap",
56
-
57
- { "gap-4": props.labelOrientation === "horizontal" },
58
-
59
- { "gap-2": props.labelOrientation === "vertical" },
60
-
61
- { "flex-col": props.labelOrientation === "vertical" },
62
-
63
- // Conditional Alignment - Horizontal
64
- {
65
- "align-end":
66
- props.labelOrientation === "horizontal" &&
67
- props.labelPosition === "end",
68
- "align-start":
69
- props.labelOrientation === "horizontal" &&
70
- props.labelPosition === "start",
71
- },
72
-
73
- // Conditional Alignment - Vertical
74
- {
75
- "justify-end":
76
- props.labelOrientation === "vertical" &&
77
- props.labelPosition === "end",
78
- "justify-start":
79
- props.labelOrientation === "vertical" &&
80
- props.labelPosition === "start",
81
- },
82
-
83
- // List Styling
84
- "m-0 p-0 list-none",
85
- ],
86
- }),
87
- labellistitem: {
88
- class: [
89
- // Flexbox
90
- "inline-flex",
91
- "items-center",
92
- "gap-2",
93
- ],
94
- },
95
- labellisttype: {
96
- class: [
97
- // Display
98
- "inline-flex",
99
-
100
- // Background Color
101
- "bg-primary-500 dark:bg-primary-400",
102
-
103
- // Size
104
- "w-2 h-2",
105
-
106
- // Rounded Shape
107
- "rounded-full",
108
- ],
109
- },
110
- };