@epam/ai-dial-ui-kit 0.6.0-rc.13 → 0.6.0-rc.14
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/dist/dial-ui-kit.cjs.js +8 -8
- package/dist/dial-ui-kit.es.js +72 -71
- package/package.json +1 -1
package/dist/dial-ui-kit.es.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx as m, jsxs as z, Fragment as Be } from "react/jsx-runtime";
|
|
|
2
2
|
import ee from "classnames";
|
|
3
3
|
import { useFloating as ud, offset as jg, flip as Kg, shift as qg, arrow as yv, autoUpdate as Yg, useHover as Zg, useFocus as Rv, useDismiss as hd, useRole as gd, useInteractions as pd, useMergeRefs as fd, FloatingPortal as md, FloatingArrow as xv, autoPlacement as Fv, size as Ev, useClick as Dv, FloatingFocusManager as Qg, FloatingOverlay as Pv } from "@floating-ui/react";
|
|
4
4
|
import * as ye from "react";
|
|
5
|
-
import q, { createContext as wa, useState as I, useRef as L, useEffect as xe, useMemo as B, useContext as st, isValidElement as Cd, cloneElement as gc, useCallback as D, memo as mt, useLayoutEffect as
|
|
5
|
+
import q, { createContext as wa, useState as I, useRef as L, useEffect as xe, useMemo as B, useContext as st, isValidElement as Cd, cloneElement as gc, useCallback as D, memo as mt, useLayoutEffect as qt, PureComponent as Tv, Component as Mv, forwardRef as vd, useImperativeHandle as Dn, createElement as Xo, Suspense as Iv, useId as wd, Children as Av } from "react";
|
|
6
6
|
import { IconInfoCircle as bd, IconCircleCheck as kv, IconAlertTriangle as Lv, IconAlertCircle as Ov, IconX as fo, IconMinus as Nv, IconCheck as Xg, IconExclamationCircle as Sd, IconClipboardX as Jg, IconChevronsLeft as Hv, IconChevronsRight as Gv, IconGripVertical as Bv, IconFile as ep, IconFileTypeZip as Vv, IconFileTypeXml as zv, IconFileTypeXls as Wv, IconFileTypeVue as _v, IconFileTypeTxt as Uv, IconFileTypeTsx as $v, IconFileTypeTs as jv, IconFileTypeSvg as Kv, IconFileTypeSql as qv, IconFileTypeRs as Yv, IconFileTypePpt as Zv, IconFileTypePng as Qv, IconFileTypePhp as Xv, IconFileTypePdf as Jv, IconFileTypeJsx as ew, IconFileTypeJs as tw, IconFileTypeJpg as sw, IconFileTypeHtml as iw, IconFileTypeDocx as ow, IconFileTypeDoc as nw, IconFileTypeCsv as rw, IconFileTypeCss as aw, IconFileTypeBmp as lw, IconArrowUpRight as cw, IconFolder as yd, IconChevronLeft as dw, IconChevronRight as tp, IconZoomCancel as uw, IconChevronDown as ba, IconDotsVertical as Pn, IconDots as hw, IconTrashX as Tn, IconEyeOff as sp, IconEye as ip, IconSearch as gw, IconPlus as pw, IconChevronUp as fw, IconAlertCircleFilled as mw, IconCaretRightFilled as Cw, IconArrowLeft as vw, IconFileZip as ww, IconCopyMinus as bw, IconFolderPlus as Sw, IconCopy as Rd, IconDownload as xd, IconPencilMinus as op, IconCircleFilled as Rr, IconFileDescription as yw } from "@tabler/icons-react";
|
|
7
7
|
import Rw, { flushSync as xw, createPortal as Fd } from "react-dom";
|
|
8
8
|
const Ed = "-", Fw = (e) => {
|
|
@@ -4765,7 +4765,7 @@ function Qb() {
|
|
|
4765
4765
|
}), bl;
|
|
4766
4766
|
}
|
|
4767
4767
|
var Xb = Qb();
|
|
4768
|
-
const Jb = /* @__PURE__ */ Zb(Xb), pi = typeof window < "u" ?
|
|
4768
|
+
const Jb = /* @__PURE__ */ Zb(Xb), pi = typeof window < "u" ? qt : xe;
|
|
4769
4769
|
function e0(e, t, s) {
|
|
4770
4770
|
const [i, o] = I(
|
|
4771
4771
|
() => t(e)
|
|
@@ -6123,7 +6123,7 @@ const $0 = ({ side: e, className: t }) => {
|
|
|
6123
6123
|
]);
|
|
6124
6124
|
return /* @__PURE__ */ m(U0, { ref: C, ...b, children: /* @__PURE__ */ m("div", { className: "group flex size-full flex-col bg-layer-3 divide-y divide-tertiary transition-all", children: e }) });
|
|
6125
6125
|
}, q0 = ({ enabled: e = !0, children: t, ...s }) => e ? /* @__PURE__ */ m(K0, { ...s, children: t }) : t;
|
|
6126
|
-
var
|
|
6126
|
+
var Kt = /* @__PURE__ */ ((e) => (e.Default = "default", e.Text = "text", e.Circular = "circular", e.Rectangular = "rectangular", e))(Kt || {}), Fr = /* @__PURE__ */ ((e) => (e.Small = "small", e.Default = "default", e.Large = "large", e))(Fr || {}), yc = /* @__PURE__ */ ((e) => (e.Circle = "circle", e.Square = "square", e))(yc || {});
|
|
6127
6127
|
const Y0 = (e) => {
|
|
6128
6128
|
if (typeof e == "number") return e;
|
|
6129
6129
|
switch (e) {
|
|
@@ -6142,7 +6142,7 @@ const Y0 = (e) => {
|
|
|
6142
6142
|
showTitle: i = !0,
|
|
6143
6143
|
loading: o = !0,
|
|
6144
6144
|
children: n,
|
|
6145
|
-
variant: r =
|
|
6145
|
+
variant: r = Kt.Default,
|
|
6146
6146
|
width: a,
|
|
6147
6147
|
height: l,
|
|
6148
6148
|
className: c,
|
|
@@ -6155,12 +6155,12 @@ const Y0 = (e) => {
|
|
|
6155
6155
|
e && "animate-pulse",
|
|
6156
6156
|
c
|
|
6157
6157
|
);
|
|
6158
|
-
if (r !==
|
|
6158
|
+
if (r !== Kt.Default) {
|
|
6159
6159
|
const E = ge(
|
|
6160
6160
|
u,
|
|
6161
|
-
r ===
|
|
6162
|
-
r ===
|
|
6163
|
-
r ===
|
|
6161
|
+
r === Kt.Circular && "rounded-full",
|
|
6162
|
+
r === Kt.Rectangular && "rounded",
|
|
6163
|
+
r === Kt.Text && "rounded"
|
|
6164
6164
|
), T = {};
|
|
6165
6165
|
return a && (T.width = typeof a == "number" ? `${a}px` : a), l && (T.height = typeof l == "number" ? `${l}px` : l), /* @__PURE__ */ m("div", { className: E, style: T, ...d });
|
|
6166
6166
|
}
|
|
@@ -8449,7 +8449,7 @@ function co(e, t, s, i, o = null) {
|
|
|
8449
8449
|
source: i
|
|
8450
8450
|
});
|
|
8451
8451
|
}
|
|
8452
|
-
function
|
|
8452
|
+
function Yt(e, t, s) {
|
|
8453
8453
|
const {
|
|
8454
8454
|
colModel: i,
|
|
8455
8455
|
rowGroupColsSvc: o,
|
|
@@ -8554,9 +8554,9 @@ function ky(e, t) {
|
|
|
8554
8554
|
const b = Tf(w);
|
|
8555
8555
|
Ue(b.rowGroupIndex) && b.rowGroup && (b.rowGroupIndex = u++), Ue(b.pivotIndex) && b.pivot && (b.pivotIndex = h++), d.push(b);
|
|
8556
8556
|
};
|
|
8557
|
-
i?.getColumns()?.forEach(g), o?.getColumns()?.forEach(g), c?.forEach(g),
|
|
8557
|
+
i?.getColumns()?.forEach(g), o?.getColumns()?.forEach(g), c?.forEach(g), Yt(e, { state: d }, t);
|
|
8558
8558
|
const p = i?.getColumns() ?? [], v = [...o?.getColumns() ?? [], ...p, ...a].map((w) => ({ colId: w.colId }));
|
|
8559
|
-
|
|
8559
|
+
Yt(e, { state: v, applyOrder: !0 }, t), n.dispatchEvent(pe(r, { type: "columnsReset", source: t }));
|
|
8560
8560
|
}
|
|
8561
8561
|
function Pf(e, t) {
|
|
8562
8562
|
const { rowGroupColsSvc: s, pivotColsSvc: i, valueColsSvc: o, colModel: n, sortSvc: r, eventSvc: a } = e, l = {
|
|
@@ -8842,7 +8842,7 @@ var gh = (e, t, s, i) => {
|
|
|
8842
8842
|
this.ready && (this.refreshCols(!1, e), this.beans.visibleCols.refresh(e));
|
|
8843
8843
|
}
|
|
8844
8844
|
setColsVisible(e, t = !1, s) {
|
|
8845
|
-
|
|
8845
|
+
Yt(
|
|
8846
8846
|
this.beans,
|
|
8847
8847
|
{
|
|
8848
8848
|
state: e.map((i) => ({
|
|
@@ -21581,7 +21581,7 @@ function w3(e) {
|
|
|
21581
21581
|
return e.colModel.getColDefCols();
|
|
21582
21582
|
}
|
|
21583
21583
|
function b3(e, t) {
|
|
21584
|
-
return
|
|
21584
|
+
return Yt(e, t, "api");
|
|
21585
21585
|
}
|
|
21586
21586
|
function S3(e) {
|
|
21587
21587
|
return oa(e);
|
|
@@ -22021,7 +22021,7 @@ var G3 = [
|
|
|
22021
22021
|
i,
|
|
22022
22022
|
o
|
|
22023
22023
|
)
|
|
22024
|
-
), s.length &&
|
|
22024
|
+
), s.length && Yt(this.beans, { state: s }, "cellDataTypeInferred"), this.initialData = null;
|
|
22025
22025
|
}
|
|
22026
22026
|
generateColumnStateForRowGroupAndPivotIndexes(e, t) {
|
|
22027
22027
|
const s = {}, { rowGroupColsSvc: i, pivotColsSvc: o } = this.beans;
|
|
@@ -26369,7 +26369,7 @@ var WP = class extends O {
|
|
|
26369
26369
|
if (!s && !o)
|
|
26370
26370
|
return;
|
|
26371
26371
|
const n = Object.assign({}, e.data), r = (a, l) => a.forEach(({ pendingValue: c }, d) => {
|
|
26372
|
-
c !==
|
|
26372
|
+
c !== $t && (l[d.getColId()] = c);
|
|
26373
26373
|
});
|
|
26374
26374
|
return s && r(s, n), o && r(o, n), n;
|
|
26375
26375
|
}
|
|
@@ -26467,7 +26467,7 @@ var WP = class extends O {
|
|
|
26467
26467
|
const t = this.getEditRow(e.rowNode) ?? /* @__PURE__ */ new Map(), { rowNode: s, column: i } = e;
|
|
26468
26468
|
i && !t.has(i) && t.set(i, {
|
|
26469
26469
|
editorValue: void 0,
|
|
26470
|
-
pendingValue:
|
|
26470
|
+
pendingValue: $t,
|
|
26471
26471
|
sourceValue: this.beans.valueSvc.getValue(i, s, !1, "api"),
|
|
26472
26472
|
state: "editing",
|
|
26473
26473
|
editorState: {
|
|
@@ -26601,7 +26601,7 @@ function Yc(e) {
|
|
|
26601
26601
|
if (e)
|
|
26602
26602
|
return typeof e == "string" ? e : e.getColId();
|
|
26603
26603
|
}
|
|
26604
|
-
var
|
|
26604
|
+
var $t = Symbol("unedited");
|
|
26605
26605
|
function Jm(e, t = {}) {
|
|
26606
26606
|
const s = [], i = e.rowRenderer.getCellCtrls(t.rowNodes, t.columns);
|
|
26607
26607
|
for (const o of i) {
|
|
@@ -26621,7 +26621,7 @@ function $P(e, t, s, i, o, n) {
|
|
|
26621
26621
|
const { rowNode: h, column: g } = u, p = _e(e, u);
|
|
26622
26622
|
if (!p) {
|
|
26623
26623
|
if (h && g) {
|
|
26624
|
-
const C = r.getValue(g, h, void 0, "api"), b = (s?.rowNode === h && s?.column === g && i || void 0) ?? a?.getCellDataValue(u, !1) ?? r.getValueForDisplay(g, h)?.value ?? C ??
|
|
26624
|
+
const C = r.getValue(g, h, void 0, "api"), b = (s?.rowNode === h && s?.column === g && i || void 0) ?? a?.getCellDataValue(u, !1) ?? r.getValueForDisplay(g, h)?.value ?? C ?? $t;
|
|
26625
26625
|
l?.setEdit(u, {
|
|
26626
26626
|
pendingValue: b,
|
|
26627
26627
|
sourceValue: C,
|
|
@@ -26646,7 +26646,7 @@ function bs({
|
|
|
26646
26646
|
pendingValue: e,
|
|
26647
26647
|
sourceValue: t
|
|
26648
26648
|
}) {
|
|
26649
|
-
return e ===
|
|
26649
|
+
return e === $t && (e = t), e !== t;
|
|
26650
26650
|
}
|
|
26651
26651
|
function go(e, t, s) {
|
|
26652
26652
|
const i = e.gos.get("enableGroupEdit"), { key: o, event: n, cellStartedEdit: r, silent: a } = s ?? {}, l = _e(e, t), c = l?.comp?.getCellEditor(), d = tC(e, t, o, r && !a), u = e.editModelSvc?.getEdit(t);
|
|
@@ -26685,7 +26685,7 @@ function eC(e, t, s) {
|
|
|
26685
26685
|
};
|
|
26686
26686
|
}
|
|
26687
26687
|
function tC(e, t, s, i) {
|
|
26688
|
-
const { valueSvc: o, gos: n, editSvc: r } = e, a = e.gos.get("enableGroupEdit"), l = _e(e, t), c = t.rowNode?.rowIndex ?? void 0, d = r?.isBatchEditing(), u = e.colModel.getCol(t.column.getId()), { rowNode: h, column: g } = t, p = l.comp?.getCellEditor(), f = r?.getCellDataValue(t, !1) ?? (p ? eC(e, p)?.editorValue : void 0), C = f ===
|
|
26688
|
+
const { valueSvc: o, gos: n, editSvc: r } = e, a = e.gos.get("enableGroupEdit"), l = _e(e, t), c = t.rowNode?.rowIndex ?? void 0, d = r?.isBatchEditing(), u = e.colModel.getCol(t.column.getId()), { rowNode: h, column: g } = t, p = l.comp?.getCellEditor(), f = r?.getCellDataValue(t, !1) ?? (p ? eC(e, p)?.editorValue : void 0), C = f === $t ? o.getValueForDisplay(u, h)?.value : f;
|
|
26689
26689
|
return pe(n, {
|
|
26690
26690
|
value: a ? f : C,
|
|
26691
26691
|
eventKey: s ?? null,
|
|
@@ -26711,7 +26711,7 @@ function Zc(e, t) {
|
|
|
26711
26711
|
const { editModelSvc: s } = e;
|
|
26712
26712
|
s?.getEditMap().forEach((i, o) => {
|
|
26713
26713
|
i.forEach((n, r) => {
|
|
26714
|
-
!t && (n.state === "editing" || n.pendingValue ===
|
|
26714
|
+
!t && (n.state === "editing" || n.pendingValue === $t) || !bs(n) && (n.state !== "editing" || t) && s?.removeEdits({ rowNode: o, column: r });
|
|
26715
26715
|
});
|
|
26716
26716
|
});
|
|
26717
26717
|
}
|
|
@@ -26747,7 +26747,7 @@ function Br(e, t, s, i, o, n) {
|
|
|
26747
26747
|
let d = r.getEdit(t, !0);
|
|
26748
26748
|
d?.sourceValue || (d = r.setEdit(t, {
|
|
26749
26749
|
sourceValue: a.getValue(c, l, void 0, "api"),
|
|
26750
|
-
pendingValue: d ? d.editorValue :
|
|
26750
|
+
pendingValue: d ? d.editorValue : $t
|
|
26751
26751
|
})), r.setEdit(t, {
|
|
26752
26752
|
editorValue: o ? d.sourceValue : s
|
|
26753
26753
|
}), n?.persist && KP(e, t);
|
|
@@ -26868,7 +26868,7 @@ var qP = (e) => {
|
|
|
26868
26868
|
const u = n.get(d);
|
|
26869
26869
|
if (!u)
|
|
26870
26870
|
continue;
|
|
26871
|
-
const { editorValue: h, pendingValue: g, sourceValue: p } = u, f = h ?? (g ===
|
|
26871
|
+
const { editorValue: h, pendingValue: g, sourceValue: p } = u, f = h ?? (g === $t ? void 0 : g) ?? p;
|
|
26872
26872
|
r.push({
|
|
26873
26873
|
column: d,
|
|
26874
26874
|
colId: d.getColId(),
|
|
@@ -36772,7 +36772,7 @@ function hM(e) {
|
|
|
36772
36772
|
i.forEach((a, l) => {
|
|
36773
36773
|
const { editorValue: c, pendingValue: d, sourceValue: u, state: h } = a, g = bs(a);
|
|
36774
36774
|
let p = c ?? d;
|
|
36775
|
-
p ===
|
|
36775
|
+
p === $t && (p = void 0);
|
|
36776
36776
|
const f = {
|
|
36777
36777
|
newValue: p,
|
|
36778
36778
|
oldValue: u,
|
|
@@ -37216,7 +37216,7 @@ var xM = class extends O {
|
|
|
37216
37216
|
r && (i = r);
|
|
37217
37217
|
}
|
|
37218
37218
|
const n = s ? i?.editorValue ?? i?.pendingValue : i?.pendingValue;
|
|
37219
|
-
return n ===
|
|
37219
|
+
return n === $t || !i ? i?.sourceValue ?? this.valueSvc.getValue(t, e, !1, "api") : n;
|
|
37220
37220
|
}
|
|
37221
37221
|
addStopEditingWhenGridLosesFocus(e) {
|
|
37222
37222
|
_P(this, this.beans, e);
|
|
@@ -37358,7 +37358,7 @@ var xM = class extends O {
|
|
|
37358
37358
|
if (!t?.forceRefreshOfEditCellsOnly && !bs({ pendingValue: u, sourceValue: f }) && h !== "editing")
|
|
37359
37359
|
continue;
|
|
37360
37360
|
let C = n.get(p);
|
|
37361
|
-
C || (C = /* @__PURE__ */ new Map(), n.set(p, C)), u === void 0 && (u =
|
|
37361
|
+
C || (C = /* @__PURE__ */ new Map(), n.set(p, C)), u === void 0 && (u = $t), C.set(g, {
|
|
37362
37362
|
editorValue: void 0,
|
|
37363
37363
|
pendingValue: u,
|
|
37364
37364
|
sourceValue: f,
|
|
@@ -37503,7 +37503,7 @@ var IC = class extends O {
|
|
|
37503
37503
|
n.state === "editing" && s.push({ ...n, rowNode: o, column: r });
|
|
37504
37504
|
});
|
|
37505
37505
|
}), t?.update && (e = new Map([...this.model.getEditMap(), ...e])), this.model?.setEditMap(e), s.length > 0) {
|
|
37506
|
-
const i = s.at(-1), o = i.pendingValue ===
|
|
37506
|
+
const i = s.at(-1), o = i.pendingValue === $t ? void 0 : i.pendingValue;
|
|
37507
37507
|
this.start({ position: i, event: new KeyboardEvent("keydown", { key: o }), source: "api" });
|
|
37508
37508
|
const n = _e(this.beans, i);
|
|
37509
37509
|
n && this.setFocusInOnEditor(n);
|
|
@@ -37830,7 +37830,7 @@ var IC = class extends O {
|
|
|
37830
37830
|
const t = Qi(e.source);
|
|
37831
37831
|
for (const s of this.columns?.list ?? []) {
|
|
37832
37832
|
const i = this.createSelectionColDef(e.currentValue);
|
|
37833
|
-
s.setColDef(i, null, t),
|
|
37833
|
+
s.setColDef(i, null, t), Yt(this.beans, { state: [{ ...i, colId: s.getColId() }] }, t);
|
|
37834
37834
|
}
|
|
37835
37835
|
}
|
|
37836
37836
|
getColumn(e) {
|
|
@@ -38585,19 +38585,19 @@ var h6 = {
|
|
|
38585
38585
|
case "columnMoved":
|
|
38586
38586
|
{
|
|
38587
38587
|
const u = e.api.getColumnState().map((h) => ({ colId: h.colId }));
|
|
38588
|
-
|
|
38588
|
+
Yt(i, { state: u, applyOrder: !0 }, "alignedGridChanged");
|
|
38589
38589
|
}
|
|
38590
38590
|
break;
|
|
38591
38591
|
case "columnVisible":
|
|
38592
38592
|
{
|
|
38593
38593
|
const u = e.api.getColumnState().map((h) => ({ colId: h.colId, hide: h.hide }));
|
|
38594
|
-
|
|
38594
|
+
Yt(i, { state: u }, "alignedGridChanged");
|
|
38595
38595
|
}
|
|
38596
38596
|
break;
|
|
38597
38597
|
case "columnPinned":
|
|
38598
38598
|
{
|
|
38599
38599
|
const u = e.api.getColumnState().map((h) => ({ colId: h.colId, pinned: h.pinned }));
|
|
38600
|
-
|
|
38600
|
+
Yt(i, { state: u }, "alignedGridChanged");
|
|
38601
38601
|
}
|
|
38602
38602
|
break;
|
|
38603
38603
|
case "columnResized": {
|
|
@@ -40736,7 +40736,7 @@ var CI = class extends O {
|
|
|
40736
40736
|
}
|
|
40737
40737
|
(x || !s) && (C.flex = null);
|
|
40738
40738
|
const E = u?.orderedColIds, T = !!E?.length && !i?.has("columnOrder"), k = T ? E.map((F) => f(F)) : Object.values(p);
|
|
40739
|
-
(k.length || h) && (this.columnStates = k,
|
|
40739
|
+
(k.length || h) && (this.columnStates = k, Yt(
|
|
40740
40740
|
this.beans,
|
|
40741
40741
|
{
|
|
40742
40742
|
state: k,
|
|
@@ -40757,7 +40757,7 @@ var CI = class extends O {
|
|
|
40757
40757
|
const a = [];
|
|
40758
40758
|
for (const l of s)
|
|
40759
40759
|
n.getPivotResultCol(l.colId) && a.push(l);
|
|
40760
|
-
|
|
40760
|
+
Yt(
|
|
40761
40761
|
o,
|
|
40762
40762
|
{
|
|
40763
40763
|
state: a,
|
|
@@ -42898,7 +42898,7 @@ var _C = vd((e, t) => {
|
|
|
42898
42898
|
refresh() {
|
|
42899
42899
|
return !1;
|
|
42900
42900
|
}
|
|
42901
|
-
})),
|
|
42901
|
+
})), qt(() => Hn(d, i, n.current), [d]);
|
|
42902
42902
|
const E = D((ne) => {
|
|
42903
42903
|
if (o.current = ne, !ne || i.isDestroyed()) {
|
|
42904
42904
|
c.current = i.destroyBean(c.current);
|
|
@@ -43417,7 +43417,7 @@ var lk = 1e3, ck = class {
|
|
|
43417
43417
|
};
|
|
43418
43418
|
e.setComp(b, v, c.current, d.current, a.current), w();
|
|
43419
43419
|
}, []);
|
|
43420
|
-
|
|
43420
|
+
qt(
|
|
43421
43421
|
() => Hn(i, s, d.current, u),
|
|
43422
43422
|
[i]
|
|
43423
43423
|
), xe(() => {
|
|
@@ -43472,7 +43472,7 @@ var lk = 1e3, ck = class {
|
|
|
43472
43472
|
};
|
|
43473
43473
|
e.setComp(se, U, S.current, w.current, C.current);
|
|
43474
43474
|
}, []);
|
|
43475
|
-
|
|
43475
|
+
qt(
|
|
43476
43476
|
() => Hn(g, t, w.current, x),
|
|
43477
43477
|
[g]
|
|
43478
43478
|
);
|
|
@@ -43543,7 +43543,7 @@ var lk = 1e3, ck = class {
|
|
|
43543
43543
|
};
|
|
43544
43544
|
e.setComp(k, T, C.current, v.current, p.current);
|
|
43545
43545
|
}, []);
|
|
43546
|
-
|
|
43546
|
+
qt(() => Hn(h, t, v.current), [h]), xe(() => {
|
|
43547
43547
|
f.current && e.setDragSource(f.current);
|
|
43548
43548
|
}, [h]);
|
|
43549
43549
|
const S = B(() => !!(h?.componentFromFramework && Ro(h.componentClass)), [h]), y = B(() => "ag-header-group-cell " + o.toString(), [o]), R = B(
|
|
@@ -43743,7 +43743,7 @@ var lk = 1e3, ck = class {
|
|
|
43743
43743
|
return () => {
|
|
43744
43744
|
g?.(), o.destroyBean(p);
|
|
43745
43745
|
};
|
|
43746
|
-
}),
|
|
43746
|
+
}), qt(() => () => {
|
|
43747
43747
|
c.isCellFocused() && t?.getGui().contains(Ke(i)) && d.focus({ preventScroll: !0 });
|
|
43748
43748
|
}, [t]), t && e.wrappedContent ? Fd(e.wrappedContent, t.getGui()) : null;
|
|
43749
43749
|
}, Eg = mt(Fk), Ek = (e, t, s) => {
|
|
@@ -43842,7 +43842,7 @@ var lk = 1e3, ck = class {
|
|
|
43842
43842
|
), fe = L();
|
|
43843
43843
|
fe.current || (fe.current = new An(() => k.current)), jC(l, Z, N.current, ue, G, k);
|
|
43844
43844
|
const V = L();
|
|
43845
|
-
|
|
43845
|
+
qt(() => {
|
|
43846
43846
|
const me = V.current, be = l;
|
|
43847
43847
|
if (V.current = l, me == null || me.compDetails == null || be == null || be.compDetails == null)
|
|
43848
43848
|
return;
|
|
@@ -43851,7 +43851,7 @@ var lk = 1e3, ck = class {
|
|
|
43851
43851
|
if ($.componentClass != Se.componentClass || P.current?.refresh == null)
|
|
43852
43852
|
return;
|
|
43853
43853
|
P.current.refresh(Se.params) != !0 && g((Te) => Te + 1);
|
|
43854
|
-
}, [l]),
|
|
43854
|
+
}, [l]), qt(() => {
|
|
43855
43855
|
if (!(d && !d.compDetails.componentFromFramework) || o.isDestroyed())
|
|
43856
43856
|
return;
|
|
43857
43857
|
const be = d.compDetails, $ = d.popup === !0, Se = be.newAgStackInstance();
|
|
@@ -43911,13 +43911,13 @@ var lk = 1e3, ck = class {
|
|
|
43911
43911
|
} : ze);
|
|
43912
43912
|
};
|
|
43913
43913
|
if (ve?.params?.deferRender && !e.rowNode.group) {
|
|
43914
|
-
const { loadingComp: ze, onReady:
|
|
43914
|
+
const { loadingComp: ze, onReady: jt } = e.getDeferLoadingCellRenderer();
|
|
43915
43915
|
if (ze) {
|
|
43916
43916
|
c({
|
|
43917
43917
|
value: void 0,
|
|
43918
43918
|
compDetails: ze,
|
|
43919
43919
|
force: !1
|
|
43920
|
-
}),
|
|
43920
|
+
}), jt.then(() => _A(dt));
|
|
43921
43921
|
return;
|
|
43922
43922
|
}
|
|
43923
43923
|
}
|
|
@@ -43928,7 +43928,7 @@ var lk = 1e3, ck = class {
|
|
|
43928
43928
|
let ze;
|
|
43929
43929
|
ve.componentFromFramework && (dt ? ze = new Rk(
|
|
43930
43930
|
ve.params,
|
|
43931
|
-
() => g((
|
|
43931
|
+
() => g((jt) => jt + 1)
|
|
43932
43932
|
) : Mu()), u({
|
|
43933
43933
|
compDetails: ve,
|
|
43934
43934
|
popup: Te,
|
|
@@ -43959,7 +43959,7 @@ var lk = 1e3, ck = class {
|
|
|
43959
43959
|
}, []), Ce = D((me) => {
|
|
43960
43960
|
F.current = me, Y();
|
|
43961
43961
|
}, []), le = B(() => !!(l?.compDetails?.componentFromFramework && Ro(l.compDetails.componentClass)), [l]);
|
|
43962
|
-
|
|
43962
|
+
qt(() => {
|
|
43963
43963
|
if (!k.current)
|
|
43964
43964
|
return;
|
|
43965
43965
|
const { current: me } = fe;
|
|
@@ -44043,7 +44043,7 @@ var lk = 1e3, ck = class {
|
|
|
44043
44043
|
};
|
|
44044
44044
|
e.setComp(Ce, K, t, r.current);
|
|
44045
44045
|
}, []);
|
|
44046
|
-
|
|
44046
|
+
qt(
|
|
44047
44047
|
() => Hn(y, s, F.current, P),
|
|
44048
44048
|
[y]
|
|
44049
44049
|
);
|
|
@@ -44182,8 +44182,8 @@ var lk = 1e3, ck = class {
|
|
|
44182
44182
|
Ze(Ge, document.createComment(Fo)), Ze(Ge, dt(rt).getGui());
|
|
44183
44183
|
};
|
|
44184
44184
|
ze(Te, Nx, " AG Fake Horizontal Scroll ");
|
|
44185
|
-
const
|
|
44186
|
-
|
|
44185
|
+
const jt = s?.getOverlayWrapperCompClass();
|
|
44186
|
+
jt && ze(Te, jt, " AG Overlay Wrapper "), te.current && ze(te.current, Gx, " AG Fake Vertical Scroll ");
|
|
44187
44187
|
const Pi = {
|
|
44188
44188
|
setRowAnimationCssOnBodyViewport: o,
|
|
44189
44189
|
setColumnCount: (Ge) => {
|
|
@@ -46137,11 +46137,11 @@ const Mg = () => typeof window < "u" && window.innerWidth < 640, Ig = () => {
|
|
|
46137
46137
|
)
|
|
46138
46138
|
] });
|
|
46139
46139
|
};
|
|
46140
|
-
var
|
|
46140
|
+
var Ut = /* @__PURE__ */ ((e) => (e.Sm = "sm", e.Md = "md", e.Lg = "lg", e))(Ut || {});
|
|
46141
46141
|
const y8 = "z-[52] flex items-center justify-center bg-blackout md:p-4", R8 = "divide-tertiary divide-y", x8 = "flex flex-row justify-between py-4 px-6 items-center", F8 = {
|
|
46142
|
-
[
|
|
46143
|
-
[
|
|
46144
|
-
[
|
|
46142
|
+
[Ut.Sm]: "dial-sm-popup",
|
|
46143
|
+
[Ut.Md]: "dial-md-popup",
|
|
46144
|
+
[Ut.Lg]: "dial-lg-popup"
|
|
46145
46145
|
}, xo = ({
|
|
46146
46146
|
open: e = !1,
|
|
46147
46147
|
header: t,
|
|
@@ -46154,7 +46154,7 @@ const y8 = "z-[52] flex items-center justify-center bg-blackout md:p-4", R8 = "d
|
|
|
46154
46154
|
children: l,
|
|
46155
46155
|
footer: c,
|
|
46156
46156
|
onClose: d,
|
|
46157
|
-
size: u =
|
|
46157
|
+
size: u = Ut.Md,
|
|
46158
46158
|
closeOnOutsideClick: h = !0
|
|
46159
46159
|
}) => {
|
|
46160
46160
|
const { refs: g, context: p } = ud({
|
|
@@ -46254,7 +46254,7 @@ const E8 = "flex justify-end gap-2 px-6 py-4", D8 = "text-secondary dial-small-1
|
|
|
46254
46254
|
children: g,
|
|
46255
46255
|
dividers: p = !1,
|
|
46256
46256
|
variant: f = En.Info,
|
|
46257
|
-
size: C =
|
|
46257
|
+
size: C = Ut.Sm,
|
|
46258
46258
|
footer: v
|
|
46259
46259
|
}) => {
|
|
46260
46260
|
const w = r ? null : /* @__PURE__ */ z("div", { className: E8, children: [
|
|
@@ -46420,7 +46420,7 @@ const E8 = "flex justify-end gap-2 px-6 py-4", D8 = "text-secondary dial-small-1
|
|
|
46420
46420
|
selectedRadioValue: C,
|
|
46421
46421
|
onChangeRadioField: v,
|
|
46422
46422
|
id: w,
|
|
46423
|
-
size: b =
|
|
46423
|
+
size: b = Ut.Md
|
|
46424
46424
|
}) => {
|
|
46425
46425
|
const [S, y] = I(!1), R = D(() => {
|
|
46426
46426
|
s || y(!0);
|
|
@@ -46498,7 +46498,7 @@ const E8 = "flex justify-end gap-2 px-6 py-4", D8 = "text-secondary dial-small-1
|
|
|
46498
46498
|
onCancel: d,
|
|
46499
46499
|
children: u,
|
|
46500
46500
|
dividers: h = !0,
|
|
46501
|
-
size: g =
|
|
46501
|
+
size: g = Ut.Md,
|
|
46502
46502
|
footer: p
|
|
46503
46503
|
}) => {
|
|
46504
46504
|
const f = o ? null : /* @__PURE__ */ z("div", { className: L8, children: [
|
|
@@ -48730,7 +48730,7 @@ function zL({
|
|
|
48730
48730
|
dependencies: n = []
|
|
48731
48731
|
}) {
|
|
48732
48732
|
const r = L(null), a = L(null), l = L(null), c = L(null), d = L([]), [u, h] = I(e.length);
|
|
48733
|
-
|
|
48733
|
+
qt(() => {
|
|
48734
48734
|
if (!a.current) return;
|
|
48735
48735
|
const f = Array.from(a.current.children);
|
|
48736
48736
|
d.current = f.map(
|
|
@@ -49881,7 +49881,7 @@ const d7 = ({
|
|
|
49881
49881
|
w?.setDestinationFolderPath ? w.setDestinationFolderPath(Oe) : Te(Oe);
|
|
49882
49882
|
},
|
|
49883
49883
|
[w]
|
|
49884
|
-
), { areHiddenFilesVisible: ze, toggleHiddenFilesVisibility:
|
|
49884
|
+
), { areHiddenFilesVisible: ze, toggleHiddenFilesVisibility: jt } = _L({
|
|
49885
49885
|
showHiddenFiles: d,
|
|
49886
49886
|
onShowHiddenFilesChange: u
|
|
49887
49887
|
}), { isTreeCollapsed: Pi, toggleTreeCollapse: Ti, setIsTreeCollapsed: Ge } = UL({
|
|
@@ -50155,7 +50155,7 @@ const d7 = ({
|
|
|
50155
50155
|
effectiveSearchValue: Do,
|
|
50156
50156
|
setSearchValue: $a,
|
|
50157
50157
|
areHiddenFilesVisible: ze,
|
|
50158
|
-
toggleHiddenFilesVisibility:
|
|
50158
|
+
toggleHiddenFilesVisibility: jt,
|
|
50159
50159
|
isTreeCollapsed: Pi,
|
|
50160
50160
|
toggleTreeCollapse: Ti,
|
|
50161
50161
|
setIsTreeCollapsed: Ge,
|
|
@@ -50372,7 +50372,7 @@ const vv = ({
|
|
|
50372
50372
|
onClose: () => {
|
|
50373
50373
|
e();
|
|
50374
50374
|
},
|
|
50375
|
-
size:
|
|
50375
|
+
size: Ut.Lg,
|
|
50376
50376
|
className: "md:!h-[800px]",
|
|
50377
50377
|
footer: /* @__PURE__ */ z("div", { className: "flex justify-between space-x-2 py-4 px-6", children: [
|
|
50378
50378
|
/* @__PURE__ */ z("div", { className: "flex space-x-4", children: [
|
|
@@ -50840,7 +50840,8 @@ const vv = ({
|
|
|
50840
50840
|
{
|
|
50841
50841
|
open: e,
|
|
50842
50842
|
onClose: t,
|
|
50843
|
-
size:
|
|
50843
|
+
size: f ? Ut.Sm : Ut.Md,
|
|
50844
|
+
className: ee([!f && "w-[600px]"]),
|
|
50844
50845
|
header: H,
|
|
50845
50846
|
dividers: !1,
|
|
50846
50847
|
footer: /* @__PURE__ */ z("div", { className: "flex justify-end gap-3 py-4 px-6", children: [
|
|
@@ -51009,7 +51010,7 @@ const S7 = ({
|
|
|
51009
51010
|
{
|
|
51010
51011
|
open: e,
|
|
51011
51012
|
onClose: t,
|
|
51012
|
-
size:
|
|
51013
|
+
size: Ut.Sm,
|
|
51013
51014
|
header: o,
|
|
51014
51015
|
dividers: !1,
|
|
51015
51016
|
children: /* @__PURE__ */ m("div", { className: "px-6 py-4", children: /* @__PURE__ */ m(
|
|
@@ -51022,7 +51023,7 @@ const S7 = ({
|
|
|
51022
51023
|
/* @__PURE__ */ m(
|
|
51023
51024
|
_o,
|
|
51024
51025
|
{
|
|
51025
|
-
variant:
|
|
51026
|
+
variant: Kt.Text,
|
|
51026
51027
|
width: "100%",
|
|
51027
51028
|
height: Zo,
|
|
51028
51029
|
className: Qo
|
|
@@ -51032,7 +51033,7 @@ const S7 = ({
|
|
|
51032
51033
|
/* @__PURE__ */ m(
|
|
51033
51034
|
_o,
|
|
51034
51035
|
{
|
|
51035
|
-
variant:
|
|
51036
|
+
variant: Kt.Text,
|
|
51036
51037
|
width: "90%",
|
|
51037
51038
|
height: Zo,
|
|
51038
51039
|
className: Qo
|
|
@@ -51042,7 +51043,7 @@ const S7 = ({
|
|
|
51042
51043
|
/* @__PURE__ */ m(
|
|
51043
51044
|
_o,
|
|
51044
51045
|
{
|
|
51045
|
-
variant:
|
|
51046
|
+
variant: Kt.Text,
|
|
51046
51047
|
width: "60%",
|
|
51047
51048
|
height: Zo,
|
|
51048
51049
|
className: Qo
|
|
@@ -51052,7 +51053,7 @@ const S7 = ({
|
|
|
51052
51053
|
/* @__PURE__ */ m(
|
|
51053
51054
|
_o,
|
|
51054
51055
|
{
|
|
51055
|
-
variant:
|
|
51056
|
+
variant: Kt.Text,
|
|
51056
51057
|
width: "80%",
|
|
51057
51058
|
height: Zo,
|
|
51058
51059
|
className: Qo
|
|
@@ -51062,7 +51063,7 @@ const S7 = ({
|
|
|
51062
51063
|
/* @__PURE__ */ m(
|
|
51063
51064
|
_o,
|
|
51064
51065
|
{
|
|
51065
|
-
variant:
|
|
51066
|
+
variant: Kt.Text,
|
|
51066
51067
|
width: "70%",
|
|
51067
51068
|
height: Zo,
|
|
51068
51069
|
className: Qo
|
|
@@ -51160,7 +51161,7 @@ const S7 = ({
|
|
|
51160
51161
|
onUploadFiles: Ze,
|
|
51161
51162
|
onValidateUpload: dt,
|
|
51162
51163
|
maxFileSize: ze,
|
|
51163
|
-
newActions:
|
|
51164
|
+
newActions: jt,
|
|
51164
51165
|
isNewButtonVisible: Pi,
|
|
51165
51166
|
newFolderTempId: Ti,
|
|
51166
51167
|
cancelFolderCreation: Ge,
|
|
@@ -51482,7 +51483,7 @@ const S7 = ({
|
|
|
51482
51483
|
areHiddenFilesVisible: f,
|
|
51483
51484
|
onToggleHiddenFiles: C,
|
|
51484
51485
|
isNewButtonVisible: Pi,
|
|
51485
|
-
newButtonDropdownItems:
|
|
51486
|
+
newButtonDropdownItems: jt
|
|
51486
51487
|
}
|
|
51487
51488
|
)
|
|
51488
51489
|
}
|
|
@@ -51511,7 +51512,7 @@ const S7 = ({
|
|
|
51511
51512
|
C,
|
|
51512
51513
|
a,
|
|
51513
51514
|
Pi,
|
|
51514
|
-
|
|
51515
|
+
jt
|
|
51515
51516
|
]);
|
|
51516
51517
|
Dn(
|
|
51517
51518
|
Qa,
|
|
@@ -51906,7 +51907,7 @@ export {
|
|
|
51906
51907
|
_o as DialSkeleton,
|
|
51907
51908
|
yc as DialSkeletonAvatarShape,
|
|
51908
51909
|
Fr as DialSkeletonAvatarSize,
|
|
51909
|
-
|
|
51910
|
+
Kt as DialSkeletonVariant,
|
|
51910
51911
|
O7 as DialSteps,
|
|
51911
51912
|
sv as DialSwitch,
|
|
51912
51913
|
a8 as DialTabs,
|
|
@@ -51923,7 +51924,7 @@ export {
|
|
|
51923
51924
|
d7 as FileManagerProvider,
|
|
51924
51925
|
ji as FlexibleActionsDirection,
|
|
51925
51926
|
_r as FormItemOrientation,
|
|
51926
|
-
|
|
51927
|
+
Ut as PopupSize,
|
|
51927
51928
|
ro as RadioGroupOrientation,
|
|
51928
51929
|
$r as ResizableContainerSide,
|
|
51929
51930
|
Ca as SearchSize,
|