@progress/kendo-react-common 8.3.0-develop.5 → 8.3.0-develop.7
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/cdn/js/kendo-react-common.js +1 -1
- package/index.d.mts +495 -29
- package/index.d.ts +495 -29
- package/index.js +1 -1
- package/index.mjs +151 -98
- package/package.json +1 -1
- package/unstyled/animations.js +1 -1
- package/unstyled/animations.mjs +1 -1
- package/unstyled/buttons.js +1 -1
- package/unstyled/buttons.mjs +77 -77
- package/unstyled/dateinputs.js +8 -0
- package/unstyled/dateinputs.mjs +556 -0
- package/unstyled/dropdowns.js +8 -0
- package/unstyled/dropdowns.mjs +231 -0
- package/unstyled/form.js +8 -0
- package/unstyled/form.mjs +50 -0
- package/unstyled/grid.js +1 -1
- package/unstyled/grid.mjs +71 -71
- package/unstyled/inputs.js +1 -1
- package/unstyled/inputs.mjs +191 -78
- package/unstyled/interfaces/common.js +8 -0
- package/unstyled/interfaces/common.mjs +17 -0
- package/unstyled/json-classes.js +1 -1
- package/unstyled/json-classes.mjs +178 -64
- package/unstyled/labels.js +8 -0
- package/unstyled/labels.mjs +99 -0
- package/unstyled/popup.js +1 -1
- package/unstyled/popup.mjs +1 -1
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use client";
|
|
9
|
+
import { getClassByName as o } from "./interfaces/common.mjs";
|
|
10
|
+
import { base as e, containers as t, states as p, elements as $, dimensions as L, inputs as D, icon as T, components as f, cssUtils as C, dropDownListPrefix as M, pickerPrefix as d, sizeMap as m, fillModeMap as b, roundedMap as B, inputPrefix as h } from "./json-classes.mjs";
|
|
11
|
+
const a = {
|
|
12
|
+
clearButton: `${e.prefix}-${e.clear}-${e.value}`,
|
|
13
|
+
groupStickyHeader: `${e.prefix}-${t.list}-${t.group}-${p.sticky}-${$.header}`,
|
|
14
|
+
listHeaderText: `${e.prefix}-${t.list}-${$.header}-${$.text}`,
|
|
15
|
+
ul: `${e.prefix}-${t.list}-${$.ul}`,
|
|
16
|
+
li: {
|
|
17
|
+
main: `${e.prefix}-${t.list}-${t.item}`,
|
|
18
|
+
selected: `${e.prefix}-${p.selected}`,
|
|
19
|
+
focused: `${e.prefix}-${p.focus}`,
|
|
20
|
+
first: `${e.prefix}-${p.first}`,
|
|
21
|
+
disabled: `${e.prefix}-${p.disabled}`
|
|
22
|
+
},
|
|
23
|
+
groupLi: {
|
|
24
|
+
list: `${e.prefix}-${t.list}-${t.group}-${t.item}`,
|
|
25
|
+
table: `${e.prefix}-${$.table}-${t.group}-${t.row}`
|
|
26
|
+
},
|
|
27
|
+
itemText: `${e.prefix}-${t.list}-${t.item}-${$.text}`,
|
|
28
|
+
groupItemText: {
|
|
29
|
+
list: `${e.prefix}-${t.list}-${t.item}-${$.text}`,
|
|
30
|
+
table: `${e.prefix}-${$.table}-${$.th}`
|
|
31
|
+
},
|
|
32
|
+
itemGroupLabel: `${e.prefix}-${t.list}-${t.item}-${t.group}-${$.label}`,
|
|
33
|
+
noData: `${e.prefix}-${e.nodata}`,
|
|
34
|
+
heightContainer: `${e.prefix}-${L.height}-${t.container}`,
|
|
35
|
+
optionlabel: {
|
|
36
|
+
main: `${e.prefix}-${t.list}-${t.optionlabel}`,
|
|
37
|
+
selected: `${e.prefix}-${p.selected}`
|
|
38
|
+
},
|
|
39
|
+
inputIcon: `${e.prefix}-${D.input}-${T.prefix}`,
|
|
40
|
+
searchbox: `${e.prefix}-${f.searchbox}`,
|
|
41
|
+
listFilter: `${e.prefix}-${t.list}-${e.filter}`
|
|
42
|
+
}, F = {
|
|
43
|
+
clearButton: o(a, "clearButton"),
|
|
44
|
+
groupStickyHeader: o(a, "groupStickyHeader"),
|
|
45
|
+
listHeaderText: o(a, "listHeaderText"),
|
|
46
|
+
ul: o(a, "ul"),
|
|
47
|
+
li: (l) => {
|
|
48
|
+
const { c: n = a, selected: i, focused: r, first: u, disabled: w } = l, x = n.li;
|
|
49
|
+
return {
|
|
50
|
+
[x.main]: !0,
|
|
51
|
+
[x.selected]: i,
|
|
52
|
+
[x.focused]: r,
|
|
53
|
+
[x.first]: u,
|
|
54
|
+
[x.disabled]: w
|
|
55
|
+
};
|
|
56
|
+
},
|
|
57
|
+
groupLi: (l) => {
|
|
58
|
+
const { c: n = a, isMultiColumn: i } = l, r = n.groupLi;
|
|
59
|
+
return {
|
|
60
|
+
[r.table]: i,
|
|
61
|
+
[r.list]: !i
|
|
62
|
+
};
|
|
63
|
+
},
|
|
64
|
+
itemText: o(a, "itemText"),
|
|
65
|
+
groupItemText: (l) => {
|
|
66
|
+
const { c: n = a, isMultiColumn: i } = l, r = n.groupItemText;
|
|
67
|
+
return {
|
|
68
|
+
[r.table]: i,
|
|
69
|
+
[r.list]: !i
|
|
70
|
+
};
|
|
71
|
+
},
|
|
72
|
+
itemGroupLabel: o(a, "itemGroupLabel"),
|
|
73
|
+
noData: o(a, "noData"),
|
|
74
|
+
heightContainer: o(a, "heightContainer"),
|
|
75
|
+
optionlabel: (l) => {
|
|
76
|
+
const { c: n = a, selected: i } = l, r = n.optionlabel;
|
|
77
|
+
return {
|
|
78
|
+
[r.main]: !0,
|
|
79
|
+
[r.selected]: i
|
|
80
|
+
};
|
|
81
|
+
},
|
|
82
|
+
inputIcon: o(a, "inputIcon"),
|
|
83
|
+
searchbox: o(a, "searchbox"),
|
|
84
|
+
listFilter: o(a, "listFilter")
|
|
85
|
+
}, g = {
|
|
86
|
+
wrapper: {
|
|
87
|
+
main: `${e.prefix}-${p.adaptive}-${f.actionsheet}`,
|
|
88
|
+
fullscreen: `${e.prefix}-${f.actionsheet}-${p.fullscreen}`,
|
|
89
|
+
bottom: `${e.prefix}-${f.actionsheet}-${p.bottom}`
|
|
90
|
+
},
|
|
91
|
+
header: `${e.prefix}-${$.text}-${C.center}`,
|
|
92
|
+
titleBar: {
|
|
93
|
+
main: `${e.prefix}-${f.actionsheet}-${t.titlebar}-${t.group}`,
|
|
94
|
+
position: `${e.prefix}-${C.hbox}`
|
|
95
|
+
},
|
|
96
|
+
title: `${e.prefix}-${f.actionsheet}-${$.title}`,
|
|
97
|
+
actions: `${e.prefix}-${f.actionsheet}-${t.actions}`,
|
|
98
|
+
titleBarGroup: {
|
|
99
|
+
main: `${e.prefix}-${f.actionsheet}-${t.titlebar}-${t.group}`,
|
|
100
|
+
filter: `${e.prefix}-${f.actionsheet}-${e.filter}`
|
|
101
|
+
}
|
|
102
|
+
}, G = {
|
|
103
|
+
wrapper: (l) => {
|
|
104
|
+
const { c: n = g, isFullScreen: i } = l, r = n.wrapper;
|
|
105
|
+
return {
|
|
106
|
+
[r.main]: !0,
|
|
107
|
+
[r.fullscreen]: i,
|
|
108
|
+
[r.bottom]: !i
|
|
109
|
+
};
|
|
110
|
+
},
|
|
111
|
+
header: o(g, "header"),
|
|
112
|
+
titleBar: (l) => {
|
|
113
|
+
const { c: n = g } = l, i = n.titleBar;
|
|
114
|
+
return {
|
|
115
|
+
[i.main]: !0,
|
|
116
|
+
[i.position]: !0
|
|
117
|
+
};
|
|
118
|
+
},
|
|
119
|
+
title: o(g, "title"),
|
|
120
|
+
actions: o(g, "actions"),
|
|
121
|
+
titleBarGroup: (l) => {
|
|
122
|
+
const { c: n = g } = l, i = n.titleBarGroup;
|
|
123
|
+
return {
|
|
124
|
+
[i.main]: !0,
|
|
125
|
+
[i.filter]: !0
|
|
126
|
+
};
|
|
127
|
+
}
|
|
128
|
+
}, c = {
|
|
129
|
+
wrapper: {
|
|
130
|
+
main: M,
|
|
131
|
+
picker: d,
|
|
132
|
+
size: {
|
|
133
|
+
small: `${d}-${m.small}`,
|
|
134
|
+
medium: `${d}-${m.medium}`,
|
|
135
|
+
large: `${d}-${m.large}`
|
|
136
|
+
},
|
|
137
|
+
fillMode: {
|
|
138
|
+
solid: `${d}-${b.solid}`,
|
|
139
|
+
outline: `${d}-${b.outline}`,
|
|
140
|
+
flat: `${d}-${b.flat}`,
|
|
141
|
+
link: `${d}-${b.link}`,
|
|
142
|
+
clear: `${d}-${b.clear}`
|
|
143
|
+
},
|
|
144
|
+
rounded: {
|
|
145
|
+
small: `${e.prefix}-${e.rounded}-${B.small}`,
|
|
146
|
+
medium: `${e.prefix}-${e.rounded}-${B.medium}`,
|
|
147
|
+
large: `${e.prefix}-${e.rounded}-${B.large}`
|
|
148
|
+
},
|
|
149
|
+
disabled: `${e.prefix}-${p.disabled}`,
|
|
150
|
+
focused: `${e.prefix}-${p.focus}`,
|
|
151
|
+
invalid: `${e.prefix}-${p.invalid}`,
|
|
152
|
+
loading: `${e.prefix}-${p.loading}`,
|
|
153
|
+
required: `${e.prefix}-${p.required}`
|
|
154
|
+
},
|
|
155
|
+
loadingIcon: `${h}-${p.loading}-${T.prefix}`,
|
|
156
|
+
iconButton: `${h}-${$.button}`,
|
|
157
|
+
listContainer: {
|
|
158
|
+
main: `${e.prefix}-${t.list}-${t.container}`,
|
|
159
|
+
popup: `${e.prefix}-${f.dropdownlist}-${t.popup}`
|
|
160
|
+
},
|
|
161
|
+
input: `${h}-${D.inner}`,
|
|
162
|
+
inputText: `${h}-${e.value}-${$.text}`,
|
|
163
|
+
listHeader: `${e.prefix}-${t.list}-${$.header}`,
|
|
164
|
+
list: {
|
|
165
|
+
main: `${e.prefix}-${t.list}`,
|
|
166
|
+
size: {
|
|
167
|
+
small: `${e.prefix}-${t.list}-${m.small}`,
|
|
168
|
+
medium: `${e.prefix}-${t.list}-${m.medium}`,
|
|
169
|
+
large: `${e.prefix}-${t.list}-${m.large}`
|
|
170
|
+
},
|
|
171
|
+
virtual: `${e.prefix}-${e.virtual}-${t.list}`
|
|
172
|
+
},
|
|
173
|
+
listContent: `${e.prefix}-${t.list}-${t.content}`,
|
|
174
|
+
listFooter: `${e.prefix}-${t.list}-${$.footer}`
|
|
175
|
+
}, S = {
|
|
176
|
+
wrapper: (l) => {
|
|
177
|
+
const {
|
|
178
|
+
c: n = c,
|
|
179
|
+
size: i,
|
|
180
|
+
rounded: r,
|
|
181
|
+
fillMode: u,
|
|
182
|
+
focused: w,
|
|
183
|
+
disabled: x,
|
|
184
|
+
invalid: v,
|
|
185
|
+
loading: z,
|
|
186
|
+
required: I
|
|
187
|
+
} = l, s = n.wrapper;
|
|
188
|
+
return {
|
|
189
|
+
[s.main]: !0,
|
|
190
|
+
[s.picker]: !0,
|
|
191
|
+
[s.size[i]]: s.size[i],
|
|
192
|
+
[`${d}-${i}`]: i && !s.size[i],
|
|
193
|
+
[s.fillMode[u]]: s.fillMode[u],
|
|
194
|
+
[s.rounded[r]]: s.rounded[r],
|
|
195
|
+
[`${e.prefix}-${e.rounded}-${r}`]: r && !s.rounded[r],
|
|
196
|
+
[s.focused]: w,
|
|
197
|
+
[s.disabled]: x,
|
|
198
|
+
[s.loading]: z,
|
|
199
|
+
[s.invalid]: v,
|
|
200
|
+
[s.required]: I
|
|
201
|
+
};
|
|
202
|
+
},
|
|
203
|
+
loadingIcon: o(c, "loadingIcon"),
|
|
204
|
+
iconButton: o(c, "iconButton"),
|
|
205
|
+
listContainer: (l) => {
|
|
206
|
+
const { c: n = c } = l, i = n.listContainer;
|
|
207
|
+
return {
|
|
208
|
+
[i.main]: !0,
|
|
209
|
+
[i.popup]: !0
|
|
210
|
+
};
|
|
211
|
+
},
|
|
212
|
+
input: o(c, "input"),
|
|
213
|
+
inputText: o(c, "inputText"),
|
|
214
|
+
listHeader: o(c, "listHeader"),
|
|
215
|
+
list: (l) => {
|
|
216
|
+
const { c: n = c, size: i, virtual: r } = l, u = n.list;
|
|
217
|
+
return {
|
|
218
|
+
[u.main]: !0,
|
|
219
|
+
[u.size[i]]: u.size[i],
|
|
220
|
+
[`${e.prefix}-${t.list}-${i}`]: i && !u.size[i],
|
|
221
|
+
[u.virtual]: r
|
|
222
|
+
};
|
|
223
|
+
},
|
|
224
|
+
listContent: o(c, "listContent"),
|
|
225
|
+
listFooter: o(c, "listFooter")
|
|
226
|
+
};
|
|
227
|
+
export {
|
|
228
|
+
S as uDropDownList,
|
|
229
|
+
G as uDropDownsActionSheet,
|
|
230
|
+
F as uDropDownsBase
|
|
231
|
+
};
|
package/unstyled/form.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./json-classes.js"),o=`${e.base.prefix}-${e.forms.form}`,a=`${e.base.prefix}-${e.forms.form}-${e.forms.field}`,l={form:{main:o,size:{small:`${o}-${e.sizeMap.small}`,medium:`${o}-${e.sizeMap.medium}`,large:`${o}-${e.sizeMap.large}`},orientation:{horizontal:`${o}-${e.orientationMap.horizontal}`,vertical:`${o}-${e.orientationMap.vertical}`}}},m={form:n=>{const{size:i,orientation:s,c:t=l}=n,r=t.form;return{[r.main]:!0,[r.size[i]]:r.size[i],[`${o}-${i}`]:!r.size[i],[r.orientation[s]]:r.orientation[s]}}},f={formField:{main:a,isRtl:`${e.base.prefix}-${e.base.rtl}`}},$={formField:n=>{const{isRtl:i,c:s=f}=n,t=s.formField;return{[t.main]:!0,[t.isRtl]:i}}};exports.uForm=m;exports.uFormField=$;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use client";
|
|
9
|
+
import { base as s, forms as l, sizeMap as n, orientationMap as a } from "./json-classes.mjs";
|
|
10
|
+
const o = `${s.prefix}-${l.form}`, f = `${s.prefix}-${l.form}-${l.field}`, $ = {
|
|
11
|
+
form: {
|
|
12
|
+
main: o,
|
|
13
|
+
size: {
|
|
14
|
+
small: `${o}-${n.small}`,
|
|
15
|
+
medium: `${o}-${n.medium}`,
|
|
16
|
+
large: `${o}-${n.large}`
|
|
17
|
+
},
|
|
18
|
+
orientation: {
|
|
19
|
+
horizontal: `${o}-${a.horizontal}`,
|
|
20
|
+
vertical: `${o}-${a.vertical}`
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}, u = {
|
|
24
|
+
form: (m) => {
|
|
25
|
+
const { size: i, orientation: e, c: t = $ } = m, r = t.form;
|
|
26
|
+
return {
|
|
27
|
+
[r.main]: !0,
|
|
28
|
+
[r.size[i]]: r.size[i],
|
|
29
|
+
[`${o}-${i}`]: !r.size[i],
|
|
30
|
+
[r.orientation[e]]: r.orientation[e]
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
}, c = {
|
|
34
|
+
formField: {
|
|
35
|
+
main: f,
|
|
36
|
+
isRtl: `${s.prefix}-${s.rtl}`
|
|
37
|
+
}
|
|
38
|
+
}, F = {
|
|
39
|
+
formField: (m) => {
|
|
40
|
+
const { isRtl: i, c: e = c } = m, t = e.formField;
|
|
41
|
+
return {
|
|
42
|
+
[t.main]: !0,
|
|
43
|
+
[t.isRtl]: i
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
export {
|
|
48
|
+
u as uForm,
|
|
49
|
+
F as uFormField
|
|
50
|
+
};
|
package/unstyled/grid.js
CHANGED
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./json-classes.js"),i
|
|
8
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./json-classes.js"),i={wrapper:{main:e.gridPrefix,size:{small:`${e.gridPrefix}-${e.sizeMap.small}`,medium:`${e.gridPrefix}-${e.sizeMap.medium}`},virtual:`${e.gridPrefix}-${e.base.virtual}`},ariaRoot:`${e.gridPrefix}-${e.grid.ariaRoot}`,container:`${e.gridPrefix}-${e.containers.container}`,content:{main:`${e.gridPrefix}-${e.containers.content}`,virtual:`${e.base.prefix}-${e.base.virtual}-${e.containers.content}`},tableWrap:`${e.gridPrefix}-${e.grid.tableWrap}`,table:{main:`${e.base.prefix}-${e.elements.table}`,gridTable:`${e.gridPrefix}-${e.elements.table}`,size:{small:`${e.base.prefix}-${e.elements.table}-${e.sizeMap.small}`,medium:`${e.base.prefix}-${e.elements.table}-${e.sizeMap.medium}`}},tbody:`${e.base.prefix}-${e.elements.table}-${e.elements.tbody}`,thead:{main:`${e.gridPrefix}-${e.elements.table}-${e.elements.thead}`,draggable:`${e.gridPrefix}-${e.states.draggable}-${e.elements.header}`},header:{main:`${e.gridPrefix}-${e.elements.header}`,draggable:`${e.gridPrefix}-${e.states.draggable}-${e.elements.header}`},headerWrap:`${e.gridPrefix}-${e.elements.header}-${e.containers.wrap}`,headerTable:{main:`${e.base.prefix}-${e.elements.table}`,header:`${e.gridPrefix}-${e.elements.header}-${e.elements.table}`,size:{small:`${e.base.prefix}-${e.elements.table}-${e.sizeMap.small}`,medium:`${e.base.prefix}-${e.elements.table}-${e.sizeMap.medium}`}},headerTh:{main:`${e.base.prefix}-${e.elements.table}-${e.elements.th}`,header:`${e.base.prefix}-${e.elements.header}`,first:`${e.base.prefix}-${e.states.first}`,filterable:`${e.base.prefix}-${e.states.filterable}`,locked:`${e.gridPrefix}-${e.elements.header}-${e.states.sticky}`,sorted:`${e.base.prefix}-${e.states.sorted}`},tableThead:`${e.base.prefix}-${e.elements.table}-${e.elements.thead}`,heightContainer:`${e.base.prefix}-${e.dimensions.height}-${e.containers.container}`,sortIcon:`${e.base.prefix}-${e.states.sort}-${e.elements.icon}`,sortOrder:`${e.base.prefix}-${e.states.sort}-${e.states.order}`,tr:{main:`${e.base.prefix}-${e.elements.table}-${e.grid.row}`,header:`${e.base.prefix}-${e.elements.table}-${e.grid.group}-${e.grid.row}`,grouping:`${e.base.prefix}-${e.states.grouping}-${e.grid.row}`,footer:`${e.base.prefix}-${e.grid.group}-${e.elements.footer}`,master:`${e.base.prefix}-${e.grid.master}-${e.grid.row}`,rowAlt:`${e.base.prefix}-${e.elements.table}-${e.states.alt}-${e.grid.row}`,alt:`${e.base.prefix}-${e.states.alt}`,selected:`${e.base.prefix}-${e.states.selected}`,isInEdit:`${e.gridPrefix}-${e.states.edit}-${e.grid.row}`},detailTr:{main:`${e.base.prefix}-${e.elements.table}-${e.grid.row}`,row:`${e.base.prefix}-${e.grid.detail}-${e.grid.row}`,rowAlt:`${e.base.prefix}-${e.elements.table}-${e.states.alt}-${e.grid.row}`,alt:`${e.base.prefix}-${e.states.alt}`},simpleTr:`${e.base.prefix}-${e.elements.table}-${e.grid.row}`,headerCellInner:`${e.base.prefix}-${e.grid.cellInner}`,columnTitle:`${e.base.prefix}-${e.grid.column}-${e.elements.title}`,headerCellLink:{main:`${e.base.prefix}-${e.elements.link}`,notSortable:`${e.base.important}${e.base.prefix}-${e.cursor.default}`},noRecords:`${e.gridPrefix}-${e.grid.noRecords}`,noRecordsTemplate:`${e.gridPrefix}-${e.grid.noRecords}-${e.states.template}`,pager:`${e.gridPrefix}-${e.grid.pager}`,sorted:`${e.base.prefix}-${e.states.sorted}`,contentSticky:`${e.gridPrefix}-${e.containers.content}-${e.states.sticky}`,hierarchyCell:{main:`${e.base.prefix}-${e.grid.hierarchy}-${e.grid.cell}`,header:`${e.base.prefix}-${e.elements.header}`},td:{main:`${e.base.prefix}-${e.elements.table}-${e.elements.td}`,selected:`${e.base.prefix}-${e.states.selected}`},detailTd:{main:`${e.base.prefix}-${e.elements.table}-${e.elements.td}`,cell:`${e.base.prefix}-${e.grid.detail}-${e.grid.cell}`},editTd:{main:`${e.base.prefix}-${e.elements.table}-${e.elements.td}`,cell:`${e.gridPrefix}-${e.states.edit}-${e.grid.cell}`,selected:`${e.base.prefix}-${e.states.selected}`},hierarchyTd:{main:`${e.base.prefix}-${e.elements.table}-${e.elements.td}`,cell:`${e.base.prefix}-${e.grid.hierarchy}-${e.grid.cell}`}},o={wrapper:t=>{const{size:r,virtual:a,c:s=i.wrapper}=t;return{[s.main]:!0,[s.size[r]]:s.size[r],[`${e.gridPrefix}-${r}`]:r&&!s.size[r],[s.virtual]:a}},ariaRoot:t=>{const{c:r=i}=t;return r.ariaRoot},container:t=>{const{c:r=i}=t;return r.container},content:t=>{const{c:r=i.content}=t;return{[r.main]:!0,[r.virtual]:!0}},tableWrap:t=>{const{c:r=i}=t;return r.tableWrap},table:t=>{const{size:r,c:a=i.table}=t;return{[a.main]:!0,[a.gridTable]:!0,[a.size[r]]:a.size[r],[`${e.base.prefix}-${e.elements}-${r}`]:!a.size[r]}},tbody:t=>{const{c:r=i}=t;return r.tbody},thead:t=>{const{draggable:r,c:a=i.thead}=t;return{[a.main]:!0,[a.draggable]:r}},header:t=>{const{draggable:r,c:a=i.header}=t;return{[a.main]:!0,[a.draggable]:r}},headerWrap:t=>{const{c:r=i}=t;return r.headerWrap},headerTable:t=>{const{size:r,c:a=i.headerTable}=t;return{[a.main]:!0,[a.header]:!0,[a.size[r]]:a.size[r],[`${e.base.prefix}-${e.elements.table}-${r}`]:!a.size[r]}},headerTh:t=>{const{first:r,filterable:a,locked:s,sorted:d,c:l=i.headerTh}=t;return{[l.main]:!0,[l.header]:!0,[l.first]:r,[l.filterable]:a,[l.locked]:s,[l.sorted]:d}},tableThead:t=>{const{c:r=i}=t;return r.tableThead},heightContainer:t=>{const{c:r=i}=t;return r.heightContainer},sortIcon:t=>{const{c:r=i}=t;return r.sortIcon},sortOrder:t=>{const{c:r=i}=t;return r.sortOrder},tr:t=>{const{isHeader:r,isFooter:a,isMaster:s,isAltRow:d,selected:l,isInEdit:$,c:n=i.tr}=t;return{[n.main]:!0,[n.header]:r,[n.grouping]:r,[n.footer]:a,[n.master]:s,[n.rowAlt]:s&&d,[n.alt]:s&&d,[n.selected]:l,[n.isInEdit]:$}},detailTr:t=>{const{isAlt:r,c:a=i.detailTr}=t;return{[a.main]:!0,[a.row]:!0,[a.rowAlt]:r,[a.alt]:r}},simpleTr:t=>{const{c:r=i}=t;return r.simpleTr},headerCellInner:t=>{const{c:r=i}=t;return r.headerCellInner},columnTitle:t=>{const{c:r=i}=t;return r.columnTitle},headerCellLink:t=>{const{sortable:r,c:a=i.headerCellLink}=t;return{[a.main]:!0,[a.notSortable]:!r}},noRecords:t=>{const{c:r=i}=t;return r.noRecords},noRecordsTemplate:t=>{const{c:r=i}=t;return r.noRecordsTemplate},pager:t=>{const{c:r=i}=t;return r.pager},sorted:t=>{const{c:r=i}=t;return r.sorted},contentSticky:t=>{const{locked:r,c:a=i}=t;return{[a.contentSticky]:r}},hierarchyCell:t=>{const{c:r=i.hierarchyCell}=t;return{[r.main]:!0,[r.header]:!0}},td:t=>{const{selected:r,c:a=i.td}=t;return{[a.main]:!0,[a.selected]:r}},detailTd:t=>{const{c:r=i.detailTd}=t;return{[r.main]:!0,[r.cell]:!0}},editTd:t=>{const{selected:r,c:a=i.editTd}=t;return{[a.main]:!0,[a.cell]:!0,[a.selected]:r}},hierarchyTd:t=>{const{c:r=i.hierarchyTd}=t;return{[r.main]:!0,[r.cell]:!0}}};exports.uGrid=o;
|