@progress/kendo-react-common 8.3.0-develop.4 → 8.3.0-develop.6
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 +343 -14
- package/index.d.ts +343 -14
- package/index.js +1 -1
- package/index.mjs +151 -111
- 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 +66 -66
- package/unstyled/dropdowns.js +8 -0
- package/unstyled/dropdowns.mjs +233 -0
- package/unstyled/grid.js +1 -1
- package/unstyled/grid.mjs +70 -70
- 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 +109 -60
- package/unstyled/labels.js +8 -0
- package/unstyled/labels.mjs +99 -0
- package/unstyled/popup.js +1 -1
- package/unstyled/popup.mjs +1 -1
package/unstyled/inputs.mjs
CHANGED
|
@@ -6,88 +6,140 @@
|
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
8
|
"use client";
|
|
9
|
-
import { base as
|
|
10
|
-
const n = `${
|
|
9
|
+
import { base as i, inputs as c, sizeMap as p, states as $, containers as v, elements as q, fillModeMap as m, roundedMap as x, orientationMap as z } from "./json-classes.mjs";
|
|
10
|
+
const n = `${i.prefix}-${c.input}`, B = `${i.prefix}-${c.maskedtextbox}`, f = `${i.prefix}-${c.radio}`, T = `${i.prefix}-${c.textbox}`, M = `${i.prefix}-${c.input}-${c.prefix}`, h = `${i.prefix}-${c.input}-${c.suffix}`, w = {
|
|
11
11
|
input: {
|
|
12
|
-
radio:
|
|
12
|
+
radio: f,
|
|
13
13
|
size: {
|
|
14
|
-
small: `${
|
|
15
|
-
medium: `${
|
|
16
|
-
large: `${
|
|
14
|
+
small: `${f}-${p.small}`,
|
|
15
|
+
medium: `${f}-${p.medium}`,
|
|
16
|
+
large: `${f}-${p.large}`
|
|
17
17
|
},
|
|
18
|
-
invalid: `${
|
|
19
|
-
checked: `${
|
|
18
|
+
invalid: `${i.prefix}-${$.invalid}`,
|
|
19
|
+
checked: `${i.prefix}-${$.checked}`
|
|
20
20
|
},
|
|
21
|
-
wrap: `${
|
|
22
|
-
label: `${
|
|
23
|
-
},
|
|
21
|
+
wrap: `${f}-${v.wrap}`,
|
|
22
|
+
label: `${f}-${q.label}`
|
|
23
|
+
}, P = {
|
|
24
24
|
input: (r) => {
|
|
25
25
|
const {
|
|
26
|
-
size:
|
|
27
|
-
invalid:
|
|
28
|
-
checked:
|
|
29
|
-
c:
|
|
30
|
-
} = r, l =
|
|
26
|
+
size: e,
|
|
27
|
+
invalid: d,
|
|
28
|
+
checked: t,
|
|
29
|
+
c: o = w
|
|
30
|
+
} = r, l = o.input;
|
|
31
31
|
return {
|
|
32
32
|
[l.radio]: !0,
|
|
33
|
-
[l.size[
|
|
34
|
-
[`${
|
|
35
|
-
[l.invalid]:
|
|
36
|
-
[l.checked]:
|
|
33
|
+
[l.size[e]]: l.size[e],
|
|
34
|
+
[`${f}-${e}`]: !l.size[e],
|
|
35
|
+
[l.invalid]: d,
|
|
36
|
+
[l.checked]: t
|
|
37
37
|
};
|
|
38
38
|
},
|
|
39
39
|
label: (r) => {
|
|
40
40
|
const {
|
|
41
|
-
c:
|
|
41
|
+
c: e = w
|
|
42
42
|
} = r;
|
|
43
43
|
return {
|
|
44
|
-
[
|
|
44
|
+
[e.label]: !0
|
|
45
45
|
};
|
|
46
46
|
},
|
|
47
47
|
wrap: (r) => {
|
|
48
48
|
const {
|
|
49
|
-
c:
|
|
49
|
+
c: e = w
|
|
50
50
|
} = r;
|
|
51
51
|
return {
|
|
52
|
-
[
|
|
52
|
+
[e.wrap]: !0
|
|
53
53
|
};
|
|
54
54
|
}
|
|
55
|
-
},
|
|
55
|
+
}, C = {
|
|
56
56
|
ul: {
|
|
57
|
-
main: `${
|
|
58
|
-
horizontal: `${
|
|
59
|
-
vertical: `${
|
|
57
|
+
main: `${f}-${v.list}`,
|
|
58
|
+
horizontal: `${i.prefix}-${v.list}-${$.horizontal}`,
|
|
59
|
+
vertical: `${i.prefix}-${v.list}-${$.vertical}`
|
|
60
60
|
},
|
|
61
61
|
item: {
|
|
62
|
-
main: `${
|
|
63
|
-
disabled: `${
|
|
62
|
+
main: `${f}-${v.list}-${v.item}`,
|
|
63
|
+
disabled: `${i.prefix}-${$.disabled}`
|
|
64
64
|
}
|
|
65
|
-
},
|
|
65
|
+
}, S = {
|
|
66
66
|
ul: (r) => {
|
|
67
67
|
const {
|
|
68
|
-
horizontal:
|
|
69
|
-
vertical:
|
|
70
|
-
c:
|
|
71
|
-
} = r,
|
|
68
|
+
horizontal: e,
|
|
69
|
+
vertical: d,
|
|
70
|
+
c: t = C
|
|
71
|
+
} = r, o = t.ul;
|
|
72
72
|
return {
|
|
73
|
-
[
|
|
74
|
-
[
|
|
75
|
-
[
|
|
73
|
+
[o.main]: !0,
|
|
74
|
+
[o.horizontal]: e,
|
|
75
|
+
[o.vertical]: d
|
|
76
76
|
};
|
|
77
77
|
},
|
|
78
78
|
item: (r) => {
|
|
79
79
|
const {
|
|
80
|
-
disabled:
|
|
81
|
-
c:
|
|
82
|
-
} = r,
|
|
80
|
+
disabled: e,
|
|
81
|
+
c: d = C
|
|
82
|
+
} = r, t = d.item;
|
|
83
|
+
return {
|
|
84
|
+
[t.main]: !0,
|
|
85
|
+
[t.disabled]: e
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
}, g = {
|
|
89
|
+
wrapper: {
|
|
90
|
+
main: B,
|
|
91
|
+
input: n,
|
|
92
|
+
size: {
|
|
93
|
+
small: `${n}-${p.small}`,
|
|
94
|
+
medium: `${n}-${p.medium}`,
|
|
95
|
+
large: `${n}-${p.large}`
|
|
96
|
+
},
|
|
97
|
+
fillMode: {
|
|
98
|
+
solid: `${n}-${m.solid}`,
|
|
99
|
+
outline: `${n}-${m.outline}`,
|
|
100
|
+
flat: `${n}-${m.flat}`
|
|
101
|
+
},
|
|
102
|
+
rounded: {
|
|
103
|
+
small: `${i.prefix}-${i.rounded}-${x.small}`,
|
|
104
|
+
medium: `${i.prefix}-${i.rounded}-${x.medium}`,
|
|
105
|
+
large: `${i.prefix}-${i.rounded}-${x.large}`
|
|
106
|
+
},
|
|
107
|
+
disabled: `${i.prefix}-${$.disabled}`,
|
|
108
|
+
invalid: `${i.prefix}-${$.invalid}`,
|
|
109
|
+
isRtl: `${i.prefix}-${i.rtl}`
|
|
110
|
+
},
|
|
111
|
+
input: `${n}-${c.inner}`
|
|
112
|
+
}, j = {
|
|
113
|
+
wrapper: (r) => {
|
|
114
|
+
const {
|
|
115
|
+
invalid: e,
|
|
116
|
+
disabled: d,
|
|
117
|
+
size: t,
|
|
118
|
+
fillMode: o,
|
|
119
|
+
rounded: l,
|
|
120
|
+
c: u = g
|
|
121
|
+
} = r, a = u.wrapper;
|
|
83
122
|
return {
|
|
84
123
|
[a.main]: !0,
|
|
85
|
-
[a.
|
|
124
|
+
[a.input]: !0,
|
|
125
|
+
[a.size[t]]: a.size[t],
|
|
126
|
+
[`${n}-${t}`]: !a.size[t],
|
|
127
|
+
[a.fillMode[o]]: a.fillMode[o],
|
|
128
|
+
[a.rounded[l]]: a.rounded[l],
|
|
129
|
+
[`${i.prefix}-${i.rounded}-${l}`]: l && !a.rounded[l],
|
|
130
|
+
[a.disabled]: d,
|
|
131
|
+
[a.invalid]: e
|
|
132
|
+
};
|
|
133
|
+
},
|
|
134
|
+
input: (r) => {
|
|
135
|
+
const { c: e = g } = r;
|
|
136
|
+
return {
|
|
137
|
+
[e.input]: !0
|
|
86
138
|
};
|
|
87
139
|
}
|
|
88
140
|
}, b = {
|
|
89
141
|
wrapper: {
|
|
90
|
-
main:
|
|
142
|
+
main: T,
|
|
91
143
|
input: n,
|
|
92
144
|
size: {
|
|
93
145
|
small: `${n}-${p.small}`,
|
|
@@ -95,55 +147,116 @@ const n = `${e.prefix}-${m.prefix}`, M = `${e.prefix}-${m.maskedtextbox}`, d = `
|
|
|
95
147
|
large: `${n}-${p.large}`
|
|
96
148
|
},
|
|
97
149
|
fillMode: {
|
|
98
|
-
solid: `${n}-${
|
|
99
|
-
outline: `${n}-${
|
|
100
|
-
flat: `${n}-${
|
|
101
|
-
link: `${n}-${c.link}`,
|
|
102
|
-
clear: `${n}-${c.clear}`
|
|
150
|
+
solid: `${n}-${m.solid}`,
|
|
151
|
+
outline: `${n}-${m.outline}`,
|
|
152
|
+
flat: `${n}-${m.flat}`
|
|
103
153
|
},
|
|
104
154
|
rounded: {
|
|
105
|
-
small: `${
|
|
106
|
-
medium: `${
|
|
107
|
-
large: `${
|
|
155
|
+
small: `${i.prefix}-${i.rounded}-${x.small}`,
|
|
156
|
+
medium: `${i.prefix}-${i.rounded}-${x.medium}`,
|
|
157
|
+
large: `${i.prefix}-${i.rounded}-${x.large}`
|
|
108
158
|
},
|
|
109
|
-
disabled: `${
|
|
110
|
-
|
|
111
|
-
|
|
159
|
+
disabled: `${i.prefix}-${$.disabled}`,
|
|
160
|
+
focused: `${i.prefix}-${$.focus}`,
|
|
161
|
+
required: `${i.prefix}-${$.required}`,
|
|
162
|
+
invalid: `${i.prefix}-${$.invalid}`,
|
|
163
|
+
isRtl: `${i.prefix}-${i.rtl}`
|
|
164
|
+
},
|
|
165
|
+
input: `${n}-${c.inner}`,
|
|
166
|
+
prefix: {
|
|
167
|
+
main: M,
|
|
168
|
+
orientation: {
|
|
169
|
+
horizontal: `${M}-${z.horizontal}`,
|
|
170
|
+
vertical: `${M}-${z.vertical}`
|
|
171
|
+
}
|
|
112
172
|
},
|
|
113
|
-
|
|
114
|
-
|
|
173
|
+
suffix: {
|
|
174
|
+
main: h,
|
|
175
|
+
orientation: {
|
|
176
|
+
horizontal: `${h}-${z.horizontal}`,
|
|
177
|
+
vertical: `${h}-${z.vertical}`
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
}, y = {
|
|
115
181
|
wrapper: (r) => {
|
|
116
182
|
const {
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
183
|
+
disabled: e,
|
|
184
|
+
invalid: d,
|
|
185
|
+
focused: t,
|
|
186
|
+
required: o,
|
|
187
|
+
size: l,
|
|
188
|
+
fillMode: u,
|
|
189
|
+
rounded: a,
|
|
190
|
+
isRtl: R,
|
|
191
|
+
c: k = b
|
|
192
|
+
} = r, s = k.wrapper;
|
|
193
|
+
return {
|
|
194
|
+
[s.main]: !0,
|
|
195
|
+
[s.input]: !0,
|
|
196
|
+
[s.size[l]]: s.size[l],
|
|
197
|
+
[`${n}-${l}`]: !s.size[l],
|
|
198
|
+
[s.fillMode[u]]: s.fillMode[u],
|
|
199
|
+
[s.rounded[a]]: s.rounded[a],
|
|
200
|
+
[`${i.prefix}-${i.rounded}-${a}`]: a && !s.rounded[a],
|
|
201
|
+
[s.disabled]: e,
|
|
202
|
+
[s.focused]: t,
|
|
203
|
+
[s.required]: o,
|
|
204
|
+
[s.invalid]: d,
|
|
205
|
+
[s.isRtl]: R
|
|
206
|
+
};
|
|
207
|
+
},
|
|
208
|
+
input: (r) => {
|
|
209
|
+
const { c: e = b } = r;
|
|
210
|
+
return {
|
|
211
|
+
[e.input]: !0
|
|
212
|
+
};
|
|
213
|
+
},
|
|
214
|
+
prefix: (r) => {
|
|
215
|
+
const { orientation: e, c: d = b } = r, t = d.prefix;
|
|
124
216
|
return {
|
|
125
217
|
[t.main]: !0,
|
|
126
|
-
[t.
|
|
127
|
-
[t.size[a]]: t.size[a],
|
|
128
|
-
[`${n}-${a}`]: !t.size[a],
|
|
129
|
-
[t.fillMode[$]]: t.fillMode[$],
|
|
130
|
-
[t.rounded[l]]: t.rounded[l],
|
|
131
|
-
[`${e.prefix}-${e.rounded}-${l}`]: l && !t.rounded[l],
|
|
132
|
-
[t.disabled]: s,
|
|
133
|
-
[t.invalid]: i
|
|
218
|
+
[t.orientation[e]]: t.orientation[e]
|
|
134
219
|
};
|
|
135
220
|
},
|
|
221
|
+
suffix: (r) => {
|
|
222
|
+
const { orientation: e, c: d = b } = r, t = d.suffix;
|
|
223
|
+
return {
|
|
224
|
+
[t.main]: !0,
|
|
225
|
+
[t.orientation[e]]: t.orientation[e]
|
|
226
|
+
};
|
|
227
|
+
}
|
|
228
|
+
}, G = {
|
|
229
|
+
input: {
|
|
230
|
+
main: `${n} ${n}-${p.medium} ${i.prefix}-${i.rounded}-${x.medium} ${n}-${m.solid}`,
|
|
231
|
+
disabled: `${i.prefix}-${$.disabled}`,
|
|
232
|
+
required: `${i.prefix}-${$.required}`,
|
|
233
|
+
invalid: `${i.prefix}-${$.invalid}`,
|
|
234
|
+
isRtl: `${i.prefix}-${i.rtl}`
|
|
235
|
+
}
|
|
236
|
+
}, A = {
|
|
136
237
|
input: (r) => {
|
|
137
|
-
const {
|
|
238
|
+
const {
|
|
239
|
+
disabled: e,
|
|
240
|
+
invalid: d,
|
|
241
|
+
required: t,
|
|
242
|
+
isRtl: o,
|
|
243
|
+
c: l = G
|
|
244
|
+
} = r, u = l.input;
|
|
138
245
|
return {
|
|
139
|
-
[
|
|
246
|
+
[u.main]: !0,
|
|
247
|
+
[u.disabled]: e,
|
|
248
|
+
[u.required]: t,
|
|
249
|
+
[u.invalid]: d,
|
|
250
|
+
[u.isRtl]: o
|
|
140
251
|
};
|
|
141
252
|
}
|
|
142
253
|
};
|
|
143
254
|
export {
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
255
|
+
w as radioButtonClasses,
|
|
256
|
+
C as radioGroupClasses,
|
|
257
|
+
A as uInput,
|
|
258
|
+
j as uMaskedTextBox,
|
|
259
|
+
P as uRadioButton,
|
|
260
|
+
S as uRadioGroup,
|
|
261
|
+
y as uTextBox
|
|
149
262
|
};
|
|
@@ -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 n=(e,t)=>r=>{const{c:s=e}=r;return{[s[t]]:!0}};exports.getClassByName=n;
|
|
@@ -0,0 +1,17 @@
|
|
|
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
|
+
const s = (e, t) => (r) => {
|
|
10
|
+
const { c: n = e } = r;
|
|
11
|
+
return {
|
|
12
|
+
[n[t]]: !0
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export {
|
|
16
|
+
s as getClassByName
|
|
17
|
+
};
|
package/unstyled/json-classes.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={prefix:"k",important:"!",rtl:"rtl",rounded:"rounded"},t={xsmall:"xs",small:"sm",medium:"md",large:"lg",xlarge:"xl",xxlarge:"xxl",xxxlarge:"xxxl"},
|
|
8
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={prefix:"k",important:"!",rtl:"rtl",rounded:"rounded",value:"value",filter:"filter",virtual:"virtual",clear:"clear",nodata:"nodata"},v={center:"center",hbox:"hbox",overflow:"overflow"},t={actionsheet:"actionsheet",dropdownlist:"dropdownlist",maskedtextbox:"maskedtextbox",menu:"menu",searchbox:"searchbox"},a={xsmall:"xs",small:"sm",medium:"md",large:"lg",xlarge:"xl",xxlarge:"xxl",xxxlarge:"xxxl"},l={solid:"solid",outline:"outline",flat:"flat",link:"link",clear:"clear"},s={base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",dark:"dark",light:"light",inherit:"inherit",inverse:"inverse"},d={small:"sm",medium:"md",large:"lg",full:"full"},c={vertical:"vertical",horizontal:"horizontal"},p={height:"height",width:"width"},f={default:"cursor-default"},x={up:"up",down:"down",left:"left",right:"right",start:"start",end:"end"},o={actions:"actions",container:"container",content:"content",group:"group",row:"row",wrap:"wrap",list:"list",popup:"popup",item:"item",picker:"picker",titlebar:"titlebar",optionlabel:"optionlabel"},r={table:"table",text:"text",button:"button",tbody:"tbody",thead:"thead",th:"th",td:"td",header:"header",footer:"footer",icon:"icon",title:"title",link:"link",label:"label",ul:"ul"},u={adaptive:"adaptive",first:"first",focus:"focus",last:"last",draggable:"draggable",filterable:"filterable",grouping:"grouping",selected:"selected",disabled:"disabled",hidden:"hidden",invalid:"invalid",loading:"loading",required:"required",checked:"checked",empty:"empty",sorted:"sorted",sort:"sort",sticky:"sticky",order:"order",alt:"alt",edit:"edit",template:"template",shown:"shown",horizontal:"horizontal",vertical:"vertical",fullscreen:"fullscreen",bottom:"bottom"},m={prefix:"animation",child:"child",relative:"relative",slide:"slide",appear:"appear",active:"active",enter:"enter",exit:"exit",pushRight:"push-right",pushLeft:"push-left",pushDown:"push-down",pushUp:"push-up",expandVertical:"expand-vertical",expandHorizontal:"expand-horizontal",fade:"fade",zoomIn:"zoom-in",zoomOut:"zoom-out",slideIn:"slide-in",slideDown:"slide-down",slideUp:"slide-up",slideRight:"slide-right",slideLeft:"slide-left",revealVertical:"reveal-vertical",revealHorizontal:"reveal-horizontal","animation-container":"animation-container","animation-container-shown":"animation-container-shown","animation-container-relative":"animation-container-relative","animation-container-fixed":"animation-container-fixed","child-animation-container":"child-animation-container"},i={input:"input",inner:"inner",maskedtextbox:"maskedtextbox",radio:"radio",textbox:"textbox",prefix:"prefix",suffix:"suffix"},h={prefix:"icon",svg:"svg",i:"i",color:"color",flipH:"flip-h",flipV:"flip-v"},b={label:"label",text:"text",floatingLabel:"floating-label",container:"container",hint:"form-hint",error:"form-error"},g={prefix:"popup"},n={prefix:"grid",ariaRoot:"aria-root",tableWrap:"table-wrap",master:"master",column:"column",cell:"cell",cellInner:"cell-inner",row:"row",group:"group",hierarchy:"hierarchy",detail:"detail",noRecords:"norecords",pager:"pager"},w=`${e.prefix}-${i.input}`,k=`${e.prefix}-${t.maskedtextbox}`,y=`${e.prefix}-${i.radio}`,P=`${e.prefix}-${r.button}`,$=`${e.prefix}-${t.menu}`,M=`${e.prefix}-${o.picker}`,z=`${e.prefix}-${t.dropdownlist}`,L=`${e.prefix}-${n.prefix}`,D={base:e,animation:m,sizeMap:a,directionMap:x,fillModeMap:l,themeColorMap:s,roundedMap:d,orientationMap:c,elements:r,states:u,dimensions:p,containers:o,cursor:f,inputs:i,labels:b,popup:g,icon:h,grid:n};exports.animationStyles=m;exports.base=e;exports.buttonPrefix=P;exports.components=t;exports.containers=o;exports.cssUtils=v;exports.cursor=f;exports.ddbPrefix=$;exports.dimensions=p;exports.directionMap=x;exports.dropDownListPrefix=z;exports.elements=r;exports.fillModeMap=l;exports.grid=n;exports.gridPrefix=L;exports.icon=h;exports.inputPrefix=w;exports.inputs=i;exports.jsonTheme=D;exports.labels=b;exports.maskedPrefix=k;exports.orientationMap=c;exports.pickerPrefix=M;exports.popup=g;exports.radioPrefix=y;exports.roundedMap=d;exports.sizeMap=a;exports.states=u;exports.themeColorMap=s;
|
|
@@ -10,8 +10,23 @@ const e = {
|
|
|
10
10
|
prefix: "k",
|
|
11
11
|
important: "!",
|
|
12
12
|
rtl: "rtl",
|
|
13
|
-
rounded: "rounded"
|
|
13
|
+
rounded: "rounded",
|
|
14
|
+
value: "value",
|
|
15
|
+
filter: "filter",
|
|
16
|
+
virtual: "virtual",
|
|
17
|
+
clear: "clear",
|
|
18
|
+
nodata: "nodata"
|
|
19
|
+
}, v = {
|
|
20
|
+
center: "center",
|
|
21
|
+
hbox: "hbox",
|
|
22
|
+
overflow: "overflow"
|
|
14
23
|
}, t = {
|
|
24
|
+
actionsheet: "actionsheet",
|
|
25
|
+
dropdownlist: "dropdownlist",
|
|
26
|
+
maskedtextbox: "maskedtextbox",
|
|
27
|
+
menu: "menu",
|
|
28
|
+
searchbox: "searchbox"
|
|
29
|
+
}, a = {
|
|
15
30
|
xsmall: "xs",
|
|
16
31
|
small: "sm",
|
|
17
32
|
medium: "md",
|
|
@@ -19,13 +34,13 @@ const e = {
|
|
|
19
34
|
xlarge: "xl",
|
|
20
35
|
xxlarge: "xxl",
|
|
21
36
|
xxxlarge: "xxxl"
|
|
22
|
-
},
|
|
37
|
+
}, l = {
|
|
23
38
|
solid: "solid",
|
|
24
39
|
outline: "outline",
|
|
25
40
|
flat: "flat",
|
|
26
41
|
link: "link",
|
|
27
42
|
clear: "clear"
|
|
28
|
-
},
|
|
43
|
+
}, s = {
|
|
29
44
|
base: "base",
|
|
30
45
|
primary: "primary",
|
|
31
46
|
secondary: "secondary",
|
|
@@ -38,31 +53,43 @@ const e = {
|
|
|
38
53
|
light: "light",
|
|
39
54
|
inherit: "inherit",
|
|
40
55
|
inverse: "inverse"
|
|
41
|
-
},
|
|
56
|
+
}, d = {
|
|
42
57
|
small: "sm",
|
|
43
58
|
medium: "md",
|
|
44
59
|
large: "lg",
|
|
45
60
|
full: "full"
|
|
46
|
-
},
|
|
61
|
+
}, c = {
|
|
62
|
+
vertical: "vertical",
|
|
63
|
+
horizontal: "horizontal"
|
|
64
|
+
}, p = {
|
|
47
65
|
height: "height",
|
|
48
66
|
width: "width"
|
|
49
|
-
},
|
|
67
|
+
}, x = {
|
|
50
68
|
default: "cursor-default"
|
|
51
|
-
},
|
|
69
|
+
}, f = {
|
|
52
70
|
up: "up",
|
|
53
71
|
down: "down",
|
|
54
72
|
left: "left",
|
|
55
|
-
right: "right"
|
|
56
|
-
|
|
73
|
+
right: "right",
|
|
74
|
+
start: "start",
|
|
75
|
+
end: "end"
|
|
76
|
+
}, o = {
|
|
77
|
+
actions: "actions",
|
|
57
78
|
container: "container",
|
|
58
79
|
content: "content",
|
|
80
|
+
group: "group",
|
|
81
|
+
row: "row",
|
|
59
82
|
wrap: "wrap",
|
|
60
83
|
list: "list",
|
|
61
84
|
popup: "popup",
|
|
62
|
-
item: "item"
|
|
63
|
-
|
|
85
|
+
item: "item",
|
|
86
|
+
picker: "picker",
|
|
87
|
+
titlebar: "titlebar",
|
|
88
|
+
optionlabel: "optionlabel"
|
|
89
|
+
}, r = {
|
|
64
90
|
table: "table",
|
|
65
91
|
text: "text",
|
|
92
|
+
button: "button",
|
|
66
93
|
tbody: "tbody",
|
|
67
94
|
thead: "thead",
|
|
68
95
|
th: "th",
|
|
@@ -72,8 +99,10 @@ const e = {
|
|
|
72
99
|
icon: "icon",
|
|
73
100
|
title: "title",
|
|
74
101
|
link: "link",
|
|
75
|
-
label: "label"
|
|
76
|
-
|
|
102
|
+
label: "label",
|
|
103
|
+
ul: "ul"
|
|
104
|
+
}, u = {
|
|
105
|
+
adaptive: "adaptive",
|
|
77
106
|
first: "first",
|
|
78
107
|
focus: "focus",
|
|
79
108
|
last: "last",
|
|
@@ -82,18 +111,25 @@ const e = {
|
|
|
82
111
|
grouping: "grouping",
|
|
83
112
|
selected: "selected",
|
|
84
113
|
disabled: "disabled",
|
|
114
|
+
hidden: "hidden",
|
|
85
115
|
invalid: "invalid",
|
|
116
|
+
loading: "loading",
|
|
117
|
+
required: "required",
|
|
86
118
|
checked: "checked",
|
|
119
|
+
empty: "empty",
|
|
87
120
|
sorted: "sorted",
|
|
88
121
|
sort: "sort",
|
|
122
|
+
sticky: "sticky",
|
|
89
123
|
order: "order",
|
|
90
124
|
alt: "alt",
|
|
91
125
|
edit: "edit",
|
|
92
126
|
template: "template",
|
|
93
127
|
shown: "shown",
|
|
94
128
|
horizontal: "horizontal",
|
|
95
|
-
vertical: "vertical"
|
|
96
|
-
|
|
129
|
+
vertical: "vertical",
|
|
130
|
+
fullscreen: "fullscreen",
|
|
131
|
+
bottom: "bottom"
|
|
132
|
+
}, h = {
|
|
97
133
|
prefix: "animation",
|
|
98
134
|
child: "child",
|
|
99
135
|
relative: "relative",
|
|
@@ -123,31 +159,34 @@ const e = {
|
|
|
123
159
|
"animation-container-relative": "animation-container-relative",
|
|
124
160
|
"animation-container-fixed": "animation-container-fixed",
|
|
125
161
|
"child-animation-container": "child-animation-container"
|
|
126
|
-
},
|
|
127
|
-
|
|
128
|
-
}, u = {
|
|
129
|
-
prefix: "input",
|
|
162
|
+
}, i = {
|
|
163
|
+
input: "input",
|
|
130
164
|
inner: "inner",
|
|
131
165
|
maskedtextbox: "maskedtextbox",
|
|
132
|
-
radio: "radio"
|
|
166
|
+
radio: "radio",
|
|
167
|
+
textbox: "textbox",
|
|
168
|
+
prefix: "prefix",
|
|
169
|
+
suffix: "suffix"
|
|
133
170
|
}, m = {
|
|
134
|
-
prefix: "menu",
|
|
135
|
-
group: "group"
|
|
136
|
-
}, f = {
|
|
137
171
|
prefix: "icon",
|
|
138
172
|
svg: "svg",
|
|
139
173
|
i: "i",
|
|
140
174
|
color: "color",
|
|
141
175
|
flipH: "flip-h",
|
|
142
176
|
flipV: "flip-v"
|
|
177
|
+
}, b = {
|
|
178
|
+
label: "label",
|
|
179
|
+
text: "text",
|
|
180
|
+
floatingLabel: "floating-label",
|
|
181
|
+
container: "container",
|
|
182
|
+
hint: "form-hint",
|
|
183
|
+
error: "form-error"
|
|
143
184
|
}, g = {
|
|
144
185
|
prefix: "popup"
|
|
145
|
-
},
|
|
186
|
+
}, n = {
|
|
146
187
|
prefix: "grid",
|
|
147
|
-
virtual: "virtual",
|
|
148
188
|
ariaRoot: "aria-root",
|
|
149
189
|
tableWrap: "table-wrap",
|
|
150
|
-
sticky: "sticky",
|
|
151
190
|
master: "master",
|
|
152
191
|
column: "column",
|
|
153
192
|
cell: "cell",
|
|
@@ -158,44 +197,54 @@ const e = {
|
|
|
158
197
|
detail: "detail",
|
|
159
198
|
noRecords: "norecords",
|
|
160
199
|
pager: "pager"
|
|
161
|
-
},
|
|
200
|
+
}, w = `${e.prefix}-${i.input}`, k = `${e.prefix}-${t.maskedtextbox}`, $ = `${e.prefix}-${i.radio}`, y = `${e.prefix}-${r.button}`, z = `${e.prefix}-${t.menu}`, P = `${e.prefix}-${o.picker}`, M = `${e.prefix}-${t.dropdownlist}`, L = `${e.prefix}-${n.prefix}`, R = {
|
|
162
201
|
base: e,
|
|
163
|
-
animation:
|
|
164
|
-
sizeMap:
|
|
165
|
-
directionMap:
|
|
166
|
-
fillModeMap:
|
|
167
|
-
themeColorMap:
|
|
168
|
-
roundedMap:
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
202
|
+
animation: h,
|
|
203
|
+
sizeMap: a,
|
|
204
|
+
directionMap: f,
|
|
205
|
+
fillModeMap: l,
|
|
206
|
+
themeColorMap: s,
|
|
207
|
+
roundedMap: d,
|
|
208
|
+
orientationMap: c,
|
|
209
|
+
elements: r,
|
|
210
|
+
states: u,
|
|
211
|
+
dimensions: p,
|
|
212
|
+
containers: o,
|
|
213
|
+
cursor: x,
|
|
214
|
+
inputs: i,
|
|
215
|
+
labels: b,
|
|
177
216
|
popup: g,
|
|
178
|
-
icon:
|
|
179
|
-
grid:
|
|
217
|
+
icon: m,
|
|
218
|
+
grid: n
|
|
180
219
|
};
|
|
181
220
|
export {
|
|
182
|
-
|
|
221
|
+
h as animationStyles,
|
|
183
222
|
e as base,
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
223
|
+
y as buttonPrefix,
|
|
224
|
+
t as components,
|
|
225
|
+
o as containers,
|
|
226
|
+
v as cssUtils,
|
|
227
|
+
x as cursor,
|
|
228
|
+
z as ddbPrefix,
|
|
229
|
+
p as dimensions,
|
|
230
|
+
f as directionMap,
|
|
231
|
+
M as dropDownListPrefix,
|
|
232
|
+
r as elements,
|
|
233
|
+
l as fillModeMap,
|
|
234
|
+
n as grid,
|
|
235
|
+
L as gridPrefix,
|
|
236
|
+
m as icon,
|
|
237
|
+
w as inputPrefix,
|
|
238
|
+
i as inputs,
|
|
239
|
+
R as jsonTheme,
|
|
240
|
+
b as labels,
|
|
241
|
+
k as maskedPrefix,
|
|
242
|
+
c as orientationMap,
|
|
243
|
+
P as pickerPrefix,
|
|
195
244
|
g as popup,
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
245
|
+
$ as radioPrefix,
|
|
246
|
+
d as roundedMap,
|
|
247
|
+
a as sizeMap,
|
|
248
|
+
u as states,
|
|
249
|
+
s as themeColorMap
|
|
201
250
|
};
|
|
@@ -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"),d=`${e.base.prefix}-${e.labels.label}`,b=`${e.base.prefix}-${e.labels.floatingLabel}`,p=`${e.base.prefix}-${e.labels.error}`,$=`${e.base.prefix}-${e.labels.hint}`,c={label:{main:d,empty:`${e.base.prefix}-${e.labels.label}-${e.states.empty}`,invalid:`${e.base.prefix}-${e.labels.text}-${e.themeColorMap.error}`,disabled:`${e.base.prefix}-${e.labels.text}-${e.states.disabled}`}},x={label:l=>{const{empty:s,invalid:r,disabled:t,c:a=c}=l,i=a.label;return{[i.main]:!0,[i.empty]:s,[i.invalid]:r,[i.disabled]:t}}},o={wrapper:{main:`${b}-${e.labels.container}`,focused:`${e.base.prefix}-${e.states.focus}`,empty:`${e.base.prefix}-${e.states.empty}`,disabled:`${e.base.prefix}-${e.labels.text}-${e.states.disabled}`,isRtl:`${e.base.prefix}-${e.base.rtl}`},label:{main:b,invalid:`${e.base.prefix}-${e.labels.text}-${e.themeColorMap.error}`,disabled:`${e.base.prefix}-${e.labels.text}-${e.states.disabled}`}},u={wrapper:l=>{const{focused:s,empty:r,disabled:t,isRtl:a,c:i=o}=l,n=i.wrapper;return{[n.main]:!0,[n.focused]:s,[n.empty]:r,[n.disabled]:t,[n.isRtl]:a}},label:l=>{const{invalid:s,disabled:r,c:t=o}=l,a=t.label;return{[a.main]:!0,[a.invalid]:s,[a.disabled]:r}}},f={wrapper:{main:p,direction:{start:`${e.base.prefix}-${e.labels.text}-${e.directionMap.start}`,end:`${e.base.prefix}-${e.labels.text}-${e.directionMap.end}`}}},m={wrapper:l=>{const{direction:s,c:r=f}=l,t=r.wrapper;return{[t.main]:!0,[t.direction[s]]:t.direction[s]}}},w={wrapper:{main:$,direction:{start:`${e.base.prefix}-${e.labels.text}-${e.directionMap.start}`,end:`${e.base.prefix}-${e.labels.text}-${e.directionMap.end}`,disabled:`${e.base.prefix}-${e.labels.text}-${e.states.disabled}`}}},C={wrapper:l=>{const{direction:s,disabled:r,c:t=w}=l,a=t.wrapper;return{[a.main]:!0,[a.direction[s]]:a.direction[s],[a.disabled]:r}}};exports.uError=m;exports.uFloatingLabel=u;exports.uHint=C;exports.uLabel=x;
|