@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,129 +0,0 @@
1
- export default {
2
- root: ({ props }) => ({
3
- class: [
4
- // Display
5
- "inline-block",
6
-
7
- // Misc
8
- {
9
- "opacity-60 select-none pointer-events-none cursor-default":
10
- props.disabled,
11
- },
12
- ],
13
- }),
14
- input: {
15
- class: [
16
- // Font
17
- "font-sans text-base ",
18
-
19
- // Spacing
20
- "m-0",
21
- "p-3",
22
-
23
- // Size & Shape
24
- "rounded-lg w-8 h-8",
25
-
26
- // Colors
27
- "bg-surface-0 dark:bg-surface-900",
28
- "border border-surface-300 dark:border-surface-700",
29
-
30
- // States
31
- "hover:border-primary-500 dark:hover:border-primary-400",
32
- "focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50 dark:focus:ring-primary-300/50",
33
-
34
- // Transition
35
- "transition-colors duration-200",
36
-
37
- // Misc
38
- "cursor-pointer",
39
- ],
40
- },
41
- panel: ({ props }) => ({
42
- class: [
43
- // Position & Size
44
- {
45
- "relative h-[166px] w-[193px]": props.inline,
46
- "absolute h-[166px] w-[193px]": !props.inline,
47
- },
48
-
49
- // Shape
50
- "shadow-md border",
51
-
52
- // Colors
53
- "bg-surface-800 border-surface-900 dark:border-surface-600",
54
- ],
55
- }),
56
- selector: {
57
- class: [
58
- // Position
59
- "absolute top-[8px] left-[8px]",
60
-
61
- // Size
62
- "h-[150px] w-[150px]",
63
- ],
64
- },
65
- color: {
66
- class: [
67
- // Size
68
- "h-[150px] w-[150px]",
69
- ],
70
- style:
71
- "background: linear-gradient(to top, #000 0%, rgb(0 0 0 / 0) 100%), linear-gradient(to right, #fff 0%, rgb(255 255 255 / 0) 100%)",
72
- },
73
- colorhandle: {
74
- class: [
75
- "absolute",
76
-
77
- // Shape
78
- "rounded-full border border-solid",
79
-
80
- // Size
81
- "h-[10px] w-[10px]",
82
-
83
- // Spacing
84
- "-ml-[5px] -mt-[5px]",
85
-
86
- // Colors
87
- "border-white",
88
-
89
- // Misc
90
- "cursor-pointer opacity-85",
91
- ],
92
- },
93
- hue: {
94
- class: [
95
- // Position
96
- "absolute top-[8px] left-[167px]",
97
-
98
- // Size
99
- "h-[150px] w-[17px]",
100
-
101
- // Opacity
102
- "opacity-85",
103
- ],
104
- style:
105
- "background: linear-gradient(0deg, red 0, #ff0 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, red)",
106
- },
107
- huehandle: {
108
- class: [
109
- // Position
110
- "absolute left-0 -ml-[2px] -mt-[5px]",
111
-
112
- // Size
113
- "h-[10px] w-[21px]",
114
-
115
- // Shape
116
- "border-solid border-2",
117
-
118
- // Misc
119
- "cursor-pointer opacity-85",
120
- ],
121
- },
122
- transition: {
123
- enterFromClass: "opacity-0 scale-y-[0.8]",
124
- enterActiveClass:
125
- "transition-[transform,opacity] duration-[120ms] ease-[cubic-bezier(0,0,0.2,1)]",
126
- leaveActiveClass: "transition-opacity duration-100 ease-linear",
127
- leaveToClass: "opacity-0",
128
- },
129
- };
@@ -1,107 +0,0 @@
1
- export default {
2
- root: {
3
- class: [
4
- // Shape
5
- "rounded-lg",
6
- "shadow-lg",
7
- "border-0",
8
-
9
- // Positioning
10
- "z-40 transform origin-center",
11
- "mt-3 absolute left-0 top-0",
12
-
13
- // Color
14
- "dark:border",
15
- "dark:border-surface-700",
16
- "bg-surface-0 dark:bg-surface-800",
17
- "text-surface-700 dark:text-surface-0/80",
18
-
19
- // Before: Arrow
20
- "before:absolute before:w-0 before:-top-3 before:h-0 before:border-transparent before:border-solid before:ml-6 before:border-x-[0.75rem] before:border-b-[0.75rem] before:border-t-0 before:border-b-surface-0 dark:before:border-b-surface-800",
21
- ],
22
- },
23
- content: {
24
- class: "p-5 items-center flex",
25
- },
26
- icon: {
27
- class: "text-2xl mr-4",
28
- },
29
- footer: {
30
- class: [
31
- // Flexbox and Alignment
32
- "flex items-center justify-end",
33
- "shrink-0",
34
- "text-right",
35
- "gap-2",
36
-
37
- // Spacing
38
- "px-6",
39
- "pb-6",
40
-
41
- // Shape
42
- "border-t-0",
43
- "rounded-b-lg",
44
-
45
- // Colors
46
- "bg-surface-0 dark:bg-surface-800",
47
- "text-surface-700 dark:text-surface-0/80",
48
- ],
49
- },
50
- rejectbutton: {
51
- root: {
52
- class: [
53
- "relative",
54
-
55
- // Alignments
56
- "items-center inline-flex text-center align-bottom justify-center",
57
-
58
- // Sizes & Spacing
59
- "px-4 py-3 leading-none",
60
-
61
- // Shape
62
- "rounded-md",
63
-
64
- // Color
65
- "text-primary-500 dark:text-primary-400",
66
-
67
- // States
68
- "hover:bg-primary-300/20",
69
- "focus:outline-none focus:outline-offset-0 focus:ring",
70
- "focus:ring-primary-400/50 dark:focus:ring-primary-300/50",
71
- ],
72
- },
73
- },
74
- acceptbutton: {
75
- root: {
76
- class: [
77
- "relative",
78
-
79
- // Alignments
80
- "items-center inline-flex text-center align-bottom justify-center",
81
-
82
- // Sizes & Spacing
83
- "px-4 py-3 leading-none",
84
-
85
- // Shape
86
- "rounded-md",
87
-
88
- // Color
89
- "text-white dark:text-surface-900",
90
- "bg-primary-500 dark:bg-primary-400",
91
- "border border-primary-500 dark:border-primary-400",
92
-
93
- // States
94
- "hover:bg-primary-600 dark:hover:bg-primary-300 hover:border-primary-600 dark:hover:border-primary-300",
95
- "focus:outline-none focus:outline-offset-0 focus:ring",
96
- "focus:ring-primary-400/50 dark:focus:ring-primary-300/50",
97
- ],
98
- },
99
- },
100
- transition: {
101
- enterFromClass: "opacity-0 scale-y-[0.8]",
102
- enterActiveClass:
103
- "transition-[transform,opacity] duration-[120ms] ease-[cubic-bezier(0,0,0.2,1)]",
104
- leaveActiveClass: "transition-opacity duration-100 ease-linear",
105
- leaveToClass: "opacity-0",
106
- },
107
- };
@@ -1,130 +0,0 @@
1
- export default {
2
- root: {
3
- class: [
4
- // Sizing and Shape
5
- "min-w-[12rem]",
6
- "rounded-md",
7
- "shadow-md",
8
-
9
- // Spacing
10
- "py-2",
11
-
12
- // Colors
13
- "bg-surface-0 dark:bg-surface-700",
14
- "text-surface-700 dark:text-white/80",
15
- "dark:border dark:border-surface-700",
16
- ],
17
- },
18
- menu: {
19
- class: [
20
- // Spacings and Shape
21
- "list-none",
22
- "m-0",
23
- "p-0",
24
- "outline-none",
25
- ],
26
- },
27
- menuitem: {
28
- class: "relative",
29
- },
30
- content: ({ context }) => ({
31
- class: [
32
- // Shape
33
- "rounded-none",
34
- // Colors
35
- "text-surface-700 dark:text-white/80",
36
- {
37
- "text-surface-500 dark:text-white/70":
38
- !context.focused && !context.active,
39
- "text-surface-500 dark:text-white/70 bg-surface-200 dark:bg-surface-600/90":
40
- context.focused && !context.active,
41
- "text-primary-700 dark:text-surface-0/80 bg-primary-50 dark:bg-primary-400/30":
42
- context.focused && context.active,
43
- "text-primary-700 dark:text-surface-0/80 bg-primary-50 dark:bg-primary-400/30":
44
- !context.focused && context.active,
45
- },
46
-
47
- // Transitions
48
- "transition-shadow",
49
- "duration-200",
50
-
51
- // States
52
- {
53
- "hover:bg-surface-100 dark:hover:bg-surface-600/80": !context.active,
54
- "hover:bg-primary-400/30 dark:hover:bg-primary-300/30 text-primary-700 dark:text-surface-0/80":
55
- context.active,
56
- },
57
-
58
- // Disabled
59
- { "opacity-60 pointer-events-none cursor-default": context.disabled },
60
- ],
61
- }),
62
- action: {
63
- class: [
64
- "relative",
65
- // Flexbox
66
-
67
- "flex",
68
- "items-center",
69
-
70
- // Spacing
71
- "py-3",
72
- "px-5",
73
-
74
- // Color
75
- "text-surface-700 dark:text-white/80",
76
-
77
- // Misc
78
- "no-underline",
79
- "overflow-hidden",
80
- "cursor-pointer",
81
- "select-none",
82
- ],
83
- },
84
- icon: {
85
- class: [
86
- // Spacing
87
- "mr-2",
88
-
89
- // Color
90
- "text-surface-600 dark:text-white/70",
91
- ],
92
- },
93
- label: {
94
- class: ["leading-none"],
95
- },
96
- submenu: ({ props }) => ({
97
- class: [
98
- // Size
99
- "w-full sm:w-48",
100
-
101
- // Spacing
102
- "py-1",
103
- "m-0",
104
- "list-none",
105
-
106
- // Shape
107
- "shadow-md",
108
- "rounded-md",
109
- "dark:border dark:border-surface-700",
110
-
111
- // Position
112
- "static sm:absolute",
113
- "z-10",
114
- { "sm:absolute sm:left-full sm:top-0": props.level > 1 },
115
-
116
- // Color
117
- "bg-surface-0 dark:bg-surface-700",
118
- ],
119
- }),
120
- submenuicon: {
121
- class: ["ml-auto"],
122
- },
123
- separator: {
124
- class: "border-t border-surface-200 dark:border-surface-600 my-1",
125
- },
126
- transition: {
127
- enterFromClass: "opacity-0",
128
- enterActiveClass: "transition-opacity duration-250",
129
- },
130
- };