@epam/ai-dial-builder-form 1.3.0-dev.253 → 1.3.0-dev.259
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/AddAvatar/AddAvatar.d.ts.map +1 -1
- package/components/AvatarPickerModal/AvatarPickerModal.d.ts.map +1 -1
- package/components/DeploymentCreationForm/DeploymentCreationForm.d.ts.map +1 -1
- package/components/DeploymentLocalesField/DeploymentLocalesField.d.ts +5 -3
- package/components/DeploymentLocalesField/DeploymentLocalesField.d.ts.map +1 -1
- package/components/EditorLayout/EditorLayout.d.ts.map +1 -1
- package/components/EditorSection/EditorSection.d.ts.map +1 -1
- package/index.css +2 -2
- package/index.d.ts +4 -4
- package/index.d.ts.map +1 -1
- package/index.js +170 -151
- package/models/add-avatar-props.d.ts +2 -0
- package/models/add-avatar-props.d.ts.map +1 -1
- package/models/avatar-picker-modal.d.ts +16 -0
- package/models/avatar-picker-modal.d.ts.map +1 -1
- package/models/deployment-creation-form.d.ts +9 -0
- package/models/deployment-creation-form.d.ts.map +1 -1
- package/models/editor-layout-props.d.ts +7 -0
- package/models/editor-layout-props.d.ts.map +1 -1
- package/models/editor-section-props.d.ts +7 -0
- package/models/editor-section-props.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AddAvatar.d.ts","sourceRoot":"","sources":["../../../src/components/AddAvatar/AddAvatar.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAGpE,+GAA+G;AAC/G,eAAO,MAAM,SAAS,EAAE,EAAE,CAAC,cAAc,
|
|
1
|
+
{"version":3,"file":"AddAvatar.d.ts","sourceRoot":"","sources":["../../../src/components/AddAvatar/AddAvatar.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAGpE,+GAA+G;AAC/G,eAAO,MAAM,SAAS,EAAE,EAAE,CAAC,cAAc,CAoExC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AvatarPickerModal.d.ts","sourceRoot":"","sources":["../../../src/components/AvatarPickerModal/AvatarPickerModal.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AvatarPickerModal.d.ts","sourceRoot":"","sources":["../../../src/components/AvatarPickerModal/AvatarPickerModal.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAG/E,oHAAoH;AACpH,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,sBAAsB,CAmGxD,CAAC"}
|
|
@@ -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,CAkMlE,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
|
-
import { DeploymentCreationFormLocaleEntry, DeploymentCreationFormLocaleLabels, DeploymentCreationFormLocaleOption } from '../../models/deployment-creation-form';
|
|
2
|
+
import { DeploymentCreationFormLocaleEntry, DeploymentCreationFormLocaleLabels, DeploymentCreationFormLocaleOption, DeploymentLocalesFieldColors } from '../../models/deployment-creation-form';
|
|
3
3
|
/** Props accepted by the `DeploymentLocalesField` component. */
|
|
4
4
|
export interface DeploymentLocalesFieldProps {
|
|
5
5
|
/** Current list of additional (non-primary) locale entries. */
|
|
@@ -12,10 +12,12 @@ export interface DeploymentLocalesFieldProps {
|
|
|
12
12
|
labels: DeploymentCreationFormLocaleLabels;
|
|
13
13
|
/** Class applied to the summary row container. */
|
|
14
14
|
className?: string;
|
|
15
|
-
/** Typography
|
|
15
|
+
/** Typography class applied to the summary text. Defaults to `'dial-body-text'`. */
|
|
16
16
|
summaryClassName?: string;
|
|
17
|
-
/** Typography
|
|
17
|
+
/** Typography class applied to each row's heading. Defaults to `'dial-tiny-lead-text'`, which uppercases the label itself. */
|
|
18
18
|
rowLabelClassName?: string;
|
|
19
|
+
/** Color overrides, applied as CSS custom properties. */
|
|
20
|
+
colors?: DeploymentLocalesFieldColors;
|
|
19
21
|
}
|
|
20
22
|
/** Summary row ("Locales: [DE] Edit locales") plus the "Add locale" popup for editing additional name/description translations. Shows "Add locales" instead of "Edit locales" until at least one entry exists, and renders nothing at all when `availableLocaleOptions` is empty. */
|
|
21
23
|
export declare const DeploymentLocalesField: FC<DeploymentLocalesFieldProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeploymentLocalesField.d.ts","sourceRoot":"","sources":["../../../src/components/DeploymentLocalesField/DeploymentLocalesField.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DeploymentLocalesField.d.ts","sourceRoot":"","sources":["../../../src/components/DeploymentLocalesField/DeploymentLocalesField.tsx"],"names":[],"mappings":"AAoBA,OAAO,EAA+B,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAC7D,OAAO,KAAK,EACV,iCAAiC,EACjC,kCAAkC,EAClC,kCAAkC,EAClC,4BAA4B,EAC7B,MAAM,uCAAuC,CAAC;AAG/C,gEAAgE;AAChE,MAAM,WAAW,2BAA2B;IAC1C,+DAA+D;IAC/D,KAAK,EAAE,iCAAiC,EAAE,CAAC;IAC3C,kFAAkF;IAClF,QAAQ,EAAE,CAAC,OAAO,EAAE,iCAAiC,EAAE,KAAK,IAAI,CAAC;IACjE,qIAAqI;IACrI,sBAAsB,CAAC,EAAE,kCAAkC,EAAE,CAAC;IAC9D,2DAA2D;IAC3D,MAAM,EAAE,kCAAkC,CAAC;IAC3C,kDAAkD;IAClD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oFAAoF;IACpF,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,8HAA8H;IAC9H,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,yDAAyD;IACzD,MAAM,CAAC,EAAE,4BAA4B,CAAC;CACvC;AAeD,sRAAsR;AACtR,eAAO,MAAM,sBAAsB,EAAE,EAAE,CAAC,2BAA2B,CAqPlE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EditorLayout.d.ts","sourceRoot":"","sources":["../../../src/components/EditorLayout/EditorLayout.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAiB,EAAE,EAAsC,MAAM,OAAO,CAAC;AAE9E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAS1E;;;;;;GAMG;AACH,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,
|
|
1
|
+
{"version":3,"file":"EditorLayout.d.ts","sourceRoot":"","sources":["../../../src/components/EditorLayout/EditorLayout.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAiB,EAAE,EAAsC,MAAM,OAAO,CAAC;AAE9E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAS1E;;;;;;GAMG;AACH,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CA4K9C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EditorSection.d.ts","sourceRoot":"","sources":["../../../src/components/EditorSection/EditorSection.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAG5E,yEAAyE;AACzE,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,
|
|
1
|
+
{"version":3,"file":"EditorSection.d.ts","sourceRoot":"","sources":["../../../src/components/EditorSection/EditorSection.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAG5E,yEAAyE;AACzE,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CAkChD,CAAC"}
|
package/index.css
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
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))}
|
|
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-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}.p-6{padding:1.5rem}.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}.
|
|
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}.p-6{padding:1.5rem}.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.d.ts
CHANGED
|
@@ -2,8 +2,8 @@ export { BuilderFormContainer } from './components/BuilderFormContainer/BuilderF
|
|
|
2
2
|
export type { BuilderFormContainerProps, BuilderFormContainerStyles, BuilderFormContainerColors, } from './models/builder-form-container-props';
|
|
3
3
|
export type { BuilderFormActionsLabels } from './models/builder-form-actions-props';
|
|
4
4
|
export type { BuilderFormHeaderLabels, BuilderFormHeaderStyles, BuilderFormHeaderColors, BuilderFormHeaderTypography, } from './models/builder-form-header-props';
|
|
5
|
-
export type { EditorSectionColors, EditorSectionProps, EditorSectionStyles, } from './models/editor-section-props';
|
|
6
|
-
export type { EditorLayoutColors, EditorLayoutProps, EditorLayoutLabels, EditorLayoutStyles, ResizableLeftColumn, } from './models/editor-layout-props';
|
|
5
|
+
export type { EditorSectionColors, EditorSectionProps, EditorSectionStyles, EditorSectionTypography, } from './models/editor-section-props';
|
|
6
|
+
export type { EditorLayoutColors, EditorLayoutProps, EditorLayoutLabels, EditorLayoutStyles, EditorLayoutTypography, ResizableLeftColumn, } from './models/editor-layout-props';
|
|
7
7
|
export type { AddAvatarProps, AddAvatarColors, AddAvatarStyles, } from './models/add-avatar-props';
|
|
8
8
|
export { EditorSection } from './components/EditorSection/EditorSection';
|
|
9
9
|
export { EditorLayout } from './components/EditorLayout/EditorLayout';
|
|
@@ -19,8 +19,8 @@ export type { EntityEditorLabels, EntityEditorProps, EntityEditorStyles, } from
|
|
|
19
19
|
export type { MetadataFormAvatarPicker, MetadataFormLabels, MetadataFormProps, } from './models/metadata-form-props';
|
|
20
20
|
export type { UseMetadataFormOptions, UseMetadataFormResult, } from './models/use-metadata-form';
|
|
21
21
|
export type { DeploymentLocalesFieldProps } from './components/DeploymentLocalesField/DeploymentLocalesField';
|
|
22
|
-
export type { AvatarPickerFileManagerModalProps, AvatarPickerModalLabels, AvatarPickerModalProps, } from './models/avatar-picker-modal';
|
|
23
|
-
export type { DeploymentCreationFormFieldErrors, DeploymentCreationFormFieldLabels, DeploymentCreationFormIconLabels, DeploymentCreationFormLabels, DeploymentCreationFormLocaleEntry, DeploymentCreationFormLocaleLabels, DeploymentCreationFormLocaleOption, DeploymentCreationFormProps, DeploymentCreationFormStyles, DeploymentCreationFormValues, } from './models/deployment-creation-form';
|
|
22
|
+
export type { AvatarPickerFileManagerModalProps, AvatarPickerModalColors, AvatarPickerModalLabels, AvatarPickerModalProps, AvatarPickerModalStyles, } from './models/avatar-picker-modal';
|
|
23
|
+
export type { DeploymentCreationFormFieldErrors, DeploymentCreationFormFieldLabels, DeploymentCreationFormIconLabels, DeploymentCreationFormLabels, DeploymentCreationFormLocaleEntry, DeploymentCreationFormLocaleLabels, DeploymentCreationFormLocaleOption, DeploymentCreationFormProps, DeploymentCreationFormStyles, DeploymentCreationFormValues, DeploymentLocalesFieldColors, } from './models/deployment-creation-form';
|
|
24
24
|
export type { DeploymentCreationFormErrorCodes, DeploymentCreationFormValidationOptions, } from './models/validation';
|
|
25
25
|
export { DeploymentCreationFieldErrorCode } from './models/validation';
|
|
26
26
|
export { DEFAULT_DEPLOYMENT_VERSION, NAME_PATTERN, SEMVER_VERSION_PATTERN, VERSION_PATTERN, validateDeploymentCreationFields, } from './utils/validate-deployment-creation-fields';
|
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,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAC;AACpF,YAAY,EACV,uBAAuB,EACvB,uBAAuB,EACvB,uBAAuB,EACvB,2BAA2B,GAC5B,MAAM,oCAAoC,CAAC;AAC5C,YAAY,EACV,mBAAmB,EACnB,kBAAkB,EAClB,mBAAmB,
|
|
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;AAC5C,YAA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gCAAgC,EAChC,4BAA4B,EAC5B,iCAAiC,EACjC,kCAAkC,EAClC,kCAAkC,EAClC,2BAA2B,EAC3B,4BAA4B,EAC5B,4BAA4B,EAC5B,4BAA4B,GAC7B,MAAM,mCAAmC,CAAC;AAC3C,YAAY,EACV,gCAAgC,EAChC,uCAAuC,GACxC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,gCAAgC,EAAE,MAAM,qBAAqB,CAAC;AACvE,OAAO,EACL,0BAA0B,EAC1B,YAAY,EACZ,sBAAsB,EACtB,eAAe,EACf,gCAAgC,GACjC,MAAM,6CAA6C,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAE,4BAA4B,EAAE,MAAM,2BAA2B,CAAC"}
|
package/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
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, LiveRegion as y, LiveRegionElement as b, LiveRegionPoliteness as x, NeutralButton as S, Popup as C, PrimaryButton as w, ResizeHandle as T, Select as E, Spinner as D, TagInput as O, Textarea as k, TextareaResize as A } from "@epam/ai-dial-ui-kit";
|
|
3
3
|
import { Fragment as j, jsx as M, jsxs as N } from "react/jsx-runtime";
|
|
4
|
-
import { IconArrowLeft as P, IconArrowNarrowLeft as F, IconPhoto as I, IconPlus as
|
|
5
|
-
import { Suspense as
|
|
4
|
+
import { IconArrowLeft as P, IconArrowNarrowLeft as F, IconPhoto as I, IconPlus as L, IconTrashX as ee } from "@tabler/icons-react";
|
|
5
|
+
import { Suspense as te, memo as ne, useCallback as R, useEffect as z, useId as B, useLayoutEffect as V, useMemo as H, useRef as U, useState as W } from "react";
|
|
6
6
|
//#region src/components/BuilderFormActions/BuilderFormActions.tsx
|
|
7
7
|
var G = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubmitDisabled: i = !1, isSubmitting: a = !1, buttonClassName: o }) => /* @__PURE__ */ N(j, { children: [/* @__PURE__ */ M(S, {
|
|
8
8
|
label: e.cancelButtonLabel,
|
|
@@ -23,7 +23,7 @@ var G = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
23
23
|
body: "_body_1xd7h_2",
|
|
24
24
|
sideColumn: "_sideColumn_1xd7h_6",
|
|
25
25
|
reservedColumn: "_reservedColumn_1xd7h_10"
|
|
26
|
-
}, re = s("flex flex-col desktop:min-h-0 desktop:overflow-y-auto", K.sideColumn),
|
|
26
|
+
}, re = s("flex flex-col desktop:min-h-0 desktop:overflow-y-auto", K.sideColumn), ie = ({ 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__ */ N("div", {
|
|
29
29
|
className: s("flex min-h-0 min-w-0 flex-1 flex-col overflow-y-auto desktop:flex-row desktop:overflow-hidden", K.body),
|
|
@@ -50,18 +50,18 @@ var G = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
50
50
|
})
|
|
51
51
|
]
|
|
52
52
|
});
|
|
53
|
-
},
|
|
53
|
+
}, q = {
|
|
54
54
|
header: "_header_lon83_4",
|
|
55
55
|
actions: "_actions_lon83_18",
|
|
56
56
|
title: "_title_lon83_27"
|
|
57
|
-
},
|
|
57
|
+
}, ae = ({ 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, v = i({
|
|
59
59
|
"--bfh-border": p?.borderColor,
|
|
60
60
|
"--bfh-font-family": _ ? void 0 : m?.fontFamily
|
|
61
61
|
});
|
|
62
62
|
return /* @__PURE__ */ N("div", {
|
|
63
63
|
style: v,
|
|
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", q.header),
|
|
65
65
|
children: [
|
|
66
66
|
/* @__PURE__ */ N("div", {
|
|
67
67
|
className: "flex min-w-0 flex-1 items-center gap-2",
|
|
@@ -75,12 +75,12 @@ var G = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
75
75
|
"aria-label": e.backButtonLabel,
|
|
76
76
|
onClick: t
|
|
77
77
|
}), /* @__PURE__ */ M("h1", {
|
|
78
|
-
className: s("truncate",
|
|
78
|
+
className: s("truncate", q.title, g),
|
|
79
79
|
children: e.title
|
|
80
80
|
})]
|
|
81
81
|
}),
|
|
82
82
|
/* @__PURE__ */ M("div", {
|
|
83
|
-
className: s("items-center gap-2",
|
|
83
|
+
className: s("items-center gap-2", q.actions),
|
|
84
84
|
children: /* @__PURE__ */ M(G, {
|
|
85
85
|
labels: e,
|
|
86
86
|
onCancel: n,
|
|
@@ -97,7 +97,7 @@ var G = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
97
97
|
})
|
|
98
98
|
]
|
|
99
99
|
});
|
|
100
|
-
},
|
|
100
|
+
}, J = {
|
|
101
101
|
container: "_container_14mfe_1",
|
|
102
102
|
footer: "_footer_14mfe_10"
|
|
103
103
|
}, oe = ({ 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 }) => {
|
|
@@ -107,9 +107,9 @@ var G = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
107
107
|
...i({ "--bfc-bg": g?.background }),
|
|
108
108
|
...v
|
|
109
109
|
},
|
|
110
|
-
className: s("flex h-full min-h-0 w-full flex-col overflow-hidden", u,
|
|
110
|
+
className: s("flex h-full min-h-0 w-full flex-col overflow-hidden", u, J.container),
|
|
111
111
|
children: [
|
|
112
|
-
/* @__PURE__ */ M(
|
|
112
|
+
/* @__PURE__ */ M(ae, {
|
|
113
113
|
labels: e,
|
|
114
114
|
onBack: t,
|
|
115
115
|
onCancel: n,
|
|
@@ -120,14 +120,14 @@ var G = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
120
120
|
backIcon: l,
|
|
121
121
|
styles: _
|
|
122
122
|
}),
|
|
123
|
-
/* @__PURE__ */ M(
|
|
123
|
+
/* @__PURE__ */ M(ie, {
|
|
124
124
|
left: d,
|
|
125
125
|
metadata: p,
|
|
126
126
|
layout: m,
|
|
127
127
|
children: f
|
|
128
128
|
}),
|
|
129
129
|
/* @__PURE__ */ M("div", {
|
|
130
|
-
className: s("sticky bottom-0 z-10 items-center gap-2 p-3 shadow-sm",
|
|
130
|
+
className: s("sticky bottom-0 z-10 items-center gap-2 p-3 shadow-sm", J.footer),
|
|
131
131
|
children: /* @__PURE__ */ M(G, {
|
|
132
132
|
labels: e,
|
|
133
133
|
onCancel: n,
|
|
@@ -158,7 +158,7 @@ var G = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
158
158
|
className: s("flex h-full flex-col gap-4 rounded border p-6", se.section, r, Y.section),
|
|
159
159
|
style: a,
|
|
160
160
|
children: [e != null && /* @__PURE__ */ M("h2", {
|
|
161
|
-
className: s("dial-h3-text", se.title),
|
|
161
|
+
className: s(n?.typography?.titleClassName ?? "dial-h3-text", se.title),
|
|
162
162
|
children: e
|
|
163
163
|
}), t]
|
|
164
164
|
});
|
|
@@ -170,12 +170,12 @@ var G = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
170
170
|
footerBorder: "_footerBorder_1adw2_5",
|
|
171
171
|
columnBorder: "_columnBorder_1adw2_10"
|
|
172
172
|
}, le = ({ title: e, onBack: t, backAriaLabel: n = "Back", actions: r, leftContent: a, centerContent: o, rightContent: c, resizableLeftColumn: l, isSaving: f = !1, labels: p, styles: m, dir: g }) => {
|
|
173
|
-
let _ =
|
|
173
|
+
let _ = B(), v = f ? p?.savingStatusLabel ?? "Saving" : "", x = U(null), [S, C] = W(), w = l != null && o != null, E = l?.minWidth, D = l?.maxWidth, O = {
|
|
174
174
|
min: E,
|
|
175
175
|
max: D,
|
|
176
176
|
containerWidth: S
|
|
177
177
|
}, k = w ? ce(l.width, O) : void 0, A = ce(D ?? 640, O);
|
|
178
|
-
|
|
178
|
+
z(() => {
|
|
179
179
|
let e = x.current;
|
|
180
180
|
if (!w || e == null || typeof ResizeObserver > "u") return;
|
|
181
181
|
let t = new ResizeObserver(() => C(e.clientWidth));
|
|
@@ -210,7 +210,7 @@ var G = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
210
210
|
"aria-label": n,
|
|
211
211
|
onClick: t
|
|
212
212
|
}), /* @__PURE__ */ M("h1", {
|
|
213
|
-
className: "dial-h2-text min-w-0 truncate",
|
|
213
|
+
className: s(m?.typography?.titleClassName ?? "dial-h2-text", "min-w-0 truncate"),
|
|
214
214
|
children: e
|
|
215
215
|
})]
|
|
216
216
|
}), r != null && /* @__PURE__ */ M("div", {
|
|
@@ -223,7 +223,7 @@ var G = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
223
223
|
className: "flex flex-1 flex-col overflow-y-auto desktop:flex-row desktop:overflow-hidden",
|
|
224
224
|
children: [
|
|
225
225
|
/* @__PURE__ */ M("div", {
|
|
226
|
-
className: s(o == null ? "desktop:flex-1" : "desktop:shrink-0 desktop:overflow-y-auto desktop:border-e", o != null && !w && "desktop:w-[400px]", w && "desktop:relative desktop:w-
|
|
226
|
+
className: s(o == null ? "desktop:flex-1" : "desktop:shrink-0 desktop:overflow-y-auto desktop:border-e", o != null && !w && "desktop:w-[400px]", w && "desktop:relative desktop:w-(--el-left-width)", "desktop:overflow-y-auto", o == null ? void 0 : Z.columnBorder),
|
|
227
227
|
style: k == null ? void 0 : { "--el-left-width": `${k}px` },
|
|
228
228
|
children: a
|
|
229
229
|
}),
|
|
@@ -250,7 +250,7 @@ var G = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
250
250
|
]
|
|
251
251
|
}),
|
|
252
252
|
r != null && /* @__PURE__ */ M("div", {
|
|
253
|
-
className: s("flex shrink-0 flex-row-reverse items-center gap-2 border-t px-4 py-2 desktop:hidden
|
|
253
|
+
className: s("flex shrink-0 flex-row-reverse items-center gap-2 border-t px-4 py-2 *:flex-1 desktop:hidden", Z.footerBorder),
|
|
254
254
|
children: r
|
|
255
255
|
})
|
|
256
256
|
]
|
|
@@ -259,16 +259,16 @@ var G = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
259
259
|
box: "_box_c9as8_1",
|
|
260
260
|
icon: "_icon_c9as8_6",
|
|
261
261
|
caption: "_caption_c9as8_10"
|
|
262
|
-
}, de = ({ label: e, avatarUrl: t, avatarAlt: n = "", addAvatarLabel: r = "Add avatar", captionText: a = "PNG, JPG or SVG (max 1 MB)", onAddAvatarClick: o,
|
|
263
|
-
let
|
|
264
|
-
"--aa-box-bg":
|
|
265
|
-
"--aa-box-border":
|
|
266
|
-
"--aa-icon":
|
|
267
|
-
"--aa-caption":
|
|
262
|
+
}, de = ({ label: e, avatarUrl: t, avatarAlt: n = "", addAvatarLabel: r = "Add avatar", captionText: a = "PNG, JPG or SVG (max 1 MB)", onAddAvatarClick: o, captionClassName: c = "dial-tiny-text", styles: l, className: f }) => {
|
|
263
|
+
let h = i({
|
|
264
|
+
"--aa-box-bg": l?.colors?.boxBackgroundColor,
|
|
265
|
+
"--aa-box-border": l?.colors?.boxBorderColor,
|
|
266
|
+
"--aa-icon": l?.colors?.placeholderIconColor,
|
|
267
|
+
"--aa-caption": l?.colors?.captionColor
|
|
268
268
|
});
|
|
269
269
|
return /* @__PURE__ */ N("div", {
|
|
270
|
-
className: s("flex flex-col gap-2",
|
|
271
|
-
style:
|
|
270
|
+
className: s("flex flex-col gap-2", f),
|
|
271
|
+
style: h,
|
|
272
272
|
children: [/* @__PURE__ */ M(_, { label: e }), /* @__PURE__ */ N("div", {
|
|
273
273
|
className: "flex items-start gap-3",
|
|
274
274
|
children: [/* @__PURE__ */ M("div", {
|
|
@@ -287,7 +287,7 @@ var G = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
287
287
|
className: "flex flex-col gap-3",
|
|
288
288
|
children: [/* @__PURE__ */ M(m, {
|
|
289
289
|
size: p.Small,
|
|
290
|
-
iconBefore: /* @__PURE__ */ M(
|
|
290
|
+
iconBefore: /* @__PURE__ */ M(L, {
|
|
291
291
|
size: u.SM,
|
|
292
292
|
stroke: d,
|
|
293
293
|
"aria-hidden": !0
|
|
@@ -296,22 +296,29 @@ var G = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
296
296
|
label: r,
|
|
297
297
|
onClick: o
|
|
298
298
|
}), /* @__PURE__ */ M("span", {
|
|
299
|
-
className: s(
|
|
299
|
+
className: s(c, ue.caption),
|
|
300
300
|
children: a
|
|
301
301
|
})]
|
|
302
302
|
})]
|
|
303
303
|
})]
|
|
304
304
|
});
|
|
305
|
-
}, fe =
|
|
306
|
-
|
|
307
|
-
|
|
305
|
+
}, fe = {
|
|
306
|
+
confirmText: "_confirmText_19ec1_1",
|
|
307
|
+
confirmItem: "_confirmItem_19ec1_5"
|
|
308
|
+
}, pe = ({ isOpen: e, onClose: t, onAttach: n, bucket: r, FileManagerModal: a, allowedMimeTypes: o, maxFileSizeBytes: c, labels: l, confirmBodyClassName: u = "dial-small-text", styles: d }) => {
|
|
309
|
+
let f = d?.colors?.confirmText, p = d?.colors?.confirmItemText, m = R((e) => e.length === 1 ? l.deleteConfirmTitleSingle : l.deleteConfirmTitleMultiple, [l.deleteConfirmTitleSingle, l.deleteConfirmTitleMultiple]), h = R((e) => /* @__PURE__ */ M("div", {
|
|
310
|
+
className: s(u, "px-6 py-3"),
|
|
311
|
+
style: i({
|
|
312
|
+
"--apm-confirm-text": f,
|
|
313
|
+
"--apm-confirm-item-text": p
|
|
314
|
+
}),
|
|
308
315
|
children: /* @__PURE__ */ M("p", {
|
|
309
|
-
className: "mb-3
|
|
316
|
+
className: s("mb-3", fe.confirmText),
|
|
310
317
|
children: e.length === 1 ? /* @__PURE__ */ N(j, { children: [
|
|
311
|
-
|
|
318
|
+
l.deleteConfirmSingleText,
|
|
312
319
|
" ",
|
|
313
320
|
/* @__PURE__ */ N("span", {
|
|
314
|
-
className: "wrap-break-word
|
|
321
|
+
className: s("wrap-break-word", fe.confirmItem),
|
|
315
322
|
children: [
|
|
316
323
|
"\"",
|
|
317
324
|
e[0].split("/").pop(),
|
|
@@ -319,158 +326,169 @@ var G = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
319
326
|
]
|
|
320
327
|
})
|
|
321
328
|
] }) : /* @__PURE__ */ N(j, { children: [
|
|
322
|
-
|
|
329
|
+
l.deleteConfirmMultipleText,
|
|
323
330
|
" ",
|
|
324
331
|
/* @__PURE__ */ N("span", {
|
|
325
|
-
className:
|
|
332
|
+
className: fe.confirmItem,
|
|
326
333
|
children: [
|
|
327
334
|
e.length,
|
|
328
335
|
" ",
|
|
329
|
-
|
|
336
|
+
l.deleteConfirmItemsLabel
|
|
330
337
|
]
|
|
331
338
|
})
|
|
332
339
|
] })
|
|
333
340
|
})
|
|
334
341
|
}), [
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
342
|
+
l.deleteConfirmSingleText,
|
|
343
|
+
l.deleteConfirmMultipleText,
|
|
344
|
+
l.deleteConfirmItemsLabel,
|
|
345
|
+
f,
|
|
346
|
+
p,
|
|
347
|
+
u
|
|
338
348
|
]);
|
|
339
|
-
return /* @__PURE__ */ M(
|
|
349
|
+
return /* @__PURE__ */ M(te, {
|
|
340
350
|
fallback: null,
|
|
341
|
-
children: e && /* @__PURE__ */ M(
|
|
351
|
+
children: e && /* @__PURE__ */ M(a, {
|
|
342
352
|
isOpen: e,
|
|
343
353
|
onClose: t,
|
|
344
354
|
onAttach: n,
|
|
345
355
|
bucket: r,
|
|
346
|
-
allowedTypes:
|
|
347
|
-
maxSelectableFileSize:
|
|
356
|
+
allowedTypes: o,
|
|
357
|
+
maxSelectableFileSize: c,
|
|
348
358
|
maximumAttachmentsAmount: 1,
|
|
349
359
|
canAttachFolders: !1,
|
|
350
|
-
title:
|
|
351
|
-
attachLabel:
|
|
352
|
-
emptyTitle:
|
|
353
|
-
emptyDescription:
|
|
354
|
-
errorMessage:
|
|
355
|
-
retryLabel:
|
|
356
|
-
hiddenFilesLabel:
|
|
357
|
-
showHiddenFilesLabel:
|
|
358
|
-
hideHiddenFilesLabel:
|
|
359
|
-
getSelectionLabel:
|
|
360
|
-
uploadFilesLabel:
|
|
361
|
-
newFolderLabel:
|
|
362
|
-
downloadLabel:
|
|
363
|
-
downloadingLabel:
|
|
364
|
-
deleteLabel:
|
|
365
|
-
deletingLabel:
|
|
366
|
-
deleteConfirmTitle:
|
|
367
|
-
deleteConfirmBody:
|
|
368
|
-
deleteConfirmLabel:
|
|
369
|
-
deleteCancelLabel:
|
|
360
|
+
title: l.title,
|
|
361
|
+
attachLabel: l.attachLabel,
|
|
362
|
+
emptyTitle: l.emptyTitle,
|
|
363
|
+
emptyDescription: l.emptyDescription,
|
|
364
|
+
errorMessage: l.errorMessage,
|
|
365
|
+
retryLabel: l.retryLabel,
|
|
366
|
+
hiddenFilesLabel: l.hiddenFilesLabel,
|
|
367
|
+
showHiddenFilesLabel: l.showHiddenFilesLabel,
|
|
368
|
+
hideHiddenFilesLabel: l.hideHiddenFilesLabel,
|
|
369
|
+
getSelectionLabel: l.getSelectionLabel,
|
|
370
|
+
uploadFilesLabel: l.uploadFilesLabel,
|
|
371
|
+
newFolderLabel: l.newFolderLabel,
|
|
372
|
+
downloadLabel: l.downloadLabel,
|
|
373
|
+
downloadingLabel: l.downloadingLabel,
|
|
374
|
+
deleteLabel: l.deleteLabel,
|
|
375
|
+
deletingLabel: l.deletingLabel,
|
|
376
|
+
deleteConfirmTitle: m,
|
|
377
|
+
deleteConfirmBody: h,
|
|
378
|
+
deleteConfirmLabel: l.deleteConfirmLabel,
|
|
379
|
+
deleteCancelLabel: l.deleteCancelLabel
|
|
370
380
|
})
|
|
371
381
|
});
|
|
372
382
|
}, Q = /* @__PURE__ */ function(e) {
|
|
373
383
|
return e.Avatar = "avatar", e.Name = "name", e.Version = "version", e.Description = "description", e.Locales = "locales", e.Tags = "tags", e;
|
|
374
|
-
}({}),
|
|
384
|
+
}({}), me = [
|
|
375
385
|
"avatar",
|
|
376
386
|
"name",
|
|
377
387
|
"version",
|
|
378
388
|
"description",
|
|
379
389
|
"locales",
|
|
380
390
|
"tags"
|
|
381
|
-
],
|
|
391
|
+
], he = {
|
|
392
|
+
summary: "_summary_1hlc9_1",
|
|
393
|
+
rowLabel: "_rowLabel_1hlc9_5"
|
|
394
|
+
}, ge = (e, t, n) => ({
|
|
382
395
|
id: e,
|
|
383
396
|
language: n.find((e) => !t.has(e.code))?.code ?? "",
|
|
384
397
|
name: "",
|
|
385
398
|
description: ""
|
|
386
|
-
}),
|
|
387
|
-
let
|
|
388
|
-
|
|
389
|
-
|
|
399
|
+
}), _e = ({ value: e, onChange: t, availableLocaleOptions: r = [], labels: a, className: o, summaryClassName: m = "dial-body-text", rowLabelClassName: h = "dial-tiny-lead-text", colors: _ }) => {
|
|
400
|
+
let y = i({
|
|
401
|
+
"--dlf-summary-text": _?.summaryText,
|
|
402
|
+
"--dlf-row-label-text": _?.rowLabelText
|
|
403
|
+
}), { summaryLabel: b, addLabel: x, editLabel: S, popupTitle: w, addLocaleLabel: T, localeRowLabel: D = "Locale", languageLabel: O, nameLabel: j, namePlaceholder: P, descriptionLabel: F, descriptionPlaceholder: I, deleteAriaLabel: te, cancelLabel: ne = "Cancel", saveLabel: R = "Save" } = a, [B, V] = W(!1), [H, G] = W([]), K = U(0);
|
|
404
|
+
z(() => {
|
|
405
|
+
B && G(e.length > 0 ? e : [ge(`locale-row-${++K.current}`, /* @__PURE__ */ new Set(), r)]);
|
|
390
406
|
}, [
|
|
391
|
-
|
|
407
|
+
B,
|
|
392
408
|
e,
|
|
393
409
|
r
|
|
394
410
|
]);
|
|
395
|
-
let
|
|
396
|
-
t(
|
|
397
|
-
},
|
|
398
|
-
let e = new Set(
|
|
399
|
-
|
|
400
|
-
},
|
|
401
|
-
|
|
411
|
+
let re = () => V(!0), ie = () => V(!1), q = () => {
|
|
412
|
+
t(H.filter((e) => e.language && e.name)), V(!1);
|
|
413
|
+
}, ae = () => {
|
|
414
|
+
let e = new Set(H.map((e) => e.language).filter(Boolean));
|
|
415
|
+
G((t) => [...t, ge(`locale-row-${++K.current}`, e, r)]);
|
|
416
|
+
}, J = (e, t) => {
|
|
417
|
+
G((n) => n.map((n) => n.id === e ? {
|
|
402
418
|
...n,
|
|
403
419
|
...t
|
|
404
420
|
} : n));
|
|
405
|
-
},
|
|
406
|
-
|
|
407
|
-
},
|
|
421
|
+
}, oe = (e) => {
|
|
422
|
+
G((t) => t.filter((t) => t.id !== e));
|
|
423
|
+
}, Y = (e) => r.find((t) => t.code === e)?.label ?? e.toUpperCase(), se = H.some((e) => !e.language || !e.name);
|
|
408
424
|
return r.length === 0 ? null : /* @__PURE__ */ N("div", {
|
|
409
|
-
className: s("flex items-center gap-2",
|
|
425
|
+
className: s("flex items-center gap-2", o),
|
|
426
|
+
style: y,
|
|
410
427
|
children: [
|
|
411
428
|
e.length > 0 && /* @__PURE__ */ M("span", {
|
|
412
|
-
className:
|
|
413
|
-
children: `${
|
|
429
|
+
className: s(he.summary, m),
|
|
430
|
+
children: `${b}: ${e.map((e) => `[${Y(e.language)}]`).join(", ")}`
|
|
414
431
|
}),
|
|
415
432
|
/* @__PURE__ */ M(v, {
|
|
416
|
-
label: e.length > 0 ?
|
|
417
|
-
iconBefore: /* @__PURE__ */ M(
|
|
433
|
+
label: e.length > 0 ? S : x,
|
|
434
|
+
iconBefore: /* @__PURE__ */ M(L, {
|
|
418
435
|
size: u.SM,
|
|
419
436
|
"aria-hidden": !0,
|
|
420
437
|
stroke: d
|
|
421
438
|
}),
|
|
422
439
|
className: "px-0!",
|
|
423
|
-
onClick:
|
|
440
|
+
onClick: re
|
|
424
441
|
}),
|
|
425
442
|
/* @__PURE__ */ M(C, {
|
|
426
|
-
open:
|
|
427
|
-
header:
|
|
428
|
-
onClose:
|
|
443
|
+
open: B,
|
|
444
|
+
header: w,
|
|
445
|
+
onClose: ie,
|
|
429
446
|
mainButtons: [{
|
|
430
|
-
label:
|
|
431
|
-
onClick:
|
|
447
|
+
label: ne,
|
|
448
|
+
onClick: ie
|
|
432
449
|
}, {
|
|
433
|
-
label:
|
|
450
|
+
label: R,
|
|
434
451
|
variant: l.Primary,
|
|
435
|
-
disabled:
|
|
436
|
-
onClick:
|
|
452
|
+
disabled: se,
|
|
453
|
+
onClick: q
|
|
437
454
|
}],
|
|
438
455
|
children: /* @__PURE__ */ N("div", {
|
|
439
456
|
className: "flex flex-col gap-8 px-6 py-3",
|
|
440
|
-
|
|
441
|
-
|
|
457
|
+
style: y,
|
|
458
|
+
children: [H.map((e, t) => {
|
|
459
|
+
let i = new Set(H.filter((t) => t.id !== e.id).map((e) => e.language).filter(Boolean));
|
|
442
460
|
return /* @__PURE__ */ N("div", {
|
|
443
461
|
className: "flex flex-col gap-2",
|
|
444
462
|
children: [/* @__PURE__ */ N("div", {
|
|
445
463
|
className: "flex items-center justify-between",
|
|
446
464
|
children: [/* @__PURE__ */ N("span", {
|
|
447
|
-
className:
|
|
465
|
+
className: s(he.rowLabel, h),
|
|
448
466
|
children: [
|
|
449
|
-
|
|
467
|
+
D,
|
|
450
468
|
" ",
|
|
451
469
|
t + 1
|
|
452
470
|
]
|
|
453
471
|
}), /* @__PURE__ */ M(f, {
|
|
454
472
|
appearance: c.Ghost,
|
|
455
473
|
size: p.Small,
|
|
456
|
-
icon: /* @__PURE__ */ M(
|
|
474
|
+
icon: /* @__PURE__ */ M(ee, {
|
|
457
475
|
size: u.SM,
|
|
458
476
|
"aria-hidden": !0,
|
|
459
477
|
stroke: d
|
|
460
478
|
}),
|
|
461
|
-
"aria-label": `${
|
|
462
|
-
onClick: () =>
|
|
479
|
+
"aria-label": `${te} ${t + 1}`,
|
|
480
|
+
onClick: () => oe(e.id)
|
|
463
481
|
})]
|
|
464
482
|
}), /* @__PURE__ */ N("div", {
|
|
465
483
|
role: "group",
|
|
466
|
-
"aria-label": `${
|
|
484
|
+
"aria-label": `${D} ${t + 1}`,
|
|
467
485
|
className: "flex flex-col gap-5",
|
|
468
486
|
children: [/* @__PURE__ */ N("div", {
|
|
469
487
|
className: "flex flex-col gap-5 desktop:flex-row desktop:items-start",
|
|
470
488
|
children: [/* @__PURE__ */ M(E, {
|
|
471
489
|
id: `${e.id}-language`,
|
|
472
490
|
labelProps: {
|
|
473
|
-
label:
|
|
491
|
+
label: O,
|
|
474
492
|
required: !0
|
|
475
493
|
},
|
|
476
494
|
className: "desktop:shrink-0 desktop:basis-40",
|
|
@@ -480,48 +498,48 @@ var G = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
480
498
|
disabled: i.has(e.code)
|
|
481
499
|
})),
|
|
482
500
|
value: e.language,
|
|
483
|
-
onChange: (t) =>
|
|
501
|
+
onChange: (t) => J(e.id, { language: t })
|
|
484
502
|
}), /* @__PURE__ */ M(g, {
|
|
485
503
|
id: `${e.id}-name`,
|
|
486
504
|
containerClassName: "min-w-0 flex-1",
|
|
487
505
|
required: !0,
|
|
488
506
|
value: e.name,
|
|
489
|
-
onChange: (t) =>
|
|
507
|
+
onChange: (t) => J(e.id, { name: t ?? "" }),
|
|
490
508
|
labelProps: {
|
|
491
|
-
label:
|
|
509
|
+
label: j,
|
|
492
510
|
required: !0
|
|
493
511
|
},
|
|
494
|
-
placeholder:
|
|
512
|
+
placeholder: P
|
|
495
513
|
})]
|
|
496
514
|
}), /* @__PURE__ */ M(k, {
|
|
497
515
|
id: `${e.id}-description`,
|
|
498
516
|
className: n,
|
|
499
517
|
resize: A.Vertical,
|
|
500
518
|
value: e.description,
|
|
501
|
-
onChange: (t) =>
|
|
502
|
-
labelProps: { label:
|
|
503
|
-
placeholder:
|
|
519
|
+
onChange: (t) => J(e.id, { description: t }),
|
|
520
|
+
labelProps: { label: F },
|
|
521
|
+
placeholder: I
|
|
504
522
|
})]
|
|
505
523
|
})]
|
|
506
524
|
}, e.id);
|
|
507
525
|
}), /* @__PURE__ */ M(v, {
|
|
508
|
-
label:
|
|
509
|
-
iconBefore: /* @__PURE__ */ M(
|
|
526
|
+
label: T,
|
|
527
|
+
iconBefore: /* @__PURE__ */ M(L, {
|
|
510
528
|
size: u.SM,
|
|
511
529
|
"aria-hidden": !0,
|
|
512
530
|
stroke: d
|
|
513
531
|
}),
|
|
514
532
|
className: "self-start",
|
|
515
|
-
onClick:
|
|
516
|
-
disabled:
|
|
533
|
+
onClick: ae,
|
|
534
|
+
disabled: H.length >= r.length
|
|
517
535
|
})]
|
|
518
536
|
})
|
|
519
537
|
})
|
|
520
538
|
]
|
|
521
539
|
});
|
|
522
|
-
},
|
|
540
|
+
}, ve = "Add tags, comma separated", ye = "deployment-creation-form-description", be = ({ values: e, errors: t, onChange: i, onNameBlur: a, onVersionBlur: o, iconPreviewUrl: c, onAddAvatarClick: l, labels: u, styles: d, availableLocaleOptions: f = [], fields: p = me, isNameReadOnly: m = !1, nameReadOnlyTooltip: h, nameCaption: _, isDescriptionRequired: v = !1, descriptionCaption: y, renderDescription: b, focusRequestKey: x }) => {
|
|
523
541
|
let S = U(null), C = U(null), w = U(null), T = U(!1), E = (e) => p.includes(e), D = E(Q.Name), j = E(Q.Version), P = !!(t.name || t.version || t.description), F = U(x);
|
|
524
|
-
|
|
542
|
+
z(() => {
|
|
525
543
|
let e = () => {
|
|
526
544
|
t.name ? S.current?.focus() : t.version ? C.current?.focus() : t.description && w.current?.focus();
|
|
527
545
|
};
|
|
@@ -534,7 +552,7 @@ var G = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
534
552
|
t.description
|
|
535
553
|
]);
|
|
536
554
|
let I = /* @__PURE__ */ M(k, {
|
|
537
|
-
id:
|
|
555
|
+
id: ye,
|
|
538
556
|
ref: w,
|
|
539
557
|
value: e.description,
|
|
540
558
|
onChange: (e) => i({ description: e }),
|
|
@@ -598,21 +616,22 @@ var G = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
598
616
|
}),
|
|
599
617
|
E(Q.Description) && (b ? /* @__PURE__ */ M("div", {
|
|
600
618
|
className: d?.field,
|
|
601
|
-
children: b(I,
|
|
619
|
+
children: b(I, ye)
|
|
602
620
|
}) : I),
|
|
603
|
-
E(Q.Locales) && /* @__PURE__ */ M(
|
|
621
|
+
E(Q.Locales) && /* @__PURE__ */ M(_e, {
|
|
604
622
|
value: e.otherLocales,
|
|
605
623
|
onChange: (e) => i({ otherLocales: e }),
|
|
606
624
|
availableLocaleOptions: f,
|
|
607
625
|
labels: u.otherLocales,
|
|
608
|
-
className: d?.field
|
|
626
|
+
className: d?.field,
|
|
627
|
+
colors: d?.localesColors
|
|
609
628
|
}),
|
|
610
629
|
E(Q.Tags) && /* @__PURE__ */ M("div", {
|
|
611
630
|
className: d?.field,
|
|
612
631
|
children: /* @__PURE__ */ M(O, {
|
|
613
632
|
id: "deployment-creation-form-topics",
|
|
614
633
|
labelProps: { label: u.topics.label },
|
|
615
|
-
placeholder: u.topics.placeholder ??
|
|
634
|
+
placeholder: u.topics.placeholder ?? ve,
|
|
616
635
|
value: e.topics,
|
|
617
636
|
onChange: (e) => i({ topics: e }),
|
|
618
637
|
tagClassName: r
|
|
@@ -620,10 +639,10 @@ var G = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
620
639
|
})
|
|
621
640
|
]
|
|
622
641
|
});
|
|
623
|
-
},
|
|
642
|
+
}, xe = "border-0 p-4 desktop:p-8", Se = "desktop:flex-1", Ce = "px-4 pt-4 desktop:px-6 desktop:pt-6", we = ne(({ 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 }) => {
|
|
624
643
|
let k = /* @__PURE__ */ M(y, {
|
|
625
644
|
politeness: x.Assertive,
|
|
626
|
-
className: v == null ? void 0 :
|
|
645
|
+
className: v == null ? void 0 : Ce,
|
|
627
646
|
children: v
|
|
628
647
|
}), A = p != null;
|
|
629
648
|
return /* @__PURE__ */ M(le, {
|
|
@@ -640,7 +659,7 @@ var G = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
640
659
|
rightContent: h == null ? void 0 : /* @__PURE__ */ M(X, {
|
|
641
660
|
title: g,
|
|
642
661
|
styles: D?.section,
|
|
643
|
-
className: s(
|
|
662
|
+
className: s(xe, _, Y.asideSection),
|
|
644
663
|
children: h
|
|
645
664
|
}),
|
|
646
665
|
styles: D?.layout,
|
|
@@ -659,7 +678,7 @@ var G = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
659
678
|
/* @__PURE__ */ M(X, {
|
|
660
679
|
title: d === null ? void 0 : d ?? E?.metadataTitle ?? "Metadata",
|
|
661
680
|
styles: D?.section,
|
|
662
|
-
className: s(
|
|
681
|
+
className: s(xe, C, Y.metadataSection),
|
|
663
682
|
children: u
|
|
664
683
|
}),
|
|
665
684
|
f
|
|
@@ -667,11 +686,11 @@ var G = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
667
686
|
centerContent: A ? /* @__PURE__ */ N(j, { children: [k, /* @__PURE__ */ M(X, {
|
|
668
687
|
title: m === null ? void 0 : m ?? E?.setupTitle ?? "Setup",
|
|
669
688
|
styles: D?.section,
|
|
670
|
-
className: s(
|
|
689
|
+
className: s(xe, Se, T, Y.setupSection),
|
|
671
690
|
children: p
|
|
672
691
|
})] }) : void 0
|
|
673
692
|
});
|
|
674
|
-
}),
|
|
693
|
+
}), Te = {
|
|
675
694
|
name: {
|
|
676
695
|
label: "Name",
|
|
677
696
|
placeholder: "Enter name"
|
|
@@ -710,7 +729,7 @@ var G = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
710
729
|
saveLabel: "Save"
|
|
711
730
|
},
|
|
712
731
|
ariaLabel: "Metadata"
|
|
713
|
-
},
|
|
732
|
+
}, Ee = {
|
|
714
733
|
title: "Add avatar",
|
|
715
734
|
attachLabel: "Attach",
|
|
716
735
|
emptyTitle: "This folder is empty",
|
|
@@ -734,12 +753,12 @@ var G = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
734
753
|
deleteConfirmItemsLabel: "items?",
|
|
735
754
|
deleteConfirmLabel: "Delete",
|
|
736
755
|
deleteCancelLabel: "Cancel"
|
|
737
|
-
},
|
|
738
|
-
let [g, _] = W(!1), v = H(() => a ? s : s.filter((e) => e !== Q.Avatar), [a, s]), y = e.iconUrl, b = a?.resolveIconUrl, x = H(() => b ? b(y) : void 0, [y, b]), S =
|
|
756
|
+
}, De = ne(({ 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
|
+
let [g, _] = W(!1), v = H(() => a ? s : s.filter((e) => e !== Q.Avatar), [a, s]), y = e.iconUrl, b = a?.resolveIconUrl, x = H(() => b ? b(y) : void 0, [y, b]), S = R(() => _(!0), []), C = R(() => _(!1), []), w = a?.resolveAttachedIconUrl, T = R((e) => {
|
|
739
758
|
let t = w?.(e);
|
|
740
759
|
t && n({ iconUrl: t }), _(!1);
|
|
741
760
|
}, [n, w]);
|
|
742
|
-
return /* @__PURE__ */ N(j, { children: [/* @__PURE__ */ M(
|
|
761
|
+
return /* @__PURE__ */ N(j, { children: [/* @__PURE__ */ M(be, {
|
|
743
762
|
values: e,
|
|
744
763
|
errors: t,
|
|
745
764
|
onChange: n,
|
|
@@ -747,7 +766,7 @@ var G = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
747
766
|
onVersionBlur: i,
|
|
748
767
|
iconPreviewUrl: x,
|
|
749
768
|
onAddAvatarClick: S,
|
|
750
|
-
labels: h?.form ??
|
|
769
|
+
labels: h?.form ?? Te,
|
|
751
770
|
availableLocaleOptions: o,
|
|
752
771
|
fields: v,
|
|
753
772
|
isNameReadOnly: c,
|
|
@@ -757,7 +776,7 @@ var G = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
757
776
|
descriptionCaption: f,
|
|
758
777
|
renderDescription: p,
|
|
759
778
|
focusRequestKey: m
|
|
760
|
-
}), a && /* @__PURE__ */ M(
|
|
779
|
+
}), a && /* @__PURE__ */ M(pe, {
|
|
761
780
|
isOpen: g,
|
|
762
781
|
onClose: C,
|
|
763
782
|
onAttach: T,
|
|
@@ -765,26 +784,26 @@ var G = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
765
784
|
FileManagerModal: a.FileManagerModal,
|
|
766
785
|
allowedMimeTypes: a.allowedMimeTypes,
|
|
767
786
|
maxFileSizeBytes: a.maxFileSizeBytes,
|
|
768
|
-
labels: h?.avatarPicker ??
|
|
787
|
+
labels: h?.avatarPicker ?? Ee
|
|
769
788
|
})] });
|
|
770
789
|
}), $ = /* @__PURE__ */ function(e) {
|
|
771
790
|
return e.Required = "required", e.InvalidFormat = "invalid-format", e.TooLong = "too-long", e.ControlCharacters = "control-characters", e;
|
|
772
|
-
}({}),
|
|
791
|
+
}({}), Oe = (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), ke = (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]) && Oe(e.otherLocales, t.otherLocales), Ae = (e) => Object.values(e).every((e) => e == null), je = /^[a-zA-Z0-9 _.-]+$/, Me = /^[a-zA-Z0-9._-]+$/, Ne = /^\d+(\.\d+)*$/, Pe = "1.0.0", Fe = (n, r = {}) => {
|
|
773
792
|
let i = {}, s = n.name.trim();
|
|
774
|
-
s ? a(s, t) ? i.name = $.TooLong : r.validateNamePattern && !
|
|
793
|
+
s ? a(s, t) ? i.name = $.TooLong : r.validateNamePattern && !je.test(s) ? i.name = $.InvalidFormat : o(s) && (i.name = $.ControlCharacters) : i.name = $.Required, a(n.description, e) && (i.description = $.TooLong);
|
|
775
794
|
let c = n.version.trim();
|
|
776
|
-
return r.validateVersionPattern && c && ((r.validateVersionPattern instanceof RegExp ? r.validateVersionPattern :
|
|
777
|
-
},
|
|
795
|
+
return r.validateVersionPattern && c && ((r.validateVersionPattern instanceof RegExp ? r.validateVersionPattern : Me).test(c) || (i.version = $.InvalidFormat)), i;
|
|
796
|
+
}, Ie = /* @__PURE__ */ new Set([$.TooLong, $.ControlCharacters]), Le = (e, t) => ({
|
|
778
797
|
reseedKey: t,
|
|
779
798
|
values: e,
|
|
780
799
|
baseline: e,
|
|
781
800
|
touched: {},
|
|
782
801
|
hasAttemptedSubmit: !1,
|
|
783
802
|
submitAttemptCount: 0
|
|
784
|
-
}),
|
|
785
|
-
let [r, i] = W(() =>
|
|
786
|
-
r.reseedKey !== n && i(
|
|
787
|
-
let a = t?.validateNamePattern, o = t?.validateVersionPattern, s = H(() =>
|
|
803
|
+
}), Re = ({ initialValues: e, validationOptions: t, reseedKey: n }) => {
|
|
804
|
+
let [r, i] = W(() => Le(e, n));
|
|
805
|
+
r.reseedKey !== n && i(Le(e, n));
|
|
806
|
+
let a = t?.validateNamePattern, o = t?.validateVersionPattern, s = H(() => Fe(r.values, {
|
|
788
807
|
validateNamePattern: a,
|
|
789
808
|
validateVersionPattern: o
|
|
790
809
|
}), [
|
|
@@ -793,7 +812,7 @@ var G = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
793
812
|
o
|
|
794
813
|
]), c = H(() => {
|
|
795
814
|
if (r.hasAttemptedSubmit) return s;
|
|
796
|
-
let e = (e, t) => e && (t ||
|
|
815
|
+
let e = (e, t) => e && (t || Ie.has(e)) ? e : void 0;
|
|
797
816
|
return {
|
|
798
817
|
name: e(s.name, r.touched[Q.Name]),
|
|
799
818
|
version: e(s.version, r.touched[Q.Version]),
|
|
@@ -804,26 +823,26 @@ var G = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
804
823
|
r.hasAttemptedSubmit,
|
|
805
824
|
r.touched
|
|
806
825
|
]), l = U(s), u = U(e);
|
|
807
|
-
|
|
826
|
+
V(() => {
|
|
808
827
|
l.current = s, u.current = e;
|
|
809
828
|
});
|
|
810
|
-
let d =
|
|
829
|
+
let d = R((e) => i((t) => ({
|
|
811
830
|
...t,
|
|
812
831
|
values: {
|
|
813
832
|
...t.values,
|
|
814
833
|
...e
|
|
815
834
|
}
|
|
816
|
-
})), []), f =
|
|
835
|
+
})), []), f = R((e) => i((t) => t.touched[e] ? t : {
|
|
817
836
|
...t,
|
|
818
837
|
touched: {
|
|
819
838
|
...t.touched,
|
|
820
839
|
[e]: !0
|
|
821
840
|
}
|
|
822
|
-
}), []), p =
|
|
841
|
+
}), []), p = R(() => (i((e) => ({
|
|
823
842
|
...e,
|
|
824
843
|
hasAttemptedSubmit: !0,
|
|
825
844
|
submitAttemptCount: e.submitAttemptCount + 1
|
|
826
|
-
})),
|
|
845
|
+
})), Ae(l.current)), []), m = R((e) => i((t) => Le(e ?? u.current, t.reseedKey)), []), h = H(() => !ke(r.values, r.baseline), [r.values, r.baseline]);
|
|
827
846
|
return H(() => ({
|
|
828
847
|
values: r.values,
|
|
829
848
|
setValues: d,
|
|
@@ -849,4 +868,4 @@ var G = ({ labels: e, onCancel: t, onSubmit: n, isCancelDisabled: r = !1, isSubm
|
|
|
849
868
|
]);
|
|
850
869
|
};
|
|
851
870
|
//#endregion
|
|
852
|
-
export { de as AddAvatar,
|
|
871
|
+
export { de as AddAvatar, pe as AvatarPickerModal, Y as BUILDER_FORM_CLASS, oe as BuilderFormContainer, Pe as DEFAULT_DEPLOYMENT_VERSION, Te as DEFAULT_METADATA_FORM_LABELS, $ as DeploymentCreationFieldErrorCode, be as DeploymentCreationForm, _e as DeploymentLocalesField, le as EditorLayout, X as EditorSection, we as EntityEditor, Q as MetadataField, De as MetadataForm, je as NAME_PATTERN, Ne as SEMVER_VERSION_PATTERN, Me as VERSION_PATTERN, Re as useMetadataForm, Fe as validateDeploymentCreationFields };
|
|
@@ -28,6 +28,8 @@ export interface AddAvatarProps {
|
|
|
28
28
|
captionText?: string;
|
|
29
29
|
/** Called when the "Add avatar" button is clicked. The host opens its own file picker/manager and, once a file is chosen, passes its URL back in as `avatarUrl`. */
|
|
30
30
|
onAddAvatarClick: () => void;
|
|
31
|
+
/** Typography class of the format/size caption. Defaults to `'dial-tiny-text'`. */
|
|
32
|
+
captionClassName?: string;
|
|
31
33
|
/** Style overrides applied via CSS custom properties. */
|
|
32
34
|
styles?: AddAvatarStyles;
|
|
33
35
|
/** Additional CSS class applied to the root element. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-avatar-props.d.ts","sourceRoot":"","sources":["../../src/models/add-avatar-props.ts"],"names":[],"mappings":"AAAA,qDAAqD;AACrD,MAAM,WAAW,eAAe;IAC9B,8GAA8G;IAC9G,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,8EAA8E;IAC9E,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,uGAAuG;IACvG,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,4EAA4E;IAC5E,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,uCAAuC;AACvC,MAAM,WAAW,eAAe;IAC9B,6BAA6B;IAC7B,MAAM,CAAC,EAAE,eAAe,CAAC;CAC1B;AAED,6BAA6B;AAC7B,MAAM,WAAW,cAAc;IAC7B,+EAA+E;IAC/E,KAAK,EAAE,MAAM,CAAC;IACd,4HAA4H;IAC5H,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,8HAA8H;IAC9H,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,qEAAqE;IACrE,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,6GAA6G;IAC7G,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,oKAAoK;IACpK,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,yDAAyD;IACzD,MAAM,CAAC,EAAE,eAAe,CAAC;IACzB,wDAAwD;IACxD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
|
|
1
|
+
{"version":3,"file":"add-avatar-props.d.ts","sourceRoot":"","sources":["../../src/models/add-avatar-props.ts"],"names":[],"mappings":"AAAA,qDAAqD;AACrD,MAAM,WAAW,eAAe;IAC9B,8GAA8G;IAC9G,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,8EAA8E;IAC9E,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,uGAAuG;IACvG,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,4EAA4E;IAC5E,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,uCAAuC;AACvC,MAAM,WAAW,eAAe;IAC9B,6BAA6B;IAC7B,MAAM,CAAC,EAAE,eAAe,CAAC;CAC1B;AAED,6BAA6B;AAC7B,MAAM,WAAW,cAAc;IAC7B,+EAA+E;IAC/E,KAAK,EAAE,MAAM,CAAC;IACd,4HAA4H;IAC5H,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,8HAA8H;IAC9H,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,qEAAqE;IACrE,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,6GAA6G;IAC7G,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,oKAAoK;IACpK,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,mFAAmF;IACnF,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,yDAAyD;IACzD,MAAM,CAAC,EAAE,eAAe,CAAC;IACzB,wDAAwD;IACxD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -112,6 +112,18 @@ export interface AvatarPickerFileManagerModalProps {
|
|
|
112
112
|
/** Whether folders can be selected. */
|
|
113
113
|
canAttachFolders?: boolean;
|
|
114
114
|
}
|
|
115
|
+
/** CSS custom property overrides for `AvatarPickerModal`. */
|
|
116
|
+
export interface AvatarPickerModalColors {
|
|
117
|
+
/** Text color of the delete-confirmation body. Defaults to `--text-secondary`. */
|
|
118
|
+
confirmText?: string;
|
|
119
|
+
/** Text color of the item name or count inside the delete-confirmation body. Defaults to `--text-primary`. */
|
|
120
|
+
confirmItemText?: string;
|
|
121
|
+
}
|
|
122
|
+
/** Style overrides for `AvatarPickerModal`. */
|
|
123
|
+
export interface AvatarPickerModalStyles {
|
|
124
|
+
/** Color overrides, applied as CSS custom properties. */
|
|
125
|
+
colors?: AvatarPickerModalColors;
|
|
126
|
+
}
|
|
115
127
|
/** Props accepted by the `AvatarPickerModal` component. */
|
|
116
128
|
export interface AvatarPickerModalProps {
|
|
117
129
|
/** Whether the modal is open. */
|
|
@@ -134,5 +146,9 @@ export interface AvatarPickerModalProps {
|
|
|
134
146
|
maxFileSizeBytes: number;
|
|
135
147
|
/** Pre-translated labels for the modal. */
|
|
136
148
|
labels: AvatarPickerModalLabels;
|
|
149
|
+
/** Typography class of the delete-confirmation body. Defaults to `'dial-small-text'`. */
|
|
150
|
+
confirmBodyClassName?: string;
|
|
151
|
+
/** Style overrides. */
|
|
152
|
+
styles?: AvatarPickerModalStyles;
|
|
137
153
|
}
|
|
138
154
|
//# sourceMappingURL=avatar-picker-modal.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"avatar-picker-modal.d.ts","sourceRoot":"","sources":["../../src/models/avatar-picker-modal.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEtD,+EAA+E;AAC/E,MAAM,WAAW,uBAAuB;IACtC,mBAAmB;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,2CAA2C;IAC3C,WAAW,EAAE,MAAM,CAAC;IACpB,wDAAwD;IACxD,UAAU,EAAE,MAAM,CAAC;IACnB,8DAA8D;IAC9D,gBAAgB,EAAE,MAAM,CAAC;IACzB,6CAA6C;IAC7C,YAAY,EAAE,MAAM,CAAC;IACrB,8CAA8C;IAC9C,UAAU,EA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EAAE,YAAY,KAAK,IAAI,CAAC;IACzC,4EAA4E;IAC5E,MAAM,EAAE,MAAM,CAAC;IACf,4FAA4F;IAC5F,gBAAgB,EAAE,aAAa,CAAC,iCAAiC,CAAC,CAAC;IACnE,6DAA6D;IAC7D,gBAAgB,EAAE,MAAM,EAAE,CAAC;IAC3B,2DAA2D;IAC3D,gBAAgB,EAAE,MAAM,CAAC;IACzB,2CAA2C;IAC3C,MAAM,EAAE,uBAAuB,CAAC;IAChC,yFAAyF;IACzF,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,uBAAuB;IACvB,MAAM,CAAC,EAAE,uBAAuB,CAAC;CAClC"}
|
|
@@ -93,12 +93,21 @@ export interface DeploymentCreationFormLabels {
|
|
|
93
93
|
/** Accessible name for the field set group. */
|
|
94
94
|
ariaLabel?: string;
|
|
95
95
|
}
|
|
96
|
+
/** CSS custom property overrides for `DeploymentLocalesField`. */
|
|
97
|
+
export interface DeploymentLocalesFieldColors {
|
|
98
|
+
/** Text color of the "Locales: [DE]" summary. Defaults to `--text-secondary`. */
|
|
99
|
+
summaryText?: string;
|
|
100
|
+
/** Text color of each popup row's "Locale N" heading. Defaults to `--text-secondary`. */
|
|
101
|
+
rowLabelText?: string;
|
|
102
|
+
}
|
|
96
103
|
/** Optional per-slot class name overrides for visual composition by the host app. */
|
|
97
104
|
export interface DeploymentCreationFormStyles {
|
|
98
105
|
/** Class applied to the root container. Defaults to a vertical flex stack. */
|
|
99
106
|
root?: string;
|
|
100
107
|
/** Class applied to each individual field wrapper. */
|
|
101
108
|
field?: string;
|
|
109
|
+
/** Color overrides forwarded to the additional-locales `DeploymentLocalesField`. */
|
|
110
|
+
localesColors?: DeploymentLocalesFieldColors;
|
|
102
111
|
}
|
|
103
112
|
/** Props accepted by the `DeploymentCreationForm` component. */
|
|
104
113
|
export interface DeploymentCreationFormProps {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deployment-creation-form.d.ts","sourceRoot":"","sources":["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AM,KAAK,SAAS,CAAC;IACxE;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B"}
|
|
@@ -28,10 +28,17 @@ export interface EditorLayoutColors {
|
|
|
28
28
|
/** Border color of the dividers between the side columns and the main column (the left sidebar and `rightContent`). Defaults to `--stroke-tertiary`. */
|
|
29
29
|
sidebarBorderColor?: string;
|
|
30
30
|
}
|
|
31
|
+
/** Typography class overrides for `EditorLayout`. */
|
|
32
|
+
export interface EditorLayoutTypography {
|
|
33
|
+
/** Typography class of the header title. Defaults to `'dial-h2-text'`. */
|
|
34
|
+
titleClassName?: string;
|
|
35
|
+
}
|
|
31
36
|
/** Style overrides for `EditorLayout`. */
|
|
32
37
|
export interface EditorLayoutStyles {
|
|
33
38
|
/** Color token overrides. */
|
|
34
39
|
colors?: EditorLayoutColors;
|
|
40
|
+
/** Typography class overrides. */
|
|
41
|
+
typography?: EditorLayoutTypography;
|
|
35
42
|
}
|
|
36
43
|
/** Props for `EditorLayout`. */
|
|
37
44
|
export interface EditorLayoutProps {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"editor-layout-props.d.ts","sourceRoot":"","sources":["../../src/models/editor-layout-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,yEAAyE;AACzE,MAAM,WAAW,kBAAkB;IACjC,iFAAiF;IACjF,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,gGAAgG;IAChG,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,oEAAoE;IACpE,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B;AAED,8DAA8D;AAC9D,MAAM,WAAW,mBAAmB;IAClC,8CAA8C;IAC9C,KAAK,EAAE,MAAM,CAAC;IACd,qGAAqG;IACrG,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,yEAAyE;IACzE,YAAY,CAAC,EAAE,MAAM,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WAAW,sBAAsB;IACrC,0EAA0E;IAC1E,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,0CAA0C;AAC1C,MAAM,WAAW,kBAAkB;IACjC,6BAA6B;IAC7B,MAAM,CAAC,EAAE,kBAAkB,CAAC;IAC5B,kCAAkC;IAClC,UAAU,CAAC,EAAE,sBAAsB,CAAC;CACrC;AAED,gCAAgC;AAChC,MAAM,WAAW,iBAAiB;IAChC,yDAAyD;IACzD,KAAK,EAAE,MAAM,CAAC;IACd,oDAAoD;IACpD,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,wEAAwE;IACxE,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,2EAA2E;IAC3E,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,wEAAwE;IACxE,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,sHAAsH;IACtH,aAAa,CAAC,EAAE,SAAS,CAAC;IAC1B;;;;;;OAMG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,2GAA2G;IAC3G,mBAAmB,CAAC,EAAE,mBAAmB,CAAC;IAC1C,0FAA0F;IAC1F,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,yCAAyC;IACzC,MAAM,CAAC,EAAE,kBAAkB,CAAC;IAC5B,yDAAyD;IACzD,MAAM,CAAC,EAAE,kBAAkB,CAAC;IAC5B,qFAAqF;IACrF,GAAG,CAAC,EAAE,KAAK,GAAG,KAAK,CAAC;CACrB"}
|
|
@@ -6,10 +6,17 @@ export interface EditorSectionColors {
|
|
|
6
6
|
/** Color of the section title heading. Defaults to `--text-primary`. */
|
|
7
7
|
titleColor?: string;
|
|
8
8
|
}
|
|
9
|
+
/** Typography class overrides for `EditorSection`. */
|
|
10
|
+
export interface EditorSectionTypography {
|
|
11
|
+
/** Typography class of the section title heading. Defaults to `'dial-h3-text'`. */
|
|
12
|
+
titleClassName?: string;
|
|
13
|
+
}
|
|
9
14
|
/** Style overrides for `EditorSection`. */
|
|
10
15
|
export interface EditorSectionStyles {
|
|
11
16
|
/** Color token overrides. */
|
|
12
17
|
colors?: EditorSectionColors;
|
|
18
|
+
/** Typography class overrides. */
|
|
19
|
+
typography?: EditorSectionTypography;
|
|
13
20
|
}
|
|
14
21
|
/** Props for `EditorSection`. */
|
|
15
22
|
export interface EditorSectionProps {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"editor-section-props.d.ts","sourceRoot":"","sources":["../../src/models/editor-section-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,yDAAyD;AACzD,MAAM,WAAW,mBAAmB;IAClC,yEAAyE;IACzE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,wEAAwE;IACxE,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,2CAA2C;AAC3C,MAAM,WAAW,mBAAmB;IAClC,6BAA6B;IAC7B,MAAM,CAAC,EAAE,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"editor-section-props.d.ts","sourceRoot":"","sources":["../../src/models/editor-section-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,yDAAyD;AACzD,MAAM,WAAW,mBAAmB;IAClC,yEAAyE;IACzE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,wEAAwE;IACxE,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,sDAAsD;AACtD,MAAM,WAAW,uBAAuB;IACtC,mFAAmF;IACnF,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,2CAA2C;AAC3C,MAAM,WAAW,mBAAmB;IAClC,6BAA6B;IAC7B,MAAM,CAAC,EAAE,mBAAmB,CAAC;IAC7B,kCAAkC;IAClC,UAAU,CAAC,EAAE,uBAAuB,CAAC;CACtC;AAED,iCAAiC;AACjC,MAAM,WAAW,kBAAkB;IACjC,wDAAwD;IACxD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,4BAA4B;IAC5B,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,kEAAkE;IAClE,MAAM,CAAC,EAAE,mBAAmB,CAAC;IAC7B,wDAAwD;IACxD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epam/ai-dial-builder-form",
|
|
3
3
|
"description": "Presentational builder form shells, editor layouts, and shared deployment field sets for composing and editing DIAL entities",
|
|
4
|
-
"version": "1.3.0-dev.
|
|
4
|
+
"version": "1.3.0-dev.259",
|
|
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.259",
|
|
24
24
|
"@epam/ai-dial-ui-kit": "^0.16.0-dev.56",
|
|
25
25
|
"react": "^19.2.8"
|
|
26
26
|
},
|