@epam/ai-dial-publish-panel 1.4.0-dev.42 → 1.4.0-dev.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PublishDependenciesList.d.ts","sourceRoot":"","sources":["../../../src/components/PublishDependenciesList/PublishDependenciesList.tsx"],"names":[],"mappings":"AAcA,OAAO,EAAE,EAAE,EAAS,MAAM,OAAO,CAAC;AAElC,OAAO,KAAK,EAEV,4BAA4B,EAC7B,MAAM,wCAAwC,CAAC;
|
|
1
|
+
{"version":3,"file":"PublishDependenciesList.d.ts","sourceRoot":"","sources":["../../../src/components/PublishDependenciesList/PublishDependenciesList.tsx"],"names":[],"mappings":"AAcA,OAAO,EAAE,EAAE,EAAS,MAAM,OAAO,CAAC;AAElC,OAAO,KAAK,EAEV,4BAA4B,EAC7B,MAAM,wCAAwC,CAAC;AAyDhD;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB,EAAE,EAAE,CAAC,4BAA4B,CA2GpE,CAAC"}
|
package/index.js
CHANGED
|
@@ -563,23 +563,23 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
563
563
|
initialsName: e.name,
|
|
564
564
|
styles: { badgeClassName: "rounded-lg" }
|
|
565
565
|
})
|
|
566
|
-
}), Ve = "Private dependencies", He = "
|
|
567
|
-
let s = n(), { title: c = Ve, description: l = He,
|
|
566
|
+
}), Ve = "Private dependencies", He = "This item depends on personal private resources (listed below). After publishing, other users may not be able to use it fully, or may run into problems.", Ue = (e) => `${e} ${e === 1 ? "dependency is" : "dependencies are"} not public yet`, We = ({ dependencies: e, labels: t = {}, headingClassName: r = "dial-body-semi-text", nameClassName: i = "dial-small-semi-text", metaClassName: a = "dial-small-text", styles: o = {} }) => {
|
|
567
|
+
let s = n(), { title: c = Ve, description: l = He, typeLabels: u = {}, getAnnouncement: d = Ue } = t, { colors: f } = o, p = {
|
|
568
568
|
...oe({
|
|
569
|
-
"--pp-dependencies-heading-text":
|
|
570
|
-
"--pp-dependencies-name-text":
|
|
571
|
-
"--pp-dependencies-meta-text":
|
|
569
|
+
"--pp-dependencies-heading-text": f?.headingText,
|
|
570
|
+
"--pp-dependencies-name-text": f?.nameText,
|
|
571
|
+
"--pp-dependencies-meta-text": f?.metaText
|
|
572
572
|
}),
|
|
573
573
|
...o.cssVars
|
|
574
|
-
},
|
|
574
|
+
}, m = e.length;
|
|
575
575
|
return /* @__PURE__ */ R(ce, { children: [/* @__PURE__ */ L(S, {
|
|
576
576
|
visuallyHidden: !0,
|
|
577
577
|
as: te.Span,
|
|
578
|
-
children:
|
|
579
|
-
}),
|
|
578
|
+
children: m > 0 ? d(m) : ""
|
|
579
|
+
}), m > 0 && /* @__PURE__ */ R("section", {
|
|
580
580
|
"aria-labelledby": s,
|
|
581
581
|
className: I("flex flex-col gap-3", Fe.dependencies),
|
|
582
|
-
style:
|
|
582
|
+
style: p,
|
|
583
583
|
children: [
|
|
584
584
|
/* @__PURE__ */ L("h2", {
|
|
585
585
|
id: s,
|
|
@@ -595,7 +595,7 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
595
595
|
/* @__PURE__ */ L("ul", {
|
|
596
596
|
className: Fe.dependenciesList,
|
|
597
597
|
children: e.map((e) => {
|
|
598
|
-
let t =
|
|
598
|
+
let t = u[e.type] ?? Le[e.type];
|
|
599
599
|
return /* @__PURE__ */ R("li", {
|
|
600
600
|
className: I("flex items-center gap-3 py-2", Fe.dependenciesItem),
|
|
601
601
|
children: [Be(e), /* @__PURE__ */ R("div", {
|
|
@@ -606,13 +606,9 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
606
606
|
className: I("ms-2", a, Ie.meta),
|
|
607
607
|
children: e.version
|
|
608
608
|
})]
|
|
609
|
-
}), /* @__PURE__ */
|
|
609
|
+
}), /* @__PURE__ */ L("span", {
|
|
610
610
|
className: I("truncate", a, Ie.meta),
|
|
611
|
-
children:
|
|
612
|
-
t,
|
|
613
|
-
" · ",
|
|
614
|
-
e.location || u
|
|
615
|
-
]
|
|
611
|
+
children: e.location ? `${t} · ${e.location}` : t
|
|
616
612
|
})]
|
|
617
613
|
})]
|
|
618
614
|
}, e.id);
|
|
@@ -620,14 +616,14 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
620
616
|
})
|
|
621
617
|
]
|
|
622
618
|
})] });
|
|
623
|
-
},
|
|
619
|
+
}, Ge = {
|
|
624
620
|
currentBadge: "_currentBadge_d0adf_1",
|
|
625
621
|
sharedCredentialsBadge: "_sharedCredentialsBadge_d0adf_7",
|
|
626
622
|
version: "_version_d0adf_13",
|
|
627
623
|
date: "_date_d0adf_17",
|
|
628
624
|
emptyState: "_emptyState_d0adf_21",
|
|
629
625
|
stripedRow: "_stripedRow_d0adf_25"
|
|
630
|
-
},
|
|
626
|
+
}, Ke = ({ entries: e, currentVersion: t, isLoading: n = !1, hasError: r = !1, versionPrefix: i = "Version", currentBadgeLabel: a = "Current", sharedCredentialsLabel: o = "Shared credentials", emptyStateLabel: s = "Not published to this folder yet — this will be the first version here.", loadingLabel: c = "Loading history…", errorLabel: l = "Failed to load publish history.", versionClassName: u = "dial-small-text", dateClassName: d = "dial-small-text", emptyStateClassName: f = "dial-small-text", colors: p }) => {
|
|
631
627
|
let m = oe({
|
|
632
628
|
"--phl-badge-border": p?.currentBadgeBorder,
|
|
633
629
|
"--phl-badge-bg": p?.currentBadgeBackground,
|
|
@@ -639,7 +635,7 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
639
635
|
"--phl-date-text": p?.dateText,
|
|
640
636
|
"--phl-empty-text": p?.emptyStateText,
|
|
641
637
|
"--phl-striped-bg": p?.stripedBackground
|
|
642
|
-
}), h = I(f,
|
|
638
|
+
}), h = I(f, Ge.emptyState);
|
|
643
639
|
if (n || r || e.length === 0) {
|
|
644
640
|
let e = s;
|
|
645
641
|
return n ? e = c : r && (e = l), /* @__PURE__ */ L(S, {
|
|
@@ -652,13 +648,13 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
652
648
|
return /* @__PURE__ */ L("ul", {
|
|
653
649
|
style: m,
|
|
654
650
|
children: e.map((e, n) => /* @__PURE__ */ R("li", {
|
|
655
|
-
className: I("flex items-center justify-between gap-2 rounded-lg px-3 py-[11px]", n % 2 == 0 &&
|
|
651
|
+
className: I("flex items-center justify-between gap-2 rounded-lg px-3 py-[11px]", n % 2 == 0 && Ge.stripedRow),
|
|
656
652
|
children: [/* @__PURE__ */ R("span", {
|
|
657
653
|
className: "flex min-w-0 items-center gap-2",
|
|
658
654
|
style: m,
|
|
659
655
|
children: [
|
|
660
656
|
/* @__PURE__ */ R("span", {
|
|
661
|
-
className: I(u,
|
|
657
|
+
className: I(u, Ge.version),
|
|
662
658
|
children: [
|
|
663
659
|
i,
|
|
664
660
|
" ",
|
|
@@ -667,77 +663,77 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
667
663
|
}),
|
|
668
664
|
e.version === t && /* @__PURE__ */ L(j, {
|
|
669
665
|
label: a,
|
|
670
|
-
className: I("shrink-0 whitespace-nowrap",
|
|
666
|
+
className: I("shrink-0 whitespace-nowrap", Ge.currentBadge)
|
|
671
667
|
}),
|
|
672
668
|
e.publishCredentials === !0 && /* @__PURE__ */ L(j, {
|
|
673
669
|
label: o,
|
|
674
|
-
className: I("shrink-0 whitespace-nowrap",
|
|
670
|
+
className: I("shrink-0 whitespace-nowrap", Ge.sharedCredentialsBadge)
|
|
675
671
|
})
|
|
676
672
|
]
|
|
677
673
|
}), /* @__PURE__ */ L("span", {
|
|
678
|
-
className: I(d,
|
|
674
|
+
className: I(d, Ge.date),
|
|
679
675
|
children: de(e.publishedAt)
|
|
680
676
|
})]
|
|
681
677
|
}, `${e.version}-${n}`))
|
|
682
678
|
});
|
|
683
|
-
},
|
|
684
|
-
let [t, ...n] = e, r =
|
|
679
|
+
}, qe = ":", Je = (e) => `${qe}${e}`, Ye = (e) => e?.startsWith(qe) ? e.slice(1) : void 0, Xe = (e) => [Je(e.rootKey), ...e.path], Ze = (e) => {
|
|
680
|
+
let [t, ...n] = e, r = Ye(t);
|
|
685
681
|
return r == null ? void 0 : {
|
|
686
682
|
rootKey: r,
|
|
687
683
|
path: n
|
|
688
684
|
};
|
|
689
|
-
},
|
|
685
|
+
}, Qe = (e, t) => e.map((e) => ({
|
|
690
686
|
...e,
|
|
691
687
|
path: [t, ...e.path],
|
|
692
|
-
children: e.children ?
|
|
693
|
-
})),
|
|
694
|
-
let t =
|
|
688
|
+
children: e.children ? Qe(e.children, t) : void 0
|
|
689
|
+
})), $e = (e) => e.map((e) => {
|
|
690
|
+
let t = Je(e.key);
|
|
695
691
|
return {
|
|
696
692
|
path: [t],
|
|
697
693
|
name: e.label,
|
|
698
|
-
children:
|
|
694
|
+
children: Qe(me(e.items), t)
|
|
699
695
|
};
|
|
700
|
-
}),
|
|
696
|
+
}), et = (e) => e.map((e) => Je(e.key)), tt = (e, t) => {
|
|
701
697
|
let n = /* @__PURE__ */ new Set();
|
|
702
698
|
for (let r of e) {
|
|
703
|
-
let e =
|
|
699
|
+
let e = Je(r.key);
|
|
704
700
|
for (let i of t(r) ?? []) n.add(i ? `${e}/${i}` : e);
|
|
705
701
|
}
|
|
706
702
|
return n;
|
|
707
|
-
},
|
|
703
|
+
}, nt = (e, t) => {
|
|
708
704
|
let n = new Map(e.map((e) => [e.key, /* @__PURE__ */ new Set()]));
|
|
709
705
|
for (let e of t) {
|
|
710
|
-
let [t, ...r] = e.split("/"), i =
|
|
706
|
+
let [t, ...r] = e.split("/"), i = Ye(t);
|
|
711
707
|
i != null && r.length !== 0 && n.get(i)?.add($(r));
|
|
712
708
|
}
|
|
713
709
|
return n;
|
|
714
|
-
},
|
|
710
|
+
}, rt = {
|
|
715
711
|
divider: "_divider_1gs31_1",
|
|
716
712
|
tree: "_tree_1gs31_17"
|
|
717
|
-
},
|
|
713
|
+
}, it = "data-cancel-creating-folder", at = "", ot = [], st = ({ items: e = ot, selectedPath: n, onSelectedPathChange: o, onCreateFolder: s, roots: c, destination: l, onDestinationChange: f, onCreateDestinationFolder: p, searchQuery: m, disabled: h = !1, createFolderLabel: g = "Create new folder", cancelCreatingFolderLabel: _ = "Cancel", addSiblingFolderLabel: y = "Add sibling", addChildFolderLabel: b = "Add child", newFolderDefaultName: x = "New folder", noResultsLabel: ee = "No folders match \"{query}\".", emptyFolderNameError: S = "Folder name cannot be empty.", invalidFolderNameError: te = "Folder name contains invalid characters.", duplicateFolderNameError: ne = "A folder with this name already exists.", sameAsParentFolderNameError: C = "A folder cannot have the same name as its parent folder.", rootLabel: w = "Organization", expandedPaths: T, onExpandedPathsChange: E, loadingPaths: D, styles: O = {} }) => {
|
|
718
714
|
let re = {
|
|
719
715
|
...oe({ "--pft-divider": O.colors?.divider }),
|
|
720
716
|
...O.cssVars
|
|
721
|
-
}, k = c != null, A = r(() => c ?
|
|
717
|
+
}, k = c != null, A = r(() => c ? $e(c) : e, [c, e]), ie = i(A);
|
|
722
718
|
t(() => {
|
|
723
719
|
ie.current = A;
|
|
724
720
|
}, [A]);
|
|
725
|
-
let j = r(() => c ?
|
|
726
|
-
k && (M = l ?
|
|
721
|
+
let j = r(() => c ? et(c) : [at], [c]), M = n;
|
|
722
|
+
k && (M = l ? Xe(l) : void 0);
|
|
727
723
|
let N = (e) => {
|
|
728
|
-
k ? f?.(e ?
|
|
729
|
-
}, [P, F] = a(() => new Set(M?.map((e, t) => $(M.slice(0, t + 1))) ?? [])), ae = r(() => c ? /* @__PURE__ */ new Set([...P, ...
|
|
724
|
+
k ? f?.(e ? Ze(e) : void 0) : o?.(e);
|
|
725
|
+
}, [P, F] = a(() => new Set(M?.map((e, t) => $(M.slice(0, t + 1))) ?? [])), ae = r(() => c ? /* @__PURE__ */ new Set([...P, ...tt(c, (e) => e.expandedPaths)]) : void 0, [c, P]) ?? T ?? P, se = r(() => c ? tt(c, (e) => e.loadingPaths) : D, [c, D]), ce = (e) => {
|
|
730
726
|
let t = new Set(e);
|
|
731
727
|
for (let e of j) t.delete(e);
|
|
732
728
|
if (c) {
|
|
733
729
|
F(t);
|
|
734
|
-
let e =
|
|
730
|
+
let e = nt(c, t);
|
|
735
731
|
for (let t of c) t.onExpandedPathsChange?.(e.get(t.key) ?? /* @__PURE__ */ new Set());
|
|
736
732
|
} else E ? E(t) : F(t);
|
|
737
733
|
}, [z, V] = a(null), [U, W] = a(x), G = i(null), K = i(!1);
|
|
738
734
|
t(() => {
|
|
739
735
|
let e = (e) => {
|
|
740
|
-
e.target instanceof Element && e.target.closest(`[${
|
|
736
|
+
e.target instanceof Element && e.target.closest(`[${it}]`) && (K.current = !0);
|
|
741
737
|
};
|
|
742
738
|
return document.addEventListener("pointerdown", e, !0), () => document.removeEventListener("pointerdown", e, !0);
|
|
743
739
|
}, []);
|
|
@@ -755,9 +751,9 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
755
751
|
fe,
|
|
756
752
|
ae
|
|
757
753
|
]), he = r(() => be(Z), [Z]), ge = r(() => X && he.length === 0 ? [] : k ? he : [{
|
|
758
|
-
path:
|
|
754
|
+
path: at,
|
|
759
755
|
name: w,
|
|
760
|
-
folderId:
|
|
756
|
+
folderId: at,
|
|
761
757
|
nodeType: H.FOLDER,
|
|
762
758
|
items: he
|
|
763
759
|
}], [
|
|
@@ -772,13 +768,13 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
772
768
|
sameAsParent: C
|
|
773
769
|
}, Te = (e) => j.includes($(e)) ? void 0 : e.at(-1), Ee = (e) => {
|
|
774
770
|
if (!c) return !0;
|
|
775
|
-
let t =
|
|
771
|
+
let t = Ze(e), n = c.find((e) => e.key === t?.rootKey);
|
|
776
772
|
return n != null && n.canCreateFolders !== !1;
|
|
777
773
|
}, De = (() => {
|
|
778
774
|
if (!c) return M ?? [];
|
|
779
775
|
if (M && Ee(M)) return M;
|
|
780
776
|
let e = c.find((e) => e.canCreateFolders !== !1);
|
|
781
|
-
return e ?
|
|
777
|
+
return e ? Xe({
|
|
782
778
|
rootKey: e.key,
|
|
783
779
|
path: []
|
|
784
780
|
}) : void 0;
|
|
@@ -824,7 +820,7 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
824
820
|
if (!z || K.current) return;
|
|
825
821
|
let t = e.trim(), n = G.current;
|
|
826
822
|
if (!(Pe(e) ?? n)) {
|
|
827
|
-
let e = c ?
|
|
823
|
+
let e = c ? Ze(z) : void 0;
|
|
828
824
|
e ? p?.(e.rootKey, e.path, t) : s?.(z, t), N([...z, t]);
|
|
829
825
|
}
|
|
830
826
|
V(null);
|
|
@@ -834,7 +830,7 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
834
830
|
className: I(h && "pointer-events-none opacity-60", O.className),
|
|
835
831
|
children: [
|
|
836
832
|
/* @__PURE__ */ L("div", {
|
|
837
|
-
className: I("w-full max-w-full min-w-0",
|
|
833
|
+
className: I("w-full max-w-full min-w-0", rt.tree),
|
|
838
834
|
children: /* @__PURE__ */ L(ue, {
|
|
839
835
|
items: ge,
|
|
840
836
|
showFiles: !1,
|
|
@@ -857,7 +853,7 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
857
853
|
})
|
|
858
854
|
}),
|
|
859
855
|
/* @__PURE__ */ L("div", {
|
|
860
|
-
className: I("my-2 h-px",
|
|
856
|
+
className: I("my-2 h-px", rt.divider),
|
|
861
857
|
"aria-hidden": !0
|
|
862
858
|
}),
|
|
863
859
|
/* @__PURE__ */ R("div", {
|
|
@@ -875,16 +871,16 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
875
871
|
label: _,
|
|
876
872
|
onClick: Ie,
|
|
877
873
|
disabled: h,
|
|
878
|
-
[
|
|
874
|
+
[it]: ""
|
|
879
875
|
})]
|
|
880
876
|
})
|
|
881
877
|
]
|
|
882
878
|
});
|
|
883
|
-
},
|
|
879
|
+
}, ct = {
|
|
884
880
|
summaryTitle: "_summaryTitle_zj3gd_1",
|
|
885
881
|
sectionHeading: "_sectionHeading_zj3gd_5",
|
|
886
882
|
destination: "_destination_zj3gd_9"
|
|
887
|
-
},
|
|
883
|
+
}, lt = 200, ut = ({ view: e = Z.Main, onChangeFolderClick: o, resource: s, renderSummary: l, dependencies: f, folderItems: p, selectedFolderPath: h, pendingFolderPath: g, onPendingFolderPathChange: y, onCreateFolder: b, expandedPaths: ee, onExpandedPathsChange: S, loadingPaths: te, hasExistingPublicationInFolder: ne, hasWriteAccess: C, isSubmitting: E, hasSubmitError: D = !1, allowReplace: O = !0, author: k, onAuthorChange: A, publishCredentials: ie = !1, onPublishCredentialsChange: j, rules: M, onRulesChange: N, ruleSourceOptions: P, isRulesLoading: ae = !1, hasRulesLoadError: se = !1, labels: ce = {}, summaryTitleClassName: le = "dial-body-semi-text", headingClassName: B = "dial-body-semi-text", destinationClassName: V = "dial-small-semi-text", calloutFolderNameClassName: H = "dial-small-paragraph-semi-text", styles: ue = {} }) => {
|
|
888
884
|
let { colors: U, folderTree: G, accessRules: q, dependencies: de } = ue, J = {
|
|
889
885
|
...oe({
|
|
890
886
|
"--pp-summary-title-text": U?.summaryTitleText,
|
|
@@ -901,22 +897,22 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
901
897
|
t(() => {
|
|
902
898
|
Ue.current !== e && (Ue.current = e, e === Z.ChangeFolder ? Ve.current?.focus({ preventScroll: !0 }) : Be.current?.focus({ preventScroll: !0 }));
|
|
903
899
|
}, [e]);
|
|
904
|
-
let
|
|
905
|
-
hasSelectedFolder:
|
|
900
|
+
let Ge = h != null, Ke = r(() => K({
|
|
901
|
+
hasSelectedFolder: Ge,
|
|
906
902
|
hasExistingPublicationInFolder: ne,
|
|
907
903
|
hasWriteAccess: C,
|
|
908
904
|
isSubmitting: E,
|
|
909
905
|
hasSubmitError: D,
|
|
910
906
|
allowReplace: O
|
|
911
907
|
}), [
|
|
912
|
-
|
|
908
|
+
Ge,
|
|
913
909
|
ne,
|
|
914
910
|
C,
|
|
915
911
|
E,
|
|
916
912
|
D,
|
|
917
913
|
O
|
|
918
|
-
]), qe =
|
|
919
|
-
className: I("truncate", le,
|
|
914
|
+
]), qe = Ge ? h[h.length - 1] ?? Te : "", Je = l ? l() : /* @__PURE__ */ L("span", {
|
|
915
|
+
className: I("truncate", le, ct.summaryTitle),
|
|
920
916
|
children: s?.title
|
|
921
917
|
});
|
|
922
918
|
if (e === Z.ChangeFolder) return /* @__PURE__ */ R("div", {
|
|
@@ -935,7 +931,7 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
935
931
|
clearLabel: ke,
|
|
936
932
|
"aria-label": Oe
|
|
937
933
|
})
|
|
938
|
-
}), /* @__PURE__ */ L(
|
|
934
|
+
}), /* @__PURE__ */ L(st, {
|
|
939
935
|
items: p,
|
|
940
936
|
selectedPath: g,
|
|
941
937
|
onSelectedPathChange: y,
|
|
@@ -957,7 +953,7 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
957
953
|
styles: G
|
|
958
954
|
})]
|
|
959
955
|
});
|
|
960
|
-
let Ye = I(V,
|
|
956
|
+
let Ye = I(V, ct.destination);
|
|
961
957
|
return /* @__PURE__ */ R("div", {
|
|
962
958
|
className: I("flex flex-col gap-5", Fe.panel),
|
|
963
959
|
style: J,
|
|
@@ -977,7 +973,7 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
977
973
|
}),
|
|
978
974
|
/* @__PURE__ */ R("section", { children: [
|
|
979
975
|
/* @__PURE__ */ L("h2", {
|
|
980
|
-
className: I("mb-2", B,
|
|
976
|
+
className: I("mb-2", B, ct.sectionHeading),
|
|
981
977
|
children: X
|
|
982
978
|
}),
|
|
983
979
|
/* @__PURE__ */ R("div", {
|
|
@@ -986,7 +982,7 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
986
982
|
role: "group",
|
|
987
983
|
"aria-label": fe,
|
|
988
984
|
className: "min-w-0 flex-1",
|
|
989
|
-
children:
|
|
985
|
+
children: Ge ? /* @__PURE__ */ L(_, {
|
|
990
986
|
name: [Te, ...h].join(" / "),
|
|
991
987
|
nameClassName: Ye
|
|
992
988
|
}) : /* @__PURE__ */ L("span", {
|
|
@@ -996,7 +992,7 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
996
992
|
}), /* @__PURE__ */ L(v, {
|
|
997
993
|
ref: Be,
|
|
998
994
|
size: m.Small,
|
|
999
|
-
label:
|
|
995
|
+
label: Ge ? pe : me,
|
|
1000
996
|
iconBefore: /* @__PURE__ */ L(z, {
|
|
1001
997
|
size: u.SM,
|
|
1002
998
|
stroke: d,
|
|
@@ -1010,8 +1006,8 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
1010
1006
|
className: "mt-3",
|
|
1011
1007
|
children: /* @__PURE__ */ L(w, {
|
|
1012
1008
|
type: T.SectionMessage,
|
|
1013
|
-
variant:
|
|
1014
|
-
message:
|
|
1009
|
+
variant: dt(Ke.calloutKind),
|
|
1010
|
+
message: pt(Ke.calloutKind, {
|
|
1015
1011
|
replaceWarning: he,
|
|
1016
1012
|
noAccessError: ge,
|
|
1017
1013
|
submitError: _e,
|
|
@@ -1030,7 +1026,7 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
1030
1026
|
caption: Me,
|
|
1031
1027
|
value: k,
|
|
1032
1028
|
onChange: (e) => A(e ?? ""),
|
|
1033
|
-
maxLength:
|
|
1029
|
+
maxLength: lt,
|
|
1034
1030
|
disabled: E
|
|
1035
1031
|
})
|
|
1036
1032
|
}),
|
|
@@ -1050,7 +1046,7 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
1050
1046
|
rules: M,
|
|
1051
1047
|
onRulesChange: N,
|
|
1052
1048
|
sourceOptions: P,
|
|
1053
|
-
folderName:
|
|
1049
|
+
folderName: Ge ? qe : void 0,
|
|
1054
1050
|
disabled: E,
|
|
1055
1051
|
isLoading: ae,
|
|
1056
1052
|
hasLoadError: se,
|
|
@@ -1059,7 +1055,7 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
1059
1055
|
})
|
|
1060
1056
|
})
|
|
1061
1057
|
] }),
|
|
1062
|
-
f != null && /* @__PURE__ */ L(
|
|
1058
|
+
f != null && /* @__PURE__ */ L(We, {
|
|
1063
1059
|
dependencies: f,
|
|
1064
1060
|
labels: De,
|
|
1065
1061
|
headingClassName: B,
|
|
@@ -1067,7 +1063,7 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
1067
1063
|
})
|
|
1068
1064
|
]
|
|
1069
1065
|
});
|
|
1070
|
-
},
|
|
1066
|
+
}, dt = (e) => e === W.ReplaceWarning ? E.Warning : E.Error, ft = (e, t, n) => {
|
|
1071
1067
|
let [r, i, ...a] = e.split("{folder}");
|
|
1072
1068
|
return i === void 0 || a.length > 0 ? e : /* @__PURE__ */ R(ce, { children: [
|
|
1073
1069
|
r,
|
|
@@ -1077,11 +1073,11 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
1077
1073
|
}),
|
|
1078
1074
|
i
|
|
1079
1075
|
] });
|
|
1080
|
-
},
|
|
1076
|
+
}, pt = (e, t) => e === W.ReplaceWarning ? ft(t.replaceWarning.replace("{version}", t.version ?? ""), t.folderName, t.folderNameClassName) : e === W.NoAccess ? ft(t.noAccessError, t.folderName, t.folderNameClassName) : t.submitError, mt = { footer: "_footer_dks1v_1" }, ht = ({ version: e, hasExistingPublicationInFolder: t, allowReplace: n = !0, isSubmitDisabled: r, isSubmitLoading: i, onCancel: a, onSubmit: o, view: s = Z.Main, onSelectFolder: c, isSelectFolderDisabled: l = !1, labels: d = {}, colors: f }) => {
|
|
1081
1077
|
let p = oe({ "--pf-border": f?.border }), { cancelLabel: m = "Cancel", publishDefaultLabel: h = "Publish", updateLabel: g = "Update version {version}", publishingInProgressLabel: _ = "Publishing…", selectFolderLabel: y = "Select" } = d, b = s === Z.ChangeFolder, x = i ? _ : n && t && e != null ? g.replace("{version}", e) : h;
|
|
1082
1078
|
return /* @__PURE__ */ R("div", {
|
|
1083
1079
|
style: p,
|
|
1084
|
-
className: I("flex items-center justify-end gap-2 border-t px-4 py-4 rtl:flex-row-reverse rtl:justify-start desktop:px-3.5",
|
|
1080
|
+
className: I("flex items-center justify-end gap-2 border-t px-4 py-4 rtl:flex-row-reverse rtl:justify-start desktop:px-3.5", mt.footer),
|
|
1085
1081
|
children: [/* @__PURE__ */ L(v, {
|
|
1086
1082
|
label: m,
|
|
1087
1083
|
className: "mobile:flex-1",
|
|
@@ -1103,13 +1099,13 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
1103
1099
|
onClick: o
|
|
1104
1100
|
})]
|
|
1105
1101
|
});
|
|
1106
|
-
},
|
|
1102
|
+
}, gt = {
|
|
1107
1103
|
backdrop: "_backdrop_16jmd_6",
|
|
1108
1104
|
panel: "_panel_16jmd_10",
|
|
1109
1105
|
divider: "_divider_16jmd_15",
|
|
1110
1106
|
content: "_content_16jmd_19",
|
|
1111
1107
|
title: "_title_16jmd_24"
|
|
1112
|
-
},
|
|
1108
|
+
}, _t = ({ isOpen: e, resource: n, renderSummary: i, dependencies: o, folderItems: s, selectedFolderPath: c, onSelectedFolderPathChange: l, onCreateFolder: u, expandedPaths: d, onExpandedPathsChange: f, loadingPaths: p, hasExistingPublicationInFolder: m, hasWriteAccess: h, isSubmitting: g, hasSubmitError: _ = !1, allowReplace: v = !0, author: y, onAuthorChange: b, rules: x, onRulesChange: ee, ruleSourceOptions: S, isRulesLoading: te = !1, hasRulesLoadError: ne = !1, onClose: C, returnFocusRef: w, onSubmit: T, panelLabels: E, panelStyles: D, panelSummaryTitleClassName: O, panelHeadingClassName: re, panelCalloutFolderNameClassName: k, footerLabels: ie, labels: j = {}, titleClassName: M = "dial-body-semi-text", colors: N }) => {
|
|
1113
1109
|
let P = oe({
|
|
1114
1110
|
"--spp-backdrop-bg": N?.backdropBackground,
|
|
1115
1111
|
"--spp-panel-bg": N?.panelBackground,
|
|
@@ -1159,7 +1155,7 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
1159
1155
|
open: e,
|
|
1160
1156
|
onClose: C,
|
|
1161
1157
|
header: /* @__PURE__ */ L("span", {
|
|
1162
|
-
className: I("block truncate text-center", M,
|
|
1158
|
+
className: I("block truncate text-center", M, gt.title),
|
|
1163
1159
|
children: H ? ce : se
|
|
1164
1160
|
}),
|
|
1165
1161
|
ariaLabel: le,
|
|
@@ -1170,16 +1166,16 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
1170
1166
|
closeDisabled: g,
|
|
1171
1167
|
style: P,
|
|
1172
1168
|
overlayStyle: P,
|
|
1173
|
-
className: I(
|
|
1174
|
-
overlayClassName:
|
|
1175
|
-
headerClassName: I("px-[22px]",
|
|
1169
|
+
className: I(gt.panel, "tablet:w-[540px]! tablet:max-w-[calc(100%-32px)]!"),
|
|
1170
|
+
overlayClassName: gt.backdrop,
|
|
1171
|
+
headerClassName: I("px-[22px]", gt.divider),
|
|
1176
1172
|
bodyClassName: "flex flex-col overflow-hidden",
|
|
1177
1173
|
children: [/* @__PURE__ */ L("div", {
|
|
1178
1174
|
ref: ae,
|
|
1179
|
-
className: I("min-h-0 flex-1 overflow-y-auto",
|
|
1175
|
+
className: I("min-h-0 flex-1 overflow-y-auto", gt.content),
|
|
1180
1176
|
children: /* @__PURE__ */ L("div", {
|
|
1181
1177
|
className: "p-[22px]",
|
|
1182
|
-
children: /* @__PURE__ */ L(
|
|
1178
|
+
children: /* @__PURE__ */ L(ut, {
|
|
1183
1179
|
resource: n,
|
|
1184
1180
|
renderSummary: i,
|
|
1185
1181
|
dependencies: o,
|
|
@@ -1212,7 +1208,7 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
1212
1208
|
calloutFolderNameClassName: k
|
|
1213
1209
|
})
|
|
1214
1210
|
})
|
|
1215
|
-
}), /* @__PURE__ */ L(
|
|
1211
|
+
}), /* @__PURE__ */ L(ht, {
|
|
1216
1212
|
version: n?.version,
|
|
1217
1213
|
hasExistingPublicationInFolder: m,
|
|
1218
1214
|
allowReplace: v,
|
|
@@ -1226,8 +1222,8 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
1226
1222
|
labels: ie
|
|
1227
1223
|
})]
|
|
1228
1224
|
});
|
|
1229
|
-
},
|
|
1230
|
-
let { title: f = "Unpublish?", confirmLabel: p = "Unpublish", cancelLabel: m = "Cancel", rootFolderLabel: h = "Organization", folderGroupAriaLabel: g = "Published folders", loadingStatusLabel: _ = "Requesting unpublish…", confirmMessage: v =
|
|
1225
|
+
}, vt = { option: "_option_skygm_1" }, yt = (e, t) => `Unpublish "${e}" from "${t}"?`, bt = (e) => `Choose which folder to unpublish "${e}" from.`, xt = ({ isOpen: e, name: t, folders: n, selectedFolder: r, onSelectedFolderChange: i, isLoading: a = !1, labels: o, optionClassName: s = "dial-small-text", colors: c, onConfirm: u, onClose: d }) => {
|
|
1226
|
+
let { title: f = "Unpublish?", confirmLabel: p = "Unpublish", cancelLabel: m = "Cancel", rootFolderLabel: h = "Organization", folderGroupAriaLabel: g = "Published folders", loadingStatusLabel: _ = "Requesting unpublish…", confirmMessage: v = yt, selectFolderMessage: y = bt } = o ?? {}, b = n.length > 1;
|
|
1231
1227
|
return /* @__PURE__ */ L(N, {
|
|
1232
1228
|
open: e,
|
|
1233
1229
|
title: f,
|
|
@@ -1255,18 +1251,18 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
1255
1251
|
value: e,
|
|
1256
1252
|
label: ye(e, h)
|
|
1257
1253
|
})),
|
|
1258
|
-
radioClassName: I(s,
|
|
1254
|
+
radioClassName: I(s, vt.option)
|
|
1259
1255
|
})
|
|
1260
1256
|
})
|
|
1261
1257
|
});
|
|
1262
|
-
},
|
|
1258
|
+
}, St = /* @__PURE__ */ function(e) {
|
|
1263
1259
|
return e.Keep = "keep", e.New = "new", e;
|
|
1264
|
-
}({}),
|
|
1260
|
+
}({}), Ct = /* @__PURE__ */ function(e) {
|
|
1265
1261
|
return e.Main = "main", e.ChangeFolder = "change-folder", e;
|
|
1266
|
-
}({}),
|
|
1262
|
+
}({}), wt = {
|
|
1267
1263
|
heading: "_heading_vk731_1",
|
|
1268
1264
|
destination: "_destination_vk731_5"
|
|
1269
|
-
},
|
|
1265
|
+
}, Tt = ({ view: e, resource: t, roots: i, destination: o, onCreateFolder: s, onChangeFolderClick: c, changeFolderButtonRef: l, pendingDestination: f, onPendingDestinationChange: p, version: g, accessRules: y, isSubmitting: b = !1, submitError: te, foldersError: C, onRetryFolders: w, panelLabels: T = {}, panelStyles: E = {}, headingClassName: D = "dial-body-semi-text", destinationClassName: k = "dial-small-semi-text" }) => {
|
|
1270
1266
|
let { saveToFolderHeading: A = "Save to folder", changeFolderLabel: ie = "Change", destinationAriaLabel: j = "Destination folder", versionHeading: M = "Version", keepVersionLabel: N = "Keep version {version}", saveAsNewVersionLabel: P = "Save as new version", newVersionLabel: ae = "Version", newVersionPlaceholder: se = "Enter new version", searchPlaceholder: ce = "Search folders", clearSearchAriaLabel: le = "Clear search", folderEmptyStateLabel: B, createFolderLabel: V, cancelCreatingFolderLabel: H, addSiblingFolderLabel: ue, addChildFolderLabel: U, createFolderEmptyNameError: W, createFolderInvalidNameError: G, createFolderDuplicateNameError: K, createFolderSameAsParentNameError: q, retryLabel: de = "Retry" } = T, { colors: J, folderTree: Y } = E, X = {
|
|
1271
1267
|
...oe({
|
|
1272
1268
|
"--stf-heading-text": J?.headingText,
|
|
@@ -1276,8 +1272,8 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
1276
1272
|
}, Z = {
|
|
1277
1273
|
border: J?.summaryBorder,
|
|
1278
1274
|
background: J?.summaryBackground
|
|
1279
|
-
}, [fe, Q] = a(""), pe = n(), me = r(() => [i.find((e) => e.key === o.rootKey)?.label ?? o.rootKey, ...o.path], [i, o]), he = i.find((e) => e.key === f?.rootKey), ge = f ? f.path[f.path.length - 1] ?? he?.label : void 0, _e = I(D,
|
|
1280
|
-
if (e ===
|
|
1275
|
+
}, [fe, Q] = a(""), pe = n(), me = r(() => [i.find((e) => e.key === o.rootKey)?.label ?? o.rootKey, ...o.path], [i, o]), he = i.find((e) => e.key === f?.rootKey), ge = f ? f.path[f.path.length - 1] ?? he?.label : void 0, _e = I(D, wt.heading);
|
|
1276
|
+
if (e === Ct.ChangeFolder) return /* @__PURE__ */ R("div", {
|
|
1281
1277
|
className: "flex flex-col gap-3",
|
|
1282
1278
|
style: X,
|
|
1283
1279
|
children: [
|
|
@@ -1301,7 +1297,7 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
1301
1297
|
})]
|
|
1302
1298
|
})
|
|
1303
1299
|
}),
|
|
1304
|
-
/* @__PURE__ */ L(
|
|
1300
|
+
/* @__PURE__ */ L(st, {
|
|
1305
1301
|
roots: i,
|
|
1306
1302
|
destination: f,
|
|
1307
1303
|
onDestinationChange: p,
|
|
@@ -1336,10 +1332,10 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
1336
1332
|
]
|
|
1337
1333
|
});
|
|
1338
1334
|
let $ = g ? [{
|
|
1339
|
-
value:
|
|
1335
|
+
value: St.Keep,
|
|
1340
1336
|
label: N.replace("{version}", g.currentVersion)
|
|
1341
1337
|
}, {
|
|
1342
|
-
value:
|
|
1338
|
+
value: St.New,
|
|
1343
1339
|
label: P,
|
|
1344
1340
|
content: /* @__PURE__ */ L(x, {
|
|
1345
1341
|
id: pe,
|
|
@@ -1389,7 +1385,7 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
1389
1385
|
className: "min-w-0 flex-1",
|
|
1390
1386
|
children: /* @__PURE__ */ L(_, {
|
|
1391
1387
|
name: me.join(" / "),
|
|
1392
|
-
nameClassName: I(k,
|
|
1388
|
+
nameClassName: I(k, wt.destination)
|
|
1393
1389
|
})
|
|
1394
1390
|
}), /* @__PURE__ */ L(v, {
|
|
1395
1391
|
ref: l,
|
|
@@ -1424,14 +1420,14 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
1424
1420
|
})
|
|
1425
1421
|
]
|
|
1426
1422
|
});
|
|
1427
|
-
},
|
|
1423
|
+
}, Et = {
|
|
1428
1424
|
backdrop: "_backdrop_1ie8s_6",
|
|
1429
1425
|
panel: "_panel_1ie8s_10",
|
|
1430
1426
|
divider: "_divider_1ie8s_15",
|
|
1431
1427
|
footer: "_footer_1ie8s_19",
|
|
1432
1428
|
content: "_content_1ie8s_23",
|
|
1433
1429
|
title: "_title_1ie8s_28"
|
|
1434
|
-
},
|
|
1430
|
+
}, Dt = ({ isOpen: e, onClose: n, onSubmit: r, isSubmitDisabled: o = !1, returnFocusRef: s, labels: c = {}, colors: l, titleClassName: d = "dial-body-semi-text", destination: f, onDestinationChange: p, isSubmitting: m = !1, onPendingDestinationChange: h, ...g }) => {
|
|
1435
1431
|
let { title: _ = "Save", changeFolderTitle: y = "Change folder", closeAriaLabel: b = "Close", backAriaLabel: x = "Back", cancelLabel: ee = "Cancel", saveLabel: S = "Save", savingLabel: te = "Saving…", selectLabel: ne = "Select" } = c, w = oe({
|
|
1436
1432
|
"--sstf-backdrop-bg": l?.backdropBackground,
|
|
1437
1433
|
"--sstf-panel-bg": l?.panelBackground,
|
|
@@ -1439,27 +1435,27 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
1439
1435
|
"--sstf-divider-border": l?.dividerBorder,
|
|
1440
1436
|
"--sstf-scrollbar-thumb": l?.scrollbarThumb,
|
|
1441
1437
|
"--sstf-title-text": l?.titleText
|
|
1442
|
-
}), [T, E] = a(
|
|
1438
|
+
}), [T, E] = a(Ct.Main), [O, re] = a(f), k = i(null), j = i(null);
|
|
1443
1439
|
t(() => {
|
|
1444
|
-
e && E(
|
|
1440
|
+
e && E(Ct.Main);
|
|
1445
1441
|
}, [e]);
|
|
1446
1442
|
let M = i(T);
|
|
1447
1443
|
t(() => {
|
|
1448
|
-
M.current !== T && (M.current = T, T ===
|
|
1444
|
+
M.current !== T && (M.current = T, T === Ct.ChangeFolder ? k.current?.focus({ preventScroll: !0 }) : j.current?.focus({ preventScroll: !0 }));
|
|
1449
1445
|
}, [T]);
|
|
1450
1446
|
let N = i(e);
|
|
1451
1447
|
t(() => {
|
|
1452
1448
|
let t = N.current;
|
|
1453
1449
|
N.current = e, t && !e && s?.current?.isConnected && s.current.focus({ preventScroll: !0 });
|
|
1454
1450
|
}, [e, s]);
|
|
1455
|
-
let P = T ===
|
|
1451
|
+
let P = T === Ct.ChangeFolder, F = (e) => {
|
|
1456
1452
|
re(e), h?.(e);
|
|
1457
1453
|
}, ae = () => {
|
|
1458
|
-
F(f), E(
|
|
1454
|
+
F(f), E(Ct.ChangeFolder);
|
|
1459
1455
|
}, se = () => {
|
|
1460
|
-
h?.(f), E(
|
|
1456
|
+
h?.(f), E(Ct.Main);
|
|
1461
1457
|
}, ce = () => {
|
|
1462
|
-
O && p(O), E(
|
|
1458
|
+
O && p(O), E(Ct.Main);
|
|
1463
1459
|
};
|
|
1464
1460
|
return /* @__PURE__ */ R(A, {
|
|
1465
1461
|
open: e,
|
|
@@ -1467,7 +1463,7 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
1467
1463
|
header: /* @__PURE__ */ L("span", {
|
|
1468
1464
|
ref: k,
|
|
1469
1465
|
tabIndex: -1,
|
|
1470
|
-
className: I("block truncate outline-none", d,
|
|
1466
|
+
className: I("block truncate outline-none", d, Et.title),
|
|
1471
1467
|
children: P ? y : _
|
|
1472
1468
|
}),
|
|
1473
1469
|
ariaLabel: _,
|
|
@@ -1478,13 +1474,13 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
1478
1474
|
closeDisabled: m,
|
|
1479
1475
|
style: w,
|
|
1480
1476
|
overlayStyle: w,
|
|
1481
|
-
className: I(
|
|
1482
|
-
overlayClassName:
|
|
1483
|
-
headerClassName: I("px-[22px]",
|
|
1477
|
+
className: I(Et.panel, "tablet:w-[540px]! tablet:max-w-[calc(100%-32px)]!"),
|
|
1478
|
+
overlayClassName: Et.backdrop,
|
|
1479
|
+
headerClassName: I("px-[22px]", Et.divider),
|
|
1484
1480
|
bodyClassName: "flex flex-col overflow-hidden",
|
|
1485
1481
|
children: [/* @__PURE__ */ L("div", {
|
|
1486
|
-
className: I("min-h-0 flex-1 overflow-y-auto p-[22px]",
|
|
1487
|
-
children: /* @__PURE__ */ L(
|
|
1482
|
+
className: I("min-h-0 flex-1 overflow-y-auto p-[22px]", Et.content),
|
|
1483
|
+
children: /* @__PURE__ */ L(Tt, {
|
|
1488
1484
|
...g,
|
|
1489
1485
|
view: T,
|
|
1490
1486
|
destination: f,
|
|
@@ -1496,7 +1492,7 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
1496
1492
|
onPendingDestinationChange: F
|
|
1497
1493
|
})
|
|
1498
1494
|
}), /* @__PURE__ */ R("div", {
|
|
1499
|
-
className: I("flex items-center justify-end gap-2 border-t px-4 py-4 desktop:px-3.5",
|
|
1495
|
+
className: I("flex items-center justify-end gap-2 border-t px-4 py-4 desktop:px-3.5", Et.footer),
|
|
1500
1496
|
children: [/* @__PURE__ */ L(v, {
|
|
1501
1497
|
label: ee,
|
|
1502
1498
|
className: "mobile:flex-1",
|
|
@@ -1521,4 +1517,4 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
1521
1517
|
});
|
|
1522
1518
|
};
|
|
1523
1519
|
//#endregion
|
|
1524
|
-
export { Fe as PUBLISH_PANEL_CLASS, U as PublicationRuleFunction, Ae as PublishAccessRuleEditor, Pe as PublishAccessRules, W as PublishCalloutKind,
|
|
1520
|
+
export { Fe as PUBLISH_PANEL_CLASS, U as PublicationRuleFunction, Ae as PublishAccessRuleEditor, Pe as PublishAccessRules, W as PublishCalloutKind, We as PublishDependenciesList, G as PublishDependencyType, st as PublishFoldersTree, ht as PublishFooter, Ke as PublishHistoryList, ut as PublishPanel, Z as PublishPanelView, Tt as SaveToFolderPanel, Ct as SaveToFolderView, St as SaveVersionMode, _t as StandalonePublishPanel, Dt as StandaloneSaveToFolderPanel, xt as UnpublishConfirmationDialog, _e as collectFolderKeys, K as derivePublishState, Q as filterFolderTree, de as formatPublishedDate, ve as fromFolderPathKey, we as getSiblingFolderNames, Ce as getUniqueFolderName, ge as mergeFolderPaths, me as sortFolderTree, be as toDialFileTree, $ as toFolderPathKey, X as usePublishFlow, fe as usePublishFolderView, Se as validateFolderName };
|
|
@@ -4,10 +4,8 @@ import { PublishDependency, PublishDependencyType } from './publish-dependency';
|
|
|
4
4
|
export interface PublishDependenciesLabels {
|
|
5
5
|
/** Section heading. Default: `'Private dependencies'`. */
|
|
6
6
|
title?: string;
|
|
7
|
-
/** Warning shown under the heading: why a private dependency matters. */
|
|
7
|
+
/** Warning shown under the heading: why a private dependency matters; the host names the published entity in it. Default: a generic text about "this item". */
|
|
8
8
|
description?: string;
|
|
9
|
-
/** Label for a dependency that sits at the root of its owner's bucket. Default: `'Root folder'`. */
|
|
10
|
-
rootLocation?: string;
|
|
11
9
|
/** Label per kind of dependency. Defaults: `'Application'`, `'Toolset'`, `'Prompt'`, `'Skill'`, `'File'`. */
|
|
12
10
|
typeLabels?: Partial<Record<PublishDependencyType, string>>;
|
|
13
11
|
/** Text announced to screen readers when the section appears or its count changes; receives the count. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"publish-dependencies-list.d.ts","sourceRoot":"","sources":["../../src/models/publish-dependencies-list.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,KAAK,EACV,iBAAiB,EACjB,qBAAqB,EACtB,MAAM,sBAAsB,CAAC;AAE9B,2DAA2D;AAC3D,MAAM,WAAW,yBAAyB;IACxC,0DAA0D;IAC1D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf
|
|
1
|
+
{"version":3,"file":"publish-dependencies-list.d.ts","sourceRoot":"","sources":["../../src/models/publish-dependencies-list.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,KAAK,EACV,iBAAiB,EACjB,qBAAqB,EACtB,MAAM,sBAAsB,CAAC;AAE9B,2DAA2D;AAC3D,MAAM,WAAW,yBAAyB;IACxC,0DAA0D;IAC1D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,+JAA+J;IAC/J,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,6GAA6G;IAC7G,UAAU,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,qBAAqB,EAAE,MAAM,CAAC,CAAC,CAAC;IAC5D,0GAA0G;IAC1G,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;CAC7C;AAED,4DAA4D;AAC5D,MAAM,WAAW,yBAAyB;IACxC,wDAAwD;IACxD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gEAAgE;IAChE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,6EAA6E;IAC7E,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,4DAA4D;AAC5D,MAAM,WAAW,yBAAyB;IACxC,uCAAuC;IACvC,MAAM,CAAC,EAAE,yBAAyB,CAAC;IACnC,oEAAoE;IACpE,OAAO,CAAC,EAAE,aAAa,CAAC;CACzB;AAED,2CAA2C;AAC3C,MAAM,WAAW,4BAA4B;IAC3C,oEAAoE;IACpE,YAAY,EAAE,iBAAiB,EAAE,CAAC;IAClC,sBAAsB;IACtB,MAAM,CAAC,EAAE,yBAAyB,CAAC;IACnC,0EAA0E;IAC1E,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,oFAAoF;IACpF,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,uGAAuG;IACvG,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,uBAAuB;IACvB,MAAM,CAAC,EAAE,yBAAyB,CAAC;CACpC"}
|
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.43",
|
|
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.43",
|
|
29
29
|
"@epam/ai-dial-ui-kit": "^0.16.0",
|
|
30
30
|
"@epam/ai-dial-react-file-manager": "^0.4.1"
|
|
31
31
|
},
|