@progress/kendo-vue-common 7.0.3-develop.1 → 7.1.0-develop.2
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-vue-common.js +1 -1
- package/index.d.mts +2054 -5
- package/index.d.ts +2054 -5
- package/index.js +1 -1
- package/index.mjs +147 -73
- package/package.json +1 -1
- package/unstyled/animations.js +8 -0
- package/unstyled/animations.mjs +184 -0
- package/unstyled/buttons.js +8 -0
- package/unstyled/buttons.mjs +263 -0
- package/unstyled/common.js +8 -0
- package/unstyled/common.mjs +16 -0
- package/unstyled/dateinputs.js +8 -0
- package/unstyled/dateinputs.mjs +523 -0
- package/unstyled/dropdowns.js +8 -0
- package/unstyled/dropdowns.mjs +350 -0
- package/unstyled/form.js +8 -0
- package/unstyled/form.mjs +84 -0
- package/unstyled/grid.js +8 -0
- package/unstyled/grid.mjs +339 -0
- package/unstyled/icons.js +8 -0
- package/unstyled/icons.mjs +68 -0
- package/unstyled/inputs.js +8 -0
- package/unstyled/inputs.mjs +219 -0
- package/unstyled/json-classes.js +8 -0
- package/unstyled/json-classes.mjs +334 -0
- package/unstyled/labels.js +8 -0
- package/unstyled/labels.mjs +106 -0
- package/unstyled/popup.js +8 -0
- package/unstyled/popup.mjs +92 -0
|
@@ -0,0 +1,334 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
const e = {
|
|
9
|
+
prefix: "k",
|
|
10
|
+
important: "!",
|
|
11
|
+
rtl: "rtl",
|
|
12
|
+
rounded: "rounded",
|
|
13
|
+
value: "value",
|
|
14
|
+
state: "state",
|
|
15
|
+
filter: "filter",
|
|
16
|
+
virtual: "virtual",
|
|
17
|
+
infinite: "infinite",
|
|
18
|
+
clear: "clear",
|
|
19
|
+
reset: "reset",
|
|
20
|
+
data: "data",
|
|
21
|
+
nodata: "nodata",
|
|
22
|
+
scroller: "scroller"
|
|
23
|
+
}, n = {
|
|
24
|
+
center: "center",
|
|
25
|
+
hbox: "hbox",
|
|
26
|
+
vstack: "vstack",
|
|
27
|
+
hstack: "hstack",
|
|
28
|
+
overflow: "overflow"
|
|
29
|
+
}, t = {
|
|
30
|
+
actionsheet: "actionsheet",
|
|
31
|
+
calendar: "calendar",
|
|
32
|
+
buttongroup: "buttongroup",
|
|
33
|
+
dateinput: "dateinput",
|
|
34
|
+
datetime: "datetime",
|
|
35
|
+
datetimepicker: "datetimepicker",
|
|
36
|
+
dropdownlist: "dropdownlist",
|
|
37
|
+
combobox: "combobox",
|
|
38
|
+
maskedtextbox: "maskedtextbox",
|
|
39
|
+
menu: "menu",
|
|
40
|
+
searchbox: "searchbox",
|
|
41
|
+
timepicker: "timepicker"
|
|
42
|
+
}, l = {
|
|
43
|
+
xsmall: "xs",
|
|
44
|
+
small: "sm",
|
|
45
|
+
medium: "md",
|
|
46
|
+
large: "lg",
|
|
47
|
+
xlarge: "xl",
|
|
48
|
+
xxlarge: "xxl",
|
|
49
|
+
xxxlarge: "xxxl"
|
|
50
|
+
}, s = {
|
|
51
|
+
solid: "solid",
|
|
52
|
+
outline: "outline",
|
|
53
|
+
flat: "flat",
|
|
54
|
+
link: "link",
|
|
55
|
+
clear: "clear"
|
|
56
|
+
}, c = {
|
|
57
|
+
base: "base",
|
|
58
|
+
primary: "primary",
|
|
59
|
+
secondary: "secondary",
|
|
60
|
+
tertiary: "tertiary",
|
|
61
|
+
info: "info",
|
|
62
|
+
success: "success",
|
|
63
|
+
warning: "warning",
|
|
64
|
+
error: "error",
|
|
65
|
+
dark: "dark",
|
|
66
|
+
light: "light",
|
|
67
|
+
inherit: "inherit",
|
|
68
|
+
inverse: "inverse"
|
|
69
|
+
}, d = {
|
|
70
|
+
small: "sm",
|
|
71
|
+
medium: "md",
|
|
72
|
+
large: "lg",
|
|
73
|
+
full: "full"
|
|
74
|
+
}, p = {
|
|
75
|
+
vertical: "vertical",
|
|
76
|
+
horizontal: "horizontal"
|
|
77
|
+
}, h = {
|
|
78
|
+
height: "height",
|
|
79
|
+
width: "width"
|
|
80
|
+
}, m = {
|
|
81
|
+
default: "cursor-default"
|
|
82
|
+
}, f = {
|
|
83
|
+
up: "up",
|
|
84
|
+
down: "down",
|
|
85
|
+
left: "left",
|
|
86
|
+
right: "right",
|
|
87
|
+
start: "start",
|
|
88
|
+
mid: "mid",
|
|
89
|
+
end: "end"
|
|
90
|
+
}, r = {
|
|
91
|
+
actions: "actions",
|
|
92
|
+
container: "container",
|
|
93
|
+
content: "content",
|
|
94
|
+
group: "group",
|
|
95
|
+
row: "row",
|
|
96
|
+
nav: "nav",
|
|
97
|
+
wrap: "wrap",
|
|
98
|
+
wrapper: "wrapper",
|
|
99
|
+
list: "list",
|
|
100
|
+
placeholder: "placeholder",
|
|
101
|
+
popup: "popup",
|
|
102
|
+
item: "item",
|
|
103
|
+
part: "part",
|
|
104
|
+
picker: "picker",
|
|
105
|
+
separator: "separator",
|
|
106
|
+
spacer: "spacer",
|
|
107
|
+
tab: "tab",
|
|
108
|
+
titlebar: "titlebar",
|
|
109
|
+
optionLabel: "optionlabel",
|
|
110
|
+
view: "view"
|
|
111
|
+
}, a = {
|
|
112
|
+
table: "table",
|
|
113
|
+
text: "text",
|
|
114
|
+
button: "button",
|
|
115
|
+
tbody: "tbody",
|
|
116
|
+
thead: "thead",
|
|
117
|
+
tr: "tr",
|
|
118
|
+
th: "th",
|
|
119
|
+
td: "td",
|
|
120
|
+
header: "header",
|
|
121
|
+
footer: "footer",
|
|
122
|
+
icon: "icon",
|
|
123
|
+
title: "title",
|
|
124
|
+
subtitle: "subtitle",
|
|
125
|
+
link: "link",
|
|
126
|
+
label: "label",
|
|
127
|
+
ul: "ul",
|
|
128
|
+
caption: "caption"
|
|
129
|
+
}, u = {
|
|
130
|
+
increase: "increase",
|
|
131
|
+
decrease: "decrease",
|
|
132
|
+
cancel: "cancel",
|
|
133
|
+
accept: "accept",
|
|
134
|
+
split: "split"
|
|
135
|
+
}, x = {
|
|
136
|
+
active: "active",
|
|
137
|
+
adaptive: "adaptive",
|
|
138
|
+
first: "first",
|
|
139
|
+
focus: "focus",
|
|
140
|
+
pending: "pending",
|
|
141
|
+
last: "last",
|
|
142
|
+
draggable: "draggable",
|
|
143
|
+
filterable: "filterable",
|
|
144
|
+
grouping: "grouping",
|
|
145
|
+
selected: "selected",
|
|
146
|
+
highlighted: "highlighted",
|
|
147
|
+
disabled: "disabled",
|
|
148
|
+
hidden: "hidden",
|
|
149
|
+
highlight: "highlight",
|
|
150
|
+
invalid: "invalid",
|
|
151
|
+
loading: "loading",
|
|
152
|
+
required: "required",
|
|
153
|
+
checked: "checked",
|
|
154
|
+
empty: "empty",
|
|
155
|
+
scrollable: "scrollable",
|
|
156
|
+
sorted: "sorted",
|
|
157
|
+
sort: "sort",
|
|
158
|
+
sticky: "sticky",
|
|
159
|
+
stretched: "stretched",
|
|
160
|
+
order: "order",
|
|
161
|
+
alt: "alt",
|
|
162
|
+
edit: "edit",
|
|
163
|
+
template: "template",
|
|
164
|
+
shown: "shown",
|
|
165
|
+
horizontal: "horizontal",
|
|
166
|
+
vertical: "vertical",
|
|
167
|
+
fullscreen: "fullscreen",
|
|
168
|
+
bottom: "bottom"
|
|
169
|
+
}, g = {
|
|
170
|
+
prefix: "animation",
|
|
171
|
+
child: "child",
|
|
172
|
+
relative: "relative",
|
|
173
|
+
slide: "slide",
|
|
174
|
+
appear: "appear",
|
|
175
|
+
active: "active",
|
|
176
|
+
enter: "enter",
|
|
177
|
+
exit: "exit",
|
|
178
|
+
pushRight: "push-right",
|
|
179
|
+
pushLeft: "push-left",
|
|
180
|
+
pushDown: "push-down",
|
|
181
|
+
pushUp: "push-up",
|
|
182
|
+
expandVertical: "expand-vertical",
|
|
183
|
+
expandHorizontal: "expand-horizontal",
|
|
184
|
+
fade: "fade",
|
|
185
|
+
zoomIn: "zoom-in",
|
|
186
|
+
zoomOut: "zoom-out",
|
|
187
|
+
slideIn: "slide-in",
|
|
188
|
+
slideDown: "slide-down",
|
|
189
|
+
slideUp: "slide-up",
|
|
190
|
+
slideRight: "slide-right",
|
|
191
|
+
slideLeft: "slide-left",
|
|
192
|
+
revealVertical: "reveal-vertical",
|
|
193
|
+
revealHorizontal: "reveal-horizontal",
|
|
194
|
+
"animation-container": "animation-container",
|
|
195
|
+
"animation-container-shown": "animation-container-shown",
|
|
196
|
+
"animation-container-relative": "animation-container-relative",
|
|
197
|
+
"animation-container-fixed": "animation-container-fixed",
|
|
198
|
+
"child-animation-container": "child-animation-container"
|
|
199
|
+
}, i = {
|
|
200
|
+
input: "input",
|
|
201
|
+
inner: "inner",
|
|
202
|
+
spin: "spin",
|
|
203
|
+
spinner: "spinner",
|
|
204
|
+
maskedtextbox: "maskedtextbox",
|
|
205
|
+
radio: "radio",
|
|
206
|
+
textbox: "textbox",
|
|
207
|
+
prefix: "prefix",
|
|
208
|
+
suffix: "suffix"
|
|
209
|
+
}, b = {
|
|
210
|
+
week: "week",
|
|
211
|
+
weekdays: "weekdays",
|
|
212
|
+
weekend: "weekend",
|
|
213
|
+
month: "month",
|
|
214
|
+
year: "year",
|
|
215
|
+
decade: "decade",
|
|
216
|
+
century: "century",
|
|
217
|
+
// eslint-disable-next-line id-blacklist
|
|
218
|
+
number: "number",
|
|
219
|
+
navigation: "navigation",
|
|
220
|
+
marker: "marker",
|
|
221
|
+
now: "now",
|
|
222
|
+
range: "range",
|
|
223
|
+
today: "today",
|
|
224
|
+
other: "other",
|
|
225
|
+
date: "date",
|
|
226
|
+
time: "time",
|
|
227
|
+
selector: "selector",
|
|
228
|
+
timeselector: "timeselector"
|
|
229
|
+
}, v = {
|
|
230
|
+
prefix: "icon",
|
|
231
|
+
svg: "svg",
|
|
232
|
+
i: "i",
|
|
233
|
+
color: "color",
|
|
234
|
+
flipH: "flip-h",
|
|
235
|
+
flipV: "flip-v"
|
|
236
|
+
}, w = {
|
|
237
|
+
label: "label",
|
|
238
|
+
text: "text",
|
|
239
|
+
floatingLabel: "floating-label",
|
|
240
|
+
container: "container",
|
|
241
|
+
hint: "form-hint",
|
|
242
|
+
error: "form-error"
|
|
243
|
+
}, k = {
|
|
244
|
+
form: "form",
|
|
245
|
+
fieldset: "fieldset",
|
|
246
|
+
legend: "legend",
|
|
247
|
+
separator: "separator",
|
|
248
|
+
field: "field"
|
|
249
|
+
}, y = {
|
|
250
|
+
prefix: "popup"
|
|
251
|
+
}, o = {
|
|
252
|
+
prefix: "grid",
|
|
253
|
+
ariaRoot: "aria-root",
|
|
254
|
+
tableWrap: "table-wrap",
|
|
255
|
+
master: "master",
|
|
256
|
+
column: "column",
|
|
257
|
+
cell: "cell",
|
|
258
|
+
cellInner: "cell-inner",
|
|
259
|
+
row: "row",
|
|
260
|
+
group: "group",
|
|
261
|
+
hierarchy: "hierarchy",
|
|
262
|
+
detail: "detail",
|
|
263
|
+
noRecords: "norecords",
|
|
264
|
+
pager: "pager"
|
|
265
|
+
}, $ = {
|
|
266
|
+
drop: "drop",
|
|
267
|
+
drag: "drag",
|
|
268
|
+
hint: "hint",
|
|
269
|
+
vertical: "v",
|
|
270
|
+
horizontal: "h",
|
|
271
|
+
clue: "clue",
|
|
272
|
+
reorder: "reorder"
|
|
273
|
+
}, z = `${e.prefix}-${i.input}`, P = `${e.prefix}-${t.calendar}`, M = `${e.prefix}-${t.maskedtextbox}`, R = `${e.prefix}-${i.radio}`, L = `${e.prefix}-${a.button}`, I = `${e.prefix}-${t.menu}`, D = `${e.prefix}-${r.picker}`, H = `${e.prefix}-${t.dropdownlist}`, U = `${e.prefix}-${t.combobox}`, V = `${e.prefix}-${o.prefix}`, q = {
|
|
274
|
+
base: e,
|
|
275
|
+
actions: u,
|
|
276
|
+
animation: g,
|
|
277
|
+
sizeMap: l,
|
|
278
|
+
components: t,
|
|
279
|
+
cssUtils: n,
|
|
280
|
+
directionMap: f,
|
|
281
|
+
fillModeMap: s,
|
|
282
|
+
themeColorMap: c,
|
|
283
|
+
roundedMap: d,
|
|
284
|
+
orientationMap: p,
|
|
285
|
+
elements: a,
|
|
286
|
+
states: x,
|
|
287
|
+
dimensions: h,
|
|
288
|
+
containers: r,
|
|
289
|
+
cursor: m,
|
|
290
|
+
inputs: i,
|
|
291
|
+
dateInputs: b,
|
|
292
|
+
labels: w,
|
|
293
|
+
forms: k,
|
|
294
|
+
popup: y,
|
|
295
|
+
icon: v,
|
|
296
|
+
grid: o
|
|
297
|
+
};
|
|
298
|
+
export {
|
|
299
|
+
u as actions,
|
|
300
|
+
g as animationStyles,
|
|
301
|
+
e as base,
|
|
302
|
+
L as buttonPrefix,
|
|
303
|
+
P as calendarPrefix,
|
|
304
|
+
U as comboBoxPrefix,
|
|
305
|
+
t as components,
|
|
306
|
+
r as containers,
|
|
307
|
+
n as cssUtils,
|
|
308
|
+
m as cursor,
|
|
309
|
+
b as dateInputs,
|
|
310
|
+
I as ddbPrefix,
|
|
311
|
+
h as dimensions,
|
|
312
|
+
f as directionMap,
|
|
313
|
+
H as dropDownListPrefix,
|
|
314
|
+
a as elements,
|
|
315
|
+
s as fillModeMap,
|
|
316
|
+
k as forms,
|
|
317
|
+
o as grid,
|
|
318
|
+
V as gridPrefix,
|
|
319
|
+
$ as gridRowReorder,
|
|
320
|
+
v as icon,
|
|
321
|
+
z as inputPrefix,
|
|
322
|
+
i as inputs,
|
|
323
|
+
q as jsonTheme,
|
|
324
|
+
w as labels,
|
|
325
|
+
M as maskedPrefix,
|
|
326
|
+
p as orientationMap,
|
|
327
|
+
D as pickerPrefix,
|
|
328
|
+
y as popup,
|
|
329
|
+
R as radioPrefix,
|
|
330
|
+
d as roundedMap,
|
|
331
|
+
l as sizeMap,
|
|
332
|
+
x as states,
|
|
333
|
+
c as themeColorMap
|
|
334
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2025 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 strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./json-classes.js"),c=`${e.base.prefix}-${e.labels.label}`,b=`${e.base.prefix}-${e.labels.floatingLabel}`,$=`${e.base.prefix}-${e.labels.error}`,m=`${e.base.prefix}-${e.labels.hint}`,f={label:{main:c,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}`}},u={label:o=>{const{empty:n,invalid:l,disabled:i,c:s=f}=o,a=s.label;return{[a==null?void 0:a.main]:!0,[a==null?void 0:a.empty]:n,[a==null?void 0:a.invalid]:l,[a==null?void 0:a.disabled]:i}}},r={wrapper:{main:`${b}-${e.labels.container}`,focused:`${e.base.prefix}-${e.states.focus}`,empty:`${e.base.prefix}-${e.states.empty}`,notEmpty:"",disabled:`${e.base.prefix}-${e.labels.text}-${e.states.disabled}`,isRtl:`${e.base.prefix}-${e.base.rtl}`},label:{main:b,focused:"",empty:"",notEmpty:"",invalid:`${e.base.prefix}-${e.labels.text}-${e.themeColorMap.error}`,disabled:`${e.base.prefix}-${e.labels.text}-${e.states.disabled}`}},x={wrapper:o=>{const{focused:n,empty:l,notEmpty:i,disabled:s,isRtl:a,c:d=r}=o,t=d.wrapper;return{[t==null?void 0:t.main]:!0,[t==null?void 0:t.focused]:n,[t==null?void 0:t.empty]:l,[t==null?void 0:t.notEmpty]:i,[t==null?void 0:t.disabled]:s,[t==null?void 0:t.isRtl]:a}},label:o=>{const{focused:n,empty:l,notEmpty:i,invalid:s,disabled:a,c:d=r}=o,t=d.label;return{[t==null?void 0:t.main]:!0,[t==null?void 0:t.focused]:n,[t==null?void 0:t.empty]:l,[t==null?void 0:t.notEmpty]:i,[t==null?void 0:t.invalid]:s,[t==null?void 0:t.disabled]:a}}},y={wrapper:{main:$,direction:{start:`${e.base.prefix}-${e.labels.text}-${e.directionMap.start}`,end:`${e.base.prefix}-${e.labels.text}-${e.directionMap.end}`}}},p={wrapper:o=>{const{direction:n,c:l=y}=o,i=l.wrapper;return{[i==null?void 0:i.main]:!0,[i==null?void 0:i.direction[n]]:i==null?void 0:i.direction[n]}}},C={wrapper:{main:m,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}`}}},E={wrapper:o=>{const{direction:n,disabled:l,c:i=C}=o,s=i.wrapper;return{[s==null?void 0:s.main]:!0,[s==null?void 0:s.direction[n]]:s==null?void 0:s.direction[n],[s==null?void 0:s.disabled]:l}}};exports.uError=p;exports.uFloatingLabel=x;exports.uHint=E;exports.uLabel=u;
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2025 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 { base as i, labels as o, states as r, themeColorMap as x, directionMap as a } from "./json-classes.mjs";
|
|
9
|
+
const u = `${i.prefix}-${o.label}`, m = `${i.prefix}-${o.floatingLabel}`, y = `${i.prefix}-${o.error}`, b = `${i.prefix}-${o.hint}`, p = {
|
|
10
|
+
label: {
|
|
11
|
+
main: u,
|
|
12
|
+
empty: `${i.prefix}-${o.label}-${r.empty}`,
|
|
13
|
+
invalid: `${i.prefix}-${o.text}-${x.error}`,
|
|
14
|
+
disabled: `${i.prefix}-${o.text}-${r.disabled}`
|
|
15
|
+
}
|
|
16
|
+
}, L = {
|
|
17
|
+
label: ($) => {
|
|
18
|
+
const { empty: d, invalid: c, disabled: s, c: e = p } = $, n = e.label;
|
|
19
|
+
return {
|
|
20
|
+
[n == null ? void 0 : n.main]: !0,
|
|
21
|
+
[n == null ? void 0 : n.empty]: d,
|
|
22
|
+
[n == null ? void 0 : n.invalid]: c,
|
|
23
|
+
[n == null ? void 0 : n.disabled]: s
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
}, f = {
|
|
27
|
+
wrapper: {
|
|
28
|
+
main: `${m}-${o.container}`,
|
|
29
|
+
focused: `${i.prefix}-${r.focus}`,
|
|
30
|
+
empty: `${i.prefix}-${r.empty}`,
|
|
31
|
+
notEmpty: "",
|
|
32
|
+
disabled: `${i.prefix}-${o.text}-${r.disabled}`,
|
|
33
|
+
isRtl: `${i.prefix}-${i.rtl}`
|
|
34
|
+
},
|
|
35
|
+
label: {
|
|
36
|
+
main: m,
|
|
37
|
+
focused: "",
|
|
38
|
+
empty: "",
|
|
39
|
+
notEmpty: "",
|
|
40
|
+
invalid: `${i.prefix}-${o.text}-${x.error}`,
|
|
41
|
+
disabled: `${i.prefix}-${o.text}-${r.disabled}`
|
|
42
|
+
}
|
|
43
|
+
}, g = {
|
|
44
|
+
wrapper: ($) => {
|
|
45
|
+
const { focused: d, empty: c, notEmpty: s, disabled: e, isRtl: n, c: l = f } = $, t = l.wrapper;
|
|
46
|
+
return {
|
|
47
|
+
[t == null ? void 0 : t.main]: !0,
|
|
48
|
+
[t == null ? void 0 : t.focused]: d,
|
|
49
|
+
[t == null ? void 0 : t.empty]: c,
|
|
50
|
+
[t == null ? void 0 : t.notEmpty]: s,
|
|
51
|
+
[t == null ? void 0 : t.disabled]: e,
|
|
52
|
+
[t == null ? void 0 : t.isRtl]: n
|
|
53
|
+
};
|
|
54
|
+
},
|
|
55
|
+
label: ($) => {
|
|
56
|
+
const { focused: d, empty: c, notEmpty: s, invalid: e, disabled: n, c: l = f } = $, t = l.label;
|
|
57
|
+
return {
|
|
58
|
+
[t == null ? void 0 : t.main]: !0,
|
|
59
|
+
[t == null ? void 0 : t.focused]: d,
|
|
60
|
+
[t == null ? void 0 : t.empty]: c,
|
|
61
|
+
[t == null ? void 0 : t.notEmpty]: s,
|
|
62
|
+
[t == null ? void 0 : t.invalid]: e,
|
|
63
|
+
[t == null ? void 0 : t.disabled]: n
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
}, C = {
|
|
67
|
+
wrapper: {
|
|
68
|
+
main: y,
|
|
69
|
+
direction: {
|
|
70
|
+
start: `${i.prefix}-${o.text}-${a.start}`,
|
|
71
|
+
end: `${i.prefix}-${o.text}-${a.end}`
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}, h = {
|
|
75
|
+
wrapper: ($) => {
|
|
76
|
+
const { direction: d, c = C } = $, s = c.wrapper;
|
|
77
|
+
return {
|
|
78
|
+
[s == null ? void 0 : s.main]: !0,
|
|
79
|
+
[s == null ? void 0 : s.direction[d]]: s == null ? void 0 : s.direction[d]
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
}, E = {
|
|
83
|
+
wrapper: {
|
|
84
|
+
main: b,
|
|
85
|
+
direction: {
|
|
86
|
+
start: `${i.prefix}-${o.text}-${a.start}`,
|
|
87
|
+
end: `${i.prefix}-${o.text}-${a.end}`,
|
|
88
|
+
disabled: `${i.prefix}-${o.text}-${r.disabled}`
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}, R = {
|
|
92
|
+
wrapper: ($) => {
|
|
93
|
+
const { direction: d, disabled: c, c: s = E } = $, e = s.wrapper;
|
|
94
|
+
return {
|
|
95
|
+
[e == null ? void 0 : e.main]: !0,
|
|
96
|
+
[e == null ? void 0 : e.direction[d]]: e == null ? void 0 : e.direction[d],
|
|
97
|
+
[e == null ? void 0 : e.disabled]: c
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
};
|
|
101
|
+
export {
|
|
102
|
+
h as uError,
|
|
103
|
+
g as uFloatingLabel,
|
|
104
|
+
R as uHint,
|
|
105
|
+
L as uLabel
|
|
106
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2025 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 strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./json-classes.js"),n={animationContainer:`${i.base.prefix}-${i.animationStyles.prefix}-${i.containers.container}`,animationContainerShown:`${i.base.prefix}-${i.animationStyles.prefix}-${i.containers.container}-${i.states.shown}`,animationChild:`${i.base.prefix}-${i.animationStyles.child}-${i.animationStyles.prefix}-${i.containers.container}`,popup:`${i.base.prefix}-${i.popup.prefix}`,slide:{up:{enter:`${i.base.prefix}-${i.animationStyles.slide}-${i.directionMap.up}-${i.animationStyles.enter}`,exit:`${i.base.prefix}-${i.animationStyles.slide}-${i.directionMap.up}-${i.animationStyles.exit}`},down:{enter:`${i.base.prefix}-${i.animationStyles.slide}-${i.directionMap.down}-${i.animationStyles.enter}`,exit:`${i.base.prefix}-${i.animationStyles.slide}-${i.directionMap.down}-${i.animationStyles.exit}`},left:{enter:`${i.base.prefix}-${i.animationStyles.slide}-${i.directionMap.left}-${i.animationStyles.enter}`,exit:`${i.base.prefix}-${i.animationStyles.slide}-${i.directionMap.left}-${i.animationStyles.exit}`},right:{enter:`${i.base.prefix}-${i.animationStyles.slide}-${i.directionMap.right}-${i.animationStyles.enter}`,exit:`${i.base.prefix}-${i.animationStyles.slide}-${i.directionMap.right}-${i.animationStyles.exit}`}},slideActive:{up:{enter:`${i.base.prefix}-${i.animationStyles.slide}-${i.directionMap.up}-${i.animationStyles.enter}-${i.animationStyles.active}`,exit:`${i.base.prefix}-${i.animationStyles.slide}-${i.directionMap.up}-${i.animationStyles.exit}-${i.animationStyles.active}`},down:{enter:`${i.base.prefix}-${i.animationStyles.slide}-${i.directionMap.down}-${i.animationStyles.enter}-${i.animationStyles.active}`,exit:`${i.base.prefix}-${i.animationStyles.slide}-${i.directionMap.down}-${i.animationStyles.exit}-${i.animationStyles.active}`},left:{enter:`${i.base.prefix}-${i.animationStyles.slide}-${i.directionMap.left}-${i.animationStyles.enter}-${i.animationStyles.active}`,exit:`${i.base.prefix}-${i.animationStyles.slide}-${i.directionMap.left}-${i.animationStyles.exit}-${i.animationStyles.active}`},right:{enter:`${i.base.prefix}-${i.animationStyles.slide}-${i.directionMap.right}-${i.animationStyles.enter}-${i.animationStyles.active}`,exit:`${i.base.prefix}-${i.animationStyles.slide}-${i.directionMap.right}-${i.animationStyles.exit}-${i.animationStyles.active}`}}},r={animationContainer:t=>{const{c:e=n}=t;return{[e.animationContainer]:!0}},animationContainerShown:t=>{const{c:e=n}=t;return{[e.animationContainerShown]:!0}},animationChild:t=>{const{c:e=n}=t;return{[e.animationChild]:!0}},popup:t=>{const{c:e=n}=t;return{[e.popup]:!0}},slide:t=>{var s;const{direction:e,type:a,c:o=n}=t;return{[o.slide[e][a]]:(s=o.slide[e])==null?void 0:s[a]}},slideActive:t=>{var s;const{direction:e,type:a,c:o=n}=t;return{[o.slideActive[e][a]]:(s=o.slideActive[e])==null?void 0:s[a]}}};exports.uPopup=r;
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2025 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 { base as i, animationStyles as e, directionMap as t, popup as x, containers as s, states as d } from "./json-classes.mjs";
|
|
9
|
+
const r = {
|
|
10
|
+
animationContainer: `${i.prefix}-${e.prefix}-${s.container}`,
|
|
11
|
+
animationContainerShown: `${i.prefix}-${e.prefix}-${s.container}-${d.shown}`,
|
|
12
|
+
animationChild: `${i.prefix}-${e.child}-${e.prefix}-${s.container}`,
|
|
13
|
+
popup: `${i.prefix}-${x.prefix}`,
|
|
14
|
+
slide: {
|
|
15
|
+
up: {
|
|
16
|
+
enter: `${i.prefix}-${e.slide}-${t.up}-${e.enter}`,
|
|
17
|
+
exit: `${i.prefix}-${e.slide}-${t.up}-${e.exit}`
|
|
18
|
+
},
|
|
19
|
+
down: {
|
|
20
|
+
enter: `${i.prefix}-${e.slide}-${t.down}-${e.enter}`,
|
|
21
|
+
exit: `${i.prefix}-${e.slide}-${t.down}-${e.exit}`
|
|
22
|
+
},
|
|
23
|
+
left: {
|
|
24
|
+
enter: `${i.prefix}-${e.slide}-${t.left}-${e.enter}`,
|
|
25
|
+
exit: `${i.prefix}-${e.slide}-${t.left}-${e.exit}`
|
|
26
|
+
},
|
|
27
|
+
right: {
|
|
28
|
+
enter: `${i.prefix}-${e.slide}-${t.right}-${e.enter}`,
|
|
29
|
+
exit: `${i.prefix}-${e.slide}-${t.right}-${e.exit}`
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
slideActive: {
|
|
33
|
+
up: {
|
|
34
|
+
enter: `${i.prefix}-${e.slide}-${t.up}-${e.enter}-${e.active}`,
|
|
35
|
+
exit: `${i.prefix}-${e.slide}-${t.up}-${e.exit}-${e.active}`
|
|
36
|
+
},
|
|
37
|
+
down: {
|
|
38
|
+
enter: `${i.prefix}-${e.slide}-${t.down}-${e.enter}-${e.active}`,
|
|
39
|
+
exit: `${i.prefix}-${e.slide}-${t.down}-${e.exit}-${e.active}`
|
|
40
|
+
},
|
|
41
|
+
left: {
|
|
42
|
+
enter: `${i.prefix}-${e.slide}-${t.left}-${e.enter}-${e.active}`,
|
|
43
|
+
exit: `${i.prefix}-${e.slide}-${t.left}-${e.exit}-${e.active}`
|
|
44
|
+
},
|
|
45
|
+
right: {
|
|
46
|
+
enter: `${i.prefix}-${e.slide}-${t.right}-${e.enter}-${e.active}`,
|
|
47
|
+
exit: `${i.prefix}-${e.slide}-${t.right}-${e.exit}-${e.active}`
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}, c = {
|
|
51
|
+
animationContainer: (n) => {
|
|
52
|
+
const { c: $ = r } = n;
|
|
53
|
+
return {
|
|
54
|
+
[$.animationContainer]: !0
|
|
55
|
+
};
|
|
56
|
+
},
|
|
57
|
+
animationContainerShown: (n) => {
|
|
58
|
+
const { c: $ = r } = n;
|
|
59
|
+
return {
|
|
60
|
+
[$.animationContainerShown]: !0
|
|
61
|
+
};
|
|
62
|
+
},
|
|
63
|
+
animationChild: (n) => {
|
|
64
|
+
const { c: $ = r } = n;
|
|
65
|
+
return {
|
|
66
|
+
[$.animationChild]: !0
|
|
67
|
+
};
|
|
68
|
+
},
|
|
69
|
+
popup: (n) => {
|
|
70
|
+
const { c: $ = r } = n;
|
|
71
|
+
return {
|
|
72
|
+
[$.popup]: !0
|
|
73
|
+
};
|
|
74
|
+
},
|
|
75
|
+
slide: (n) => {
|
|
76
|
+
var a;
|
|
77
|
+
const { direction: $, type: p, c: o = r } = n;
|
|
78
|
+
return {
|
|
79
|
+
[o.slide[$][p]]: (a = o.slide[$]) == null ? void 0 : a[p]
|
|
80
|
+
};
|
|
81
|
+
},
|
|
82
|
+
slideActive: (n) => {
|
|
83
|
+
var a;
|
|
84
|
+
const { direction: $, type: p, c: o = r } = n;
|
|
85
|
+
return {
|
|
86
|
+
[o.slideActive[$][p]]: (a = o.slideActive[$]) == null ? void 0 : a[p]
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
};
|
|
90
|
+
export {
|
|
91
|
+
c as uPopup
|
|
92
|
+
};
|