@fewangsit/wangsvue-presets 1.0.81 → 1.0.82-alpha.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (192) hide show
  1. package/fixedasset/accordion/index.d.ts +37 -0
  2. package/fixedasset/accordion/index.js +70 -0
  3. package/fixedasset/autocomplete/index.d.ts +188 -0
  4. package/fixedasset/autocomplete/index.js +247 -0
  5. package/fixedasset/avatar/index.d.ts +85 -0
  6. package/fixedasset/avatar/index.js +44 -0
  7. package/fixedasset/avatargroup/index.d.ts +8 -0
  8. package/fixedasset/avatargroup/index.js +9 -0
  9. package/fixedasset/badge/index.d.ts +47 -0
  10. package/fixedasset/badge/index.js +60 -0
  11. package/fixedasset/badgedirective/index.d.ts +50 -0
  12. package/fixedasset/badgedirective/index.js +49 -0
  13. package/fixedasset/badgegroup/index.d.ts +45 -0
  14. package/fixedasset/badgegroup/index.js +29 -0
  15. package/fixedasset/breadcrumb/index.d.ts +25 -0
  16. package/fixedasset/breadcrumb/index.js +31 -0
  17. package/fixedasset/button/index.d.ts +46 -0
  18. package/fixedasset/button/index.js +423 -0
  19. package/fixedasset/buttonbulkaction/index.d.ts +32 -0
  20. package/fixedasset/buttonbulkaction/index.js +35 -0
  21. package/fixedasset/buttondownload/index.d.ts +12 -0
  22. package/fixedasset/buttondownload/index.js +13 -0
  23. package/fixedasset/buttonfilter/index.d.ts +12 -0
  24. package/fixedasset/buttonfilter/index.js +13 -0
  25. package/fixedasset/buttonradio/index.d.ts +58 -0
  26. package/fixedasset/buttonradio/index.js +109 -0
  27. package/fixedasset/buttonsearch/index.d.ts +65 -0
  28. package/fixedasset/buttonsearch/index.js +62 -0
  29. package/fixedasset/calendar/index.d.ts +267 -0
  30. package/fixedasset/calendar/index.js +610 -0
  31. package/fixedasset/card/index.d.ts +31 -0
  32. package/fixedasset/card/index.js +32 -0
  33. package/fixedasset/carousel/index.d.ts +57 -0
  34. package/fixedasset/carousel/index.js +129 -0
  35. package/fixedasset/cascadeselect/index.d.ts +82 -0
  36. package/fixedasset/cascadeselect/index.js +191 -0
  37. package/fixedasset/changelog/index.d.ts +32 -0
  38. package/fixedasset/changelog/index.js +31 -0
  39. package/fixedasset/checkbox/index.d.ts +81 -0
  40. package/fixedasset/checkbox/index.js +107 -0
  41. package/fixedasset/chip/index.d.ts +23 -0
  42. package/fixedasset/chip/index.js +40 -0
  43. package/fixedasset/chips/index.d.ts +38 -0
  44. package/fixedasset/chips/index.js +98 -0
  45. package/fixedasset/colorpicker/index.d.ts +51 -0
  46. package/fixedasset/colorpicker/index.js +118 -0
  47. package/fixedasset/colors.config.json +77 -0
  48. package/fixedasset/confirmpopup/index.d.ts +39 -0
  49. package/fixedasset/confirmpopup/index.js +104 -0
  50. package/fixedasset/contextmenu/index.d.ts +63 -0
  51. package/fixedasset/contextmenu/index.js +113 -0
  52. package/fixedasset/datatable/index.d.ts +286 -0
  53. package/fixedasset/datatable/index.js +253 -0
  54. package/fixedasset/dataview/index.d.ts +15 -0
  55. package/fixedasset/dataview/index.js +36 -0
  56. package/fixedasset/dataviewlayoutoptions/index.d.ts +13 -0
  57. package/fixedasset/dataviewlayoutoptions/index.js +58 -0
  58. package/fixedasset/dialog/index.d.ts +87 -0
  59. package/fixedasset/dialog/index.js +220 -0
  60. package/fixedasset/dialogconfirm/index.d.ts +42 -0
  61. package/fixedasset/dialogconfirm/index.js +45 -0
  62. package/fixedasset/dialogform/index.d.ts +71 -0
  63. package/fixedasset/dialogform/index.js +68 -0
  64. package/fixedasset/divider/index.d.ts +192 -0
  65. package/fixedasset/divider/index.js +64 -0
  66. package/fixedasset/dock/index.d.ts +51 -0
  67. package/fixedasset/dock/index.js +92 -0
  68. package/fixedasset/dropdown/index.d.ts +136 -0
  69. package/fixedasset/dropdown/index.js +207 -0
  70. package/fixedasset/fieldset/index.d.ts +94 -0
  71. package/fixedasset/fieldset/index.js +87 -0
  72. package/fixedasset/fileupload/index.d.ts +29 -0
  73. package/fixedasset/fileupload/index.js +31 -0
  74. package/fixedasset/form/index.d.ts +40 -0
  75. package/fixedasset/form/index.js +44 -0
  76. package/fixedasset/global.d.ts +8 -0
  77. package/fixedasset/global.js +14 -0
  78. package/fixedasset/image/index.d.ts +88 -0
  79. package/fixedasset/image/index.js +136 -0
  80. package/fixedasset/index.d.ts +190 -0
  81. package/fixedasset/index.js +201 -0
  82. package/fixedasset/index.system.js +76 -0
  83. package/fixedasset/inlinemessage/index.d.ts +20 -0
  84. package/fixedasset/inlinemessage/index.js +30 -0
  85. package/fixedasset/inputbadge/index.d.ts +57 -0
  86. package/fixedasset/inputbadge/index.js +57 -0
  87. package/fixedasset/inputcurrency/index.d.ts +27 -0
  88. package/fixedasset/inputcurrency/index.js +22 -0
  89. package/fixedasset/inputgroup/index.d.ts +9 -0
  90. package/fixedasset/inputgroup/index.js +37 -0
  91. package/fixedasset/inputgroupaddon/index.d.ts +17 -0
  92. package/fixedasset/inputgroupaddon/index.js +34 -0
  93. package/fixedasset/inputmask/index.d.ts +11 -0
  94. package/fixedasset/inputmask/index.js +29 -0
  95. package/fixedasset/inputnumber/index.d.ts +46 -0
  96. package/fixedasset/inputnumber/index.js +58 -0
  97. package/fixedasset/inputotp/index.d.ts +137 -0
  98. package/fixedasset/inputotp/index.js +63 -0
  99. package/fixedasset/inputphonenumber/index.d.ts +37 -0
  100. package/fixedasset/inputphonenumber/index.js +34 -0
  101. package/fixedasset/inputswitch/index.d.ts +67 -0
  102. package/fixedasset/inputswitch/index.js +100 -0
  103. package/fixedasset/inputtext/index.d.ts +18 -0
  104. package/fixedasset/inputtext/index.js +28 -0
  105. package/fixedasset/knob/index.d.ts +22 -0
  106. package/fixedasset/knob/index.js +45 -0
  107. package/fixedasset/listbox/index.d.ts +79 -0
  108. package/fixedasset/listbox/index.js +138 -0
  109. package/fixedasset/megamenu/index.d.ts +105 -0
  110. package/fixedasset/megamenu/index.js +202 -0
  111. package/fixedasset/menu/index.d.ts +49 -0
  112. package/fixedasset/menu/index.js +110 -0
  113. package/fixedasset/menubar/index.d.ts +85 -0
  114. package/fixedasset/menubar/index.js +172 -0
  115. package/fixedasset/message/index.d.ts +41 -0
  116. package/fixedasset/message/index.js +85 -0
  117. package/fixedasset/multiselect/index.d.ts +243 -0
  118. package/fixedasset/multiselect/index.js +328 -0
  119. package/fixedasset/orderlist/index.d.ts +99 -0
  120. package/fixedasset/orderlist/index.js +245 -0
  121. package/fixedasset/organizationchart/index.d.ts +71 -0
  122. package/fixedasset/organizationchart/index.js +129 -0
  123. package/fixedasset/overlaypanel/index.d.ts +17 -0
  124. package/fixedasset/overlaypanel/index.js +34 -0
  125. package/fixedasset/paginator/index.d.ts +210 -0
  126. package/fixedasset/paginator/index.js +474 -0
  127. package/fixedasset/panel/index.d.ts +43 -0
  128. package/fixedasset/panel/index.js +85 -0
  129. package/fixedasset/panelmenu/index.d.ts +76 -0
  130. package/fixedasset/panelmenu/index.js +124 -0
  131. package/fixedasset/password/index.d.ts +45 -0
  132. package/fixedasset/password/index.js +96 -0
  133. package/fixedasset/picklist/index.d.ts +245 -0
  134. package/fixedasset/picklist/index.js +613 -0
  135. package/fixedasset/progressbar/index.d.ts +117 -0
  136. package/fixedasset/progressbar/index.js +102 -0
  137. package/fixedasset/rating/index.d.ts +47 -0
  138. package/fixedasset/rating/index.js +88 -0
  139. package/fixedasset/ripple/index.d.ts +8 -0
  140. package/fixedasset/ripple/index.js +8 -0
  141. package/fixedasset/scrollpanel/index.d.ts +19 -0
  142. package/fixedasset/scrollpanel/index.js +62 -0
  143. package/fixedasset/scrolltop/index.d.ts +50 -0
  144. package/fixedasset/scrolltop/index.js +42 -0
  145. package/fixedasset/selectbutton/index.d.ts +35 -0
  146. package/fixedasset/selectbutton/index.js +60 -0
  147. package/fixedasset/sidebar/index.d.ts +66 -0
  148. package/fixedasset/sidebar/index.js +145 -0
  149. package/fixedasset/skeleton/index.d.ts +16 -0
  150. package/fixedasset/skeleton/index.js +22 -0
  151. package/fixedasset/slider/index.d.ts +55 -0
  152. package/fixedasset/slider/index.js +126 -0
  153. package/fixedasset/splitbutton/index.d.ts +6690 -0
  154. package/fixedasset/splitbutton/index.js +786 -0
  155. package/fixedasset/steps/index.d.ts +108 -0
  156. package/fixedasset/steps/index.js +119 -0
  157. package/fixedasset/style.css +5888 -0
  158. package/fixedasset/tabmenu/index.d.ts +57 -0
  159. package/fixedasset/tabmenu/index.js +75 -0
  160. package/fixedasset/tabview/index.d.ts +67 -0
  161. package/fixedasset/tabview/index.js +148 -0
  162. package/fixedasset/tag/index.d.ts +32 -0
  163. package/fixedasset/tag/index.js +37 -0
  164. package/fixedasset/terminal/index.d.ts +27 -0
  165. package/fixedasset/terminal/index.js +55 -0
  166. package/fixedasset/textarea/index.d.ts +12 -0
  167. package/fixedasset/textarea/index.js +51 -0
  168. package/fixedasset/tieredmenu/index.d.ts +56 -0
  169. package/fixedasset/tieredmenu/index.js +108 -0
  170. package/fixedasset/timeline/index.d.ts +53 -0
  171. package/fixedasset/timeline/index.js +83 -0
  172. package/fixedasset/toast/index.d.ts +61 -0
  173. package/fixedasset/toast/index.js +95 -0
  174. package/fixedasset/togglebutton/index.d.ts +42 -0
  175. package/fixedasset/togglebutton/index.js +77 -0
  176. package/fixedasset/toolbar/index.d.ts +19 -0
  177. package/fixedasset/toolbar/index.js +29 -0
  178. package/fixedasset/tooltip/index.d.ts +22 -0
  179. package/fixedasset/tooltip/index.js +42 -0
  180. package/fixedasset/tree/index.d.ts +117 -0
  181. package/fixedasset/tree/index.js +256 -0
  182. package/fixedasset/treeselect/index.d.ts +158 -0
  183. package/fixedasset/treeselect/index.js +338 -0
  184. package/fixedasset/tristatecheckbox/index.d.ts +49 -0
  185. package/fixedasset/tristatecheckbox/index.js +106 -0
  186. package/fixedasset/validatormessage/index.d.ts +8 -0
  187. package/fixedasset/validatormessage/index.js +9 -0
  188. package/fixedasset/workcalendar/index.d.ts +27 -0
  189. package/fixedasset/workcalendar/index.js +36 -0
  190. package/index.d.ts +1 -0
  191. package/index.js +3 -1
  192. package/package.json +1 -1
@@ -0,0 +1,43 @@
1
+ declare namespace _default {
2
+ namespace root {
3
+ let _class: string;
4
+ export { _class as class };
5
+ }
6
+ function header({ props }: {
7
+ props: any;
8
+ }): {
9
+ class: (string | {
10
+ 'px-5 md:px-6 py-5': boolean;
11
+ 'py-3 px-5 md:px-6': any;
12
+ })[];
13
+ };
14
+ namespace title {
15
+ let _class_1: string;
16
+ export { _class_1 as class };
17
+ }
18
+ namespace toggler {
19
+ let _class_2: string[];
20
+ export { _class_2 as class };
21
+ }
22
+ namespace togglerIcon {
23
+ let _class_3: string;
24
+ export { _class_3 as class };
25
+ }
26
+ namespace content {
27
+ let _class_4: string[];
28
+ export { _class_4 as class };
29
+ }
30
+ namespace footer {
31
+ let _class_5: string[];
32
+ export { _class_5 as class };
33
+ }
34
+ namespace transition {
35
+ let enterFromClass: string;
36
+ let enterActiveClass: string;
37
+ let enterToClass: string;
38
+ let leaveFromClass: string;
39
+ let leaveActiveClass: string;
40
+ let leaveToClass: string;
41
+ }
42
+ }
43
+ export default _default;
@@ -0,0 +1,85 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.default = {
4
+ root: {
5
+ class: 'shadow-md rounded-lg',
6
+ },
7
+ header: function (_a) {
8
+ var props = _a.props;
9
+ return ({
10
+ class: [
11
+ // Alignments
12
+ 'flex items-center justify-between',
13
+ // Colors
14
+ 'text-surface-700/80',
15
+ 'bg-surface-0',
16
+ 'border-b border-surface-200',
17
+ //Shape
18
+ 'rounded-tl-lg rounded-tr-lg',
19
+ // Conditional Spacing
20
+ {
21
+ 'px-5 md:px-6 py-5': !props.toggleable,
22
+ 'py-3 px-5 md:px-6': props.toggleable,
23
+ },
24
+ ],
25
+ });
26
+ },
27
+ title: {
28
+ class: 'leading-none font-medium',
29
+ },
30
+ toggler: {
31
+ class: [
32
+ // Alignments
33
+ 'inline-flex items-center justify-center',
34
+ // Sized
35
+ 'w-8 h-8',
36
+ //Shape
37
+ 'border-0 rounded-full',
38
+ //Color
39
+ 'bg-transparent',
40
+ 'text-surface-600',
41
+ // States
42
+ 'hover:text-surface-900',
43
+ 'hover:bg-surface-50',
44
+ 'focus:outline-none focus:outline-offset-0 focus-visible:ring-2 focus-visible:ring-primary-600 focus-visible:ring-inset',
45
+ // Transitions
46
+ 'transition duration-200 ease-in-out',
47
+ // Misc
48
+ 'overflow-hidden relative no-underline',
49
+ ],
50
+ },
51
+ togglerIcon: {
52
+ class: 'inline-block',
53
+ },
54
+ content: {
55
+ class: [
56
+ // Spacing
57
+ 'py-6 px-5 md:px-6',
58
+ // Shape
59
+ 'last:rounded-br-lg last:rounded-bl-lg',
60
+ //Color
61
+ 'bg-surface-0',
62
+ 'text-surface-700/80',
63
+ ],
64
+ },
65
+ footer: {
66
+ class: [
67
+ // Spacing
68
+ 'py-6 px-5 md:px-6',
69
+ //Shape
70
+ 'rounded-bl-lg rounded-br-lg',
71
+ // Color
72
+ 'bg-surface-0',
73
+ 'text-surface-600',
74
+ 'border-t border-surface-200',
75
+ ],
76
+ },
77
+ transition: {
78
+ enterFromClass: 'max-h-0',
79
+ enterActiveClass: 'overflow-hidden transition-[max-height] duration-1000 ease-[cubic-bezier(0.42,0,0.58,1)]',
80
+ enterToClass: 'max-h-[1000px]',
81
+ leaveFromClass: 'max-h-[1000px]',
82
+ leaveActiveClass: 'overflow-hidden transition-[max-height] duration-[450ms] ease-[cubic-bezier(0,1,0,1)]',
83
+ leaveToClass: 'max-h-0',
84
+ },
85
+ };
@@ -0,0 +1,76 @@
1
+ declare namespace _default {
2
+ namespace panel {
3
+ let _class: string;
4
+ export { _class as class };
5
+ }
6
+ namespace header {
7
+ let _class_1: string[];
8
+ export { _class_1 as class };
9
+ }
10
+ function headercontent({ context, instance }: {
11
+ context: any;
12
+ instance: any;
13
+ }): {
14
+ class: (string | {
15
+ 'rounded-br-md rounded-bl-md': boolean;
16
+ 'rounded-br-0 rounded-bl-0': boolean;
17
+ 'text-surface-900 ark:text-surface-0'?: undefined;
18
+ } | {
19
+ 'text-surface-900 ark:text-surface-0': any;
20
+ 'rounded-br-md rounded-bl-md'?: undefined;
21
+ 'rounded-br-0 rounded-bl-0'?: undefined;
22
+ })[];
23
+ };
24
+ namespace headeraction {
25
+ let _class_2: string[];
26
+ export { _class_2 as class };
27
+ }
28
+ namespace headerlabel {
29
+ let _class_3: string;
30
+ export { _class_3 as class };
31
+ }
32
+ namespace headerIcon {
33
+ let _class_4: string;
34
+ export { _class_4 as class };
35
+ }
36
+ namespace submenuicon {
37
+ let _class_5: string;
38
+ export { _class_5 as class };
39
+ }
40
+ namespace menucontent {
41
+ let _class_6: string[];
42
+ export { _class_6 as class };
43
+ }
44
+ namespace menu {
45
+ let _class_7: string[];
46
+ export { _class_7 as class };
47
+ }
48
+ namespace content {
49
+ let _class_8: string[];
50
+ export { _class_8 as class };
51
+ }
52
+ function action({ context }: {
53
+ context: any;
54
+ }): {
55
+ class: (string | {
56
+ 'bg-surface-200 text-surface-700/80': any;
57
+ })[];
58
+ };
59
+ namespace icon {
60
+ let _class_9: string;
61
+ export { _class_9 as class };
62
+ }
63
+ namespace submenu {
64
+ let _class_10: string;
65
+ export { _class_10 as class };
66
+ }
67
+ namespace transition {
68
+ let enterFromClass: string;
69
+ let enterActiveClass: string;
70
+ let enterToClass: string;
71
+ let leaveFromClass: string;
72
+ let leaveActiveClass: string;
73
+ let leaveToClass: string;
74
+ }
75
+ }
76
+ export default _default;
@@ -0,0 +1,124 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.default = {
4
+ panel: {
5
+ class: 'mb-1',
6
+ },
7
+ header: {
8
+ class: [
9
+ 'rounded-md',
10
+ 'outline-none',
11
+ 'focus-visible:outline-none focus-visible:outline-offset-0 focus-visible:ring focus-visible:ring-primary-400/50',
12
+ ],
13
+ },
14
+ headercontent: function (_a) {
15
+ var _b, _c;
16
+ var context = _a.context, instance = _a.instance;
17
+ return ({
18
+ class: [
19
+ // Shape
20
+ 'rounded-t-md',
21
+ {
22
+ 'rounded-br-md rounded-bl-md': !context.active || ((_b = instance.activeItem) === null || _b === void 0 ? void 0 : _b.items) === undefined,
23
+ 'rounded-br-0 rounded-bl-0': context.active && ((_c = instance.activeItem) === null || _c === void 0 ? void 0 : _c.items) !== undefined,
24
+ },
25
+ // Color
26
+ 'border border-surface-200',
27
+ 'bg-surface-0',
28
+ 'text-surface-600/80',
29
+ { 'text-surface-900 ark:text-surface-0': context.active },
30
+ // Transition
31
+ 'transition duration-200 ease-in-out',
32
+ 'transition-shadow duration-200',
33
+ ],
34
+ });
35
+ },
36
+ headeraction: {
37
+ class: [
38
+ 'relative',
39
+ // Font
40
+ 'font-semibold',
41
+ 'text-sm',
42
+ 'leading-none',
43
+ // Flex & Alignments
44
+ 'flex items-center',
45
+ // Spacing
46
+ 'px-3 py-2',
47
+ // Misc
48
+ 'select-none cursor-pointer no-underline',
49
+ ],
50
+ },
51
+ headerlabel: {
52
+ class: 'leading-none',
53
+ },
54
+ headerIcon: {
55
+ class: 'mr-2 text-sm',
56
+ },
57
+ submenuicon: {
58
+ class: 'ml-auto order-last text-sm',
59
+ },
60
+ menucontent: {
61
+ class: [
62
+ // Spacing
63
+ 'py-1',
64
+ // Shape
65
+ 'border border-t-0',
66
+ 'rounded-t-none rounded-br-md rounded-bl-md',
67
+ // Color
68
+ 'text-surface-700/80',
69
+ 'bg-surface-0',
70
+ 'border-surface-200',
71
+ ],
72
+ },
73
+ menu: {
74
+ class: ['outline-none', 'm-0 p-0 list-none'],
75
+ },
76
+ content: {
77
+ class: [
78
+ // Shape
79
+ 'border-none rounded-none',
80
+ // Color
81
+ 'text-surface-700/80',
82
+ // Transition
83
+ 'transition-shadow duration-200',
84
+ ],
85
+ },
86
+ action: function (_a) {
87
+ var context = _a.context;
88
+ return ({
89
+ class: [
90
+ 'relative',
91
+ // Font
92
+ 'text-sm leading-none',
93
+ // Flex & Alignments
94
+ 'flex items-center',
95
+ // Spacing
96
+ 'py-2 px-3',
97
+ // Color
98
+ 'text-surface-700/80',
99
+ // States
100
+ 'hover:bg-surface-100/80 hover:text-surface-700',
101
+ {
102
+ 'bg-surface-200 text-surface-700/80': context.focused,
103
+ },
104
+ // Misc
105
+ 'cursor-pointer no-underline',
106
+ 'select-none overflow-hidden',
107
+ ],
108
+ });
109
+ },
110
+ icon: {
111
+ class: 'mr-2',
112
+ },
113
+ submenu: {
114
+ class: 'p-0 pl-4 m-0 list-none',
115
+ },
116
+ transition: {
117
+ enterFromClass: 'max-h-0',
118
+ enterActiveClass: 'overflow-hidden transition-[max-height] duration-1000 ease-[cubic-bezier(0.42,0,0.58,1)]',
119
+ enterToClass: 'max-h-[1000px]',
120
+ leaveFromClass: 'max-h-[1000px]',
121
+ leaveActiveClass: 'overflow-hidden transition-[max-height] duration-[450ms] ease-[cubic-bezier(0,1,0,1)]',
122
+ leaveToClass: 'max-h-0',
123
+ },
124
+ };
@@ -0,0 +1,45 @@
1
+ declare namespace _default {
2
+ function root({ props }: {
3
+ props: any;
4
+ }): {
5
+ class: (string | {
6
+ 'opacity-60 select-none pointer-events-none cursor-default': any;
7
+ })[];
8
+ };
9
+ namespace input {
10
+ let _class: string[];
11
+ export { _class as class };
12
+ }
13
+ namespace panel {
14
+ let _class_1: string[];
15
+ export { _class_1 as class };
16
+ }
17
+ namespace meter {
18
+ let _class_2: string[];
19
+ export { _class_2 as class };
20
+ }
21
+ function meterlabel({ instance }: {
22
+ instance: any;
23
+ }): {
24
+ class: (string | {
25
+ 'bg-red-500/50': boolean;
26
+ 'bg-orange-500/50': boolean;
27
+ 'bg-green-500/50': boolean;
28
+ })[];
29
+ };
30
+ namespace showicon {
31
+ let _class_3: string[];
32
+ export { _class_3 as class };
33
+ }
34
+ namespace hideicon {
35
+ let _class_4: string[];
36
+ export { _class_4 as class };
37
+ }
38
+ namespace transition {
39
+ let enterFromClass: string;
40
+ let enterActiveClass: string;
41
+ let leaveActiveClass: string;
42
+ let leaveToClass: string;
43
+ }
44
+ }
45
+ export default _default;
@@ -0,0 +1,96 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.default = {
4
+ root: function (_a) {
5
+ var props = _a.props;
6
+ return ({
7
+ class: [
8
+ 'w-full',
9
+ 'inline-flex relative',
10
+ // 'border-[0.5px] border-general-200 rounded',
11
+ 'text-general-800',
12
+ {
13
+ 'opacity-60 select-none pointer-events-none cursor-default': props.disabled,
14
+ },
15
+ ],
16
+ });
17
+ },
18
+ input: {
19
+ class: [
20
+ '!bg-primary-500',
21
+ 'placeholder:!font-normal',
22
+ // 'bg-white text-general-800 placeholder:text-general-200 placeholder:font-light',
23
+ // 'w-full h-full !max-h-[43px]',
24
+ // 'py-1 px-3 items-center space-x-1',
25
+ // 'flex flex-shrink-0 self-stretch',
26
+ // 'text-xs leading-[133.333%] tracking-[0.24px]',
27
+ // 'rounded shadow-sm',
28
+ // 'appearance-none outline-none focus:ring-primary-500',
29
+ ],
30
+ },
31
+ panel: {
32
+ class: [
33
+ // Spacing
34
+ 'p-3',
35
+ // Shape
36
+ 'border-0',
37
+ 'shadow-md rounded-md',
38
+ // Colors
39
+ 'bg-white',
40
+ 'text-general-800',
41
+ '',
42
+ ],
43
+ },
44
+ meter: {
45
+ class: [
46
+ // Position and Overflow
47
+ 'overflow-hidden',
48
+ 'relative',
49
+ // Shape and Size
50
+ 'border-0',
51
+ 'h-2',
52
+ 'rounded-md',
53
+ // Spacing
54
+ 'mb-2',
55
+ // Colors
56
+ 'bg-surface-100',
57
+ ],
58
+ },
59
+ meterlabel: function (_a) {
60
+ var _b, _c, _d;
61
+ var instance = _a.instance;
62
+ return ({
63
+ class: [
64
+ // Size
65
+ 'h-full',
66
+ // Colors
67
+ {
68
+ 'bg-red-500/50': ((_b = instance === null || instance === void 0 ? void 0 : instance.meter) === null || _b === void 0 ? void 0 : _b.strength) == 'weak',
69
+ 'bg-orange-500/50': ((_c = instance === null || instance === void 0 ? void 0 : instance.meter) === null || _c === void 0 ? void 0 : _c.strength) == 'medium',
70
+ 'bg-green-500/50': ((_d = instance === null || instance === void 0 ? void 0 : instance.meter) === null || _d === void 0 ? void 0 : _d.strength) == 'strong',
71
+ },
72
+ // Transitions
73
+ 'transition-all duration-1000 ease-in-out',
74
+ ],
75
+ });
76
+ },
77
+ showicon: {
78
+ class: [
79
+ 'absolute top-[54%] right-3 -mt-2',
80
+ 'text-general-200',
81
+ 'focus-visible:text-general-500 hover:text-general-500',
82
+ ],
83
+ },
84
+ hideicon: {
85
+ class: [
86
+ 'absolute top-[54%] right-3 -mt-2',
87
+ 'text-general-200',
88
+ ],
89
+ },
90
+ transition: {
91
+ enterFromClass: 'opacity-0 scale-y-[0.8]',
92
+ enterActiveClass: 'transition-[transform,opacity] duration-[120ms] ease-[cubic-bezier(0,0,0.2,1)]',
93
+ leaveActiveClass: 'transition-opacity duration-100 ease-linear',
94
+ leaveToClass: 'opacity-0',
95
+ },
96
+ };