@epam/ai-dial-builder-form 1.1.0-dev.445 → 1.1.0-dev.456
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/BuilderFormActions/BuilderFormActions.d.ts +5 -0
- package/components/BuilderFormActions/BuilderFormActions.d.ts.map +1 -0
- package/components/BuilderFormContainer/BuilderFormContainer.d.ts +1 -1
- package/components/BuilderFormContainer/BuilderFormContainer.d.ts.map +1 -1
- package/components/BuilderFormHeader/BuilderFormHeader.d.ts +1 -1
- package/components/BuilderFormHeader/BuilderFormHeader.d.ts.map +1 -1
- package/index.css +1 -1
- package/index.d.ts +1 -0
- package/index.d.ts.map +1 -1
- package/index.js +97 -70
- package/models/builder-form-actions-props.d.ts +25 -0
- package/models/builder-form-actions-props.d.ts.map +1 -0
- package/models/builder-form-container-props.d.ts +5 -5
- package/models/builder-form-container-props.d.ts.map +1 -1
- package/models/builder-form-header-props.d.ts +2 -5
- package/models/builder-form-header-props.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { BuilderFormActionsProps } from '../../models/builder-form-actions-props';
|
|
3
|
+
/** The form's cancel/submit action pair — in the header on desktop, in the mobile sticky footer. */
|
|
4
|
+
export declare const BuilderFormActions: FC<BuilderFormActionsProps>;
|
|
5
|
+
//# sourceMappingURL=BuilderFormActions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BuilderFormActions.d.ts","sourceRoot":"","sources":["../../../src/components/BuilderFormActions/BuilderFormActions.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,yCAAyC,CAAC;AAEvF,oGAAoG;AACpG,eAAO,MAAM,kBAAkB,EAAE,EAAE,CAAC,uBAAuB,CAyC1D,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
2
|
import { BuilderFormContainerProps } from '../../models/builder-form-container-props';
|
|
3
|
-
/** Full-height scrollable builder form page shell
|
|
3
|
+
/** Full-height scrollable builder form page shell: a header above the form content and a mobile-only sticky action footer below it. */
|
|
4
4
|
export declare const BuilderFormContainer: FC<BuilderFormContainerProps>;
|
|
5
5
|
//# sourceMappingURL=BuilderFormContainer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BuilderFormContainer.d.ts","sourceRoot":"","sources":["../../../src/components/BuilderFormContainer/BuilderFormContainer.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,2CAA2C,CAAC;
|
|
1
|
+
{"version":3,"file":"BuilderFormContainer.d.ts","sourceRoot":"","sources":["../../../src/components/BuilderFormContainer/BuilderFormContainer.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,2CAA2C,CAAC;AAM3F,uIAAuI;AACvI,eAAO,MAAM,oBAAoB,EAAE,EAAE,CAAC,yBAAyB,CAqE9D,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
2
|
import { BuilderFormHeaderProps } from '../../models/builder-form-header-props';
|
|
3
|
-
/** Builder form page header: a back control, the form title, and cancel/submit actions. */
|
|
3
|
+
/** Builder form page header: a back control, the form title, and the cancel/submit actions (desktop breakpoint only — mobile shows them in the container's sticky footer, and the row's divider above the row instead of below it). */
|
|
4
4
|
export declare const BuilderFormHeader: FC<BuilderFormHeaderProps>;
|
|
5
5
|
//# sourceMappingURL=BuilderFormHeader.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BuilderFormHeader.d.ts","sourceRoot":"","sources":["../../../src/components/BuilderFormHeader/BuilderFormHeader.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"BuilderFormHeader.d.ts","sourceRoot":"","sources":["../../../src/components/BuilderFormHeader/BuilderFormHeader.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,wCAAwC,CAAC;AAIrF,uOAAuO;AACvO,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,sBAAsB,CAyExD,CAAC"}
|
package/index.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
.
|
|
1
|
+
._header_8b0ws_4{border-color:var(--bfh-border,var(--stroke-tertiary,#e0e6f0))}._title_8b0ws_8{font-family:var(--bfh-font-family,inherit)}._container_d8tdv_1{background:var(--bfc-bg,var(--bg-layer-base,#f5f7fa))}._footer_d8tdv_10{background:var(--bfc-bg,var(--bg-layer-base,#f5f7fa));box-shadow:0 2px 12px 0 var(--shadow-xs-2,#161b2d08), 0 2px 6px 0 var(--shadow-xs-1,#2764d933)}
|
|
2
2
|
/*$vite$:1*/
|
package/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { BuilderFormContainer } from './components/BuilderFormContainer/BuilderFormContainer';
|
|
2
2
|
export type { BuilderFormContainerProps, BuilderFormContainerStyles, BuilderFormContainerColors, } from './models/builder-form-container-props';
|
|
3
|
+
export type { BuilderFormActionsLabels } from './models/builder-form-actions-props';
|
|
3
4
|
export type { BuilderFormHeaderLabels, BuilderFormHeaderStyles, BuilderFormHeaderColors, BuilderFormHeaderTypography, } from './models/builder-form-header-props';
|
|
4
5
|
//# sourceMappingURL=index.d.ts.map
|
package/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wDAAwD,CAAC;AAC9F,YAAY,EACV,yBAAyB,EACzB,0BAA0B,EAC1B,0BAA0B,GAC3B,MAAM,uCAAuC,CAAC;AAC/C,YAAY,EACV,uBAAuB,EACvB,uBAAuB,EACvB,uBAAuB,EACvB,2BAA2B,GAC5B,MAAM,oCAAoC,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wDAAwD,CAAC;AAC9F,YAAY,EACV,yBAAyB,EACzB,0BAA0B,EAC1B,0BAA0B,GAC3B,MAAM,uCAAuC,CAAC;AAC/C,YAAY,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAC;AACpF,YAAY,EACV,uBAAuB,EACvB,uBAAuB,EACvB,uBAAuB,EACvB,2BAA2B,GAC5B,MAAM,oCAAoC,CAAC"}
|
package/index.js
CHANGED
|
@@ -1,104 +1,131 @@
|
|
|
1
1
|
import { buildCssVars as e, mergeClasses as t } from "@epam/ai-dial-chat-shared";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { IconArrowLeft as
|
|
5
|
-
//#region src/components/
|
|
6
|
-
var
|
|
2
|
+
import { DIAL_ICON_SIZE as n, DIAL_KIT_ICON_STROKE as r, GhostIconButton as i, NeutralButton as a, PrimaryButton as o, Spinner as s } from "@epam/ai-dial-ui-kit";
|
|
3
|
+
import { Fragment as c, jsx as l, jsxs as u } from "react/jsx-runtime";
|
|
4
|
+
import { IconArrowLeft as d } from "@tabler/icons-react";
|
|
5
|
+
//#region src/components/BuilderFormActions/BuilderFormActions.tsx
|
|
6
|
+
var f = ({ labels: e, onCancel: t, onSubmit: r, isCancelDisabled: i = !1, isSubmitDisabled: d = !1, isSubmitting: f = !1, buttonClassName: p }) => /* @__PURE__ */ u(c, { children: [/* @__PURE__ */ l(a, {
|
|
7
|
+
label: e.cancelButtonLabel,
|
|
8
|
+
onClick: t,
|
|
9
|
+
disabled: i,
|
|
10
|
+
className: p
|
|
11
|
+
}), /* @__PURE__ */ l(o, {
|
|
12
|
+
label: e.submitButtonLabel,
|
|
13
|
+
onClick: r,
|
|
14
|
+
disabled: d,
|
|
15
|
+
"aria-busy": f,
|
|
16
|
+
className: p,
|
|
17
|
+
iconBefore: f ? /* @__PURE__ */ l("span", {
|
|
18
|
+
"aria-hidden": !0,
|
|
19
|
+
children: /* @__PURE__ */ l(s, { size: n.SM })
|
|
20
|
+
}) : void 0
|
|
21
|
+
})] }), p = "flex w-full flex-col desktop:w-[360px] desktop:shrink-0", m = ({ left: e, children: t, metadata: n }) => /* @__PURE__ */ u("div", {
|
|
7
22
|
className: "flex flex-1 flex-col desktop:flex-row",
|
|
8
23
|
children: [
|
|
9
|
-
e != null && /* @__PURE__ */
|
|
10
|
-
className:
|
|
24
|
+
e != null && /* @__PURE__ */ l("div", {
|
|
25
|
+
className: p,
|
|
11
26
|
children: e
|
|
12
27
|
}),
|
|
13
|
-
/* @__PURE__ */
|
|
28
|
+
/* @__PURE__ */ l("div", {
|
|
14
29
|
className: "flex w-full min-w-0 flex-1 flex-col",
|
|
15
30
|
children: t
|
|
16
31
|
}),
|
|
17
|
-
|
|
18
|
-
className:
|
|
19
|
-
children:
|
|
32
|
+
n != null && /* @__PURE__ */ l("div", {
|
|
33
|
+
className: p,
|
|
34
|
+
children: n
|
|
20
35
|
}),
|
|
21
|
-
e != null &&
|
|
36
|
+
e != null && n == null && /* @__PURE__ */ l("div", {
|
|
22
37
|
"aria-hidden": !0,
|
|
23
38
|
className: "hidden desktop:block desktop:w-[360px] desktop:shrink-0"
|
|
24
39
|
})
|
|
25
40
|
]
|
|
26
|
-
}),
|
|
27
|
-
header: "
|
|
28
|
-
title: "
|
|
29
|
-
},
|
|
30
|
-
let { colors:
|
|
31
|
-
return /* @__PURE__ */
|
|
41
|
+
}), h = {
|
|
42
|
+
header: "_header_8b0ws_4",
|
|
43
|
+
title: "_title_8b0ws_8"
|
|
44
|
+
}, g = ({ labels: a, onBack: o, onCancel: s, onSubmit: c, isCancelDisabled: p = !1, isSubmitDisabled: m = !1, isSubmitting: g = !1, styles: _ }) => {
|
|
45
|
+
let { colors: v, typography: y } = _ ?? {}, b = y?.fontClassName ?? "dial-h1-text", x = !!y?.fontClassName;
|
|
46
|
+
return /* @__PURE__ */ u("div", {
|
|
32
47
|
style: e({
|
|
33
|
-
"--bfh-border":
|
|
34
|
-
"--bfh-font-family":
|
|
48
|
+
"--bfh-border": v?.borderColor,
|
|
49
|
+
"--bfh-font-family": x ? void 0 : y?.fontFamily
|
|
35
50
|
}),
|
|
36
|
-
className: t("flex h-16 items-center justify-between gap-6 border-b px-8",
|
|
51
|
+
className: t("flex h-16 items-center justify-between gap-6 border-t px-4 desktop:border-b desktop:border-t-0 desktop:px-8", h.header),
|
|
37
52
|
children: [
|
|
38
|
-
/* @__PURE__ */
|
|
53
|
+
/* @__PURE__ */ u("div", {
|
|
39
54
|
className: "flex min-w-0 flex-1 items-center gap-2",
|
|
40
|
-
children: [/* @__PURE__ */
|
|
41
|
-
icon: /* @__PURE__ */
|
|
42
|
-
size:
|
|
55
|
+
children: [/* @__PURE__ */ l(i, {
|
|
56
|
+
icon: /* @__PURE__ */ l(d, {
|
|
57
|
+
size: n.LG,
|
|
43
58
|
className: "rtl:scale-x-[-1]",
|
|
44
59
|
"aria-hidden": !0,
|
|
45
|
-
stroke:
|
|
60
|
+
stroke: r
|
|
46
61
|
}),
|
|
47
|
-
"aria-label":
|
|
48
|
-
onClick:
|
|
49
|
-
}), /* @__PURE__ */
|
|
50
|
-
className: t("truncate",
|
|
51
|
-
children:
|
|
62
|
+
"aria-label": a.backButtonLabel,
|
|
63
|
+
onClick: o
|
|
64
|
+
}), /* @__PURE__ */ l("h1", {
|
|
65
|
+
className: t("truncate", h.title, b),
|
|
66
|
+
children: a.title
|
|
52
67
|
})]
|
|
53
68
|
}),
|
|
54
|
-
/* @__PURE__ */
|
|
55
|
-
className: "
|
|
56
|
-
children:
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
"aria-busy": v,
|
|
65
|
-
iconBefore: v ? /* @__PURE__ */ n("span", {
|
|
66
|
-
"aria-hidden": !0,
|
|
67
|
-
children: /* @__PURE__ */ n(l, { size: i.SM })
|
|
68
|
-
}) : void 0
|
|
69
|
-
})]
|
|
69
|
+
/* @__PURE__ */ l("div", {
|
|
70
|
+
className: "hidden items-center gap-2 desktop:flex",
|
|
71
|
+
children: /* @__PURE__ */ l(f, {
|
|
72
|
+
labels: a,
|
|
73
|
+
onCancel: s,
|
|
74
|
+
onSubmit: c,
|
|
75
|
+
isCancelDisabled: p,
|
|
76
|
+
isSubmitDisabled: m,
|
|
77
|
+
isSubmitting: g
|
|
78
|
+
})
|
|
70
79
|
}),
|
|
71
|
-
/* @__PURE__ */
|
|
80
|
+
/* @__PURE__ */ l("span", {
|
|
72
81
|
role: "status",
|
|
73
82
|
"aria-live": "polite",
|
|
74
83
|
className: "sr-only",
|
|
75
|
-
children:
|
|
84
|
+
children: g ? a.submittingLabel ?? "Submitting" : ""
|
|
76
85
|
})
|
|
77
86
|
]
|
|
78
87
|
});
|
|
79
|
-
},
|
|
80
|
-
|
|
81
|
-
|
|
88
|
+
}, _ = {
|
|
89
|
+
container: "_container_d8tdv_1",
|
|
90
|
+
footer: "_footer_d8tdv_10"
|
|
91
|
+
}, v = ({ labels: n, onBack: r, onCancel: i, onSubmit: a, isCancelDisabled: o = !1, isSubmitDisabled: s = !1, isSubmitting: c = !1, left: d, children: p, metadata: h, styles: v }) => {
|
|
92
|
+
let { colors: y, header: b, cssVars: x } = v ?? {};
|
|
93
|
+
return /* @__PURE__ */ u("div", {
|
|
82
94
|
style: {
|
|
83
|
-
...e({ "--bfc-bg":
|
|
84
|
-
...
|
|
95
|
+
...e({ "--bfc-bg": y?.background }),
|
|
96
|
+
...x
|
|
85
97
|
},
|
|
86
|
-
className: t("flex h-full w-full flex-col overflow-y-auto",
|
|
87
|
-
children: [
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
98
|
+
className: t("flex h-full w-full flex-col overflow-y-auto", _.container),
|
|
99
|
+
children: [
|
|
100
|
+
/* @__PURE__ */ l(g, {
|
|
101
|
+
labels: n,
|
|
102
|
+
onBack: r,
|
|
103
|
+
onCancel: i,
|
|
104
|
+
onSubmit: a,
|
|
105
|
+
isCancelDisabled: o,
|
|
106
|
+
isSubmitDisabled: s,
|
|
107
|
+
isSubmitting: c,
|
|
108
|
+
styles: b
|
|
109
|
+
}),
|
|
110
|
+
/* @__PURE__ */ l(m, {
|
|
111
|
+
left: d,
|
|
112
|
+
metadata: h,
|
|
113
|
+
children: p
|
|
114
|
+
}),
|
|
115
|
+
/* @__PURE__ */ l("div", {
|
|
116
|
+
className: t("sticky bottom-0 z-10 flex items-center gap-2 p-3 desktop:hidden", _.footer),
|
|
117
|
+
children: /* @__PURE__ */ l(f, {
|
|
118
|
+
labels: n,
|
|
119
|
+
onCancel: i,
|
|
120
|
+
onSubmit: a,
|
|
121
|
+
isCancelDisabled: o,
|
|
122
|
+
isSubmitDisabled: s,
|
|
123
|
+
isSubmitting: c,
|
|
124
|
+
buttonClassName: "flex-1"
|
|
125
|
+
})
|
|
126
|
+
})
|
|
127
|
+
]
|
|
101
128
|
});
|
|
102
129
|
};
|
|
103
130
|
//#endregion
|
|
104
|
-
export {
|
|
131
|
+
export { v as BuilderFormContainer };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/** Localized labels read by the {@link BuilderFormActions} action pair. */
|
|
2
|
+
export interface BuilderFormActionsLabels {
|
|
3
|
+
/** Label for the cancel action. */
|
|
4
|
+
cancelButtonLabel: string;
|
|
5
|
+
/** Label for the submit action. */
|
|
6
|
+
submitButtonLabel: string;
|
|
7
|
+
}
|
|
8
|
+
/** Props for the {@link BuilderFormActions} component. */
|
|
9
|
+
export interface BuilderFormActionsProps {
|
|
10
|
+
/** Localized labels for the two actions. */
|
|
11
|
+
labels: BuilderFormActionsLabels;
|
|
12
|
+
/** Called when the user activates the cancel action. */
|
|
13
|
+
onCancel: () => void;
|
|
14
|
+
/** Called when the user activates the submit action. */
|
|
15
|
+
onSubmit: () => void;
|
|
16
|
+
/** When `true`, the cancel action is disabled. Defaults to `false`. */
|
|
17
|
+
isCancelDisabled?: boolean;
|
|
18
|
+
/** When `true`, the submit action is disabled. Defaults to `false`. */
|
|
19
|
+
isSubmitDisabled?: boolean;
|
|
20
|
+
/** When `true`, the submit action shows a spinner and reports `aria-busy`. Defaults to `false`. */
|
|
21
|
+
isSubmitting?: boolean;
|
|
22
|
+
/** CSS class applied to both action buttons (e.g. `flex-1` for an equal-width pair). */
|
|
23
|
+
buttonClassName?: string;
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=builder-form-actions-props.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"builder-form-actions-props.d.ts","sourceRoot":"","sources":["../../src/models/builder-form-actions-props.ts"],"names":[],"mappings":"AAAA,2EAA2E;AAC3E,MAAM,WAAW,wBAAwB;IACvC,mCAAmC;IACnC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,mCAAmC;IACnC,iBAAiB,EAAE,MAAM,CAAC;CAC3B;AAED,0DAA0D;AAC1D,MAAM,WAAW,uBAAuB;IACtC,4CAA4C;IAC5C,MAAM,EAAE,wBAAwB,CAAC;IACjC,wDAAwD;IACxD,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,wDAAwD;IACxD,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,uEAAuE;IACvE,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,uEAAuE;IACvE,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,mGAAmG;IACnG,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,wFAAwF;IACxF,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B"}
|
|
@@ -27,15 +27,15 @@ export interface BuilderFormContainerProps {
|
|
|
27
27
|
labels: BuilderFormHeaderLabels;
|
|
28
28
|
/** Called when the user activates the header's back control. */
|
|
29
29
|
onBack: () => void;
|
|
30
|
-
/** Called when the user activates the
|
|
30
|
+
/** Called when the user activates the form's cancel action (header on desktop, sticky footer on mobile). */
|
|
31
31
|
onCancel: () => void;
|
|
32
|
-
/** Called when the user activates the
|
|
32
|
+
/** Called when the user activates the form's submit action (header on desktop, sticky footer on mobile). */
|
|
33
33
|
onSubmit: () => void;
|
|
34
|
-
/** When `true`, the
|
|
34
|
+
/** When `true`, the cancel action is disabled on both surfaces. Defaults to `false`. */
|
|
35
35
|
isCancelDisabled?: boolean;
|
|
36
|
-
/** When `true`, the
|
|
36
|
+
/** When `true`, the submit action is disabled on both surfaces. Defaults to `false`. */
|
|
37
37
|
isSubmitDisabled?: boolean;
|
|
38
|
-
/** When `true`, the
|
|
38
|
+
/** When `true`, the submit action shows a spinner and reports `aria-busy` on both surfaces. Defaults to `false`. */
|
|
39
39
|
isSubmitting?: boolean;
|
|
40
40
|
/** Body's start-edge column. Full width on mobile, a fixed-width column on desktop. */
|
|
41
41
|
left?: ReactNode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"builder-form-container-props.d.ts","sourceRoot":"","sources":["../../src/models/builder-form-container-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACtD,OAAO,KAAK,EACV,uBAAuB,EACvB,uBAAuB,EACxB,MAAM,6BAA6B,CAAC;AAErC;;;GAGG;AACH,MAAM,WAAW,0BAA0B;IACzC,yDAAyD;IACzD,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,sEAAsE;AACtE,MAAM,WAAW,0BAA0B;IACzC,wDAAwD;IACxD,MAAM,CAAC,EAAE,0BAA0B,CAAC;IACpC,+CAA+C;IAC/C,MAAM,CAAC,EAAE,uBAAuB,CAAC;IACjC;;;;OAIG;IACH,OAAO,CAAC,EAAE,aAAa,CAAC;CACzB;AAED,4DAA4D;AAC5D,MAAM,WAAW,yBAAyB;IACxC,uCAAuC;IACvC,MAAM,EAAE,uBAAuB,CAAC;IAChC,gEAAgE;IAChE,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,
|
|
1
|
+
{"version":3,"file":"builder-form-container-props.d.ts","sourceRoot":"","sources":["../../src/models/builder-form-container-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACtD,OAAO,KAAK,EACV,uBAAuB,EACvB,uBAAuB,EACxB,MAAM,6BAA6B,CAAC;AAErC;;;GAGG;AACH,MAAM,WAAW,0BAA0B;IACzC,yDAAyD;IACzD,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,sEAAsE;AACtE,MAAM,WAAW,0BAA0B;IACzC,wDAAwD;IACxD,MAAM,CAAC,EAAE,0BAA0B,CAAC;IACpC,+CAA+C;IAC/C,MAAM,CAAC,EAAE,uBAAuB,CAAC;IACjC;;;;OAIG;IACH,OAAO,CAAC,EAAE,aAAa,CAAC;CACzB;AAED,4DAA4D;AAC5D,MAAM,WAAW,yBAAyB;IACxC,uCAAuC;IACvC,MAAM,EAAE,uBAAuB,CAAC;IAChC,gEAAgE;IAChE,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,4GAA4G;IAC5G,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,4GAA4G;IAC5G,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,wFAAwF;IACxF,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,wFAAwF;IACxF,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,oHAAoH;IACpH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,uFAAuF;IACvF,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,2EAA2E;IAC3E,QAAQ,EAAE,SAAS,CAAC;IACpB,oLAAoL;IACpL,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,uBAAuB;IACvB,MAAM,CAAC,EAAE,0BAA0B,CAAC;CACrC"}
|
|
@@ -1,13 +1,10 @@
|
|
|
1
|
+
import { BuilderFormActionsLabels } from './builder-form-actions-props';
|
|
1
2
|
/** Localized labels used by the {@link BuilderFormHeader} component. */
|
|
2
|
-
export interface BuilderFormHeaderLabels {
|
|
3
|
+
export interface BuilderFormHeaderLabels extends BuilderFormActionsLabels {
|
|
3
4
|
/** Title shown next to the back control. */
|
|
4
5
|
title: string;
|
|
5
6
|
/** Accessible label for the back control. */
|
|
6
7
|
backButtonLabel: string;
|
|
7
|
-
/** Label for the cancel action. */
|
|
8
|
-
cancelButtonLabel: string;
|
|
9
|
-
/** Label for the submit action. */
|
|
10
|
-
submitButtonLabel: string;
|
|
11
8
|
/** Accessible name for the submit action's busy indicator, announced while `isSubmitting` is `true`. Defaults to `'Submitting'`. */
|
|
12
9
|
submittingLabel?: string;
|
|
13
10
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"builder-form-header-props.d.ts","sourceRoot":"","sources":["../../src/models/builder-form-header-props.ts"],"names":[],"mappings":"AAAA,wEAAwE;AACxE,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"builder-form-header-props.d.ts","sourceRoot":"","sources":["../../src/models/builder-form-header-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AAE7E,wEAAwE;AACxE,MAAM,WAAW,uBAAwB,SAAQ,wBAAwB;IACvE,4CAA4C;IAC5C,KAAK,EAAE,MAAM,CAAC;IACd,6CAA6C;IAC7C,eAAe,EAAE,MAAM,CAAC;IACxB,oIAAoI;IACpI,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED;;;GAGG;AACH,MAAM,WAAW,uBAAuB;IACtC,mEAAmE;IACnE,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,wEAAwE;AACxE,MAAM,WAAW,2BAA2B;IAC1C,oEAAoE;IACpE,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,6EAA6E;IAC7E,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,mEAAmE;AACnE,MAAM,WAAW,uBAAuB;IACtC,wDAAwD;IACxD,MAAM,CAAC,EAAE,uBAAuB,CAAC;IACjC,iDAAiD;IACjD,UAAU,CAAC,EAAE,2BAA2B,CAAC;CAC1C;AAED,yDAAyD;AACzD,MAAM,WAAW,sBAAsB;IACrC,wBAAwB;IACxB,MAAM,EAAE,uBAAuB,CAAC;IAChC,uDAAuD;IACvD,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,wDAAwD;IACxD,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,wDAAwD;IACxD,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,uEAAuE;IACvE,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,uEAAuE;IACvE,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,mGAAmG;IACnG,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,uBAAuB;IACvB,MAAM,CAAC,EAAE,uBAAuB,CAAC;CAClC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epam/ai-dial-builder-form",
|
|
3
3
|
"description": "Presentational builder form components for composing and editing DIAL entities",
|
|
4
|
-
"version": "1.1.0-dev.
|
|
4
|
+
"version": "1.1.0-dev.456",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "./index.js",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
}
|
|
18
18
|
},
|
|
19
19
|
"peerDependencies": {
|
|
20
|
-
"@epam/ai-dial-chat-shared": "1.1.0-dev.
|
|
20
|
+
"@epam/ai-dial-chat-shared": "1.1.0-dev.456",
|
|
21
21
|
"@epam/ai-dial-ui-kit": "^0.14.0-dev.15",
|
|
22
22
|
"@tabler/icons-react": "^3.44.0",
|
|
23
23
|
"react": "^19.0.0"
|