@epam/ai-dial-builder-form 1.3.0-dev.35 → 1.3.0-dev.45
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/components/DeploymentCreationForm/DeploymentCreationForm.d.ts.map +1 -1
- package/components/MetadataForm/MetadataForm.d.ts.map +1 -1
- package/index.js +148 -144
- package/models/deployment-creation-form.d.ts +4 -0
- package/models/deployment-creation-form.d.ts.map +1 -1
- package/models/metadata-form-props.d.ts +4 -0
- package/models/metadata-form-props.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -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;AAWzF;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,EAAE,EAAE,CAAC,2BAA2B,
|
|
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;AAWzF;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,EAAE,EAAE,CAAC,2BAA2B,CAiMlE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MetadataForm.d.ts","sourceRoot":"","sources":["../../../src/components/MetadataForm/MetadataForm.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;
|
|
1
|
+
{"version":3,"file":"MetadataForm.d.ts","sourceRoot":"","sources":["../../../src/components/MetadataForm/MetadataForm.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAmG1E,yFAAyF;AACzF,eAAO,MAAM,YAAY,yDAA8B,CAAC"}
|
package/index.js
CHANGED
|
@@ -2,9 +2,9 @@ import { ENTITY_DESCRIPTION_MAX_LENGTH as e, ENTITY_NAME_MAX_LENGTH as t, RESIZA
|
|
|
2
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, GhostButton as m, GhostIconButton as h, Input as g, Label as _, LinkButton as v, NeutralButton as y, Popup as b, PrimaryButton as x, Select as S, Spinner as C, TagInput as w, Textarea as T, TextareaResize as E } from "@epam/ai-dial-ui-kit";
|
|
3
3
|
import { Fragment as D, jsx as O, jsxs as k } from "react/jsx-runtime";
|
|
4
4
|
import { IconArrowLeft as A, IconArrowNarrowLeft as j, IconPhoto as M, IconPlus as N, IconTrashX as P } from "@tabler/icons-react";
|
|
5
|
-
import { Suspense as
|
|
5
|
+
import { Suspense as F, memo as I, useCallback as L, useEffect as ee, useId as te, useLayoutEffect as R, useMemo as z, useRef as B, useState as V } from "react";
|
|
6
6
|
//#region src/components/BuilderFormActions/BuilderFormActions.tsx
|
|
7
|
-
var
|
|
7
|
+
var H = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubmitDisabled: i = !1, isSubmitting: a = !1, buttonClassName: o }) => /* @__PURE__ */ k(D, { children: [/* @__PURE__ */ O(y, {
|
|
8
8
|
label: e.cancelButtonLabel,
|
|
9
9
|
onClick: t,
|
|
10
10
|
disabled: r,
|
|
@@ -19,18 +19,18 @@ var V = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
19
19
|
"aria-hidden": !0,
|
|
20
20
|
children: /* @__PURE__ */ O(C, { size: u.SM })
|
|
21
21
|
}) : void 0
|
|
22
|
-
})] }),
|
|
22
|
+
})] }), U = {
|
|
23
23
|
body: "_body_1xd7h_2",
|
|
24
24
|
sideColumn: "_sideColumn_1xd7h_6",
|
|
25
25
|
reservedColumn: "_reservedColumn_1xd7h_10"
|
|
26
|
-
},
|
|
26
|
+
}, W = s("flex flex-col desktop:min-h-0 desktop:overflow-y-auto", U.sideColumn), ne = ({ left: e, children: t, metadata: n, layout: r }) => {
|
|
27
27
|
let i = e != null && n == null && r?.reserveEndColumn !== !1, a = r ? { "--bfb-side-column-width": r.sideColumnWidth ?? "400px" } : void 0, o = r ? { columnGap: r.columnGap ?? "0px" } : void 0;
|
|
28
28
|
return /* @__PURE__ */ k("div", {
|
|
29
|
-
className: s("flex min-h-0 min-w-0 flex-1 flex-col overflow-y-auto desktop:flex-row desktop:overflow-hidden",
|
|
29
|
+
className: s("flex min-h-0 min-w-0 flex-1 flex-col overflow-y-auto desktop:flex-row desktop:overflow-hidden", U.body),
|
|
30
30
|
style: o,
|
|
31
31
|
children: [
|
|
32
32
|
e != null && /* @__PURE__ */ O("div", {
|
|
33
|
-
className:
|
|
33
|
+
className: W,
|
|
34
34
|
style: a,
|
|
35
35
|
children: e
|
|
36
36
|
}),
|
|
@@ -39,29 +39,29 @@ var V = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
39
39
|
children: t
|
|
40
40
|
}),
|
|
41
41
|
n != null && /* @__PURE__ */ O("div", {
|
|
42
|
-
className:
|
|
42
|
+
className: W,
|
|
43
43
|
style: a,
|
|
44
44
|
children: n
|
|
45
45
|
}),
|
|
46
46
|
i && /* @__PURE__ */ O("div", {
|
|
47
47
|
"aria-hidden": !0,
|
|
48
48
|
style: a,
|
|
49
|
-
className: s(
|
|
49
|
+
className: s(U.reservedColumn, U.sideColumn)
|
|
50
50
|
})
|
|
51
51
|
]
|
|
52
52
|
});
|
|
53
|
-
},
|
|
53
|
+
}, G = {
|
|
54
54
|
header: "_header_lon83_4",
|
|
55
55
|
actions: "_actions_lon83_18",
|
|
56
56
|
title: "_title_lon83_27"
|
|
57
|
-
},
|
|
57
|
+
}, re = ({ labels: e, onBack: t, onCancel: n, onSubmit: r, isCancelDisabled: a = !1, isSubmitDisabled: o = !1, isSubmitting: c = !1, backIcon: l, styles: f }) => {
|
|
58
58
|
let { colors: p, typography: m } = f ?? {}, g = m?.fontClassName ?? "dial-h1-text", _ = !!m?.fontClassName;
|
|
59
59
|
return /* @__PURE__ */ k("div", {
|
|
60
60
|
style: i({
|
|
61
61
|
"--bfh-border": p?.borderColor,
|
|
62
62
|
"--bfh-font-family": _ ? void 0 : m?.fontFamily
|
|
63
63
|
}),
|
|
64
|
-
className: s("flex min-h-16 shrink-0 items-center justify-between gap-2 px-4 py-2 desktop:h-16 desktop:flex-nowrap desktop:px-8 desktop:py-0",
|
|
64
|
+
className: s("flex min-h-16 shrink-0 items-center justify-between gap-2 px-4 py-2 desktop:h-16 desktop:flex-nowrap desktop:px-8 desktop:py-0", G.header),
|
|
65
65
|
children: [
|
|
66
66
|
/* @__PURE__ */ k("div", {
|
|
67
67
|
className: "flex min-w-0 flex-1 items-center gap-2",
|
|
@@ -75,13 +75,13 @@ var V = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
75
75
|
"aria-label": e.backButtonLabel,
|
|
76
76
|
onClick: t
|
|
77
77
|
}), /* @__PURE__ */ O("h1", {
|
|
78
|
-
className: s("truncate",
|
|
78
|
+
className: s("truncate", G.title, g),
|
|
79
79
|
children: e.title
|
|
80
80
|
})]
|
|
81
81
|
}),
|
|
82
82
|
/* @__PURE__ */ O("div", {
|
|
83
|
-
className: s("items-center gap-2",
|
|
84
|
-
children: /* @__PURE__ */ O(
|
|
83
|
+
className: s("items-center gap-2", G.actions),
|
|
84
|
+
children: /* @__PURE__ */ O(H, {
|
|
85
85
|
labels: e,
|
|
86
86
|
onCancel: n,
|
|
87
87
|
onSubmit: r,
|
|
@@ -98,19 +98,19 @@ var V = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
98
98
|
})
|
|
99
99
|
]
|
|
100
100
|
});
|
|
101
|
-
},
|
|
101
|
+
}, K = {
|
|
102
102
|
container: "_container_14mfe_1",
|
|
103
103
|
footer: "_footer_14mfe_10"
|
|
104
|
-
},
|
|
104
|
+
}, q = ({ 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 }) => {
|
|
105
105
|
let { colors: g, header: _, cssVars: v } = h ?? {};
|
|
106
106
|
return /* @__PURE__ */ k("div", {
|
|
107
107
|
style: {
|
|
108
108
|
...i({ "--bfc-bg": g?.background }),
|
|
109
109
|
...v
|
|
110
110
|
},
|
|
111
|
-
className: s("flex h-full min-h-0 w-full flex-col overflow-hidden", u,
|
|
111
|
+
className: s("flex h-full min-h-0 w-full flex-col overflow-hidden", u, K.container),
|
|
112
112
|
children: [
|
|
113
|
-
/* @__PURE__ */ O(
|
|
113
|
+
/* @__PURE__ */ O(re, {
|
|
114
114
|
labels: e,
|
|
115
115
|
onBack: t,
|
|
116
116
|
onCancel: n,
|
|
@@ -121,15 +121,15 @@ var V = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
121
121
|
backIcon: l,
|
|
122
122
|
styles: _
|
|
123
123
|
}),
|
|
124
|
-
/* @__PURE__ */ O(
|
|
124
|
+
/* @__PURE__ */ O(ne, {
|
|
125
125
|
left: d,
|
|
126
126
|
metadata: p,
|
|
127
127
|
layout: m,
|
|
128
128
|
children: f
|
|
129
129
|
}),
|
|
130
130
|
/* @__PURE__ */ O("div", {
|
|
131
|
-
className: s("sticky bottom-0 z-10 items-center gap-2 p-3 shadow-sm",
|
|
132
|
-
children: /* @__PURE__ */ O(
|
|
131
|
+
className: s("sticky bottom-0 z-10 items-center gap-2 p-3 shadow-sm", K.footer),
|
|
132
|
+
children: /* @__PURE__ */ O(H, {
|
|
133
133
|
labels: e,
|
|
134
134
|
onCancel: n,
|
|
135
135
|
onSubmit: r,
|
|
@@ -141,13 +141,13 @@ var V = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
141
141
|
})
|
|
142
142
|
]
|
|
143
143
|
});
|
|
144
|
-
},
|
|
144
|
+
}, J = {
|
|
145
145
|
layout: "dial-builder-form-layout",
|
|
146
146
|
section: "dial-builder-form-section",
|
|
147
147
|
metadataSection: "dial-builder-form-metadata-section",
|
|
148
148
|
setupSection: "dial-builder-form-setup-section",
|
|
149
149
|
asideSection: "dial-builder-form-aside-section"
|
|
150
|
-
},
|
|
150
|
+
}, ie = {
|
|
151
151
|
section: "_section_l1mnx_1",
|
|
152
152
|
title: "_title_l1mnx_5"
|
|
153
153
|
}, Y = ({ title: e, children: t, styles: n, className: r }) => {
|
|
@@ -156,10 +156,10 @@ var V = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
156
156
|
"--es-title-color": n?.colors?.titleColor
|
|
157
157
|
});
|
|
158
158
|
return /* @__PURE__ */ k("section", {
|
|
159
|
-
className: s("flex h-full flex-col gap-4 rounded border p-6",
|
|
159
|
+
className: s("flex h-full flex-col gap-4 rounded border p-6", ie.section, r, J.section),
|
|
160
160
|
style: a,
|
|
161
161
|
children: [e != null && /* @__PURE__ */ O("h2", {
|
|
162
|
-
className: s("dial-h3-text",
|
|
162
|
+
className: s("dial-h3-text", ie.title),
|
|
163
163
|
children: e
|
|
164
164
|
}), t]
|
|
165
165
|
});
|
|
@@ -168,13 +168,13 @@ var V = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
168
168
|
footerBorder: "_footerBorder_1adw2_5",
|
|
169
169
|
columnBorder: "_columnBorder_1adw2_10"
|
|
170
170
|
}, ae = ({ title: e, onBack: t, backAriaLabel: n = "Back", actions: r, leftContent: a, centerContent: o, rightContent: c, isSaving: l = !1, labels: f, styles: p, dir: m }) => {
|
|
171
|
-
let g =
|
|
171
|
+
let g = te(), _ = l ? f?.savingStatusLabel ?? "Saving" : "", v = i({
|
|
172
172
|
"--el-header-border-color": p?.colors?.headerBorderColor,
|
|
173
173
|
"--el-sidebar-border-color": p?.colors?.sidebarBorderColor
|
|
174
174
|
});
|
|
175
175
|
return /* @__PURE__ */ k("div", {
|
|
176
176
|
dir: m,
|
|
177
|
-
className: s("flex min-h-0 flex-1 flex-col",
|
|
177
|
+
className: s("flex min-h-0 flex-1 flex-col", J.layout),
|
|
178
178
|
style: v,
|
|
179
179
|
children: [
|
|
180
180
|
/* @__PURE__ */ O("span", {
|
|
@@ -229,11 +229,11 @@ var V = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
229
229
|
})
|
|
230
230
|
]
|
|
231
231
|
});
|
|
232
|
-
},
|
|
232
|
+
}, oe = {
|
|
233
233
|
box: "_box_c9as8_1",
|
|
234
234
|
icon: "_icon_c9as8_6",
|
|
235
235
|
caption: "_caption_c9as8_10"
|
|
236
|
-
},
|
|
236
|
+
}, se = ({ 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 }) => {
|
|
237
237
|
let f = i({
|
|
238
238
|
"--aa-box-bg": c?.colors?.boxBackgroundColor,
|
|
239
239
|
"--aa-box-border": c?.colors?.boxBorderColor,
|
|
@@ -246,7 +246,7 @@ var V = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
246
246
|
children: [/* @__PURE__ */ O(_, { label: e }), /* @__PURE__ */ k("div", {
|
|
247
247
|
className: "flex items-start gap-3",
|
|
248
248
|
children: [/* @__PURE__ */ O("div", {
|
|
249
|
-
className: s("flex h-16 w-16 shrink-0 items-center justify-center overflow-hidden rounded-lg border",
|
|
249
|
+
className: s("flex h-16 w-16 shrink-0 items-center justify-center overflow-hidden rounded-lg border", oe.box),
|
|
250
250
|
children: t ? /* @__PURE__ */ O("img", {
|
|
251
251
|
src: t,
|
|
252
252
|
alt: n,
|
|
@@ -255,7 +255,7 @@ var V = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
255
255
|
size: u.LG,
|
|
256
256
|
stroke: d,
|
|
257
257
|
"aria-hidden": !0,
|
|
258
|
-
className:
|
|
258
|
+
className: oe.icon
|
|
259
259
|
})
|
|
260
260
|
}), /* @__PURE__ */ k("div", {
|
|
261
261
|
className: "flex flex-col gap-3",
|
|
@@ -270,14 +270,14 @@ var V = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
270
270
|
label: r,
|
|
271
271
|
onClick: o
|
|
272
272
|
}), /* @__PURE__ */ O("span", {
|
|
273
|
-
className: s("dial-tiny-text",
|
|
273
|
+
className: s("dial-tiny-text", oe.caption),
|
|
274
274
|
children: a
|
|
275
275
|
})]
|
|
276
276
|
})]
|
|
277
277
|
})]
|
|
278
278
|
});
|
|
279
|
-
},
|
|
280
|
-
let c =
|
|
279
|
+
}, ce = ({ isOpen: e, onClose: t, onAttach: n, bucket: r, FileManagerModal: i, allowedMimeTypes: a, maxFileSizeBytes: o, labels: s }) => {
|
|
280
|
+
let c = L((e) => e.length === 1 ? s.deleteConfirmTitleSingle : s.deleteConfirmTitleMultiple, [s.deleteConfirmTitleSingle, s.deleteConfirmTitleMultiple]), l = L((e) => /* @__PURE__ */ O("div", {
|
|
281
281
|
className: "dial-small-text px-6 py-3",
|
|
282
282
|
children: /* @__PURE__ */ O("p", {
|
|
283
283
|
className: "mb-3 text-secondary",
|
|
@@ -310,7 +310,7 @@ var V = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
310
310
|
s.deleteConfirmMultipleText,
|
|
311
311
|
s.deleteConfirmItemsLabel
|
|
312
312
|
]);
|
|
313
|
-
return /* @__PURE__ */ O(
|
|
313
|
+
return /* @__PURE__ */ O(F, {
|
|
314
314
|
fallback: null,
|
|
315
315
|
children: e && /* @__PURE__ */ O(i, {
|
|
316
316
|
isOpen: e,
|
|
@@ -343,48 +343,48 @@ var V = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
343
343
|
deleteCancelLabel: s.deleteCancelLabel
|
|
344
344
|
})
|
|
345
345
|
});
|
|
346
|
-
},
|
|
346
|
+
}, Z = /* @__PURE__ */ function(e) {
|
|
347
347
|
return e.Avatar = "avatar", e.Name = "name", e.Version = "version", e.Description = "description", e.Locales = "locales", e.Tags = "tags", e;
|
|
348
|
-
}({}),
|
|
348
|
+
}({}), le = [
|
|
349
349
|
"avatar",
|
|
350
350
|
"name",
|
|
351
351
|
"version",
|
|
352
352
|
"description",
|
|
353
353
|
"locales",
|
|
354
354
|
"tags"
|
|
355
|
-
],
|
|
355
|
+
], ue = (e, t, n) => ({
|
|
356
356
|
id: e,
|
|
357
357
|
language: n.find((e) => !t.has(e.code))?.code ?? "",
|
|
358
358
|
name: "",
|
|
359
359
|
description: ""
|
|
360
|
-
}),
|
|
361
|
-
let { summaryLabel: h, addLabel: _, editLabel: y, popupTitle: x, addLocaleLabel: C, localeRowLabel: w = "Locale", languageLabel: D, nameLabel: A, namePlaceholder: j, descriptionLabel: M, descriptionPlaceholder:
|
|
362
|
-
|
|
363
|
-
|
|
360
|
+
}), de = ({ 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" }) => {
|
|
361
|
+
let { summaryLabel: h, addLabel: _, editLabel: y, popupTitle: x, addLocaleLabel: C, localeRowLabel: w = "Locale", languageLabel: D, nameLabel: A, namePlaceholder: j, descriptionLabel: M, descriptionPlaceholder: F, deleteAriaLabel: I, cancelLabel: L = "Cancel", saveLabel: te = "Save" } = i, [R, z] = V(!1), [H, U] = V([]), W = B(0);
|
|
362
|
+
ee(() => {
|
|
363
|
+
R && U(e.length > 0 ? e : [ue(`locale-row-${++W.current}`, /* @__PURE__ */ new Set(), r)]);
|
|
364
364
|
}, [
|
|
365
|
-
|
|
365
|
+
R,
|
|
366
366
|
e,
|
|
367
367
|
r
|
|
368
368
|
]);
|
|
369
|
-
let
|
|
370
|
-
t(
|
|
371
|
-
},
|
|
372
|
-
let e = new Set(
|
|
373
|
-
|
|
374
|
-
},
|
|
375
|
-
|
|
369
|
+
let ne = () => z(!0), G = () => z(!1), re = () => {
|
|
370
|
+
t(H.filter((e) => e.language && e.name)), z(!1);
|
|
371
|
+
}, K = () => {
|
|
372
|
+
let e = new Set(H.map((e) => e.language).filter(Boolean));
|
|
373
|
+
U((t) => [...t, ue(`locale-row-${++W.current}`, e, r)]);
|
|
374
|
+
}, q = (e, t) => {
|
|
375
|
+
U((n) => n.map((n) => n.id === e ? {
|
|
376
376
|
...n,
|
|
377
377
|
...t
|
|
378
378
|
} : n));
|
|
379
|
-
},
|
|
380
|
-
|
|
381
|
-
},
|
|
379
|
+
}, J = (e) => {
|
|
380
|
+
U((t) => t.filter((t) => t.id !== e));
|
|
381
|
+
}, ie = (e) => r.find((t) => t.code === e)?.label ?? e.toUpperCase(), Y = H.some((e) => !e.language || !e.name);
|
|
382
382
|
return r.length === 0 ? null : /* @__PURE__ */ k("div", {
|
|
383
383
|
className: s("flex items-center gap-2", a),
|
|
384
384
|
children: [
|
|
385
385
|
e.length > 0 && /* @__PURE__ */ O("span", {
|
|
386
386
|
className: o,
|
|
387
|
-
children: `${h}: ${e.map((e) => `[${
|
|
387
|
+
children: `${h}: ${e.map((e) => `[${ie(e.language)}]`).join(", ")}`
|
|
388
388
|
}),
|
|
389
389
|
/* @__PURE__ */ O(v, {
|
|
390
390
|
label: e.length > 0 ? y : _,
|
|
@@ -394,25 +394,25 @@ var V = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
394
394
|
stroke: d
|
|
395
395
|
}),
|
|
396
396
|
className: "!px-0",
|
|
397
|
-
onClick:
|
|
397
|
+
onClick: ne
|
|
398
398
|
}),
|
|
399
399
|
/* @__PURE__ */ O(b, {
|
|
400
|
-
open:
|
|
400
|
+
open: R,
|
|
401
401
|
header: x,
|
|
402
|
-
onClose:
|
|
402
|
+
onClose: G,
|
|
403
403
|
mainButtons: [{
|
|
404
|
-
label:
|
|
405
|
-
onClick:
|
|
404
|
+
label: L,
|
|
405
|
+
onClick: G
|
|
406
406
|
}, {
|
|
407
|
-
label:
|
|
407
|
+
label: te,
|
|
408
408
|
variant: l.Primary,
|
|
409
409
|
disabled: Y,
|
|
410
|
-
onClick:
|
|
410
|
+
onClick: re
|
|
411
411
|
}],
|
|
412
412
|
children: /* @__PURE__ */ k("div", {
|
|
413
413
|
className: "flex flex-col gap-8 px-6 py-3",
|
|
414
|
-
children: [
|
|
415
|
-
let i = new Set(
|
|
414
|
+
children: [H.map((e, t) => {
|
|
415
|
+
let i = new Set(H.filter((t) => t.id !== e.id).map((e) => e.language).filter(Boolean));
|
|
416
416
|
return /* @__PURE__ */ k("div", {
|
|
417
417
|
className: "flex flex-col gap-2",
|
|
418
418
|
children: [/* @__PURE__ */ k("div", {
|
|
@@ -432,8 +432,8 @@ var V = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
432
432
|
"aria-hidden": !0,
|
|
433
433
|
stroke: d
|
|
434
434
|
}),
|
|
435
|
-
"aria-label": `${
|
|
436
|
-
onClick: () =>
|
|
435
|
+
"aria-label": `${I} ${t + 1}`,
|
|
436
|
+
onClick: () => J(e.id)
|
|
437
437
|
})]
|
|
438
438
|
}), /* @__PURE__ */ k("div", {
|
|
439
439
|
role: "group",
|
|
@@ -454,13 +454,13 @@ var V = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
454
454
|
disabled: i.has(e.code)
|
|
455
455
|
})),
|
|
456
456
|
value: e.language,
|
|
457
|
-
onChange: (t) =>
|
|
457
|
+
onChange: (t) => q(e.id, { language: t })
|
|
458
458
|
}), /* @__PURE__ */ O(g, {
|
|
459
459
|
id: `${e.id}-name`,
|
|
460
460
|
containerClassName: "min-w-0 flex-1",
|
|
461
461
|
required: !0,
|
|
462
462
|
value: e.name,
|
|
463
|
-
onChange: (t) =>
|
|
463
|
+
onChange: (t) => q(e.id, { name: t ?? "" }),
|
|
464
464
|
labelProps: {
|
|
465
465
|
label: A,
|
|
466
466
|
required: !0
|
|
@@ -472,9 +472,9 @@ var V = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
472
472
|
className: n,
|
|
473
473
|
resize: E.Vertical,
|
|
474
474
|
value: e.description,
|
|
475
|
-
onChange: (t) =>
|
|
475
|
+
onChange: (t) => q(e.id, { description: t }),
|
|
476
476
|
labelProps: { label: M },
|
|
477
|
-
placeholder:
|
|
477
|
+
placeholder: F
|
|
478
478
|
})]
|
|
479
479
|
})]
|
|
480
480
|
}, e.id);
|
|
@@ -486,45 +486,47 @@ var V = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
486
486
|
stroke: d
|
|
487
487
|
}),
|
|
488
488
|
className: "self-start",
|
|
489
|
-
onClick:
|
|
490
|
-
disabled:
|
|
489
|
+
onClick: K,
|
|
490
|
+
disabled: H.length >= r.length
|
|
491
491
|
})]
|
|
492
492
|
})
|
|
493
493
|
})
|
|
494
494
|
]
|
|
495
495
|
});
|
|
496
|
-
},
|
|
497
|
-
let
|
|
498
|
-
|
|
496
|
+
}, fe = "Add tags, comma separated", pe = "deployment-creation-form-description", me = ({ values: e, errors: t, onChange: i, onNameBlur: a, onVersionBlur: o, iconPreviewUrl: c, onAddAvatarClick: l, labels: u, styles: d, availableLocaleOptions: f = [], fields: p = le, isNameReadOnly: m = !1, nameCaption: h, isDescriptionRequired: _ = !1, descriptionMaxLength: v, descriptionCaption: y, renderDescription: b, focusRequestKey: x }) => {
|
|
497
|
+
let S = B(null), C = B(null), D = B(null), A = B(!1), j = (e) => p.includes(e), M = j(Z.Name), N = j(Z.Version), P = !!(t.name || t.version || t.description), F = B(x);
|
|
498
|
+
ee(() => {
|
|
499
499
|
let e = () => {
|
|
500
|
-
t.name ?
|
|
500
|
+
t.name ? S.current?.focus() : t.version ? C.current?.focus() : t.description && D.current?.focus();
|
|
501
501
|
};
|
|
502
|
-
if (
|
|
503
|
-
|
|
502
|
+
if (x !== void 0) {
|
|
503
|
+
x !== F.current && (F.current = x, e());
|
|
504
504
|
return;
|
|
505
505
|
}
|
|
506
|
-
|
|
506
|
+
P && !A.current && e(), A.current = P;
|
|
507
507
|
}, [
|
|
508
|
-
|
|
509
|
-
|
|
508
|
+
x,
|
|
509
|
+
P,
|
|
510
510
|
t.name,
|
|
511
511
|
t.version,
|
|
512
512
|
t.description
|
|
513
513
|
]);
|
|
514
|
-
let
|
|
515
|
-
id:
|
|
516
|
-
ref:
|
|
514
|
+
let I = /* @__PURE__ */ O(T, {
|
|
515
|
+
id: pe,
|
|
516
|
+
ref: D,
|
|
517
517
|
value: e.description,
|
|
518
518
|
onChange: (e) => i({ description: e }),
|
|
519
519
|
"aria-required": _ || void 0,
|
|
520
|
-
labelProps:
|
|
520
|
+
labelProps: b ? void 0 : {
|
|
521
521
|
label: u.description.label,
|
|
522
522
|
required: _
|
|
523
523
|
},
|
|
524
524
|
placeholder: u.description.placeholder,
|
|
525
|
+
maxLength: v,
|
|
526
|
+
caption: y,
|
|
525
527
|
error: t.description || void 0,
|
|
526
528
|
invalid: !!t.description,
|
|
527
|
-
containerClassName:
|
|
529
|
+
containerClassName: b ? void 0 : d?.field,
|
|
528
530
|
className: n,
|
|
529
531
|
resize: E.Vertical
|
|
530
532
|
});
|
|
@@ -533,7 +535,7 @@ var V = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
533
535
|
"aria-label": u.ariaLabel,
|
|
534
536
|
className: s("flex flex-col gap-4", d?.root),
|
|
535
537
|
children: [
|
|
536
|
-
|
|
538
|
+
j(Z.Avatar) && /* @__PURE__ */ O(se, {
|
|
537
539
|
label: u.iconUrl.label,
|
|
538
540
|
avatarUrl: c,
|
|
539
541
|
addAvatarLabel: u.iconUrl.addAvatarLabel,
|
|
@@ -541,11 +543,11 @@ var V = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
541
543
|
onAddAvatarClick: l,
|
|
542
544
|
className: d?.field
|
|
543
545
|
}),
|
|
544
|
-
(
|
|
546
|
+
(M || N) && /* @__PURE__ */ k("div", {
|
|
545
547
|
className: s("flex items-start gap-4", d?.field),
|
|
546
|
-
children: [
|
|
548
|
+
children: [M && /* @__PURE__ */ O(g, {
|
|
547
549
|
id: "deployment-creation-form-name",
|
|
548
|
-
inputRef:
|
|
550
|
+
inputRef: S,
|
|
549
551
|
value: e.name,
|
|
550
552
|
onChange: (e) => i({ name: e ?? "" }),
|
|
551
553
|
onBlur: a,
|
|
@@ -558,10 +560,10 @@ var V = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
558
560
|
caption: h,
|
|
559
561
|
error: t.name || void 0,
|
|
560
562
|
invalid: !!t.name,
|
|
561
|
-
containerClassName:
|
|
562
|
-
}),
|
|
563
|
+
containerClassName: N ? "min-w-0 basis-0 grow-[2]" : "min-w-0 flex-1"
|
|
564
|
+
}), N && /* @__PURE__ */ O(g, {
|
|
563
565
|
id: "deployment-creation-form-version",
|
|
564
|
-
inputRef:
|
|
566
|
+
inputRef: C,
|
|
565
567
|
value: e.version,
|
|
566
568
|
onChange: (e) => i({ version: e ?? "" }),
|
|
567
569
|
onBlur: o,
|
|
@@ -569,26 +571,26 @@ var V = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
569
571
|
placeholder: u.version.placeholder,
|
|
570
572
|
error: t.version || void 0,
|
|
571
573
|
invalid: !!t.version,
|
|
572
|
-
containerClassName:
|
|
574
|
+
containerClassName: M ? "min-w-0 basis-0 grow-[1]" : "min-w-0 flex-1"
|
|
573
575
|
})]
|
|
574
576
|
}),
|
|
575
|
-
|
|
577
|
+
j(Z.Description) && (b ? /* @__PURE__ */ O("div", {
|
|
576
578
|
className: d?.field,
|
|
577
|
-
children:
|
|
578
|
-
}) :
|
|
579
|
-
|
|
579
|
+
children: b(I, pe)
|
|
580
|
+
}) : I),
|
|
581
|
+
j(Z.Locales) && /* @__PURE__ */ O(de, {
|
|
580
582
|
value: e.otherLocales,
|
|
581
583
|
onChange: (e) => i({ otherLocales: e }),
|
|
582
584
|
availableLocaleOptions: f,
|
|
583
585
|
labels: u.otherLocales,
|
|
584
586
|
className: d?.field
|
|
585
587
|
}),
|
|
586
|
-
|
|
588
|
+
j(Z.Tags) && /* @__PURE__ */ O("div", {
|
|
587
589
|
className: d?.field,
|
|
588
590
|
children: /* @__PURE__ */ O(w, {
|
|
589
591
|
id: "deployment-creation-form-topics",
|
|
590
592
|
labelProps: { label: u.topics.label },
|
|
591
|
-
placeholder: u.topics.placeholder ??
|
|
593
|
+
placeholder: u.topics.placeholder ?? fe,
|
|
592
594
|
value: e.topics,
|
|
593
595
|
onChange: (e) => i({ topics: e }),
|
|
594
596
|
tagClassName: r
|
|
@@ -596,10 +598,10 @@ var V = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
596
598
|
})
|
|
597
599
|
]
|
|
598
600
|
});
|
|
599
|
-
},
|
|
601
|
+
}, he = "border-0 p-4 desktop:p-8", ge = "desktop:flex-1", _e = "px-4 pt-4 desktop:px-6 desktop:pt-6", ve = I(({ title: e, onBack: t, onCancel: n, onSubmit: r, submitLabel: i, isSubmitting: a = !1, isSubmitDisabled: o = !1, extraActions: c, hideStandardActions: l = !1, metadata: u, metadataTitle: d, metadataFooter: f, setup: p, setupTitle: m, asideData: h, asideTitle: g, asideSectionClassName: _, alert: v, metadataSectionClassName: b, setupSectionClassName: S, labels: C, styles: w, dir: T }) => {
|
|
600
602
|
let E = v == null ? null : /* @__PURE__ */ O("div", {
|
|
601
603
|
role: "alert",
|
|
602
|
-
className:
|
|
604
|
+
className: _e,
|
|
603
605
|
children: v
|
|
604
606
|
}), A = p != null;
|
|
605
607
|
return /* @__PURE__ */ O(ae, {
|
|
@@ -611,7 +613,7 @@ var V = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
611
613
|
rightContent: h == null ? void 0 : /* @__PURE__ */ O(Y, {
|
|
612
614
|
title: g,
|
|
613
615
|
styles: w?.section,
|
|
614
|
-
className: s(
|
|
616
|
+
className: s(he, _, J.asideSection),
|
|
615
617
|
children: h
|
|
616
618
|
}),
|
|
617
619
|
styles: w?.layout,
|
|
@@ -630,7 +632,7 @@ var V = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
630
632
|
/* @__PURE__ */ O(Y, {
|
|
631
633
|
title: d === null ? void 0 : d ?? C?.metadataTitle ?? "Metadata",
|
|
632
634
|
styles: w?.section,
|
|
633
|
-
className: s(
|
|
635
|
+
className: s(he, b, J.metadataSection),
|
|
634
636
|
children: u
|
|
635
637
|
}),
|
|
636
638
|
f
|
|
@@ -638,11 +640,11 @@ var V = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
638
640
|
centerContent: A ? /* @__PURE__ */ k(D, { children: [E, /* @__PURE__ */ O(Y, {
|
|
639
641
|
title: m === null ? void 0 : m ?? C?.setupTitle ?? "Setup",
|
|
640
642
|
styles: w?.section,
|
|
641
|
-
className: s(
|
|
643
|
+
className: s(he, ge, S, J.setupSection),
|
|
642
644
|
children: p
|
|
643
645
|
})] }) : void 0
|
|
644
646
|
});
|
|
645
|
-
}),
|
|
647
|
+
}), ye = {
|
|
646
648
|
name: {
|
|
647
649
|
label: "Name",
|
|
648
650
|
placeholder: "Enter name"
|
|
@@ -681,7 +683,7 @@ var V = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
681
683
|
saveLabel: "Save"
|
|
682
684
|
},
|
|
683
685
|
ariaLabel: "Metadata"
|
|
684
|
-
},
|
|
686
|
+
}, be = {
|
|
685
687
|
title: "Add avatar",
|
|
686
688
|
attachLabel: "Attach",
|
|
687
689
|
emptyTitle: "This folder is empty",
|
|
@@ -705,45 +707,47 @@ var V = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
705
707
|
deleteConfirmItemsLabel: "items?",
|
|
706
708
|
deleteConfirmLabel: "Delete",
|
|
707
709
|
deleteCancelLabel: "Cancel"
|
|
708
|
-
},
|
|
709
|
-
let [
|
|
710
|
-
let t =
|
|
711
|
-
t && n({ iconUrl: t }),
|
|
712
|
-
}, [n,
|
|
713
|
-
return /* @__PURE__ */ k(D, { children: [/* @__PURE__ */ O(
|
|
710
|
+
}, xe = I(({ values: e, errors: t, onChange: n, onNameBlur: r, onVersionBlur: i, avatarPicker: a, availableLocaleOptions: o, fields: s = le, isNameReadOnly: c, nameCaption: l, isDescriptionRequired: u, descriptionMaxLength: d, descriptionCaption: f, renderDescription: p, focusRequestKey: m, labels: h }) => {
|
|
711
|
+
let [g, _] = V(!1), v = z(() => a ? s : s.filter((e) => e !== Z.Avatar), [a, s]), y = e.iconUrl, b = a?.resolveIconUrl, x = z(() => b ? b(y) : void 0, [y, b]), S = L(() => _(!0), []), C = L(() => _(!1), []), w = a?.resolveAttachedIconUrl, T = L((e) => {
|
|
712
|
+
let t = w?.(e);
|
|
713
|
+
t && n({ iconUrl: t }), _(!1);
|
|
714
|
+
}, [n, w]);
|
|
715
|
+
return /* @__PURE__ */ k(D, { children: [/* @__PURE__ */ O(me, {
|
|
714
716
|
values: e,
|
|
715
717
|
errors: t,
|
|
716
718
|
onChange: n,
|
|
717
719
|
onNameBlur: r,
|
|
718
720
|
onVersionBlur: i,
|
|
719
|
-
iconPreviewUrl:
|
|
720
|
-
onAddAvatarClick:
|
|
721
|
-
labels:
|
|
721
|
+
iconPreviewUrl: x,
|
|
722
|
+
onAddAvatarClick: S,
|
|
723
|
+
labels: h?.form ?? ye,
|
|
722
724
|
availableLocaleOptions: o,
|
|
723
|
-
fields:
|
|
725
|
+
fields: v,
|
|
724
726
|
isNameReadOnly: c,
|
|
725
727
|
nameCaption: l,
|
|
726
728
|
isDescriptionRequired: u,
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
729
|
+
descriptionMaxLength: d,
|
|
730
|
+
descriptionCaption: f,
|
|
731
|
+
renderDescription: p,
|
|
732
|
+
focusRequestKey: m
|
|
733
|
+
}), a && /* @__PURE__ */ O(ce, {
|
|
734
|
+
isOpen: g,
|
|
735
|
+
onClose: C,
|
|
736
|
+
onAttach: T,
|
|
733
737
|
bucket: a.bucket,
|
|
734
738
|
FileManagerModal: a.FileManagerModal,
|
|
735
739
|
allowedMimeTypes: a.allowedMimeTypes,
|
|
736
740
|
maxFileSizeBytes: a.maxFileSizeBytes,
|
|
737
|
-
labels:
|
|
741
|
+
labels: h?.avatarPicker ?? be
|
|
738
742
|
})] });
|
|
739
|
-
}),
|
|
743
|
+
}), Q = /* @__PURE__ */ function(e) {
|
|
740
744
|
return e.Required = "required", e.InvalidFormat = "invalid-format", e.TooLong = "too-long", e.ControlCharacters = "control-characters", e;
|
|
741
|
-
}({}),
|
|
745
|
+
}({}), Se = (e, t) => e.length === t.length && e.every((e, n) => e.id === t[n].id && e.language === t[n].language && e.name === t[n].name && e.description === t[n].description), Ce = (e, t) => e.name === t.name && e.description === t.description && e.iconUrl === t.iconUrl && e.version === t.version && e.topics.length === t.topics.length && e.topics.every((e, n) => e === t.topics[n]) && Se(e.otherLocales, t.otherLocales), we = (e) => Object.values(e).every((e) => e == null), Te = /^[a-zA-Z0-9 _.-]+$/, Ee = /^[a-zA-Z0-9._-]+$/, De = /^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*)?(?:\+[0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*)?$/, Oe = "1.0.0", ke = (n, r = {}) => {
|
|
742
746
|
let i = {}, s = n.name.trim();
|
|
743
|
-
s ? a(s, t) ? i.name =
|
|
747
|
+
s ? a(s, t) ? i.name = Q.TooLong : r.validateNamePattern && !Te.test(s) ? i.name = Q.InvalidFormat : o(s) && (i.name = Q.ControlCharacters) : i.name = Q.Required, a(n.description, e) && (i.description = Q.TooLong);
|
|
744
748
|
let c = n.version.trim();
|
|
745
|
-
return r.validateVersionPattern && c && ((r.validateVersionPattern instanceof RegExp ? r.validateVersionPattern :
|
|
746
|
-
},
|
|
749
|
+
return r.validateVersionPattern && c && ((r.validateVersionPattern instanceof RegExp ? r.validateVersionPattern : Ee).test(c) || (i.version = Q.InvalidFormat)), i;
|
|
750
|
+
}, Ae = new Set([Q.TooLong, Q.ControlCharacters]), $ = (e, t) => ({
|
|
747
751
|
reseedKey: t,
|
|
748
752
|
values: e,
|
|
749
753
|
baseline: e,
|
|
@@ -751,49 +755,49 @@ var V = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
751
755
|
hasAttemptedSubmit: !1,
|
|
752
756
|
submitAttemptCount: 0
|
|
753
757
|
}), je = ({ initialValues: e, validationOptions: t, reseedKey: n }) => {
|
|
754
|
-
let [r, i] =
|
|
755
|
-
r.reseedKey !== n && i(
|
|
756
|
-
let a = t?.validateNamePattern, o = t?.validateVersionPattern, s =
|
|
758
|
+
let [r, i] = V(() => $(e, n));
|
|
759
|
+
r.reseedKey !== n && i($(e, n));
|
|
760
|
+
let a = t?.validateNamePattern, o = t?.validateVersionPattern, s = z(() => ke(r.values, {
|
|
757
761
|
validateNamePattern: a,
|
|
758
762
|
validateVersionPattern: o
|
|
759
763
|
}), [
|
|
760
764
|
r.values,
|
|
761
765
|
a,
|
|
762
766
|
o
|
|
763
|
-
]), c =
|
|
767
|
+
]), c = z(() => {
|
|
764
768
|
if (r.hasAttemptedSubmit) return s;
|
|
765
|
-
let e = (e, t) => e && (t ||
|
|
769
|
+
let e = (e, t) => e && (t || Ae.has(e)) ? e : void 0;
|
|
766
770
|
return {
|
|
767
|
-
name: e(s.name, r.touched[
|
|
768
|
-
version: e(s.version, r.touched[
|
|
769
|
-
description: e(s.description, r.touched[
|
|
771
|
+
name: e(s.name, r.touched[Z.Name]),
|
|
772
|
+
version: e(s.version, r.touched[Z.Version]),
|
|
773
|
+
description: e(s.description, r.touched[Z.Description])
|
|
770
774
|
};
|
|
771
775
|
}, [
|
|
772
776
|
s,
|
|
773
777
|
r.hasAttemptedSubmit,
|
|
774
778
|
r.touched
|
|
775
|
-
]), l =
|
|
776
|
-
|
|
779
|
+
]), l = B(s), u = B(e);
|
|
780
|
+
R(() => {
|
|
777
781
|
l.current = s, u.current = e;
|
|
778
782
|
});
|
|
779
|
-
let d =
|
|
783
|
+
let d = L((e) => i((t) => ({
|
|
780
784
|
...t,
|
|
781
785
|
values: {
|
|
782
786
|
...t.values,
|
|
783
787
|
...e
|
|
784
788
|
}
|
|
785
|
-
})), []), f =
|
|
789
|
+
})), []), f = L((e) => i((t) => t.touched[e] ? t : {
|
|
786
790
|
...t,
|
|
787
791
|
touched: {
|
|
788
792
|
...t.touched,
|
|
789
793
|
[e]: !0
|
|
790
794
|
}
|
|
791
|
-
}), []), p =
|
|
795
|
+
}), []), p = L(() => (i((e) => ({
|
|
792
796
|
...e,
|
|
793
797
|
hasAttemptedSubmit: !0,
|
|
794
798
|
submitAttemptCount: e.submitAttemptCount + 1
|
|
795
|
-
})),
|
|
796
|
-
return
|
|
799
|
+
})), we(l.current)), []), m = L((e) => i((t) => $(e ?? u.current, t.reseedKey)), []), h = z(() => !Ce(r.values, r.baseline), [r.values, r.baseline]);
|
|
800
|
+
return z(() => ({
|
|
797
801
|
values: r.values,
|
|
798
802
|
setValues: d,
|
|
799
803
|
touched: r.touched,
|
|
@@ -818,4 +822,4 @@ var V = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
818
822
|
]);
|
|
819
823
|
};
|
|
820
824
|
//#endregion
|
|
821
|
-
export {
|
|
825
|
+
export { se as AddAvatar, ce as AvatarPickerModal, J as BUILDER_FORM_CLASS, q as BuilderFormContainer, Oe as DEFAULT_DEPLOYMENT_VERSION, ye as DEFAULT_METADATA_FORM_LABELS, Q as DeploymentCreationFieldErrorCode, me as DeploymentCreationForm, de as DeploymentLocalesField, ae as EditorLayout, Y as EditorSection, ve as EntityEditor, Z as MetadataField, xe as MetadataForm, Te as NAME_PATTERN, De as SEMVER_VERSION_PATTERN, Ee as VERSION_PATTERN, je as useMetadataForm, ke as validateDeploymentCreationFields };
|
|
@@ -138,6 +138,10 @@ export interface DeploymentCreationFormProps {
|
|
|
138
138
|
nameCaption?: string;
|
|
139
139
|
/** Marks the description field as required. The host still owns the validation. */
|
|
140
140
|
isDescriptionRequired?: boolean;
|
|
141
|
+
/** Hard limit on the description length; the textarea stops accepting input at it. */
|
|
142
|
+
descriptionMaxLength?: number;
|
|
143
|
+
/** Helper text rendered under the description field, e.g. a `120/2000` counter. */
|
|
144
|
+
descriptionCaption?: string;
|
|
141
145
|
/**
|
|
142
146
|
* Wraps the Description textarea, e.g. in a label row with extra actions.
|
|
143
147
|
* When set, the textarea renders without its own label, so the returned node
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deployment-creation-form.d.ts","sourceRoot":"","sources":["../../src/models/deployment-creation-form.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,YAAY,EACZ,kBAAkB,EACnB,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBA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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;IAC9D;;;;OAIG;IACH,MAAM,CAAC,EAAE,SAAS,aAAa,EAAE,CAAC;IAClC,+FAA+F;IAC/F,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,iDAAiD;IACjD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,mFAAmF;IACnF,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,CAAC,QAAQ,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,KAAK,SAAS,CAAC;IACxE;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B"}
|
|
1
|
+
{"version":3,"file":"deployment-creation-form.d.ts","sourceRoot":"","sources":["../../src/models/deployment-creation-form.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,YAAY,EACZ,kBAAkB,EACnB,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtD,6GAA6G;AAC7G,MAAM,MAAM,iCAAiC,GAAG,kBAAkB,CAAC;AAEnE,iEAAiE;AACjE,MAAM,MAAM,kCAAkC,GAAG,YAAY,CAAC;AAE9D,4EAA4E;AAC5E,MAAM,WAAW,4BAA4B;IAC3C,gDAAgD;IA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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;IAC9D;;;;OAIG;IACH,MAAM,CAAC,EAAE,SAAS,aAAa,EAAE,CAAC;IAClC,+FAA+F;IAC/F,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,iDAAiD;IACjD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,mFAAmF;IACnF,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,sFAAsF;IACtF,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,mFAAmF;IACnF,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,CAAC,QAAQ,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,KAAK,SAAS,CAAC;IACxE;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B"}
|
|
@@ -52,6 +52,10 @@ export interface MetadataFormProps {
|
|
|
52
52
|
nameCaption?: string;
|
|
53
53
|
/** Marks the Description field as required. Defaults to `false`. */
|
|
54
54
|
isDescriptionRequired?: boolean;
|
|
55
|
+
/** Hard limit on the Description length; see `DeploymentCreationFormProps.descriptionMaxLength`. */
|
|
56
|
+
descriptionMaxLength?: number;
|
|
57
|
+
/** Helper text rendered under the Description field, e.g. a character counter. */
|
|
58
|
+
descriptionCaption?: string;
|
|
55
59
|
/** Wraps the Description textarea, which then renders without its own label; see `DeploymentCreationFormProps.renderDescription`. */
|
|
56
60
|
renderDescription?: (textarea: ReactNode, fieldId: string) => ReactNode;
|
|
57
61
|
/** Changes on every submit attempt to move focus to the first invalid field; see `DeploymentCreationFormProps.focusRequestKey`. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"metadata-form-props.d.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C,EAAE,MAAM,CAAC;IAC5B,qIAAqI;IACrI,iBAAiB,CAAC,EAAE,CAAC,QAAQ,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,KAAK,SAAS,CAAC;IACxE,mIAAmI;IACnI,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,wEAAwE;IACxE,MAAM,CAAC,EAAE,kBAAkB,CAAC;CAC7B"}
|
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.3.0-dev.
|
|
4
|
+
"version": "1.3.0-dev.45",
|
|
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.3.0-dev.
|
|
23
|
+
"@epam/ai-dial-chat-shared": "1.3.0-dev.45",
|
|
24
24
|
"@epam/ai-dial-ui-kit": "^0.15.3",
|
|
25
25
|
"react": "^19.2.8"
|
|
26
26
|
},
|