@quoreadmin/ui 1.10.0 → 1.10.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 (286) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index105.js +2 -2
  3. package/dist/index111.js +1 -1
  4. package/dist/index115.js +2 -2
  5. package/dist/index119.js +3 -3
  6. package/dist/index131.js +91 -83
  7. package/dist/{index135.js → index136.js} +1 -1
  8. package/dist/{index137.js → index138.js} +2 -2
  9. package/dist/{index146.js → index147.js} +3 -3
  10. package/dist/{index148.js → index149.js} +1 -1
  11. package/dist/{index150.js → index151.js} +6 -6
  12. package/dist/{index161.js → index162.js} +1 -1
  13. package/dist/{index164.js → index165.js} +1 -1
  14. package/dist/{index168.js → index169.js} +9 -9
  15. package/dist/index172.js +111 -492
  16. package/dist/index173.js +471 -5498
  17. package/dist/index174.js +5511 -80
  18. package/dist/index175.js +86 -856
  19. package/dist/index176.js +844 -21
  20. package/dist/index177.js +23 -265
  21. package/dist/index178.js +256 -126
  22. package/dist/index179.js +146 -1195
  23. package/dist/index180.js +1139 -712
  24. package/dist/index181.js +704 -1240
  25. package/dist/index182.js +1280 -248
  26. package/dist/index183.js +266 -96
  27. package/dist/index184.js +106 -2
  28. package/dist/index185.js +2 -1376
  29. package/dist/index186.js +1378 -0
  30. package/dist/index188.js +12 -12
  31. package/dist/index189.js +10 -10
  32. package/dist/index190.js +12 -12
  33. package/dist/index191.js +14 -21
  34. package/dist/index192.js +23 -757
  35. package/dist/index193.js +759 -1144
  36. package/dist/index194.js +1144 -1234
  37. package/dist/index195.js +1205 -11248
  38. package/dist/index196.js +11277 -36
  39. package/dist/index197.js +36 -44
  40. package/dist/index198.js +42 -1226
  41. package/dist/index199.js +1230 -0
  42. package/dist/index201.js +5830 -99
  43. package/dist/index202.js +188 -16
  44. package/dist/index203.js +25 -8
  45. package/dist/index204.js +16 -76
  46. package/dist/index205.js +74 -249
  47. package/dist/index206.js +229 -13660
  48. package/dist/index207.js +13684 -27
  49. package/dist/index208.js +26 -62
  50. package/dist/index209.js +40 -215
  51. package/dist/index210.js +206 -279
  52. package/dist/index211.js +281 -265
  53. package/dist/index212.js +293 -31
  54. package/dist/index213.js +81 -109
  55. package/dist/index214.js +404 -33
  56. package/dist/index215.js +22 -26
  57. package/dist/index216.js +122 -31
  58. package/dist/index217.js +35 -48
  59. package/dist/index218.js +80 -43
  60. package/dist/index219.js +19 -3
  61. package/dist/index220.js +20 -9
  62. package/dist/index221.js +19 -18
  63. package/dist/index222.js +20 -10
  64. package/dist/index223.js +20 -10
  65. package/dist/index224.js +3633 -36
  66. package/dist/index225.js +55 -21
  67. package/dist/index226.js +73 -84
  68. package/dist/index227.js +50 -405
  69. package/dist/index228.js +214 -21
  70. package/dist/index229.js +10 -161
  71. package/dist/index230.js +57 -20
  72. package/dist/index231.js +61 -20
  73. package/dist/index232.js +54 -22
  74. package/dist/index233.js +66 -190
  75. package/dist/index234.js +714 -58
  76. package/dist/index235.js +39 -31
  77. package/dist/index236.js +60 -36
  78. package/dist/index237.js +11 -161
  79. package/dist/index238.js +681 -204
  80. package/dist/index239.js +819 -36
  81. package/dist/index240.js +33 -10
  82. package/dist/index241.js +109 -120
  83. package/dist/index242.js +34 -36
  84. package/dist/index243.js +26 -80
  85. package/dist/index244.js +35 -19
  86. package/dist/index245.js +50 -19
  87. package/dist/index246.js +42 -19
  88. package/dist/index247.js +3 -19
  89. package/dist/index248.js +9 -22
  90. package/dist/index249.js +18 -21
  91. package/dist/index250.js +10 -20
  92. package/dist/index251.js +9 -835
  93. package/dist/index252.js +34 -697
  94. package/dist/index253.js +21 -176
  95. package/dist/index254.js +160 -21
  96. package/dist/index255.js +228 -20
  97. package/dist/index256.js +36 -19
  98. package/dist/index257.js +10 -3
  99. package/dist/index258.js +21 -186
  100. package/dist/index259.js +21 -132
  101. package/dist/index260.js +20 -1223
  102. package/dist/index261.js +836 -20
  103. package/dist/index262.js +701 -21
  104. package/dist/index263.js +176 -22
  105. package/dist/index264.js +15 -22
  106. package/dist/index265.js +7 -7
  107. package/dist/index266.js +13 -13
  108. package/dist/index267.js +2 -1
  109. package/dist/index268.js +187 -2
  110. package/dist/index269.js +120 -3623
  111. package/dist/index270.js +155 -49
  112. package/dist/index271.js +1214 -68
  113. package/dist/index272.js +20 -52
  114. package/dist/index273.js +22 -215
  115. package/dist/index274.js +20 -10
  116. package/dist/index275.js +22 -57
  117. package/dist/index276.js +29 -61
  118. package/dist/index277.js +20 -54
  119. package/dist/index278.js +20 -75
  120. package/dist/index279.js +2 -726
  121. package/dist/index280.js +2 -42
  122. package/dist/index281.js +22 -64
  123. package/dist/index282.js +199 -11
  124. package/dist/index283.js +63 -698
  125. package/dist/index284.js +33 -819
  126. package/dist/index285.js +34 -247
  127. package/dist/index286.js +253 -8
  128. package/dist/index287.js +8 -138
  129. package/dist/index288.js +123 -68
  130. package/dist/index289.js +83 -3
  131. package/dist/index290.js +2 -27
  132. package/dist/index291.js +71 -46
  133. package/dist/index292.js +1528 -73
  134. package/dist/index293.js +386 -26
  135. package/dist/index294.js +2731 -22
  136. package/dist/index295.js +85 -21
  137. package/dist/index296.js +3792 -16
  138. package/dist/index297.js +60 -17
  139. package/dist/index298.js +15 -23
  140. package/dist/index299.js +84 -2
  141. package/dist/index300.js +190 -250
  142. package/dist/index301.js +244 -4
  143. package/dist/index302.js +3 -140
  144. package/dist/index303.js +24 -70
  145. package/dist/index304.js +50 -83
  146. package/dist/index305.js +25 -28
  147. package/dist/index306.js +21 -15
  148. package/dist/index307.js +21 -74
  149. package/dist/index308.js +16 -4
  150. package/dist/index309.js +17 -2
  151. package/dist/index310.js +22 -82
  152. package/dist/index311.js +77 -51
  153. package/dist/index312.js +21 -5
  154. package/dist/index313.js +934 -4
  155. package/dist/index314.js +21 -178
  156. package/dist/index315.js +19 -62
  157. package/dist/index316.js +20 -75
  158. package/dist/index317.js +69 -1534
  159. package/dist/index318.js +19 -386
  160. package/dist/index319.js +19 -2731
  161. package/dist/index320.js +21 -85
  162. package/dist/index321.js +22 -3792
  163. package/dist/index322.js +63 -60
  164. package/dist/index323.js +256 -73
  165. package/dist/index324.js +5 -21
  166. package/dist/index325.js +130 -925
  167. package/dist/index326.js +72 -21
  168. package/dist/index327.js +85 -18
  169. package/dist/index328.js +28 -19
  170. package/dist/index329.js +15 -68
  171. package/dist/index330.js +75 -19
  172. package/dist/index331.js +4 -19
  173. package/dist/index332.js +2 -22
  174. package/dist/index333.js +82 -21
  175. package/dist/index334.js +53 -63
  176. package/dist/index335.js +6 -15
  177. package/dist/index336.js +4 -83
  178. package/dist/index337.js +165 -188
  179. package/dist/index338.js +56 -239
  180. package/dist/index339.js +75 -9
  181. package/dist/index340.js +36 -12
  182. package/dist/index341.js +8 -54
  183. package/dist/index342.js +12 -11
  184. package/dist/index343.js +52 -11
  185. package/dist/index344.js +9 -55
  186. package/dist/index345.js +13 -51
  187. package/dist/index346.js +51 -24
  188. package/dist/index347.js +52 -2
  189. package/dist/index348.js +31 -5
  190. package/dist/index349.js +2 -2
  191. package/dist/index350.js +4 -22
  192. package/dist/index351.js +2 -41
  193. package/dist/index352.js +23 -2
  194. package/dist/index353.js +40 -10
  195. package/dist/index354.js +2 -20
  196. package/dist/index355.js +10 -9
  197. package/dist/index356.js +20 -10
  198. package/dist/index357.js +9 -16
  199. package/dist/index358.js +10 -2
  200. package/dist/index359.js +16 -8
  201. package/dist/index360.js +2 -10
  202. package/dist/index361.js +8 -13
  203. package/dist/index362.js +9 -36
  204. package/dist/index363.js +14 -19
  205. package/dist/index364.js +19 -56
  206. package/dist/index365.js +19 -28
  207. package/dist/index366.js +62 -5
  208. package/dist/index367.js +36 -51
  209. package/dist/index368.js +19 -7
  210. package/dist/index369.js +56 -11
  211. package/dist/index370.js +29 -7
  212. package/dist/index371.js +6 -27
  213. package/dist/index372.js +52 -2
  214. package/dist/index373.js +6 -69
  215. package/dist/index374.js +11 -166
  216. package/dist/index375.js +7 -20
  217. package/dist/index376.js +28 -20
  218. package/dist/index377.js +2 -64
  219. package/dist/index378.js +70 -37
  220. package/dist/index379.js +166 -12
  221. package/dist/index38.js +3 -2
  222. package/dist/index380.js +101 -7
  223. package/dist/index381.js +90 -30
  224. package/dist/index382.js +98 -11
  225. package/dist/index383.js +17 -4
  226. package/dist/index384.js +30 -3
  227. package/dist/index385.js +10 -11
  228. package/dist/index386.js +3 -4
  229. package/dist/index387.js +4 -33
  230. package/dist/index388.js +12 -30
  231. package/dist/index389.js +7 -28
  232. package/dist/index39.js +1 -1
  233. package/dist/index390.js +12 -61
  234. package/dist/index391.js +4 -100
  235. package/dist/index392.js +33 -17
  236. package/dist/index393.js +31 -91
  237. package/dist/index394.js +27 -97
  238. package/dist/index395.js +61 -3
  239. package/dist/index396.js +3 -2
  240. package/dist/index397.js +2 -2
  241. package/dist/index398.js +2 -17
  242. package/dist/index399.js +15 -11
  243. package/dist/index40.js +1 -1
  244. package/dist/index400.js +13 -6
  245. package/dist/index401.js +6 -32
  246. package/dist/index402.js +34 -0
  247. package/dist/index41.js +1 -1
  248. package/dist/index42.js +1 -1
  249. package/dist/index43.js +1 -1
  250. package/dist/index44.js +1 -1
  251. package/dist/index45.js +1 -1
  252. package/dist/index46.js +1 -1
  253. package/dist/index47.js +1 -1
  254. package/dist/index48.js +1 -1
  255. package/dist/index49.js +2 -2
  256. package/dist/index50.js +1 -1
  257. package/dist/index51.js +2 -2
  258. package/dist/index52.js +1 -1
  259. package/dist/index53.js +1 -1
  260. package/dist/index54.js +1 -1
  261. package/dist/index55.js +1 -1
  262. package/dist/index57.js +2 -2
  263. package/dist/index59.js +1 -1
  264. package/dist/index61.js +5 -5
  265. package/dist/index62.js +1 -1
  266. package/dist/index74.js +2 -2
  267. package/dist/index78.js +1 -1
  268. package/dist/index83.js +1 -1
  269. package/dist/index88.js +1 -1
  270. package/dist/index90.js +3 -3
  271. package/dist/index92.js +2 -2
  272. package/dist/index98.js +2 -2
  273. package/dist/src/components/page-layout/page-layout.vue.d.ts +3 -0
  274. package/package.json +1 -1
  275. package/dist/index171.js +0 -116
  276. package/dist/index187.js +0 -20
  277. package/dist/index200.js +0 -5940
  278. /package/dist/{index133.js → index134.js} +0 -0
  279. /package/dist/{index140.js → index141.js} +0 -0
  280. /package/dist/{index142.js → index143.js} +0 -0
  281. /package/dist/{index144.js → index145.js} +0 -0
  282. /package/dist/{index152.js → index153.js} +0 -0
  283. /package/dist/{index154.js → index155.js} +0 -0
  284. /package/dist/{index156.js → index157.js} +0 -0
  285. /package/dist/{index159.js → index160.js} +0 -0
  286. /package/dist/{index166.js → index167.js} +0 -0
package/dist/index175.js CHANGED
@@ -1,863 +1,93 @@
1
- const o = {
2
- root: ({ props: e }) => ({
3
- class: [
4
- "relative",
5
- // Flex & Alignment
6
- { "flex flex-col": e.scrollable && e.scrollHeight === "flex" },
7
- // Size
8
- { "h-full": e.scrollable && e.scrollHeight === "flex" }
9
- ]
10
- }),
11
- loadingoverlay: {
12
- class: [
13
- // Position
14
- "absolute",
15
- "top-0 left-0",
16
- "z-20",
17
- // Flex & Alignment
18
- "flex items-center justify-center",
19
- // Size
20
- "w-full h-full",
21
- // Color
22
- "bg-surface-100/0 dark:bg-surface-800/0",
23
- // Transition
24
- "transition duration-200"
25
- ]
26
- },
27
- loadingicon: {
28
- class: "w-8 h-8 animate-spin hidden"
29
- },
30
- wrapper: ({ props: e }) => ({
31
- class: [
32
- { relative: e.scrollable, "flex flex-col grow": e.scrollable && e.scrollHeight === "flex" },
33
- // Size
34
- { "h-full": e.scrollable && e.scrollHeight === "flex" }
35
- ]
36
- }),
37
- header: ({ props: e }) => ({
38
- class: [
39
- "font-bold",
40
- // Shape
41
- e.showGridlines ? "border-x border-t border-b-0" : "border-y-0 border-x-0",
42
- // Spacing
43
- "p-4",
44
- // Color
45
- "bg-surface-50 dark:bg-surface-800",
46
- "border-surface-200 dark:border-surface-700",
47
- "text-surface-700 dark:text-white/80"
48
- ]
49
- }),
50
- table: {
51
- class: "w-full border-spacing-0 border-separate"
52
- },
53
- thead: ({ context: e }) => ({
54
- class: [
55
- {
56
- "bg-surface-50 z-40 sticky": e.scrollable
57
- }
58
- ]
59
- }),
60
- tbody: ({ instance: e, context: r }) => ({
61
- class: [
62
- {
63
- "sticky z-20": e.frozenRow && r.scrollable
64
- }
65
- ]
66
- }),
67
- tfoot: ({ context: e }) => ({
68
- class: [
69
- {
70
- "bg-surface-50 bottom-0 z-0": e.scrollable
71
- }
72
- ]
73
- }),
74
- footer: {
75
- class: [
76
- "font-bold",
77
- // Shape
78
- "border-t-0 border-b border-x-0",
79
- // Spacing
80
- "p-4",
81
- // Color
82
- "bg-surface-50 dark:bg-surface-800",
83
- "border-surface-200 dark:border-surface-700",
84
- "text-surface-700 dark:text-white/80"
85
- ]
86
- },
87
- column: {
88
- headercell: ({ context: e, props: r }) => ({
89
- class: [
90
- "font-bold",
91
- // Position
92
- { "sticky z-20 border-b": r.frozen || r.frozen === "" },
93
- { relative: e.resizable },
94
- // Alignment
95
- "text-left",
96
- // Shape
97
- { "first:border-l border-y border-r": e?.showGridlines },
98
- "border-0 border-b border-solid",
99
- // Spacing
100
- e?.size === "small" ? "p-2" : e?.size === "large" ? "p-5" : "p-4",
101
- // Color
102
- (r.sortable === "" || r.sortable) && e.sorted ? "bg-primary-50 text-primary-700" : "bg-surface-50 text-surface-700",
103
- (r.sortable === "" || r.sortable) && e.sorted ? "dark:text-white dark:bg-primary-400/30" : "dark:text-white/80 dark:bg-surface-800",
104
- "border-surface-200 dark:border-surface-700 ",
105
- // States
106
- { "hover:bg-surface-100 dark:hover:bg-surface-400/30": (r.sortable === "" || r.sortable) && !e?.sorted },
107
- "focus-visible:outline-none focus-visible:outline-offset-0 focus-visible:ring focus-visible:ring-inset focus-visible:ring-primary-400/50 dark:focus-visible:ring-primary-300/50",
108
- // Transition
109
- { "transition duration-200": r.sortable === "" || r.sortable },
110
- // Misc
111
- { "cursor-pointer": r.sortable === "" || r.sortable },
112
- {
113
- "overflow-hidden space-nowrap border-y bg-clip-padding": e.resizable
114
- // Resizable
1
+ const e = {
2
+ css: `
3
+ *[data-pd-ripple="true"]{
4
+ overflow: hidden;
5
+ position: relative;
6
+ }
7
+ span[data-p-ink-active="true"]{
8
+ animation: ripple 0.4s linear;
9
+ }
10
+ @keyframes ripple {
11
+ 100% {
12
+ opacity: 0;
13
+ transform: scale(2.5);
14
+ }
15
+ }
16
+
17
+ .progress-spinner-circle {
18
+ stroke-dasharray: 89, 200;
19
+ stroke-dashoffset: 0;
20
+ animation: p-progress-spinner-dash 1.5s ease-in-out infinite, p-progress-spinner-color 6s ease-in-out infinite;
21
+ stroke-linecap: round;
22
+ }
23
+
24
+ @keyframes p-progress-spinner-dash{
25
+ 0% {
26
+ stroke-dasharray: 1, 200;
27
+ stroke-dashoffset: 0;
28
+ }
29
+
30
+ 50% {
31
+ stroke-dasharray: 89, 200;
32
+ stroke-dashoffset: -35px;
33
+ }
34
+ 100% {
35
+ stroke-dasharray: 89, 200;
36
+ stroke-dashoffset: -124px;
37
+ }
38
+ }
39
+ @keyframes p-progress-spinner-color {
40
+ 100%, 0% {
41
+ stroke: #ff5757;
42
+ }
43
+ 40% {
44
+ stroke: #696cff;
115
45
  }
116
- ]
117
- }),
118
- headercontent: {
119
- class: "flex items-center"
120
- },
121
- sort: ({ context: e }) => ({
122
- class: [e.sorted ? "text-primary-500" : "text-surface-700", e.sorted ? "dark:text-primary-400" : "dark:text-white/80"]
123
- }),
124
- bodycell: ({ props: e, context: r, state: t, parent: a }) => ({
125
- class: [
126
- //Position
127
- { "sticky box-border border-b": a.instance.frozenRow },
128
- { "sticky box-border border-b": e.frozen || e.frozen === "" },
129
- // Alignment
130
- "text-left",
131
- // Shape
132
- "border-0 border-b border-solid",
133
- { "first:border-l border-r border-b": r?.showGridlines },
134
- { "bg-surface-0 dark:bg-surface-800": a.instance.frozenRow || e.frozen || e.frozen === "" },
135
- // Spacing
136
- { "p-2": r?.size === "small" && !t.d_editing },
137
- { "p-5": r?.size === "large" && !t.d_editing },
138
- { "p-4": r?.size !== "large" && r?.size !== "small" && !t.d_editing },
139
- { "py-[0.6rem] px-2": t.d_editing },
140
- // Color
141
- "border-surface-200 dark:border-surface-700"
142
- ]
143
- }),
144
- footercell: ({ context: e }) => ({
145
- class: [
146
- // Font
147
- "font-bold",
148
- // Alignment
149
- "text-left",
150
- // Shape
151
- "border-0 border-b border-solid",
152
- { "border-x border-y": e?.showGridlines },
153
- // Spacing
154
- e?.size === "small" ? "p-2" : e?.size === "large" ? "p-5" : "p-4",
155
- // Color
156
- "border-surface-200 dark:border-surface-700",
157
- "text-surface-700 dark:text-white/80",
158
- "bg-surface-50 dark:bg-surface-800"
159
- ]
160
- }),
161
- sorticon: ({ context: e }) => ({
162
- class: ["ml-2", e.sorted ? "text-primary-700 dark:text-white/80" : "text-surface-700 dark:text-white/70"]
163
- }),
164
- sortbadge: {
165
- class: [
166
- // Flex & Alignment
167
- "flex items-center justify-center align-middle",
168
- // Shape
169
- "rounded-full",
170
- // Size
171
- "w-[1.143rem] leading-[1.143rem]",
172
- // Spacing
173
- "ml-2",
174
- // Color
175
- "text-primary-700 dark:text-white",
176
- "bg-primary-50 dark:bg-primary-400/30"
177
- ]
178
- },
179
- columnfilter: {
180
- class: "inline-flex items-center ml-auto"
181
- },
182
- filteroverlay: {
183
- class: [
184
- // Position
185
- "absolute top-0 left-0",
186
- // Shape
187
- "border-0 dark:border",
188
- "rounded-md",
189
- "shadow-md",
190
- // Size
191
- "min-w-[12.5rem]",
192
- // Color
193
- "bg-surface-0 dark:bg-surface-800",
194
- "text-surface-800 dark:text-white/80",
195
- "dark:border-surface-700"
196
- ]
197
- },
198
- filtermatchmodedropdown: {
199
- root: ({ state: e }) => ({
200
- class: [
201
- // Display and Position
202
- "flex",
203
- "relative",
204
- // Spacing
205
- "my-2",
206
- // Shape
207
- "w-full",
208
- "rounded-md",
209
- // Color and Background
210
- "bg-surface-0 dark:bg-surface-900",
211
- "border border-surface-300 dark:border-surface-700",
212
- "text-surface-800 dark:text-white/80",
213
- "placeholder:text-surface-400 dark:placeholder:text-surface-500",
214
- // Transitions
215
- "transition-all",
216
- "duration-200",
217
- // States
218
- "hover:border-primary-500 dark:hover:border-primary-300",
219
- { "outline-none outline-offset-0 ring ring-primary-400/50 dark:ring-primary-300/50": e.focused },
220
- // Misc
221
- "cursor-pointer",
222
- "select-none"
223
- ]
224
- })
225
- },
226
- filterrowitems: {
227
- class: "m-0 p-0 py-3 list-none"
228
- },
229
- filterrowitem: ({ context: e }) => ({
230
- class: [
231
- // Font
232
- "font-normal",
233
- "leading-none",
234
- // Position
235
- "relative",
236
- // Shape
237
- "border-0",
238
- "rounded-none",
239
- // Spacing
240
- "m-0",
241
- "py-3 px-5",
242
- // Color
243
- { "text-surface-700 dark:text-white/80": !e?.highlighted },
244
- { "bg-surface-0 dark:bg-surface-800 text-surface-700 dark:text-white/80": !e?.highlighted },
245
- { "bg-primary-100 dark:bg-primary-400/40 text-primary-700 dark:text-white/80": e?.highlighted },
246
- { "bg-primary-50 dark:bg-primary-400/40 text-primary-700 dark:text-white/80": e?.highlighted },
247
- //States
248
- { "hover:bg-surface-100 dark:hover:bg-surface-600/80": !e?.highlighted },
249
- { "hover:text-surface-700 hover:bg-surface-100 dark:hover:text-white dark:hover:bg-surface-600/80": !e?.highlighted },
250
- "focus-visible:outline-none focus-visible:outline-offset-0 focus-visible:ring focus-visible:ring-inset focus-visible:ring-primary-400/50 dark:focus-visible:ring-primary-300/50",
251
- // Transitions
252
- "transition-shadow",
253
- "duration-200",
254
- // Misc
255
- "cursor-pointer",
256
- "overflow-hidden",
257
- "whitespace-nowrap"
258
- ]
259
- }),
260
- filteroperator: {
261
- class: [
262
- // Spacing
263
- "px-5 py-3",
264
- // Shape
265
- "border-b border-solid",
266
- "rounded-t-md",
267
- // Color
268
- "text-surface-700 dark:text-white/80",
269
- "border-surface-200 dark:border-surface-800",
270
- "bg-surface-0 dark:bg-surface-700"
271
- ]
272
- },
273
- filteroperatordropdown: {
274
- root: ({ state: e }) => ({
275
- class: [
276
- // Display and Position
277
- "inline-flex",
278
- "relative",
279
- // Shape
280
- "w-full",
281
- "rounded-md",
282
- // Color and Background
283
- "bg-surface-0 dark:bg-surface-900",
284
- "border border-surface-300 dark:border-surface-700",
285
- // Transitions
286
- "transition-all",
287
- "duration-200",
288
- // States
289
- "hover:border-primary-500 dark:hover:border-primary-300",
290
- { "outline-none outline-offset-0 ring ring-primary-400/50 dark:ring-primary-300/50": e.focused },
291
- // Misc
292
- "cursor-pointer",
293
- "select-none"
294
- ]
295
- }),
296
- input: ({ props: e }) => ({
297
- class: [
298
- //Font
299
- "font-sans",
300
- "leading-none",
301
- // Display
302
- "block",
303
- "flex-auto",
304
- // Color and Background
305
- "bg-transparent",
306
- "border-0",
307
- { "text-surface-800 dark:text-white/80": e.modelValue, "text-surface-400 dark:text-surface-500": !e.modelValue },
308
- "placeholder:text-surface-400 dark:placeholder:text-surface-500",
309
- // Sizing and Spacing
310
- "w-[1%]",
311
- "p-3",
312
- //Shape
313
- "rounded-none",
314
- // Transitions
315
- "transition",
316
- "duration-200",
317
- // States
318
- "focus:outline-none focus:shadow-none",
319
- // Misc
320
- "relative",
321
- "cursor-pointer",
322
- "overflow-hidden overflow-ellipsis",
323
- "whitespace-nowrap",
324
- "appearance-none"
325
- ]
326
- }),
327
- trigger: {
328
- class: [
329
- // Flexbox
330
- "flex items-center justify-center",
331
- "shrink-0",
332
- // Color and Background
333
- "bg-transparent",
334
- "text-surface-500",
335
- // Size
336
- "w-12",
337
- // Shape
338
- "rounded-tr-md",
339
- "rounded-br-md"
340
- ]
341
- },
342
- panel: {
343
- class: [
344
- // Position
345
- "absolute top-0 left-0",
346
- // Shape
347
- "border-0 dark:border",
348
- "rounded-md",
349
- "shadow-md",
350
- // Color
351
- "bg-surface-0 dark:bg-surface-800",
352
- "text-surface-800 dark:text-white/80",
353
- "dark:border-surface-700"
354
- ]
355
- },
356
- item: ({ context: e }) => ({
357
- class: [
358
- // Font
359
- "font-normal",
360
- "leading-none",
361
- // Position
362
- "relative",
363
- // Shape
364
- "border-0",
365
- "rounded-none",
366
- // Spacing
367
- "m-0",
368
- "py-3 px-5",
369
- // Color
370
- { "text-surface-700 dark:text-white/80": !e.focused && !e.selected },
371
- { "bg-surface-50 dark:bg-surface-600/60 text-surface-700 dark:text-white/80": e.focused && !e.selected },
372
- { "bg-primary-100 dark:bg-primary-400/40 text-primary-700 dark:text-white/80": e.focused && e.selected },
373
- { "bg-primary-50 dark:bg-primary-400/40 text-primary-700 dark:text-white/80": !e.focused && e.selected },
374
- //States
375
- { "hover:bg-surface-100 dark:hover:bg-surface-600/80": !e.focused && !e.selected },
376
- { "hover:text-surface-700 hover:bg-surface-100 dark:hover:text-white dark:hover:bg-surface-600/80": e.focused && !e.selected },
377
- // Transitions
378
- "transition-shadow",
379
- "duration-200",
380
- // Misc
381
- "cursor-pointer",
382
- "overflow-hidden",
383
- "whitespace-nowrap"
384
- ]
385
- })
386
- },
387
- filterconstraint: {
388
- class: [
389
- // Spacing
390
- "py-3 px-5",
391
- // Shape
392
- "border-b border-solid",
393
- // Color
394
- "border-surface-200 dark:border-surface-700"
395
- ]
396
- },
397
- filteraddrule: {
398
- class: "py-3 px-5"
399
- },
400
- filteraddrulebutton: {
401
- root: {
402
- class: [
403
- "relative",
404
- // Alignments
405
- "items-center inline-flex text-center align-bottom justify-center",
406
- // Sizes & Spacing
407
- "text-sm py-2 px-3 w-full",
408
- // Shape
409
- "rounded-md",
410
- "bg-transparent border-transparent",
411
- "text-primary-500 dark:text-primary-400",
412
- "hover:bg-primary-300/20",
413
- // Transitions
414
- "transition duration-200 ease-in-out",
415
- // Misc
416
- "cursor-pointer overflow-hidden select-none"
417
- ]
418
- },
419
- label: {
420
- class: "flex-auto grow-0"
421
- },
422
- icon: {
423
- class: "mr-2"
424
- }
425
- },
426
- filterremovebutton: {
427
- root: {
428
- class: [
429
- "relative",
430
- // Alignments
431
- "items-center inline-flex text-center align-bottom justify-center",
432
- // Sizes & Spacing
433
- "text-sm py-2 px-3 w-full mt-2",
434
- // Shape
435
- "rounded-md",
436
- "bg-transparent border-transparent",
437
- "text-red-500 dark:text-red-400",
438
- "hover:bg-red-300/20",
439
- // Transitions
440
- "transition duration-200 ease-in-out",
441
- // Misc
442
- "cursor-pointer overflow-hidden select-none"
443
- ]
444
- },
445
- label: {
446
- class: "flex-auto grow-0"
447
- },
448
- icon: {
449
- class: "mr-2"
450
- }
451
- },
452
- filterbuttonbar: {
453
- class: [
454
- // Flex & Alignment
455
- "flex items-center justify-between",
456
- // Space
457
- "py-3 px-5"
458
- ]
459
- },
460
- filterclearbutton: {
461
- root: {
462
- class: [
463
- "relative",
464
- // Alignments
465
- "items-center inline-flex text-center align-bottom justify-center",
466
- // Sizes & Spacing
467
- "text-sm py-2 px-3",
468
- // Shape
469
- "rounded-md",
470
- "text-primary-500 border border-primary-500",
471
- "hover:bg-primary-300/20",
472
- // Transitions
473
- "transition duration-200 ease-in-out",
474
- // Misc
475
- "cursor-pointer overflow-hidden select-none"
476
- ]
477
- }
478
- },
479
- filterapplybutton: {
480
- root: {
481
- class: [
482
- "relative",
483
- // Alignments
484
- "items-center inline-flex text-center align-bottom justify-center",
485
- // Sizes & Spacing
486
- "text-sm py-2 px-3",
487
- // Shape
488
- "rounded-md",
489
- "text-white dark:text-surface-900",
490
- "bg-primary-500 dark:bg-primary-400",
491
- "hover:bg-primary-600 dark:hover:bg-primary-300 hover:border-primary-600 dark:hover:border-primary-300",
492
- // Transitions
493
- "transition duration-200 ease-in-out",
494
- // Misc
495
- "cursor-pointer overflow-hidden select-none"
496
- ]
497
- }
498
- },
499
- filtermenubutton: ({ context: e }) => ({
500
- class: [
501
- "relative",
502
- // Flex & Alignment
503
- "inline-flex items-center justify-center",
504
- // Size
505
- "w-8 h-8",
506
- // Spacing
507
- "ml-2",
508
- // Shape
509
- "rounded-full",
510
- // Color
511
- { "bg-primary-50 text-primary-700": e.active },
512
- "dark:text-white/70 dark:hover:text-white/80 dark:bg-surface-800",
513
- // States
514
- "hover:text-surface-700 hover:bg-surface-300/20",
515
- "focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50 dark:focus:ring-primary-300/50",
516
- // Transition
517
- "transition duration-200",
518
- // Misc
519
- "cursor-pointer no-underline overflow-hidden"
520
- ]
521
- }),
522
- headerfilterclearbutton: ({ context: e }) => ({
523
- class: [
524
- "relative",
525
- // Flex & Alignment
526
- "inline-flex items-center justify-center",
527
- "text-left",
528
- // Shape
529
- "border-none",
530
- // Spacing
531
- "m-0 p-0 ml-2",
532
- // Color
533
- "bg-transparent",
534
- // Misc
535
- "cursor-pointer no-underline overflow-hidden select-none",
536
- {
537
- invisible: !e.hidden
46
+ 66% {
47
+ stroke: #1ea97c;
48
+ }
49
+ 80%, 90% {
50
+ stroke: #cc8925;
51
+ }
52
+ }
53
+
54
+ .progressbar-value-animate::after {
55
+ will-change: left, right;
56
+ animation: p-progressbar-indeterminate-anim-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;
57
+ }
58
+ .progressbar-value-animate::before {
59
+ will-change: left, right;
60
+ animation: p-progressbar-indeterminate-anim 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
61
+ }
62
+ @keyframes p-progressbar-indeterminate-anim {
63
+ 0% {
64
+ left: -35%;
65
+ right: 100%;
66
+ }
67
+ 60% {
68
+ left: 100%;
69
+ right: -90%;
70
+ }
71
+ 100% {
72
+ left: 100%;
73
+ right: -90%;
74
+ }
75
+ }
76
+
77
+ .p-fadein {
78
+ animation: p-fadein 250ms linear;
79
+ }
80
+
81
+ @keyframes p-fadein {
82
+ 0% {
83
+ opacity: 0;
538
84
  }
539
- ]
540
- }),
541
- rowtoggler: {
542
- class: [
543
- "relative",
544
- // Flex & Alignment
545
- "inline-flex items-center justify-center",
546
- "text-left",
547
- // Spacing
548
- "m-0 p-0",
549
- // Size
550
- "w-8 h-8",
551
- // Shape
552
- "border-0 rounded-full",
553
- // Color
554
- "text-surface-500 dark:text-white/70",
555
- "bg-transparent",
556
- "focus-visible:outline-none focus-visible:outline-offset-0",
557
- "focus-visible:ring focus-visible:ring-primary-400/50 dark:focus-visible:ring-primary-300/50",
558
- // Transition
559
- "transition duration-200",
560
- // Misc
561
- "overflow-hidden",
562
- "cursor-pointer select-none"
563
- ]
564
- },
565
- columnresizer: {
566
- class: [
567
- "block",
568
- // Position
569
- "absolute top-0 right-0",
570
- // Sizing
571
- "w-2 h-full",
572
- // Spacing
573
- "m-0 p-0",
574
- // Color
575
- "border border-transparent",
576
- // Misc
577
- "cursor-col-resize"
578
- ]
579
- },
580
- rowreordericon: {
581
- class: "cursor-move"
582
- },
583
- roweditorinitbutton: {
584
- class: [
585
- "relative",
586
- // Flex & Alignment
587
- "inline-flex items-center justify-center",
588
- "text-left",
589
- // Size
590
- "w-8 h-8",
591
- // Shape
592
- "border-0 rounded-full",
593
- // Color
594
- "text-surface-700 dark:text-white/70",
595
- "border-transparent",
596
- // States
597
- "focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50 dark:focus:ring-primary-300/50",
598
- "hover:text-surface-700 hover:bg-surface-300/20",
599
- // Transition
600
- "transition duration-200",
601
- // Misc
602
- "overflow-hidden",
603
- "cursor-pointer select-none"
604
- ]
605
- },
606
- roweditorsavebutton: {
607
- class: [
608
- "relative",
609
- // Flex & Alignment
610
- "inline-flex items-center justify-center",
611
- "text-left",
612
- // Size
613
- "w-8 h-8",
614
- // Shape
615
- "border-0 rounded-full",
616
- // Color
617
- "text-surface-700 dark:text-white/70",
618
- "border-transparent",
619
- // States
620
- "focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50 dark:focus:ring-primary-300/50",
621
- "hover:text-surface-700 hover:bg-surface-300/20",
622
- // Transition
623
- "transition duration-200",
624
- // Misc
625
- "overflow-hidden",
626
- "cursor-pointer select-none"
627
- ]
628
- },
629
- roweditorcancelbutton: {
630
- class: [
631
- "relative",
632
- // Flex & Alignment
633
- "inline-flex items-center justify-center",
634
- "text-left",
635
- // Size
636
- "w-8 h-8",
637
- // Shape
638
- "border-0 rounded-full",
639
- // Color
640
- "text-surface-700 dark:text-white/70",
641
- "border-transparent",
642
- // States
643
- "focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50 dark:focus:ring-primary-300/50",
644
- "hover:text-surface-700 hover:bg-surface-300/20",
645
- // Transition
646
- "transition duration-200",
647
- // Misc
648
- "overflow-hidden",
649
- "cursor-pointer select-none"
650
- ]
651
- },
652
- radiobuttonwrapper: {
653
- class: [
654
- "relative",
655
- // Flex & Alignment
656
- "inline-flex align-bottom",
657
- // Size
658
- "w-6 h-6",
659
- // Misc
660
- "cursor-pointer select-none"
661
- ]
662
- },
663
- radiobutton: ({ context: e }) => ({
664
- class: [
665
- // Flexbox
666
- "flex justify-center items-center",
667
- // Size
668
- "w-[1.571rem] h-[1.571rem]",
669
- // Shape
670
- "border-2 rounded-full",
671
- // Color
672
- { "text-surface-700 dark:text-white/80": !e.checked },
673
- { "bg-surface-0 dark:bg-surface-900": !e.checked },
674
- { "border-surface-300 dark:border-surface-700": !e.checked },
675
- { "border-primary-500 dark:border-primary-400": e.checked },
676
- { "bg-primary-500 dark:bg-primary-400": e.checked },
677
- // States
678
- { "hover:border-primary-500 dark:hover:border-primary-400": !e.disabled },
679
- { "outline-none outline-offset-0 ring ring-primary-400/50 ring-inset dark:ring-primary-300/50": e.focused },
680
- // Transition
681
- "transition duration-200 ease-in-out",
682
- // Misc
683
- { "cursor-default opacity-60": e.disabled }
684
- ]
685
- }),
686
- radiobuttonicon: ({ context: e }) => ({
687
- class: [
688
- "block",
689
- // Shape
690
- "rounded-full",
691
- // Size
692
- "w-3 h-3",
693
- // Color
694
- "bg-surface-0 dark:bg-surface-900",
695
- // Transition
696
- "transition duration-200 transform",
697
- {
698
- "backface-hidden scale-10 invisible": e.checked === !1,
699
- "transform scale-100 visible": e.checked === !0
85
+ 100% {
86
+ opacity: 1;
700
87
  }
701
- ]
702
- }),
703
- headercheckboxwrapper: {
704
- class: [
705
- "relative",
706
- // Flex & Alignment
707
- "inline-flex align-bottom",
708
- // Size
709
- "w-6 h-6",
710
- // Misc
711
- "cursor-pointer select-none"
712
- ]
713
- },
714
- headercheckbox: ({ context: e }) => ({
715
- class: [
716
- // Flex & Alignment
717
- "flex items-center justify-center",
718
- // Shape
719
- "border-2 rounded-lg",
720
- // Size
721
- "w-6 h-6",
722
- // Color
723
- "text-surface-600",
724
- {
725
- "border-surface-200 bg-surface-0 dark:border-surface-700 dark:bg-surface-900": !e.checked,
726
- "border-primary-500 bg-primary-500 dark:border-primary-400 dark:bg-primary-400": e.checked
727
- },
728
- // States
729
- "focus:outline-none focus:outline-offset-0",
730
- {
731
- "ring ring-primary-400/50 dark:ring-primary-300/50": e.focused
732
- },
733
- // Transition
734
- "transition-colors duration-200",
735
- // Misc
736
- { "cursor-default opacity-60": e.disabled }
737
- ]
738
- }),
739
- headercheckboxicon: {
740
- class: [
741
- // Size
742
- "w-4 h-4",
743
- "text-base leading-none",
744
- // Color
745
- "text-white dark:text-surface-900",
746
- // Transition
747
- "transition-all duration-200"
748
- ]
749
- },
750
- checkboxwrapper: {
751
- class: [
752
- "relative",
753
- // Flex & Alignment
754
- "inline-flex align-bottom",
755
- // Size
756
- "w-6 h-6",
757
- // Misc
758
- "cursor-pointer select-none"
759
- ]
760
- },
761
- checkbox: ({ context: e }) => ({
762
- class: [
763
- // Flex & Alignment
764
- "flex items-center justify-center",
765
- // Shape
766
- "border-2 rounded-lg",
767
- // Size
768
- "w-6 h-6",
769
- // Color
770
- "text-surface-600",
771
- {
772
- "border-surface-200 bg-surface-0 dark:border-surface-700 dark:bg-surface-900": !e.checked,
773
- "border-primary-500 bg-primary-500 dark:border-primary-400 dark:bg-primary-400": e.checked
774
- },
775
- // States
776
- "focus:outline-none focus:outline-offset-0",
777
- {
778
- "ring ring-primary-400/50 dark:ring-primary-300/50": e.focused
779
- },
780
- // Transition
781
- "transition-colors duration-200",
782
- // Misc
783
- { "cursor-default opacity-60": e.disabled }
784
- ]
785
- }),
786
- checkboxicon: {
787
- class: [
788
- // Size
789
- "w-4 h-4",
790
- "text-base leading-none",
791
- // Color
792
- "text-white dark:text-surface-900",
793
- // Transition
794
- "transition-all duration-200"
795
- ]
796
- },
797
- transition: {
798
- enterFromClass: "opacity-0 scale-y-[0.8]",
799
- enterActiveClass: "transition-[transform,opacity] duration-[120ms] ease-[cubic-bezier(0,0,0.2,1)]",
800
- leaveActiveClass: "transition-opacity duration-100 ease-linear",
801
- leaveToClass: "opacity-0"
802
88
  }
803
- },
804
- bodyrow: ({ context: e, props: r }) => ({
805
- class: [
806
- // Color
807
- "dark:text-white/80",
808
- { "bg-primary-50 text-primary-600 dark:bg-primary-400/30": e.selected },
809
- { "bg-surface-0 text-surface-600 dark:bg-surface-800": !e.selected },
810
- { "font-bold bg-surface-0 dark:bg-surface-800": r.frozenRow },
811
- { "odd:bg-surface-0 odd:text-surface-600 dark:odd:bg-surface-800 even:bg-surface-50 even:text-surface-600 dark:even:bg-surface-900/50": e.stripedRows },
812
- // State
813
- // { 'focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50 ring-inset dark:focus:ring-primary-300/50': context.selectable },
814
- { "hover:bg-surface-300/20 hover:text-surface-600": r.selectionMode && !e.selected },
815
- // Transition
816
- { "transition duration-200": r.selectionMode && !e.selected || r.rowHover },
817
- // Misc
818
- { "cursor-pointer": r.selectionMode }
819
- ]
820
- }),
821
- rowexpansion: {
822
- class: "bg-surface-0 dark:bg-surface-800 text-surface-600 dark:text-white/80"
823
- },
824
- rowgroupheader: {
825
- class: ["sticky z-20", "bg-surface-0 text-surface-600 dark:text-white/70", "dark:bg-surface-800"]
826
- },
827
- rowgroupfooter: {
828
- class: ["sticky z-20", "bg-surface-0 text-surface-600 dark:text-white/70", "dark:bg-surface-800"]
829
- },
830
- rowgrouptoggler: {
831
- class: [
832
- "relative",
833
- // Flex & Alignment
834
- "inline-flex items-center justify-center",
835
- "text-left",
836
- // Spacing
837
- "m-0 p-0",
838
- // Size
839
- "w-8 h-8",
840
- // Shape
841
- "border-0 rounded-full",
842
- // Color
843
- "text-surface-500 dark:text-white/70",
844
- "bg-transparent",
845
- "focus-visible:outline-none focus-visible:outline-offset-0",
846
- "focus-visible:ring focus-visible:ring-primary-400/50 dark:focus-visible:ring-primary-300/50",
847
- // Transition
848
- "transition duration-200",
849
- // Misc
850
- "overflow-hidden",
851
- "cursor-pointer select-none"
852
- ]
853
- },
854
- rowgrouptogglericon: {
855
- class: "inline-block w-4 h-4"
856
- },
857
- resizehelper: {
858
- class: "absolute hidden w-[2px] z-20 bg-primary-500 dark:bg-primary-400"
859
- }
89
+ `
860
90
  };
861
91
  export {
862
- o as default
92
+ e as default
863
93
  };