@epam/ai-dial-builder-form 1.3.0-dev.305 → 1.3.0-dev.310

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"file":"EntityEditor.d.ts","sourceRoot":"","sources":["../../../src/components/EntityEditor/EntityEditor.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AA4I1E,6GAA6G;AAC7G,eAAO,MAAM,YAAY,yDAA8B,CAAC"}
1
+ {"version":3,"file":"EntityEditor.d.ts","sourceRoot":"","sources":["../../../src/components/EntityEditor/EntityEditor.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAoJ1E,6GAA6G;AAC7G,eAAO,MAAM,YAAY,yDAA8B,CAAC"}
package/index.css CHANGED
@@ -1,3 +1,3 @@
1
1
  ._body_1xd7h_2._body_1xd7h_2{flex-direction:column}._sideColumn_1xd7h_6._sideColumn_1xd7h_6{width:100%}._reservedColumn_1xd7h_10._reservedColumn_1xd7h_10{display:none}@media (width>=1280px){._body_1xd7h_2._body_1xd7h_2{flex-direction:row}._sideColumn_1xd7h_6._sideColumn_1xd7h_6{width:var(--bfb-side-column-width,400px);flex-shrink:0}._reservedColumn_1xd7h_10._reservedColumn_1xd7h_10{display:block}}._header_lon83_4._header_lon83_4{border-block-width:1px 0}@media (width>=1280px){._header_lon83_4._header_lon83_4{border-block-width:0 1px}}._header_lon83_4._header_lon83_4{border-color:var(--bfh-border,var(--stroke-tertiary,#e0e6f0))}._actions_lon83_18._actions_lon83_18{display:none}@media (width>=1280px){._actions_lon83_18._actions_lon83_18{display:flex}}._title_lon83_27{font-family:var(--bfh-font-family,inherit)}._container_14mfe_1{background:var(--bfc-bg,var(--bg-layer-base,#f5f7fa))}._footer_14mfe_10._footer_14mfe_10{display:flex}@media (width>=1280px){._footer_14mfe_10._footer_14mfe_10{display:none}}._footer_14mfe_10._footer_14mfe_10{background:var(--bfc-bg,var(--bg-layer-base,#f5f7fa))}._section_l1mnx_1{border-color:var(--es-border-color,var(--stroke-tertiary,#e0e6f0))}._title_l1mnx_5{color:var(--es-title-color,var(--text-primary,#161b2d))}._headerBorder_1adw2_1{border-bottom-color:var(--el-header-border-color,var(--stroke-tertiary,#e0e6f0))}._footerBorder_1adw2_5{border-top-color:var(--el-header-border-color,var(--stroke-tertiary,#e0e6f0))}._columnBorder_1adw2_10{border-color:var(--el-sidebar-border-color,var(--stroke-tertiary,#e0e6f0))}._box_c9as8_1{background:var(--aa-box-bg,var(--bg-layer-raised,#fcfcfc));border-color:var(--aa-box-border,var(--stroke-tertiary,#e0e6f0))}._icon_c9as8_6{color:var(--aa-icon,var(--text-secondary,#57647a))}._caption_c9as8_10{color:var(--aa-caption,var(--text-tertiary,#848e9c))}._confirmText_19ec1_1{color:var(--apm-confirm-text,var(--text-secondary,#57647a))}._confirmItem_19ec1_5{color:var(--apm-confirm-item-text,var(--text-primary,#161b2d))}._summary_1hlc9_1{color:var(--dlf-summary-text,var(--text-secondary,#57647a))}._rowLabel_1hlc9_5{color:var(--dlf-row-label-text,var(--text-secondary,#57647a))}
2
2
  /*$vite$:1*//*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
3
- @layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1}}}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.sticky{position:sticky}.bottom-0{bottom:0}.z-10{z-index:10}.mb-3{margin-bottom:.75rem}.flex{display:flex}.hidden{display:none}.inline{display:inline}.h-16{height:4rem}.h-full{height:100%}.min-h-0{min-height:0}.min-h-16{min-height:4rem}.w-0{width:0}.w-16{width:4rem}.w-fit{width:fit-content}.w-full{width:100%}.min-w-0{min-width:0}.flex-1{flex:1}.shrink-0{flex-shrink:0}.grow-\[1\]{flex-grow:1}.grow-\[2\]{flex-grow:2}.basis-0{flex-basis:0}.resize{resize:both}.flex-col{flex-direction:column}.flex-row-reverse{flex-direction:row-reverse}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-8{gap:2rem}.self-start{align-self:flex-start}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:4px}.rounded-lg{border-radius:.5rem}.border{border-style:var(--tw-border-style);border-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.object-cover{object-fit:cover}.p-3{padding:.75rem}.px-0\!{padding-inline:0!important}.px-4{padding-inline:1rem}.px-6{padding-inline:1.5rem}.py-2{padding-block:.5rem}.py-3{padding-block:.75rem}.pt-4{padding-top:1rem}.wrap-break-word{overflow-wrap:break-word}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-sm{--tw-shadow:4px 9px 16px 1px var(--tw-shadow-color,var(--shadow-sm-2,var(--shadow-sm,#2764d90f))), 0 -2px 4px 2px var(--tw-shadow-color,var(--shadow-sm-1,#2764d90a));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,cubic-bezier(.4, 0, .2, 1));transition-duration:var(--tw-duration,.15s)}:is(.\*\:flex-1>*){flex:1}.rtl\:scale-x-\[-1\]:where(:dir(rtl),[dir=rtl],[dir=rtl] *){--tw-scale-x:-1;scale:var(--tw-scale-x) var(--tw-scale-y)}@media (min-width:1280px){.desktop\:relative{position:relative}.desktop\:block{display:block}.desktop\:flex{display:flex}.desktop\:hidden{display:none}.desktop\:h-16{height:4rem}.desktop\:min-h-0{min-height:0}.desktop\:w-\(--el-left-width\){width:var(--el-left-width)}.desktop\:w-\[400px\]{width:400px}.desktop\:flex-1{flex:1}.desktop\:shrink-0{flex-shrink:0}.desktop\:basis-40{flex-basis:10rem}.desktop\:flex-col{flex-direction:column}.desktop\:flex-row{flex-direction:row}.desktop\:flex-nowrap{flex-wrap:nowrap}.desktop\:items-start{align-items:flex-start}.desktop\:overflow-hidden{overflow:hidden}.desktop\:overflow-y-auto{overflow-y:auto}.desktop\:border-s{border-inline-start-style:var(--tw-border-style);border-inline-start-width:1px}.desktop\:border-e{border-inline-end-style:var(--tw-border-style);border-inline-end-width:1px}.desktop\:px-6{padding-inline:1.5rem}.desktop\:px-8{padding-inline:2rem}.desktop\:py-0{padding-block:0}.desktop\:pt-3{padding-top:.75rem}.desktop\:pt-6{padding-top:1.5rem}.desktop\:pb-3{padding-bottom:.75rem}}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}
3
+ @layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1}}}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.sticky{position:sticky}.bottom-0{bottom:0}.z-10{z-index:10}.mb-3{margin-bottom:.75rem}.flex{display:flex}.hidden{display:none}.inline{display:inline}.h-16{height:4rem}.h-full{height:100%}.min-h-0{min-height:0}.min-h-16{min-height:4rem}.w-0{width:0}.w-16{width:4rem}.w-fit{width:fit-content}.w-full{width:100%}.min-w-0{min-width:0}.flex-1{flex:1}.shrink-0{flex-shrink:0}.grow-\[1\]{flex-grow:1}.grow-\[2\]{flex-grow:2}.basis-0{flex-basis:0}.resize{resize:both}.flex-col{flex-direction:column}.flex-row-reverse{flex-direction:row-reverse}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-8{gap:2rem}.self-start{align-self:flex-start}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:4px}.rounded-lg{border-radius:.5rem}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.object-cover{object-fit:cover}.p-3{padding:.75rem}.p-4{padding:1rem}.px-0\!{padding-inline:0!important}.px-4{padding-inline:1rem}.px-6{padding-inline:1.5rem}.py-2{padding-block:.5rem}.py-3{padding-block:.75rem}.pt-4{padding-top:1rem}.wrap-break-word{overflow-wrap:break-word}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-sm{--tw-shadow:4px 9px 16px 1px var(--tw-shadow-color,var(--shadow-sm-2,var(--shadow-sm,#2764d90f))), 0 -2px 4px 2px var(--tw-shadow-color,var(--shadow-sm-1,#2764d90a));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,cubic-bezier(.4, 0, .2, 1));transition-duration:var(--tw-duration,.15s)}:is(.\*\:flex-1>*){flex:1}.rtl\:scale-x-\[-1\]:where(:dir(rtl),[dir=rtl],[dir=rtl] *){--tw-scale-x:-1;scale:var(--tw-scale-x) var(--tw-scale-y)}@media (min-width:1280px){.desktop\:relative{position:relative}.desktop\:block{display:block}.desktop\:flex{display:flex}.desktop\:hidden{display:none}.desktop\:h-16{height:4rem}.desktop\:min-h-0{min-height:0}.desktop\:w-\(--el-left-width\){width:var(--el-left-width)}.desktop\:w-\[400px\]{width:400px}.desktop\:flex-1{flex:1}.desktop\:shrink-0{flex-shrink:0}.desktop\:basis-40{flex-basis:10rem}.desktop\:flex-col{flex-direction:column}.desktop\:flex-row{flex-direction:row}.desktop\:flex-nowrap{flex-wrap:nowrap}.desktop\:items-start{align-items:flex-start}.desktop\:overflow-hidden{overflow:hidden}.desktop\:overflow-y-auto{overflow-y:auto}.desktop\:border-s{border-inline-start-style:var(--tw-border-style);border-inline-start-width:1px}.desktop\:border-e{border-inline-end-style:var(--tw-border-style);border-inline-end-width:1px}.desktop\:p-8{padding:2rem}.desktop\:px-6{padding-inline:1.5rem}.desktop\:px-8{padding-inline:2rem}.desktop\:py-0{padding-block:0}.desktop\:pt-3{padding-top:.75rem}.desktop\:pt-6{padding-top:1.5rem}.desktop\:pb-3{padding-bottom:.75rem}}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}
package/index.js CHANGED
@@ -639,33 +639,33 @@ var W = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
639
639
  })
640
640
  ]
641
641
  });
642
- }, xe = "desktop:flex-1", Se = "px-4 pt-4 desktop:px-6 desktop:pt-6", Ce = L(({ 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, resizableLeftColumn: b, metadataSectionClassName: C, setupSectionClassName: T, labels: E, styles: D, dir: O }) => {
643
- let k = /* @__PURE__ */ M(y, {
642
+ }, xe = "border-0 p-4 desktop:p-8", Se = "border-0", Ce = "desktop:flex-1", we = "px-4 pt-4 desktop:px-6 desktop:pt-6", Te = L(({ 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, resizableLeftColumn: b, metadataSectionClassName: C, setupSectionClassName: T, hasSetupSectionPadding: E = !0, labels: D, styles: O, dir: k }) => {
643
+ let A = /* @__PURE__ */ M(y, {
644
644
  politeness: x.Assertive,
645
- className: v == null ? void 0 : Se,
645
+ className: v == null ? void 0 : we,
646
646
  children: v
647
- }), A = p != null;
647
+ }), P = p != null;
648
648
  return /* @__PURE__ */ M(le, {
649
649
  title: e,
650
650
  onBack: t,
651
- backAriaLabel: E?.backAriaLabel ?? "Back",
651
+ backAriaLabel: D?.backAriaLabel ?? "Back",
652
652
  isSaving: a,
653
653
  resizableLeftColumn: b,
654
654
  labels: {
655
- savingStatusLabel: E?.savingStatusLabel ?? "Saving",
656
- resizeHandleLabel: E?.resizeHandleLabel,
657
- resizeHandleTooltip: E?.resizeHandleTooltip
655
+ savingStatusLabel: D?.savingStatusLabel ?? "Saving",
656
+ resizeHandleLabel: D?.resizeHandleLabel,
657
+ resizeHandleTooltip: D?.resizeHandleTooltip
658
658
  },
659
659
  rightContent: h == null ? void 0 : /* @__PURE__ */ M(X, {
660
660
  title: g,
661
- styles: D?.section,
662
- className: s(_, Y.asideSection),
661
+ styles: O?.section,
662
+ className: s(xe, _, Y.asideSection),
663
663
  children: h
664
664
  }),
665
- styles: D?.layout,
666
- dir: O,
665
+ styles: O?.layout,
666
+ dir: k,
667
667
  actions: /* @__PURE__ */ N(j, { children: [c, !l && /* @__PURE__ */ N(j, { children: [/* @__PURE__ */ M(S, {
668
- label: E?.cancelLabel ?? "Cancel",
668
+ label: D?.cancelLabel ?? "Cancel",
669
669
  disabled: a,
670
670
  onClick: n
671
671
  }), /* @__PURE__ */ M(w, {
@@ -674,23 +674,23 @@ var W = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
674
674
  onClick: r
675
675
  })] })] }),
676
676
  leftContent: /* @__PURE__ */ N(j, { children: [
677
- !A && k,
677
+ !P && A,
678
678
  /* @__PURE__ */ M(X, {
679
- title: d === null ? void 0 : d ?? E?.metadataTitle ?? "Metadata",
680
- styles: D?.section,
681
- className: s(C, Y.metadataSection),
679
+ title: d === null ? void 0 : d ?? D?.metadataTitle ?? "Metadata",
680
+ styles: O?.section,
681
+ className: s(xe, C, Y.metadataSection),
682
682
  children: u
683
683
  }),
684
684
  f
685
685
  ] }),
686
- centerContent: A ? /* @__PURE__ */ N(j, { children: [k, /* @__PURE__ */ M(X, {
687
- title: m === null ? void 0 : m ?? E?.setupTitle ?? "Setup",
688
- styles: D?.section,
689
- className: s(xe, T, Y.setupSection),
686
+ centerContent: P ? /* @__PURE__ */ N(j, { children: [A, /* @__PURE__ */ M(X, {
687
+ title: m === null ? void 0 : m ?? D?.setupTitle ?? "Setup",
688
+ styles: O?.section,
689
+ className: s(E ? xe : Se, Ce, T, Y.setupSection),
690
690
  children: p
691
691
  })] }) : void 0
692
692
  });
693
- }), we = {
693
+ }), Ee = {
694
694
  name: {
695
695
  label: "Name",
696
696
  placeholder: "Enter name"
@@ -729,7 +729,7 @@ var W = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
729
729
  saveLabel: "Save"
730
730
  },
731
731
  ariaLabel: "Metadata"
732
- }, Te = {
732
+ }, De = {
733
733
  title: "Add avatar",
734
734
  attachLabel: "Attach",
735
735
  emptyTitle: "This folder is empty",
@@ -753,7 +753,7 @@ var W = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
753
753
  deleteConfirmItemsLabel: "items?",
754
754
  deleteConfirmLabel: "Delete",
755
755
  deleteCancelLabel: "Cancel"
756
- }, Ee = L(({ values: e, errors: t, onChange: n, onNameBlur: r, onVersionBlur: i, avatarPicker: a, availableLocaleOptions: o, fields: s = me, isNameReadOnly: c, nameReadOnlyTooltip: l, nameCaption: u, isDescriptionRequired: d, descriptionCaption: f, renderDescription: p, focusRequestKey: m, labels: h }) => {
756
+ }, Oe = L(({ values: e, errors: t, onChange: n, onNameBlur: r, onVersionBlur: i, avatarPicker: a, availableLocaleOptions: o, fields: s = me, isNameReadOnly: c, nameReadOnlyTooltip: l, nameCaption: u, isDescriptionRequired: d, descriptionCaption: f, renderDescription: p, focusRequestKey: m, labels: h }) => {
757
757
  let [g, _] = U(!1), v = V(() => a ? s : s.filter((e) => e !== Q.Avatar), [a, s]), y = e.iconUrl, b = a?.resolveIconUrl, x = V(() => b ? b(y) : void 0, [y, b]), S = R(() => _(!0), []), C = R(() => _(!1), []), w = a?.resolveAttachedIconUrl, T = R((e) => {
758
758
  let t = w?.(e);
759
759
  t && n({ iconUrl: t }), _(!1);
@@ -766,7 +766,7 @@ var W = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
766
766
  onVersionBlur: i,
767
767
  iconPreviewUrl: x,
768
768
  onAddAvatarClick: S,
769
- labels: h?.form ?? we,
769
+ labels: h?.form ?? Ee,
770
770
  availableLocaleOptions: o,
771
771
  fields: v,
772
772
  isNameReadOnly: c,
@@ -784,26 +784,26 @@ var W = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
784
784
  FileManagerModal: a.FileManagerModal,
785
785
  allowedMimeTypes: a.allowedMimeTypes,
786
786
  maxFileSizeBytes: a.maxFileSizeBytes,
787
- labels: h?.avatarPicker ?? Te
787
+ labels: h?.avatarPicker ?? De
788
788
  })] });
789
789
  }), $ = /* @__PURE__ */ function(e) {
790
790
  return e.Required = "required", e.InvalidFormat = "invalid-format", e.TooLong = "too-long", e.ControlCharacters = "control-characters", e;
791
- }({}), De = (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), Oe = (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]) && De(e.otherLocales, t.otherLocales), ke = (e) => Object.values(e).every((e) => e == null), Ae = /^[a-zA-Z0-9 _.-]+$/, je = /^[a-zA-Z0-9._-]+$/, Me = /^\d+(\.\d+)*$/, Ne = "1.0.0", Pe = (n, r = {}) => {
791
+ }({}), ke = (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), Ae = (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]) && ke(e.otherLocales, t.otherLocales), je = (e) => Object.values(e).every((e) => e == null), Me = /^[a-zA-Z0-9 _.-]+$/, Ne = /^[a-zA-Z0-9._-]+$/, Pe = /^\d+(\.\d+)*$/, Fe = "1.0.0", Ie = (n, r = {}) => {
792
792
  let i = {}, s = n.name.trim();
793
- s ? a(s, t) ? i.name = $.TooLong : r.validateNamePattern && !Ae.test(s) ? i.name = $.InvalidFormat : o(s) && (i.name = $.ControlCharacters) : i.name = $.Required, a(n.description, e) && (i.description = $.TooLong);
793
+ s ? a(s, t) ? i.name = $.TooLong : r.validateNamePattern && !Me.test(s) ? i.name = $.InvalidFormat : o(s) && (i.name = $.ControlCharacters) : i.name = $.Required, a(n.description, e) && (i.description = $.TooLong);
794
794
  let c = n.version.trim();
795
- return r.validateVersionPattern && c && ((r.validateVersionPattern instanceof RegExp ? r.validateVersionPattern : je).test(c) || (i.version = $.InvalidFormat)), i;
796
- }, Fe = /* @__PURE__ */ new Set([$.TooLong, $.ControlCharacters]), Ie = (e, t) => ({
795
+ return r.validateVersionPattern && c && ((r.validateVersionPattern instanceof RegExp ? r.validateVersionPattern : Ne).test(c) || (i.version = $.InvalidFormat)), i;
796
+ }, Le = /* @__PURE__ */ new Set([$.TooLong, $.ControlCharacters]), Re = (e, t) => ({
797
797
  reseedKey: t,
798
798
  values: e,
799
799
  baseline: e,
800
800
  touched: {},
801
801
  hasAttemptedSubmit: !1,
802
802
  submitAttemptCount: 0
803
- }), Le = ({ initialValues: e, validationOptions: t, reseedKey: n }) => {
804
- let [r, i] = U(() => Ie(e, n));
805
- r.reseedKey !== n && i(Ie(e, n));
806
- let a = t?.validateNamePattern, o = t?.validateVersionPattern, s = V(() => Pe(r.values, {
803
+ }), ze = ({ initialValues: e, validationOptions: t, reseedKey: n }) => {
804
+ let [r, i] = U(() => Re(e, n));
805
+ r.reseedKey !== n && i(Re(e, n));
806
+ let a = t?.validateNamePattern, o = t?.validateVersionPattern, s = V(() => Ie(r.values, {
807
807
  validateNamePattern: a,
808
808
  validateVersionPattern: o
809
809
  }), [
@@ -812,7 +812,7 @@ var W = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
812
812
  o
813
813
  ]), c = V(() => {
814
814
  if (r.hasAttemptedSubmit) return s;
815
- let e = (e, t) => e && (t || Fe.has(e)) ? e : void 0;
815
+ let e = (e, t) => e && (t || Le.has(e)) ? e : void 0;
816
816
  return {
817
817
  name: e(s.name, r.touched[Q.Name]),
818
818
  version: e(s.version, r.touched[Q.Version]),
@@ -842,7 +842,7 @@ var W = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
842
842
  ...e,
843
843
  hasAttemptedSubmit: !0,
844
844
  submitAttemptCount: e.submitAttemptCount + 1
845
- })), ke(l.current)), []), m = R((e) => i((t) => Ie(e ?? u.current, t.reseedKey)), []), h = V(() => !Oe(r.values, r.baseline), [r.values, r.baseline]);
845
+ })), je(l.current)), []), m = R((e) => i((t) => Re(e ?? u.current, t.reseedKey)), []), h = V(() => !Ae(r.values, r.baseline), [r.values, r.baseline]);
846
846
  return V(() => ({
847
847
  values: r.values,
848
848
  setValues: d,
@@ -868,4 +868,4 @@ var W = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
868
868
  ]);
869
869
  };
870
870
  //#endregion
871
- export { de as AddAvatar, pe as AvatarPickerModal, Y as BUILDER_FORM_CLASS, oe as BuilderFormContainer, Ne as DEFAULT_DEPLOYMENT_VERSION, we as DEFAULT_METADATA_FORM_LABELS, $ as DeploymentCreationFieldErrorCode, be as DeploymentCreationForm, _e as DeploymentLocalesField, le as EditorLayout, X as EditorSection, Ce as EntityEditor, Q as MetadataField, Ee as MetadataForm, Ae as NAME_PATTERN, Me as SEMVER_VERSION_PATTERN, je as VERSION_PATTERN, Le as useMetadataForm, Pe as validateDeploymentCreationFields };
871
+ export { de as AddAvatar, pe as AvatarPickerModal, Y as BUILDER_FORM_CLASS, oe as BuilderFormContainer, Fe as DEFAULT_DEPLOYMENT_VERSION, Ee as DEFAULT_METADATA_FORM_LABELS, $ as DeploymentCreationFieldErrorCode, be as DeploymentCreationForm, _e as DeploymentLocalesField, le as EditorLayout, X as EditorSection, Te as EntityEditor, Q as MetadataField, Oe as MetadataForm, Me as NAME_PATTERN, Pe as SEMVER_VERSION_PATTERN, Ne as VERSION_PATTERN, ze as useMetadataForm, Ie as validateDeploymentCreationFields };
@@ -63,6 +63,8 @@ export interface EntityEditorProps {
63
63
  metadataSectionClassName?: string;
64
64
  /** Class added to the Setup section root, e.g. an embedding editor's own public class. */
65
65
  setupSectionClassName?: string;
66
+ /** Pads the Setup section; `false` lets content (e.g. a loaded embedded editor) run edge to edge. Defaults to `true`. */
67
+ hasSetupSectionPadding?: boolean;
66
68
  /**
67
69
  * Host-rendered content of an extra Aside section in a third column at the
68
70
  * inline end, below the header, on desktop (the Metadata and Setup sections
@@ -1 +1 @@
1
- {"version":3,"file":"entity-editor-props.d.ts","sourceRoot":"","sources":["../../src/models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,CAAC;IAClB,6FAA6F;IAC7F,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,0FAA0F;IAC1F,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,yHAAyH;IACzH,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC;;;;;OAKG;IACH,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,uGAAuG;IACvG,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,gGAAgG;IAChG,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,qHAAqH;IACrH,mBAAmB,CAAC,EAAE,mBAAmB,CAAC;IAC1C,yCAAyC;IACzC,MAAM,CAAC,EAAE,kBAAkB,CAAC;IAC5B,uBAAuB;IACvB,MAAM,CAAC,EAAE,kBAAkB,CAAC;IAC5B,uFAAuF;IACvF,GAAG,CAAC,EAAE,KAAK,GAAG,KAAK,CAAC;CACrB"}
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.305",
4
+ "version": "1.3.0-dev.310",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
7
7
  "main": "./index.js",
@@ -20,8 +20,8 @@
20
20
  "@tabler/icons-react": "^3.50.0"
21
21
  },
22
22
  "peerDependencies": {
23
- "@epam/ai-dial-chat-shared": "1.3.0-dev.305",
24
- "@epam/ai-dial-ui-kit": "^0.16.0-dev.67",
23
+ "@epam/ai-dial-chat-shared": "1.3.0-dev.310",
24
+ "@epam/ai-dial-ui-kit": "^0.16.0-dev.71",
25
25
  "react": "^19.2.8"
26
26
  },
27
27
  "repository": {