@epam/ai-dial-builder-form 1.3.0-dev.70 → 1.3.0-dev.79
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 -150
- package/models/deployment-creation-form.d.ts +0 -2
- package/models/deployment-creation-form.d.ts.map +1 -1
- package/models/metadata-form-props.d.ts +0 -2
- 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,CA+LlE,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;AAiG1E,yFAAyF;AACzF,eAAO,MAAM,YAAY,yDAA8B,CAAC"}
|
package/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
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
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
|
-
import { IconArrowLeft as A, IconArrowNarrowLeft as j, IconPhoto as M, IconPlus as N, IconTrashX as
|
|
5
|
-
import { Suspense as
|
|
4
|
+
import { IconArrowLeft as A, IconArrowNarrowLeft as j, IconPhoto as M, IconPlus as N, IconTrashX as ee } from "@tabler/icons-react";
|
|
5
|
+
import { Suspense as P, memo as F, useCallback as I, useEffect as te, useId as ne, useLayoutEffect as L, useMemo as R, useRef as z, useState as B } from "react";
|
|
6
6
|
//#region src/components/BuilderFormActions/BuilderFormActions.tsx
|
|
7
|
-
var
|
|
7
|
+
var V = ({ 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 H = ({ 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
|
+
})] }), H = {
|
|
23
23
|
body: "_body_1xd7h_2",
|
|
24
24
|
sideColumn: "_sideColumn_1xd7h_6",
|
|
25
25
|
reservedColumn: "_reservedColumn_1xd7h_10"
|
|
26
|
-
},
|
|
26
|
+
}, U = s("flex flex-col desktop:min-h-0 desktop:overflow-y-auto", H.sideColumn), re = ({ 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", H.body),
|
|
30
30
|
style: o,
|
|
31
31
|
children: [
|
|
32
32
|
e != null && /* @__PURE__ */ O("div", {
|
|
33
|
-
className:
|
|
33
|
+
className: U,
|
|
34
34
|
style: a,
|
|
35
35
|
children: e
|
|
36
36
|
}),
|
|
@@ -39,29 +39,29 @@ var H = ({ 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: U,
|
|
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(H.reservedColumn, H.sideColumn)
|
|
50
50
|
})
|
|
51
51
|
]
|
|
52
52
|
});
|
|
53
|
-
},
|
|
53
|
+
}, W = {
|
|
54
54
|
header: "_header_lon83_4",
|
|
55
55
|
actions: "_actions_lon83_18",
|
|
56
56
|
title: "_title_lon83_27"
|
|
57
|
-
},
|
|
57
|
+
}, ie = ({ 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", W.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 H = ({ 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", W.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", W.actions),
|
|
84
|
+
children: /* @__PURE__ */ O(V, {
|
|
85
85
|
labels: e,
|
|
86
86
|
onCancel: n,
|
|
87
87
|
onSubmit: r,
|
|
@@ -98,19 +98,19 @@ var H = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
98
98
|
})
|
|
99
99
|
]
|
|
100
100
|
});
|
|
101
|
-
},
|
|
101
|
+
}, G = {
|
|
102
102
|
container: "_container_14mfe_1",
|
|
103
103
|
footer: "_footer_14mfe_10"
|
|
104
|
-
},
|
|
104
|
+
}, K = ({ 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, G.container),
|
|
112
112
|
children: [
|
|
113
|
-
/* @__PURE__ */ O(
|
|
113
|
+
/* @__PURE__ */ O(ie, {
|
|
114
114
|
labels: e,
|
|
115
115
|
onBack: t,
|
|
116
116
|
onCancel: n,
|
|
@@ -121,15 +121,15 @@ var H = ({ 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(re, {
|
|
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", G.footer),
|
|
132
|
+
children: /* @__PURE__ */ O(V, {
|
|
133
133
|
labels: e,
|
|
134
134
|
onCancel: n,
|
|
135
135
|
onSubmit: r,
|
|
@@ -141,13 +141,13 @@ var H = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
141
141
|
})
|
|
142
142
|
]
|
|
143
143
|
});
|
|
144
|
-
},
|
|
144
|
+
}, q = {
|
|
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
|
+
}, J = {
|
|
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 H = ({ 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", J.section, r, q.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", J.title),
|
|
163
163
|
children: e
|
|
164
164
|
}), t]
|
|
165
165
|
});
|
|
@@ -168,13 +168,13 @@ var H = ({ 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 = ne(), _ = 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", q.layout),
|
|
178
178
|
style: v,
|
|
179
179
|
children: [
|
|
180
180
|
/* @__PURE__ */ O("span", {
|
|
@@ -229,11 +229,11 @@ var H = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
229
229
|
})
|
|
230
230
|
]
|
|
231
231
|
});
|
|
232
|
-
},
|
|
232
|
+
}, Z = {
|
|
233
233
|
box: "_box_c9as8_1",
|
|
234
234
|
icon: "_icon_c9as8_6",
|
|
235
235
|
caption: "_caption_c9as8_10"
|
|
236
|
-
},
|
|
236
|
+
}, oe = ({ 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 H = ({ 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", Z.box),
|
|
250
250
|
children: t ? /* @__PURE__ */ O("img", {
|
|
251
251
|
src: t,
|
|
252
252
|
alt: n,
|
|
@@ -255,7 +255,7 @@ var H = ({ 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: Z.icon
|
|
259
259
|
})
|
|
260
260
|
}), /* @__PURE__ */ k("div", {
|
|
261
261
|
className: "flex flex-col gap-3",
|
|
@@ -270,14 +270,14 @@ var H = ({ 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", Z.caption),
|
|
274
274
|
children: a
|
|
275
275
|
})]
|
|
276
276
|
})]
|
|
277
277
|
})]
|
|
278
278
|
});
|
|
279
|
-
},
|
|
280
|
-
let c =
|
|
279
|
+
}, se = ({ isOpen: e, onClose: t, onAttach: n, bucket: r, FileManagerModal: i, allowedMimeTypes: a, maxFileSizeBytes: o, labels: s }) => {
|
|
280
|
+
let c = I((e) => e.length === 1 ? s.deleteConfirmTitleSingle : s.deleteConfirmTitleMultiple, [s.deleteConfirmTitleSingle, s.deleteConfirmTitleMultiple]), l = I((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 H = ({ 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(P, {
|
|
314
314
|
fallback: null,
|
|
315
315
|
children: e && /* @__PURE__ */ O(i, {
|
|
316
316
|
isOpen: e,
|
|
@@ -343,48 +343,48 @@ var H = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
343
343
|
deleteCancelLabel: s.deleteCancelLabel
|
|
344
344
|
})
|
|
345
345
|
});
|
|
346
|
-
},
|
|
346
|
+
}, Q = /* @__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
|
+
}({}), ce = [
|
|
349
349
|
"avatar",
|
|
350
350
|
"name",
|
|
351
351
|
"version",
|
|
352
352
|
"description",
|
|
353
353
|
"locales",
|
|
354
354
|
"tags"
|
|
355
|
-
],
|
|
355
|
+
], le = (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
|
+
}), ue = ({ 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: P, deleteAriaLabel: F, cancelLabel: I = "Cancel", saveLabel: ne = "Save" } = i, [L, R] = B(!1), [V, H] = B([]), U = z(0);
|
|
362
|
+
te(() => {
|
|
363
|
+
L && H(e.length > 0 ? e : [le(`locale-row-${++U.current}`, /* @__PURE__ */ new Set(), r)]);
|
|
364
364
|
}, [
|
|
365
|
-
|
|
365
|
+
L,
|
|
366
366
|
e,
|
|
367
367
|
r
|
|
368
368
|
]);
|
|
369
|
-
let
|
|
370
|
-
t(
|
|
371
|
-
},
|
|
372
|
-
let e = new Set(
|
|
373
|
-
|
|
374
|
-
},
|
|
375
|
-
|
|
369
|
+
let re = () => R(!0), W = () => R(!1), ie = () => {
|
|
370
|
+
t(V.filter((e) => e.language && e.name)), R(!1);
|
|
371
|
+
}, G = () => {
|
|
372
|
+
let e = new Set(V.map((e) => e.language).filter(Boolean));
|
|
373
|
+
H((t) => [...t, le(`locale-row-${++U.current}`, e, r)]);
|
|
374
|
+
}, K = (e, t) => {
|
|
375
|
+
H((n) => n.map((n) => n.id === e ? {
|
|
376
376
|
...n,
|
|
377
377
|
...t
|
|
378
378
|
} : n));
|
|
379
|
-
},
|
|
380
|
-
|
|
381
|
-
},
|
|
379
|
+
}, q = (e) => {
|
|
380
|
+
H((t) => t.filter((t) => t.id !== e));
|
|
381
|
+
}, J = (e) => r.find((t) => t.code === e)?.label ?? e.toUpperCase(), Y = V.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) => `[${J(e.language)}]`).join(", ")}`
|
|
388
388
|
}),
|
|
389
389
|
/* @__PURE__ */ O(v, {
|
|
390
390
|
label: e.length > 0 ? y : _,
|
|
@@ -394,25 +394,25 @@ var H = ({ 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: re
|
|
398
398
|
}),
|
|
399
399
|
/* @__PURE__ */ O(b, {
|
|
400
|
-
open:
|
|
400
|
+
open: L,
|
|
401
401
|
header: x,
|
|
402
|
-
onClose:
|
|
402
|
+
onClose: W,
|
|
403
403
|
mainButtons: [{
|
|
404
|
-
label:
|
|
405
|
-
onClick:
|
|
404
|
+
label: I,
|
|
405
|
+
onClick: W
|
|
406
406
|
}, {
|
|
407
|
-
label:
|
|
407
|
+
label: ne,
|
|
408
408
|
variant: l.Primary,
|
|
409
409
|
disabled: Y,
|
|
410
|
-
onClick:
|
|
410
|
+
onClick: ie
|
|
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: [V.map((e, t) => {
|
|
415
|
+
let i = new Set(V.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", {
|
|
@@ -427,13 +427,13 @@ var H = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
427
427
|
}), /* @__PURE__ */ O(f, {
|
|
428
428
|
appearance: c.Ghost,
|
|
429
429
|
size: p.Small,
|
|
430
|
-
icon: /* @__PURE__ */ O(
|
|
430
|
+
icon: /* @__PURE__ */ O(ee, {
|
|
431
431
|
size: u.SM,
|
|
432
432
|
"aria-hidden": !0,
|
|
433
433
|
stroke: d
|
|
434
434
|
}),
|
|
435
|
-
"aria-label": `${
|
|
436
|
-
onClick: () =>
|
|
435
|
+
"aria-label": `${F} ${t + 1}`,
|
|
436
|
+
onClick: () => q(e.id)
|
|
437
437
|
})]
|
|
438
438
|
}), /* @__PURE__ */ k("div", {
|
|
439
439
|
role: "group",
|
|
@@ -454,13 +454,13 @@ var H = ({ 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) => K(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) => K(e.id, { name: t ?? "" }),
|
|
464
464
|
labelProps: {
|
|
465
465
|
label: A,
|
|
466
466
|
required: !0
|
|
@@ -472,9 +472,9 @@ var H = ({ 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) => K(e.id, { description: t }),
|
|
476
476
|
labelProps: { label: M },
|
|
477
|
-
placeholder:
|
|
477
|
+
placeholder: P
|
|
478
478
|
})]
|
|
479
479
|
})]
|
|
480
480
|
}, e.id);
|
|
@@ -486,47 +486,46 @@ var H = ({ 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: G,
|
|
490
|
+
disabled: V.length >= r.length
|
|
491
491
|
})]
|
|
492
492
|
})
|
|
493
493
|
})
|
|
494
494
|
]
|
|
495
495
|
});
|
|
496
|
-
},
|
|
497
|
-
let
|
|
498
|
-
|
|
496
|
+
}, de = "Add tags, comma separated", fe = "deployment-creation-form-description", pe = ({ values: e, errors: t, onChange: i, onNameBlur: a, onVersionBlur: o, iconPreviewUrl: c, onAddAvatarClick: l, labels: u, styles: d, availableLocaleOptions: f = [], fields: p = ce, isNameReadOnly: m = !1, nameCaption: h, isDescriptionRequired: _ = !1, descriptionCaption: v, renderDescription: y, focusRequestKey: b }) => {
|
|
497
|
+
let x = z(null), S = z(null), C = z(null), D = z(!1), A = (e) => p.includes(e), j = A(Q.Name), M = A(Q.Version), N = !!(t.name || t.version || t.description), ee = z(b);
|
|
498
|
+
te(() => {
|
|
499
499
|
let e = () => {
|
|
500
|
-
t.name ?
|
|
500
|
+
t.name ? x.current?.focus() : t.version ? S.current?.focus() : t.description && C.current?.focus();
|
|
501
501
|
};
|
|
502
|
-
if (
|
|
503
|
-
|
|
502
|
+
if (b !== void 0) {
|
|
503
|
+
b !== ee.current && (ee.current = b, e());
|
|
504
504
|
return;
|
|
505
505
|
}
|
|
506
|
-
|
|
506
|
+
N && !D.current && e(), D.current = N;
|
|
507
507
|
}, [
|
|
508
|
-
|
|
509
|
-
|
|
508
|
+
b,
|
|
509
|
+
N,
|
|
510
510
|
t.name,
|
|
511
511
|
t.version,
|
|
512
512
|
t.description
|
|
513
513
|
]);
|
|
514
|
-
let
|
|
515
|
-
id:
|
|
516
|
-
ref:
|
|
514
|
+
let P = /* @__PURE__ */ O(T, {
|
|
515
|
+
id: fe,
|
|
516
|
+
ref: C,
|
|
517
517
|
value: e.description,
|
|
518
518
|
onChange: (e) => i({ description: e }),
|
|
519
519
|
"aria-required": _ || void 0,
|
|
520
|
-
labelProps:
|
|
520
|
+
labelProps: y ? void 0 : {
|
|
521
521
|
label: u.description.label,
|
|
522
522
|
required: _
|
|
523
523
|
},
|
|
524
524
|
placeholder: u.description.placeholder,
|
|
525
|
-
|
|
526
|
-
caption: y,
|
|
525
|
+
caption: v,
|
|
527
526
|
error: t.description || void 0,
|
|
528
527
|
invalid: !!t.description,
|
|
529
|
-
containerClassName:
|
|
528
|
+
containerClassName: y ? void 0 : d?.field,
|
|
530
529
|
className: n,
|
|
531
530
|
resize: E.Vertical
|
|
532
531
|
});
|
|
@@ -535,7 +534,7 @@ var H = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
535
534
|
"aria-label": u.ariaLabel,
|
|
536
535
|
className: s("flex flex-col gap-4", d?.root),
|
|
537
536
|
children: [
|
|
538
|
-
|
|
537
|
+
A(Q.Avatar) && /* @__PURE__ */ O(oe, {
|
|
539
538
|
label: u.iconUrl.label,
|
|
540
539
|
avatarUrl: c,
|
|
541
540
|
addAvatarLabel: u.iconUrl.addAvatarLabel,
|
|
@@ -543,11 +542,11 @@ var H = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
543
542
|
onAddAvatarClick: l,
|
|
544
543
|
className: d?.field
|
|
545
544
|
}),
|
|
546
|
-
(
|
|
545
|
+
(j || M) && /* @__PURE__ */ k("div", {
|
|
547
546
|
className: s("flex items-start gap-4", d?.field),
|
|
548
|
-
children: [
|
|
547
|
+
children: [j && /* @__PURE__ */ O(g, {
|
|
549
548
|
id: "deployment-creation-form-name",
|
|
550
|
-
inputRef:
|
|
549
|
+
inputRef: x,
|
|
551
550
|
value: e.name,
|
|
552
551
|
onChange: (e) => i({ name: e ?? "" }),
|
|
553
552
|
onBlur: a,
|
|
@@ -560,10 +559,10 @@ var H = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
560
559
|
caption: h,
|
|
561
560
|
error: t.name || void 0,
|
|
562
561
|
invalid: !!t.name,
|
|
563
|
-
containerClassName:
|
|
564
|
-
}),
|
|
562
|
+
containerClassName: M ? "min-w-0 basis-0 grow-[2]" : "min-w-0 flex-1"
|
|
563
|
+
}), M && /* @__PURE__ */ O(g, {
|
|
565
564
|
id: "deployment-creation-form-version",
|
|
566
|
-
inputRef:
|
|
565
|
+
inputRef: S,
|
|
567
566
|
value: e.version,
|
|
568
567
|
onChange: (e) => i({ version: e ?? "" }),
|
|
569
568
|
onBlur: o,
|
|
@@ -571,26 +570,26 @@ var H = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
571
570
|
placeholder: u.version.placeholder,
|
|
572
571
|
error: t.version || void 0,
|
|
573
572
|
invalid: !!t.version,
|
|
574
|
-
containerClassName:
|
|
573
|
+
containerClassName: j ? "min-w-0 basis-0 grow-[1]" : "min-w-0 flex-1"
|
|
575
574
|
})]
|
|
576
575
|
}),
|
|
577
|
-
|
|
576
|
+
A(Q.Description) && (y ? /* @__PURE__ */ O("div", {
|
|
578
577
|
className: d?.field,
|
|
579
|
-
children:
|
|
580
|
-
}) :
|
|
581
|
-
|
|
578
|
+
children: y(P, fe)
|
|
579
|
+
}) : P),
|
|
580
|
+
A(Q.Locales) && /* @__PURE__ */ O(ue, {
|
|
582
581
|
value: e.otherLocales,
|
|
583
582
|
onChange: (e) => i({ otherLocales: e }),
|
|
584
583
|
availableLocaleOptions: f,
|
|
585
584
|
labels: u.otherLocales,
|
|
586
585
|
className: d?.field
|
|
587
586
|
}),
|
|
588
|
-
|
|
587
|
+
A(Q.Tags) && /* @__PURE__ */ O("div", {
|
|
589
588
|
className: d?.field,
|
|
590
589
|
children: /* @__PURE__ */ O(w, {
|
|
591
590
|
id: "deployment-creation-form-topics",
|
|
592
591
|
labelProps: { label: u.topics.label },
|
|
593
|
-
placeholder: u.topics.placeholder ??
|
|
592
|
+
placeholder: u.topics.placeholder ?? de,
|
|
594
593
|
value: e.topics,
|
|
595
594
|
onChange: (e) => i({ topics: e }),
|
|
596
595
|
tagClassName: r
|
|
@@ -598,10 +597,10 @@ var H = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
598
597
|
})
|
|
599
598
|
]
|
|
600
599
|
});
|
|
601
|
-
},
|
|
600
|
+
}, me = "border-0 p-4 desktop:p-8", he = "desktop:flex-1", ge = "px-4 pt-4 desktop:px-6 desktop:pt-6", _e = F(({ 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 }) => {
|
|
602
601
|
let E = v == null ? null : /* @__PURE__ */ O("div", {
|
|
603
602
|
role: "alert",
|
|
604
|
-
className:
|
|
603
|
+
className: ge,
|
|
605
604
|
children: v
|
|
606
605
|
}), A = p != null;
|
|
607
606
|
return /* @__PURE__ */ O(ae, {
|
|
@@ -613,7 +612,7 @@ var H = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
613
612
|
rightContent: h == null ? void 0 : /* @__PURE__ */ O(Y, {
|
|
614
613
|
title: g,
|
|
615
614
|
styles: w?.section,
|
|
616
|
-
className: s(
|
|
615
|
+
className: s(me, _, q.asideSection),
|
|
617
616
|
children: h
|
|
618
617
|
}),
|
|
619
618
|
styles: w?.layout,
|
|
@@ -632,7 +631,7 @@ var H = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
632
631
|
/* @__PURE__ */ O(Y, {
|
|
633
632
|
title: d === null ? void 0 : d ?? C?.metadataTitle ?? "Metadata",
|
|
634
633
|
styles: w?.section,
|
|
635
|
-
className: s(
|
|
634
|
+
className: s(me, b, q.metadataSection),
|
|
636
635
|
children: u
|
|
637
636
|
}),
|
|
638
637
|
f
|
|
@@ -640,11 +639,11 @@ var H = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
640
639
|
centerContent: A ? /* @__PURE__ */ k(D, { children: [E, /* @__PURE__ */ O(Y, {
|
|
641
640
|
title: m === null ? void 0 : m ?? C?.setupTitle ?? "Setup",
|
|
642
641
|
styles: w?.section,
|
|
643
|
-
className: s(
|
|
642
|
+
className: s(me, he, S, q.setupSection),
|
|
644
643
|
children: p
|
|
645
644
|
})] }) : void 0
|
|
646
645
|
});
|
|
647
|
-
}),
|
|
646
|
+
}), ve = {
|
|
648
647
|
name: {
|
|
649
648
|
label: "Name",
|
|
650
649
|
placeholder: "Enter name"
|
|
@@ -683,7 +682,7 @@ var H = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
683
682
|
saveLabel: "Save"
|
|
684
683
|
},
|
|
685
684
|
ariaLabel: "Metadata"
|
|
686
|
-
},
|
|
685
|
+
}, ye = {
|
|
687
686
|
title: "Add avatar",
|
|
688
687
|
attachLabel: "Attach",
|
|
689
688
|
emptyTitle: "This folder is empty",
|
|
@@ -707,47 +706,46 @@ var H = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
707
706
|
deleteConfirmItemsLabel: "items?",
|
|
708
707
|
deleteConfirmLabel: "Delete",
|
|
709
708
|
deleteCancelLabel: "Cancel"
|
|
710
|
-
},
|
|
711
|
-
let [
|
|
712
|
-
let t =
|
|
713
|
-
t && n({ iconUrl: t }),
|
|
714
|
-
}, [n,
|
|
715
|
-
return /* @__PURE__ */ k(D, { children: [/* @__PURE__ */ O(
|
|
709
|
+
}, be = F(({ values: e, errors: t, onChange: n, onNameBlur: r, onVersionBlur: i, avatarPicker: a, availableLocaleOptions: o, fields: s = ce, isNameReadOnly: c, nameCaption: l, isDescriptionRequired: u, descriptionCaption: d, renderDescription: f, focusRequestKey: p, labels: m }) => {
|
|
710
|
+
let [h, g] = B(!1), _ = R(() => a ? s : s.filter((e) => e !== Q.Avatar), [a, s]), v = e.iconUrl, y = a?.resolveIconUrl, b = R(() => y ? y(v) : void 0, [v, y]), x = I(() => g(!0), []), S = I(() => g(!1), []), C = a?.resolveAttachedIconUrl, w = I((e) => {
|
|
711
|
+
let t = C?.(e);
|
|
712
|
+
t && n({ iconUrl: t }), g(!1);
|
|
713
|
+
}, [n, C]);
|
|
714
|
+
return /* @__PURE__ */ k(D, { children: [/* @__PURE__ */ O(pe, {
|
|
716
715
|
values: e,
|
|
717
716
|
errors: t,
|
|
718
717
|
onChange: n,
|
|
719
718
|
onNameBlur: r,
|
|
720
719
|
onVersionBlur: i,
|
|
721
|
-
iconPreviewUrl:
|
|
722
|
-
onAddAvatarClick:
|
|
723
|
-
labels:
|
|
720
|
+
iconPreviewUrl: b,
|
|
721
|
+
onAddAvatarClick: x,
|
|
722
|
+
labels: m?.form ?? ve,
|
|
724
723
|
availableLocaleOptions: o,
|
|
725
|
-
fields:
|
|
724
|
+
fields: _,
|
|
726
725
|
isNameReadOnly: c,
|
|
727
726
|
nameCaption: l,
|
|
728
727
|
isDescriptionRequired: u,
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
onAttach: T,
|
|
728
|
+
descriptionCaption: d,
|
|
729
|
+
renderDescription: f,
|
|
730
|
+
focusRequestKey: p
|
|
731
|
+
}), a && /* @__PURE__ */ O(se, {
|
|
732
|
+
isOpen: h,
|
|
733
|
+
onClose: S,
|
|
734
|
+
onAttach: w,
|
|
737
735
|
bucket: a.bucket,
|
|
738
736
|
FileManagerModal: a.FileManagerModal,
|
|
739
737
|
allowedMimeTypes: a.allowedMimeTypes,
|
|
740
738
|
maxFileSizeBytes: a.maxFileSizeBytes,
|
|
741
|
-
labels:
|
|
739
|
+
labels: m?.avatarPicker ?? ye
|
|
742
740
|
})] });
|
|
743
|
-
}),
|
|
741
|
+
}), $ = /* @__PURE__ */ function(e) {
|
|
744
742
|
return e.Required = "required", e.InvalidFormat = "invalid-format", e.TooLong = "too-long", e.ControlCharacters = "control-characters", e;
|
|
745
|
-
}({}),
|
|
743
|
+
}({}), xe = (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), Se = (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]) && xe(e.otherLocales, t.otherLocales), Ce = (e) => Object.values(e).every((e) => e == null), we = /^[a-zA-Z0-9 _.-]+$/, Te = /^[a-zA-Z0-9._-]+$/, Ee = /^(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-]+)*)?$/, De = "1.0.0", Oe = (n, r = {}) => {
|
|
746
744
|
let i = {}, s = n.name.trim();
|
|
747
|
-
s ? a(s, t) ? i.name =
|
|
745
|
+
s ? a(s, t) ? i.name = $.TooLong : r.validateNamePattern && !we.test(s) ? i.name = $.InvalidFormat : o(s) && (i.name = $.ControlCharacters) : i.name = $.Required, a(n.description, e) && (i.description = $.TooLong);
|
|
748
746
|
let c = n.version.trim();
|
|
749
|
-
return r.validateVersionPattern && c && ((r.validateVersionPattern instanceof RegExp ? r.validateVersionPattern :
|
|
750
|
-
},
|
|
747
|
+
return r.validateVersionPattern && c && ((r.validateVersionPattern instanceof RegExp ? r.validateVersionPattern : Te).test(c) || (i.version = $.InvalidFormat)), i;
|
|
748
|
+
}, ke = new Set([$.TooLong, $.ControlCharacters]), Ae = (e, t) => ({
|
|
751
749
|
reseedKey: t,
|
|
752
750
|
values: e,
|
|
753
751
|
baseline: e,
|
|
@@ -755,49 +753,49 @@ var H = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
755
753
|
hasAttemptedSubmit: !1,
|
|
756
754
|
submitAttemptCount: 0
|
|
757
755
|
}), je = ({ initialValues: e, validationOptions: t, reseedKey: n }) => {
|
|
758
|
-
let [r, i] =
|
|
759
|
-
r.reseedKey !== n && i(
|
|
760
|
-
let a = t?.validateNamePattern, o = t?.validateVersionPattern, s =
|
|
756
|
+
let [r, i] = B(() => Ae(e, n));
|
|
757
|
+
r.reseedKey !== n && i(Ae(e, n));
|
|
758
|
+
let a = t?.validateNamePattern, o = t?.validateVersionPattern, s = R(() => Oe(r.values, {
|
|
761
759
|
validateNamePattern: a,
|
|
762
760
|
validateVersionPattern: o
|
|
763
761
|
}), [
|
|
764
762
|
r.values,
|
|
765
763
|
a,
|
|
766
764
|
o
|
|
767
|
-
]), c =
|
|
765
|
+
]), c = R(() => {
|
|
768
766
|
if (r.hasAttemptedSubmit) return s;
|
|
769
|
-
let e = (e, t) => e && (t ||
|
|
767
|
+
let e = (e, t) => e && (t || ke.has(e)) ? e : void 0;
|
|
770
768
|
return {
|
|
771
|
-
name: e(s.name, r.touched[
|
|
772
|
-
version: e(s.version, r.touched[
|
|
773
|
-
description: e(s.description, r.touched[
|
|
769
|
+
name: e(s.name, r.touched[Q.Name]),
|
|
770
|
+
version: e(s.version, r.touched[Q.Version]),
|
|
771
|
+
description: e(s.description, r.touched[Q.Description])
|
|
774
772
|
};
|
|
775
773
|
}, [
|
|
776
774
|
s,
|
|
777
775
|
r.hasAttemptedSubmit,
|
|
778
776
|
r.touched
|
|
779
|
-
]), l =
|
|
780
|
-
|
|
777
|
+
]), l = z(s), u = z(e);
|
|
778
|
+
L(() => {
|
|
781
779
|
l.current = s, u.current = e;
|
|
782
780
|
});
|
|
783
|
-
let d =
|
|
781
|
+
let d = I((e) => i((t) => ({
|
|
784
782
|
...t,
|
|
785
783
|
values: {
|
|
786
784
|
...t.values,
|
|
787
785
|
...e
|
|
788
786
|
}
|
|
789
|
-
})), []), f =
|
|
787
|
+
})), []), f = I((e) => i((t) => t.touched[e] ? t : {
|
|
790
788
|
...t,
|
|
791
789
|
touched: {
|
|
792
790
|
...t.touched,
|
|
793
791
|
[e]: !0
|
|
794
792
|
}
|
|
795
|
-
}), []), p =
|
|
793
|
+
}), []), p = I(() => (i((e) => ({
|
|
796
794
|
...e,
|
|
797
795
|
hasAttemptedSubmit: !0,
|
|
798
796
|
submitAttemptCount: e.submitAttemptCount + 1
|
|
799
|
-
})),
|
|
800
|
-
return
|
|
797
|
+
})), Ce(l.current)), []), m = I((e) => i((t) => Ae(e ?? u.current, t.reseedKey)), []), h = R(() => !Se(r.values, r.baseline), [r.values, r.baseline]);
|
|
798
|
+
return R(() => ({
|
|
801
799
|
values: r.values,
|
|
802
800
|
setValues: d,
|
|
803
801
|
touched: r.touched,
|
|
@@ -822,4 +820,4 @@ var H = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
822
820
|
]);
|
|
823
821
|
};
|
|
824
822
|
//#endregion
|
|
825
|
-
export {
|
|
823
|
+
export { oe as AddAvatar, se as AvatarPickerModal, q as BUILDER_FORM_CLASS, K as BuilderFormContainer, De as DEFAULT_DEPLOYMENT_VERSION, ve as DEFAULT_METADATA_FORM_LABELS, $ as DeploymentCreationFieldErrorCode, pe as DeploymentCreationForm, ue as DeploymentLocalesField, ae as EditorLayout, Y as EditorSection, _e as EntityEditor, Q as MetadataField, be as MetadataForm, we as NAME_PATTERN, Ee as SEMVER_VERSION_PATTERN, Te as VERSION_PATTERN, je as useMetadataForm, Oe as validateDeploymentCreationFields };
|
|
@@ -138,8 +138,6 @@ 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
141
|
/** Helper text rendered under the description field, e.g. a `120/2000` counter. */
|
|
144
142
|
descriptionCaption?: string;
|
|
145
143
|
/**
|
|
@@ -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,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;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;IACjB,+CAA+C;IAC/C,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,+EAA+E;AAC/E,MAAM,WAAW,iCAAiC;IAChD,wBAAwB;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,sDAAsD;IACtD,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,uEAAuE;AACvE,MAAM,WAAW,gCAAgC;IAC/C,kFAAkF;IAClF,KAAK,EAAE,MAAM,CAAC;IACd,yCAAyC;IACzC,cAAc,EAAE,MAAM,CAAC;IAC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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;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,
|
|
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,kBA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FAAyF;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,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,8 +52,6 @@ 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
55
|
/** Helper text rendered under the Description field, e.g. a character counter. */
|
|
58
56
|
descriptionCaption?: string;
|
|
59
57
|
/** Wraps the Description textarea, which then renders without its own label; see `DeploymentCreationFormProps.renderDescription`. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"metadata-form-props.d.ts","sourceRoot":"","sources":["../../src/models/metadata-form-props.ts"],"names":[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CAAC;IACxB,iDAAiD;IACjD,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,2GAA2G;IAC3G,YAAY,CAAC,EAAE,wBAAwB,CAAC;IACxC,mFAAmF;IACnF,sBAAsB,CAAC,EAAE,kCAAkC,EAAE,CAAC;IAC9D,iEAAiE;IACjE,MAAM,CAAC,EAAE,SAAS,aAAa,EAAE,CAAC;IAClC,6DAA6D;IAC7D,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,iDAAiD;IACjD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,oEAAoE;IACpE,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,
|
|
1
|
+
{"version":3,"file":"metadata-form-props.d.ts","sourceRoot":"","sources":["../../src/models/metadata-form-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACtD,OAAO,KAAK,EACV,iCAAiC,EACjC,uBAAuB,EACxB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EACV,iCAAiC,EACjC,4BAA4B,EAC5B,kCAAkC,EAClC,4BAA4B,EAC7B,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtD;;;GAGG;AACH,MAAM,WAAW,kBAAkB;IACjC,+DAA+D;IAC/D,IAAI,CAAC,EAAE,4BAA4B,CAAC;IACpC,0CAA0C;IAC1C,YAAY,CAAC,EAAE,uBAAuB,CAAC;CACxC;AAED,uFAAuF;AACvF,MAAM,WAAW,wBAAwB;IACvC,4DAA4D;IAC5D,MAAM,EAAE,MAAM,CAAC;IACf,iEAAiE;IACjE,gBAAgB,EAAE,aAAa,CAAC,iCAAiC,CAAC,CAAC;IACnE,iFAAiF;IACjF,cAAc,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM,CAA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"@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.79",
|
|
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.79",
|
|
24
24
|
"@epam/ai-dial-ui-kit": "^0.16.0-dev.11",
|
|
25
25
|
"react": "^19.2.8"
|
|
26
26
|
},
|