@epam/ai-dial-publish-panel 1.4.0-dev.106 → 1.4.0-dev.110
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/PublishPanel/PublishPanel.d.ts +18 -9
- package/components/PublishPanel/PublishPanel.d.ts.map +1 -1
- package/components/PublishPanel/StandalonePublishPanel.d.ts +7 -7
- package/components/PublishPanel/StandalonePublishPanel.d.ts.map +1 -1
- package/index.js +46 -46
- package/package.json +2 -2
|
@@ -139,10 +139,15 @@ export interface PublishPanelProps {
|
|
|
139
139
|
/**
|
|
140
140
|
* Display author recorded on the publication. An empty value is valid and
|
|
141
141
|
* never blocks submission — the host decides what an unset author means.
|
|
142
|
+
* Only rendered when `onAuthorChange` is supplied.
|
|
142
143
|
*/
|
|
143
|
-
author
|
|
144
|
-
/**
|
|
145
|
-
|
|
144
|
+
author?: string;
|
|
145
|
+
/**
|
|
146
|
+
* Called with the next author value on every edit. Supplying it is what
|
|
147
|
+
* renders the author field at all — a host that collects the author
|
|
148
|
+
* elsewhere omits it and gets a panel without the field.
|
|
149
|
+
*/
|
|
150
|
+
onAuthorChange?: (author: string) => void;
|
|
146
151
|
/**
|
|
147
152
|
* Whether the publication should carry the publisher's own credentials.
|
|
148
153
|
* Only rendered when `onPublishCredentialsChange` is supplied. Default:
|
|
@@ -156,12 +161,16 @@ export interface PublishPanelProps {
|
|
|
156
161
|
* own for the value.
|
|
157
162
|
*/
|
|
158
163
|
onPublishCredentialsChange?: (value: boolean) => void;
|
|
159
|
-
/** Current access rules, combined with AND. */
|
|
160
|
-
rules
|
|
161
|
-
/**
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
164
|
+
/** Current access rules, combined with AND. Default: `[]`. */
|
|
165
|
+
rules?: PublicationRule[];
|
|
166
|
+
/**
|
|
167
|
+
* Called with the full next rules array on add, remove, or clear. Supplying
|
|
168
|
+
* it is what renders the access-rules section at all — a host that does not
|
|
169
|
+
* manage rules here omits it and gets a panel without the section.
|
|
170
|
+
*/
|
|
171
|
+
onRulesChange?: (rules: PublicationRule[]) => void;
|
|
172
|
+
/** Options offered in the access-rules editor's source picker. Default: `[]`. */
|
|
173
|
+
ruleSourceOptions?: string[];
|
|
165
174
|
/** Whether existing rules are currently being fetched for the selected folder. Default: `false`. */
|
|
166
175
|
isRulesLoading?: boolean;
|
|
167
176
|
/** Whether the most recent existing-rules fetch failed. Default: `false`. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PublishPanel.d.ts","sourceRoot":"","sources":["../../../src/components/PublishPanel/PublishPanel.tsx"],"names":[],"mappings":"AAmBA,OAAO,EACL,EAAE,EACF,SAAS,EAMV,MAAM,OAAO,CAAC;AAEf,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AACzE,OAAO,EACL,eAAe,EAEf,iBAAiB,EACjB,sBAAsB,EACvB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,wCAAwC,CAAC;AACxF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AACzE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAC5E,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAC/E,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAE7D,OAAO,EAEL,wBAAwB,EACzB,MAAM,0CAA0C,CAAC;
|
|
1
|
+
{"version":3,"file":"PublishPanel.d.ts","sourceRoot":"","sources":["../../../src/components/PublishPanel/PublishPanel.tsx"],"names":[],"mappings":"AAmBA,OAAO,EACL,EAAE,EACF,SAAS,EAMV,MAAM,OAAO,CAAC;AAEf,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AACzE,OAAO,EACL,eAAe,EAEf,iBAAiB,EACjB,sBAAsB,EACvB,MAAM,sBAAsB,CAA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MAAM,EAAE,CAAC;IAC7B,oGAAoG;IACpG,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,6EAA6E;IAC7E,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,mDAAmD;IACnD,MAAM,CAAC,EAAE,kBAAkB,CAAC;IAC5B,mJAAmJ;IACnJ,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,sGAAsG;IACtG,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,2FAA2F;IAC3F,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,sJAAsJ;IACtJ,0BAA0B,CAAC,EAAE,MAAM,CAAC;IACpC,uBAAuB;IACvB,MAAM,CAAC,EAAE,kBAAkB,CAAC;CAC7B;AAED,+JAA+J;AAC/J,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CAuX9C,CAAC"}
|
|
@@ -72,15 +72,15 @@ export interface StandalonePublishPanelProps {
|
|
|
72
72
|
* Display author recorded on the publication. Forwarded to
|
|
73
73
|
* {@link PublishPanel} unmodified; an empty value never blocks submission.
|
|
74
74
|
*/
|
|
75
|
-
author
|
|
76
|
-
/** Called with the next author value on every edit. */
|
|
77
|
-
onAuthorChange
|
|
75
|
+
author?: string;
|
|
76
|
+
/** Called with the next author value on every edit. Omit to hide the author field. */
|
|
77
|
+
onAuthorChange?: (author: string) => void;
|
|
78
78
|
/** Current access rules, combined with AND. */
|
|
79
|
-
rules
|
|
80
|
-
/** Called with the full next rules array on add, remove, or clear. */
|
|
81
|
-
onRulesChange
|
|
79
|
+
rules?: PublicationRule[];
|
|
80
|
+
/** Called with the full next rules array on add, remove, or clear. Omit to hide the access-rules section. */
|
|
81
|
+
onRulesChange?: (rules: PublicationRule[]) => void;
|
|
82
82
|
/** Options offered in the access-rules editor's source picker. */
|
|
83
|
-
ruleSourceOptions
|
|
83
|
+
ruleSourceOptions?: string[];
|
|
84
84
|
/** Whether existing rules are currently being fetched for the selected folder. Default: `false`. */
|
|
85
85
|
isRulesLoading?: boolean;
|
|
86
86
|
/** Whether the most recent existing-rules fetch failed. Default: `false`. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StandalonePublishPanel.d.ts","sourceRoot":"","sources":["../../../src/components/PublishPanel/StandalonePublishPanel.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,EAAE,EAAE,SAAS,EAAE,SAAS,EAAgC,MAAM,OAAO,CAAC;AAC/E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AACzE,OAAO,EACL,eAAe,EACf,iBAAiB,EACjB,sBAAsB,EACvB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AACzE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAC5E,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAI/E,OAAO,EAAiB,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACrE,OAAO,EAAgB,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAGlE,uJAAuJ;AACvJ,MAAM,WAAW,4BAA4B;IAC3C,0CAA0C;IAC1C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,mEAAmE;IACnE,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,2FAA2F;IAC3F,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,8EAA8E;IAC9E,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,0EAA0E;IAC1E,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,gDAAgD;AAChD,MAAM,WAAW,2BAA2B;IAC1C,gFAAgF;IAChF,MAAM,EAAE,OAAO,CAAC;IAChB;;;OAGG;IACH,QAAQ,CAAC,EAAE,sBAAsB,CAAC;IAClC;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,SAAS,CAAC;IAChC,6JAA6J;IAC7J,YAAY,CAAC,EAAE,iBAAiB,EAAE,CAAC;IACnC,2GAA2G;IAC3G,cAAc,CAAC,EAAE,0BAA0B,CAAC;IAC5C,mDAAmD;IACnD,WAAW,EAAE,iBAAiB,EAAE,CAAC;IACjC,kHAAkH;IAClH,kBAAkB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC9B,qGAAqG;IACrG,0BAA0B,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,SAAS,KAAK,IAAI,CAAC;IACjE,uDAAuD;IACvD,cAAc,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACtE,6HAA6H;IAC7H,iBAAiB,CAAC,EAAE,CAAC,WAAW,EAAE,iBAAiB,KAAK,MAAM,GAAG,SAAS,CAAC;IAC3E,8DAA8D;IAC9D,aAAa,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC5B,uDAAuD;IACvD,qBAAqB,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,CAAC,MAAM,CAAC,KAAK,IAAI,CAAC;IACrD,4DAA4D;IAC5D,YAAY,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC3B,iEAAiE;IACjE,8BAA8B,EAAE,OAAO,CAAC;IACxC,oEAAoE;IACpE,cAAc,EAAE,OAAO,CAAC;IACxB,wDAAwD;IACxD,YAAY,EAAE,OAAO,CAAC;IACtB,qDAAqD;IACrD,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;;;OAIG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;;OAGG;IACH,MAAM,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"StandalonePublishPanel.d.ts","sourceRoot":"","sources":["../../../src/components/PublishPanel/StandalonePublishPanel.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,EAAE,EAAE,SAAS,EAAE,SAAS,EAAgC,MAAM,OAAO,CAAC;AAC/E,O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E,cAAc,CAAC,EAAE,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;IAC/C,wDAAwD;IACxD,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,yCAAyC;IACzC,WAAW,CAAC,EAAE,kBAAkB,CAAC;IACjC,0CAA0C;IAC1C,WAAW,CAAC,EAAE,kBAAkB,CAAC;IACjC,gHAAgH;IAChH,0BAA0B,CAAC,EAAE,MAAM,CAAC;IACpC,2GAA2G;IAC3G,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,gIAAgI;IAChI,+BAA+B,CAAC,EAAE,MAAM,CAAC;IACzC,4CAA4C;IAC5C,YAAY,CAAC,EAAE,mBAAmB,CAAC;IACnC,2CAA2C;IAC3C,MAAM,CAAC,EAAE,4BAA4B,CAAC;IACtC,+EAA+E;IAC/E,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,uBAAuB;IACvB,MAAM,CAAC,EAAE,4BAA4B,CAAC;CACvC;AAED,qHAAqH;AACrH,MAAM,WAAW,4BAA4B;IAC3C,4DAA4D;IAC5D,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,6DAA6D;IAC7D,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,wFAAwF;IACxF,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,4EAA4E;IAC5E,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,4FAA4F;IAC5F,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,2DAA2D;IAC3D,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,qKAAqK;AACrK,eAAO,MAAM,sBAAsB,EAAE,EAAE,CAAC,2BAA2B,CAsOlE,CAAC"}
|
package/index.js
CHANGED
|
@@ -1008,7 +1008,7 @@ var G = /* @__PURE__ */ function(e) {
|
|
|
1008
1008
|
summaryTitle: "_summaryTitle_zj3gd_1",
|
|
1009
1009
|
sectionHeading: "_sectionHeading_zj3gd_5",
|
|
1010
1010
|
destination: "_destination_zj3gd_9"
|
|
1011
|
-
}, vt = 200, yt = ({ view: e = Q.Main, onChangeFolderClick: o, resource: s, renderSummary: c, dependencies: u, versionHistory: p, folderItems: m, selectedFolderPath: g, pendingFolderPath: _, onPendingFolderPathChange: v, onCreateFolder: x, getDisabledReason: S, expandedPaths: C, onExpandedPathsChange: w, loadingPaths: te, hasExistingPublicationInFolder: T, hasWriteAccess: E, isSubmitting: A, hasSubmitError: ne = !1, allowReplace: M = !0, author: re, onAuthorChange: N, publishCredentials: P = !1, onPublishCredentialsChange: ie, rules: F, onRulesChange: ae, ruleSourceOptions: I, isRulesLoading: L = !1, hasRulesLoadError: R = !1, labels: ce = {}, summaryTitleClassName: le = "dial-body-semi-text", headingClassName: U = "dial-body-semi-text", destinationClassName: W = "dial-small-semi-text", calloutFolderNameClassName: ue = "dial-small-paragraph-semi-text", styles: de = {} }) => {
|
|
1011
|
+
}, vt = 200, yt = [], bt = [], xt = ({ view: e = Q.Main, onChangeFolderClick: o, resource: s, renderSummary: c, dependencies: u, versionHistory: p, folderItems: m, selectedFolderPath: g, pendingFolderPath: _, onPendingFolderPathChange: v, onCreateFolder: x, getDisabledReason: S, expandedPaths: C, onExpandedPathsChange: w, loadingPaths: te, hasExistingPublicationInFolder: T, hasWriteAccess: E, isSubmitting: A, hasSubmitError: ne = !1, allowReplace: M = !0, author: re = "", onAuthorChange: N, publishCredentials: P = !1, onPublishCredentialsChange: ie, rules: F = yt, onRulesChange: ae, ruleSourceOptions: I = bt, isRulesLoading: L = !1, hasRulesLoadError: R = !1, labels: ce = {}, summaryTitleClassName: le = "dial-body-semi-text", headingClassName: U = "dial-body-semi-text", destinationClassName: W = "dial-small-semi-text", calloutFolderNameClassName: ue = "dial-small-paragraph-semi-text", styles: de = {} }) => {
|
|
1012
1012
|
let { colors: fe, folderTree: G, accessRules: q, dependencies: pe } = de, Y = {
|
|
1013
1013
|
...se({
|
|
1014
1014
|
"--pp-summary-title-text": fe?.summaryTitleText,
|
|
@@ -1144,8 +1144,8 @@ var G = /* @__PURE__ */ function(e) {
|
|
|
1144
1144
|
className: "mt-3",
|
|
1145
1145
|
children: /* @__PURE__ */ B(D, {
|
|
1146
1146
|
type: O.SectionMessage,
|
|
1147
|
-
variant:
|
|
1148
|
-
message:
|
|
1147
|
+
variant: St(Ze.calloutKind),
|
|
1148
|
+
message: wt(Ze.calloutKind, {
|
|
1149
1149
|
replaceWarning: ve,
|
|
1150
1150
|
noAccessError: ye,
|
|
1151
1151
|
submitError: be,
|
|
@@ -1155,7 +1155,7 @@ var G = /* @__PURE__ */ function(e) {
|
|
|
1155
1155
|
})
|
|
1156
1156
|
})
|
|
1157
1157
|
}),
|
|
1158
|
-
/* @__PURE__ */ B("div", {
|
|
1158
|
+
N != null && /* @__PURE__ */ B("div", {
|
|
1159
1159
|
className: "mt-4",
|
|
1160
1160
|
children: /* @__PURE__ */ B(ee, {
|
|
1161
1161
|
id: Ge,
|
|
@@ -1178,7 +1178,7 @@ var G = /* @__PURE__ */ function(e) {
|
|
|
1178
1178
|
disabled: A
|
|
1179
1179
|
})
|
|
1180
1180
|
}),
|
|
1181
|
-
/* @__PURE__ */ B("div", {
|
|
1181
|
+
ae != null && /* @__PURE__ */ B("div", {
|
|
1182
1182
|
className: "mt-4",
|
|
1183
1183
|
children: /* @__PURE__ */ B(Re, {
|
|
1184
1184
|
rules: F,
|
|
@@ -1205,7 +1205,7 @@ var G = /* @__PURE__ */ function(e) {
|
|
|
1205
1205
|
})
|
|
1206
1206
|
]
|
|
1207
1207
|
});
|
|
1208
|
-
},
|
|
1208
|
+
}, St = (e) => e === K.ReplaceWarning ? k.Warning : k.Error, Ct = (e, t, n) => {
|
|
1209
1209
|
let [r, i, ...a] = e.split("{folder}");
|
|
1210
1210
|
return i === void 0 || a.length > 0 ? e : /* @__PURE__ */ V(le, { children: [
|
|
1211
1211
|
r,
|
|
@@ -1215,11 +1215,11 @@ var G = /* @__PURE__ */ function(e) {
|
|
|
1215
1215
|
}),
|
|
1216
1216
|
i
|
|
1217
1217
|
] });
|
|
1218
|
-
},
|
|
1218
|
+
}, wt = (e, t) => e === K.ReplaceWarning ? Ct(t.replaceWarning.replace("{version}", t.version ?? ""), t.folderName, t.folderNameClassName) : e === K.NoAccess ? Ct(t.noAccessError, t.folderName, t.folderNameClassName) : t.submitError, Tt = { footer: "_footer_dks1v_1" }, Et = ({ version: e, hasExistingPublicationInFolder: t, allowReplace: n = !0, isSubmitDisabled: r, isSubmitLoading: i, onCancel: a, onSubmit: o, view: s = Q.Main, onSelectFolder: c, isSelectFolderDisabled: l = !1, labels: u = {}, colors: f }) => {
|
|
1219
1219
|
let p = se({ "--pf-border": f?.border }), { cancelLabel: m = "Cancel", publishDefaultLabel: h = "Publish", updateLabel: g = "Update version {version}", publishingInProgressLabel: _ = "Publishing…", selectFolderLabel: v = "Select" } = u, y = s === Q.ChangeFolder, x = i ? _ : n && t && e != null ? g.replace("{version}", e) : h;
|
|
1220
1220
|
return /* @__PURE__ */ V("div", {
|
|
1221
1221
|
style: p,
|
|
1222
|
-
className: z("flex items-center justify-end gap-2 border-t px-4 py-4 rtl:flex-row-reverse rtl:justify-start desktop:px-3.5",
|
|
1222
|
+
className: z("flex items-center justify-end gap-2 border-t px-4 py-4 rtl:flex-row-reverse rtl:justify-start desktop:px-3.5", Tt.footer),
|
|
1223
1223
|
children: [/* @__PURE__ */ B(b, {
|
|
1224
1224
|
label: m,
|
|
1225
1225
|
className: "mobile:flex-1",
|
|
@@ -1241,13 +1241,13 @@ var G = /* @__PURE__ */ function(e) {
|
|
|
1241
1241
|
onClick: o
|
|
1242
1242
|
})]
|
|
1243
1243
|
});
|
|
1244
|
-
},
|
|
1244
|
+
}, Dt = {
|
|
1245
1245
|
backdrop: "_backdrop_16jmd_6",
|
|
1246
1246
|
panel: "_panel_16jmd_10",
|
|
1247
1247
|
divider: "_divider_16jmd_15",
|
|
1248
1248
|
content: "_content_16jmd_19",
|
|
1249
1249
|
title: "_title_16jmd_24"
|
|
1250
|
-
},
|
|
1250
|
+
}, Ot = ({ isOpen: e, resource: n, renderSummary: i, dependencies: o, versionHistory: s, folderItems: c, selectedFolderPath: l, onSelectedFolderPathChange: u, onCreateFolder: d, getDisabledReason: f, expandedPaths: p, onExpandedPathsChange: m, loadingPaths: h, hasExistingPublicationInFolder: g, hasWriteAccess: _, isSubmitting: v, hasSubmitError: y = !1, allowReplace: b = !0, author: x, onAuthorChange: S, rules: ee, onRulesChange: C, ruleSourceOptions: w, isRulesLoading: te = !1, hasRulesLoadError: T = !1, onClose: E, returnFocusRef: D, onSubmit: O, panelLabels: k, panelStyles: A, panelSummaryTitleClassName: ne, panelHeadingClassName: j, panelCalloutFolderNameClassName: M, footerLabels: N, labels: P = {}, titleClassName: ie = "dial-body-semi-text", colors: F }) => {
|
|
1251
1251
|
let ae = se({
|
|
1252
1252
|
"--spp-backdrop-bg": F?.backdropBackground,
|
|
1253
1253
|
"--spp-panel-bg": F?.panelBackground,
|
|
@@ -1297,7 +1297,7 @@ var G = /* @__PURE__ */ function(e) {
|
|
|
1297
1297
|
open: e,
|
|
1298
1298
|
onClose: E,
|
|
1299
1299
|
header: /* @__PURE__ */ B("span", {
|
|
1300
|
-
className: z("block truncate text-center", ie,
|
|
1300
|
+
className: z("block truncate text-center", ie, Dt.title),
|
|
1301
1301
|
children: W ? R : oe
|
|
1302
1302
|
}),
|
|
1303
1303
|
ariaLabel: le,
|
|
@@ -1308,16 +1308,16 @@ var G = /* @__PURE__ */ function(e) {
|
|
|
1308
1308
|
closeDisabled: v,
|
|
1309
1309
|
style: ae,
|
|
1310
1310
|
overlayStyle: ae,
|
|
1311
|
-
className: z(
|
|
1312
|
-
overlayClassName:
|
|
1313
|
-
headerClassName: z("px-[22px]",
|
|
1311
|
+
className: z(Dt.panel, "tablet:w-[540px]! tablet:max-w-[calc(100%-32px)]!"),
|
|
1312
|
+
overlayClassName: Dt.backdrop,
|
|
1313
|
+
headerClassName: z("px-[22px]", Dt.divider),
|
|
1314
1314
|
bodyClassName: "flex flex-col overflow-hidden",
|
|
1315
1315
|
children: [/* @__PURE__ */ B("div", {
|
|
1316
1316
|
ref: L,
|
|
1317
|
-
className: z("min-h-0 flex-1 overflow-y-auto",
|
|
1317
|
+
className: z("min-h-0 flex-1 overflow-y-auto", Dt.content),
|
|
1318
1318
|
children: /* @__PURE__ */ B("div", {
|
|
1319
1319
|
className: "p-[22px]",
|
|
1320
|
-
children: /* @__PURE__ */ B(
|
|
1320
|
+
children: /* @__PURE__ */ B(xt, {
|
|
1321
1321
|
resource: n,
|
|
1322
1322
|
renderSummary: i,
|
|
1323
1323
|
dependencies: o,
|
|
@@ -1352,7 +1352,7 @@ var G = /* @__PURE__ */ function(e) {
|
|
|
1352
1352
|
calloutFolderNameClassName: M
|
|
1353
1353
|
})
|
|
1354
1354
|
})
|
|
1355
|
-
}), /* @__PURE__ */ B(
|
|
1355
|
+
}), /* @__PURE__ */ B(Et, {
|
|
1356
1356
|
version: n?.version,
|
|
1357
1357
|
hasExistingPublicationInFolder: g,
|
|
1358
1358
|
allowReplace: b,
|
|
@@ -1366,8 +1366,8 @@ var G = /* @__PURE__ */ function(e) {
|
|
|
1366
1366
|
labels: N
|
|
1367
1367
|
})]
|
|
1368
1368
|
});
|
|
1369
|
-
},
|
|
1370
|
-
let { title: f = "Unpublish?", confirmLabel: p = "Unpublish", cancelLabel: m = "Cancel", rootFolderLabel: h = "Organization", folderGroupAriaLabel: g = "Published folders", loadingStatusLabel: _ = "Requesting unpublish…", confirmMessage: v =
|
|
1369
|
+
}, kt = { option: "_option_skygm_1" }, At = (e, t) => `Unpublish "${e}" from "${t}"?`, jt = (e) => `Choose which folder to unpublish "${e}" from.`, Mt = ({ isOpen: e, name: t, folders: n, selectedFolder: r, onSelectedFolderChange: i, isLoading: a = !1, labels: o, optionClassName: s = "dial-small-text", colors: c, onConfirm: l, onClose: d }) => {
|
|
1370
|
+
let { title: f = "Unpublish?", confirmLabel: p = "Unpublish", cancelLabel: m = "Cancel", rootFolderLabel: h = "Organization", folderGroupAriaLabel: g = "Published folders", loadingStatusLabel: _ = "Requesting unpublish…", confirmMessage: v = At, selectFolderMessage: y = jt } = o ?? {}, b = n.length > 1;
|
|
1371
1371
|
return /* @__PURE__ */ B(I, {
|
|
1372
1372
|
open: e,
|
|
1373
1373
|
title: f,
|
|
@@ -1395,18 +1395,18 @@ var G = /* @__PURE__ */ function(e) {
|
|
|
1395
1395
|
value: e,
|
|
1396
1396
|
label: Ce(e, h)
|
|
1397
1397
|
})),
|
|
1398
|
-
radioClassName: z(s,
|
|
1398
|
+
radioClassName: z(s, kt.option)
|
|
1399
1399
|
})
|
|
1400
1400
|
})
|
|
1401
1401
|
});
|
|
1402
|
-
},
|
|
1402
|
+
}, Nt = /* @__PURE__ */ function(e) {
|
|
1403
1403
|
return e.Keep = "keep", e.New = "new", e;
|
|
1404
|
-
}({}),
|
|
1404
|
+
}({}), Pt = /* @__PURE__ */ function(e) {
|
|
1405
1405
|
return e.Main = "main", e.ChangeFolder = "change-folder", e;
|
|
1406
|
-
}({}),
|
|
1406
|
+
}({}), Ft = {
|
|
1407
1407
|
heading: "_heading_vk731_1",
|
|
1408
1408
|
destination: "_destination_vk731_5"
|
|
1409
|
-
},
|
|
1409
|
+
}, It = ({ view: e, resource: t, roots: i, destination: o, onCreateFolder: s, getDisabledReason: c, onChangeFolderClick: l, changeFolderButtonRef: u, pendingDestination: p, onPendingDestinationChange: m, version: g, accessRules: v, versionHistory: x, isSubmitting: S = !1, submitError: te, foldersError: E, onRetryFolders: D, panelLabels: O = {}, panelStyles: k = {}, headingClassName: A = "dial-body-semi-text", destinationClassName: M = "dial-small-semi-text" }) => {
|
|
1410
1410
|
let { saveToFolderHeading: re = "Save to folder", changeFolderLabel: N = "Change", destinationAriaLabel: P = "Destination folder", versionHeading: ie = "Version", keepVersionLabel: F = "Keep version {version}", saveAsNewVersionLabel: ae = "Save as new version", newVersionLabel: I = "Version", newVersionPlaceholder: L = "Enter new version", searchPlaceholder: R = "Search folders", clearSearchAriaLabel: ce = "Clear search", folderEmptyStateLabel: le, createFolderLabel: U, cancelCreatingFolderLabel: W, addSiblingFolderLabel: ue, addChildFolderLabel: de, createFolderEmptyNameError: fe, createFolderInvalidNameError: G, createFolderDuplicateNameError: K, createFolderSameAsParentNameError: q, retryLabel: J = "Retry" } = O, { colors: pe, folderTree: Y } = k, X = {
|
|
1411
1411
|
...se({
|
|
1412
1412
|
"--stf-heading-text": pe?.headingText,
|
|
@@ -1416,8 +1416,8 @@ var G = /* @__PURE__ */ function(e) {
|
|
|
1416
1416
|
}, Z = {
|
|
1417
1417
|
border: pe?.summaryBorder,
|
|
1418
1418
|
background: pe?.summaryBackground
|
|
1419
|
-
}, [me, Q] = a(""), he = n(), ge = n(), _e = r(() => [i.find((e) => e.key === o.rootKey)?.label ?? o.rootKey, ...o.path], [i, o]), ve = i.find((e) => e.key === p?.rootKey), ye = p ? p.path[p.path.length - 1] ?? ve?.label : void 0, be = z(A,
|
|
1420
|
-
if (e ===
|
|
1419
|
+
}, [me, Q] = a(""), he = n(), ge = n(), _e = r(() => [i.find((e) => e.key === o.rootKey)?.label ?? o.rootKey, ...o.path], [i, o]), ve = i.find((e) => e.key === p?.rootKey), ye = p ? p.path[p.path.length - 1] ?? ve?.label : void 0, be = z(A, Ft.heading), xe = c?.(o);
|
|
1420
|
+
if (e === Pt.ChangeFolder) return /* @__PURE__ */ V("div", {
|
|
1421
1421
|
className: "flex flex-col gap-3",
|
|
1422
1422
|
style: X,
|
|
1423
1423
|
children: [
|
|
@@ -1477,10 +1477,10 @@ var G = /* @__PURE__ */ function(e) {
|
|
|
1477
1477
|
]
|
|
1478
1478
|
});
|
|
1479
1479
|
let $ = g ? [{
|
|
1480
|
-
value:
|
|
1480
|
+
value: Nt.Keep,
|
|
1481
1481
|
label: F.replace("{version}", g.currentVersion)
|
|
1482
1482
|
}, {
|
|
1483
|
-
value:
|
|
1483
|
+
value: Nt.New,
|
|
1484
1484
|
label: ae,
|
|
1485
1485
|
content: /* @__PURE__ */ B(ee, {
|
|
1486
1486
|
id: he,
|
|
@@ -1531,7 +1531,7 @@ var G = /* @__PURE__ */ function(e) {
|
|
|
1531
1531
|
className: "min-w-0 flex-1",
|
|
1532
1532
|
children: /* @__PURE__ */ B(y, {
|
|
1533
1533
|
name: _e.join(" / "),
|
|
1534
|
-
nameClassName: z(M,
|
|
1534
|
+
nameClassName: z(M, Ft.destination)
|
|
1535
1535
|
})
|
|
1536
1536
|
}), /* @__PURE__ */ B(b, {
|
|
1537
1537
|
ref: u,
|
|
@@ -1573,14 +1573,14 @@ var G = /* @__PURE__ */ function(e) {
|
|
|
1573
1573
|
})
|
|
1574
1574
|
]
|
|
1575
1575
|
});
|
|
1576
|
-
},
|
|
1576
|
+
}, Lt = {
|
|
1577
1577
|
backdrop: "_backdrop_1ie8s_6",
|
|
1578
1578
|
panel: "_panel_1ie8s_10",
|
|
1579
1579
|
divider: "_divider_1ie8s_15",
|
|
1580
1580
|
footer: "_footer_1ie8s_19",
|
|
1581
1581
|
content: "_content_1ie8s_23",
|
|
1582
1582
|
title: "_title_1ie8s_28"
|
|
1583
|
-
},
|
|
1583
|
+
}, Rt = ({ isOpen: e, onClose: n, onSubmit: r, isSubmitDisabled: o = !1, returnFocusRef: s, labels: c = {}, colors: l, titleClassName: u = "dial-body-semi-text", destination: f, onDestinationChange: p, isSubmitting: m = !1, onPendingDestinationChange: h, ...g }) => {
|
|
1584
1584
|
let { title: _ = "Save", changeFolderTitle: v = "Change folder", closeAriaLabel: y = "Close", backAriaLabel: x = "Back", cancelLabel: S = "Cancel", saveLabel: ee = "Save", savingLabel: C = "Saving…", selectLabel: w = "Select" } = c, te = se({
|
|
1585
1585
|
"--sstf-backdrop-bg": l?.backdropBackground,
|
|
1586
1586
|
"--sstf-panel-bg": l?.panelBackground,
|
|
@@ -1588,27 +1588,27 @@ var G = /* @__PURE__ */ function(e) {
|
|
|
1588
1588
|
"--sstf-divider-border": l?.dividerBorder,
|
|
1589
1589
|
"--sstf-scrollbar-thumb": l?.scrollbarThumb,
|
|
1590
1590
|
"--sstf-title-text": l?.titleText
|
|
1591
|
-
}), [T, D] = a(
|
|
1591
|
+
}), [T, D] = a(Pt.Main), [O, k] = a(f), ne = i(null), j = i(null);
|
|
1592
1592
|
t(() => {
|
|
1593
|
-
e && D(
|
|
1593
|
+
e && D(Pt.Main);
|
|
1594
1594
|
}, [e]);
|
|
1595
1595
|
let M = i(T);
|
|
1596
1596
|
t(() => {
|
|
1597
|
-
M.current !== T && (M.current = T, T ===
|
|
1597
|
+
M.current !== T && (M.current = T, T === Pt.ChangeFolder ? ne.current?.focus({ preventScroll: !0 }) : j.current?.focus({ preventScroll: !0 }));
|
|
1598
1598
|
}, [T]);
|
|
1599
1599
|
let N = i(e);
|
|
1600
1600
|
t(() => {
|
|
1601
1601
|
let t = N.current;
|
|
1602
1602
|
N.current = e, t && !e && s?.current?.isConnected && s.current.focus({ preventScroll: !0 });
|
|
1603
1603
|
}, [e, s]);
|
|
1604
|
-
let P = T ===
|
|
1604
|
+
let P = T === Pt.ChangeFolder, F = (e) => {
|
|
1605
1605
|
k(e), h?.(e);
|
|
1606
1606
|
}, ae = () => {
|
|
1607
|
-
F(f), D(
|
|
1607
|
+
F(f), D(Pt.ChangeFolder);
|
|
1608
1608
|
}, I = () => {
|
|
1609
|
-
h?.(f), D(
|
|
1609
|
+
h?.(f), D(Pt.Main);
|
|
1610
1610
|
}, L = () => {
|
|
1611
|
-
O && p(O), D(
|
|
1611
|
+
O && p(O), D(Pt.Main);
|
|
1612
1612
|
};
|
|
1613
1613
|
return /* @__PURE__ */ V(re, {
|
|
1614
1614
|
open: e,
|
|
@@ -1616,7 +1616,7 @@ var G = /* @__PURE__ */ function(e) {
|
|
|
1616
1616
|
header: /* @__PURE__ */ B("span", {
|
|
1617
1617
|
ref: ne,
|
|
1618
1618
|
tabIndex: -1,
|
|
1619
|
-
className: z("block truncate outline-none", u,
|
|
1619
|
+
className: z("block truncate outline-none", u, Lt.title),
|
|
1620
1620
|
children: P ? v : _
|
|
1621
1621
|
}),
|
|
1622
1622
|
ariaLabel: _,
|
|
@@ -1627,13 +1627,13 @@ var G = /* @__PURE__ */ function(e) {
|
|
|
1627
1627
|
closeDisabled: m,
|
|
1628
1628
|
style: te,
|
|
1629
1629
|
overlayStyle: te,
|
|
1630
|
-
className: z(
|
|
1631
|
-
overlayClassName:
|
|
1632
|
-
headerClassName: z("px-[22px]",
|
|
1630
|
+
className: z(Lt.panel, "tablet:w-[540px]! tablet:max-w-[calc(100%-32px)]!"),
|
|
1631
|
+
overlayClassName: Lt.backdrop,
|
|
1632
|
+
headerClassName: z("px-[22px]", Lt.divider),
|
|
1633
1633
|
bodyClassName: "flex flex-col overflow-hidden",
|
|
1634
1634
|
children: [/* @__PURE__ */ B("div", {
|
|
1635
|
-
className: z("min-h-0 flex-1 overflow-y-auto p-[22px]",
|
|
1636
|
-
children: /* @__PURE__ */ B(
|
|
1635
|
+
className: z("min-h-0 flex-1 overflow-y-auto p-[22px]", Lt.content),
|
|
1636
|
+
children: /* @__PURE__ */ B(It, {
|
|
1637
1637
|
...g,
|
|
1638
1638
|
view: T,
|
|
1639
1639
|
destination: f,
|
|
@@ -1645,7 +1645,7 @@ var G = /* @__PURE__ */ function(e) {
|
|
|
1645
1645
|
onPendingDestinationChange: F
|
|
1646
1646
|
})
|
|
1647
1647
|
}), /* @__PURE__ */ V("div", {
|
|
1648
|
-
className: z("flex items-center justify-end gap-2 border-t px-4 py-4 desktop:px-3.5",
|
|
1648
|
+
className: z("flex items-center justify-end gap-2 border-t px-4 py-4 desktop:px-3.5", Lt.footer),
|
|
1649
1649
|
children: [/* @__PURE__ */ B(b, {
|
|
1650
1650
|
label: S,
|
|
1651
1651
|
className: "mobile:flex-1",
|
|
@@ -1670,4 +1670,4 @@ var G = /* @__PURE__ */ function(e) {
|
|
|
1670
1670
|
});
|
|
1671
1671
|
};
|
|
1672
1672
|
//#endregion
|
|
1673
|
-
export { We as PUBLISH_PANEL_CLASS, G as PublicationRuleFunction, Pe as PublishAccessRuleEditor, Re as PublishAccessRules, K as PublishCalloutKind, $e as PublishDependenciesList, q as PublishDependencyType, gt as PublishFoldersTree,
|
|
1673
|
+
export { We as PUBLISH_PANEL_CLASS, G as PublicationRuleFunction, Pe as PublishAccessRuleEditor, Re as PublishAccessRules, K as PublishCalloutKind, $e as PublishDependenciesList, q as PublishDependencyType, gt as PublishFoldersTree, Et as PublishFooter, tt as PublishHistoryList, xt as PublishPanel, Q as PublishPanelView, It as SaveToFolderPanel, Pt as SaveToFolderView, Nt as SaveVersionMode, Ot as StandalonePublishPanel, Rt as StandaloneSaveToFolderPanel, Mt as UnpublishConfirmationDialog, Ue as VersionHistorySection, ze as VersionHistoryStatus, xe as collectFolderKeys, J as derivePublishState, ge as filterFolderTree, Y as formatPublishedDate, Se as fromFolderPathKey, Oe as getSiblingFolderNames, De as getUniqueFolderName, be as mergeFolderPaths, ve as sortFolderTree, we as toDialFileTree, $ as toFolderPathKey, me as usePublishFlow, he as usePublishFolderView, Ee as validateFolderName };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epam/ai-dial-publish-panel",
|
|
3
3
|
"description": "Publish-to-folder UI and state flow shared by catalog entity publish and conversation publish",
|
|
4
|
-
"version": "1.4.0-dev.
|
|
4
|
+
"version": "1.4.0-dev.110",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"sideEffects": [
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
27
|
"react": "^19.2.8",
|
|
28
|
-
"@epam/ai-dial-chat-shared": "1.4.0-dev.
|
|
28
|
+
"@epam/ai-dial-chat-shared": "1.4.0-dev.110",
|
|
29
29
|
"@epam/ai-dial-ui-kit": "^0.16.0",
|
|
30
30
|
"@epam/ai-dial-react-file-manager": "^0.4.3"
|
|
31
31
|
},
|