@epam/ai-dial-builder-form 1.2.0-dev.163 → 1.2.0-dev.170

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.
@@ -1 +1 @@
1
- {"version":3,"file":"DeploymentCreationForm.d.ts","sourceRoot":"","sources":["../../../src/components/DeploymentCreationForm/DeploymentCreationForm.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAqB,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,uCAAuC,CAAC;AAIzF,oGAAoG;AACpG,eAAO,MAAM,sBAAsB,EAAE,EAAE,CAAC,2BAA2B,CA2GlE,CAAC"}
1
+ {"version":3,"file":"DeploymentCreationForm.d.ts","sourceRoot":"","sources":["../../../src/components/DeploymentCreationForm/DeploymentCreationForm.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAqB,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,uCAAuC,CAAC;AAIzF,oGAAoG;AACpG,eAAO,MAAM,sBAAsB,EAAE,EAAE,CAAC,2BAA2B,CA6GlE,CAAC"}
package/index.js CHANGED
@@ -1,294 +1,294 @@
1
- import { RESIZABLE_TEXTAREA_CLASS_NAME as e, TAG_INPUT_TAG_CLASS_NAME as t, buildCssVars as n, mergeClasses as r } from "@epam/ai-dial-chat-shared";
2
- import { ButtonAppearance as i, ButtonVariant as a, DIAL_ICON_SIZE as o, DIAL_KIT_ICON_STROKE as s, DangerIconButton as c, ElementSize as l, GhostIconButton as u, Input as d, Label as f, LinkButton as p, NeutralButton as m, Popup as h, PrimaryButton as g, Select as _, Spinner as v, TagInput as y, Textarea as b, TextareaResize as x } from "@epam/ai-dial-ui-kit";
3
- import { Fragment as S, jsx as C, jsxs as w } from "react/jsx-runtime";
4
- import { IconArrowLeft as ee, IconArrowNarrowLeft as T, IconPhoto as E, IconPlus as D, IconTrashX as te } from "@tabler/icons-react";
5
- import { Suspense as O, useCallback as k, useEffect as A, useId as j, useRef as M, useState as N } from "react";
1
+ import { ENTITY_DESCRIPTION_MAX_LENGTH as e, ENTITY_NAME_MAX_LENGTH as t, RESIZABLE_TEXTAREA_CLASS_NAME as n, TAG_INPUT_TAG_CLASS_NAME as r, buildCssVars as i, exceedsMaxLength as a, hasControlCharacters as o, mergeClasses as s } from "@epam/ai-dial-chat-shared";
2
+ import { ButtonAppearance as c, ButtonVariant as l, DIAL_ICON_SIZE as u, DIAL_KIT_ICON_STROKE as d, DangerIconButton as f, ElementSize as p, GhostIconButton as m, Input as h, Label as g, LinkButton as _, NeutralButton as v, Popup as ee, PrimaryButton as y, Select as te, Spinner as b, TagInput as x, Textarea as ne, TextareaResize as S } from "@epam/ai-dial-ui-kit";
3
+ import { Fragment as C, jsx as w, jsxs as T } from "react/jsx-runtime";
4
+ import { IconArrowLeft as E, IconArrowNarrowLeft as D, IconPhoto as O, IconPlus as k, IconTrashX as re } from "@tabler/icons-react";
5
+ import { Suspense as A, useCallback as j, useEffect as M, useId as N, useRef as P, useState as F } from "react";
6
6
  //#region src/components/BuilderFormActions/BuilderFormActions.tsx
7
- var P = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubmitDisabled: i = !1, isSubmitting: a = !1, buttonClassName: s }) => /* @__PURE__ */ w(S, { children: [/* @__PURE__ */ C(m, {
7
+ var I = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubmitDisabled: i = !1, isSubmitting: a = !1, buttonClassName: o }) => /* @__PURE__ */ T(C, { children: [/* @__PURE__ */ w(v, {
8
8
  label: e.cancelButtonLabel,
9
9
  onClick: t,
10
10
  disabled: r,
11
- className: s
12
- }), /* @__PURE__ */ C(g, {
11
+ className: o
12
+ }), /* @__PURE__ */ w(y, {
13
13
  label: e.submitButtonLabel,
14
14
  onClick: n,
15
15
  disabled: i,
16
16
  "aria-busy": a,
17
- className: s,
18
- iconBefore: a ? /* @__PURE__ */ C("span", {
17
+ className: o,
18
+ iconBefore: a ? /* @__PURE__ */ w("span", {
19
19
  "aria-hidden": !0,
20
- children: /* @__PURE__ */ C(v, { size: o.SM })
20
+ children: /* @__PURE__ */ w(b, { size: u.SM })
21
21
  }) : void 0
22
- })] }), F = {
22
+ })] }), L = {
23
23
  body: "_body_m2y60_2",
24
24
  sideColumn: "_sideColumn_m2y60_6",
25
25
  reservedColumn: "_reservedColumn_m2y60_10"
26
- }, I = r("flex flex-col", F.sideColumn), L = ({ left: e, children: t, metadata: n, layout: i }) => {
27
- let a = e != null && n == null && i?.reserveEndColumn !== !1, o = i ? {
28
- flex: `0 1 ${i.sideColumnWidth ?? "400px"}`,
26
+ }, R = s("flex flex-col", L.sideColumn), z = ({ left: e, children: t, metadata: n, layout: r }) => {
27
+ let i = e != null && n == null && r?.reserveEndColumn !== !1, a = r ? {
28
+ flex: `0 1 ${r.sideColumnWidth ?? "400px"}`,
29
29
  width: "100%",
30
- minWidth: `min(100%, ${i.sideColumnWidth ?? "400px"})`,
30
+ minWidth: `min(100%, ${r.sideColumnWidth ?? "400px"})`,
31
31
  maxWidth: "100%"
32
- } : void 0, s = i ? {
32
+ } : void 0, o = r ? {
33
33
  flexDirection: "row",
34
34
  flexWrap: "wrap",
35
- columnGap: i.columnGap ?? "0px",
35
+ columnGap: r.columnGap ?? "0px",
36
36
  alignItems: "stretch"
37
37
  } : void 0;
38
- return /* @__PURE__ */ w("div", {
39
- className: r("flex min-w-0 flex-1", F.body),
40
- style: s,
38
+ return /* @__PURE__ */ T("div", {
39
+ className: s("flex min-w-0 flex-1", L.body),
40
+ style: o,
41
41
  children: [
42
- e != null && /* @__PURE__ */ C("div", {
43
- className: I,
44
- style: o,
42
+ e != null && /* @__PURE__ */ w("div", {
43
+ className: R,
44
+ style: a,
45
45
  children: e
46
46
  }),
47
- /* @__PURE__ */ C("div", {
47
+ /* @__PURE__ */ w("div", {
48
48
  className: "flex w-full min-w-0 flex-1 flex-col",
49
- style: i ? {
49
+ style: r ? {
50
50
  flex: "1 1 320px",
51
51
  minWidth: "min(100%, 320px)"
52
52
  } : void 0,
53
53
  children: t
54
54
  }),
55
- n != null && /* @__PURE__ */ C("div", {
56
- className: I,
57
- style: o,
55
+ n != null && /* @__PURE__ */ w("div", {
56
+ className: R,
57
+ style: a,
58
58
  children: n
59
59
  }),
60
- a && /* @__PURE__ */ C("div", {
60
+ i && /* @__PURE__ */ w("div", {
61
61
  "aria-hidden": !0,
62
- style: o,
63
- className: r(F.reservedColumn, F.sideColumn)
62
+ style: a,
63
+ className: s(L.reservedColumn, L.sideColumn)
64
64
  })
65
65
  ]
66
66
  });
67
- }, R = {
67
+ }, B = {
68
68
  header: "_header_oo757_4",
69
69
  actions: "_actions_oo757_20",
70
70
  title: "_title_oo757_29"
71
- }, z = ({ labels: e, onBack: t, onCancel: i, onSubmit: a, isCancelDisabled: c = !1, isSubmitDisabled: l = !1, isSubmitting: d = !1, backIcon: f, styles: p }) => {
72
- let { colors: m, typography: h } = p ?? {}, g = h?.fontClassName ?? "dial-h1-text", _ = !!h?.fontClassName;
73
- return /* @__PURE__ */ w("div", {
74
- style: n({
75
- "--bfh-border": m?.borderColor,
71
+ }, V = ({ labels: e, onBack: t, onCancel: n, onSubmit: r, isCancelDisabled: a = !1, isSubmitDisabled: o = !1, isSubmitting: c = !1, backIcon: l, styles: f }) => {
72
+ let { colors: p, typography: h } = f ?? {}, g = h?.fontClassName ?? "dial-h1-text", _ = !!h?.fontClassName;
73
+ return /* @__PURE__ */ T("div", {
74
+ style: i({
75
+ "--bfh-border": p?.borderColor,
76
76
  "--bfh-font-family": _ ? void 0 : h?.fontFamily
77
77
  }),
78
- className: r("flex h-16 items-center justify-between gap-6", R.header),
78
+ className: s("flex h-16 items-center justify-between gap-6", B.header),
79
79
  children: [
80
- /* @__PURE__ */ w("div", {
80
+ /* @__PURE__ */ T("div", {
81
81
  className: "flex min-w-0 flex-1 items-center gap-2",
82
- children: [/* @__PURE__ */ C(u, {
83
- icon: f === void 0 ? /* @__PURE__ */ C(ee, {
84
- size: o.LG,
82
+ children: [/* @__PURE__ */ w(m, {
83
+ icon: l === void 0 ? /* @__PURE__ */ w(E, {
84
+ size: u.LG,
85
85
  className: "rtl:scale-x-[-1]",
86
86
  "aria-hidden": !0,
87
- stroke: s
88
- }) : f,
87
+ stroke: d
88
+ }) : l,
89
89
  "aria-label": e.backButtonLabel,
90
90
  onClick: t
91
- }), /* @__PURE__ */ C("h1", {
92
- className: r("truncate", R.title, g),
91
+ }), /* @__PURE__ */ w("h1", {
92
+ className: s("truncate", B.title, g),
93
93
  children: e.title
94
94
  })]
95
95
  }),
96
- /* @__PURE__ */ C("div", {
97
- className: r("items-center gap-2", R.actions),
98
- children: /* @__PURE__ */ C(P, {
96
+ /* @__PURE__ */ w("div", {
97
+ className: s("items-center gap-2", B.actions),
98
+ children: /* @__PURE__ */ w(I, {
99
99
  labels: e,
100
- onCancel: i,
101
- onSubmit: a,
102
- isCancelDisabled: c,
103
- isSubmitDisabled: l,
104
- isSubmitting: d
100
+ onCancel: n,
101
+ onSubmit: r,
102
+ isCancelDisabled: a,
103
+ isSubmitDisabled: o,
104
+ isSubmitting: c
105
105
  })
106
106
  }),
107
- /* @__PURE__ */ C("span", {
107
+ /* @__PURE__ */ w("span", {
108
108
  role: "status",
109
109
  "aria-live": "polite",
110
110
  className: "sr-only",
111
- children: d ? e.submittingLabel ?? "Submitting" : ""
111
+ children: c ? e.submittingLabel ?? "Submitting" : ""
112
112
  })
113
113
  ]
114
114
  });
115
- }, B = {
115
+ }, H = {
116
116
  container: "_container_k1awi_1",
117
117
  footer: "_footer_k1awi_10"
118
- }, V = ({ labels: e, onBack: t, onCancel: i, onSubmit: a, isCancelDisabled: o = !1, isSubmitDisabled: s = !1, isSubmitting: c = !1, backIcon: l, className: u, left: d, children: f, metadata: p, layout: m, styles: h }) => {
118
+ }, U = ({ labels: e, onBack: t, onCancel: n, onSubmit: r, isCancelDisabled: a = !1, isSubmitDisabled: o = !1, isSubmitting: c = !1, backIcon: l, className: u, left: d, children: f, metadata: p, layout: m, styles: h }) => {
119
119
  let { colors: g, header: _, cssVars: v } = h ?? {};
120
- return /* @__PURE__ */ w("div", {
120
+ return /* @__PURE__ */ T("div", {
121
121
  style: {
122
- ...n({ "--bfc-bg": g?.background }),
122
+ ...i({ "--bfc-bg": g?.background }),
123
123
  ...v
124
124
  },
125
- className: r("flex h-full w-full flex-col overflow-y-auto", u, B.container),
125
+ className: s("flex h-full w-full flex-col overflow-y-auto", u, H.container),
126
126
  children: [
127
- /* @__PURE__ */ C(z, {
127
+ /* @__PURE__ */ w(V, {
128
128
  labels: e,
129
129
  onBack: t,
130
- onCancel: i,
131
- onSubmit: a,
132
- isCancelDisabled: o,
133
- isSubmitDisabled: s,
130
+ onCancel: n,
131
+ onSubmit: r,
132
+ isCancelDisabled: a,
133
+ isSubmitDisabled: o,
134
134
  isSubmitting: c,
135
135
  backIcon: l,
136
136
  styles: _
137
137
  }),
138
- /* @__PURE__ */ C(L, {
138
+ /* @__PURE__ */ w(z, {
139
139
  left: d,
140
140
  metadata: p,
141
141
  layout: m,
142
142
  children: f
143
143
  }),
144
- /* @__PURE__ */ C("div", {
145
- className: r("sticky bottom-0 z-10 items-center gap-2 p-3", B.footer),
146
- children: /* @__PURE__ */ C(P, {
144
+ /* @__PURE__ */ w("div", {
145
+ className: s("sticky bottom-0 z-10 items-center gap-2 p-3", H.footer),
146
+ children: /* @__PURE__ */ w(I, {
147
147
  labels: e,
148
- onCancel: i,
149
- onSubmit: a,
150
- isCancelDisabled: o,
151
- isSubmitDisabled: s,
148
+ onCancel: n,
149
+ onSubmit: r,
150
+ isCancelDisabled: a,
151
+ isSubmitDisabled: o,
152
152
  isSubmitting: c,
153
153
  buttonClassName: "flex-1"
154
154
  })
155
155
  })
156
156
  ]
157
157
  });
158
- }, H = {
158
+ }, W = {
159
159
  layout: "dial-builder-form-layout",
160
160
  section: "dial-builder-form-section"
161
- }, U = {
161
+ }, G = {
162
162
  section: "_section_l1mnx_1",
163
163
  title: "_title_l1mnx_5"
164
- }, W = ({ title: e, children: t, styles: i, className: a }) => {
165
- let o = n({
166
- "--es-border-color": i?.colors?.borderColor,
167
- "--es-title-color": i?.colors?.titleColor
164
+ }, K = ({ title: e, children: t, styles: n, className: r }) => {
165
+ let a = i({
166
+ "--es-border-color": n?.colors?.borderColor,
167
+ "--es-title-color": n?.colors?.titleColor
168
168
  });
169
- return /* @__PURE__ */ w("section", {
170
- className: r("flex flex-col gap-4 rounded border p-6", U.section, a, H.section),
171
- style: o,
172
- children: [e != null && /* @__PURE__ */ C("h2", {
173
- className: r("dial-h3-text", U.title),
169
+ return /* @__PURE__ */ T("section", {
170
+ className: s("flex flex-col gap-4 rounded border p-6", G.section, r, W.section),
171
+ style: a,
172
+ children: [e != null && /* @__PURE__ */ w("h2", {
173
+ className: s("dial-h3-text", G.title),
174
174
  children: e
175
175
  }), t]
176
176
  });
177
- }, G = {
177
+ }, q = {
178
178
  headerBorder: "_headerBorder_1kidu_1",
179
179
  footerBorder: "_footerBorder_1kidu_5",
180
180
  sidebarBorder: "_sidebarBorder_1kidu_9"
181
- }, K = ({ title: e, onBack: t, backAriaLabel: i = "Back", actions: a, leftContent: c, rightContent: l, isSaving: d = !1, labels: f, styles: p, dir: m }) => {
182
- let h = j(), g = d ? f?.savingStatusLabel ?? "Saving" : "", _ = n({
183
- "--el-header-border-color": p?.colors?.headerBorderColor,
184
- "--el-sidebar-border-color": p?.colors?.sidebarBorderColor
181
+ }, J = ({ title: e, onBack: t, backAriaLabel: n = "Back", actions: r, leftContent: a, rightContent: o, isSaving: c = !1, labels: l, styles: f, dir: p }) => {
182
+ let h = N(), g = c ? l?.savingStatusLabel ?? "Saving" : "", _ = i({
183
+ "--el-header-border-color": f?.colors?.headerBorderColor,
184
+ "--el-sidebar-border-color": f?.colors?.sidebarBorderColor
185
185
  });
186
- return /* @__PURE__ */ w("div", {
187
- dir: m,
188
- className: r("flex min-h-0 flex-1 flex-col", H.layout),
186
+ return /* @__PURE__ */ T("div", {
187
+ dir: p,
188
+ className: s("flex min-h-0 flex-1 flex-col", W.layout),
189
189
  style: _,
190
190
  children: [
191
- /* @__PURE__ */ C("span", {
191
+ /* @__PURE__ */ w("span", {
192
192
  role: "status",
193
193
  "aria-live": "polite",
194
194
  className: "sr-only",
195
195
  id: h,
196
196
  children: g
197
197
  }),
198
- /* @__PURE__ */ w("div", {
199
- className: r("flex items-center justify-between gap-2 border-b px-4 py-2 desktop:px-8 desktop:pb-3 desktop:pt-3", G.headerBorder),
200
- children: [/* @__PURE__ */ w("div", {
198
+ /* @__PURE__ */ T("div", {
199
+ className: s("flex items-center justify-between gap-2 border-b px-4 py-2 desktop:px-8 desktop:pb-3 desktop:pt-3", q.headerBorder),
200
+ children: [/* @__PURE__ */ T("div", {
201
201
  className: "flex min-w-0 flex-1 items-center gap-2",
202
- children: [/* @__PURE__ */ C(u, {
203
- icon: /* @__PURE__ */ C(T, {
204
- size: o.LG,
205
- stroke: s,
202
+ children: [/* @__PURE__ */ w(m, {
203
+ icon: /* @__PURE__ */ w(D, {
204
+ size: u.LG,
205
+ stroke: d,
206
206
  "aria-hidden": !0,
207
207
  className: "rtl:scale-x-[-1]"
208
208
  }),
209
- "aria-label": i,
209
+ "aria-label": n,
210
210
  onClick: t
211
- }), /* @__PURE__ */ C("h1", {
211
+ }), /* @__PURE__ */ w("h1", {
212
212
  className: "dial-h2-text min-w-0 truncate",
213
213
  children: e
214
214
  })]
215
- }), a != null && /* @__PURE__ */ C("div", {
215
+ }), r != null && /* @__PURE__ */ w("div", {
216
216
  className: "hidden shrink-0 items-center gap-2 desktop:flex",
217
- children: a
217
+ children: r
218
218
  })]
219
219
  }),
220
- /* @__PURE__ */ w("div", {
220
+ /* @__PURE__ */ T("div", {
221
221
  className: "flex flex-1 flex-col overflow-y-auto desktop:flex-row desktop:overflow-hidden",
222
- children: [/* @__PURE__ */ C("div", {
223
- className: r(l == null ? "desktop:flex-1" : "desktop:w-[360px] desktop:shrink-0 desktop:overflow-y-auto desktop:border-e", "desktop:overflow-y-auto", l == null ? void 0 : G.sidebarBorder),
224
- children: c
225
- }), l != null && /* @__PURE__ */ C("div", {
222
+ children: [/* @__PURE__ */ w("div", {
223
+ className: s(o == null ? "desktop:flex-1" : "desktop:w-[360px] desktop:shrink-0 desktop:overflow-y-auto desktop:border-e", "desktop:overflow-y-auto", o == null ? void 0 : q.sidebarBorder),
224
+ children: a
225
+ }), o != null && /* @__PURE__ */ w("div", {
226
226
  className: "desktop:flex-1 desktop:overflow-y-auto",
227
- children: l
227
+ children: o
228
228
  })]
229
229
  }),
230
- a != null && /* @__PURE__ */ C("div", {
231
- className: r("flex shrink-0 flex-row-reverse items-center gap-2 border-t px-4 py-2 desktop:hidden [&>*]:flex-1", G.footerBorder),
232
- children: a
230
+ r != null && /* @__PURE__ */ w("div", {
231
+ className: s("flex shrink-0 flex-row-reverse items-center gap-2 border-t px-4 py-2 desktop:hidden [&>*]:flex-1", q.footerBorder),
232
+ children: r
233
233
  })
234
234
  ]
235
235
  });
236
- }, q = {
236
+ }, Y = {
237
237
  box: "_box_c9as8_1",
238
238
  icon: "_icon_c9as8_6",
239
239
  caption: "_caption_c9as8_10"
240
- }, J = ({ label: e, avatarUrl: t, avatarAlt: i = "", addAvatarLabel: a = "Add avatar", captionText: c = "PNG, JPG or SVG (max 1 MB)", onAddAvatarClick: u, styles: d, className: m }) => {
241
- let h = n({
242
- "--aa-box-bg": d?.colors?.boxBackgroundColor,
243
- "--aa-box-border": d?.colors?.boxBorderColor,
244
- "--aa-icon": d?.colors?.placeholderIconColor,
245
- "--aa-caption": d?.colors?.captionColor
240
+ }, X = ({ label: e, avatarUrl: t, avatarAlt: n = "", addAvatarLabel: r = "Add avatar", captionText: a = "PNG, JPG or SVG (max 1 MB)", onAddAvatarClick: o, styles: c, className: l }) => {
241
+ let f = i({
242
+ "--aa-box-bg": c?.colors?.boxBackgroundColor,
243
+ "--aa-box-border": c?.colors?.boxBorderColor,
244
+ "--aa-icon": c?.colors?.placeholderIconColor,
245
+ "--aa-caption": c?.colors?.captionColor
246
246
  });
247
- return /* @__PURE__ */ w("div", {
248
- className: r("flex flex-col gap-2", m),
249
- style: h,
250
- children: [/* @__PURE__ */ C(f, { label: e }), /* @__PURE__ */ w("div", {
247
+ return /* @__PURE__ */ T("div", {
248
+ className: s("flex flex-col gap-2", l),
249
+ style: f,
250
+ children: [/* @__PURE__ */ w(g, { label: e }), /* @__PURE__ */ T("div", {
251
251
  className: "flex items-start gap-3",
252
- children: [/* @__PURE__ */ C("div", {
253
- className: r("flex h-16 w-16 shrink-0 items-center justify-center overflow-hidden rounded-lg border", q.box),
254
- children: t ? /* @__PURE__ */ C("img", {
252
+ children: [/* @__PURE__ */ w("div", {
253
+ className: s("flex h-16 w-16 shrink-0 items-center justify-center overflow-hidden rounded-lg border", Y.box),
254
+ children: t ? /* @__PURE__ */ w("img", {
255
255
  src: t,
256
- alt: i,
256
+ alt: n,
257
257
  className: "h-16 w-16 object-cover"
258
- }) : /* @__PURE__ */ C(E, {
259
- size: o.LG,
260
- stroke: s,
258
+ }) : /* @__PURE__ */ w(O, {
259
+ size: u.LG,
260
+ stroke: d,
261
261
  "aria-hidden": !0,
262
- className: q.icon
262
+ className: Y.icon
263
263
  })
264
- }), /* @__PURE__ */ w("div", {
264
+ }), /* @__PURE__ */ T("div", {
265
265
  className: "flex flex-col gap-3",
266
- children: [/* @__PURE__ */ C(p, {
267
- size: l.Small,
268
- iconBefore: /* @__PURE__ */ C(D, {
269
- size: o.SM,
270
- stroke: s,
266
+ children: [/* @__PURE__ */ w(_, {
267
+ size: p.Small,
268
+ iconBefore: /* @__PURE__ */ w(k, {
269
+ size: u.SM,
270
+ stroke: d,
271
271
  "aria-hidden": !0
272
272
  }),
273
273
  className: "w-fit",
274
- label: a,
275
- onClick: u
276
- }), /* @__PURE__ */ C("span", {
277
- className: r("dial-tiny-text", q.caption),
278
- children: c
274
+ label: r,
275
+ onClick: o
276
+ }), /* @__PURE__ */ w("span", {
277
+ className: s("dial-tiny-text", Y.caption),
278
+ children: a
279
279
  })]
280
280
  })]
281
281
  })]
282
282
  });
283
- }, Y = ({ isOpen: e, onClose: t, onAttach: n, bucket: r, FileManagerModal: i, allowedMimeTypes: a, maxFileSizeBytes: o, labels: s }) => {
284
- let c = k((e) => e.length === 1 ? s.deleteConfirmTitleSingle : s.deleteConfirmTitleMultiple, [s.deleteConfirmTitleSingle, s.deleteConfirmTitleMultiple]), l = k((e) => /* @__PURE__ */ C("div", {
283
+ }, ie = ({ isOpen: e, onClose: t, onAttach: n, bucket: r, FileManagerModal: i, allowedMimeTypes: a, maxFileSizeBytes: o, labels: s }) => {
284
+ let c = j((e) => e.length === 1 ? s.deleteConfirmTitleSingle : s.deleteConfirmTitleMultiple, [s.deleteConfirmTitleSingle, s.deleteConfirmTitleMultiple]), l = j((e) => /* @__PURE__ */ w("div", {
285
285
  className: "dial-small-text px-6 py-3",
286
- children: /* @__PURE__ */ C("p", {
286
+ children: /* @__PURE__ */ w("p", {
287
287
  className: "mb-3 text-secondary",
288
- children: e.length === 1 ? /* @__PURE__ */ w(S, { children: [
288
+ children: e.length === 1 ? /* @__PURE__ */ T(C, { children: [
289
289
  s.deleteConfirmSingleText,
290
290
  " ",
291
- /* @__PURE__ */ w("span", {
291
+ /* @__PURE__ */ T("span", {
292
292
  className: "break-words text-primary",
293
293
  children: [
294
294
  "\"",
@@ -296,10 +296,10 @@ var P = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
296
296
  "\"?"
297
297
  ]
298
298
  })
299
- ] }) : /* @__PURE__ */ w(S, { children: [
299
+ ] }) : /* @__PURE__ */ T(C, { children: [
300
300
  s.deleteConfirmMultipleText,
301
301
  " ",
302
- /* @__PURE__ */ w("span", {
302
+ /* @__PURE__ */ T("span", {
303
303
  className: "text-primary",
304
304
  children: [
305
305
  e.length,
@@ -314,9 +314,9 @@ var P = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
314
314
  s.deleteConfirmMultipleText,
315
315
  s.deleteConfirmItemsLabel
316
316
  ]);
317
- return /* @__PURE__ */ C(O, {
317
+ return /* @__PURE__ */ w(A, {
318
318
  fallback: null,
319
- children: e && /* @__PURE__ */ C(i, {
319
+ children: e && /* @__PURE__ */ w(i, {
320
320
  isOpen: e,
321
321
  onClose: t,
322
322
  onAttach: n,
@@ -349,234 +349,236 @@ var P = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
349
349
  cancelLabel: s.cancelLabel
350
350
  })
351
351
  });
352
- }, X = (e, t, n) => ({
352
+ }, Z = (e, t, n) => ({
353
353
  id: e,
354
354
  language: n.find((e) => !t.has(e.code))?.code ?? "",
355
355
  name: "",
356
356
  description: ""
357
- }), Z = ({ value: t, onChange: n, availableLocaleOptions: u = [], labels: f, className: m, summaryClassName: g = "dial-body-text text-secondary", rowLabelClassName: v = "dial-tiny-lead-text text-secondary" }) => {
358
- let { summaryLabel: y, addLabel: S, editLabel: ee, popupTitle: T, addLocaleLabel: E, localeRowLabel: O = "Locale", languageLabel: k, nameLabel: j, namePlaceholder: P, descriptionLabel: F, descriptionPlaceholder: I, deleteAriaLabel: L, cancelLabel: R = "Cancel", saveLabel: z = "Save" } = f, [B, V] = N(!1), [H, U] = N([]), W = M(0);
359
- A(() => {
360
- B && U(t.length > 0 ? t : [X(`locale-row-${++W.current}`, /* @__PURE__ */ new Set(), u)]);
357
+ }), Q = ({ value: e, onChange: t, availableLocaleOptions: r = [], labels: i, className: a, summaryClassName: o = "dial-body-text text-secondary", rowLabelClassName: m = "dial-tiny-lead-text text-secondary" }) => {
358
+ let { summaryLabel: g, addLabel: v, editLabel: y, popupTitle: b, addLocaleLabel: x, localeRowLabel: C = "Locale", languageLabel: E, nameLabel: D, namePlaceholder: O, descriptionLabel: A, descriptionPlaceholder: j, deleteAriaLabel: N, cancelLabel: I = "Cancel", saveLabel: L = "Save" } = i, [R, z] = F(!1), [B, V] = F([]), H = P(0);
359
+ M(() => {
360
+ R && V(e.length > 0 ? e : [Z(`locale-row-${++H.current}`, /* @__PURE__ */ new Set(), r)]);
361
361
  }, [
362
- B,
363
- t,
364
- u
362
+ R,
363
+ e,
364
+ r
365
365
  ]);
366
- let G = () => V(!0), K = () => V(!1), q = () => {
367
- n(H.filter((e) => e.language && e.name)), V(!1);
368
- }, J = () => {
369
- let e = new Set(H.map((e) => e.language).filter(Boolean));
370
- U((t) => [...t, X(`locale-row-${++W.current}`, e, u)]);
371
- }, Y = (e, t) => {
372
- U((n) => n.map((n) => n.id === e ? {
366
+ let U = () => z(!0), W = () => z(!1), G = () => {
367
+ t(B.filter((e) => e.language && e.name)), z(!1);
368
+ }, K = () => {
369
+ let e = new Set(B.map((e) => e.language).filter(Boolean));
370
+ V((t) => [...t, Z(`locale-row-${++H.current}`, e, r)]);
371
+ }, q = (e, t) => {
372
+ V((n) => n.map((n) => n.id === e ? {
373
373
  ...n,
374
374
  ...t
375
375
  } : n));
376
- }, Z = (e) => {
377
- U((t) => t.filter((t) => t.id !== e));
378
- }, Q = (e) => u.find((t) => t.code === e)?.label ?? e.toUpperCase(), $ = H.some((e) => !e.language || !e.name);
379
- return u.length === 0 ? null : /* @__PURE__ */ w("div", {
380
- className: r("flex items-center gap-2", m),
376
+ }, J = (e) => {
377
+ V((t) => t.filter((t) => t.id !== e));
378
+ }, Y = (e) => r.find((t) => t.code === e)?.label ?? e.toUpperCase(), X = B.some((e) => !e.language || !e.name);
379
+ return r.length === 0 ? null : /* @__PURE__ */ T("div", {
380
+ className: s("flex items-center gap-2", a),
381
381
  children: [
382
- t.length > 0 && /* @__PURE__ */ C("span", {
383
- className: g,
384
- children: `${y}: ${t.map((e) => `[${Q(e.language)}]`).join(", ")}`
382
+ e.length > 0 && /* @__PURE__ */ w("span", {
383
+ className: o,
384
+ children: `${g}: ${e.map((e) => `[${Y(e.language)}]`).join(", ")}`
385
385
  }),
386
- /* @__PURE__ */ C(p, {
387
- label: t.length > 0 ? ee : S,
388
- iconBefore: /* @__PURE__ */ C(D, {
389
- size: o.SM,
386
+ /* @__PURE__ */ w(_, {
387
+ label: e.length > 0 ? y : v,
388
+ iconBefore: /* @__PURE__ */ w(k, {
389
+ size: u.SM,
390
390
  "aria-hidden": !0,
391
- stroke: s
391
+ stroke: d
392
392
  }),
393
393
  className: "!px-0",
394
- onClick: G
394
+ onClick: U
395
395
  }),
396
- /* @__PURE__ */ C(h, {
397
- open: B,
398
- header: T,
399
- onClose: K,
396
+ /* @__PURE__ */ w(ee, {
397
+ open: R,
398
+ header: b,
399
+ onClose: W,
400
400
  mainButtons: [{
401
- label: R,
402
- onClick: K
401
+ label: I,
402
+ onClick: W
403
403
  }, {
404
- label: z,
405
- variant: a.Primary,
406
- disabled: $,
407
- onClick: q
404
+ label: L,
405
+ variant: l.Primary,
406
+ disabled: X,
407
+ onClick: G
408
408
  }],
409
- children: /* @__PURE__ */ w("div", {
409
+ children: /* @__PURE__ */ T("div", {
410
410
  className: "flex flex-col gap-8 px-6 py-3",
411
- children: [H.map((t, n) => {
412
- let r = new Set(H.filter((e) => e.id !== t.id).map((e) => e.language).filter(Boolean));
413
- return /* @__PURE__ */ w("div", {
411
+ children: [B.map((e, t) => {
412
+ let i = new Set(B.filter((t) => t.id !== e.id).map((e) => e.language).filter(Boolean));
413
+ return /* @__PURE__ */ T("div", {
414
414
  className: "flex flex-col gap-2",
415
- children: [/* @__PURE__ */ w("div", {
415
+ children: [/* @__PURE__ */ T("div", {
416
416
  className: "flex items-center justify-between",
417
- children: [/* @__PURE__ */ w("span", {
418
- className: v,
417
+ children: [/* @__PURE__ */ T("span", {
418
+ className: m,
419
419
  children: [
420
- O,
420
+ C,
421
421
  " ",
422
- n + 1
422
+ t + 1
423
423
  ]
424
- }), /* @__PURE__ */ C(c, {
425
- appearance: i.Ghost,
426
- size: l.Small,
427
- icon: /* @__PURE__ */ C(te, {
428
- size: o.SM,
424
+ }), /* @__PURE__ */ w(f, {
425
+ appearance: c.Ghost,
426
+ size: p.Small,
427
+ icon: /* @__PURE__ */ w(re, {
428
+ size: u.SM,
429
429
  "aria-hidden": !0,
430
- stroke: s
430
+ stroke: d
431
431
  }),
432
- "aria-label": `${L} ${n + 1}`,
433
- onClick: () => Z(t.id)
432
+ "aria-label": `${N} ${t + 1}`,
433
+ onClick: () => J(e.id)
434
434
  })]
435
- }), /* @__PURE__ */ w("div", {
435
+ }), /* @__PURE__ */ T("div", {
436
436
  role: "group",
437
- "aria-label": `${O} ${n + 1}`,
437
+ "aria-label": `${C} ${t + 1}`,
438
438
  className: "flex flex-col gap-5",
439
- children: [/* @__PURE__ */ w("div", {
439
+ children: [/* @__PURE__ */ T("div", {
440
440
  className: "flex flex-col gap-5 desktop:flex-row desktop:items-start",
441
- children: [/* @__PURE__ */ C(_, {
442
- id: `${t.id}-language`,
441
+ children: [/* @__PURE__ */ w(te, {
442
+ id: `${e.id}-language`,
443
443
  labelProps: {
444
- label: k,
444
+ label: E,
445
445
  required: !0
446
446
  },
447
447
  className: "desktop:shrink-0 desktop:basis-40",
448
- options: u.map((e) => ({
448
+ options: r.map((e) => ({
449
449
  value: e.code,
450
450
  label: e.label,
451
- disabled: r.has(e.code)
451
+ disabled: i.has(e.code)
452
452
  })),
453
- value: t.language,
454
- onChange: (e) => Y(t.id, { language: e })
455
- }), /* @__PURE__ */ C(d, {
456
- id: `${t.id}-name`,
453
+ value: e.language,
454
+ onChange: (t) => q(e.id, { language: t })
455
+ }), /* @__PURE__ */ w(h, {
456
+ id: `${e.id}-name`,
457
457
  containerClassName: "min-w-0 flex-1",
458
458
  required: !0,
459
- value: t.name,
460
- onChange: (e) => Y(t.id, { name: e ?? "" }),
459
+ value: e.name,
460
+ onChange: (t) => q(e.id, { name: t ?? "" }),
461
461
  labelProps: {
462
- label: j,
462
+ label: D,
463
463
  required: !0
464
464
  },
465
- placeholder: P
465
+ placeholder: O
466
466
  })]
467
- }), /* @__PURE__ */ C(b, {
468
- id: `${t.id}-description`,
469
- className: e,
470
- resize: x.Vertical,
471
- value: t.description,
472
- onChange: (e) => Y(t.id, { description: e }),
473
- labelProps: { label: F },
474
- placeholder: I
467
+ }), /* @__PURE__ */ w(ne, {
468
+ id: `${e.id}-description`,
469
+ className: n,
470
+ resize: S.Vertical,
471
+ value: e.description,
472
+ onChange: (t) => q(e.id, { description: t }),
473
+ labelProps: { label: A },
474
+ placeholder: j
475
475
  })]
476
476
  })]
477
- }, t.id);
478
- }), /* @__PURE__ */ C(p, {
479
- label: E,
480
- iconBefore: /* @__PURE__ */ C(D, {
481
- size: o.SM,
477
+ }, e.id);
478
+ }), /* @__PURE__ */ w(_, {
479
+ label: x,
480
+ iconBefore: /* @__PURE__ */ w(k, {
481
+ size: u.SM,
482
482
  "aria-hidden": !0,
483
- stroke: s
483
+ stroke: d
484
484
  }),
485
485
  className: "self-start",
486
- onClick: J,
487
- disabled: H.length >= u.length
486
+ onClick: K,
487
+ disabled: B.length >= r.length
488
488
  })]
489
489
  })
490
490
  })
491
491
  ]
492
492
  });
493
- }, Q = ({ values: n, errors: i, onChange: a, onNameBlur: o, onVersionBlur: s, iconPreviewUrl: c, onAddAvatarClick: l, labels: u, styles: f, availableLocaleOptions: p = [] }) => {
494
- let m = M(null), h = M(null), g = M(!1), _ = !!(i.name || i.version);
495
- return A(() => {
496
- _ && !g.current && (i.name ? m : h).current?.focus(), g.current = _;
493
+ }, ae = ({ values: e, errors: t, onChange: i, onNameBlur: a, onVersionBlur: o, iconPreviewUrl: c, onAddAvatarClick: l, labels: u, styles: d, availableLocaleOptions: f = [] }) => {
494
+ let p = P(null), m = P(null), g = P(!1), _ = !!(t.name || t.version);
495
+ return M(() => {
496
+ _ && !g.current && (t.name ? p : m).current?.focus(), g.current = _;
497
497
  }, [
498
498
  _,
499
- i.name,
500
- i.version
501
- ]), /* @__PURE__ */ w("div", {
499
+ t.name,
500
+ t.version
501
+ ]), /* @__PURE__ */ T("div", {
502
502
  role: u.ariaLabel ? "group" : void 0,
503
503
  "aria-label": u.ariaLabel,
504
- className: r("flex flex-col gap-4", f?.root),
504
+ className: s("flex flex-col gap-4", d?.root),
505
505
  children: [
506
- /* @__PURE__ */ C(J, {
506
+ /* @__PURE__ */ w(X, {
507
507
  label: u.iconUrl.label,
508
508
  avatarUrl: c,
509
509
  addAvatarLabel: u.iconUrl.addAvatarLabel,
510
510
  captionText: u.iconUrl.captionText,
511
511
  onAddAvatarClick: l,
512
- className: f?.field
512
+ className: d?.field
513
513
  }),
514
- /* @__PURE__ */ w("div", {
515
- className: r("flex items-start gap-4", f?.field),
516
- children: [/* @__PURE__ */ C(d, {
514
+ /* @__PURE__ */ T("div", {
515
+ className: s("flex items-start gap-4", d?.field),
516
+ children: [/* @__PURE__ */ w(h, {
517
517
  id: "deployment-creation-form-name",
518
- inputRef: m,
519
- value: n.name,
520
- onChange: (e) => a({ name: e ?? "" }),
521
- onBlur: o,
518
+ inputRef: p,
519
+ value: e.name,
520
+ onChange: (e) => i({ name: e ?? "" }),
521
+ onBlur: a,
522
522
  labelProps: {
523
523
  label: u.name.label,
524
524
  required: !0
525
525
  },
526
526
  placeholder: u.name.placeholder,
527
- error: i.name || void 0,
528
- invalid: !!i.name,
527
+ error: t.name || void 0,
528
+ invalid: !!t.name,
529
529
  containerClassName: "min-w-0 basis-0 grow-[2]"
530
- }), /* @__PURE__ */ C(d, {
530
+ }), /* @__PURE__ */ w(h, {
531
531
  id: "deployment-creation-form-version",
532
- inputRef: h,
533
- value: n.version,
534
- onChange: (e) => a({ version: e ?? "" }),
535
- onBlur: s,
532
+ inputRef: m,
533
+ value: e.version,
534
+ onChange: (e) => i({ version: e ?? "" }),
535
+ onBlur: o,
536
536
  labelProps: { label: u.version.label },
537
537
  placeholder: u.version.placeholder,
538
- error: i.version || void 0,
539
- invalid: !!i.version,
538
+ error: t.version || void 0,
539
+ invalid: !!t.version,
540
540
  containerClassName: "min-w-0 basis-0 grow-[1]"
541
541
  })]
542
542
  }),
543
- /* @__PURE__ */ C(b, {
543
+ /* @__PURE__ */ w(ne, {
544
544
  id: "deployment-creation-form-description",
545
- value: n.description,
546
- onChange: (e) => a({ description: e }),
545
+ value: e.description,
546
+ onChange: (e) => i({ description: e }),
547
547
  labelProps: { label: u.description.label },
548
548
  placeholder: u.description.placeholder,
549
- containerClassName: f?.field,
550
- className: e,
551
- resize: x.Vertical
549
+ error: t.description || void 0,
550
+ invalid: !!t.description,
551
+ containerClassName: d?.field,
552
+ className: n,
553
+ resize: S.Vertical
552
554
  }),
553
- /* @__PURE__ */ C(Z, {
554
- value: n.otherLocales,
555
- onChange: (e) => a({ otherLocales: e }),
556
- availableLocaleOptions: p,
555
+ /* @__PURE__ */ w(Q, {
556
+ value: e.otherLocales,
557
+ onChange: (e) => i({ otherLocales: e }),
558
+ availableLocaleOptions: f,
557
559
  labels: u.otherLocales,
558
- className: f?.field
560
+ className: d?.field
559
561
  }),
560
- /* @__PURE__ */ C("div", {
561
- className: f?.field,
562
- children: /* @__PURE__ */ C(y, {
562
+ /* @__PURE__ */ w("div", {
563
+ className: d?.field,
564
+ children: /* @__PURE__ */ w(x, {
563
565
  id: "deployment-creation-form-topics",
564
566
  labelProps: { label: u.topics.label },
565
567
  placeholder: u.topics.placeholder,
566
- value: n.topics,
567
- onChange: (e) => a({ topics: e }),
568
- tagClassName: t
568
+ value: e.topics,
569
+ onChange: (e) => i({ topics: e }),
570
+ tagClassName: r
569
571
  })
570
572
  })
571
573
  ]
572
574
  });
573
575
  }, $ = /* @__PURE__ */ function(e) {
574
- return e.Required = "required", e.InvalidFormat = "invalid-format", e.TooLong = "too-long", e;
575
- }({}), ne = /^[a-zA-Z0-9 _.-]+$/, re = /^[a-zA-Z0-9._-]+$/, ie = /^\d+(\.\d+)*$/, ae = (e, t = {}) => {
576
- let n = {}, r = e.name.trim();
577
- r ? t.validateNamePattern && !ne.test(r) && (n.name = $.InvalidFormat) : n.name = $.Required;
578
- let i = e.version.trim();
579
- return t.validateVersionPattern && i && ((t.validateVersionPattern instanceof RegExp ? t.validateVersionPattern : re).test(i) || (n.version = $.InvalidFormat)), n;
576
+ return e.Required = "required", e.InvalidFormat = "invalid-format", e.TooLong = "too-long", e.ControlCharacters = "control-characters", e;
577
+ }({}), oe = /^[a-zA-Z0-9 _.-]+$/, se = /^[a-zA-Z0-9._-]+$/, ce = /^\d+(\.\d+)*$/, le = (n, r = {}) => {
578
+ let i = {}, s = n.name.trim();
579
+ s ? a(s, t) ? i.name = $.TooLong : r.validateNamePattern && !oe.test(s) ? i.name = $.InvalidFormat : o(s) && (i.name = $.ControlCharacters) : i.name = $.Required, a(n.description, e) && (i.description = $.TooLong);
580
+ let c = n.version.trim();
581
+ return r.validateVersionPattern && c && ((r.validateVersionPattern instanceof RegExp ? r.validateVersionPattern : se).test(c) || (i.version = $.InvalidFormat)), i;
580
582
  };
581
583
  //#endregion
582
- export { J as AddAvatar, Y as AvatarPickerModal, H as BUILDER_FORM_CLASS, V as BuilderFormContainer, $ as DeploymentCreationFieldErrorCode, Q as DeploymentCreationForm, Z as DeploymentLocalesField, K as EditorLayout, W as EditorSection, ne as NAME_PATTERN, ie as SEMVER_VERSION_PATTERN, re as VERSION_PATTERN, ae as validateDeploymentCreationFields };
584
+ export { X as AddAvatar, ie as AvatarPickerModal, W as BUILDER_FORM_CLASS, U as BuilderFormContainer, $ as DeploymentCreationFieldErrorCode, ae as DeploymentCreationForm, Q as DeploymentLocalesField, J as EditorLayout, K as EditorSection, oe as NAME_PATTERN, ce as SEMVER_VERSION_PATTERN, se as VERSION_PATTERN, le as validateDeploymentCreationFields };
@@ -20,7 +20,7 @@ export interface AvatarPickerModalLabels {
20
20
  showHiddenFilesLabel: string;
21
21
  /** Label for the action that hides hidden files again. */
22
22
  hideHiddenFilesLabel: string;
23
- /** Returns the selection-count summary text for the given count. */
23
+ /** Returns the text shown after the selection-count badge; the file manager renders the count itself, so omit it (e.g. "items selected"). */
24
24
  getSelectionLabel: (count: number) => string;
25
25
  /** Label for the upload-files action. */
26
26
  uploadFilesLabel: string;
@@ -85,7 +85,7 @@ export interface AvatarPickerFileManagerModalProps {
85
85
  showHiddenFilesLabel: string;
86
86
  /** Label for the action that hides hidden files again. */
87
87
  hideHiddenFilesLabel: string;
88
- /** Returns the selection-count summary text for the given count. */
88
+ /** Returns the text shown after the selection-count badge; the file manager renders the count itself, so omit it (e.g. "items selected"). */
89
89
  getSelectionLabel: (count: number) => string;
90
90
  /** Label for the upload-files action. */
91
91
  uploadFilesLabel: string;
@@ -1 +1 @@
1
- {"version":3,"file":"avatar-picker-modal.d.ts","sourceRoot":"","sources":["../../src/models/avatar-picker-modal.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEtD,+EAA+E;AAC/E,MAAM,WAAW,uBAAuB;IACtC,mBAAmB;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,2CAA2C;IAC3C,WAAW,EAAE,MAAM,CAAC;IACpB,wDAAwD;IACxD,UAAU,EAAE,MAAM,CAAC;IACnB,8DAA8D;IAC9D,gBAAgB,EAAE,MAAM,CAAC;IACzB,6CAA6C;IAC7C,YAAY,EAAE,MAAM,CAAC;IACrB,8CAA8C;IAC9C,UAAU,EAAE,MAAM,CAAC;IACnB,6CAA6C;IAC7C,gBAAgB,EAAE,MAAM,CAAC;IACzB,sDAAsD;IACtD,oBAAoB,EAAE,MAAM,CAAC;IAC7B,0DAA0D;IAC1D,oBAAoB,EAAE,MAAM,CAAC;IAC7B,oEAAoE;IACpE,iBAAiB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;IAC7C,yCAAyC;IACzC,gBAAgB,EAAE,MAAM,CAAC;IACzB,uCAAuC;IACvC,cAAc,EAAE,MAAM,CAAC;IACvB,qCAAqC;IACrC,aAAa,EAAE,MAAM,CAAC;IACtB,mDAAmD;IACnD,gBAAgB,EAA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AAC;CACjC"}
@@ -37,6 +37,8 @@ export interface DeploymentCreationFormFieldErrors {
37
37
  name?: string;
38
38
  /** Error message for the version field. */
39
39
  version?: string;
40
+ /** Error message for the description field. */
41
+ description?: string;
40
42
  }
41
43
  /** Label and placeholder text for a single field, supplied by the host app. */
42
44
  export interface DeploymentCreationFormFieldLabels {
@@ -1 +1 @@
1
- {"version":3,"file":"deployment-creation-form.d.ts","sourceRoot":"","sources":["../../src/models/deployment-creation-form.ts"],"names":[],"mappings":"AAAA,6GAA6G;AAC7G,MAAM,WAAW,iCAAiC;IAChD,sFAAsF;IACtF,EAAE,EAAE,MAAM,CAAC;IACX,4DAA4D;IAC5D,QAAQ,EAAE,MAAM,CAAC;IACjB,uCAAuC;IACvC,IAAI,EAAE,MAAM,CAAC;IACb,8CAA8C;IAC9C,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,iEAAiE;AACjE,MAAM,WAAW,kCAAkC;IACjD,iCAAiC;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,kDAAkD;IAClD,KAAK,EAAE,MAAM,CAAC;CACf;AAED,4EAA4E;AAC5E,MAAM,WAAW,4BAA4B;IAC3C,gDAAgD;IAChD,IAAI,EAAE,MAAM,CAAC;IACb,2CAA2C;IAC3C,WAAW,EAAE,MAAM,CAAC;IACpB,qGAAqG;IACrG,OAAO,EAAE,MAAM,CAAC;IAChB,uCAAuC;IACvC,OAAO,EAAE,MAAM,CAAC;IAChB,6BAA6B;IAC7B,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,uGAAuG;IACvG,YAAY,EAAE,iCAAiC,EAAE,CAAC;CACnD;AAED,kEAAkE;AAClE,MAAM,WAAW,iCAAiC;IAChD,wCAAwC;IACxC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,2CAA2C;IAC3C,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,+EAA+E;AAC/E,MAAM,WAAW,iCAAiC;IAChD,wBAAwB;IACxB,KAAK,EAAE,MAAM,CAAC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,+DAA+D;IAC/D,YAAY,EAAE,kCAAkC,CAAC;IACjD,+CAA+C;IAC/C,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,qFAAqF;AACrF,MAAM,WAAW,4BAA4B;IAC3C,8EAA8E;IAC9E,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,sDAAsD;IACtD,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,gEAAgE;AAChE,MAAM,WAAW,2BAA2B;IAC1C,qEAAqE;IACrE,MAAM,EAAE,4BAA4B,CAAC;IACrC,yEAAyE;IACzE,MAAM,EAAE,iCAAiC,CAAC;IAC1C,kEAAkE;IAClE,QAAQ,EAAE,CAAC,KAAK,EAAE,OAAO,CAAC,4BAA4B,CAAC,KAAK,IAAI,CAAC;IACjE,sFAAsF;IACtF,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,yFAAyF;IACzF,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,qJAAqJ;IACrJ,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,0DAA0D;IAC1D,MAAM,EAAE,4BAA4B,CAAC;IACrC,8CAA8C;IAC9C,MAAM,CAAC,EAAE,4BAA4B,CAAC;IACtC,8GAA8G;IAC9G,sBAAsB,CAAC,EAAE,kCAAkC,EAAE,CAAC;CAC/D"}
1
+ {"version":3,"file":"deployment-creation-form.d.ts","sourceRoot":"","sources":["../../src/models/deployment-creation-form.ts"],"names":[],"mappings":"AAAA,6GAA6G;AAC7G,MAAM,WAAW,iCAAiC;IAChD,sFAAsF;IACtF,EAAE,EAAE,MAAM,CAAC;IACX,4DAA4D;IAC5D,QAAQ,EAAE,MAAM,CAAC;IACjB,uCAAuC;IACvC,IAAI,EAAE,MAAM,CAAC;IACb,8CAA8C;IAC9C,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,iEAAiE;AACjE,MAAM,WAAW,kCAAkC;IAC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AI,CAAC;IACxB,yFAAyF;IACzF,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,qJAAqJ;IACrJ,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,0DAA0D;IAC1D,MAAM,EAAE,4BAA4B,CAAC;IACrC,8CAA8C;IAC9C,MAAM,CAAC,EAAE,4BAA4B,CAAC;IACtC,8GAA8G;IAC9G,sBAAsB,CAAC,EAAE,kCAAkC,EAAE,CAAC;CAC/D"}
@@ -5,7 +5,9 @@ export declare enum DeploymentCreationFieldErrorCode {
5
5
  /** The field's value does not match the required character pattern. */
6
6
  InvalidFormat = "invalid-format",
7
7
  /** The field's value exceeds its maximum length. */
8
- TooLong = "too-long"
8
+ TooLong = "too-long",
9
+ /** The name contains a control character (line break, tab, …). */
10
+ ControlCharacters = "control-characters"
9
11
  }
10
12
  /** Untranslated error codes returned by `validateDeploymentCreationFields`. */
11
13
  export interface DeploymentCreationFormErrorCodes {
@@ -13,6 +15,8 @@ export interface DeploymentCreationFormErrorCodes {
13
15
  name?: DeploymentCreationFieldErrorCode;
14
16
  /** Error code for the version field, if invalid. */
15
17
  version?: DeploymentCreationFieldErrorCode;
18
+ /** Error code for the description field, if invalid. */
19
+ description?: DeploymentCreationFieldErrorCode;
16
20
  }
17
21
  /** Optional pattern-check toggles for field validation. */
18
22
  export interface DeploymentCreationFormValidationOptions {
@@ -1 +1 @@
1
- {"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../src/models/validation.ts"],"names":[],"mappings":"AAAA,gGAAgG;AAChG,oBAAY,gCAAgC;IAC1C,gDAAgD;IAChD,QAAQ,aAAa;IACrB,uEAAuE;IACvE,aAAa,mBAAmB;IAChC,oDAAoD;IACpD,OAAO,aAAa;CACrB;AAED,+EAA+E;AAC/E,MAAM,WAAW,gCAAgC;IAC/C,iDAAiD;IACjD,IAAI,CAAC,EAAE,gCAAgC,CAAC;IACxC,oDAAoD;IACpD,OAAO,CAAC,EAAE,gCAAgC,CAAC;CAC5C;AAED,2DAA2D;AAC3D,MAAM,WAAW,uCAAuC;IACtD,6EAA6E;IAC7E,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;;;;OAKG;IACH,sBAAsB,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;CAC3C"}
1
+ {"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../src/models/validation.ts"],"names":[],"mappings":"AAAA,gGAAgG;AAChG,oBAAY,gCAAgC;IAC1C,gDAAgD;IAChD,QAAQ,aAAa;IACrB,uEAAuE;IACvE,aAAa,mBAAmB;IAChC,oDAAoD;IACpD,OAAO,aAAa;IACpB,kEAAkE;IAClE,iBAAiB,uBAAuB;CACzC;AAED,+EAA+E;AAC/E,MAAM,WAAW,gCAAgC;IAC/C,iDAAiD;IACjD,IAAI,CAAC,EAAE,gCAAgC,CAAC;IACxC,oDAAoD;IACpD,OAAO,CAAC,EAAE,gCAAgC,CAAC;IAC3C,wDAAwD;IACxD,WAAW,CAAC,EAAE,gCAAgC,CAAC;CAChD;AAED,2DAA2D;AAC3D,MAAM,WAAW,uCAAuC;IACtD,6EAA6E;IAC7E,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;;;;OAKG;IACH,sBAAsB,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;CAC3C"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@epam/ai-dial-builder-form",
3
3
  "description": "Presentational builder form shells, editor layouts, and shared deployment field sets for composing and editing DIAL entities",
4
- "version": "1.2.0-dev.163",
4
+ "version": "1.2.0-dev.170",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
7
7
  "main": "./index.js",
@@ -20,7 +20,7 @@
20
20
  "@tabler/icons-react": "^3.44.0"
21
21
  },
22
22
  "peerDependencies": {
23
- "@epam/ai-dial-chat-shared": "1.2.0-dev.163",
23
+ "@epam/ai-dial-chat-shared": "1.2.0-dev.170",
24
24
  "@epam/ai-dial-ui-kit": "^0.15.0-dev.20",
25
25
  "react": "^19.2.8"
26
26
  },
@@ -1 +1 @@
1
- {"version":3,"file":"validate-deployment-creation-fields.d.ts","sourceRoot":"","sources":["../../src/utils/validate-deployment-creation-fields.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,oCAAoC,CAAC;AACvF,OAAO,KAAK,EACV,gCAAgC,EAChC,uCAAuC,EACxC,MAAM,sBAAsB,CAAC;AAG9B,iGAAiG;AACjG,eAAO,MAAM,YAAY,QAAuB,CAAC;AAEjD,4FAA4F;AAC5F,eAAO,MAAM,eAAe,QAAsB,CAAC;AAEnD,yFAAyF;AACzF,eAAO,MAAM,sBAAsB,QAAkB,CAAC;AAEtD,mGAAmG;AACnG,eAAO,MAAM,gCAAgC,GAC3C,QAAQ,4BAA4B,EACpC,UAAS,uCAA4C,KACpD,gCAsBF,CAAC"}
1
+ {"version":3,"file":"validate-deployment-creation-fields.d.ts","sourceRoot":"","sources":["../../src/utils/validate-deployment-creation-fields.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,oCAAoC,CAAC;AACvF,OAAO,KAAK,EACV,gCAAgC,EAChC,uCAAuC,EACxC,MAAM,sBAAsB,CAAC;AAG9B,iGAAiG;AACjG,eAAO,MAAM,YAAY,QAAuB,CAAC;AAEjD,4FAA4F;AAC5F,eAAO,MAAM,eAAe,QAAsB,CAAC;AAEnD,yFAAyF;AACzF,eAAO,MAAM,sBAAsB,QAAkB,CAAC;AAEtD,mGAAmG;AACnG,eAAO,MAAM,gCAAgC,GAC3C,QAAQ,4BAA4B,EACpC,UAAS,uCAA4C,KACpD,gCA8BF,CAAC"}