@progress/kendo-react-common 13.3.0 → 13.4.0-develop.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (115) hide show
  1. package/Draggable.d.ts +93 -0
  2. package/Droppable.d.ts +84 -0
  3. package/FormComponent.d.ts +218 -0
  4. package/apply-default-props.d.ts +13 -0
  5. package/browser-support.service.d.ts +14 -0
  6. package/canUseDOM.d.ts +11 -0
  7. package/canUseRef.d.ts +12 -0
  8. package/classNames.d.ts +15 -0
  9. package/clone.d.ts +27 -0
  10. package/constants/main.d.ts +27 -0
  11. package/contexts/AdaptiveModeContext.d.ts +50 -0
  12. package/contexts/AdaptiveModeContext.mjs +2 -2
  13. package/contexts/ZIndexContext.d.ts +14 -0
  14. package/deep-merge.d.ts +13 -0
  15. package/dist/cdn/js/kendo-react-common.js +1 -1
  16. package/drag-n-drop/context/index.d.ts +24 -0
  17. package/drag-n-drop/index.d.ts +33 -0
  18. package/events/BaseEvent.d.ts +25 -0
  19. package/events/dispatchEvent.d.ts +21 -0
  20. package/fieldList.d.ts +11 -0
  21. package/fileExtensionIcon.d.ts +12 -0
  22. package/getActiveElement.d.ts +15 -0
  23. package/getTabIndex.d.ts +11 -0
  24. package/getter.d.ts +21 -0
  25. package/guid.d.ts +11 -0
  26. package/hasRelativeStackingContext.d.ts +9 -0
  27. package/hocs/AsyncFocusBlur.d.ts +20 -0
  28. package/hocs/use-adaptive-mode-hoc.d.ts +10 -0
  29. package/hocs/use-id-hoc.d.ts +10 -0
  30. package/hocs/use-unstyled-hoc.d.ts +10 -0
  31. package/hocs/withPropsContext.d.ts +12 -0
  32. package/hocs/withzIndexContext.d.ts +10 -0
  33. package/hooks/index.d.ts +19 -0
  34. package/hooks/use-id.d.ts +9 -0
  35. package/hooks/use-immediate-inherit-state.d.ts +13 -0
  36. package/hooks/use-isomorphic-layout-effect.d.ts +10 -0
  37. package/hooks/useAsyncFocusBlur.d.ts +32 -0
  38. package/hooks/useCollection.d.ts +21 -0
  39. package/hooks/useControlledState.d.ts +11 -0
  40. package/hooks/useCustomComponent.d.ts +16 -0
  41. package/hooks/useDir.d.ts +12 -0
  42. package/hooks/useDocument.d.ts +14 -0
  43. package/hooks/useDraggable.d.ts +75 -0
  44. package/hooks/useDroppable.d.ts +46 -0
  45. package/hooks/useInheritedState.d.ts +23 -0
  46. package/hooks/useMouse.d.ts +27 -0
  47. package/hooks/usePointer.d.ts +28 -0
  48. package/hooks/usePropsContext.d.ts +10 -0
  49. package/hooks/useRtl.d.ts +12 -0
  50. package/hooks/useTouch.d.ts +22 -0
  51. package/hooks/useWindow.d.ts +14 -0
  52. package/icons/BaseIconProps.d.ts +79 -0
  53. package/icons/Icon.d.ts +41 -0
  54. package/icons/IconWrap.d.ts +14 -0
  55. package/icons/IconsContext.d.ts +28 -0
  56. package/icons/SvgIcon.d.ts +77 -0
  57. package/icons/constants.d.ts +20 -0
  58. package/icons/models/flip.d.ts +18 -0
  59. package/icons/models/size.d.ts +22 -0
  60. package/icons/models/theme-color.d.ts +28 -0
  61. package/icons/utils.d.ts +24 -0
  62. package/index.d.mts +74 -4288
  63. package/index.d.ts +74 -4288
  64. package/keys.d.ts +47 -0
  65. package/memoize.d.ts +17 -0
  66. package/models/auto-scroll-options.d.ts +29 -0
  67. package/models/index.d.ts +12 -0
  68. package/models/kendoReactComponentBaseProps.d.ts +30 -0
  69. package/models/mouse.d.ts +56 -0
  70. package/models/pointer.d.ts +30 -0
  71. package/models/touch.d.ts +24 -0
  72. package/navigation.d.ts +166 -0
  73. package/noop.d.ts +11 -0
  74. package/package.json +1 -1
  75. package/rowHeightService.d.ts +31 -0
  76. package/scrollbarWidth.d.ts +15 -0
  77. package/setter.d.ts +23 -0
  78. package/theme.d.ts +15 -0
  79. package/trappedFocus.d.ts +44 -0
  80. package/tree-utils/FieldsService.d.ts +32 -0
  81. package/tree-utils/SortedPublicItemIds.d.ts +15 -0
  82. package/tree-utils/itemIdUtils.d.ts +67 -0
  83. package/tree-utils/itemIdUtils.mjs +51 -51
  84. package/tree-utils/itemUtils.d.ts +52 -0
  85. package/tree-utils/misc.d.ts +15 -0
  86. package/treeDataOperations.d.ts +46 -0
  87. package/typography/Typography.d.ts +41 -0
  88. package/typography/TypographyProps.d.ts +127 -0
  89. package/typography/constants.d.ts +91 -0
  90. package/typography/models/margin.d.ts +30 -0
  91. package/unstyled/animations.d.ts +96 -0
  92. package/unstyled/buttons.d.ts +186 -0
  93. package/unstyled/buttons.js +1 -1
  94. package/unstyled/buttons.mjs +104 -194
  95. package/unstyled/dateinputs.d.ts +397 -0
  96. package/unstyled/dateinputs.mjs +19 -19
  97. package/unstyled/dropdowns.d.ts +314 -0
  98. package/unstyled/dropdowns.mjs +1 -1
  99. package/unstyled/form.d.ts +71 -0
  100. package/unstyled/form.mjs +1 -1
  101. package/unstyled/grid.d.ts +12 -0
  102. package/unstyled/grid.js +1 -1
  103. package/unstyled/grid.mjs +51 -50
  104. package/unstyled/icons.d.ts +89 -0
  105. package/unstyled/icons.mjs +1 -1
  106. package/unstyled/inputs.d.ts +213 -0
  107. package/unstyled/inputs.mjs +14 -14
  108. package/unstyled/interfaces/common.d.ts +138 -0
  109. package/unstyled/json-classes.d.ts +378 -0
  110. package/unstyled/labels.d.ts +99 -0
  111. package/unstyled/main.d.ts +34 -0
  112. package/unstyled/popup.d.ts +123 -0
  113. package/unstyled/popup.mjs +3 -3
  114. package/validate-package.d.ts +38 -0
  115. package/watermark/WatermarkOverlay.d.ts +21 -0
@@ -0,0 +1,314 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { WidgetClassStructure } from './interfaces/common.js';
9
+ export interface DropDownBaseListItemClasses {
10
+ /** Main class for the list item */
11
+ main?: string;
12
+ /** Class for the selected state of the list item */
13
+ selected?: string;
14
+ /** Class for the focused state of the list item */
15
+ focused?: string;
16
+ /** Class for the first item in the list */
17
+ first?: string;
18
+ /** Class for the disabled state of the list item */
19
+ disabled?: string;
20
+ }
21
+ export interface DropDownBaseGroupLiClasses {
22
+ /** Class for the list of grouped items */
23
+ list?: string;
24
+ /** Class for the table representation of grouped items */
25
+ table?: string;
26
+ }
27
+ export interface DropDownBaseGroupItemClasses {
28
+ /** Class for the text of list items in a group */
29
+ list?: string;
30
+ /** Class for the header cell text in a group table */
31
+ table?: string;
32
+ }
33
+ export interface DropDownBaseOptionLabelClasses {
34
+ /** Main class for the option label */
35
+ main?: string;
36
+ /** Class for the selected state of the option label */
37
+ selected?: string;
38
+ }
39
+ export interface DropDownBaseClasses {
40
+ /** Class for the clear button */
41
+ clearButton?: string;
42
+ /** Class for the sticky header of the grouped list */
43
+ groupStickyHeader?: string;
44
+ /** Class for the header text in the list */
45
+ listHeaderText?: string;
46
+ /** Class for the unordered list element */
47
+ ul?: string;
48
+ /** List item configurations */
49
+ li?: DropDownBaseListItemClasses;
50
+ /** Grouped list item configurations */
51
+ groupLi?: DropDownBaseGroupLiClasses;
52
+ /** Class for the text of regular list items */
53
+ itemText?: string;
54
+ /** Grouped item text configurations */
55
+ groupItemText?: DropDownBaseGroupItemClasses;
56
+ /** Class for the label of grouped items */
57
+ itemGroupLabel?: string;
58
+ /** Class for displaying no data message */
59
+ noData?: string;
60
+ /** Class for the height container */
61
+ heightContainer?: string;
62
+ /** Option label configurations */
63
+ optionLabel?: DropDownBaseOptionLabelClasses;
64
+ /** Class for the inner input */
65
+ inputInner?: string;
66
+ /** Class for the input icon */
67
+ inputIcon?: string;
68
+ /** Class for the search box component */
69
+ searchbox?: string;
70
+ /** Class for the list filter */
71
+ listFilter?: string;
72
+ }
73
+ /**
74
+ * @hidden
75
+ */
76
+ export declare const uDropDownsBase: WidgetClassStructure;
77
+ export interface DropDownsActionSheetClasses {
78
+ /** Wrapper configurations for the action sheet component */
79
+ wrapper?: {
80
+ /** Main class for the action sheet */
81
+ main?: string;
82
+ /** Class for the fullscreen state of the action sheet */
83
+ fullscreen?: string;
84
+ /** Class for the bottom state of the action sheet */
85
+ bottom?: string;
86
+ };
87
+ /** Class for the header text, centered */
88
+ header?: string;
89
+ /** Title bar configurations for the action sheet */
90
+ titleBar?: {
91
+ /** Main class for the title bar within the action sheet */
92
+ main?: string;
93
+ /** Class for positioning the title bar horizontally */
94
+ position?: string;
95
+ };
96
+ /** Class for the title of the action sheet */
97
+ title?: string;
98
+ /** Subtitle configurations for the action sheet */
99
+ subtitle?: {
100
+ /** Main class for the subtitle in the action sheet */
101
+ main?: string;
102
+ /** Class for centered text in the subtitle */
103
+ textCenter?: string;
104
+ };
105
+ /** Class for the actions container within the action sheet */
106
+ actions?: string;
107
+ /** Title bar group configurations for the action sheet */
108
+ titleBarGroup?: {
109
+ /** Main class for the title bar group */
110
+ main?: string;
111
+ /** Class for the filter within the action sheet */
112
+ filter?: string;
113
+ };
114
+ }
115
+ /**
116
+ * @hidden
117
+ */
118
+ export declare const uDropDownsActionSheet: WidgetClassStructure;
119
+ export interface DropDownListClasses {
120
+ /** Wrapper configurations for the dropdown list component */
121
+ wrapper?: {
122
+ /** Main class for the dropdown list */
123
+ main?: string;
124
+ /** Class for the picker element */
125
+ picker?: string;
126
+ /** Size configurations for the picker */
127
+ size?: {
128
+ /** Class for the small size of the picker */
129
+ small?: string;
130
+ /** Class for the medium size of the picker */
131
+ medium?: string;
132
+ /** Class for the large size of the picker */
133
+ large?: string;
134
+ };
135
+ /** Fill mode configurations for the picker */
136
+ fillMode?: {
137
+ /** Class for the solid fill mode of the picker */
138
+ solid?: string;
139
+ /** Class for the outline fill mode of the picker */
140
+ outline?: string;
141
+ /** Class for the flat fill mode of the picker */
142
+ flat?: string;
143
+ /** Class for the link fill mode of the picker */
144
+ link?: string;
145
+ /** Class for the clear fill mode of the picker */
146
+ clear?: string;
147
+ };
148
+ /** Rounded configurations for the picker */
149
+ rounded?: {
150
+ /** Class for the small rounded picker */
151
+ small?: string;
152
+ /** Class for the medium rounded picker */
153
+ medium?: string;
154
+ /** Class for the large rounded picker */
155
+ large?: string;
156
+ };
157
+ /** Class for the disabled state of the picker */
158
+ disabled?: string;
159
+ /** Class for the focused state of the picker */
160
+ focused?: string;
161
+ /** Class for the invalid state of the picker */
162
+ invalid?: string;
163
+ /** Class for the loading state of the picker */
164
+ loading?: string;
165
+ /** Class for the required state of the picker */
166
+ required?: string;
167
+ };
168
+ /** Class for the loading icon associated with the input */
169
+ loadingIcon?: string;
170
+ /** Class for the input button within the dropdown list */
171
+ inputButton?: string;
172
+ /** List container configurations for the dropdown list */
173
+ listContainer?: {
174
+ /** Main class for the list container */
175
+ main?: string;
176
+ /** Class for the popup within the dropdown list */
177
+ popup?: string;
178
+ };
179
+ /** Class for the inner input of the dropdown list */
180
+ inputInner?: string;
181
+ /** Class for the input text of the dropdown list */
182
+ inputText?: string;
183
+ /** Class for the header of the list within the dropdown */
184
+ listHeader?: string;
185
+ /** List configurations for the dropdown list */
186
+ list?: {
187
+ /** Main class for the list */
188
+ main?: string;
189
+ /** Size configurations for the list */
190
+ size?: {
191
+ /** Class for the small size of the list */
192
+ small?: string;
193
+ /** Class for the medium size of the list */
194
+ medium?: string;
195
+ /** Class for the large size of the list */
196
+ large?: string;
197
+ };
198
+ /** Class for the virtual list configuration */
199
+ virtual?: string;
200
+ };
201
+ /** Class for the content of the list within the dropdown */
202
+ listContent?: string;
203
+ /** Class for the footer of the list within the dropdown */
204
+ listFooter?: string;
205
+ }
206
+ /**
207
+ * @hidden
208
+ */
209
+ export declare const uDropDownList: WidgetClassStructure;
210
+ export interface ComboBoxClasses {
211
+ /** Wrapper configurations for the combo box component */
212
+ wrapper?: {
213
+ /** Main prefix for the combo box */
214
+ main?: string;
215
+ /** Class for the input element */
216
+ input?: string;
217
+ /** Size configurations for the input */
218
+ size?: {
219
+ /** Class for the small size of the input */
220
+ small?: string;
221
+ /** Class for the medium size of the input */
222
+ medium?: string;
223
+ /** Class for the large size of the input */
224
+ large?: string;
225
+ };
226
+ /** Fill mode configurations for the input */
227
+ fillMode?: {
228
+ /** Class for the solid fill mode of the input */
229
+ solid?: string;
230
+ /** Class for the outline fill mode of the input */
231
+ outline?: string;
232
+ /** Class for the flat fill mode of the input */
233
+ flat?: string;
234
+ /** Class for the link fill mode of the input */
235
+ link?: string;
236
+ /** Class for the clear fill mode of the input */
237
+ clear?: string;
238
+ };
239
+ /** Rounded configurations for the input */
240
+ rounded?: {
241
+ /** Class for the small rounded input */
242
+ small?: string;
243
+ /** Class for the medium rounded input */
244
+ medium?: string;
245
+ /** Class for the large rounded input */
246
+ large?: string;
247
+ };
248
+ /** Class for the disabled state of the input */
249
+ disabled?: string;
250
+ /** Class for the invalid state of the input */
251
+ invalid?: string;
252
+ /** Class for the loading state of the input */
253
+ loading?: string;
254
+ /** Class for the required state of the input */
255
+ required?: string;
256
+ };
257
+ /** Class for the loading icon associated with the input */
258
+ loadingIcon?: string;
259
+ /** Class for the input button within the combo box */
260
+ inputButton?: string;
261
+ /** List container configurations for the combo box */
262
+ listContainer?: {
263
+ /** Main prefix for the list container */
264
+ main?: string;
265
+ /** Class for the popup within the combo box */
266
+ popup?: string;
267
+ };
268
+ /** Class for the header of the list within the combo box */
269
+ listHeader?: string;
270
+ /** List configurations for the combo box */
271
+ list?: {
272
+ /** Main prefix for the list */
273
+ list?: string;
274
+ /** Class for the table element within the list */
275
+ table?: string;
276
+ /** Size configurations for the list */
277
+ size?: {
278
+ /** Class for the list size */
279
+ prefix?: string;
280
+ /** Class for the small size of the list */
281
+ small?: string;
282
+ /** Class for the medium size of the list */
283
+ medium?: string;
284
+ /** Class for the large size of the list */
285
+ large?: string;
286
+ };
287
+ /** Table size configurations for the list */
288
+ tableSize?: {
289
+ /** Class for the table size */
290
+ prefix?: string;
291
+ /** Class for the small size of the table */
292
+ small?: string;
293
+ /** Class for the medium size of the table */
294
+ medium?: string;
295
+ /** Class for the large size of the table */
296
+ large?: string;
297
+ };
298
+ /** Class for the virtual list configuration */
299
+ virtual?: string;
300
+ };
301
+ /** List content configurations for the combo box */
302
+ listContent?: {
303
+ /** Main prefix for the list content */
304
+ main?: string;
305
+ /** Class for the scroller within the list content */
306
+ scroller?: string;
307
+ };
308
+ /** Class for the footer of the list within the combo box */
309
+ listFooter?: string;
310
+ }
311
+ /**
312
+ * @hidden
313
+ */
314
+ export declare const uComboBox: WidgetClassStructure;
@@ -6,7 +6,7 @@
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
8
  import { getClassByName as s } from "./interfaces/common.mjs";
9
- import { base as e, containers as i, states as u, elements as o, dimensions as y, inputPrefix as p, inputs as T, icon as H, components as b, cssUtils as D, dropDownListPrefix as P, pickerPrefix as g, sizeMap as f, fillModeMap as z, roundedMap as L, comboBoxPrefix as A } from "./json-classes.mjs";
9
+ import { base as e, containers as i, components as b, inputs as T, icon as H, inputPrefix as p, states as u, dimensions as y, elements as o, cssUtils as D, sizeMap as f, roundedMap as L, pickerPrefix as g, fillModeMap as z, dropDownListPrefix as P, comboBoxPrefix as A } from "./json-classes.mjs";
10
10
  const d = {
11
11
  clearButton: `${e.prefix}-${e.clear}-${e.value}`,
12
12
  groupStickyHeader: `${e.prefix}-${i.list}-${i.group}-${u.sticky}-${o.header}`,
@@ -0,0 +1,71 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { WidgetClassStructure } from './interfaces/common.js';
9
+ export interface FormClasses {
10
+ /** Form configurations */
11
+ form?: {
12
+ /** Main class for the form */
13
+ main?: string;
14
+ /** Size configurations for the form */
15
+ size?: {
16
+ /** Prefix for size classes */
17
+ prefix?: string;
18
+ /** Class for small size */
19
+ small?: string;
20
+ /** Class for medium size */
21
+ medium?: string;
22
+ /** Class for large size */
23
+ large?: string;
24
+ };
25
+ /** Orientation configurations for the form */
26
+ orientation?: {
27
+ /** Class for horizontal orientation */
28
+ horizontal?: string;
29
+ /** Class for vertical orientation */
30
+ vertical?: string;
31
+ };
32
+ };
33
+ /** Layout configurations for the form */
34
+ formLayout?: {
35
+ /** Main class for form layout */
36
+ main?: string;
37
+ };
38
+ /** Fieldset configurations within the form */
39
+ fieldset?: {
40
+ /** Main class for form fieldset */
41
+ main?: string;
42
+ /** Layout configurations for the form fieldset */
43
+ layout?: {
44
+ /** Main class for form fieldset layout */
45
+ main?: string;
46
+ };
47
+ };
48
+ /** Class for the form legend */
49
+ legend?: {
50
+ /** Main class for form legend */
51
+ main?: string;
52
+ };
53
+ /** Field configurations within the form */
54
+ field?: {
55
+ /** Main class for form fields */
56
+ main?: string;
57
+ /** Class indicating right-to-left (RTL) layout */
58
+ isRtl?: string;
59
+ };
60
+ /**
61
+ * Separator configurations within the form.
62
+ */
63
+ separator?: {
64
+ /** Main class for form field separator */
65
+ main?: string;
66
+ };
67
+ }
68
+ /**
69
+ * @hidden
70
+ */
71
+ export declare const uForm: WidgetClassStructure;
package/unstyled/form.mjs CHANGED
@@ -5,7 +5,7 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- import { base as o, forms as t, sizeMap as m, orientationMap as $ } from "./json-classes.mjs";
8
+ import { base as o, forms as t, orientationMap as $, sizeMap as m } from "./json-classes.mjs";
9
9
  const n = `${o.prefix}-${t.form}`, c = `${o.prefix}-${t.form}-${t.field}`, a = {
10
10
  form: {
11
11
  main: n,
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { WidgetClassStructure } from './interfaces/common.js';
9
+ /**
10
+ * @hidden
11
+ */
12
+ export declare const uGrid: WidgetClassStructure;
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 strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./json-classes.js"),a={wrapper:{main:e.gridPrefix,size:{small:`${e.gridPrefix}-${e.sizeMap.small}`,medium:`${e.gridPrefix}-${e.sizeMap.medium}`},virtual:`${e.gridPrefix}-${e.base.virtual}`,stacked:`${e.gridPrefix}-stack`},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}`,selected:`${e.base.prefix}-${e.states.selected}`,highlighted:`${e.base.prefix}-${e.states.highlighted}`,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}`},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}`},rowReorder:{dropIndicator:{main:`${e.base.prefix}-${e.gridRowReorder.drop}-${e.gridRowReorder.hint}`,direction:`${e.base.prefix}-${e.gridRowReorder.drop}-${e.gridRowReorder.hint}-${e.gridRowReorder.horizontal}`},dragClue:{main:`${e.base.prefix}-${e.gridRowReorder.drag}-${e.gridRowReorder.clue}`,operation:`${e.base.prefix}-${e.gridRowReorder.reorder}-${e.gridRowReorder.clue}`}},td:{main:`${e.base.prefix}-${e.elements.table}-${e.elements.td}`,selected:`${e.base.prefix}-${e.states.selected}`,highlighted:`${e.base.prefix}-${e.states.highlighted}`},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}`}},c={wrapper:t=>{const{size:r,virtual:i,isStackedMode:n,c:d=a.wrapper}=t;return{[d.main]:!0,[d.size[r]]:d.size[r],[`${e.gridPrefix}-${r}`]:r&&!d.size[r],[d.virtual]:i,[d.stacked]:n}},ariaRoot:t=>{const{c:r=a}=t;return r.ariaRoot},container:t=>{const{c:r=a}=t;return r.container},content:t=>{const{c:r=a.content}=t;return{[r.main]:!0,[r.virtual]:!0}},tableWrap:t=>{const{c:r=a}=t;return r.tableWrap},table:t=>{const{size:r,c:i=a.table}=t;return{[i.main]:!0,[i.gridTable]:!0,[i.size[r]]:i.size[r],[`${e.base.prefix}-${e.elements}-${r}`]:!i.size[r]}},tbody:t=>{const{c:r=a}=t;return r.tbody},thead:t=>{const{draggable:r,c:i=a.thead}=t;return{[i.main]:!0,[i.draggable]:r}},header:t=>{const{draggable:r,c:i=a.header}=t;return{[i.main]:!0,[i.draggable]:r}},headerWrap:t=>{const{c:r=a}=t;return r.headerWrap},headerTable:t=>{const{size:r,c:i=a.headerTable}=t;return{[i.main]:!0,[i.header]:!0,[i.size[r]]:i.size[r],[`${e.base.prefix}-${e.elements.table}-${r}`]:!i.size[r]}},headerTh:t=>{const{first:r,filterable:i,locked:n,sorted:d,c:s=a.headerTh}=t;return{[s.main]:!0,[s.header]:!0,[s.first]:r,[s.filterable]:i,[s.locked]:n,[s.sorted]:d}},tableThead:t=>{const{c:r=a}=t;return r.tableThead},heightContainer:t=>{const{c:r=a}=t;return r.heightContainer},sortIcon:t=>{const{c:r=a}=t;return r.sortIcon},sortOrder:t=>{const{c:r=a}=t;return r.sortOrder},tr:t=>{const{isHeader:r,isFooter:i,isMaster:n,isAltRow:d,selected:s,highlighted:o,isInEdit:$,c:l=a.tr}=t;return{[l.main]:!0,[l.header]:r,[l.grouping]:r,[l.footer]:i,[l.master]:n,[l.rowAlt]:n&&d,[l.selected]:s,[l.highlighted]:o,[l.isInEdit]:$}},detailTr:t=>{const{isAlt:r,c:i=a.detailTr}=t;return{[i.main]:!0,[i.row]:!0,[i.rowAlt]:r}},simpleTr:t=>{const{c:r=a}=t;return r.simpleTr},rowReorder:t=>{const{dropIndicatorMain:r,dropIndicatorDirection:i,dragClueMain:n,dragClueOperation:d,c:s=a.rowReorder}=t;return{[s.dropIndicator.main]:r,[s.dropIndicator.direction]:i,[s.dragClue.main]:n,[s.dragClue.operation]:d}},headerCellInner:t=>{const{c:r=a}=t;return r.headerCellInner},columnTitle:t=>{const{c:r=a}=t;return r.columnTitle},headerCellLink:t=>{const{sortable:r,c:i=a.headerCellLink}=t;return{[i.main]:!0,[i.notSortable]:!r}},noRecords:t=>{const{c:r=a}=t;return r.noRecords},noRecordsTemplate:t=>{const{c:r=a}=t;return r.noRecordsTemplate},pager:t=>{const{c:r=a}=t;return r.pager},sorted:t=>{const{c:r=a}=t;return r.sorted},contentSticky:t=>{const{locked:r,c:i=a}=t;return{[i.contentSticky]:r}},hierarchyCell:t=>{const{c:r=a.hierarchyCell}=t;return{[r.main]:!0,[r.header]:!0}},td:t=>{const{selected:r,highlighted:i,c:n=a.td}=t;return{[n.main]:!0,[n.selected]:r,[n.highlighted]:i}},detailTd:t=>{const{c:r=a.detailTd}=t;return{[r.main]:!0,[r.cell]:!0}},editTd:t=>{const{selected:r,c:i=a.editTd}=t;return{[i.main]:!0,[i.cell]:!0,[i.selected]:r}},hierarchyTd:t=>{const{c:r=a.hierarchyTd}=t;return{[r.main]:!0,[r.cell]:!0}}};exports.uGrid=c;
8
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./json-classes.js"),a={wrapper:{main:e.gridPrefix,size:{small:`${e.gridPrefix}-${e.sizeMap.small}`,medium:`${e.gridPrefix}-${e.sizeMap.medium}`},virtual:`${e.gridPrefix}-${e.base.virtual}`,stacked:`${e.gridPrefix}-stack`},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}`,selected:`${e.base.prefix}-${e.states.selected}`,highlighted:`${e.base.prefix}-${e.states.highlighted}`,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}`},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}`},rowReorder:{dropIndicator:{main:`${e.base.prefix}-${e.gridRowReorder.drop}-${e.gridRowReorder.hint}`,direction:`${e.base.prefix}-${e.gridRowReorder.drop}-${e.gridRowReorder.hint}-${e.gridRowReorder.horizontal}`},dragClue:{main:`${e.base.prefix}-${e.gridRowReorder.drag}-${e.gridRowReorder.clue}`,operation:`${e.base.prefix}-${e.gridRowReorder.reorder}-${e.gridRowReorder.clue}`}},td:{main:`${e.base.prefix}-${e.elements.table}-${e.elements.td}`,selected:`${e.base.prefix}-${e.states.selected}`,highlighted:`${e.base.prefix}-${e.states.highlighted}`},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}`}},c={wrapper:t=>{const{size:r,virtual:i,isStackedMode:n,c:d=a.wrapper}=t;return{[d.main]:!0,[d.size[r]]:d.size[r],[`${e.gridPrefix}-${r}`]:r&&!d.size[r],[d.virtual]:i,[d.stacked]:n}},ariaRoot:t=>{const{c:r=a}=t;return r.ariaRoot},container:t=>{const{c:r=a}=t;return r.container},content:t=>{const{c:r=a.content}=t;return{[r.main]:!0,[r.virtual]:!0}},tableWrap:t=>{const{c:r=a}=t;return r.tableWrap},table:t=>{var n,d,s;const{size:r,c:i=a.table}=t;return{[i.main]:!0,[i.gridTable]:!0,[(n=i.size)==null?void 0:n[r]]:r!==void 0&&((d=i.size)==null?void 0:d[r]),[`${e.base.prefix}-${e.elements.table}-${r}`]:r!==void 0&&!((s=i.size)!=null&&s[r])}},tbody:t=>{const{c:r=a}=t;return r.tbody},thead:t=>{const{draggable:r,c:i=a.thead}=t;return{[i.main]:!0,[i.draggable]:r}},header:t=>{const{draggable:r,c:i=a.header}=t;return{[i.main]:!0,[i.draggable]:r}},headerWrap:t=>{const{c:r=a}=t;return r.headerWrap},headerTable:t=>{const{size:r,c:i=a.headerTable}=t;return{[i.main]:!0,[i.header]:!0,[i.size[r]]:r!==void 0&&i.size[r],[`${e.base.prefix}-${e.elements.table}-${r}`]:r!==void 0&&!i.size[r]}},headerTh:t=>{const{first:r,filterable:i,locked:n,sorted:d,c:s=a.headerTh}=t;return{[s.main]:!0,[s.header]:!0,[s.first]:r,[s.filterable]:i,[s.locked]:n,[s.sorted]:d}},tableThead:t=>{const{c:r=a}=t;return r.tableThead},heightContainer:t=>{const{c:r=a}=t;return r.heightContainer},sortIcon:t=>{const{c:r=a}=t;return r.sortIcon},sortOrder:t=>{const{c:r=a}=t;return r.sortOrder},tr:t=>{const{isHeader:r,isFooter:i,isMaster:n,isAltRow:d,selected:s,highlighted:o,isInEdit:$,c:l=a.tr}=t;return{[l.main]:!0,[l.header]:r,[l.grouping]:r,[l.footer]:i,[l.master]:n,[l.rowAlt]:n&&d,[l.selected]:s,[l.highlighted]:o,[l.isInEdit]:$}},detailTr:t=>{const{isAlt:r,c:i=a.detailTr}=t;return{[i.main]:!0,[i.row]:!0,[i.rowAlt]:r}},simpleTr:t=>{const{c:r=a}=t;return r.simpleTr},rowReorder:t=>{const{dropIndicatorMain:r,dropIndicatorDirection:i,dragClueMain:n,dragClueOperation:d,c:s=a.rowReorder}=t;return{[s.dropIndicator.main]:r,[s.dropIndicator.direction]:i,[s.dragClue.main]:n,[s.dragClue.operation]:d}},headerCellInner:t=>{const{c:r=a}=t;return r.headerCellInner},columnTitle:t=>{const{c:r=a}=t;return r.columnTitle},headerCellLink:t=>{const{sortable:r,c:i=a.headerCellLink}=t;return{[i.main]:!0,[i.notSortable]:!r}},noRecords:t=>{const{c:r=a}=t;return r.noRecords},noRecordsTemplate:t=>{const{c:r=a}=t;return r.noRecordsTemplate},pager:t=>{const{c:r=a}=t;return r.pager},sorted:t=>{const{c:r=a}=t;return r.sorted},contentSticky:t=>{const{locked:r,c:i=a}=t;return{[i.contentSticky]:r}},hierarchyCell:t=>{const{c:r=a.hierarchyCell}=t;return{[r.main]:!0,[r.header]:!0}},td:t=>{const{selected:r,highlighted:i,c:n=a.td}=t;return{[n.main]:!0,[n.selected]:r,[n.highlighted]:i}},detailTd:t=>{const{c:r=a.detailTd}=t;return{[r.main]:!0,[r.cell]:!0}},editTd:t=>{const{selected:r,c:i=a.editTd}=t;return{[i.main]:!0,[i.cell]:!0,[i.selected]:r}},hierarchyTd:t=>{const{c:r=a.hierarchyTd}=t;return{[r.main]:!0,[r.cell]:!0}}};exports.uGrid=c;
package/unstyled/grid.mjs CHANGED
@@ -5,90 +5,90 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- import { gridPrefix as l, sizeMap as u, base as t, grid as n, containers as m, elements as i, states as o, dimensions as b, cursor as x, gridRowReorder as p } from "./json-classes.mjs";
8
+ import { base as t, grid as n, elements as i, states as l, gridPrefix as o, gridRowReorder as p, containers as u, cursor as b, dimensions as x, sizeMap as m } from "./json-classes.mjs";
9
9
  const $ = {
10
10
  wrapper: {
11
- main: l,
11
+ main: o,
12
12
  size: {
13
- small: `${l}-${u.small}`,
14
- medium: `${l}-${u.medium}`
13
+ small: `${o}-${m.small}`,
14
+ medium: `${o}-${m.medium}`
15
15
  },
16
- virtual: `${l}-${t.virtual}`,
17
- stacked: `${l}-stack`
16
+ virtual: `${o}-${t.virtual}`,
17
+ stacked: `${o}-stack`
18
18
  },
19
- ariaRoot: `${l}-${n.ariaRoot}`,
20
- container: `${l}-${m.container}`,
19
+ ariaRoot: `${o}-${n.ariaRoot}`,
20
+ container: `${o}-${u.container}`,
21
21
  content: {
22
- main: `${l}-${m.content}`,
23
- virtual: `${t.prefix}-${t.virtual}-${m.content}`
22
+ main: `${o}-${u.content}`,
23
+ virtual: `${t.prefix}-${t.virtual}-${u.content}`
24
24
  },
25
- tableWrap: `${l}-${n.tableWrap}`,
25
+ tableWrap: `${o}-${n.tableWrap}`,
26
26
  table: {
27
27
  main: `${t.prefix}-${i.table}`,
28
- gridTable: `${l}-${i.table}`,
28
+ gridTable: `${o}-${i.table}`,
29
29
  size: {
30
- small: `${t.prefix}-${i.table}-${u.small}`,
31
- medium: `${t.prefix}-${i.table}-${u.medium}`
30
+ small: `${t.prefix}-${i.table}-${m.small}`,
31
+ medium: `${t.prefix}-${i.table}-${m.medium}`
32
32
  }
33
33
  },
34
34
  tbody: `${t.prefix}-${i.table}-${i.tbody}`,
35
35
  thead: {
36
- main: `${l}-${i.table}-${i.thead}`,
37
- draggable: `${l}-${o.draggable}-${i.header}`
36
+ main: `${o}-${i.table}-${i.thead}`,
37
+ draggable: `${o}-${l.draggable}-${i.header}`
38
38
  },
39
39
  header: {
40
- main: `${l}-${i.header}`,
41
- draggable: `${l}-${o.draggable}-${i.header}`
40
+ main: `${o}-${i.header}`,
41
+ draggable: `${o}-${l.draggable}-${i.header}`
42
42
  },
43
- headerWrap: `${l}-${i.header}-${m.wrap}`,
43
+ headerWrap: `${o}-${i.header}-${u.wrap}`,
44
44
  headerTable: {
45
45
  main: `${t.prefix}-${i.table}`,
46
- header: `${l}-${i.header}-${i.table}`,
46
+ header: `${o}-${i.header}-${i.table}`,
47
47
  size: {
48
- small: `${t.prefix}-${i.table}-${u.small}`,
49
- medium: `${t.prefix}-${i.table}-${u.medium}`
48
+ small: `${t.prefix}-${i.table}-${m.small}`,
49
+ medium: `${t.prefix}-${i.table}-${m.medium}`
50
50
  }
51
51
  },
52
52
  headerTh: {
53
53
  main: `${t.prefix}-${i.table}-${i.th}`,
54
54
  header: `${t.prefix}-${i.header}`,
55
- first: `${t.prefix}-${o.first}`,
56
- filterable: `${t.prefix}-${o.filterable}`,
57
- locked: `${l}-${i.header}-${o.sticky}`,
58
- sorted: `${t.prefix}-${o.sorted}`
55
+ first: `${t.prefix}-${l.first}`,
56
+ filterable: `${t.prefix}-${l.filterable}`,
57
+ locked: `${o}-${i.header}-${l.sticky}`,
58
+ sorted: `${t.prefix}-${l.sorted}`
59
59
  },
60
60
  tableThead: `${t.prefix}-${i.table}-${i.thead}`,
61
- heightContainer: `${t.prefix}-${b.height}-${m.container}`,
62
- sortIcon: `${t.prefix}-${o.sort}-${i.icon}`,
63
- sortOrder: `${t.prefix}-${o.sort}-${o.order}`,
61
+ heightContainer: `${t.prefix}-${x.height}-${u.container}`,
62
+ sortIcon: `${t.prefix}-${l.sort}-${i.icon}`,
63
+ sortOrder: `${t.prefix}-${l.sort}-${l.order}`,
64
64
  tr: {
65
65
  main: `${t.prefix}-${i.table}-${n.row}`,
66
66
  header: `${t.prefix}-${i.table}-${n.group}-${n.row}`,
67
- grouping: `${t.prefix}-${o.grouping}-${n.row}`,
67
+ grouping: `${t.prefix}-${l.grouping}-${n.row}`,
68
68
  footer: `${t.prefix}-${n.group}-${i.footer}`,
69
69
  master: `${t.prefix}-${n.master}-${n.row}`,
70
- rowAlt: `${t.prefix}-${i.table}-${o.alt}-${n.row}`,
71
- selected: `${t.prefix}-${o.selected}`,
72
- highlighted: `${t.prefix}-${o.highlighted}`,
73
- isInEdit: `${l}-${o.edit}-${n.row}`
70
+ rowAlt: `${t.prefix}-${i.table}-${l.alt}-${n.row}`,
71
+ selected: `${t.prefix}-${l.selected}`,
72
+ highlighted: `${t.prefix}-${l.highlighted}`,
73
+ isInEdit: `${o}-${l.edit}-${n.row}`
74
74
  },
75
75
  detailTr: {
76
76
  main: `${t.prefix}-${i.table}-${n.row}`,
77
77
  row: `${t.prefix}-${n.detail}-${n.row}`,
78
- rowAlt: `${t.prefix}-${i.table}-${o.alt}-${n.row}`
78
+ rowAlt: `${t.prefix}-${i.table}-${l.alt}-${n.row}`
79
79
  },
80
80
  simpleTr: `${t.prefix}-${i.table}-${n.row}`,
81
81
  headerCellInner: `${t.prefix}-${n.cellInner}`,
82
82
  columnTitle: `${t.prefix}-${n.column}-${i.title}`,
83
83
  headerCellLink: {
84
84
  main: `${t.prefix}-${i.link}`,
85
- notSortable: `${t.important}${t.prefix}-${x.default}`
85
+ notSortable: `${t.important}${t.prefix}-${b.default}`
86
86
  },
87
- noRecords: `${l}-${n.noRecords}`,
88
- noRecordsTemplate: `${l}-${n.noRecords}-${o.template}`,
89
- pager: `${l}-${n.pager}`,
90
- sorted: `${t.prefix}-${o.sorted}`,
91
- contentSticky: `${l}-${m.content}-${o.sticky}`,
87
+ noRecords: `${o}-${n.noRecords}`,
88
+ noRecordsTemplate: `${o}-${n.noRecords}-${l.template}`,
89
+ pager: `${o}-${n.pager}`,
90
+ sorted: `${t.prefix}-${l.sorted}`,
91
+ contentSticky: `${o}-${u.content}-${l.sticky}`,
92
92
  hierarchyCell: {
93
93
  main: `${t.prefix}-${n.hierarchy}-${n.cell}`,
94
94
  header: `${t.prefix}-${i.header}`
@@ -105,8 +105,8 @@ const $ = {
105
105
  },
106
106
  td: {
107
107
  main: `${t.prefix}-${i.table}-${i.td}`,
108
- selected: `${t.prefix}-${o.selected}`,
109
- highlighted: `${t.prefix}-${o.highlighted}`
108
+ selected: `${t.prefix}-${l.selected}`,
109
+ highlighted: `${t.prefix}-${l.highlighted}`
110
110
  },
111
111
  detailTd: {
112
112
  main: `${t.prefix}-${i.table}-${i.td}`,
@@ -114,8 +114,8 @@ const $ = {
114
114
  },
115
115
  editTd: {
116
116
  main: `${t.prefix}-${i.table}-${i.td}`,
117
- cell: `${l}-${o.edit}-${n.cell}`,
118
- selected: `${t.prefix}-${o.selected}`
117
+ cell: `${o}-${l.edit}-${n.cell}`,
118
+ selected: `${t.prefix}-${l.selected}`
119
119
  },
120
120
  hierarchyTd: {
121
121
  main: `${t.prefix}-${i.table}-${i.td}`,
@@ -127,7 +127,7 @@ const $ = {
127
127
  return {
128
128
  [s.main]: !0,
129
129
  [s.size[e]]: s.size[e],
130
- [`${l}-${e}`]: e && !s.size[e],
130
+ [`${o}-${e}`]: e && !s.size[e],
131
131
  [s.virtual]: a,
132
132
  [s.stacked]: c
133
133
  };
@@ -152,12 +152,13 @@ const $ = {
152
152
  return e.tableWrap;
153
153
  },
154
154
  table: (r) => {
155
+ var c, s, d;
155
156
  const { size: e, c: a = $.table } = r;
156
157
  return {
157
158
  [a.main]: !0,
158
159
  [a.gridTable]: !0,
159
- [a.size[e]]: a.size[e],
160
- [`${t.prefix}-${i}-${e}`]: !a.size[e]
160
+ [(c = a.size) == null ? void 0 : c[e]]: e !== void 0 && ((s = a.size) == null ? void 0 : s[e]),
161
+ [`${t.prefix}-${i.table}-${e}`]: e !== void 0 && !((d = a.size) != null && d[e])
161
162
  };
162
163
  },
163
164
  tbody: (r) => {
@@ -187,8 +188,8 @@ const $ = {
187
188
  return {
188
189
  [a.main]: !0,
189
190
  [a.header]: !0,
190
- [a.size[e]]: a.size[e],
191
- [`${t.prefix}-${i.table}-${e}`]: !a.size[e]
191
+ [a.size[e]]: e !== void 0 && a.size[e],
192
+ [`${t.prefix}-${i.table}-${e}`]: e !== void 0 && !a.size[e]
192
193
  };
193
194
  },
194
195
  headerTh: (r) => {