@progress/kendo-react-common 8.4.0-develop.5 → 8.4.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/classNames.js +1 -1
- package/classNames.mjs +1 -1
- package/dist/cdn/js/kendo-react-common.js +1 -1
- package/index.d.mts +1413 -45
- package/index.d.ts +1413 -45
- package/package.json +1 -1
- package/unstyled/buttons.mjs +3 -22
- package/unstyled/dateinputs.mjs +11 -52
- package/unstyled/dropdowns.js +1 -1
- package/unstyled/dropdowns.mjs +218 -234
- package/unstyled/grid.mjs +1 -7
- package/unstyled/icons.js +1 -1
- package/unstyled/icons.mjs +13 -14
- package/unstyled/json-classes.js +1 -1
- package/unstyled/json-classes.mjs +4 -4
package/unstyled/dropdowns.mjs
CHANGED
|
@@ -6,356 +6,340 @@
|
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
8
|
"use client";
|
|
9
|
-
import { getClassByName as
|
|
10
|
-
import { base as e, containers as
|
|
9
|
+
import { getClassByName as s } from "./interfaces/common.mjs";
|
|
10
|
+
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";
|
|
11
11
|
const d = {
|
|
12
12
|
clearButton: `${e.prefix}-${e.clear}-${e.value}`,
|
|
13
|
-
groupStickyHeader: `${e.prefix}-${
|
|
14
|
-
listHeaderText: `${e.prefix}-${
|
|
15
|
-
ul: `${e.prefix}-${
|
|
13
|
+
groupStickyHeader: `${e.prefix}-${i.list}-${i.group}-${u.sticky}-${o.header}`,
|
|
14
|
+
listHeaderText: `${e.prefix}-${i.list}-${o.header}-${o.text}`,
|
|
15
|
+
ul: `${e.prefix}-${i.list}-${o.ul}`,
|
|
16
16
|
li: {
|
|
17
|
-
main: `${e.prefix}-${
|
|
18
|
-
selected: `${e.prefix}-${
|
|
19
|
-
focused: `${e.prefix}-${
|
|
20
|
-
first: `${e.prefix}-${
|
|
21
|
-
disabled: `${e.prefix}-${
|
|
17
|
+
main: `${e.prefix}-${i.list}-${i.item}`,
|
|
18
|
+
selected: `${e.prefix}-${u.selected}`,
|
|
19
|
+
focused: `${e.prefix}-${u.focus}`,
|
|
20
|
+
first: `${e.prefix}-${u.first}`,
|
|
21
|
+
disabled: `${e.prefix}-${u.disabled}`
|
|
22
22
|
},
|
|
23
23
|
groupLi: {
|
|
24
|
-
list: `${e.prefix}-${
|
|
25
|
-
table: `${e.prefix}-${
|
|
24
|
+
list: `${e.prefix}-${i.list}-${i.group}-${i.item}`,
|
|
25
|
+
table: `${e.prefix}-${o.table}-${i.group}-${i.row}`
|
|
26
26
|
},
|
|
27
|
-
itemText: `${e.prefix}-${
|
|
27
|
+
itemText: `${e.prefix}-${i.list}-${i.item}-${o.text}`,
|
|
28
28
|
groupItemText: {
|
|
29
|
-
list: `${e.prefix}-${
|
|
30
|
-
table: `${e.prefix}-${
|
|
29
|
+
list: `${e.prefix}-${i.list}-${i.item}-${o.text}`,
|
|
30
|
+
table: `${e.prefix}-${o.table}-${o.th}`
|
|
31
31
|
},
|
|
32
|
-
itemGroupLabel: `${e.prefix}-${
|
|
32
|
+
itemGroupLabel: `${e.prefix}-${i.list}-${i.item}-${i.group}-${o.label}`,
|
|
33
33
|
noData: `${e.prefix}-${e.nodata}`,
|
|
34
|
-
heightContainer: `${e.prefix}-${y.height}-${
|
|
35
|
-
|
|
36
|
-
main: `${e.prefix}-${
|
|
37
|
-
selected: `${e.prefix}-${
|
|
34
|
+
heightContainer: `${e.prefix}-${y.height}-${i.container}`,
|
|
35
|
+
optionLabel: {
|
|
36
|
+
main: `${e.prefix}-${i.list}-${i.optionLabel}`,
|
|
37
|
+
selected: `${e.prefix}-${u.selected}`
|
|
38
38
|
},
|
|
39
|
-
inputInner: `${
|
|
40
|
-
inputIcon: `${e.prefix}-${
|
|
41
|
-
searchbox: `${e.prefix}-${
|
|
42
|
-
listFilter: `${e.prefix}-${
|
|
39
|
+
inputInner: `${p}-${T.inner}`,
|
|
40
|
+
inputIcon: `${e.prefix}-${T.input}-${H.prefix}`,
|
|
41
|
+
searchbox: `${e.prefix}-${b.searchbox}`,
|
|
42
|
+
listFilter: `${e.prefix}-${i.list}-${e.filter}`
|
|
43
43
|
}, j = {
|
|
44
|
-
clearButton:
|
|
45
|
-
groupStickyHeader:
|
|
46
|
-
listHeaderText:
|
|
47
|
-
ul:
|
|
44
|
+
clearButton: s(d, "clearButton"),
|
|
45
|
+
groupStickyHeader: s(d, "groupStickyHeader"),
|
|
46
|
+
listHeaderText: s(d, "listHeaderText"),
|
|
47
|
+
ul: s(d, "ul"),
|
|
48
48
|
li: (n) => {
|
|
49
|
-
const { c: $ = d, selected:
|
|
49
|
+
const { c: $ = d, selected: t, focused: l, first: c, disabled: x } = n, m = $.li;
|
|
50
50
|
return {
|
|
51
|
-
[
|
|
52
|
-
[
|
|
53
|
-
[
|
|
54
|
-
[
|
|
55
|
-
[
|
|
51
|
+
[m.main]: !0,
|
|
52
|
+
[m.selected]: t,
|
|
53
|
+
[m.focused]: l,
|
|
54
|
+
[m.first]: c,
|
|
55
|
+
[m.disabled]: x
|
|
56
56
|
};
|
|
57
57
|
},
|
|
58
58
|
groupLi: (n) => {
|
|
59
|
-
const { c: $ = d, isMultiColumn:
|
|
59
|
+
const { c: $ = d, isMultiColumn: t } = n, l = $.groupLi;
|
|
60
60
|
return {
|
|
61
|
-
[
|
|
62
|
-
[
|
|
61
|
+
[l.table]: t,
|
|
62
|
+
[l.list]: !t
|
|
63
63
|
};
|
|
64
64
|
},
|
|
65
|
-
itemText:
|
|
65
|
+
itemText: s(d, "itemText"),
|
|
66
66
|
groupItemText: (n) => {
|
|
67
|
-
const { c: $ = d, isMultiColumn:
|
|
67
|
+
const { c: $ = d, isMultiColumn: t } = n, l = $.groupItemText;
|
|
68
68
|
return {
|
|
69
|
-
[
|
|
70
|
-
[
|
|
69
|
+
[l.table]: t,
|
|
70
|
+
[l.list]: !t
|
|
71
71
|
};
|
|
72
72
|
},
|
|
73
|
-
itemGroupLabel:
|
|
74
|
-
noData:
|
|
75
|
-
heightContainer:
|
|
76
|
-
|
|
77
|
-
const { c: $ = d, selected:
|
|
73
|
+
itemGroupLabel: s(d, "itemGroupLabel"),
|
|
74
|
+
noData: s(d, "noData"),
|
|
75
|
+
heightContainer: s(d, "heightContainer"),
|
|
76
|
+
optionLabel: (n) => {
|
|
77
|
+
const { c: $ = d, selected: t } = n, l = $.optionLabel;
|
|
78
78
|
return {
|
|
79
|
-
[
|
|
80
|
-
[
|
|
79
|
+
[l.main]: !0,
|
|
80
|
+
[l.selected]: t
|
|
81
81
|
};
|
|
82
82
|
},
|
|
83
|
-
inputInner:
|
|
84
|
-
inputIcon:
|
|
85
|
-
searchbox:
|
|
86
|
-
listFilter:
|
|
87
|
-
},
|
|
83
|
+
inputInner: s(d, "inputInner"),
|
|
84
|
+
inputIcon: s(d, "inputIcon"),
|
|
85
|
+
searchbox: s(d, "searchbox"),
|
|
86
|
+
listFilter: s(d, "listFilter")
|
|
87
|
+
}, v = {
|
|
88
88
|
wrapper: {
|
|
89
|
-
main: `${e.prefix}-${
|
|
90
|
-
fullscreen: `${e.prefix}-${
|
|
91
|
-
bottom: `${e.prefix}-${
|
|
89
|
+
main: `${e.prefix}-${u.adaptive}-${b.actionsheet}`,
|
|
90
|
+
fullscreen: `${e.prefix}-${b.actionsheet}-${u.fullscreen}`,
|
|
91
|
+
bottom: `${e.prefix}-${b.actionsheet}-${u.bottom}`
|
|
92
92
|
},
|
|
93
|
-
header: `${e.prefix}-${
|
|
93
|
+
header: `${e.prefix}-${o.text}-${D.center}`,
|
|
94
94
|
titleBar: {
|
|
95
|
-
main: `${e.prefix}-${
|
|
96
|
-
position: `${e.prefix}-${
|
|
95
|
+
main: `${e.prefix}-${b.actionsheet}-${i.titlebar}-${i.group}`,
|
|
96
|
+
position: `${e.prefix}-${D.hbox}`
|
|
97
97
|
},
|
|
98
|
-
title: `${e.prefix}-${
|
|
98
|
+
title: `${e.prefix}-${b.actionsheet}-${o.title}`,
|
|
99
99
|
subtitle: {
|
|
100
|
-
main: `${e.prefix}-${
|
|
101
|
-
textCenter: `${e.prefix}-${
|
|
100
|
+
main: `${e.prefix}-${b.actionsheet}-${o.subtitle}`,
|
|
101
|
+
textCenter: `${e.prefix}-${o.text}-${D.center}`
|
|
102
102
|
},
|
|
103
|
-
actions: `${e.prefix}-${
|
|
103
|
+
actions: `${e.prefix}-${b.actionsheet}-${i.actions}`,
|
|
104
104
|
titleBarGroup: {
|
|
105
|
-
main: `${e.prefix}-${
|
|
106
|
-
filter: `${e.prefix}-${
|
|
105
|
+
main: `${e.prefix}-${b.actionsheet}-${i.titlebar}-${i.group}`,
|
|
106
|
+
filter: `${e.prefix}-${b.actionsheet}-${e.filter}`
|
|
107
107
|
}
|
|
108
108
|
}, E = {
|
|
109
109
|
wrapper: (n) => {
|
|
110
|
-
const { c: $ =
|
|
110
|
+
const { c: $ = v, isFullScreen: t } = n, l = $.wrapper;
|
|
111
111
|
return {
|
|
112
|
-
[
|
|
113
|
-
[
|
|
114
|
-
[
|
|
112
|
+
[l.main]: !0,
|
|
113
|
+
[l.fullscreen]: t,
|
|
114
|
+
[l.bottom]: !t
|
|
115
115
|
};
|
|
116
116
|
},
|
|
117
|
-
header:
|
|
117
|
+
header: s(v, "header"),
|
|
118
118
|
titleBar: (n) => {
|
|
119
|
-
const { c: $ =
|
|
119
|
+
const { c: $ = v } = n, t = $.titleBar;
|
|
120
120
|
return {
|
|
121
|
-
[
|
|
122
|
-
[
|
|
121
|
+
[t.main]: !0,
|
|
122
|
+
[t.position]: !0
|
|
123
123
|
};
|
|
124
124
|
},
|
|
125
|
-
title:
|
|
125
|
+
title: s(v, "title"),
|
|
126
126
|
subtitle: (n) => {
|
|
127
|
-
const { c: $ =
|
|
127
|
+
const { c: $ = v } = n, t = $.subtitle;
|
|
128
128
|
return {
|
|
129
|
-
[
|
|
130
|
-
[
|
|
129
|
+
[t.main]: !0,
|
|
130
|
+
[t.textCenter]: !0
|
|
131
131
|
};
|
|
132
132
|
},
|
|
133
|
-
actions:
|
|
133
|
+
actions: s(v, "actions"),
|
|
134
134
|
titleBarGroup: (n) => {
|
|
135
|
-
const { c: $ =
|
|
135
|
+
const { c: $ = v } = n, t = $.titleBarGroup;
|
|
136
136
|
return {
|
|
137
|
-
[
|
|
138
|
-
[
|
|
137
|
+
[t.main]: !0,
|
|
138
|
+
[t.filter]: !0
|
|
139
139
|
};
|
|
140
140
|
}
|
|
141
|
-
},
|
|
141
|
+
}, h = {
|
|
142
142
|
wrapper: {
|
|
143
143
|
main: P,
|
|
144
|
-
picker:
|
|
144
|
+
picker: g,
|
|
145
145
|
size: {
|
|
146
|
-
small: `${
|
|
147
|
-
medium: `${
|
|
148
|
-
large: `${
|
|
146
|
+
small: `${g}-${f.small}`,
|
|
147
|
+
medium: `${g}-${f.medium}`,
|
|
148
|
+
large: `${g}-${f.large}`
|
|
149
149
|
},
|
|
150
150
|
fillMode: {
|
|
151
|
-
solid: `${
|
|
152
|
-
outline: `${
|
|
153
|
-
flat: `${
|
|
154
|
-
link: `${
|
|
155
|
-
clear: `${
|
|
151
|
+
solid: `${g}-${z.solid}`,
|
|
152
|
+
outline: `${g}-${z.outline}`,
|
|
153
|
+
flat: `${g}-${z.flat}`,
|
|
154
|
+
link: `${g}-${z.link}`,
|
|
155
|
+
clear: `${g}-${z.clear}`
|
|
156
156
|
},
|
|
157
157
|
rounded: {
|
|
158
|
-
small: `${e.prefix}-${e.rounded}-${
|
|
159
|
-
medium: `${e.prefix}-${e.rounded}-${
|
|
160
|
-
large: `${e.prefix}-${e.rounded}-${
|
|
158
|
+
small: `${e.prefix}-${e.rounded}-${L.small}`,
|
|
159
|
+
medium: `${e.prefix}-${e.rounded}-${L.medium}`,
|
|
160
|
+
large: `${e.prefix}-${e.rounded}-${L.large}`
|
|
161
161
|
},
|
|
162
|
-
disabled: `${e.prefix}-${
|
|
163
|
-
focused: `${e.prefix}-${
|
|
164
|
-
invalid: `${e.prefix}-${
|
|
165
|
-
loading: `${e.prefix}-${
|
|
166
|
-
required: `${e.prefix}-${
|
|
162
|
+
disabled: `${e.prefix}-${u.disabled}`,
|
|
163
|
+
focused: `${e.prefix}-${u.focus}`,
|
|
164
|
+
invalid: `${e.prefix}-${u.invalid}`,
|
|
165
|
+
loading: `${e.prefix}-${u.loading}`,
|
|
166
|
+
required: `${e.prefix}-${u.required}`
|
|
167
167
|
},
|
|
168
|
-
loadingIcon: `${
|
|
169
|
-
inputButton: `${
|
|
168
|
+
loadingIcon: `${p}-${u.loading}-${H.prefix}`,
|
|
169
|
+
inputButton: `${p}-${o.button}`,
|
|
170
170
|
listContainer: {
|
|
171
|
-
main: `${e.prefix}-${
|
|
172
|
-
popup: `${e.prefix}-${
|
|
171
|
+
main: `${e.prefix}-${i.list}-${i.container}`,
|
|
172
|
+
popup: `${e.prefix}-${b.dropdownlist}-${i.popup}`
|
|
173
173
|
},
|
|
174
|
-
inputInner: `${
|
|
175
|
-
inputText: `${
|
|
176
|
-
listHeader: `${e.prefix}-${
|
|
174
|
+
inputInner: `${p}-${T.inner}`,
|
|
175
|
+
inputText: `${p}-${e.value}-${o.text}`,
|
|
176
|
+
listHeader: `${e.prefix}-${i.list}-${o.header}`,
|
|
177
177
|
list: {
|
|
178
|
-
main: `${e.prefix}-${
|
|
178
|
+
main: `${e.prefix}-${i.list}`,
|
|
179
179
|
size: {
|
|
180
|
-
small: `${e.prefix}-${
|
|
181
|
-
medium: `${e.prefix}-${
|
|
182
|
-
large: `${e.prefix}-${
|
|
180
|
+
small: `${e.prefix}-${i.list}-${f.small}`,
|
|
181
|
+
medium: `${e.prefix}-${i.list}-${f.medium}`,
|
|
182
|
+
large: `${e.prefix}-${i.list}-${f.large}`
|
|
183
183
|
},
|
|
184
|
-
virtual: `${e.prefix}-${e.virtual}-${
|
|
184
|
+
virtual: `${e.prefix}-${e.virtual}-${i.list}`
|
|
185
185
|
},
|
|
186
|
-
listContent: `${e.prefix}-${
|
|
187
|
-
listFooter: `${e.prefix}-${
|
|
186
|
+
listContent: `${e.prefix}-${i.list}-${i.content}`,
|
|
187
|
+
listFooter: `${e.prefix}-${i.list}-${o.footer}`
|
|
188
188
|
}, J = {
|
|
189
189
|
wrapper: (n) => {
|
|
190
190
|
const {
|
|
191
|
-
c: $ =
|
|
192
|
-
size:
|
|
193
|
-
rounded:
|
|
194
|
-
fillMode:
|
|
195
|
-
focused:
|
|
196
|
-
disabled:
|
|
197
|
-
invalid:
|
|
198
|
-
loading:
|
|
199
|
-
required:
|
|
200
|
-
} = n,
|
|
191
|
+
c: $ = h,
|
|
192
|
+
size: t,
|
|
193
|
+
rounded: l,
|
|
194
|
+
fillMode: c,
|
|
195
|
+
focused: x,
|
|
196
|
+
disabled: m,
|
|
197
|
+
invalid: C,
|
|
198
|
+
loading: I,
|
|
199
|
+
required: r
|
|
200
|
+
} = n, a = $.wrapper;
|
|
201
201
|
return {
|
|
202
|
-
[
|
|
203
|
-
[
|
|
204
|
-
[
|
|
205
|
-
[`${
|
|
206
|
-
[
|
|
207
|
-
[
|
|
208
|
-
[`${e.prefix}-${e.rounded}-${
|
|
209
|
-
[
|
|
210
|
-
[
|
|
211
|
-
[
|
|
212
|
-
[
|
|
213
|
-
[
|
|
202
|
+
[a.main]: !0,
|
|
203
|
+
[a.picker]: !0,
|
|
204
|
+
[a.size[t]]: a.size[t],
|
|
205
|
+
[`${g}-${t}`]: t && !a.size[t],
|
|
206
|
+
[a.fillMode[c]]: a.fillMode[c],
|
|
207
|
+
[a.rounded[l]]: a.rounded[l],
|
|
208
|
+
[`${e.prefix}-${e.rounded}-${l}`]: l && !a.rounded[l],
|
|
209
|
+
[a.focused]: x,
|
|
210
|
+
[a.disabled]: m,
|
|
211
|
+
[a.loading]: I,
|
|
212
|
+
[a.invalid]: C,
|
|
213
|
+
[a.required]: r
|
|
214
214
|
};
|
|
215
215
|
},
|
|
216
|
-
loadingIcon:
|
|
217
|
-
inputButton:
|
|
216
|
+
loadingIcon: s(h, "loadingIcon"),
|
|
217
|
+
inputButton: s(h, "inputButton"),
|
|
218
218
|
listContainer: (n) => {
|
|
219
|
-
const { c: $ =
|
|
219
|
+
const { c: $ = h } = n, t = $.listContainer;
|
|
220
220
|
return {
|
|
221
|
-
[
|
|
222
|
-
[
|
|
221
|
+
[t.main]: !0,
|
|
222
|
+
[t.popup]: !0
|
|
223
223
|
};
|
|
224
224
|
},
|
|
225
|
-
inputInner:
|
|
226
|
-
inputText:
|
|
227
|
-
listHeader:
|
|
225
|
+
inputInner: s(h, "inputInner"),
|
|
226
|
+
inputText: s(h, "inputText"),
|
|
227
|
+
listHeader: s(h, "listHeader"),
|
|
228
228
|
list: (n) => {
|
|
229
|
-
const { c: $ =
|
|
229
|
+
const { c: $ = h, size: t, virtual: l } = n, c = $.list;
|
|
230
230
|
return {
|
|
231
|
-
[
|
|
232
|
-
[
|
|
233
|
-
[`${e.prefix}-${
|
|
234
|
-
[
|
|
231
|
+
[c.main]: !0,
|
|
232
|
+
[c.size[t]]: c.size[t],
|
|
233
|
+
[`${e.prefix}-${i.list}-${t}`]: t && !c.size[t],
|
|
234
|
+
[c.virtual]: l
|
|
235
235
|
};
|
|
236
236
|
},
|
|
237
|
-
listContent:
|
|
238
|
-
listFooter:
|
|
239
|
-
},
|
|
237
|
+
listContent: s(h, "listContent"),
|
|
238
|
+
listFooter: s(h, "listFooter")
|
|
239
|
+
}, B = {
|
|
240
240
|
wrapper: {
|
|
241
241
|
main: A,
|
|
242
|
-
input:
|
|
242
|
+
input: p,
|
|
243
243
|
size: {
|
|
244
|
-
small: `${
|
|
245
|
-
medium: `${
|
|
246
|
-
large: `${
|
|
244
|
+
small: `${p}-${f.small}`,
|
|
245
|
+
medium: `${p}-${f.medium}`,
|
|
246
|
+
large: `${p}-${f.large}`
|
|
247
247
|
},
|
|
248
248
|
fillMode: {
|
|
249
|
-
solid: `${
|
|
250
|
-
outline: `${
|
|
251
|
-
flat: `${
|
|
252
|
-
link: `${
|
|
253
|
-
clear: `${
|
|
249
|
+
solid: `${p}-${z.solid}`,
|
|
250
|
+
outline: `${p}-${z.outline}`,
|
|
251
|
+
flat: `${p}-${z.flat}`,
|
|
252
|
+
link: `${p}-${z.link}`,
|
|
253
|
+
clear: `${p}-${z.clear}`
|
|
254
254
|
},
|
|
255
255
|
rounded: {
|
|
256
|
-
small: `${e.prefix}-${e.rounded}-${
|
|
257
|
-
medium: `${e.prefix}-${e.rounded}-${
|
|
258
|
-
large: `${e.prefix}-${e.rounded}-${
|
|
256
|
+
small: `${e.prefix}-${e.rounded}-${L.small}`,
|
|
257
|
+
medium: `${e.prefix}-${e.rounded}-${L.medium}`,
|
|
258
|
+
large: `${e.prefix}-${e.rounded}-${L.large}`
|
|
259
259
|
},
|
|
260
|
-
disabled: `${e.prefix}-${
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
required: `${e.prefix}-${a.required}`
|
|
260
|
+
disabled: `${e.prefix}-${u.disabled}`,
|
|
261
|
+
invalid: `${e.prefix}-${u.invalid}`,
|
|
262
|
+
loading: `${e.prefix}-${u.loading}`,
|
|
263
|
+
required: `${e.prefix}-${u.required}`
|
|
265
264
|
},
|
|
266
|
-
loadingIcon: `${
|
|
267
|
-
inputButton: `${
|
|
265
|
+
loadingIcon: `${p}-${u.loading}-${H.prefix}`,
|
|
266
|
+
inputButton: `${p}-${o.button}`,
|
|
268
267
|
listContainer: {
|
|
269
|
-
main: `${e.prefix}-${
|
|
270
|
-
popup: `${e.prefix}-${
|
|
268
|
+
main: `${e.prefix}-${i.list}-${i.container}`,
|
|
269
|
+
popup: `${e.prefix}-${b.combobox}-${i.popup}`
|
|
271
270
|
},
|
|
272
|
-
|
|
273
|
-
inputText: `${u}-${e.value}-${s.text}`,
|
|
274
|
-
listHeader: `${e.prefix}-${s.table}-${s.header}`,
|
|
271
|
+
listHeader: `${e.prefix}-${o.table}-${o.header}`,
|
|
275
272
|
list: {
|
|
276
|
-
list: `${e.prefix}-${
|
|
277
|
-
table: `${e.prefix}-${e.data}-${
|
|
273
|
+
list: `${e.prefix}-${i.list}`,
|
|
274
|
+
table: `${e.prefix}-${e.data}-${o.table}`,
|
|
278
275
|
size: {
|
|
279
|
-
prefix: `${e.prefix}-${
|
|
280
|
-
small: `${e.prefix}-${
|
|
281
|
-
medium: `${e.prefix}-${
|
|
282
|
-
large: `${e.prefix}-${
|
|
276
|
+
prefix: `${e.prefix}-${i.list}-`,
|
|
277
|
+
small: `${e.prefix}-${i.list}-${f.small}`,
|
|
278
|
+
medium: `${e.prefix}-${i.list}-${f.medium}`,
|
|
279
|
+
large: `${e.prefix}-${i.list}-${f.large}`
|
|
283
280
|
},
|
|
284
281
|
tableSize: {
|
|
285
|
-
prefix: `${e.prefix}-${
|
|
286
|
-
small: `${e.prefix}-${
|
|
287
|
-
medium: `${e.prefix}-${
|
|
288
|
-
large: `${e.prefix}-${
|
|
282
|
+
prefix: `${e.prefix}-${o.table}-`,
|
|
283
|
+
small: `${e.prefix}-${o.table}-${f.small}`,
|
|
284
|
+
medium: `${e.prefix}-${o.table}-${f.medium}`,
|
|
285
|
+
large: `${e.prefix}-${o.table}-${f.large}`
|
|
289
286
|
},
|
|
290
|
-
virtual: `${e.prefix}-${e.virtual}-${
|
|
287
|
+
virtual: `${e.prefix}-${e.virtual}-${i.list}`
|
|
291
288
|
},
|
|
292
289
|
listContent: {
|
|
293
|
-
main: `${e.prefix}-${
|
|
294
|
-
scroller: `${e.prefix}-${
|
|
290
|
+
main: `${e.prefix}-${i.list}-${i.content}`,
|
|
291
|
+
scroller: `${e.prefix}-${i.list}-${e.scroller}`
|
|
295
292
|
},
|
|
296
|
-
listFooter: `${e.prefix}-${
|
|
293
|
+
listFooter: `${e.prefix}-${i.list}-${o.footer}`
|
|
297
294
|
}, K = {
|
|
298
295
|
wrapper: (n) => {
|
|
299
|
-
var
|
|
300
|
-
const {
|
|
301
|
-
c: $ = h,
|
|
302
|
-
size: l,
|
|
303
|
-
rounded: r,
|
|
304
|
-
fillMode: p,
|
|
305
|
-
focused: f,
|
|
306
|
-
disabled: x,
|
|
307
|
-
invalid: v,
|
|
308
|
-
loading: C,
|
|
309
|
-
required: I
|
|
310
|
-
} = n, i = $.wrapper;
|
|
296
|
+
var a, M;
|
|
297
|
+
const { c: $ = B, size: t, rounded: l, fillMode: c, disabled: x, invalid: m, loading: C, required: I } = n, r = $.wrapper;
|
|
311
298
|
return {
|
|
312
|
-
[
|
|
313
|
-
[
|
|
314
|
-
[
|
|
315
|
-
[`${
|
|
316
|
-
[
|
|
317
|
-
[
|
|
318
|
-
[`${(
|
|
319
|
-
[
|
|
320
|
-
[
|
|
321
|
-
[
|
|
322
|
-
[
|
|
323
|
-
[i == null ? void 0 : i.required]: I
|
|
299
|
+
[r == null ? void 0 : r.main]: !0,
|
|
300
|
+
[r == null ? void 0 : r.input]: !0,
|
|
301
|
+
[r == null ? void 0 : r.size[t]]: r == null ? void 0 : r.size[t],
|
|
302
|
+
[`${g}-${t}`]: t && !(r != null && r.size[t]),
|
|
303
|
+
[r == null ? void 0 : r.fillMode[c]]: r == null ? void 0 : r.fillMode[c],
|
|
304
|
+
[r == null ? void 0 : r.rounded[l]]: r == null ? void 0 : r.rounded[l],
|
|
305
|
+
[`${(a = e) == null ? void 0 : a.prefix}-${(M = e) == null ? void 0 : M.rounded}-${l}`]: l && !(r != null && r.rounded[l]),
|
|
306
|
+
[r == null ? void 0 : r.disabled]: x,
|
|
307
|
+
[r == null ? void 0 : r.loading]: C,
|
|
308
|
+
[r == null ? void 0 : r.invalid]: m,
|
|
309
|
+
[r == null ? void 0 : r.required]: I
|
|
324
310
|
};
|
|
325
311
|
},
|
|
326
|
-
loadingIcon:
|
|
327
|
-
inputButton:
|
|
312
|
+
loadingIcon: s(B, "loadingIcon"),
|
|
313
|
+
inputButton: s(B, "inputButton"),
|
|
328
314
|
listContainer: (n) => {
|
|
329
|
-
const { c: $ =
|
|
315
|
+
const { c: $ = B, popup: t } = n, l = $.listContainer;
|
|
330
316
|
return {
|
|
331
|
-
[
|
|
332
|
-
[
|
|
317
|
+
[l == null ? void 0 : l.main]: !0,
|
|
318
|
+
[l == null ? void 0 : l.popup]: t
|
|
333
319
|
};
|
|
334
320
|
},
|
|
335
|
-
|
|
336
|
-
inputText: o(h, "inputText"),
|
|
337
|
-
listHeader: o(h, "listHeader"),
|
|
321
|
+
listHeader: s(B, "listHeader"),
|
|
338
322
|
list: (n) => {
|
|
339
|
-
var
|
|
340
|
-
const { c: $ =
|
|
323
|
+
var m, C, I, r, a, M, S, k, F, q, G;
|
|
324
|
+
const { c: $ = B, size: t, tableSize: l, virtual: c, list: x } = n;
|
|
341
325
|
return {
|
|
342
|
-
[(
|
|
343
|
-
[(
|
|
344
|
-
[(
|
|
345
|
-
[`${(
|
|
346
|
-
[(
|
|
347
|
-
[`${(
|
|
348
|
-
[(G = $.list) == null ? void 0 : G.virtual]:
|
|
326
|
+
[(m = $.list) == null ? void 0 : m.list]: !x,
|
|
327
|
+
[(C = $.list) == null ? void 0 : C.table]: x,
|
|
328
|
+
[(I = $.list) == null ? void 0 : I.size[t]]: !x && ((r = $.list) == null ? void 0 : r.size[t]),
|
|
329
|
+
[`${(a = $.list) == null ? void 0 : a.size.prefix}${t}`]: !x && t && !((M = $.list) != null && M.size[t]),
|
|
330
|
+
[(S = $.list) == null ? void 0 : S.tableSize[l]]: x && ((k = $.list) == null ? void 0 : k.tableSize[l]),
|
|
331
|
+
[`${(F = $.list) == null ? void 0 : F.tableSize.prefix}${l}`]: x && l && !((q = $.list) != null && q.tableSize[l]),
|
|
332
|
+
[(G = $.list) == null ? void 0 : G.virtual]: c
|
|
349
333
|
};
|
|
350
334
|
},
|
|
351
335
|
listContent: (n) => {
|
|
352
|
-
const { c: $ =
|
|
336
|
+
const { c: $ = B, virtual: t } = n, l = $.listContent;
|
|
353
337
|
return {
|
|
354
|
-
[
|
|
355
|
-
[
|
|
338
|
+
[l == null ? void 0 : l.main]: !0,
|
|
339
|
+
[l == null ? void 0 : l.scroller]: !t
|
|
356
340
|
};
|
|
357
341
|
},
|
|
358
|
-
listFooter:
|
|
342
|
+
listFooter: s(B, "listFooter")
|
|
359
343
|
};
|
|
360
344
|
export {
|
|
361
345
|
K as uComboBox,
|
package/unstyled/grid.mjs
CHANGED
|
@@ -181,13 +181,7 @@ const $ = {
|
|
|
181
181
|
};
|
|
182
182
|
},
|
|
183
183
|
headerTh: (r) => {
|
|
184
|
-
const {
|
|
185
|
-
first: e,
|
|
186
|
-
filterable: i,
|
|
187
|
-
locked: c,
|
|
188
|
-
sorted: h,
|
|
189
|
-
c: s = $.headerTh
|
|
190
|
-
} = r;
|
|
184
|
+
const { first: e, filterable: i, locked: c, sorted: h, c: s = $.headerTh } = r;
|
|
191
185
|
return {
|
|
192
186
|
[s.main]: !0,
|
|
193
187
|
[s.header]: !0,
|
package/unstyled/icons.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"),l={wrapper:{main:`${e.base.prefix}-${e.icon.prefix}`,svgPrefix:`${e.base.prefix}-${e.icon.svg}-${e.icon.prefix}`,namePrefix:`${e.base.prefix}-${e.icon.svg}-${e.icon.i}-`,flipH:`${e.base.prefix}-${e.icon.flipH}`,flipV:`${e.base.prefix}-${e.icon.flipV}`,themeColor:{inherit:`${e.base.prefix}-${e.icon.color}-${e.themeColorMap.inherit}`,primary:`${e.base.prefix}-${e.icon.color}-${e.themeColorMap.primary}`,secondary:`${e.base.prefix}-${e.icon.color}-${e.themeColorMap.secondary}`,tertiary:`${e.base.prefix}-${e.icon.color}-${e.themeColorMap.tertiary}`,info:`${e.base.prefix}-${e.icon.color}-${e.themeColorMap.info}`,success:`${e.base.prefix}-${e.icon.color}-${e.themeColorMap.success}`,warning:`${e.base.prefix}-${e.icon.color}-${e.themeColorMap.warning}`,error:`${e.base.prefix}-${e.icon.color}-${e.themeColorMap.error}`,dark:`${e.base.prefix}-${e.icon.color}-${e.themeColorMap.dark}`,light:`${e.base.prefix}-${e.icon.color}-${e.themeColorMap.light}
|
|
8
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./json-classes.js"),l={wrapper:{main:`${e.base.prefix}-${e.icon.prefix}`,svgPrefix:`${e.base.prefix}-${e.icon.svg}-${e.icon.prefix}`,namePrefix:`${e.base.prefix}-${e.icon.svg}-${e.icon.i}-`,flipH:`${e.base.prefix}-${e.icon.flipH}`,flipV:`${e.base.prefix}-${e.icon.flipV}`,themeColor:{inherit:`${e.base.prefix}-${e.icon.color}-${e.themeColorMap.inherit}`,primary:`${e.base.prefix}-${e.icon.color}-${e.themeColorMap.primary}`,secondary:`${e.base.prefix}-${e.icon.color}-${e.themeColorMap.secondary}`,tertiary:`${e.base.prefix}-${e.icon.color}-${e.themeColorMap.tertiary}`,info:`${e.base.prefix}-${e.icon.color}-${e.themeColorMap.info}`,success:`${e.base.prefix}-${e.icon.color}-${e.themeColorMap.success}`,warning:`${e.base.prefix}-${e.icon.color}-${e.themeColorMap.warning}`,error:`${e.base.prefix}-${e.icon.color}-${e.themeColorMap.error}`,dark:`${e.base.prefix}-${e.icon.color}-${e.themeColorMap.dark}`,light:`${e.base.prefix}-${e.icon.color}-${e.themeColorMap.light}`},size:{default:"",xsmall:`${e.base.prefix}-${e.icon.prefix}-${e.sizeMap.xsmall}`,small:`${e.base.prefix}-${e.icon.prefix}-${e.sizeMap.small}`,medium:`${e.base.prefix}-${e.icon.prefix}-${e.sizeMap.medium}`,large:`${e.base.prefix}-${e.icon.prefix}-${e.sizeMap.large}`,xlarge:`${e.base.prefix}-${e.icon.prefix}-${e.sizeMap.xlarge}`,xxlarge:`${e.base.prefix}-${e.icon.prefix}-${e.sizeMap.xxlarge}`,xxxlarge:`${e.base.prefix}-${e.icon.prefix}-${e.sizeMap.xxxlarge}`}},svg:{main:"",flipH:"",flipV:""}},c={wrapper:p=>{const{iconNameProp:o,themeColor:a,flipH:s,flipV:r,size:$,c:n=l}=p,i=n.wrapper||{};return{[i.main||""]:!0,[i.svgPrefix||""]:!0,[`${i.namePrefix||""}${o}`]:o,[i.themeColor[a]||""]:a,[i.flipH||""]:s,[i.flipV||""]:r,[i.size[$]||""]:i.size[$]}},svg:p=>{const{flipH:o,flipV:a,c:s=l}=p,r=s.svg;return{[r.main||""]:!0,[r.flipH||""]:o,[r.flipV||""]:a}}};exports.uSvgIcon=c;
|