@epam/ai-dial-ui-kit 0.2.0-rc.22 → 0.2.0-rc.24
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/dial-ui-kit.es.js
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { jsx as r, jsxs as f, Fragment as
|
|
2
|
-
import
|
|
3
|
-
import { IconCircleCheck as le, IconAlertTriangle as
|
|
4
|
-
import { createContext as
|
|
5
|
-
import { useFloating as G, offset as
|
|
6
|
-
const
|
|
1
|
+
import { jsx as r, jsxs as f, Fragment as oe } from "react/jsx-runtime";
|
|
2
|
+
import c from "classnames";
|
|
3
|
+
import { IconCircleCheck as le, IconAlertTriangle as ie, IconAlertCircle as ce, IconInfoCircle as de, IconX as W, IconLoader as ue, IconMinus as me, IconCheck as $, IconExclamationCircle as fe, IconClipboardX as pe, IconChevronsLeft as xe, IconChevronsRight as he, IconEyeOff as ge, IconEye as be, IconSearch as ye } from "@tabler/icons-react";
|
|
4
|
+
import { createContext as Ce, useState as T, useRef as ve, useMemo as Ne, useContext as we, forwardRef as U, isValidElement as De, cloneElement as Ie, useCallback as S, useEffect as ke } from "react";
|
|
5
|
+
import { useFloating as G, offset as Re, flip as Se, shift as Fe, arrow as Ee, autoUpdate as Te, useHover as Pe, useFocus as Le, useDismiss as K, useRole as Z, useInteractions as X, useMergeRefs as q, FloatingPortal as Q, FloatingArrow as Ae, FloatingOverlay as Oe, FloatingFocusManager as ze } from "@floating-ui/react";
|
|
6
|
+
const _ = ({ errorText: e }) => e && /* @__PURE__ */ r("span", { className: "text-error dial-tiny mt-1", children: e }), j = ({
|
|
7
7
|
fieldTitle: e,
|
|
8
8
|
htmlFor: n,
|
|
9
9
|
optional: t,
|
|
10
|
-
optionalText:
|
|
11
|
-
cssClass:
|
|
10
|
+
optionalText: a,
|
|
11
|
+
cssClass: s
|
|
12
12
|
}) => e ? /* @__PURE__ */ f(
|
|
13
13
|
"label",
|
|
14
14
|
{
|
|
15
|
-
className:
|
|
15
|
+
className: c(
|
|
16
16
|
"dial-tiny text-secondary",
|
|
17
|
-
|
|
18
|
-
!
|
|
17
|
+
s,
|
|
18
|
+
!s?.includes("mb") && "mb-2"
|
|
19
19
|
),
|
|
20
20
|
htmlFor: n,
|
|
21
21
|
children: [
|
|
22
22
|
/* @__PURE__ */ r("span", { className: "min-h-4", children: e }),
|
|
23
|
-
t && /* @__PURE__ */ r("span", { className: "ml-1", children:
|
|
23
|
+
t && /* @__PURE__ */ r("span", { className: "ml-1", children: a ?? "(Optional)" })
|
|
24
24
|
]
|
|
25
25
|
}
|
|
26
|
-
) : null, D = ({ icon: e, className: n }) => e ? /* @__PURE__ */ r("span", { className:
|
|
26
|
+
) : null, D = ({ icon: e, className: n }) => e ? /* @__PURE__ */ r("span", { className: c("flex-shrink-0", n), children: e }) : null;
|
|
27
27
|
var v = /* @__PURE__ */ ((e) => (e.Primary = "primary", e.Secondary = "secondary", e.Tertiary = "tertiary", e.Danger = "danger", e))(v || {});
|
|
28
|
-
const
|
|
28
|
+
const Be = {
|
|
29
29
|
[v.Primary]: "dial-primary-button",
|
|
30
30
|
[v.Secondary]: "dial-secondary-button",
|
|
31
31
|
[v.Tertiary]: "dial-tertiary-button",
|
|
@@ -34,21 +34,23 @@ const Le = {
|
|
|
34
34
|
title: e,
|
|
35
35
|
variant: n,
|
|
36
36
|
cssClass: t,
|
|
37
|
+
textCssClass: a,
|
|
37
38
|
ref: s,
|
|
38
|
-
onClick:
|
|
39
|
+
onClick: o,
|
|
39
40
|
disable: l,
|
|
40
|
-
iconAfter:
|
|
41
|
-
iconBefore:
|
|
42
|
-
hideTitleOnMobile:
|
|
43
|
-
ariaLabel:
|
|
41
|
+
iconAfter: u,
|
|
42
|
+
iconBefore: d,
|
|
43
|
+
hideTitleOnMobile: i,
|
|
44
|
+
ariaLabel: m
|
|
44
45
|
}) => {
|
|
45
|
-
const
|
|
46
|
+
const x = c(
|
|
46
47
|
"dial-small-semi",
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
48
|
+
u ? "mr-2" : "",
|
|
49
|
+
d ? "ml-2" : "",
|
|
50
|
+
i ? "hidden sm:inline" : "inline",
|
|
51
|
+
a
|
|
52
|
+
), h = c(
|
|
53
|
+
n && Be[n],
|
|
52
54
|
t,
|
|
53
55
|
"focus-visible:outline outline-offset-0"
|
|
54
56
|
);
|
|
@@ -57,165 +59,165 @@ const Le = {
|
|
|
57
59
|
{
|
|
58
60
|
ref: s,
|
|
59
61
|
type: "button",
|
|
60
|
-
className:
|
|
61
|
-
onClick: (
|
|
62
|
+
className: h,
|
|
63
|
+
onClick: (p) => o?.(p),
|
|
62
64
|
disabled: l,
|
|
63
|
-
"aria-label": e ||
|
|
65
|
+
"aria-label": e || m,
|
|
64
66
|
children: [
|
|
65
|
-
/* @__PURE__ */ r(D, { icon:
|
|
66
|
-
e && /* @__PURE__ */ r("span", { className:
|
|
67
|
-
/* @__PURE__ */ r(D, { icon:
|
|
67
|
+
/* @__PURE__ */ r(D, { icon: d }),
|
|
68
|
+
e && /* @__PURE__ */ r("span", { className: x, children: e }),
|
|
69
|
+
/* @__PURE__ */ r(D, { icon: u })
|
|
68
70
|
]
|
|
69
71
|
}
|
|
70
72
|
);
|
|
71
73
|
};
|
|
72
74
|
var k = /* @__PURE__ */ ((e) => (e.Info = "info", e.Success = "success", e.Warning = "warning", e.Error = "error", e))(k || {});
|
|
73
|
-
const
|
|
74
|
-
info: /* @__PURE__ */ r(
|
|
75
|
-
error: /* @__PURE__ */ r(
|
|
76
|
-
warning: /* @__PURE__ */ r(
|
|
75
|
+
const je = {
|
|
76
|
+
info: /* @__PURE__ */ r(de, { size: 24, stroke: 2 }),
|
|
77
|
+
error: /* @__PURE__ */ r(ce, { size: 24, stroke: 2 }),
|
|
78
|
+
warning: /* @__PURE__ */ r(ie, { size: 24, stroke: 2 }),
|
|
77
79
|
success: /* @__PURE__ */ r(le, { size: 24, stroke: 2 })
|
|
78
|
-
},
|
|
80
|
+
}, Ve = {
|
|
79
81
|
[k.Info]: "bg-info border-info text-info",
|
|
80
82
|
[k.Success]: "bg-success border-success text-success",
|
|
81
83
|
[k.Warning]: "bg-warning border-warning text-warning",
|
|
82
84
|
[k.Error]: "bg-error border-error text-error"
|
|
83
|
-
},
|
|
85
|
+
}, Me = "items-center justify-between gap-2 p-3 border border-solid dial-small-150 rounded flex", Fr = ({
|
|
84
86
|
variant: e = k.Info,
|
|
85
87
|
message: n,
|
|
86
88
|
cssClass: t,
|
|
87
|
-
closable:
|
|
88
|
-
onClose:
|
|
89
|
+
closable: a = !1,
|
|
90
|
+
onClose: s
|
|
89
91
|
}) => /* @__PURE__ */ f(
|
|
90
92
|
"div",
|
|
91
93
|
{
|
|
92
94
|
role: "alert",
|
|
93
|
-
className:
|
|
94
|
-
|
|
95
|
-
|
|
95
|
+
className: c(
|
|
96
|
+
Me,
|
|
97
|
+
Ve[e],
|
|
96
98
|
t
|
|
97
99
|
),
|
|
98
100
|
children: [
|
|
99
101
|
/* @__PURE__ */ f("div", { className: "flex items-center gap-2", children: [
|
|
100
|
-
/* @__PURE__ */ r(D, { icon:
|
|
102
|
+
/* @__PURE__ */ r(D, { icon: je[e] }),
|
|
101
103
|
/* @__PURE__ */ r("div", { className: "text-primary", children: n })
|
|
102
104
|
] }),
|
|
103
|
-
|
|
105
|
+
a && /* @__PURE__ */ r(
|
|
104
106
|
P,
|
|
105
107
|
{
|
|
106
108
|
cssClass: "ml-2 text-secondary hover:text-primary",
|
|
107
109
|
ariaLabel: "Close alert",
|
|
108
|
-
iconBefore: /* @__PURE__ */ r(
|
|
109
|
-
onClick: (
|
|
110
|
+
iconBefore: /* @__PURE__ */ r(W, { size: 16 }),
|
|
111
|
+
onClick: (o) => s?.(o)
|
|
110
112
|
}
|
|
111
113
|
)
|
|
112
114
|
]
|
|
113
115
|
}
|
|
114
|
-
),
|
|
116
|
+
), We = "flex items-center justify-center text-secondary", _e = "shrink-0 grow-0 basis-auto animate-spin-steps", He = ({
|
|
115
117
|
size: e = 18,
|
|
116
118
|
cssClass: n,
|
|
117
119
|
iconClass: t,
|
|
118
|
-
fullWidth:
|
|
119
|
-
ariaLabel:
|
|
120
|
+
fullWidth: a = !0,
|
|
121
|
+
ariaLabel: s = "Loading"
|
|
120
122
|
}) => /* @__PURE__ */ r(
|
|
121
123
|
"div",
|
|
122
124
|
{
|
|
123
125
|
role: "status",
|
|
124
|
-
"aria-label":
|
|
125
|
-
className:
|
|
126
|
-
[
|
|
127
|
-
"w-full h-full":
|
|
126
|
+
"aria-label": s,
|
|
127
|
+
className: c({
|
|
128
|
+
[We]: !0,
|
|
129
|
+
"w-full h-full": a,
|
|
128
130
|
[n || ""]: !!n
|
|
129
131
|
}),
|
|
130
132
|
children: /* @__PURE__ */ r(
|
|
131
133
|
D,
|
|
132
134
|
{
|
|
133
135
|
icon: /* @__PURE__ */ r(
|
|
134
|
-
|
|
136
|
+
ue,
|
|
135
137
|
{
|
|
136
138
|
width: e,
|
|
137
139
|
height: e,
|
|
138
|
-
className:
|
|
140
|
+
className: c(_e, t)
|
|
139
141
|
}
|
|
140
142
|
)
|
|
141
143
|
}
|
|
142
144
|
)
|
|
143
145
|
}
|
|
144
|
-
),
|
|
145
|
-
const e =
|
|
146
|
+
), $e = 7, Ue = 2, Y = Ce(null), J = () => {
|
|
147
|
+
const e = we(Y);
|
|
146
148
|
if (e == null)
|
|
147
149
|
throw new Error("Tooltip components must be wrapped in <Tooltip />");
|
|
148
150
|
return e;
|
|
149
|
-
},
|
|
151
|
+
}, Ge = ({
|
|
150
152
|
initialOpen: e = !1,
|
|
151
153
|
placement: n = "bottom",
|
|
152
154
|
isTriggerClickable: t = !1,
|
|
153
|
-
open:
|
|
154
|
-
onOpenChange:
|
|
155
|
+
open: a,
|
|
156
|
+
onOpenChange: s
|
|
155
157
|
} = {}) => {
|
|
156
|
-
const [
|
|
158
|
+
const [o, l] = T(e), u = ve(null), d = a ?? o, i = s ?? l, m = G({
|
|
157
159
|
placement: n,
|
|
158
160
|
open: d,
|
|
159
|
-
onOpenChange:
|
|
160
|
-
whileElementsMounted:
|
|
161
|
+
onOpenChange: i,
|
|
162
|
+
whileElementsMounted: Te,
|
|
161
163
|
middleware: [
|
|
162
|
-
|
|
163
|
-
|
|
164
|
+
Re($e + Ue),
|
|
165
|
+
Se({
|
|
164
166
|
crossAxis: n.includes("-"),
|
|
165
167
|
fallbackAxisSideDirection: "start",
|
|
166
168
|
padding: 5
|
|
167
169
|
}),
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
element:
|
|
170
|
+
Fe({ padding: 5 }),
|
|
171
|
+
Ee({
|
|
172
|
+
element: u
|
|
171
173
|
})
|
|
172
174
|
]
|
|
173
|
-
}), x =
|
|
175
|
+
}), x = Pe(m.context, {
|
|
174
176
|
move: !1,
|
|
175
|
-
enabled:
|
|
177
|
+
enabled: a == null,
|
|
176
178
|
mouseOnly: t,
|
|
177
179
|
delay: { open: 500, close: 0 }
|
|
178
|
-
}), h =
|
|
179
|
-
enabled:
|
|
180
|
-
}),
|
|
181
|
-
return
|
|
180
|
+
}), h = Le(m.context, {
|
|
181
|
+
enabled: a == null
|
|
182
|
+
}), p = K(m.context), y = Z(m.context, { role: "tooltip" }), g = X([x, h, p, y]);
|
|
183
|
+
return Ne(
|
|
182
184
|
() => ({
|
|
183
185
|
open: d,
|
|
184
|
-
setOpen:
|
|
185
|
-
arrowRef:
|
|
186
|
-
...
|
|
186
|
+
setOpen: i,
|
|
187
|
+
arrowRef: u,
|
|
188
|
+
...g,
|
|
187
189
|
...m
|
|
188
190
|
}),
|
|
189
|
-
[d,
|
|
191
|
+
[d, i, g, m]
|
|
190
192
|
);
|
|
191
|
-
},
|
|
193
|
+
}, Ke = ({
|
|
192
194
|
children: e,
|
|
193
195
|
...n
|
|
194
196
|
}) => {
|
|
195
|
-
const t =
|
|
197
|
+
const t = Ge(n);
|
|
196
198
|
return /* @__PURE__ */ r(Y.Provider, { value: t, children: e });
|
|
197
|
-
},
|
|
198
|
-
const
|
|
199
|
-
return
|
|
199
|
+
}, Ze = U(function({ style: n, ...t }, a) {
|
|
200
|
+
const s = J(), o = q([s.refs.setFloating, a]);
|
|
201
|
+
return s.open ? /* @__PURE__ */ r(Q, { id: "tooltip-portal", children: /* @__PURE__ */ f(
|
|
200
202
|
"div",
|
|
201
203
|
{
|
|
202
|
-
ref:
|
|
204
|
+
ref: o,
|
|
203
205
|
style: {
|
|
204
|
-
...
|
|
206
|
+
...s.floatingStyles,
|
|
205
207
|
...n
|
|
206
208
|
},
|
|
207
|
-
...
|
|
208
|
-
className:
|
|
209
|
+
...s.getFloatingProps(t),
|
|
210
|
+
className: c(
|
|
209
211
|
"z-[55] whitespace-pre-wrap rounded border border-primary bg-blackout px-2 py-1 dial-tiny shadow max-w-[300px]",
|
|
210
|
-
|
|
212
|
+
s.getFloatingProps(t).className
|
|
211
213
|
),
|
|
212
214
|
children: [
|
|
213
215
|
t.children,
|
|
214
216
|
/* @__PURE__ */ r(
|
|
215
|
-
|
|
217
|
+
Ae,
|
|
216
218
|
{
|
|
217
|
-
ref:
|
|
218
|
-
context:
|
|
219
|
+
ref: s.arrowRef,
|
|
220
|
+
context: s.context,
|
|
219
221
|
fill: "currentColor",
|
|
220
222
|
strokeWidth: 1,
|
|
221
223
|
className: "stroke-primary w-2 text-[var(--bg-layer-0,_#000000)]"
|
|
@@ -224,21 +226,21 @@ const ze = {
|
|
|
224
226
|
]
|
|
225
227
|
}
|
|
226
228
|
) }) : null;
|
|
227
|
-
}),
|
|
228
|
-
const
|
|
229
|
-
return t &&
|
|
229
|
+
}), Xe = U(function({ children: n, asChild: t = !1, ...a }, s) {
|
|
230
|
+
const o = J(), u = n && typeof n == "object" && "ref" in n && n.ref !== void 0 ? n.ref : void 0, d = q([o.refs.setReference, s, u]);
|
|
231
|
+
return t && De(n) ? Ie(
|
|
230
232
|
n,
|
|
231
|
-
|
|
233
|
+
o.getReferenceProps({
|
|
232
234
|
ref: d,
|
|
233
|
-
...
|
|
235
|
+
...a,
|
|
234
236
|
...n.props
|
|
235
237
|
})
|
|
236
238
|
) : /* @__PURE__ */ r(
|
|
237
239
|
"span",
|
|
238
240
|
{
|
|
239
241
|
ref: d,
|
|
240
|
-
...
|
|
241
|
-
className:
|
|
242
|
+
...o.getReferenceProps(a),
|
|
243
|
+
className: a.className ?? "dial-tooltip-trigger text-left",
|
|
242
244
|
children: n
|
|
243
245
|
}
|
|
244
246
|
);
|
|
@@ -246,68 +248,68 @@ const ze = {
|
|
|
246
248
|
hideTooltip: e,
|
|
247
249
|
tooltip: n,
|
|
248
250
|
children: t,
|
|
249
|
-
triggerClassName:
|
|
250
|
-
contentClassName:
|
|
251
|
-
...
|
|
252
|
-
}) => /* @__PURE__ */ f(
|
|
253
|
-
/* @__PURE__ */ r(
|
|
251
|
+
triggerClassName: a,
|
|
252
|
+
contentClassName: s,
|
|
253
|
+
...o
|
|
254
|
+
}) => /* @__PURE__ */ f(Ke, { ...o, children: [
|
|
255
|
+
/* @__PURE__ */ r(Xe, { className: c(a, "truncate"), children: t }),
|
|
254
256
|
/* @__PURE__ */ r(
|
|
255
|
-
|
|
257
|
+
Ze,
|
|
256
258
|
{
|
|
257
|
-
className:
|
|
259
|
+
className: c(
|
|
258
260
|
"text-primary",
|
|
259
|
-
|
|
261
|
+
s,
|
|
260
262
|
"max-w-[300px]",
|
|
261
263
|
(e || !n) && "hidden"
|
|
262
264
|
),
|
|
263
265
|
children: n
|
|
264
266
|
}
|
|
265
267
|
)
|
|
266
|
-
] }),
|
|
267
|
-
size:
|
|
268
|
+
] }), ee = 18, F = {
|
|
269
|
+
size: ee,
|
|
268
270
|
stroke: 2
|
|
269
|
-
},
|
|
271
|
+
}, Er = ({
|
|
270
272
|
label: e,
|
|
271
273
|
id: n,
|
|
272
274
|
checked: t,
|
|
273
|
-
indeterminate:
|
|
274
|
-
disabled:
|
|
275
|
-
ariaLabel:
|
|
276
|
-
onChange:
|
|
275
|
+
indeterminate: a,
|
|
276
|
+
disabled: s,
|
|
277
|
+
ariaLabel: o,
|
|
278
|
+
onChange: l
|
|
277
279
|
}) => {
|
|
278
|
-
const
|
|
280
|
+
const u = S(
|
|
279
281
|
(m) => {
|
|
280
|
-
m.stopPropagation(),
|
|
282
|
+
m.stopPropagation(), l?.(m.target.checked, n);
|
|
281
283
|
},
|
|
282
|
-
[
|
|
283
|
-
), d =
|
|
284
|
+
[l, n]
|
|
285
|
+
), d = c(
|
|
284
286
|
"flex flex-row items-center cursor-pointer text-accent-primary small-medium flex-1 min-w-0",
|
|
285
287
|
`${t ? "" : 'before:content-[""] before:inline-block before:w-[18px] before:h-[18px] before:border before:border-hover before:rounded before:mr-2'}`,
|
|
286
|
-
|
|
287
|
-
),
|
|
288
|
+
s ? "pointer-events-none text-secondary before:border-icon-secondary before:bg-layer-4" : ""
|
|
289
|
+
), i = c(
|
|
288
290
|
"mr-2 border rounded",
|
|
289
|
-
|
|
291
|
+
s ? "bg-layer-4 border-icon-secondary" : ""
|
|
290
292
|
);
|
|
291
293
|
return /* @__PURE__ */ f("label", { className: d, htmlFor: n, children: [
|
|
292
|
-
t && (
|
|
294
|
+
t && (a ? /* @__PURE__ */ r(me, { className: i, ...F }) : /* @__PURE__ */ r($, { className: i, ...F })),
|
|
293
295
|
e && /* @__PURE__ */ r(V, { tooltip: e, triggerClassName: "flex-1 min-w-0", children: /* @__PURE__ */ r("p", { className: "text-primary w-full truncate", children: e }) }),
|
|
294
296
|
/* @__PURE__ */ r(
|
|
295
297
|
"input",
|
|
296
298
|
{
|
|
297
299
|
type: "checkbox",
|
|
298
|
-
onChange:
|
|
300
|
+
onChange: u,
|
|
299
301
|
id: n,
|
|
300
302
|
checked: t,
|
|
301
|
-
"aria-checked":
|
|
302
|
-
"aria-disabled":
|
|
303
|
-
"aria-label": e ? void 0 :
|
|
303
|
+
"aria-checked": a ? "mixed" : t,
|
|
304
|
+
"aria-disabled": s || void 0,
|
|
305
|
+
"aria-label": e ? void 0 : o,
|
|
304
306
|
className: "invisible w-0 h-0"
|
|
305
307
|
}
|
|
306
308
|
)
|
|
307
309
|
] });
|
|
308
310
|
};
|
|
309
311
|
var C = /* @__PURE__ */ ((e) => (e.VALID = "valid", e.ERROR = "error", e))(C || {});
|
|
310
|
-
const
|
|
312
|
+
const qe = (e, n) => {
|
|
311
313
|
if (n === e.id)
|
|
312
314
|
switch (e.status) {
|
|
313
315
|
case C.VALID:
|
|
@@ -325,7 +327,7 @@ const Ze = (e, n) => {
|
|
|
325
327
|
default:
|
|
326
328
|
return "border-primary text-secondary";
|
|
327
329
|
}
|
|
328
|
-
},
|
|
330
|
+
}, Qe = (e, n) => {
|
|
329
331
|
if (n === e.id)
|
|
330
332
|
switch (e.status) {
|
|
331
333
|
case C.VALID:
|
|
@@ -343,71 +345,71 @@ const Ze = (e, n) => {
|
|
|
343
345
|
default:
|
|
344
346
|
return "bg-layer-4";
|
|
345
347
|
}
|
|
346
|
-
},
|
|
348
|
+
}, Ye = ({
|
|
347
349
|
step: e,
|
|
348
350
|
index: n,
|
|
349
351
|
currentStep: t,
|
|
350
|
-
onChangeStep:
|
|
352
|
+
onChangeStep: a
|
|
351
353
|
}) => {
|
|
352
|
-
const
|
|
354
|
+
const s = "h-[32px] flex flex-1 min-w-[180px] items-center dial-tiny border-t-2 cursor-pointer", o = "w-[22px] h-[22px] flex justify-center items-center mr-2 rounded-full text-white", l = () => t === e.id && e.status === C.ERROR ? /* @__PURE__ */ r(fe, { stroke: 2, size: 16 }) : t !== e.id && e.status === C.VALID ? /* @__PURE__ */ r($, { stroke: 2, size: 16 }) : n + 1;
|
|
353
355
|
return /* @__PURE__ */ f(
|
|
354
356
|
"button",
|
|
355
357
|
{
|
|
356
|
-
className:
|
|
357
|
-
onClick: () =>
|
|
358
|
+
className: c(s, qe(e, t)),
|
|
359
|
+
onClick: () => a(e.id),
|
|
358
360
|
children: [
|
|
359
361
|
/* @__PURE__ */ r(
|
|
360
362
|
"span",
|
|
361
363
|
{
|
|
362
|
-
className:
|
|
363
|
-
children:
|
|
364
|
+
className: c(o, Qe(e, t)),
|
|
365
|
+
children: l()
|
|
364
366
|
}
|
|
365
367
|
),
|
|
366
368
|
/* @__PURE__ */ r("span", { children: e.name })
|
|
367
369
|
]
|
|
368
370
|
}
|
|
369
371
|
);
|
|
370
|
-
},
|
|
372
|
+
}, Tr = ({
|
|
371
373
|
steps: e,
|
|
372
374
|
currentStep: n,
|
|
373
375
|
onChangeStep: t
|
|
374
376
|
}) => {
|
|
375
|
-
const
|
|
376
|
-
const
|
|
377
|
-
(
|
|
377
|
+
const a = (s) => {
|
|
378
|
+
const o = e.findIndex((u) => u.id === n), l = e.findIndex((u) => u.id === s);
|
|
379
|
+
(s !== n && e[o].status === C.VALID || l < o) && t(s);
|
|
378
380
|
};
|
|
379
|
-
return /* @__PURE__ */ r("div", { id: "steps", className: "flex gap-x-3", children: e.map((
|
|
380
|
-
|
|
381
|
+
return /* @__PURE__ */ r("div", { id: "steps", className: "flex gap-x-3", children: e.map((s, o) => /* @__PURE__ */ r(
|
|
382
|
+
Ye,
|
|
381
383
|
{
|
|
382
384
|
currentStep: n,
|
|
383
|
-
onChangeStep:
|
|
384
|
-
step:
|
|
385
|
-
index:
|
|
385
|
+
onChangeStep: a,
|
|
386
|
+
step: s,
|
|
387
|
+
index: o
|
|
386
388
|
},
|
|
387
|
-
|
|
389
|
+
s.id
|
|
388
390
|
)) });
|
|
389
|
-
},
|
|
391
|
+
}, Je = ({
|
|
390
392
|
name: e,
|
|
391
393
|
value: n,
|
|
392
394
|
title: t,
|
|
393
|
-
description:
|
|
394
|
-
checked:
|
|
395
|
-
inputId:
|
|
396
|
-
cssClass:
|
|
397
|
-
labelCssClass:
|
|
395
|
+
description: a,
|
|
396
|
+
checked: s = !1,
|
|
397
|
+
inputId: o,
|
|
398
|
+
cssClass: l,
|
|
399
|
+
labelCssClass: u,
|
|
398
400
|
disabled: d,
|
|
399
|
-
onChange:
|
|
401
|
+
onChange: i,
|
|
400
402
|
descriptionCssClass: m
|
|
401
403
|
}) => {
|
|
402
|
-
const x = `${
|
|
404
|
+
const x = `${o}-desc`, h = c(
|
|
403
405
|
"dial-small cursor-pointer",
|
|
404
406
|
d ? "text-secondary" : "text-primary",
|
|
405
|
-
|
|
406
|
-
),
|
|
407
|
+
u
|
|
408
|
+
), p = c(
|
|
407
409
|
"cursor-pointer dial-input-radio",
|
|
408
410
|
t && "mr-2",
|
|
409
|
-
|
|
410
|
-
), y =
|
|
411
|
+
l
|
|
412
|
+
), y = c("flex flex-col", !!a && "mb-2"), g = c(
|
|
411
413
|
"dial-tiny mt-2 ml-[26px] text-secondary",
|
|
412
414
|
m
|
|
413
415
|
);
|
|
@@ -417,115 +419,180 @@ const Ze = (e, n) => {
|
|
|
417
419
|
"input",
|
|
418
420
|
{
|
|
419
421
|
type: "radio",
|
|
420
|
-
id:
|
|
422
|
+
id: o,
|
|
421
423
|
name: e,
|
|
422
424
|
value: n,
|
|
423
|
-
checked:
|
|
425
|
+
checked: s,
|
|
424
426
|
disabled: d,
|
|
425
|
-
"aria-describedby":
|
|
426
|
-
className:
|
|
427
|
+
"aria-describedby": s && a ? x : void 0,
|
|
428
|
+
className: p,
|
|
427
429
|
onChange: (w) => {
|
|
428
|
-
d || w.target.checked &&
|
|
430
|
+
d || w.target.checked && i?.(n);
|
|
429
431
|
}
|
|
430
432
|
}
|
|
431
433
|
),
|
|
432
|
-
t ? /* @__PURE__ */ r("label", { className: h, htmlFor:
|
|
434
|
+
t ? /* @__PURE__ */ r("label", { className: h, htmlFor: o, children: t }) : null
|
|
433
435
|
] }),
|
|
434
|
-
|
|
436
|
+
s && a && /* @__PURE__ */ r("div", { id: x, className: g, children: a })
|
|
435
437
|
] });
|
|
436
438
|
};
|
|
437
|
-
var
|
|
438
|
-
const
|
|
439
|
-
[
|
|
440
|
-
[
|
|
441
|
-
},
|
|
439
|
+
var M = /* @__PURE__ */ ((e) => (e.Row = "Row", e.Column = "Column", e))(M || {});
|
|
440
|
+
const er = "flex flex-col gap-2", rr = "flex", nr = "pb-1 mt-2", tr = {
|
|
441
|
+
[M.Column]: "flex-col gap-y-3",
|
|
442
|
+
[M.Row]: "flex-row gap-x-6"
|
|
443
|
+
}, Pr = ({
|
|
442
444
|
fieldTitle: e,
|
|
443
445
|
radioCssClass: n,
|
|
444
446
|
labelCssClass: t,
|
|
445
|
-
disabled:
|
|
446
|
-
elementId:
|
|
447
|
-
radioButtons:
|
|
448
|
-
activeRadioButton:
|
|
449
|
-
orientation:
|
|
447
|
+
disabled: a,
|
|
448
|
+
elementId: s,
|
|
449
|
+
radioButtons: o,
|
|
450
|
+
activeRadioButton: l,
|
|
451
|
+
orientation: u,
|
|
450
452
|
onChange: d
|
|
451
|
-
}) => /* @__PURE__ */ f("div", { className:
|
|
452
|
-
e && /* @__PURE__ */ r(
|
|
453
|
+
}) => /* @__PURE__ */ f("div", { className: er, children: [
|
|
454
|
+
e && /* @__PURE__ */ r(j, { fieldTitle: e, htmlFor: s }),
|
|
453
455
|
/* @__PURE__ */ r(
|
|
454
456
|
"div",
|
|
455
457
|
{
|
|
456
458
|
role: "radiogroup",
|
|
457
459
|
"aria-label": e,
|
|
458
|
-
"aria-disabled":
|
|
459
|
-
className:
|
|
460
|
-
|
|
461
|
-
|
|
460
|
+
"aria-disabled": a || void 0,
|
|
461
|
+
className: c(
|
|
462
|
+
rr,
|
|
463
|
+
tr[u]
|
|
462
464
|
),
|
|
463
|
-
children:
|
|
465
|
+
children: o.map((i) => /* @__PURE__ */ f("div", { className: "flex flex-col", children: [
|
|
464
466
|
/* @__PURE__ */ r(
|
|
465
|
-
|
|
467
|
+
Je,
|
|
466
468
|
{
|
|
467
|
-
name:
|
|
468
|
-
value:
|
|
469
|
-
inputId:
|
|
470
|
-
disabled:
|
|
469
|
+
name: s,
|
|
470
|
+
value: i.id,
|
|
471
|
+
inputId: i.id,
|
|
472
|
+
disabled: a,
|
|
471
473
|
cssClass: n,
|
|
472
474
|
labelCssClass: t,
|
|
473
|
-
title:
|
|
474
|
-
checked:
|
|
475
|
-
onChange: () => d(
|
|
475
|
+
title: i.name,
|
|
476
|
+
checked: i.id === l,
|
|
477
|
+
onChange: () => d(i.id)
|
|
476
478
|
}
|
|
477
479
|
),
|
|
478
|
-
|
|
479
|
-
] },
|
|
480
|
+
i.id === l && i.content ? /* @__PURE__ */ r("div", { className: nr, children: i.content }) : null
|
|
481
|
+
] }, i.id))
|
|
480
482
|
}
|
|
481
483
|
)
|
|
482
|
-
] }),
|
|
484
|
+
] }), Lr = ({
|
|
483
485
|
icon: e,
|
|
484
486
|
title: n,
|
|
485
487
|
description: t
|
|
486
488
|
}) => /* @__PURE__ */ f("div", { className: "h-full w-full flex flex-col items-center justify-center text-secondary", children: [
|
|
487
|
-
e || /* @__PURE__ */ r(
|
|
489
|
+
e || /* @__PURE__ */ r(pe, { width: 60, height: 60 }),
|
|
488
490
|
/* @__PURE__ */ r("span", { className: "small mt-2 text-primary", children: n }),
|
|
489
491
|
t && /* @__PURE__ */ r("span", { className: "mt-1 text-primary", children: t })
|
|
490
|
-
] }),
|
|
492
|
+
] }), sr = 60, Ar = ({
|
|
493
|
+
containerCssClass: e,
|
|
494
|
+
children: n,
|
|
495
|
+
width: t,
|
|
496
|
+
title: a,
|
|
497
|
+
iconSize: s = ee,
|
|
498
|
+
titleCssClass: o,
|
|
499
|
+
additionalButtons: l
|
|
500
|
+
}) => {
|
|
501
|
+
const [u, d] = T(t), [i, m] = T(!0), x = c([
|
|
502
|
+
"transform rotate-180 [writing-mode:tb-rl]",
|
|
503
|
+
i && "hidden",
|
|
504
|
+
o
|
|
505
|
+
]), h = c([
|
|
506
|
+
"flex flex-row gap-2 cursor-pointer text-secondary",
|
|
507
|
+
i ? "justify-end" : "justify-center"
|
|
508
|
+
]), p = () => {
|
|
509
|
+
d(i ? sr : t), m(!i);
|
|
510
|
+
};
|
|
511
|
+
return /* @__PURE__ */ f(
|
|
512
|
+
"div",
|
|
513
|
+
{
|
|
514
|
+
className: c([
|
|
515
|
+
"rounded p-4 flex flex-col justify-between overflow-y-auto flex-shrink-0",
|
|
516
|
+
e
|
|
517
|
+
]),
|
|
518
|
+
style: { width: `${u}px` },
|
|
519
|
+
children: [
|
|
520
|
+
/* @__PURE__ */ r(
|
|
521
|
+
"div",
|
|
522
|
+
{
|
|
523
|
+
className: c([
|
|
524
|
+
"flex-1 min-h-0 overflow-auto",
|
|
525
|
+
!i && "hidden"
|
|
526
|
+
]),
|
|
527
|
+
children: n
|
|
528
|
+
}
|
|
529
|
+
),
|
|
530
|
+
/* @__PURE__ */ r("div", { className: x, children: a }),
|
|
531
|
+
/* @__PURE__ */ f("div", { className: h, children: [
|
|
532
|
+
i && l,
|
|
533
|
+
/* @__PURE__ */ r(
|
|
534
|
+
P,
|
|
535
|
+
{
|
|
536
|
+
cssClass: "hover:text-icon-accent-primary",
|
|
537
|
+
onClick: p,
|
|
538
|
+
iconBefore: i ? /* @__PURE__ */ r(
|
|
539
|
+
xe,
|
|
540
|
+
{
|
|
541
|
+
size: s,
|
|
542
|
+
stroke: F.stroke
|
|
543
|
+
}
|
|
544
|
+
) : /* @__PURE__ */ r(
|
|
545
|
+
he,
|
|
546
|
+
{
|
|
547
|
+
size: s,
|
|
548
|
+
stroke: F.stroke
|
|
549
|
+
}
|
|
550
|
+
)
|
|
551
|
+
}
|
|
552
|
+
)
|
|
553
|
+
] })
|
|
554
|
+
]
|
|
555
|
+
}
|
|
556
|
+
);
|
|
557
|
+
}, ar = ({
|
|
491
558
|
ariaLabel: e,
|
|
492
559
|
cssClass: n,
|
|
493
560
|
size: t = 24,
|
|
494
|
-
onClose:
|
|
561
|
+
onClose: a
|
|
495
562
|
}) => /* @__PURE__ */ r(
|
|
496
563
|
P,
|
|
497
564
|
{
|
|
498
565
|
ariaLabel: e,
|
|
499
|
-
cssClass:
|
|
500
|
-
onClick:
|
|
501
|
-
iconBefore: /* @__PURE__ */ r(
|
|
566
|
+
cssClass: c("text-secondary hover:text-accent-primary", n),
|
|
567
|
+
onClick: a,
|
|
568
|
+
iconBefore: /* @__PURE__ */ r(W, { size: t })
|
|
502
569
|
}
|
|
503
|
-
),
|
|
570
|
+
), or = ({
|
|
504
571
|
value: e,
|
|
505
572
|
textareaId: n,
|
|
506
573
|
placeholder: t,
|
|
507
|
-
cssClass:
|
|
508
|
-
disabled:
|
|
509
|
-
invalid:
|
|
510
|
-
readonly:
|
|
511
|
-
onChange:
|
|
574
|
+
cssClass: a = "",
|
|
575
|
+
disabled: s,
|
|
576
|
+
invalid: o,
|
|
577
|
+
readonly: l,
|
|
578
|
+
onChange: u
|
|
512
579
|
}) => /* @__PURE__ */ r(V, { tooltip: e, triggerClassName: "flex", children: /* @__PURE__ */ r(
|
|
513
580
|
"textarea",
|
|
514
581
|
{
|
|
515
582
|
id: n,
|
|
516
583
|
placeholder: t,
|
|
517
584
|
value: e || "",
|
|
518
|
-
disabled:
|
|
519
|
-
className:
|
|
585
|
+
disabled: s,
|
|
586
|
+
className: c(
|
|
520
587
|
"dial-textarea dial-input px-3 py-2",
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
588
|
+
o ? "dial-input-error" : "",
|
|
589
|
+
s && "dial-input-disable",
|
|
590
|
+
l && "dial-input-readonly",
|
|
591
|
+
a
|
|
525
592
|
),
|
|
526
|
-
onChange: (d) => !
|
|
593
|
+
onChange: (d) => !l && u?.(d.currentTarget.value)
|
|
527
594
|
}
|
|
528
|
-
) }),
|
|
595
|
+
) }), lr = [
|
|
529
596
|
"ArrowLeft",
|
|
530
597
|
"ArrowRight",
|
|
531
598
|
"ArrowUp",
|
|
@@ -537,75 +604,75 @@ const Ye = "flex flex-col gap-2", Je = "flex", er = "pb-1 mt-2", rr = {
|
|
|
537
604
|
"Escape",
|
|
538
605
|
"Home",
|
|
539
606
|
"End"
|
|
540
|
-
],
|
|
541
|
-
if ((n === "number" || t !== void 0 ||
|
|
607
|
+
], ir = (e, n, t, a) => {
|
|
608
|
+
if ((n === "number" || t !== void 0 || a !== void 0) && !lr.includes(e.key) && !(e.key === "-" && e.currentTarget.selectionStart === 0 && (t === void 0 || t < 0)) && !(e.key === "." && n === "number" && !e.currentTarget.value.includes("."))) {
|
|
542
609
|
if (!/^[0-9]$/.test(e.key)) {
|
|
543
610
|
e.preventDefault();
|
|
544
611
|
return;
|
|
545
612
|
}
|
|
546
|
-
if (t !== void 0 ||
|
|
547
|
-
const
|
|
613
|
+
if (t !== void 0 || a !== void 0) {
|
|
614
|
+
const o = e.currentTarget.value, l = e.currentTarget.selectionStart || 0, u = o.slice(0, l) + e.key + o.slice(l), d = parseFloat(u);
|
|
548
615
|
if (!isNaN(d)) {
|
|
549
616
|
if (t !== void 0 && d < t) {
|
|
550
617
|
e.preventDefault();
|
|
551
618
|
return;
|
|
552
619
|
}
|
|
553
|
-
if (
|
|
620
|
+
if (a !== void 0 && d > a) {
|
|
554
621
|
e.preventDefault();
|
|
555
622
|
return;
|
|
556
623
|
}
|
|
557
624
|
}
|
|
558
625
|
}
|
|
559
626
|
}
|
|
560
|
-
},
|
|
627
|
+
}, O = ({
|
|
561
628
|
iconBefore: e,
|
|
562
629
|
iconAfter: n,
|
|
563
630
|
hideBorder: t,
|
|
564
|
-
value:
|
|
565
|
-
elementId:
|
|
566
|
-
placeholder:
|
|
567
|
-
cssClass:
|
|
568
|
-
containerCssClass:
|
|
631
|
+
value: a,
|
|
632
|
+
elementId: s,
|
|
633
|
+
placeholder: o = "",
|
|
634
|
+
cssClass: l = "",
|
|
635
|
+
containerCssClass: u,
|
|
569
636
|
tooltipTriggerClassName: d,
|
|
570
|
-
type:
|
|
637
|
+
type: i = "text",
|
|
571
638
|
disabled: m,
|
|
572
639
|
readonly: x,
|
|
573
640
|
invalid: h,
|
|
574
|
-
onChange:
|
|
641
|
+
onChange: p,
|
|
575
642
|
min: y,
|
|
576
|
-
max:
|
|
643
|
+
max: g,
|
|
577
644
|
prefix: N,
|
|
578
645
|
suffix: w,
|
|
579
646
|
textBeforeInput: b,
|
|
580
|
-
textAfterInput:
|
|
647
|
+
textAfterInput: L
|
|
581
648
|
}) => {
|
|
582
|
-
const
|
|
583
|
-
|
|
584
|
-
},
|
|
585
|
-
const
|
|
586
|
-
if (
|
|
587
|
-
const
|
|
588
|
-
if (isNaN(
|
|
649
|
+
const ne = (I) => I.target.blur(), te = i === "number" || y !== void 0 || g !== void 0, se = (I) => {
|
|
650
|
+
ir(I, i, y, g);
|
|
651
|
+
}, ae = (I) => {
|
|
652
|
+
const E = I.currentTarget.value;
|
|
653
|
+
if (te && E !== "") {
|
|
654
|
+
const A = parseFloat(E);
|
|
655
|
+
if (isNaN(A) && E !== "-" && E !== "." || !isNaN(A) && (y !== void 0 && A < y || g !== void 0 && A > g))
|
|
589
656
|
return;
|
|
590
657
|
}
|
|
591
|
-
|
|
658
|
+
p?.(E);
|
|
592
659
|
};
|
|
593
660
|
return /* @__PURE__ */ f(
|
|
594
661
|
"div",
|
|
595
662
|
{
|
|
596
|
-
className:
|
|
663
|
+
className: c(
|
|
597
664
|
"dial-input-field flex flex-row items-center justify-between py-2",
|
|
598
665
|
t ? "dial-input-no-border" : "dial-input",
|
|
599
666
|
h && "dial-input-error",
|
|
600
667
|
m && "dial-input-disable",
|
|
601
668
|
x && "dial-input-readonly",
|
|
602
669
|
!b && "pl-3",
|
|
603
|
-
!
|
|
604
|
-
|
|
670
|
+
!L && "pr-3",
|
|
671
|
+
u
|
|
605
672
|
),
|
|
606
673
|
children: [
|
|
607
674
|
b && /* @__PURE__ */ r("div", { children: /* @__PURE__ */ r(
|
|
608
|
-
|
|
675
|
+
O,
|
|
609
676
|
{
|
|
610
677
|
hideBorder: !0,
|
|
611
678
|
containerCssClass: "rounded-r-none border-r-0",
|
|
@@ -623,23 +690,23 @@ const Ye = "flex flex-col gap-2", Je = "flex", er = "pb-1 mt-2", rr = {
|
|
|
623
690
|
/* @__PURE__ */ r(
|
|
624
691
|
V,
|
|
625
692
|
{
|
|
626
|
-
tooltip:
|
|
627
|
-
triggerClassName:
|
|
693
|
+
tooltip: a,
|
|
694
|
+
triggerClassName: c(d, "flex-1"),
|
|
628
695
|
children: /* @__PURE__ */ r(
|
|
629
696
|
"input",
|
|
630
697
|
{
|
|
631
|
-
type:
|
|
698
|
+
type: i,
|
|
632
699
|
autoComplete: "off",
|
|
633
|
-
id:
|
|
634
|
-
placeholder:
|
|
635
|
-
value:
|
|
700
|
+
id: s,
|
|
701
|
+
placeholder: o,
|
|
702
|
+
value: a ?? "",
|
|
636
703
|
disabled: m,
|
|
637
|
-
className:
|
|
638
|
-
onChange: (I) => !x &&
|
|
639
|
-
onKeyDown:
|
|
640
|
-
onWheel:
|
|
704
|
+
className: c("border-0 bg-transparent px-2", l),
|
|
705
|
+
onChange: (I) => !x && ae?.(I),
|
|
706
|
+
onKeyDown: se,
|
|
707
|
+
onWheel: ne,
|
|
641
708
|
min: y,
|
|
642
|
-
max:
|
|
709
|
+
max: g
|
|
643
710
|
}
|
|
644
711
|
)
|
|
645
712
|
}
|
|
@@ -649,96 +716,96 @@ const Ye = "flex flex-col gap-2", Je = "flex", er = "pb-1 mt-2", rr = {
|
|
|
649
716
|
" ",
|
|
650
717
|
w
|
|
651
718
|
] }),
|
|
652
|
-
|
|
653
|
-
|
|
719
|
+
L && /* @__PURE__ */ r("div", { children: /* @__PURE__ */ r(
|
|
720
|
+
O,
|
|
654
721
|
{
|
|
655
722
|
hideBorder: !0,
|
|
656
723
|
containerCssClass: "rounded-l-none border-l-0",
|
|
657
724
|
cssClass: "px-2",
|
|
658
|
-
value:
|
|
725
|
+
value: L,
|
|
659
726
|
disabled: !0,
|
|
660
|
-
elementId:
|
|
727
|
+
elementId: L + "textAfter"
|
|
661
728
|
}
|
|
662
729
|
) })
|
|
663
730
|
]
|
|
664
731
|
}
|
|
665
732
|
);
|
|
666
|
-
},
|
|
733
|
+
}, cr = /^0+\.(\d+)?$/, dr = /^0+/, re = ({
|
|
667
734
|
fieldTitle: e,
|
|
668
735
|
errorText: n,
|
|
669
736
|
optional: t,
|
|
670
|
-
elementCssClass:
|
|
671
|
-
elementContainerCssClass:
|
|
672
|
-
elementId:
|
|
673
|
-
containerCssClass:
|
|
674
|
-
readonly:
|
|
737
|
+
elementCssClass: a,
|
|
738
|
+
elementContainerCssClass: s,
|
|
739
|
+
elementId: o,
|
|
740
|
+
containerCssClass: l,
|
|
741
|
+
readonly: u,
|
|
675
742
|
defaultEmptyText: d,
|
|
676
|
-
min:
|
|
743
|
+
min: i,
|
|
677
744
|
max: m,
|
|
678
745
|
...x
|
|
679
|
-
}) => /* @__PURE__ */ f("div", { className:
|
|
746
|
+
}) => /* @__PURE__ */ f("div", { className: c("flex flex-col", l), children: [
|
|
680
747
|
/* @__PURE__ */ r(
|
|
681
|
-
|
|
748
|
+
j,
|
|
682
749
|
{
|
|
683
750
|
fieldTitle: e,
|
|
684
751
|
optional: t,
|
|
685
|
-
htmlFor:
|
|
752
|
+
htmlFor: o
|
|
686
753
|
}
|
|
687
754
|
),
|
|
688
|
-
|
|
755
|
+
u ? /* @__PURE__ */ r("span", { children: x.value || (d ?? "None") }) : /* @__PURE__ */ f(oe, { children: [
|
|
689
756
|
/* @__PURE__ */ r(
|
|
690
|
-
|
|
757
|
+
O,
|
|
691
758
|
{
|
|
692
|
-
elementId:
|
|
693
|
-
cssClass:
|
|
694
|
-
containerCssClass:
|
|
759
|
+
elementId: o,
|
|
760
|
+
cssClass: a,
|
|
761
|
+
containerCssClass: s,
|
|
695
762
|
invalid: n != null,
|
|
696
|
-
min:
|
|
763
|
+
min: i,
|
|
697
764
|
max: m,
|
|
698
765
|
...x
|
|
699
766
|
}
|
|
700
767
|
),
|
|
701
|
-
/* @__PURE__ */ r(
|
|
768
|
+
/* @__PURE__ */ r(_, { errorText: n })
|
|
702
769
|
] })
|
|
703
|
-
] }),
|
|
770
|
+
] }), Or = ({
|
|
704
771
|
onChange: e,
|
|
705
772
|
value: n,
|
|
706
773
|
min: t,
|
|
707
|
-
max:
|
|
708
|
-
...
|
|
774
|
+
max: a,
|
|
775
|
+
...s
|
|
709
776
|
}) => {
|
|
710
|
-
const
|
|
777
|
+
const o = (l) => String(l)?.match(cr) ? String(l)?.replace(dr, "0") : Number(l);
|
|
711
778
|
return /* @__PURE__ */ r(
|
|
712
|
-
|
|
779
|
+
re,
|
|
713
780
|
{
|
|
714
781
|
type: "number",
|
|
715
|
-
onChange: (
|
|
782
|
+
onChange: (l) => e?.(o(l)),
|
|
716
783
|
value: n,
|
|
717
784
|
min: t,
|
|
718
|
-
max:
|
|
719
|
-
...
|
|
785
|
+
max: a,
|
|
786
|
+
...s
|
|
720
787
|
}
|
|
721
788
|
);
|
|
722
|
-
},
|
|
789
|
+
}, zr = ({
|
|
723
790
|
onChange: e,
|
|
724
791
|
...n
|
|
725
792
|
}) => /* @__PURE__ */ r(
|
|
726
|
-
|
|
793
|
+
re,
|
|
727
794
|
{
|
|
728
795
|
type: "text",
|
|
729
796
|
onChange: (t) => e?.(t),
|
|
730
797
|
...n
|
|
731
798
|
}
|
|
732
|
-
),
|
|
799
|
+
), Br = ({
|
|
733
800
|
fieldTitle: e,
|
|
734
801
|
optional: n,
|
|
735
802
|
elementId: t,
|
|
736
|
-
elementCssClass:
|
|
737
|
-
errorText:
|
|
738
|
-
...
|
|
803
|
+
elementCssClass: a,
|
|
804
|
+
errorText: s,
|
|
805
|
+
...o
|
|
739
806
|
}) => /* @__PURE__ */ f("div", { className: "flex flex-col", children: [
|
|
740
807
|
/* @__PURE__ */ r(
|
|
741
|
-
|
|
808
|
+
j,
|
|
742
809
|
{
|
|
743
810
|
fieldTitle: e,
|
|
744
811
|
optional: n,
|
|
@@ -746,50 +813,50 @@ const Ye = "flex flex-col gap-2", Je = "flex", er = "pb-1 mt-2", rr = {
|
|
|
746
813
|
}
|
|
747
814
|
),
|
|
748
815
|
/* @__PURE__ */ r(
|
|
749
|
-
|
|
816
|
+
or,
|
|
750
817
|
{
|
|
751
818
|
textareaId: t,
|
|
752
|
-
cssClass:
|
|
753
|
-
...
|
|
819
|
+
cssClass: a,
|
|
820
|
+
...o
|
|
754
821
|
}
|
|
755
822
|
),
|
|
756
|
-
/* @__PURE__ */ r(
|
|
757
|
-
] }),
|
|
823
|
+
/* @__PURE__ */ r(_, { errorText: s })
|
|
824
|
+
] }), jr = ({
|
|
758
825
|
title: e,
|
|
759
826
|
switchId: n,
|
|
760
827
|
isOn: t = !1,
|
|
761
|
-
disabled:
|
|
762
|
-
onChange:
|
|
828
|
+
disabled: a,
|
|
829
|
+
onChange: s
|
|
763
830
|
}) => {
|
|
764
|
-
const
|
|
831
|
+
const o = c(
|
|
765
832
|
"flex w-[36px] h-[18px] cursor-pointer items-center gap-1 rounded-full p-0.5 transition-all duration-200",
|
|
766
833
|
t ? "flex-row-reverse" : "flex-row",
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
),
|
|
770
|
-
(
|
|
771
|
-
|
|
834
|
+
a ? "pointer-events-none" : "",
|
|
835
|
+
a ? t ? "bg-controls-disable" : "bg-layer-4" : t ? "bg-accent-primary" : "bg-layer-4"
|
|
836
|
+
), l = S(
|
|
837
|
+
(u) => {
|
|
838
|
+
u.stopPropagation(), s?.(!t);
|
|
772
839
|
},
|
|
773
|
-
[
|
|
840
|
+
[s, t]
|
|
774
841
|
);
|
|
775
842
|
return /* @__PURE__ */ f("div", { className: "flex flex-row items-center", children: [
|
|
776
843
|
/* @__PURE__ */ r(
|
|
777
844
|
"input",
|
|
778
845
|
{
|
|
779
846
|
type: "checkbox",
|
|
780
|
-
onChange:
|
|
847
|
+
onChange: l,
|
|
781
848
|
id: n,
|
|
782
|
-
disabled:
|
|
849
|
+
disabled: a,
|
|
783
850
|
className: "invisible w-0 h-0",
|
|
784
851
|
checked: t
|
|
785
852
|
}
|
|
786
853
|
),
|
|
787
|
-
/* @__PURE__ */ r("label", { htmlFor: n, className:
|
|
854
|
+
/* @__PURE__ */ r("label", { htmlFor: n, className: o, children: /* @__PURE__ */ r(
|
|
788
855
|
"span",
|
|
789
856
|
{
|
|
790
|
-
className:
|
|
857
|
+
className: c(
|
|
791
858
|
"size-3 rounded-full",
|
|
792
|
-
|
|
859
|
+
a ? t ? "bg-layer-4" : "bg-controls-disable" : "bg-controls-enable-primary"
|
|
793
860
|
)
|
|
794
861
|
}
|
|
795
862
|
) }),
|
|
@@ -797,74 +864,74 @@ const Ye = "flex flex-col gap-2", Je = "flex", er = "pb-1 mt-2", rr = {
|
|
|
797
864
|
] });
|
|
798
865
|
};
|
|
799
866
|
var R = /* @__PURE__ */ ((e) => (e.Sm = "sm", e.Md = "md", e.Lg = "lg", e))(R || {});
|
|
800
|
-
const
|
|
867
|
+
const ur = "z-[52] flex items-center justify-center bg-blackout md:p-4", mr = "relative max-h-full rounded bg-layer-3 flex flex-col shadow w-full h-full md:h-auto", fr = "divide-tertiary divide-y", pr = "flex flex-row justify-between py-4 px-6 items-center", xr = {
|
|
801
868
|
[R.Sm]: "max-w-full md:max-w-[400px]",
|
|
802
869
|
[R.Md]: "max-w-full md:max-w-[800px]",
|
|
803
870
|
[R.Lg]: "max-w-full md:max-w-[1200px]"
|
|
804
|
-
},
|
|
871
|
+
}, hr = ({
|
|
805
872
|
open: e = !1,
|
|
806
873
|
title: n,
|
|
807
874
|
portalId: t,
|
|
808
|
-
cssClass:
|
|
809
|
-
overlayClass:
|
|
810
|
-
headingClass:
|
|
811
|
-
dividers:
|
|
812
|
-
children:
|
|
875
|
+
cssClass: a,
|
|
876
|
+
overlayClass: s,
|
|
877
|
+
headingClass: o,
|
|
878
|
+
dividers: l = !0,
|
|
879
|
+
children: u,
|
|
813
880
|
footer: d,
|
|
814
|
-
onClose:
|
|
881
|
+
onClose: i,
|
|
815
882
|
size: m = R.Md
|
|
816
883
|
}) => {
|
|
817
884
|
const { refs: x, context: h } = G({
|
|
818
885
|
open: e,
|
|
819
886
|
onOpenChange: (b) => {
|
|
820
|
-
b ||
|
|
887
|
+
b || i?.(null);
|
|
821
888
|
}
|
|
822
|
-
}),
|
|
889
|
+
}), p = Z(h, { role: "dialog" }), y = K(h, { outsidePress: !0 }), { getFloatingProps: g } = X([p, y]);
|
|
823
890
|
if (!e) return null;
|
|
824
891
|
const N = typeof n == "string" ? "dial-popup-heading" : void 0, w = (b) => b ? typeof b == "string" ? /* @__PURE__ */ r(
|
|
825
892
|
"h3",
|
|
826
893
|
{
|
|
827
894
|
id: N,
|
|
828
|
-
className:
|
|
895
|
+
className: c(
|
|
829
896
|
"flex-1 min-w-0 mr-3 truncate dial-h3 text-primary",
|
|
830
|
-
|
|
897
|
+
o
|
|
831
898
|
),
|
|
832
899
|
children: /* @__PURE__ */ r(V, { tooltip: b, children: b })
|
|
833
900
|
}
|
|
834
901
|
) : b : /* @__PURE__ */ r("span", {});
|
|
835
|
-
return /* @__PURE__ */ r(Q, { id: t, children: /* @__PURE__ */ r(
|
|
902
|
+
return /* @__PURE__ */ r(Q, { id: t, children: /* @__PURE__ */ r(Oe, { className: c(ur, s), children: /* @__PURE__ */ r(ze, { context: h, children: /* @__PURE__ */ f(
|
|
836
903
|
"div",
|
|
837
904
|
{
|
|
838
905
|
ref: x.setFloating,
|
|
839
|
-
...
|
|
906
|
+
...g(),
|
|
840
907
|
role: "dialog",
|
|
841
908
|
"aria-modal": "true",
|
|
842
909
|
"aria-labelledby": N,
|
|
843
|
-
className:
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
910
|
+
className: c(
|
|
911
|
+
mr,
|
|
912
|
+
xr[m],
|
|
913
|
+
l && fr,
|
|
914
|
+
a
|
|
848
915
|
),
|
|
849
916
|
children: [
|
|
850
|
-
/* @__PURE__ */ f("div", { className:
|
|
917
|
+
/* @__PURE__ */ f("div", { className: pr, children: [
|
|
851
918
|
w(n),
|
|
852
919
|
/* @__PURE__ */ r(
|
|
853
|
-
|
|
920
|
+
ar,
|
|
854
921
|
{
|
|
855
922
|
ariaLabel: "Close dialog",
|
|
856
|
-
onClose: (b) =>
|
|
923
|
+
onClose: (b) => i?.(b)
|
|
857
924
|
}
|
|
858
925
|
)
|
|
859
926
|
] }),
|
|
860
|
-
/* @__PURE__ */ r("div", { className: "flex-grow overflow-auto", children:
|
|
927
|
+
/* @__PURE__ */ r("div", { className: "flex-grow overflow-auto", children: u }),
|
|
861
928
|
d
|
|
862
929
|
]
|
|
863
930
|
}
|
|
864
931
|
) }) }) });
|
|
865
932
|
};
|
|
866
933
|
var z = /* @__PURE__ */ ((e) => (e.Info = "info", e.Danger = "danger", e))(z || {});
|
|
867
|
-
const
|
|
934
|
+
const gr = "flex justify-end gap-2 px-6 py-4", br = "text-secondary dial-small-150 px-6 py-4", yr = "Cancel", H = {
|
|
868
935
|
[z.Info]: {
|
|
869
936
|
confirmVariant: v.Primary,
|
|
870
937
|
cancelVariant: v.Secondary
|
|
@@ -874,57 +941,57 @@ const pr = "flex justify-end gap-2 px-6 py-4", xr = "text-secondary dial-small-1
|
|
|
874
941
|
confirmVariant: v.Danger,
|
|
875
942
|
cancelVariant: v.Secondary
|
|
876
943
|
}
|
|
877
|
-
},
|
|
944
|
+
}, Vr = ({
|
|
878
945
|
title: e,
|
|
879
946
|
description: n,
|
|
880
947
|
descriptionCssClass: t,
|
|
881
|
-
open:
|
|
882
|
-
confirmLabel:
|
|
883
|
-
cancelLabel:
|
|
884
|
-
isLoading:
|
|
885
|
-
disableConfirmButton:
|
|
948
|
+
open: a = !1,
|
|
949
|
+
confirmLabel: s,
|
|
950
|
+
cancelLabel: o = yr,
|
|
951
|
+
isLoading: l = !1,
|
|
952
|
+
disableConfirmButton: u = !1,
|
|
886
953
|
cssClass: d,
|
|
887
|
-
confirmClassName:
|
|
954
|
+
confirmClassName: i,
|
|
888
955
|
onClose: m,
|
|
889
956
|
onConfirm: x,
|
|
890
957
|
onCancel: h,
|
|
891
|
-
children:
|
|
958
|
+
children: p,
|
|
892
959
|
dividers: y = !1,
|
|
893
|
-
variant:
|
|
960
|
+
variant: g = z.Info,
|
|
894
961
|
size: N = R.Sm
|
|
895
962
|
}) => {
|
|
896
|
-
const w =
|
|
963
|
+
const w = l ? null : /* @__PURE__ */ f("div", { className: gr, children: [
|
|
897
964
|
/* @__PURE__ */ r(
|
|
898
965
|
P,
|
|
899
966
|
{
|
|
900
967
|
variant: v.Secondary,
|
|
901
|
-
title:
|
|
968
|
+
title: o,
|
|
902
969
|
onClick: () => h ? h() : m?.()
|
|
903
970
|
}
|
|
904
971
|
),
|
|
905
972
|
/* @__PURE__ */ r(
|
|
906
973
|
P,
|
|
907
974
|
{
|
|
908
|
-
variant: H[
|
|
909
|
-
cssClass:
|
|
910
|
-
title:
|
|
911
|
-
disable:
|
|
975
|
+
variant: H[g].confirmVariant,
|
|
976
|
+
cssClass: i,
|
|
977
|
+
title: s,
|
|
978
|
+
disable: u,
|
|
912
979
|
onClick: () => x()
|
|
913
980
|
}
|
|
914
981
|
)
|
|
915
|
-
] }), b = S(() =>
|
|
982
|
+
] }), b = S(() => l ? /* @__PURE__ */ r("div", { className: "px-6 py-4 h-[120px]", children: /* @__PURE__ */ r(He, { size: 50 }) }) : p ?? (n ? /* @__PURE__ */ r(
|
|
916
983
|
"div",
|
|
917
984
|
{
|
|
918
|
-
className:
|
|
985
|
+
className: c(br, t),
|
|
919
986
|
children: n
|
|
920
987
|
}
|
|
921
|
-
) : null), [
|
|
988
|
+
) : null), [p, n, l, t]);
|
|
922
989
|
return /* @__PURE__ */ r(
|
|
923
|
-
|
|
990
|
+
hr,
|
|
924
991
|
{
|
|
925
|
-
open:
|
|
992
|
+
open: a,
|
|
926
993
|
title: e,
|
|
927
|
-
cssClass:
|
|
994
|
+
cssClass: c(H[g].container, d),
|
|
928
995
|
dividers: y,
|
|
929
996
|
onClose: () => m?.(),
|
|
930
997
|
footer: w,
|
|
@@ -932,54 +999,54 @@ const pr = "flex justify-end gap-2 px-6 py-4", xr = "text-secondary dial-small-1
|
|
|
932
999
|
children: b()
|
|
933
1000
|
}
|
|
934
1001
|
);
|
|
935
|
-
},
|
|
936
|
-
|
|
1002
|
+
}, Cr = ({ onClick: e }) => /* @__PURE__ */ r(
|
|
1003
|
+
ge,
|
|
937
1004
|
{
|
|
938
|
-
...
|
|
1005
|
+
...F,
|
|
939
1006
|
className: "text-primary",
|
|
940
1007
|
onClick: e
|
|
941
1008
|
}
|
|
942
|
-
),
|
|
943
|
-
const [n, t] =
|
|
944
|
-
t(
|
|
1009
|
+
), vr = ({ onClick: e }) => /* @__PURE__ */ r(be, { ...F, className: "text-primary", onClick: e }), Nr = ({ ...e }) => {
|
|
1010
|
+
const [n, t] = T(!1), a = S((s) => {
|
|
1011
|
+
t(s);
|
|
945
1012
|
}, []);
|
|
946
1013
|
return /* @__PURE__ */ r(
|
|
947
|
-
|
|
1014
|
+
O,
|
|
948
1015
|
{
|
|
949
1016
|
type: n ? "text" : "password",
|
|
950
1017
|
...e,
|
|
951
|
-
iconAfter: n ? /* @__PURE__ */ r(
|
|
1018
|
+
iconAfter: n ? /* @__PURE__ */ r(Cr, { onClick: () => a(!1) }) : /* @__PURE__ */ r(vr, { onClick: () => a(!0) })
|
|
952
1019
|
}
|
|
953
1020
|
);
|
|
954
|
-
},
|
|
1021
|
+
}, Mr = ({
|
|
955
1022
|
fieldTitle: e,
|
|
956
1023
|
optional: n,
|
|
957
1024
|
elementCssClass: t,
|
|
958
|
-
elementId:
|
|
959
|
-
errorText:
|
|
960
|
-
...
|
|
1025
|
+
elementId: a,
|
|
1026
|
+
errorText: s,
|
|
1027
|
+
...o
|
|
961
1028
|
}) => /* @__PURE__ */ f("div", { className: "flex flex-col", children: [
|
|
962
1029
|
/* @__PURE__ */ r(
|
|
963
|
-
|
|
1030
|
+
j,
|
|
964
1031
|
{
|
|
965
1032
|
fieldTitle: e,
|
|
966
1033
|
optional: n,
|
|
967
|
-
htmlFor:
|
|
1034
|
+
htmlFor: a
|
|
968
1035
|
}
|
|
969
1036
|
),
|
|
970
1037
|
/* @__PURE__ */ r(
|
|
971
|
-
|
|
1038
|
+
Nr,
|
|
972
1039
|
{
|
|
973
1040
|
cssClass: t,
|
|
974
|
-
elementId:
|
|
975
|
-
invalid: !!
|
|
976
|
-
...
|
|
1041
|
+
elementId: a,
|
|
1042
|
+
invalid: !!s,
|
|
1043
|
+
...o
|
|
977
1044
|
}
|
|
978
1045
|
),
|
|
979
|
-
/* @__PURE__ */ r(
|
|
1046
|
+
/* @__PURE__ */ r(_, { errorText: s })
|
|
980
1047
|
] });
|
|
981
1048
|
var B = /* @__PURE__ */ ((e) => (e.Small = "small", e.Base = "base", e))(B || {});
|
|
982
|
-
const
|
|
1049
|
+
const wr = {
|
|
983
1050
|
[B.Small]: {
|
|
984
1051
|
textClass: "text-xs px-1",
|
|
985
1052
|
containerClass: "px-[6px] py-1 h-[22px]",
|
|
@@ -992,51 +1059,51 @@ const Cr = {
|
|
|
992
1059
|
iconSize: 18,
|
|
993
1060
|
iconStroke: 1.5
|
|
994
1061
|
}
|
|
995
|
-
},
|
|
1062
|
+
}, Wr = ({
|
|
996
1063
|
elementId: e,
|
|
997
1064
|
value: n,
|
|
998
1065
|
placeholder: t,
|
|
999
|
-
disabled:
|
|
1000
|
-
readonly:
|
|
1001
|
-
invalid:
|
|
1002
|
-
cssClass:
|
|
1003
|
-
containerCssClass:
|
|
1066
|
+
disabled: a,
|
|
1067
|
+
readonly: s,
|
|
1068
|
+
invalid: o,
|
|
1069
|
+
cssClass: l,
|
|
1070
|
+
containerCssClass: u,
|
|
1004
1071
|
onChange: d,
|
|
1005
|
-
size:
|
|
1072
|
+
size: i = B.Base
|
|
1006
1073
|
}) => {
|
|
1007
|
-
const [m, x] =
|
|
1008
|
-
|
|
1074
|
+
const [m, x] = T(n || "");
|
|
1075
|
+
ke(() => {
|
|
1009
1076
|
x(n || "");
|
|
1010
1077
|
}, [n]);
|
|
1011
1078
|
const h = S(
|
|
1012
|
-
(
|
|
1013
|
-
x(
|
|
1079
|
+
(g) => {
|
|
1080
|
+
x(g), d?.(g);
|
|
1014
1081
|
},
|
|
1015
1082
|
[d]
|
|
1016
|
-
),
|
|
1083
|
+
), p = wr[i], y = S(() => {
|
|
1017
1084
|
h("");
|
|
1018
1085
|
}, [h]);
|
|
1019
1086
|
return /* @__PURE__ */ f(
|
|
1020
1087
|
"div",
|
|
1021
1088
|
{
|
|
1022
|
-
className:
|
|
1089
|
+
className: c(
|
|
1023
1090
|
"dial-input flex flex-row items-center justify-between",
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1091
|
+
o && "dial-input-error",
|
|
1092
|
+
a && "dial-input-disable",
|
|
1093
|
+
s && "dial-input-readonly",
|
|
1094
|
+
p.containerClass,
|
|
1095
|
+
u
|
|
1029
1096
|
),
|
|
1030
1097
|
children: [
|
|
1031
1098
|
/* @__PURE__ */ r(
|
|
1032
1099
|
D,
|
|
1033
1100
|
{
|
|
1034
|
-
className:
|
|
1101
|
+
className: c(a ? "text-secondary" : "text-primary"),
|
|
1035
1102
|
icon: /* @__PURE__ */ r(
|
|
1036
|
-
|
|
1103
|
+
ye,
|
|
1037
1104
|
{
|
|
1038
|
-
size:
|
|
1039
|
-
stroke:
|
|
1105
|
+
size: p.iconSize,
|
|
1106
|
+
stroke: p.iconStroke
|
|
1040
1107
|
}
|
|
1041
1108
|
)
|
|
1042
1109
|
}
|
|
@@ -1049,25 +1116,25 @@ const Cr = {
|
|
|
1049
1116
|
autoComplete: "off",
|
|
1050
1117
|
placeholder: t,
|
|
1051
1118
|
value: m ?? "",
|
|
1052
|
-
disabled:
|
|
1053
|
-
readOnly:
|
|
1054
|
-
className:
|
|
1119
|
+
disabled: a,
|
|
1120
|
+
readOnly: s,
|
|
1121
|
+
className: c(
|
|
1055
1122
|
"border-0 bg-transparent w-full",
|
|
1056
|
-
|
|
1057
|
-
|
|
1123
|
+
l,
|
|
1124
|
+
p.textClass
|
|
1058
1125
|
),
|
|
1059
|
-
onChange: (
|
|
1126
|
+
onChange: (g) => !s && h(g.currentTarget.value)
|
|
1060
1127
|
}
|
|
1061
1128
|
),
|
|
1062
|
-
m && !
|
|
1129
|
+
m && !s && !a && /* @__PURE__ */ r(
|
|
1063
1130
|
D,
|
|
1064
1131
|
{
|
|
1065
1132
|
className: "text-primary cursor-pointer",
|
|
1066
1133
|
icon: /* @__PURE__ */ r(
|
|
1067
|
-
|
|
1134
|
+
W,
|
|
1068
1135
|
{
|
|
1069
|
-
size:
|
|
1070
|
-
stroke:
|
|
1136
|
+
size: p.iconSize,
|
|
1137
|
+
stroke: p.iconStroke,
|
|
1071
1138
|
onClick: y,
|
|
1072
1139
|
"aria-label": "Clear search",
|
|
1073
1140
|
role: "button"
|
|
@@ -1083,31 +1150,33 @@ export {
|
|
|
1083
1150
|
k as AlertVariant,
|
|
1084
1151
|
v as ButtonVariant,
|
|
1085
1152
|
z as ConfirmationPopupVariant,
|
|
1086
|
-
|
|
1153
|
+
Fr as DialAlert,
|
|
1087
1154
|
P as DialButton,
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1155
|
+
Er as DialCheckbox,
|
|
1156
|
+
ar as DialCloseButton,
|
|
1157
|
+
Ar as DialCollapsibleSidebar,
|
|
1158
|
+
Vr as DialConfirmationPopup,
|
|
1159
|
+
_ as DialErrorText,
|
|
1160
|
+
j as DialFieldLabel,
|
|
1093
1161
|
D as DialIcon,
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1162
|
+
O as DialInput,
|
|
1163
|
+
He as DialLoader,
|
|
1164
|
+
Lr as DialNoDataContent,
|
|
1165
|
+
Or as DialNumberInputField,
|
|
1166
|
+
Nr as DialPasswordInput,
|
|
1167
|
+
Mr as DialPasswordInputField,
|
|
1168
|
+
hr as DialPopup,
|
|
1169
|
+
Je as DialRadioButton,
|
|
1170
|
+
Pr as DialRadioGroup,
|
|
1171
|
+
Wr as DialSearch,
|
|
1172
|
+
Tr as DialSteps,
|
|
1173
|
+
jr as DialSwitch,
|
|
1174
|
+
Br as DialTextAreaField,
|
|
1175
|
+
zr as DialTextInputField,
|
|
1176
|
+
or as DialTextarea,
|
|
1109
1177
|
V as DialTooltip,
|
|
1110
1178
|
R as PopupSize,
|
|
1111
|
-
|
|
1179
|
+
M as RadioGroupOrientation,
|
|
1180
|
+
B as SearchSize,
|
|
1112
1181
|
C as StepStatus
|
|
1113
1182
|
};
|