@epam/ai-dial-catalog 1.0.0-dev.484 → 1.0.0-dev.489
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":"Catalog.d.ts","sourceRoot":"","sources":["../../../src/components/Catalog/Catalog.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,EAAE,EAAqD,MAAM,OAAO,CAAC;AAE9E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAqB/D;;;;GAIG;AACH,eAAO,MAAM,OAAO,EAAE,EAAE,CAAC,YAAY,
|
|
1
|
+
{"version":3,"file":"Catalog.d.ts","sourceRoot":"","sources":["../../../src/components/Catalog/Catalog.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,EAAE,EAAqD,MAAM,OAAO,CAAC;AAE9E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAqB/D;;;;GAIG;AACH,eAAO,MAAM,OAAO,EAAE,EAAE,CAAC,YAAY,CA8bpC,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ColDef } from 'ag-grid-community';
|
|
2
2
|
import { CatalogItem } from '../../models/catalog-item';
|
|
3
|
-
|
|
3
|
+
/** Column definitions for the catalog ag-grid list view. A stable module-level constant so ag-grid never sees a new array/closures on each render. */
|
|
4
|
+
export declare const CATALOG_COLUMNS: ColDef<CatalogItem>[];
|
|
4
5
|
//# sourceMappingURL=columns.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"columns.d.ts","sourceRoot":"","sources":["../../../src/components/ListView/columns.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAOxD,eAAO,MAAM,eAAe,
|
|
1
|
+
{"version":3,"file":"columns.d.ts","sourceRoot":"","sources":["../../../src/components/ListView/columns.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAOxD,sJAAsJ;AACtJ,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,WAAW,CAAC,EA6ChD,CAAC"}
|
package/index.js
CHANGED
|
@@ -25720,10 +25720,12 @@ var pb = 2e3, mb = (e, t = pb) => {
|
|
|
25720
25720
|
}, [e, t])
|
|
25721
25721
|
};
|
|
25722
25722
|
}, hb = {
|
|
25723
|
-
container: "
|
|
25724
|
-
containerLight: "
|
|
25725
|
-
header: "
|
|
25726
|
-
|
|
25723
|
+
container: "_container_1w6ki_1",
|
|
25724
|
+
containerLight: "_containerLight_1w6ki_6",
|
|
25725
|
+
header: "_header_1w6ki_10",
|
|
25726
|
+
languageLabel: "_languageLabel_1w6ki_15",
|
|
25727
|
+
copiedIcon: "_copiedIcon_1w6ki_19",
|
|
25728
|
+
scrollContainer: "_scrollContainer_1w6ki_23"
|
|
25727
25729
|
}, gb = { color: "var(--text-secondary, #575f73)" }, _b = { color: "var(--bg-accent-primary, #2764d9)" }, vb = { color: "var(--text-accent-tertiary, #7e39ec)" }, yb = { color: "var(--text-primary, #161b2d)" }, bb = {
|
|
25728
25730
|
"code[class*=\"language-\"]": {
|
|
25729
25731
|
color: "var(--text-primary, #161b2d)",
|
|
@@ -25794,14 +25796,14 @@ var pb = 2e3, mb = (e, t = pb) => {
|
|
|
25794
25796
|
}, xb = {
|
|
25795
25797
|
dark: bb,
|
|
25796
25798
|
light: bb
|
|
25797
|
-
}, Sb = i(({ language: e, value: t, isStreaming: n, theme: r = xt.Dark, copyLabel: i = "Copy code", copiedLabel: a = "Copied!", downloadLabel: o = "Download code", containerClassName: s, headerClassName: c, codeClassName: l = "dial-code-text" }) => {
|
|
25798
|
-
let { isCopied:
|
|
25799
|
+
}, Sb = i(({ language: e, value: t, isStreaming: n, theme: r = xt.Dark, copyLabel: i = "Copy code", copiedLabel: a = "Copied!", downloadLabel: o = "Download code", containerClassName: s, headerClassName: c, codeClassName: l = "dial-code-text", languageLabelClassName: u = "dial-tiny-semi-text uppercase" }) => {
|
|
25800
|
+
let { isCopied: d, copy: f } = mb(t), h = r === xt.Light;
|
|
25799
25801
|
return /* @__PURE__ */ R("div", {
|
|
25800
|
-
className: G("my-4 max-w-full overflow-hidden rounded-xl border", hb.container,
|
|
25802
|
+
className: G("my-4 max-w-full overflow-hidden rounded-xl border", hb.container, h && hb.containerLight, s),
|
|
25801
25803
|
children: [/* @__PURE__ */ R("div", {
|
|
25802
25804
|
className: G("flex min-h-10 items-center justify-between border-b px-3 py-2", hb.header, c),
|
|
25803
25805
|
children: [/* @__PURE__ */ L("span", {
|
|
25804
|
-
className:
|
|
25806
|
+
className: G(hb.languageLabel, u),
|
|
25805
25807
|
children: e
|
|
25806
25808
|
}), !n && /* @__PURE__ */ R("div", {
|
|
25807
25809
|
className: "flex items-center gap-1",
|
|
@@ -25814,12 +25816,12 @@ var pb = 2e3, mb = (e, t = pb) => {
|
|
|
25814
25816
|
nr(t, `code.${$n(e)}`);
|
|
25815
25817
|
}
|
|
25816
25818
|
}), /* @__PURE__ */ L(E, {
|
|
25817
|
-
icon: L(
|
|
25818
|
-
"aria-label":
|
|
25819
|
+
icon: L(d ? cp : lp, { size: m.SM }),
|
|
25820
|
+
"aria-label": d ? a : i,
|
|
25819
25821
|
variant: p.Primary,
|
|
25820
25822
|
size: ie.Small,
|
|
25821
|
-
className:
|
|
25822
|
-
onClick:
|
|
25823
|
+
className: d ? hb.copiedIcon : void 0,
|
|
25824
|
+
onClick: f
|
|
25823
25825
|
})]
|
|
25824
25826
|
})]
|
|
25825
25827
|
}), /* @__PURE__ */ L("div", {
|
|
@@ -25873,10 +25875,10 @@ var pb = 2e3, mb = (e, t = pb) => {
|
|
|
25873
25875
|
handleScroll: s
|
|
25874
25876
|
};
|
|
25875
25877
|
}, Eb = {
|
|
25876
|
-
scrollContainer: "
|
|
25877
|
-
tableScrollFadeEnd: "
|
|
25878
|
-
tableScrollFadeStart: "
|
|
25879
|
-
tableScrollFadeBoth: "
|
|
25878
|
+
scrollContainer: "_scrollContainer_1bv91_1",
|
|
25879
|
+
tableScrollFadeEnd: "_tableScrollFadeEnd_1bv91_17",
|
|
25880
|
+
tableScrollFadeStart: "_tableScrollFadeStart_1bv91_25",
|
|
25881
|
+
tableScrollFadeBoth: "_tableScrollFadeBoth_1bv91_33"
|
|
25880
25882
|
}, Db = i(({ children: e, classNames: t }) => {
|
|
25881
25883
|
let { scrollContainerRef: n, tableRef: r, hasContentBeyondStart: i, hasContentBeyondEnd: a, handleScroll: o } = Tb();
|
|
25882
25884
|
return /* @__PURE__ */ L("div", {
|
|
@@ -25991,11 +25993,11 @@ var pb = 2e3, mb = (e, t = pb) => {
|
|
|
25991
25993
|
children: t
|
|
25992
25994
|
}),
|
|
25993
25995
|
th: ({ children: t }) => /* @__PURE__ */ L("th", {
|
|
25994
|
-
className: G("max-w-96 whitespace-normal break-words border-b px-3 py-2.5 text-start text-secondary
|
|
25996
|
+
className: G("max-w-96 whitespace-normal break-words border-b px-3 py-2.5 text-start text-secondary", Cb.secondaryBorder, e.tableHeaderFont ?? "font-semibold", e.tableCell, e.tableHeader),
|
|
25995
25997
|
children: t
|
|
25996
25998
|
}),
|
|
25997
25999
|
td: ({ children: t }) => /* @__PURE__ */ L("td", {
|
|
25998
|
-
className: G("max-w-96 whitespace-normal break-words border-b px-3 py-2.5 align-top
|
|
26000
|
+
className: G("max-w-96 whitespace-normal break-words border-b px-3 py-2.5 align-top", Cb.secondaryBorder, e.tableBodyCell, e.tableCell),
|
|
25999
26001
|
children: t
|
|
26000
26002
|
})
|
|
26001
26003
|
}), Nb = i(({ content: e, isStreaming: t, streamCharactersPerSecond: n, classNames: r = Ab, components: i, thinkingLabel: a = "Thinking", codeBlockCopyLabel: o, codeBlockCopiedLabel: s, codeBlockTheme: c }) => {
|
|
@@ -28172,69 +28174,53 @@ var Cx = {
|
|
|
28172
28174
|
listContainer: "_listContainer_1lje3_5",
|
|
28173
28175
|
starFilledIcon: "_starFilledIcon_1lje3_16",
|
|
28174
28176
|
selectedRow: "_selectedRow_1lje3_20"
|
|
28175
|
-
}, CS =
|
|
28176
|
-
let n = t?.searchQuery ?? "", r = t?.typography, i = r?.nameClassName ?? "dial-h3-text", a = r?.versionClassName ?? "dial-tiny-text", o = r?.descriptionClassName ?? "dial-small-text", s = e != null && e.id === t?.selectedItemId;
|
|
28177
|
-
return e ? /* @__PURE__ */ R("div", {
|
|
28178
|
-
className: "flex h-full items-center gap-2.5",
|
|
28179
|
-
children: [
|
|
28180
|
-
/* @__PURE__ */ L(lr, {
|
|
28181
|
-
src: e.iconUrl,
|
|
28182
|
-
size: 48,
|
|
28183
|
-
initialsName: e.name
|
|
28184
|
-
}),
|
|
28185
|
-
/* @__PURE__ */ R("div", {
|
|
28186
|
-
className: "flex min-w-0 flex-col gap-0.5",
|
|
28187
|
-
children: [/* @__PURE__ */ L(wx, {
|
|
28188
|
-
title: e.name,
|
|
28189
|
-
postfix: e.version,
|
|
28190
|
-
postfixClassName: a,
|
|
28191
|
-
query: n,
|
|
28192
|
-
titleClassName: i,
|
|
28193
|
-
className: "items-baseline gap-1.5",
|
|
28194
|
-
trailing: s ? /* @__PURE__ */ L(z, {
|
|
28195
|
-
size: m.SM,
|
|
28196
|
-
className: "shrink-0 text-accent-primary",
|
|
28197
|
-
"aria-hidden": !0
|
|
28198
|
-
}) : void 0
|
|
28199
|
-
}), /* @__PURE__ */ L("p", {
|
|
28200
|
-
className: G(o, SS.secondaryText),
|
|
28201
|
-
children: /* @__PURE__ */ L(pr, {
|
|
28202
|
-
text: e.description,
|
|
28203
|
-
query: n,
|
|
28204
|
-
maxLines: 2
|
|
28205
|
-
})
|
|
28206
|
-
})]
|
|
28207
|
-
}),
|
|
28208
|
-
/* @__PURE__ */ L(ix, {
|
|
28209
|
-
credentials: e.credentials,
|
|
28210
|
-
loggedOutLabel: t?.credentialsBadgeLoggedOutLabel,
|
|
28211
|
-
className: "ms-2 shrink-0"
|
|
28212
|
-
})
|
|
28213
|
-
]
|
|
28214
|
-
}) : null;
|
|
28215
|
-
}, wS = ({ data: e, context: t }) => {
|
|
28216
|
-
let [n, r] = d(e?.isStarred ?? !1);
|
|
28217
|
-
return e ? /* @__PURE__ */ L("div", {
|
|
28218
|
-
className: "flex h-full items-center justify-center pe-4",
|
|
28219
|
-
children: /* @__PURE__ */ L(ux, {
|
|
28220
|
-
isStarred: n,
|
|
28221
|
-
onClick: (i) => {
|
|
28222
|
-
i.stopPropagation();
|
|
28223
|
-
let a = !n;
|
|
28224
|
-
r(a), t?.onToggleFavorite?.(e.id, a);
|
|
28225
|
-
}
|
|
28226
|
-
})
|
|
28227
|
-
}) : null;
|
|
28228
|
-
}, TS = ({ data: e }) => e ? /* @__PURE__ */ L("div", {
|
|
28229
|
-
className: "flex h-full flex-wrap items-center gap-1",
|
|
28230
|
-
children: e.topics.map((e) => /* @__PURE__ */ L(fx, { label: e }, e))
|
|
28231
|
-
}) : null, ES = () => [
|
|
28177
|
+
}, CS = [
|
|
28232
28178
|
{
|
|
28233
28179
|
headerName: "Name",
|
|
28234
28180
|
flex: 4,
|
|
28235
28181
|
field: "name",
|
|
28236
28182
|
filter: !1,
|
|
28237
|
-
cellRenderer:
|
|
28183
|
+
cellRenderer: ({ data: e, context: t }) => {
|
|
28184
|
+
let n = t?.searchQuery ?? "", r = t?.typography, i = r?.nameClassName ?? "dial-h3-text", a = r?.versionClassName ?? "dial-tiny-text", o = r?.descriptionClassName ?? "dial-small-text", s = e != null && e.id === t?.selectedItemId;
|
|
28185
|
+
return e ? /* @__PURE__ */ R("div", {
|
|
28186
|
+
className: "flex h-full items-center gap-2.5",
|
|
28187
|
+
children: [
|
|
28188
|
+
/* @__PURE__ */ L(lr, {
|
|
28189
|
+
src: e.iconUrl,
|
|
28190
|
+
size: 48,
|
|
28191
|
+
initialsName: e.name
|
|
28192
|
+
}),
|
|
28193
|
+
/* @__PURE__ */ R("div", {
|
|
28194
|
+
className: "flex min-w-0 flex-col gap-0.5",
|
|
28195
|
+
children: [/* @__PURE__ */ L(wx, {
|
|
28196
|
+
title: e.name,
|
|
28197
|
+
postfix: e.version,
|
|
28198
|
+
postfixClassName: a,
|
|
28199
|
+
query: n,
|
|
28200
|
+
titleClassName: i,
|
|
28201
|
+
className: "items-baseline gap-1.5",
|
|
28202
|
+
trailing: s ? /* @__PURE__ */ L(z, {
|
|
28203
|
+
size: m.SM,
|
|
28204
|
+
className: "shrink-0 text-accent-primary",
|
|
28205
|
+
"aria-hidden": !0
|
|
28206
|
+
}) : void 0
|
|
28207
|
+
}), /* @__PURE__ */ L("p", {
|
|
28208
|
+
className: G(o, SS.secondaryText),
|
|
28209
|
+
children: /* @__PURE__ */ L(pr, {
|
|
28210
|
+
text: e.description,
|
|
28211
|
+
query: n,
|
|
28212
|
+
maxLines: 2
|
|
28213
|
+
})
|
|
28214
|
+
})]
|
|
28215
|
+
}),
|
|
28216
|
+
/* @__PURE__ */ L(ix, {
|
|
28217
|
+
credentials: e.credentials,
|
|
28218
|
+
loggedOutLabel: t?.credentialsBadgeLoggedOutLabel,
|
|
28219
|
+
className: "ms-2 shrink-0"
|
|
28220
|
+
})
|
|
28221
|
+
]
|
|
28222
|
+
}) : null;
|
|
28223
|
+
},
|
|
28238
28224
|
valueGetter: (e) => e.data?.name
|
|
28239
28225
|
},
|
|
28240
28226
|
{
|
|
@@ -28260,7 +28246,10 @@ var Cx = {
|
|
|
28260
28246
|
flex: 2,
|
|
28261
28247
|
filter: !1,
|
|
28262
28248
|
sortable: !1,
|
|
28263
|
-
cellRenderer:
|
|
28249
|
+
cellRenderer: ({ data: e }) => e ? /* @__PURE__ */ L("div", {
|
|
28250
|
+
className: "flex h-full flex-wrap items-center gap-1",
|
|
28251
|
+
children: e.topics.map((e) => /* @__PURE__ */ L(fx, { label: e }, e))
|
|
28252
|
+
}) : null,
|
|
28264
28253
|
valueGetter: (e) => e.data?.topics
|
|
28265
28254
|
},
|
|
28266
28255
|
{
|
|
@@ -28271,28 +28260,41 @@ var Cx = {
|
|
|
28271
28260
|
filter: !1,
|
|
28272
28261
|
sortable: !1,
|
|
28273
28262
|
resizable: !1,
|
|
28274
|
-
cellRenderer:
|
|
28263
|
+
cellRenderer: ({ data: e, context: t }) => {
|
|
28264
|
+
let [n, r] = d(e?.isStarred ?? !1);
|
|
28265
|
+
return e ? /* @__PURE__ */ L("div", {
|
|
28266
|
+
className: "flex h-full items-center justify-center pe-4",
|
|
28267
|
+
children: /* @__PURE__ */ L(ux, {
|
|
28268
|
+
isStarred: n,
|
|
28269
|
+
onClick: (i) => {
|
|
28270
|
+
i.stopPropagation();
|
|
28271
|
+
let a = !n;
|
|
28272
|
+
r(a), t?.onToggleFavorite?.(e.id, a);
|
|
28273
|
+
}
|
|
28274
|
+
})
|
|
28275
|
+
}) : null;
|
|
28276
|
+
}
|
|
28275
28277
|
}
|
|
28276
|
-
],
|
|
28278
|
+
], wS = 50, TS = (e) => {
|
|
28277
28279
|
if (!e || e === document.body) return null;
|
|
28278
28280
|
let { overflow: t, overflowY: n } = getComputedStyle(e);
|
|
28279
|
-
return t === "auto" || t === "scroll" || n === "auto" || n === "scroll" ? e :
|
|
28280
|
-
},
|
|
28281
|
+
return t === "auto" || t === "scroll" || n === "auto" || n === "scroll" ? e : TS(e.parentElement);
|
|
28282
|
+
}, ES = ({ items: e, query: t = "", ariaLabel: n = "Catalog", emptyStateTitle: r, styles: i, onToggleFavorite: a, onItemClick: s, stickyHeaderTop: c, selectedItemId: f, credentialsBadgeLoggedOutLabel: p }) => {
|
|
28281
28283
|
let m = i?.typography ?? {}, h = i?.colors, g = {
|
|
28282
28284
|
"--cat-list-name-text": h?.nameText,
|
|
28283
28285
|
"--cat-list-secondary-text": h?.secondaryText,
|
|
28284
28286
|
...c == null ? {} : { "--list-header-sticky-top": `${c}px` }
|
|
28285
|
-
}, _ = u(null), v = u(null), [y, b] = d(() => Math.min(e.length,
|
|
28287
|
+
}, _ = u(null), v = u(null), [y, b] = d(() => Math.min(e.length, wS)), x = u(e);
|
|
28286
28288
|
o(() => {
|
|
28287
|
-
x.current !== e && (x.current = e, b(Math.min(e.length,
|
|
28289
|
+
x.current !== e && (x.current = e, b(Math.min(e.length, wS)));
|
|
28288
28290
|
}, [e]), o(() => {
|
|
28289
28291
|
let t = v.current;
|
|
28290
28292
|
if (!t) return;
|
|
28291
|
-
let n =
|
|
28293
|
+
let n = TS(t.parentElement);
|
|
28292
28294
|
if (!n) return;
|
|
28293
28295
|
let r = () => {
|
|
28294
28296
|
let r = n.getBoundingClientRect(), i = t.getBoundingClientRect();
|
|
28295
|
-
i.top < r.bottom && i.bottom > r.top && b((t) => Math.min(e.length, t +
|
|
28297
|
+
i.top < r.bottom && i.bottom > r.top && b((t) => Math.min(e.length, t + wS));
|
|
28296
28298
|
};
|
|
28297
28299
|
return n.addEventListener("scroll", r, { passive: !0 }), r(), () => n.removeEventListener("scroll", r);
|
|
28298
28300
|
}, [e.length]);
|
|
@@ -28305,7 +28307,7 @@ var Cx = {
|
|
|
28305
28307
|
style: g,
|
|
28306
28308
|
className: F("w-full px-4", SS.listContainer),
|
|
28307
28309
|
children: [/* @__PURE__ */ L(D, {
|
|
28308
|
-
columnDefs:
|
|
28310
|
+
columnDefs: CS,
|
|
28309
28311
|
rowData: S,
|
|
28310
28312
|
getRowId: (e) => e.id,
|
|
28311
28313
|
alternateOddRowColors: !0,
|
|
@@ -28340,7 +28342,7 @@ var Cx = {
|
|
|
28340
28342
|
"aria-hidden": !0
|
|
28341
28343
|
})]
|
|
28342
28344
|
});
|
|
28343
|
-
},
|
|
28345
|
+
}, DS = {
|
|
28344
28346
|
filterBtn: "_filterBtn_6kwgr_5",
|
|
28345
28347
|
filterBtnActive: "_filterBtnActive_6kwgr_21",
|
|
28346
28348
|
filterBtnOpen: "_filterBtnOpen_6kwgr_25",
|
|
@@ -28356,14 +28358,14 @@ var Cx = {
|
|
|
28356
28358
|
divider: "_divider_6kwgr_117",
|
|
28357
28359
|
sectionLabel: "_sectionLabel_6kwgr_123",
|
|
28358
28360
|
footer: "_footer_6kwgr_131"
|
|
28359
|
-
},
|
|
28361
|
+
}, OS = (e, t, n, r, i) => {
|
|
28360
28362
|
let a = e.size > 0;
|
|
28361
28363
|
return n && a ? `${r} · ${e.size}` : n ? r : a ? Be(e, t, i) : i;
|
|
28362
|
-
},
|
|
28364
|
+
}, kS = (e, t) => {
|
|
28363
28365
|
let n = new Set(t);
|
|
28364
28366
|
return n.has(e) ? n.delete(e) : n.add(e), n;
|
|
28365
|
-
},
|
|
28366
|
-
let g = (r ?? !1) || e.size > 0, [_, v] = d(!1), y = l(() => n == null ? [] : [...n].sort(), [n]), b =
|
|
28367
|
+
}, AS = ({ checked: e, onChange: t, values: n, isMyAppsActive: r, onMyAppsChange: i, myAppsLabel: s = "My", topicsLabel: c = "Topics", defaultLabel: f = "From", clearLabel: p = "Clear", applyLabel: h = "Apply" }) => {
|
|
28368
|
+
let g = (r ?? !1) || e.size > 0, [_, v] = d(!1), y = l(() => n == null ? [] : [...n].sort(), [n]), b = OS(e, n, r, s, f), [S, C] = d(() => new Set(e)), [w, T] = d(r ?? !1);
|
|
28367
28369
|
o(() => {
|
|
28368
28370
|
_ && (C(new Set(e)), T(r ?? !1));
|
|
28369
28371
|
}, [
|
|
@@ -28406,7 +28408,7 @@ var Cx = {
|
|
|
28406
28408
|
role: "menu",
|
|
28407
28409
|
"aria-label": f,
|
|
28408
28410
|
tabIndex: -1,
|
|
28409
|
-
className: G("min-w-[360px] rounded-xl p-[6px]",
|
|
28411
|
+
className: G("min-w-[360px] rounded-xl p-[6px]", DS.overlay),
|
|
28410
28412
|
onKeyDown: te,
|
|
28411
28413
|
children: [
|
|
28412
28414
|
/* @__PURE__ */ R("div", {
|
|
@@ -28416,32 +28418,32 @@ var Cx = {
|
|
|
28416
28418
|
ref: (e) => {
|
|
28417
28419
|
k.current[0] = e;
|
|
28418
28420
|
},
|
|
28419
|
-
className: G("flex cursor-pointer select-none items-center gap-3 rounded-lg px-[10px] py-[9px] outline-none",
|
|
28421
|
+
className: G("flex cursor-pointer select-none items-center gap-3 rounded-lg px-[10px] py-[9px] outline-none", DS.row, w && DS.rowChecked),
|
|
28420
28422
|
onClick: () => T(!w),
|
|
28421
28423
|
onKeyDown: N(() => T(!w)),
|
|
28422
28424
|
children: [/* @__PURE__ */ L("span", {
|
|
28423
|
-
className: G("flex size-5 shrink-0 items-center justify-center rounded-[6px]",
|
|
28425
|
+
className: G("flex size-5 shrink-0 items-center justify-center rounded-[6px]", DS.checkbox, w && DS.checkboxChecked),
|
|
28424
28426
|
"aria-hidden": !0
|
|
28425
28427
|
}), /* @__PURE__ */ L("span", {
|
|
28426
|
-
className:
|
|
28428
|
+
className: DS.rowLabel,
|
|
28427
28429
|
children: s
|
|
28428
28430
|
})]
|
|
28429
28431
|
}),
|
|
28430
28432
|
y.length > 0 && /* @__PURE__ */ R(I, { children: [
|
|
28431
28433
|
/* @__PURE__ */ L("div", {
|
|
28432
28434
|
role: "separator",
|
|
28433
|
-
className: G("my-1 h-px",
|
|
28435
|
+
className: G("my-1 h-px", DS.divider),
|
|
28434
28436
|
"aria-hidden": !0
|
|
28435
28437
|
}),
|
|
28436
28438
|
/* @__PURE__ */ L("div", {
|
|
28437
|
-
className: G("px-[10px] pb-1 pt-[10px] uppercase tracking-[0.06em]",
|
|
28439
|
+
className: G("px-[10px] pb-1 pt-[10px] uppercase tracking-[0.06em]", DS.sectionLabel),
|
|
28438
28440
|
"aria-hidden": !0,
|
|
28439
28441
|
children: c
|
|
28440
28442
|
}),
|
|
28441
28443
|
/* @__PURE__ */ L("div", {
|
|
28442
28444
|
className: "flex max-h-[220px] flex-col gap-1 overflow-y-auto",
|
|
28443
28445
|
children: y.map((e, t) => {
|
|
28444
|
-
let n = S.has(e), r = t + 1, i = () => C(
|
|
28446
|
+
let n = S.has(e), r = t + 1, i = () => C(kS(e, S));
|
|
28445
28447
|
return /* @__PURE__ */ R("div", {
|
|
28446
28448
|
role: "menuitemcheckbox",
|
|
28447
28449
|
"aria-checked": n,
|
|
@@ -28449,14 +28451,14 @@ var Cx = {
|
|
|
28449
28451
|
ref: (e) => {
|
|
28450
28452
|
k.current[r] = e;
|
|
28451
28453
|
},
|
|
28452
|
-
className: G("flex cursor-pointer select-none items-center gap-3 rounded-lg px-[10px] py-[9px] outline-none",
|
|
28454
|
+
className: G("flex cursor-pointer select-none items-center gap-3 rounded-lg px-[10px] py-[9px] outline-none", DS.row, n && DS.rowChecked),
|
|
28453
28455
|
onClick: i,
|
|
28454
28456
|
onKeyDown: N(i),
|
|
28455
28457
|
children: [/* @__PURE__ */ L("span", {
|
|
28456
|
-
className: G("flex size-5 shrink-0 items-center justify-center rounded-[6px]",
|
|
28458
|
+
className: G("flex size-5 shrink-0 items-center justify-center rounded-[6px]", DS.checkbox, n && DS.checkboxChecked),
|
|
28457
28459
|
"aria-hidden": !0
|
|
28458
28460
|
}), /* @__PURE__ */ L("span", {
|
|
28459
|
-
className:
|
|
28461
|
+
className: DS.rowLabel,
|
|
28460
28462
|
children: e
|
|
28461
28463
|
})]
|
|
28462
28464
|
}, e);
|
|
@@ -28464,7 +28466,7 @@ var Cx = {
|
|
|
28464
28466
|
})
|
|
28465
28467
|
] }),
|
|
28466
28468
|
/* @__PURE__ */ R("div", {
|
|
28467
|
-
className: G("mt-1 flex items-center px-1 py-3",
|
|
28469
|
+
className: G("mt-1 flex items-center px-1 py-3", DS.footer),
|
|
28468
28470
|
onKeyDown: (e) => {
|
|
28469
28471
|
(e.key === "ArrowUp" || e.key === "ArrowDown") && e.stopPropagation();
|
|
28470
28472
|
},
|
|
@@ -28485,28 +28487,28 @@ var Cx = {
|
|
|
28485
28487
|
"aria-haspopup": "menu",
|
|
28486
28488
|
"aria-expanded": _,
|
|
28487
28489
|
onKeyDown: M,
|
|
28488
|
-
className: G("flex h-[50px] shrink-0 cursor-pointer items-center gap-[7px] whitespace-nowrap rounded-xl px-[18px]",
|
|
28490
|
+
className: G("flex h-[50px] shrink-0 cursor-pointer items-center gap-[7px] whitespace-nowrap rounded-xl px-[18px]", DS.filterBtn, g && DS.filterBtnActive, _ && DS.filterBtnOpen),
|
|
28489
28491
|
children: [
|
|
28490
28492
|
/* @__PURE__ */ L(de, {
|
|
28491
28493
|
size: m.SM,
|
|
28492
28494
|
strokeWidth: 1.8,
|
|
28493
|
-
className: G("shrink-0",
|
|
28495
|
+
className: G("shrink-0", DS.filterBtnFunnel),
|
|
28494
28496
|
"aria-hidden": !0
|
|
28495
28497
|
}),
|
|
28496
28498
|
/* @__PURE__ */ L("span", {
|
|
28497
|
-
className:
|
|
28499
|
+
className: DS.filterBtnLabel,
|
|
28498
28500
|
children: b
|
|
28499
28501
|
}),
|
|
28500
28502
|
/* @__PURE__ */ L(oe, {
|
|
28501
28503
|
size: 14,
|
|
28502
28504
|
strokeWidth: 2.2,
|
|
28503
|
-
className: G("shrink-0 transition-transform duration-150",
|
|
28505
|
+
className: G("shrink-0 transition-transform duration-150", DS.filterBtnChevron, _ && "rotate-180"),
|
|
28504
28506
|
"aria-hidden": !0
|
|
28505
28507
|
})
|
|
28506
28508
|
]
|
|
28507
28509
|
})
|
|
28508
28510
|
});
|
|
28509
|
-
},
|
|
28511
|
+
}, jS = ({ placeholder: e = "Search", className: t, ...n }) => /* @__PURE__ */ L("div", {
|
|
28510
28512
|
className: "flex-1",
|
|
28511
28513
|
children: /* @__PURE__ */ L(Ib, {
|
|
28512
28514
|
placeholder: e,
|
|
@@ -28517,7 +28519,7 @@ var Cx = {
|
|
|
28517
28519
|
inputClassName: "text-[15px]",
|
|
28518
28520
|
clearButtonClassName: "size-11 desktop:size-auto"
|
|
28519
28521
|
})
|
|
28520
|
-
}),
|
|
28522
|
+
}), MS = ({ totalCount: e, viewMode: t, onViewModeChange: n, title: r = "Browse", styles: i, query: a, onQueryChange: o, searchPlaceholder: s, gridViewLabel: c = "Grid view", listViewLabel: l = "List view", sortKey: u, onSortChange: d, sortOptions: f, filters: p, onFiltersChange: h, filterValues: g, isMyAppsActive: _, onMyAppsChange: v, filterFromLabel: y, filterMyAppsLabel: b, filterTopicsLabel: S }) => {
|
|
28521
28523
|
let C = i?.typography?.titleClassName ?? "dial-body-semi-text", w = i?.typography?.countClassName ?? "dial-tiny-semi-text", T = f?.find((e) => e.value === u)?.label ?? "";
|
|
28522
28524
|
return /* @__PURE__ */ R("div", {
|
|
28523
28525
|
className: "flex flex-col gap-3",
|
|
@@ -28577,12 +28579,12 @@ var Cx = {
|
|
|
28577
28579
|
})]
|
|
28578
28580
|
}), /* @__PURE__ */ R("div", {
|
|
28579
28581
|
className: "mb-5 flex items-center gap-3",
|
|
28580
|
-
children: [/* @__PURE__ */ L(
|
|
28582
|
+
children: [/* @__PURE__ */ L(jS, {
|
|
28581
28583
|
value: a,
|
|
28582
28584
|
onChange: o,
|
|
28583
28585
|
placeholder: s,
|
|
28584
28586
|
className: "flex-1"
|
|
28585
|
-
}), /* @__PURE__ */ L(
|
|
28587
|
+
}), /* @__PURE__ */ L(AS, {
|
|
28586
28588
|
checked: p ?? /* @__PURE__ */ new Set(),
|
|
28587
28589
|
onChange: h ?? (() => void 0),
|
|
28588
28590
|
values: g,
|
|
@@ -28594,12 +28596,12 @@ var Cx = {
|
|
|
28594
28596
|
})]
|
|
28595
28597
|
})]
|
|
28596
28598
|
});
|
|
28597
|
-
},
|
|
28599
|
+
}, NS = {
|
|
28598
28600
|
section: "_section_qj3lh_1",
|
|
28599
28601
|
icon: "_icon_qj3lh_5",
|
|
28600
28602
|
divider: "_divider_qj3lh_9",
|
|
28601
28603
|
clearAll: "_clearAll_qj3lh_13"
|
|
28602
|
-
},
|
|
28604
|
+
}, PS = ({ query: e, onQueryChange: t, searchPlaceholder: n = "Search models, tools, agents…", styles: r, filters: i, onFiltersChange: a, filterValues: o, isMyAppsActive: s, onMyAppsChange: c, filterFromLabel: l, filterMyAppsLabel: u, filterTopicsLabel: d, gridViewLabel: f, listViewLabel: p, sortKey: m, onSortChange: h, sortOptions: g, ..._ }) => {
|
|
28603
28605
|
let v = {
|
|
28604
28606
|
"--cat-browse-bg": r?.colors?.background,
|
|
28605
28607
|
"--cat-browse-title-text": r?.colors?.titleText,
|
|
@@ -28609,9 +28611,9 @@ var Cx = {
|
|
|
28609
28611
|
"--cat-browse-clear-all": r?.colors?.clearAll
|
|
28610
28612
|
};
|
|
28611
28613
|
return /* @__PURE__ */ L("section", {
|
|
28612
|
-
className: G("flex-shrink-0 px-4",
|
|
28614
|
+
className: G("flex-shrink-0 px-4", NS.section),
|
|
28613
28615
|
style: v,
|
|
28614
|
-
children: /* @__PURE__ */ L(
|
|
28616
|
+
children: /* @__PURE__ */ L(MS, {
|
|
28615
28617
|
styles: r,
|
|
28616
28618
|
query: e,
|
|
28617
28619
|
onQueryChange: t,
|
|
@@ -28632,13 +28634,13 @@ var Cx = {
|
|
|
28632
28634
|
..._
|
|
28633
28635
|
})
|
|
28634
28636
|
});
|
|
28635
|
-
},
|
|
28637
|
+
}, FS = {
|
|
28636
28638
|
root: "_root_1jtp2_1",
|
|
28637
28639
|
heading: "_heading_1jtp2_5",
|
|
28638
28640
|
headingTitle: "_headingTitle_1jtp2_9",
|
|
28639
28641
|
tabsRow: "_tabsRow_1jtp2_13",
|
|
28640
28642
|
activeTab: "_activeTab_1jtp2_17"
|
|
28641
|
-
},
|
|
28643
|
+
}, IS = {
|
|
28642
28644
|
splitDivider: "_splitDivider_1efwg_1",
|
|
28643
28645
|
chevron: "_chevron_1efwg_10",
|
|
28644
28646
|
chevronOpen: "_chevronOpen_1efwg_14",
|
|
@@ -28650,7 +28652,7 @@ var Cx = {
|
|
|
28650
28652
|
itemText: "_itemText_1efwg_71",
|
|
28651
28653
|
itemLabel: "_itemLabel_1efwg_78",
|
|
28652
28654
|
itemDescription: "_itemDescription_1efwg_82"
|
|
28653
|
-
},
|
|
28655
|
+
}, LS = ({ label: e, options: t, onClick: n }) => {
|
|
28654
28656
|
let [r, i] = d(!1), o = u(null), s = u([]), c = a(() => {
|
|
28655
28657
|
o.current?.querySelector("button")?.focus();
|
|
28656
28658
|
}, []), l = a((e) => {
|
|
@@ -28674,11 +28676,11 @@ var Cx = {
|
|
|
28674
28676
|
matchReferenceWidth: !1,
|
|
28675
28677
|
placement: "bottom-end",
|
|
28676
28678
|
outsideClosable: !0,
|
|
28677
|
-
listClassName:
|
|
28679
|
+
listClassName: IS.dropdownWrapper,
|
|
28678
28680
|
renderOverlay: () => /* @__PURE__ */ L("div", {
|
|
28679
28681
|
role: "menu",
|
|
28680
28682
|
"aria-label": e,
|
|
28681
|
-
className:
|
|
28683
|
+
className: IS.menu,
|
|
28682
28684
|
onKeyDown: h,
|
|
28683
28685
|
children: t.map((e, t) => /* @__PURE__ */ R("button", {
|
|
28684
28686
|
ref: (e) => {
|
|
@@ -28686,7 +28688,7 @@ var Cx = {
|
|
|
28686
28688
|
},
|
|
28687
28689
|
role: "menuitem",
|
|
28688
28690
|
tabIndex: -1,
|
|
28689
|
-
className:
|
|
28691
|
+
className: IS.item,
|
|
28690
28692
|
onClick: () => {
|
|
28691
28693
|
e.onClick(), l(!1);
|
|
28692
28694
|
},
|
|
@@ -28694,15 +28696,15 @@ var Cx = {
|
|
|
28694
28696
|
(t.key === "Enter" || t.key === " ") && (t.preventDefault(), e.onClick(), l(!1));
|
|
28695
28697
|
},
|
|
28696
28698
|
children: [e.icon && /* @__PURE__ */ L("div", {
|
|
28697
|
-
className: G(
|
|
28699
|
+
className: G(IS.itemIcon, e.iconContainerClassName),
|
|
28698
28700
|
children: e.icon
|
|
28699
28701
|
}), /* @__PURE__ */ R("div", {
|
|
28700
|
-
className:
|
|
28702
|
+
className: IS.itemText,
|
|
28701
28703
|
children: [/* @__PURE__ */ L("span", {
|
|
28702
|
-
className: G(
|
|
28704
|
+
className: G(IS.itemLabel, "dial-small-semi-text"),
|
|
28703
28705
|
children: e.label
|
|
28704
28706
|
}), e.description && /* @__PURE__ */ L("span", {
|
|
28705
|
-
className: G(
|
|
28707
|
+
className: G(IS.itemDescription, "dial-tiny-text"),
|
|
28706
28708
|
children: e.description
|
|
28707
28709
|
})]
|
|
28708
28710
|
})]
|
|
@@ -28713,12 +28715,12 @@ var Cx = {
|
|
|
28713
28715
|
iconBefore: /* @__PURE__ */ L(xe, { size: m.SM }),
|
|
28714
28716
|
iconAfter: /* @__PURE__ */ R("span", {
|
|
28715
28717
|
className: "flex items-center gap-2",
|
|
28716
|
-
children: [/* @__PURE__ */ L("span", { className:
|
|
28718
|
+
children: [/* @__PURE__ */ L("span", { className: IS.splitDivider }), /* @__PURE__ */ L(oe, {
|
|
28717
28719
|
size: m.SM,
|
|
28718
|
-
className: G(
|
|
28720
|
+
className: G(IS.chevron, r && IS.chevronOpen)
|
|
28719
28721
|
})]
|
|
28720
28722
|
}),
|
|
28721
|
-
className:
|
|
28723
|
+
className: IS.gradientBtn,
|
|
28722
28724
|
"aria-haspopup": "menu",
|
|
28723
28725
|
"aria-expanded": r,
|
|
28724
28726
|
onKeyDown: p
|
|
@@ -28728,9 +28730,9 @@ var Cx = {
|
|
|
28728
28730
|
label: e,
|
|
28729
28731
|
iconBefore: /* @__PURE__ */ L(xe, { size: m.SM }),
|
|
28730
28732
|
onClick: n,
|
|
28731
|
-
className:
|
|
28733
|
+
className: IS.gradientBtn
|
|
28732
28734
|
});
|
|
28733
|
-
},
|
|
28735
|
+
}, RS = ({ items: e, favorites: t, titles: n, onToggleFavorite: r, onUseInChat: i, isPrimaryActionVisible: s, onShare: c, isPublishVisible: f, getPublishHistory: p, publishFolderItems: m, publishExpandedPaths: h, onPublishExpandedPathsChange: g, publishLoadingPaths: _, hasPublishWriteAccess: v, onPublish: y, onPublishSuccess: b, onCreatePublishFolder: x, publishTexts: S, shareOverlay: C, connectOverlay: w, isConnectVisible: T, onFetchDetails: E, onEdit: D, onDelete: O, onLogin: k, onLogout: ee, onUnshare: A, onCreateClick: j, createOptions: M, hideCreateButton: te = !1, hidePageTitle: N = !1, selectedItemId: ne, onCardClick: re, isLoading: ie, styles: ae, detailsTexts: F, initialDetailsItemId: I }) => {
|
|
28734
28736
|
let { typography: z } = ae ?? {}, oe = Zb(ae), se = n?.pageTitle ?? "Catalog", ce = n?.createLabel ?? "Create", le = n?.favoritesTitle ?? "Your favorites", ue = n?.browseTitle ?? "Browse", de = n?.searchPlaceholder ?? "Search models, tools, agents…", fe = n?.noResultsTitle ?? ((e) => `No results for "${e}"`), pe = n?.featuredLabel ?? "Featured", me = n?.gridViewLabel ?? "Grid view", he = n?.listViewLabel ?? "List view", ge = n?.ariaLabel ?? "Catalog", _e = [
|
|
28735
28737
|
{
|
|
28736
28738
|
value: Me.RecentlyUpdated,
|
|
@@ -28814,17 +28816,17 @@ var Cx = {
|
|
|
28814
28816
|
children: /* @__PURE__ */ L(P, {})
|
|
28815
28817
|
}) : /* @__PURE__ */ R("section", {
|
|
28816
28818
|
"aria-label": ge,
|
|
28817
|
-
className: G("flex min-h-0 flex-1 flex-col",
|
|
28819
|
+
className: G("flex size-full min-h-0 flex-1 flex-col", FS.root),
|
|
28818
28820
|
style: oe,
|
|
28819
28821
|
children: [
|
|
28820
28822
|
(!N || !te) && /* @__PURE__ */ L("div", {
|
|
28821
|
-
className: G("shrink-0",
|
|
28823
|
+
className: G("shrink-0", FS.heading),
|
|
28822
28824
|
children: /* @__PURE__ */ R("div", {
|
|
28823
28825
|
className: "flex h-[64px] w-full items-center justify-between px-8",
|
|
28824
28826
|
children: [!N && /* @__PURE__ */ L("h1", {
|
|
28825
|
-
className: G(z?.pageHeadingFontClassName ?? "dial-display2-text",
|
|
28827
|
+
className: G(z?.pageHeadingFontClassName ?? "dial-display2-text", FS.headingTitle),
|
|
28826
28828
|
children: se
|
|
28827
|
-
}), !te && /* @__PURE__ */ L(
|
|
28829
|
+
}), !te && /* @__PURE__ */ L(LS, {
|
|
28828
28830
|
label: ce,
|
|
28829
28831
|
options: M,
|
|
28830
28832
|
onClick: j
|
|
@@ -28850,7 +28852,7 @@ var Cx = {
|
|
|
28850
28852
|
}),
|
|
28851
28853
|
/* @__PURE__ */ L("div", {
|
|
28852
28854
|
className: "w-full px-4 pt-6",
|
|
28853
|
-
children: /* @__PURE__ */ L(
|
|
28855
|
+
children: /* @__PURE__ */ L(PS, {
|
|
28854
28856
|
totalCount: ct.length,
|
|
28855
28857
|
viewMode: ye,
|
|
28856
28858
|
onViewModeChange: dt,
|
|
@@ -28891,8 +28893,8 @@ var Cx = {
|
|
|
28891
28893
|
}),
|
|
28892
28894
|
/* @__PURE__ */ R("div", {
|
|
28893
28895
|
className: "mx-auto min-h-full w-full max-w-[1180px] px-8 pt-6",
|
|
28894
|
-
children: [
|
|
28895
|
-
className: "pb-8",
|
|
28896
|
+
children: [/* @__PURE__ */ L("div", {
|
|
28897
|
+
className: G("pb-8", ye !== Re.Grid && "hidden"),
|
|
28896
28898
|
children: /* @__PURE__ */ L(_x, {
|
|
28897
28899
|
items: lt,
|
|
28898
28900
|
query: B,
|
|
@@ -28901,9 +28903,9 @@ var Cx = {
|
|
|
28901
28903
|
titles: pt,
|
|
28902
28904
|
selectedItemId: ne
|
|
28903
28905
|
})
|
|
28904
|
-
}), xe &&
|
|
28905
|
-
className: "pb-8",
|
|
28906
|
-
children: /* @__PURE__ */ L(
|
|
28906
|
+
}), xe && /* @__PURE__ */ L("div", {
|
|
28907
|
+
className: G("pb-8", ye !== Re.List && "hidden"),
|
|
28908
|
+
children: /* @__PURE__ */ L(ES, {
|
|
28907
28909
|
items: lt,
|
|
28908
28910
|
query: B,
|
|
28909
28911
|
ariaLabel: ge,
|
|
@@ -28951,12 +28953,12 @@ var Cx = {
|
|
|
28951
28953
|
})
|
|
28952
28954
|
]
|
|
28953
28955
|
});
|
|
28954
|
-
},
|
|
28956
|
+
}, zS = {
|
|
28955
28957
|
backdrop: "_backdrop_4t085_1",
|
|
28956
28958
|
panel: "_panel_4t085_5",
|
|
28957
28959
|
divider: "_divider_4t085_10",
|
|
28958
28960
|
content: "_content_4t085_14"
|
|
28959
|
-
},
|
|
28961
|
+
}, BS = ({ isOpen: e, item: t, resource: n, history: r, isHistoryLoading: i = !1, hasHistoryError: a = !1, folderItems: s, selectedFolderPath: c, onSelectedFolderPathChange: d, onCreateFolder: f, expandedPaths: p, onExpandedPathsChange: m, loadingPaths: h, hasExistingPublicationInFolder: g, hasWriteAccess: _, isSubmitting: v, hasSubmitError: b = !1, allowReplace: x = !0, onClose: S, returnFocusRef: C, onSubmit: w, panelTexts: T, footerTexts: E, texts: D = {} }) => {
|
|
28960
28962
|
let O = u(null), { title: k = "Publish", ariaLabel: ee = "Publish", closeAriaLabel: A = "Close" } = D, j = l(() => Ke({
|
|
28961
28963
|
hasSelectedFolder: c != null,
|
|
28962
28964
|
hasExistingPublicationInFolder: g,
|
|
@@ -28988,7 +28990,7 @@ var Cx = {
|
|
|
28988
28990
|
document.removeEventListener("keydown", t);
|
|
28989
28991
|
};
|
|
28990
28992
|
}, [e, S]), /* @__PURE__ */ R(I, { children: [/* @__PURE__ */ L("div", {
|
|
28991
|
-
className: G("fixed inset-0 z-[55] transition-opacity duration-300",
|
|
28993
|
+
className: G("fixed inset-0 z-[55] transition-opacity duration-300", zS.backdrop, e ? "opacity-100" : "pointer-events-none opacity-0"),
|
|
28992
28994
|
onClick: S,
|
|
28993
28995
|
"aria-hidden": "true"
|
|
28994
28996
|
}), /* @__PURE__ */ R("div", {
|
|
@@ -28999,7 +29001,7 @@ var Cx = {
|
|
|
28999
29001
|
"aria-hidden": !e,
|
|
29000
29002
|
inert: !e,
|
|
29001
29003
|
tabIndex: -1,
|
|
29002
|
-
className: G("fixed inset-y-0 end-0 z-[60] flex w-full flex-col overflow-hidden", "desktop:rounded-ts-xl desktop:rounded-bs-xl desktop:w-[540px] desktop:border-s", "transition-transform duration-300",
|
|
29004
|
+
className: G("fixed inset-y-0 end-0 z-[60] flex w-full flex-col overflow-hidden", "desktop:rounded-ts-xl desktop:rounded-bs-xl desktop:w-[540px] desktop:border-s", "transition-transform duration-300", zS.panel, e ? "translate-x-0" : "translate-x-full rtl:-translate-x-full"),
|
|
29003
29005
|
children: [
|
|
29004
29006
|
/* @__PURE__ */ R("div", {
|
|
29005
29007
|
className: "flex shrink-0 items-center gap-2 px-[22px] py-3",
|
|
@@ -29019,9 +29021,9 @@ var Cx = {
|
|
|
29019
29021
|
})
|
|
29020
29022
|
]
|
|
29021
29023
|
}),
|
|
29022
|
-
/* @__PURE__ */ L("div", { className: G("shrink-0",
|
|
29024
|
+
/* @__PURE__ */ L("div", { className: G("shrink-0", zS.divider) }),
|
|
29023
29025
|
/* @__PURE__ */ L("div", {
|
|
29024
|
-
className: G("min-h-0 flex-1 overflow-y-auto",
|
|
29026
|
+
className: G("min-h-0 flex-1 overflow-y-auto", zS.content),
|
|
29025
29027
|
children: /* @__PURE__ */ L("div", {
|
|
29026
29028
|
className: "p-[22px]",
|
|
29027
29029
|
children: /* @__PURE__ */ L(Ox, {
|
|
@@ -29059,4 +29061,4 @@ var Cx = {
|
|
|
29059
29061
|
})] });
|
|
29060
29062
|
};
|
|
29061
29063
|
//#endregion
|
|
29062
|
-
export { hx as Card, _x as CardGrid, gx as CardRowRenderer,
|
|
29064
|
+
export { hx as Card, _x as CardGrid, gx as CardRowRenderer, RS as Catalog, Ae as CatalogDetailsTab, V as CatalogEntityType, Me as CatalogSortKey, Re as CatalogViewMode, ke as CodeLanguage, Pe as CredentialStatus, ix as CredentialsBadge, Le as CredentialsBadgeState, Fe as CredentialsLevel, Ie as CredentialsUiState, yS as EntityBadge, je as EntityTag, pS as FavoriteCard, gS as Favorites, AS as Filter, cx as FolderPath, ES as ListView, ze as PublishCalloutKind, Ex as PublishFoldersTree, yx as PublishFooter, Dx as PublishHistoryList, Ox as PublishPanel, BS as StandalonePublishPanel, PS as Toolbar, Ne as ToolsetAuthenticationType, fx as TopicTag, $e as collectFolderKeys, Ke as derivePublishState, Ue as filterCatalogItems, Qe as filterFolderTree, Je as formatPublishedDate, st as getCredentialsBadgeState, ot as getCredentialsUiState, ct as getSignedInLevel, We as sortCatalogItems, Ge as useFavColumns, Ze as usePublishFlow, ex as useScrollVirtualizer };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epam/ai-dial-catalog",
|
|
3
3
|
"description": "Marketplace catalog component for browsing models, tools, and assistants with search, filter, and sort",
|
|
4
|
-
"version": "1.0.0-dev.
|
|
4
|
+
"version": "1.0.0-dev.489",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "./index.js",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"react": "^19.0.0",
|
|
21
21
|
"@tabler/icons-react": "^3.0.0",
|
|
22
22
|
"@epam/ai-dial-ui-kit": "0.12.0-dev.28",
|
|
23
|
-
"@epam/ai-dial-kit": "1.0.0-dev.
|
|
24
|
-
"@epam/ai-dial-sidebar": "1.0.0-dev.
|
|
25
|
-
"@epam/ai-dial-chat-shared": "1.0.0-dev.
|
|
23
|
+
"@epam/ai-dial-kit": "1.0.0-dev.489",
|
|
24
|
+
"@epam/ai-dial-sidebar": "1.0.0-dev.489",
|
|
25
|
+
"@epam/ai-dial-chat-shared": "1.0.0-dev.489",
|
|
26
26
|
"ag-grid-community": "35.3.0"
|
|
27
27
|
},
|
|
28
28
|
"repository": {
|