@quoreadmin/ui 1.9.3 → 1.10.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.
- package/dist/index.css +1 -1
- package/dist/index.js +46 -44
- package/dist/index10.js +2 -2
- package/dist/index100.js +20 -25
- package/dist/index101.js +34 -0
- package/dist/{index102.js → index103.js} +1 -1
- package/dist/index105.js +147 -2
- package/dist/index106.js +2 -37
- package/dist/index107.js +39 -0
- package/dist/{index108.js → index109.js} +2 -2
- package/dist/index11.js +2 -2
- package/dist/{index110.js → index111.js} +1 -1
- package/dist/{index112.js → index113.js} +3 -3
- package/dist/{index114.js → index115.js} +6 -6
- package/dist/{index116.js → index117.js} +1 -1
- package/dist/{index118.js → index119.js} +5 -5
- package/dist/index12.js +2 -2
- package/dist/index13.js +2 -2
- package/dist/index131.js +272 -0
- package/dist/index134.js +8 -249
- package/dist/{index132.js → index136.js} +1 -1
- package/dist/index138.js +257 -0
- package/dist/index14.js +2 -2
- package/dist/index141.js +36 -45
- package/dist/index143.js +17 -1169
- package/dist/index145.js +38 -267
- package/dist/index147.js +1125 -286
- package/dist/index149.js +278 -15
- package/dist/index15.js +2 -2
- package/dist/index151.js +316 -69
- package/dist/index153.js +24 -558
- package/dist/index155.js +103 -0
- package/dist/index157.js +565 -0
- package/dist/index16.js +2 -2
- package/dist/{index158.js → index162.js} +1 -1
- package/dist/index165.js +353 -174
- package/dist/{index163.js → index167.js} +1 -1
- package/dist/index169.js +195 -482
- package/dist/index17.js +2 -2
- package/dist/index172.js +105 -852
- package/dist/index173.js +493 -36
- package/dist/index174.js +5507 -265
- package/dist/index175.js +87 -146
- package/dist/index176.js +847 -1185
- package/dist/index177.js +35 -769
- package/dist/index178.js +270 -1298
- package/dist/index179.js +142 -268
- package/dist/index18.js +2 -2
- package/dist/index180.js +1185 -92
- package/dist/index181.js +772 -2
- package/dist/index182.js +1229 -1297
- package/dist/index183.js +278 -0
- package/dist/index184.js +105 -17
- package/dist/index185.js +2 -18
- package/dist/index186.js +1372 -14
- package/dist/index188.js +14 -21
- package/dist/index189.js +18 -759
- package/dist/index19.js +2 -2
- package/dist/index190.js +18 -1144
- package/dist/index191.js +16 -1232
- package/dist/index192.js +22 -11274
- package/dist/index193.js +759 -36
- package/dist/index194.js +1144 -44
- package/dist/index195.js +1117 -1111
- package/dist/index196.js +11279 -0
- package/dist/index197.js +36 -5938
- package/dist/index198.js +42 -205
- package/dist/index199.js +1218 -25
- package/dist/index2.js +2 -2
- package/dist/index20.js +2 -2
- package/dist/index201.js +5932 -72
- package/dist/index202.js +199 -245
- package/dist/index203.js +25 -13674
- package/dist/index204.js +17 -26
- package/dist/index205.js +76 -61
- package/dist/index206.js +239 -224
- package/dist/index207.js +13659 -286
- package/dist/index208.js +27 -295
- package/dist/index209.js +62 -32
- package/dist/index21.js +2 -2
- package/dist/index210.js +236 -114
- package/dist/index211.js +305 -30
- package/dist/index212.js +295 -26
- package/dist/index213.js +30 -33
- package/dist/index214.js +114 -49
- package/dist/index215.js +33 -40
- package/dist/index216.js +26 -4
- package/dist/index217.js +36 -9
- package/dist/index218.js +50 -18
- package/dist/index219.js +43 -10
- package/dist/index22.js +2 -2
- package/dist/index220.js +4 -10
- package/dist/index221.js +9 -39
- package/dist/index222.js +19 -21
- package/dist/index223.js +10 -88
- package/dist/index224.js +9 -406
- package/dist/index225.js +39 -22
- package/dist/index226.js +21 -161
- package/dist/index227.js +157 -224
- package/dist/index228.js +222 -31
- package/dist/index229.js +37 -10
- package/dist/index23.js +2 -2
- package/dist/index230.js +10 -127
- package/dist/index231.js +148 -25
- package/dist/index232.js +20 -80
- package/dist/index233.js +1 -1
- package/dist/index234.js +15 -13
- package/dist/index235.js +198 -19
- package/dist/index236.js +68 -18
- package/dist/index237.js +87 -19
- package/dist/index238.js +383 -137
- package/dist/index239.js +34 -20
- package/dist/index24.js +2 -2
- package/dist/index240.js +39 -21
- package/dist/index241.js +20 -197
- package/dist/index242.js +21 -69
- package/dist/index243.js +22 -34
- package/dist/index244.js +19 -39
- package/dist/index245.js +836 -22
- package/dist/index246.js +701 -21
- package/dist/index247.js +176 -20
- package/dist/index248.js +20 -836
- package/dist/index249.js +19 -701
- package/dist/index250.js +22 -176
- package/dist/index251.js +12 -14
- package/dist/index252.js +9 -9
- package/dist/index253.js +3 -20
- package/dist/index254.js +187 -3
- package/dist/index255.js +42 -96
- package/dist/index256.js +1160 -70
- package/dist/index257.js +101 -1197
- package/dist/index258.js +1 -1
- package/dist/index259.js +1 -1
- package/dist/index26.js +2 -2
- package/dist/index260.js +1 -1
- package/dist/index261.js +37 -28
- package/dist/index262.js +21 -12
- package/dist/index263.js +9 -9
- package/dist/index264.js +20 -2
- package/dist/index266.js +2 -3636
- package/dist/index267.js +3620 -39
- package/dist/index268.js +30 -52
- package/dist/index269.js +47 -22
- package/dist/index27.js +2 -2
- package/dist/index270.js +25 -188
- package/dist/index271.js +213 -8
- package/dist/index272.js +9 -56
- package/dist/index273.js +41 -45
- package/dist/index274.js +46 -39
- package/dist/index275.js +36 -57
- package/dist/index276.js +41 -692
- package/dist/index277.js +707 -23
- package/dist/index278.js +25 -47
- package/dist/index279.js +63 -10
- package/dist/index28.js +2 -2
- package/dist/index280.js +10 -704
- package/dist/index281.js +655 -770
- package/dist/index282.js +820 -3
- package/dist/index283.js +80 -27
- package/dist/index284.js +20 -253
- package/dist/index285.js +20 -8
- package/dist/index286.js +42 -126
- package/dist/index287.js +59 -63
- package/dist/index288.js +26 -2
- package/dist/index289.js +21 -78
- package/dist/index29.js +2 -2
- package/dist/index290.js +21 -53
- package/dist/index291.js +16 -26
- package/dist/index292.js +17 -22
- package/dist/index293.js +253 -22
- package/dist/index294.js +5 -13
- package/dist/index295.js +137 -16
- package/dist/index296.js +82 -22
- package/dist/index297.js +23 -1534
- package/dist/index298.js +3 -386
- package/dist/index299.js +23 -2727
- package/dist/index3.js +2 -2
- package/dist/index30.js +2 -2
- package/dist/index300.js +252 -76
- package/dist/index301.js +4 -3790
- package/dist/index302.js +135 -55
- package/dist/index303.js +71 -77
- package/dist/index304.js +86 -21
- package/dist/index305.js +26 -932
- package/dist/index306.js +14 -20
- package/dist/index307.js +74 -19
- package/dist/index308.js +3 -19
- package/dist/index309.js +2 -69
- package/dist/index31.js +3 -3
- package/dist/index310.js +82 -18
- package/dist/index311.js +53 -19
- package/dist/index312.js +5 -21
- package/dist/index313.js +4 -21
- package/dist/index314.js +178 -62
- package/dist/index315.js +62 -14
- package/dist/index316.js +75 -84
- package/dist/index317.js +1485 -153
- package/dist/index318.js +357 -217
- package/dist/index319.js +2714 -245
- package/dist/index32.js +2 -2
- package/dist/index320.js +84 -4
- package/dist/index321.js +3785 -133
- package/dist/index322.js +57 -70
- package/dist/index323.js +75 -83
- package/dist/index324.js +21 -28
- package/dist/index325.js +933 -14
- package/dist/index326.js +21 -74
- package/dist/index327.js +19 -3
- package/dist/index328.js +20 -2
- package/dist/index329.js +66 -80
- package/dist/index33.js +2 -2
- package/dist/index330.js +19 -53
- package/dist/index331.js +19 -6
- package/dist/index332.js +21 -4
- package/dist/index333.js +21 -178
- package/dist/index334.js +62 -62
- package/dist/index335.js +2 -75
- package/dist/index336.js +15 -9
- package/dist/index337.js +83 -12
- package/dist/index338.js +197 -50
- package/dist/index339.js +243 -9
- package/dist/index34.js +2 -2
- package/dist/index340.js +35 -12
- package/dist/index341.js +8 -57
- package/dist/index342.js +12 -51
- package/dist/index343.js +49 -25
- package/dist/index344.js +12 -2
- package/dist/index345.js +14 -5
- package/dist/index346.js +58 -2
- package/dist/index347.js +52 -23
- package/dist/index348.js +28 -38
- package/dist/index349.js +2 -2
- package/dist/index35.js +2 -2
- package/dist/index350.js +4 -10
- package/dist/index351.js +2 -20
- package/dist/index352.js +22 -9
- package/dist/index353.js +40 -9
- package/dist/index354.js +2 -17
- package/dist/index355.js +11 -2
- package/dist/index356.js +20 -9
- package/dist/index357.js +10 -10
- package/dist/index358.js +9 -13
- package/dist/index359.js +16 -36
- package/dist/index36.js +2 -2
- package/dist/index360.js +2 -20
- package/dist/index361.js +9 -20
- package/dist/index362.js +9 -63
- package/dist/index363.js +14 -37
- package/dist/index364.js +1 -1
- package/dist/index365.js +1 -1
- package/dist/index366.js +5 -5
- package/dist/index368.js +2 -2
- package/dist/index37.js +2 -2
- package/dist/index370.js +2 -2
- package/dist/index372.js +1 -1
- package/dist/index374.js +4 -4
- package/dist/index375.js +3 -3
- package/dist/index376.js +19 -100
- package/dist/index377.js +19 -90
- package/dist/index378.js +63 -16
- package/dist/index379.js +36 -97
- package/dist/index38.js +5 -16
- package/dist/index380.js +1 -1
- package/dist/index381.js +3 -3
- package/dist/index384.js +3 -3
- package/dist/index386.js +1 -1
- package/dist/index388.js +3 -3
- package/dist/index389.js +5 -5
- package/dist/index39.js +15 -43
- package/dist/index390.js +3 -3
- package/dist/index392.js +17 -3
- package/dist/index393.js +101 -2
- package/dist/index394.js +91 -2
- package/dist/index395.js +98 -17
- package/dist/index396.js +3 -13
- package/dist/index397.js +2 -6
- package/dist/index398.js +2 -32
- package/dist/index399.js +19 -0
- package/dist/index4.js +2 -2
- package/dist/index40.js +42 -67
- package/dist/index400.js +15 -0
- package/dist/index401.js +8 -0
- package/dist/index402.js +34 -0
- package/dist/index41.js +66 -26
- package/dist/index42.js +25 -32
- package/dist/index43.js +32 -37
- package/dist/index44.js +37 -1389
- package/dist/index45.js +1362 -344
- package/dist/index46.js +364 -145
- package/dist/index47.js +155 -18
- package/dist/index48.js +16 -42
- package/dist/index49.js +45 -5
- package/dist/index5.js +2 -2
- package/dist/index50.js +5 -69
- package/dist/index51.js +67 -61
- package/dist/index52.js +57 -175
- package/dist/index53.js +173 -77
- package/dist/index54.js +79 -200
- package/dist/index55.js +206 -68
- package/dist/index56.js +69 -20
- package/dist/index57.js +20 -11
- package/dist/index58.js +10 -6
- package/dist/index59.js +5 -209
- package/dist/index6.js +2 -2
- package/dist/index60.js +210 -12
- package/dist/index61.js +12 -184
- package/dist/index62.js +176 -68
- package/dist/index63.js +79 -0
- package/dist/index65.js +7 -91
- package/dist/index66.js +93 -0
- package/dist/index7.js +2 -2
- package/dist/{index73.js → index74.js} +2 -2
- package/dist/index78.js +40 -308
- package/dist/index79.js +330 -0
- package/dist/index8.js +3 -3
- package/dist/{index82.js → index83.js} +5 -5
- package/dist/{index84.js → index85.js} +1 -1
- package/dist/index87.js +23 -131
- package/dist/index88.js +144 -0
- package/dist/index9.js +2 -2
- package/dist/{index89.js → index90.js} +5 -5
- package/dist/{index91.js → index92.js} +5 -5
- package/dist/{index97.js → index98.js} +5 -5
- package/dist/src/components/page-layout/page-layout.vue.d.ts +89 -0
- package/dist/src/components/room-details-popover/room-details-popover.d.ts +2087 -0
- package/dist/src/components/time-picker/time-picker.vue.d.ts +23 -7
- package/dist/src/index.d.ts +1 -0
- package/package.json +1 -1
- package/dist/index104.js +0 -149
- package/dist/index130.js +0 -16
- package/dist/index137.js +0 -56
- package/dist/index139.js +0 -37
- package/dist/index161.js +0 -389
- package/dist/index168.js +0 -116
- package/dist/index170.js +0 -5524
- package/dist/index171.js +0 -93
- package/dist/index187.js +0 -20
- package/dist/index200.js +0 -20
- package/dist/index64.js +0 -9
- package/dist/index77.js +0 -62
- package/dist/index86.js +0 -36
- package/dist/index99.js +0 -29
- /package/dist/{index120.js → index121.js} +0 -0
- /package/dist/{index122.js → index123.js} +0 -0
- /package/dist/{index124.js → index125.js} +0 -0
- /package/dist/{index126.js → index127.js} +0 -0
- /package/dist/{index128.js → index129.js} +0 -0
- /package/dist/{index156.js → index160.js} +0 -0
- /package/dist/{index67.js → index68.js} +0 -0
- /package/dist/{index69.js → index70.js} +0 -0
- /package/dist/{index71.js → index72.js} +0 -0
- /package/dist/{index75.js → index76.js} +0 -0
- /package/dist/{index80.js → index81.js} +0 -0
- /package/dist/{index93.js → index94.js} +0 -0
- /package/dist/{index95.js → index96.js} +0 -0
package/dist/index172.js
CHANGED
|
@@ -1,863 +1,116 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
"
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
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
|
|
115
|
-
}
|
|
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
|
-
]
|
|
1
|
+
const e = {
|
|
2
|
+
theme: {
|
|
3
|
+
colors: {
|
|
4
|
+
success: "#0f6a13",
|
|
5
|
+
"success-light": "#e9f7da",
|
|
6
|
+
"idle-pass": "#d6ecc1",
|
|
7
|
+
error: "#c20017",
|
|
8
|
+
"error-light": "#ffe4e8",
|
|
9
|
+
warning: "#ab9b00",
|
|
10
|
+
"warning-light": "#fef8de",
|
|
11
|
+
info: "#004494",
|
|
12
|
+
"info-light": "#dbf3ff",
|
|
13
|
+
"green-quore": "#5db407",
|
|
14
|
+
"blue-sky": "#2898e0",
|
|
15
|
+
"blue-quore": "#2f363c",
|
|
16
|
+
complaint: "#c20017",
|
|
17
|
+
recurring: "#006b00",
|
|
18
|
+
workorder: "#F67B00",
|
|
19
|
+
gray: {
|
|
20
|
+
0: "#f9f9fa",
|
|
21
|
+
"00": "#f4f4f4",
|
|
22
|
+
7: "#eff1f2",
|
|
23
|
+
10: "#ebeef0",
|
|
24
|
+
20: "#dde1e4",
|
|
25
|
+
30: "#cdd4d8",
|
|
26
|
+
40: "#bcc5cb"
|
|
341
27
|
},
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
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
|
-
]
|
|
28
|
+
inkwell: {
|
|
29
|
+
0: "#8d9aa5",
|
|
30
|
+
10: "#6c7b89",
|
|
31
|
+
20: "#515d67",
|
|
32
|
+
30: "#2f363c",
|
|
33
|
+
40: "#121517"
|
|
355
34
|
},
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
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
|
-
]
|
|
35
|
+
maroon: {
|
|
36
|
+
0: "#f7d7db",
|
|
37
|
+
10: "#d27989",
|
|
38
|
+
20: "#ad314e",
|
|
39
|
+
30: "#880028",
|
|
40
|
+
40: "#630023"
|
|
418
41
|
},
|
|
419
|
-
|
|
420
|
-
|
|
42
|
+
pink: {
|
|
43
|
+
0: "#ffdbe5",
|
|
44
|
+
10: "#ff89ae",
|
|
45
|
+
20: "#ff377a",
|
|
46
|
+
30: "#cd0059",
|
|
47
|
+
40: "#9c0053"
|
|
421
48
|
},
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
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
|
-
]
|
|
49
|
+
red: {
|
|
50
|
+
0: "#ffe4e8",
|
|
51
|
+
10: "#ffa9b2",
|
|
52
|
+
20: "#ff6e76",
|
|
53
|
+
30: "#ff3333",
|
|
54
|
+
40: "#c20017"
|
|
444
55
|
},
|
|
445
|
-
|
|
446
|
-
|
|
56
|
+
orange: {
|
|
57
|
+
0: "#FFF7DB",
|
|
58
|
+
10: "#FCD379",
|
|
59
|
+
20: "#F89F1B",
|
|
60
|
+
30: "#F67B00",
|
|
61
|
+
40: "#F56200"
|
|
447
62
|
},
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
}
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
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
|
|
538
|
-
}
|
|
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
|
|
700
|
-
}
|
|
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"
|
|
63
|
+
yellow: {
|
|
64
|
+
0: "#fff8de",
|
|
65
|
+
10: "#f9e991",
|
|
66
|
+
20: "#eedc00",
|
|
67
|
+
30: "#ccbb00",
|
|
68
|
+
40: "#ab9b00"
|
|
69
|
+
},
|
|
70
|
+
green: {
|
|
71
|
+
0: "#e9f7da",
|
|
72
|
+
10: "#9cd662",
|
|
73
|
+
20: "#5db407",
|
|
74
|
+
30: "#249000",
|
|
75
|
+
40: "#006b00"
|
|
76
|
+
},
|
|
77
|
+
teal: {
|
|
78
|
+
0: "#dcf2f1",
|
|
79
|
+
10: "#64c7c0",
|
|
80
|
+
20: "#0f9b8f",
|
|
81
|
+
30: "#007667",
|
|
82
|
+
40: "#005244"
|
|
83
|
+
},
|
|
84
|
+
blue: {
|
|
85
|
+
0: "#dbf3ff",
|
|
86
|
+
"00": "#e9f4fb",
|
|
87
|
+
5: "#93cbef",
|
|
88
|
+
10: "#7cc7f0",
|
|
89
|
+
20: "#2898e0",
|
|
90
|
+
30: "#0a69ba",
|
|
91
|
+
40: "#004594"
|
|
92
|
+
},
|
|
93
|
+
purple: {
|
|
94
|
+
0: "#f2e3f2",
|
|
95
|
+
10: "#d29cd5",
|
|
96
|
+
20: "#b062b7",
|
|
97
|
+
30: "#8d3399",
|
|
98
|
+
40: "#430675"
|
|
99
|
+
},
|
|
100
|
+
transparent: "transparent",
|
|
101
|
+
current: "currentColor",
|
|
102
|
+
white: "#ffffff",
|
|
103
|
+
black: "#000000"
|
|
104
|
+
},
|
|
105
|
+
screens: {
|
|
106
|
+
sm: "576px",
|
|
107
|
+
md: "768px",
|
|
108
|
+
lg: "992px",
|
|
109
|
+
xl: "1200px",
|
|
110
|
+
"sm-down": { max: "767.98px" }
|
|
802
111
|
}
|
|
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
112
|
}
|
|
860
113
|
};
|
|
861
114
|
export {
|
|
862
|
-
|
|
115
|
+
e as default
|
|
863
116
|
};
|