app-v3-scripts-editor 1.5.8 → 1.5.9
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.
|
@@ -3250,15 +3250,15 @@ const lD = rC(PG), xC = {
|
|
|
3250
3250
|
override: Of
|
|
3251
3251
|
},
|
|
3252
3252
|
hashed: !0
|
|
3253
|
-
}, cD = /* @__PURE__ */ se.createContext(xC), Tf = "ant", Iv = "anticon", IG = ["outlined", "borderless", "filled", "underlined"], RG = (e, t) => t || (e ? `${Tf}-${e}` : Tf),
|
|
3253
|
+
}, cD = /* @__PURE__ */ se.createContext(xC), Tf = "ant", Iv = "anticon", IG = ["outlined", "borderless", "filled", "underlined"], RG = (e, t) => t || (e ? `${Tf}-${e}` : Tf), Ct = /* @__PURE__ */ m.createContext({
|
|
3254
3254
|
// We provide a default function for Context without provider
|
|
3255
3255
|
getPrefixCls: RG,
|
|
3256
3256
|
iconPrefixCls: Iv
|
|
3257
3257
|
}), {
|
|
3258
3258
|
Consumer: vPe
|
|
3259
|
-
} =
|
|
3259
|
+
} = Ct, lO = {};
|
|
3260
3260
|
function Br(e) {
|
|
3261
|
-
const t = m.useContext(
|
|
3261
|
+
const t = m.useContext(Ct), {
|
|
3262
3262
|
getPrefixCls: n,
|
|
3263
3263
|
direction: r,
|
|
3264
3264
|
getPopupContainer: o
|
|
@@ -4158,7 +4158,7 @@ const hc = {
|
|
|
4158
4158
|
const {
|
|
4159
4159
|
getPrefixCls: e,
|
|
4160
4160
|
iconPrefixCls: t
|
|
4161
|
-
} = _t(
|
|
4161
|
+
} = _t(Ct);
|
|
4162
4162
|
return {
|
|
4163
4163
|
rootPrefixCls: e(),
|
|
4164
4164
|
iconPrefixCls: t
|
|
@@ -4177,7 +4177,7 @@ const hc = {
|
|
|
4177
4177
|
useCSP: () => {
|
|
4178
4178
|
const {
|
|
4179
4179
|
csp: e
|
|
4180
|
-
} = _t(
|
|
4180
|
+
} = _t(Ct);
|
|
4181
4181
|
return e ?? {};
|
|
4182
4182
|
},
|
|
4183
4183
|
getResetStyles: (e, t) => {
|
|
@@ -4937,17 +4937,17 @@ const DK = (e) => {
|
|
|
4937
4937
|
value: st.warning
|
|
4938
4938
|
}, Ot)), S !== void 0 && (Ot = /* @__PURE__ */ m.createElement(Rx, {
|
|
4939
4939
|
disabled: S
|
|
4940
|
-
}, Ot)), /* @__PURE__ */ m.createElement(
|
|
4940
|
+
}, Ot)), /* @__PURE__ */ m.createElement(Ct.Provider, {
|
|
4941
4941
|
value: st
|
|
4942
4942
|
}, Ot);
|
|
4943
4943
|
}, oi = (e) => {
|
|
4944
|
-
const t = m.useContext(
|
|
4944
|
+
const t = m.useContext(Ct), n = m.useContext(Ix);
|
|
4945
4945
|
return /* @__PURE__ */ m.createElement(LK, Object.assign({
|
|
4946
4946
|
parentContext: t,
|
|
4947
4947
|
legacyLocale: n
|
|
4948
4948
|
}, e));
|
|
4949
4949
|
};
|
|
4950
|
-
oi.ConfigContext =
|
|
4950
|
+
oi.ConfigContext = Ct;
|
|
4951
4951
|
oi.SizeContext = tc;
|
|
4952
4952
|
oi.config = DK;
|
|
4953
4953
|
oi.useConfig = kG;
|
|
@@ -6262,7 +6262,7 @@ const kX = {
|
|
|
6262
6262
|
content: i
|
|
6263
6263
|
} = e, a = LX(e, ["prefixCls", "className", "type", "icon", "content"]), {
|
|
6264
6264
|
getPrefixCls: s
|
|
6265
|
-
} = m.useContext(
|
|
6265
|
+
} = m.useContext(Ct), l = t || s("message"), c = Oo(l), [u, d, h] = WD(l, c);
|
|
6266
6266
|
return u(/* @__PURE__ */ m.createElement(BD, Object.assign({}, a, {
|
|
6267
6267
|
prefixCls: l,
|
|
6268
6268
|
className: te(n, d, `${l}-notice-pure-panel`, h, c),
|
|
@@ -6329,7 +6329,7 @@ const jX = 8, VX = 3, HX = ({
|
|
|
6329
6329
|
getPopupContainer: d,
|
|
6330
6330
|
message: h,
|
|
6331
6331
|
direction: p
|
|
6332
|
-
} = m.useContext(
|
|
6332
|
+
} = m.useContext(Ct), b = r || u("message"), y = () => ({
|
|
6333
6333
|
left: "50%",
|
|
6334
6334
|
transform: "translateX(-50%)",
|
|
6335
6335
|
top: n ?? jX
|
|
@@ -6960,7 +6960,7 @@ const dY = (e) => {
|
|
|
6960
6960
|
}, hY = (e, t, n) => {
|
|
6961
6961
|
const {
|
|
6962
6962
|
wave: r
|
|
6963
|
-
} = m.useContext(
|
|
6963
|
+
} = m.useContext(Ct), [, o, i] = ri(), a = An((c) => {
|
|
6964
6964
|
const u = e.current;
|
|
6965
6965
|
if (r != null && r.disabled || !u)
|
|
6966
6966
|
return;
|
|
@@ -6987,7 +6987,7 @@ const dY = (e) => {
|
|
|
6987
6987
|
component: r
|
|
6988
6988
|
} = e, {
|
|
6989
6989
|
getPrefixCls: o
|
|
6990
|
-
} = _t(
|
|
6990
|
+
} = _t(Ct), i = Ee(null), a = o("wave"), [, s] = cY(a), l = hY(i, te(a, s), r);
|
|
6991
6991
|
if (se.useEffect(() => {
|
|
6992
6992
|
const u = i.current;
|
|
6993
6993
|
if (!u || u.nodeType !== 1 || n)
|
|
@@ -7146,7 +7146,7 @@ const Dv = /* @__PURE__ */ m.createContext(null), ed = (e, t) => {
|
|
|
7146
7146
|
const {
|
|
7147
7147
|
getPrefixCls: t,
|
|
7148
7148
|
direction: n
|
|
7149
|
-
} = m.useContext(
|
|
7149
|
+
} = m.useContext(Ct), {
|
|
7150
7150
|
size: r,
|
|
7151
7151
|
direction: o,
|
|
7152
7152
|
block: i,
|
|
@@ -7183,7 +7183,7 @@ const ZD = /* @__PURE__ */ m.createContext(void 0), wY = (e) => {
|
|
|
7183
7183
|
const {
|
|
7184
7184
|
getPrefixCls: t,
|
|
7185
7185
|
direction: n
|
|
7186
|
-
} = m.useContext(
|
|
7186
|
+
} = m.useContext(Ct), {
|
|
7187
7187
|
prefixCls: r,
|
|
7188
7188
|
size: o,
|
|
7189
7189
|
className: i
|
|
@@ -8016,7 +8016,7 @@ const QY = /* @__PURE__ */ m.forwardRef((e, t) => {
|
|
|
8016
8016
|
process.env.NODE_ENV !== "production" && Vt("Collapse.Panel").deprecated(!("disabled" in e), "disabled", 'collapsible="disabled"');
|
|
8017
8017
|
const {
|
|
8018
8018
|
getPrefixCls: n
|
|
8019
|
-
} = m.useContext(
|
|
8019
|
+
} = m.useContext(Ct), {
|
|
8020
8020
|
prefixCls: r,
|
|
8021
8021
|
className: o,
|
|
8022
8022
|
showArrow: i = !0
|
|
@@ -9539,7 +9539,7 @@ const sQ = {
|
|
|
9539
9539
|
autoFocus: T
|
|
9540
9540
|
} = e, I = iQ(e, ["loading", "prefixCls", "color", "variant", "type", "danger", "shape", "size", "styles", "disabled", "className", "rootClassName", "children", "icon", "iconPosition", "ghost", "block", "htmlType", "classNames", "style", "autoInsertSpace", "autoFocus"]), R = l || "default", {
|
|
9541
9541
|
button: k
|
|
9542
|
-
} = se.useContext(
|
|
9542
|
+
} = se.useContext(Ct), [F, P] = dt(() => {
|
|
9543
9543
|
if (a && s)
|
|
9544
9544
|
return [a, s];
|
|
9545
9545
|
if (l || c) {
|
|
@@ -12656,7 +12656,7 @@ const yJ = () => Ur() && window.document.documentElement, Uv = (e) => {
|
|
|
12656
12656
|
size: a = "default"
|
|
12657
12657
|
} = e, {
|
|
12658
12658
|
getPrefixCls: s
|
|
12659
|
-
} = m.useContext(
|
|
12659
|
+
} = m.useContext(Ct), l = s("skeleton", t), [c, u, d] = nd(l), h = Dn(e, ["prefixCls", "className"]), p = te(l, `${l}-element`, {
|
|
12660
12660
|
[`${l}-active`]: o
|
|
12661
12661
|
}, n, r, u, d);
|
|
12662
12662
|
return c(/* @__PURE__ */ m.createElement("div", {
|
|
@@ -12676,7 +12676,7 @@ const yJ = () => Ur() && window.document.documentElement, Uv = (e) => {
|
|
|
12676
12676
|
size: a = "default"
|
|
12677
12677
|
} = e, {
|
|
12678
12678
|
getPrefixCls: s
|
|
12679
|
-
} = m.useContext(
|
|
12679
|
+
} = m.useContext(Ct), l = s("skeleton", t), [c, u, d] = nd(l), h = Dn(e, ["prefixCls"]), p = te(l, `${l}-element`, {
|
|
12680
12680
|
[`${l}-active`]: o,
|
|
12681
12681
|
[`${l}-block`]: i
|
|
12682
12682
|
}, n, r, u, d);
|
|
@@ -12695,7 +12695,7 @@ const yJ = () => Ur() && window.document.documentElement, Uv = (e) => {
|
|
|
12695
12695
|
active: i
|
|
12696
12696
|
} = e, {
|
|
12697
12697
|
getPrefixCls: a
|
|
12698
|
-
} = m.useContext(
|
|
12698
|
+
} = m.useContext(Ct), s = a("skeleton", t), [l, c, u] = nd(s), d = te(s, `${s}-element`, {
|
|
12699
12699
|
[`${s}-active`]: i
|
|
12700
12700
|
}, n, r, c, u);
|
|
12701
12701
|
return l(/* @__PURE__ */ m.createElement("div", {
|
|
@@ -12721,7 +12721,7 @@ const yJ = () => Ur() && window.document.documentElement, Uv = (e) => {
|
|
|
12721
12721
|
size: a = "default"
|
|
12722
12722
|
} = e, {
|
|
12723
12723
|
getPrefixCls: s
|
|
12724
|
-
} = m.useContext(
|
|
12724
|
+
} = m.useContext(Ct), l = s("skeleton", t), [c, u, d] = nd(l), h = Dn(e, ["prefixCls"]), p = te(l, `${l}-element`, {
|
|
12725
12725
|
[`${l}-active`]: o,
|
|
12726
12726
|
[`${l}-block`]: i
|
|
12727
12727
|
}, n, r, u, d);
|
|
@@ -12741,7 +12741,7 @@ const yJ = () => Ur() && window.document.documentElement, Uv = (e) => {
|
|
|
12741
12741
|
children: a
|
|
12742
12742
|
} = e, {
|
|
12743
12743
|
getPrefixCls: s
|
|
12744
|
-
} = m.useContext(
|
|
12744
|
+
} = m.useContext(Ct), l = s("skeleton", t), [c, u, d] = nd(l), h = te(l, `${l}-element`, {
|
|
12745
12745
|
[`${l}-active`]: i
|
|
12746
12746
|
}, u, n, r, d);
|
|
12747
12747
|
return c(/* @__PURE__ */ m.createElement("div", {
|
|
@@ -13418,7 +13418,7 @@ const F5 = (e) => {
|
|
|
13418
13418
|
getPrefixCls: I,
|
|
13419
13419
|
direction: R,
|
|
13420
13420
|
modal: k
|
|
13421
|
-
} = m.useContext(
|
|
13421
|
+
} = m.useContext(Ct), F = (pe) => {
|
|
13422
13422
|
C || E == null || E(pe);
|
|
13423
13423
|
}, P = (pe) => {
|
|
13424
13424
|
S == null || S(pe);
|
|
@@ -13726,7 +13726,7 @@ const ree = (e) => {
|
|
|
13726
13726
|
prefixCls: r,
|
|
13727
13727
|
getContainer: o,
|
|
13728
13728
|
direction: i
|
|
13729
|
-
} = e, a = nD(), s = _t(
|
|
13729
|
+
} = e, a = nD(), s = _t(Ct), l = V5() || s.getPrefixCls(), c = r || `${l}-modal`;
|
|
13730
13730
|
let u = o;
|
|
13731
13731
|
return u === !1 && (u = void 0, process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "production" && Cs(!1, "Modal", "Static method not support `getContainer` to be `false` since it do not have context env.")), /* @__PURE__ */ se.createElement(tS, Object.assign({}, e, {
|
|
13732
13732
|
rootPrefixCls: l,
|
|
@@ -13831,7 +13831,7 @@ const aee = (e, t) => {
|
|
|
13831
13831
|
const [a, s] = m.useState(!0), [l, c] = m.useState(o), {
|
|
13832
13832
|
direction: u,
|
|
13833
13833
|
getPrefixCls: d
|
|
13834
|
-
} = m.useContext(
|
|
13834
|
+
} = m.useContext(Ct), h = d("modal"), p = d(), b = () => {
|
|
13835
13835
|
var x;
|
|
13836
13836
|
r(), (x = l.afterClose) === null || x === void 0 || x.call(l);
|
|
13837
13837
|
}, y = (...x) => {
|
|
@@ -13947,7 +13947,7 @@ const dee = (e, t, n, r, o) => K5((a) => {
|
|
|
13947
13947
|
value: a.open
|
|
13948
13948
|
}), {
|
|
13949
13949
|
getPrefixCls: g
|
|
13950
|
-
} = m.useContext(
|
|
13950
|
+
} = m.useContext(Ct), C = g(r, s);
|
|
13951
13951
|
m.useEffect(() => {
|
|
13952
13952
|
if (y(!0), typeof ResizeObserver < "u") {
|
|
13953
13953
|
const S = new ResizeObserver(($) => {
|
|
@@ -15043,7 +15043,7 @@ const Xv = (e, t, n = void 0) => {
|
|
|
15043
15043
|
const {
|
|
15044
15044
|
variant: i,
|
|
15045
15045
|
[e]: a
|
|
15046
|
-
} = m.useContext(
|
|
15046
|
+
} = m.useContext(Ct), s = m.useContext(P5), l = a == null ? void 0 : a.variant;
|
|
15047
15047
|
let c;
|
|
15048
15048
|
typeof t < "u" ? c = t : n === !1 ? c = "borderless" : c = (o = (r = s ?? l) !== null && r !== void 0 ? r : i) !== null && o !== void 0 ? o : "outlined";
|
|
15049
15049
|
const u = IG.includes(c);
|
|
@@ -15777,7 +15777,7 @@ const ite = (e) => {
|
|
|
15777
15777
|
overlayInnerStyle: a
|
|
15778
15778
|
} = e, {
|
|
15779
15779
|
getPrefixCls: s
|
|
15780
|
-
} = m.useContext(
|
|
15780
|
+
} = m.useContext(Ct), l = s("tooltip", t), [c, u, d] = f4(l), h = p4(l, i), p = h.arrowStyle, b = Object.assign(Object.assign({}, a), h.overlayStyle), y = te(u, d, l, `${l}-pure`, `${l}-placement-${r}`, n, h.className);
|
|
15781
15781
|
return c(/* @__PURE__ */ m.createElement("div", {
|
|
15782
15782
|
className: y,
|
|
15783
15783
|
style: p
|
|
@@ -16105,7 +16105,7 @@ const g4 = ({
|
|
|
16105
16105
|
className: n
|
|
16106
16106
|
} = e, r = dte(e, ["prefixCls", "className"]), {
|
|
16107
16107
|
getPrefixCls: o
|
|
16108
|
-
} = m.useContext(
|
|
16108
|
+
} = m.useContext(Ct), i = o("popover", t), [a, s, l] = m4(i);
|
|
16109
16109
|
return a(/* @__PURE__ */ m.createElement(fte, Object.assign({}, r, {
|
|
16110
16110
|
prefixCls: i,
|
|
16111
16111
|
hashId: s,
|
|
@@ -17553,7 +17553,7 @@ const RN = {
|
|
|
17553
17553
|
}, {
|
|
17554
17554
|
getPrefixCls: N,
|
|
17555
17555
|
direction: T
|
|
17556
|
-
} = _t(
|
|
17556
|
+
} = _t(Ct), I = N("layout-sider", n), [R, k, F] = dne(I), P = Ee(null);
|
|
17557
17557
|
P.current = (Z) => {
|
|
17558
17558
|
$(Z.matches), g == null || g(Z.matches), w !== Z.matches && O(Z.matches, "responsive");
|
|
17559
17559
|
}, We(() => {
|
|
@@ -17635,7 +17635,7 @@ const M4 = (e) => {
|
|
|
17635
17635
|
dashed: r
|
|
17636
17636
|
} = e, o = yne(e, ["prefixCls", "className", "dashed"]), {
|
|
17637
17637
|
getPrefixCls: i
|
|
17638
|
-
} = m.useContext(
|
|
17638
|
+
} = m.useContext(Ct), a = i("menu", t), s = te({
|
|
17639
17639
|
[`${a}-item-divider-dashed`]: !!r
|
|
17640
17640
|
}, n);
|
|
17641
17641
|
return /* @__PURE__ */ m.createElement(pS, Object.assign({
|
|
@@ -18744,7 +18744,7 @@ const Nne = {
|
|
|
18744
18744
|
getPopupContainer: a,
|
|
18745
18745
|
direction: s,
|
|
18746
18746
|
menu: l
|
|
18747
|
-
} = m.useContext(
|
|
18747
|
+
} = m.useContext(Ct), c = i(), {
|
|
18748
18748
|
prefixCls: u,
|
|
18749
18749
|
className: d,
|
|
18750
18750
|
style: h,
|
|
@@ -19175,7 +19175,7 @@ const Pne = (e) => {
|
|
|
19175
19175
|
getPrefixCls: R,
|
|
19176
19176
|
direction: k,
|
|
19177
19177
|
dropdown: F
|
|
19178
|
-
} = m.useContext(
|
|
19178
|
+
} = m.useContext(Ct), P = c || l, L = Vt("Dropdown");
|
|
19179
19179
|
process.env.NODE_ENV !== "production" && (Object.entries({
|
|
19180
19180
|
visible: "open",
|
|
19181
19181
|
onVisibleChange: "onOpenChange",
|
|
@@ -22163,7 +22163,7 @@ const CS = (e) => {
|
|
|
22163
22163
|
tabs: z,
|
|
22164
22164
|
getPrefixCls: H,
|
|
22165
22165
|
getPopupContainer: W
|
|
22166
|
-
} = m.useContext(
|
|
22166
|
+
} = m.useContext(Ct), G = H("tabs", M), q = Oo(G), [K, U, Y] = Nre(G, q);
|
|
22167
22167
|
let oe;
|
|
22168
22168
|
h === "editable-card" && (oe = {
|
|
22169
22169
|
onEdit: (ee, {
|
|
@@ -22227,7 +22227,7 @@ const a3 = (e) => {
|
|
|
22227
22227
|
} = e, o = Pre(e, ["prefixCls", "className", "hoverable"]);
|
|
22228
22228
|
const {
|
|
22229
22229
|
getPrefixCls: i
|
|
22230
|
-
} = m.useContext(
|
|
22230
|
+
} = m.useContext(Ct), a = i("card", t), s = te(`${a}-grid`, n, {
|
|
22231
22231
|
[`${a}-grid-hoverable`]: r
|
|
22232
22232
|
});
|
|
22233
22233
|
return /* @__PURE__ */ m.createElement("div", Object.assign({}, o, {
|
|
@@ -22618,7 +22618,7 @@ const jre = (e) => {
|
|
|
22618
22618
|
getPrefixCls: R,
|
|
22619
22619
|
direction: k,
|
|
22620
22620
|
card: F
|
|
22621
|
-
} = m.useContext(
|
|
22621
|
+
} = m.useContext(Ct), [P] = Xv("card", h, d);
|
|
22622
22622
|
if (process.env.NODE_ENV !== "production") {
|
|
22623
22623
|
const _e = Vt("Card");
|
|
22624
22624
|
[["headStyle", "styles.header"], ["bodyStyle", "styles.body"], ["bordered", "variant"]].forEach(([be, Ae]) => {
|
|
@@ -22723,7 +22723,7 @@ const Wre = (e) => {
|
|
|
22723
22723
|
description: i
|
|
22724
22724
|
} = e, a = Hre(e, ["prefixCls", "className", "avatar", "title", "description"]), {
|
|
22725
22725
|
getPrefixCls: s
|
|
22726
|
-
} = m.useContext(
|
|
22726
|
+
} = m.useContext(Ct), l = s("card", t), c = te(`${l}-meta`, n), u = r ? /* @__PURE__ */ m.createElement("div", {
|
|
22727
22727
|
className: `${l}-meta-avatar`
|
|
22728
22728
|
}, r) : null, d = o ? /* @__PURE__ */ m.createElement("div", {
|
|
22729
22729
|
className: `${l}-meta-title`
|
|
@@ -23016,7 +23016,7 @@ const Yre = (e, t) => {
|
|
|
23016
23016
|
getPrefixCls: b,
|
|
23017
23017
|
direction: y,
|
|
23018
23018
|
checkbox: g
|
|
23019
|
-
} = m.useContext(
|
|
23019
|
+
} = m.useContext(Ct), C = m.useContext(l3), {
|
|
23020
23020
|
isFormItemInput: x
|
|
23021
23021
|
} = m.useContext(Eo), w = m.useContext(ei), S = (n = (C == null ? void 0 : C.disabled) || h) !== null && n !== void 0 ? n : w, E = m.useRef(p.value), $ = m.useRef(null), O = Gr(t, $);
|
|
23022
23022
|
if (process.env.NODE_ENV !== "production") {
|
|
@@ -23087,7 +23087,7 @@ const Qre = /* @__PURE__ */ m.forwardRef((e, t) => {
|
|
|
23087
23087
|
} = e, u = Zre(e, ["defaultValue", "children", "options", "prefixCls", "className", "rootClassName", "style", "onChange"]), {
|
|
23088
23088
|
getPrefixCls: d,
|
|
23089
23089
|
direction: h
|
|
23090
|
-
} = m.useContext(
|
|
23090
|
+
} = m.useContext(Ct), [p, b] = m.useState(u.value || n || []), [y, g] = m.useState([]);
|
|
23091
23091
|
m.useEffect(() => {
|
|
23092
23092
|
"value" in u && b(u.value || []);
|
|
23093
23093
|
}, [u.value]);
|
|
@@ -23154,7 +23154,7 @@ const eoe = ["xs", "sm", "md", "lg", "xl", "xxl"], Gi = /* @__PURE__ */ m.forwar
|
|
|
23154
23154
|
const {
|
|
23155
23155
|
getPrefixCls: n,
|
|
23156
23156
|
direction: r
|
|
23157
|
-
} = m.useContext(
|
|
23157
|
+
} = m.useContext(Ct), {
|
|
23158
23158
|
gutter: o,
|
|
23159
23159
|
wrap: i
|
|
23160
23160
|
} = m.useContext(c3), {
|
|
@@ -23260,7 +23260,7 @@ const oc = /* @__PURE__ */ m.forwardRef((e, t) => {
|
|
|
23260
23260
|
} = e, u = noe(e, ["prefixCls", "justify", "align", "className", "style", "children", "gutter", "wrap"]), {
|
|
23261
23261
|
getPrefixCls: d,
|
|
23262
23262
|
direction: h
|
|
23263
|
-
} = m.useContext(
|
|
23263
|
+
} = m.useContext(Ct), p = Uee(!0, null), b = tT(o, p), y = tT(r, p), g = d("row", n), [C, x, w] = qJ(g), S = toe(l, p), E = te(g, {
|
|
23264
23264
|
[`${g}-no-wrap`]: c === !1,
|
|
23265
23265
|
[`${g}-${y}`]: y,
|
|
23266
23266
|
[`${g}-${b}`]: b,
|
|
@@ -25302,7 +25302,7 @@ const m3 = /* @__PURE__ */ m.forwardRef((e, t) => {
|
|
|
25302
25302
|
const {
|
|
25303
25303
|
getPrefixCls: n,
|
|
25304
25304
|
direction: r
|
|
25305
|
-
} = m.useContext(
|
|
25305
|
+
} = m.useContext(Ct), o = m.useRef(null);
|
|
25306
25306
|
m.useImperativeHandle(t, () => o.current);
|
|
25307
25307
|
const {
|
|
25308
25308
|
className: i,
|
|
@@ -27400,7 +27400,7 @@ const xie = {
|
|
|
27400
27400
|
placement: o = "right"
|
|
27401
27401
|
} = e, i = T3(e, ["prefixCls", "style", "className", "placement"]), {
|
|
27402
27402
|
getPrefixCls: a
|
|
27403
|
-
} = m.useContext(
|
|
27403
|
+
} = m.useContext(Ct), s = a("drawer", t), [l, c, u] = N3(s), d = te(s, `${s}-pure`, `${s}-${o}`, c, u, r);
|
|
27404
27404
|
return l(/* @__PURE__ */ m.createElement("div", {
|
|
27405
27405
|
className: d,
|
|
27406
27406
|
style: n
|
|
@@ -27513,7 +27513,7 @@ const I3 = (e) => {
|
|
|
27513
27513
|
getPopupContainer: t,
|
|
27514
27514
|
getPrefixCls: n,
|
|
27515
27515
|
direction: r
|
|
27516
|
-
} = m.useContext(
|
|
27516
|
+
} = m.useContext(Ct), {
|
|
27517
27517
|
prefixCls: o,
|
|
27518
27518
|
type: i = "default",
|
|
27519
27519
|
danger: a,
|
|
@@ -27709,7 +27709,7 @@ const $a = /* @__PURE__ */ se.forwardRef((e, t) => {
|
|
|
27709
27709
|
flex: h,
|
|
27710
27710
|
direction: p,
|
|
27711
27711
|
getPrefixCls: b
|
|
27712
|
-
} = se.useContext(
|
|
27712
|
+
} = se.useContext(Ct), y = b("flex", n), [g, C, x] = Bie(y), w = c ?? (h == null ? void 0 : h.vertical), S = te(o, r, h == null ? void 0 : h.className, y, C, x, Rie(y, e), {
|
|
27713
27713
|
[`${y}-rtl`]: p === "rtl",
|
|
27714
27714
|
[`${y}-gap-${s}`]: Ag(s),
|
|
27715
27715
|
[`${y}-vertical`]: w
|
|
@@ -28890,7 +28890,7 @@ function vae(e) {
|
|
|
28890
28890
|
layout: g
|
|
28891
28891
|
} = e, {
|
|
28892
28892
|
getPrefixCls: C
|
|
28893
|
-
} = m.useContext(
|
|
28893
|
+
} = m.useContext(Ct), {
|
|
28894
28894
|
name: x
|
|
28895
28895
|
} = m.useContext(hs), w = Jie(l), S = typeof w == "function", E = m.useContext(N5), {
|
|
28896
28896
|
validateTrigger: $
|
|
@@ -29012,7 +29012,7 @@ const bae = (e) => {
|
|
|
29012
29012
|
}
|
|
29013
29013
|
const {
|
|
29014
29014
|
getPrefixCls: o
|
|
29015
|
-
} = m.useContext(
|
|
29015
|
+
} = m.useContext(Ct), i = o("form", t), a = m.useMemo(() => ({
|
|
29016
29016
|
prefixCls: i,
|
|
29017
29017
|
status: "error"
|
|
29018
29018
|
}), [i]);
|
|
@@ -29031,15 +29031,15 @@ function r0() {
|
|
|
29031
29031
|
} = m.useContext(hs);
|
|
29032
29032
|
return e;
|
|
29033
29033
|
}
|
|
29034
|
-
const
|
|
29035
|
-
|
|
29036
|
-
|
|
29037
|
-
|
|
29038
|
-
|
|
29039
|
-
|
|
29040
|
-
|
|
29041
|
-
|
|
29042
|
-
|
|
29034
|
+
const yt = F3;
|
|
29035
|
+
yt.Item = V3;
|
|
29036
|
+
yt.List = bae;
|
|
29037
|
+
yt.ErrorList = k3;
|
|
29038
|
+
yt.useForm = F4;
|
|
29039
|
+
yt.useFormInstance = r0;
|
|
29040
|
+
yt.useWatch = O5;
|
|
29041
|
+
yt.Provider = T5;
|
|
29042
|
+
yt.create = () => {
|
|
29043
29043
|
process.env.NODE_ENV !== "production" && Cs(!1, "Form", "antd v4 removed `Form.create`. Please remove or use `@ant-design/compatible` instead.");
|
|
29044
29044
|
};
|
|
29045
29045
|
var Cae = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z" } }] }, name: "eye", theme: "outlined" }, wae = function(t, n) {
|
|
@@ -29060,7 +29060,7 @@ const Eae = (e) => {
|
|
|
29060
29060
|
const {
|
|
29061
29061
|
getPrefixCls: t,
|
|
29062
29062
|
direction: n
|
|
29063
|
-
} = _t(
|
|
29063
|
+
} = _t(Ct), {
|
|
29064
29064
|
prefixCls: r,
|
|
29065
29065
|
className: o
|
|
29066
29066
|
} = e, i = t("input-group", r), a = t("input"), [s, l, c] = J4(a), u = te(i, c, {
|
|
@@ -29151,7 +29151,7 @@ const Nae = /* @__PURE__ */ m.forwardRef((e, t) => {
|
|
|
29151
29151
|
mask: s
|
|
29152
29152
|
} = e, l = Oae(e, ["className", "value", "onChange", "onActiveChange", "index", "mask"]), {
|
|
29153
29153
|
getPrefixCls: c
|
|
29154
|
-
} = m.useContext(
|
|
29154
|
+
} = m.useContext(Ct), u = c("otp"), d = typeof s == "string" ? s : r, h = m.useRef(null);
|
|
29155
29155
|
m.useImperativeHandle(t, () => h.current);
|
|
29156
29156
|
const p = (C) => {
|
|
29157
29157
|
o(a, C.target.value);
|
|
@@ -29239,7 +29239,7 @@ const Pae = (e) => {
|
|
|
29239
29239
|
const {
|
|
29240
29240
|
getPrefixCls: w,
|
|
29241
29241
|
direction: S
|
|
29242
|
-
} = m.useContext(
|
|
29242
|
+
} = m.useContext(Ct), E = w("otp", n), $ = ta(x, {
|
|
29243
29243
|
aria: !0,
|
|
29244
29244
|
data: !0,
|
|
29245
29245
|
attr: !0
|
|
@@ -29379,7 +29379,7 @@ const Dae = (e) => e ? /* @__PURE__ */ m.createElement(PS, null) : /* @__PURE__
|
|
|
29379
29379
|
size: x
|
|
29380
29380
|
} = e, w = Aae(e, ["className", "prefixCls", "inputPrefixCls", "size"]), {
|
|
29381
29381
|
getPrefixCls: S
|
|
29382
|
-
} = m.useContext(
|
|
29382
|
+
} = m.useContext(Ct), E = S("input", C), $ = S("input-password", g), O = o && b($), N = te($, y, {
|
|
29383
29383
|
[`${$}-${x}`]: !!x
|
|
29384
29384
|
}), T = Object.assign(Object.assign({}, Dn(w, ["suffix", "iconRender", "visibilityToggle"])), {
|
|
29385
29385
|
type: c ? "text" : "password",
|
|
@@ -29419,7 +29419,7 @@ const U3 = /* @__PURE__ */ m.forwardRef((e, t) => {
|
|
|
29419
29419
|
} = e, C = kae(e, ["prefixCls", "inputPrefixCls", "className", "size", "suffix", "enterButton", "addonAfter", "loading", "disabled", "onSearch", "onChange", "onCompositionStart", "onCompositionEnd", "variant", "onPressEnter"]), {
|
|
29420
29420
|
getPrefixCls: x,
|
|
29421
29421
|
direction: w
|
|
29422
|
-
} = m.useContext(
|
|
29422
|
+
} = m.useContext(Ct), S = m.useRef(!1), E = x("input-search", n), $ = x("input", r), {
|
|
29423
29423
|
compactSize: O
|
|
29424
29424
|
} = ed(E, w), N = Bo((q) => {
|
|
29425
29425
|
var K;
|
|
@@ -30412,7 +30412,7 @@ const lse = /* @__PURE__ */ se.forwardRef((e, t) => {
|
|
|
30412
30412
|
sync: r
|
|
30413
30413
|
} = e, {
|
|
30414
30414
|
getPrefixCls: o
|
|
30415
|
-
} = _t(
|
|
30415
|
+
} = _t(Ct), i = Ff.prefixCls || o("message"), a = _t(uee), [s, l] = qD(Object.assign(Object.assign(Object.assign({}, n), {
|
|
30416
30416
|
prefixCls: i
|
|
30417
30417
|
}), a.message));
|
|
30418
30418
|
return se.useImperativeHandle(t, () => {
|
|
@@ -30571,7 +30571,7 @@ const vse = (e) => {
|
|
|
30571
30571
|
footer: l
|
|
30572
30572
|
} = e, c = gse(e, ["prefixCls", "className", "closeIcon", "closable", "type", "title", "children", "footer"]), {
|
|
30573
30573
|
getPrefixCls: u
|
|
30574
|
-
} = m.useContext(
|
|
30574
|
+
} = m.useContext(Ct), d = u(), h = t || u("modal"), p = Oo(d), [b, y, g] = k5(h, p), C = `${h}-confirm`;
|
|
30575
30575
|
let x = {};
|
|
30576
30576
|
return i ? x = {
|
|
30577
30577
|
closable: o ?? !1,
|
|
@@ -30711,7 +30711,7 @@ const Q3 = (e) => {
|
|
|
30711
30711
|
onPopupClick: b
|
|
30712
30712
|
} = e, {
|
|
30713
30713
|
getPrefixCls: y
|
|
30714
|
-
} = m.useContext(
|
|
30714
|
+
} = m.useContext(Ct), [g] = aa("Popconfirm", ea.Popconfirm), C = Lu(o), x = Lu(i);
|
|
30715
30715
|
return /* @__PURE__ */ m.createElement("div", {
|
|
30716
30716
|
className: `${t}-inner-content`,
|
|
30717
30717
|
onClick: b
|
|
@@ -30748,7 +30748,7 @@ const Q3 = (e) => {
|
|
|
30748
30748
|
style: o
|
|
30749
30749
|
} = e, i = wse(e, ["prefixCls", "placement", "className", "style"]), {
|
|
30750
30750
|
getPrefixCls: a
|
|
30751
|
-
} = m.useContext(
|
|
30751
|
+
} = m.useContext(Ct), s = a("popconfirm", t), [l] = Z3(s);
|
|
30752
30752
|
return l(/* @__PURE__ */ m.createElement(v4, {
|
|
30753
30753
|
placement: n,
|
|
30754
30754
|
className: te(s, r),
|
|
@@ -31545,7 +31545,7 @@ const Kse = ["normal", "exception", "active", "success"], nL = /* @__PURE__ */ m
|
|
|
31545
31545
|
getPrefixCls: O,
|
|
31546
31546
|
direction: N,
|
|
31547
31547
|
progress: T
|
|
31548
|
-
} = m.useContext(
|
|
31548
|
+
} = m.useContext(Ct), I = O("progress", n), [R, k, F] = jse(I), P = u === "line", L = P && !i, A = m.useMemo(() => {
|
|
31549
31549
|
if (!c)
|
|
31550
31550
|
return null;
|
|
31551
31551
|
const z = kg(e);
|
|
@@ -32141,7 +32141,7 @@ const ece = /* @__PURE__ */ m.forwardRef((e, t) => {
|
|
|
32141
32141
|
getPrefixCls: C,
|
|
32142
32142
|
direction: x,
|
|
32143
32143
|
switch: w
|
|
32144
|
-
} = m.useContext(
|
|
32144
|
+
} = m.useContext(Ct), S = m.useContext(ei), E = (o ?? S) || i, $ = C("switch", n), O = /* @__PURE__ */ m.createElement("div", {
|
|
32145
32145
|
className: `${$}-handle`
|
|
32146
32146
|
}, i && /* @__PURE__ */ m.createElement(Ra, {
|
|
32147
32147
|
className: `${$}-loading-icon`
|
|
@@ -32290,7 +32290,7 @@ const rce = /* @__PURE__ */ m.forwardRef((e, t) => {
|
|
|
32290
32290
|
} = e, l = nce(e, ["prefixCls", "style", "className", "checked", "onChange", "onClick"]), {
|
|
32291
32291
|
getPrefixCls: c,
|
|
32292
32292
|
tag: u
|
|
32293
|
-
} = m.useContext(
|
|
32293
|
+
} = m.useContext(Ct), d = (C) => {
|
|
32294
32294
|
a == null || a(!i), s == null || s(C);
|
|
32295
32295
|
}, h = c("tag", n), [p, b, y] = xL(h), g = te(h, `${h}-checkable`, {
|
|
32296
32296
|
[`${h}-checkable-checked`]: i
|
|
@@ -32367,7 +32367,7 @@ const cce = /* @__PURE__ */ m.forwardRef((e, t) => {
|
|
|
32367
32367
|
getPrefixCls: p,
|
|
32368
32368
|
direction: b,
|
|
32369
32369
|
tag: y
|
|
32370
|
-
} = m.useContext(
|
|
32370
|
+
} = m.useContext(Ct), [g, C] = m.useState(!0), x = Dn(h, ["closeIcon", "closable"]);
|
|
32371
32371
|
process.env.NODE_ENV !== "production" && Vt("Tag").deprecated(!("visible" in e), "visible", "visible && <Tag />"), m.useEffect(() => {
|
|
32372
32372
|
d !== void 0 && C(d);
|
|
32373
32373
|
}, [d]);
|
|
@@ -33162,7 +33162,7 @@ const Dce = "...", DT = ["delete", "mark", "code", "underline", "strong", "keybo
|
|
|
33162
33162
|
} = e, b = Mce(e, ["prefixCls", "className", "style", "type", "disabled", "children", "ellipsis", "editable", "copyable", "component", "title"]), {
|
|
33163
33163
|
getPrefixCls: y,
|
|
33164
33164
|
direction: g
|
|
33165
|
-
} = m.useContext(
|
|
33165
|
+
} = m.useContext(Ct), [C] = aa("Text"), x = m.useRef(null), w = m.useRef(null), S = y("typography", r), E = Dn(b, DT), [$, O] = Hb(u), [N, T] = tr(!1, {
|
|
33166
33166
|
value: O.editing
|
|
33167
33167
|
}), {
|
|
33168
33168
|
triggerType: I = ["icon"]
|
|
@@ -34613,7 +34613,7 @@ const uue = /* @__PURE__ */ m.forwardRef(({
|
|
|
34613
34613
|
className: `${e}-list-item-actions`
|
|
34614
34614
|
}, U, I === "done" && z, B), {
|
|
34615
34615
|
getPrefixCls: oe
|
|
34616
|
-
} = m.useContext(
|
|
34616
|
+
} = m.useContext(Ct), Z = oe(), re = /* @__PURE__ */ m.createElement("div", {
|
|
34617
34617
|
className: A
|
|
34618
34618
|
}, L, K, H, Y, k && /* @__PURE__ */ m.createElement(eo, {
|
|
34619
34619
|
motionName: `${Z}-fade`,
|
|
@@ -34722,7 +34722,7 @@ const uue = /* @__PURE__ */ m.forwardRef(({
|
|
|
34722
34722
|
}));
|
|
34723
34723
|
const {
|
|
34724
34724
|
getPrefixCls: M
|
|
34725
|
-
} = m.useContext(
|
|
34725
|
+
} = m.useContext(Ct), B = M("upload", u), z = M(), H = te(`${B}-list`, `${B}-list-${n}`), W = m.useMemo(() => Dn(Pf(z), ["onAppearEnd", "onEnterEnd", "onLeaveEnd"]), [z]), G = Object.assign(Object.assign({}, R ? {} : W), {
|
|
34726
34726
|
motionDeadline: 2e3,
|
|
34727
34727
|
motionName: `${B}-${R ? "animate-inline" : "animate"}`,
|
|
34728
34728
|
keys: Fe(d.map((q) => ({
|
|
@@ -34967,7 +34967,7 @@ const Jd = `__LIST_IGNORE_${Date.now()}__`, hue = (e, t) => {
|
|
|
34967
34967
|
getPrefixCls: ue,
|
|
34968
34968
|
direction: de,
|
|
34969
34969
|
upload: pe
|
|
34970
|
-
} = m.useContext(
|
|
34970
|
+
} = m.useContext(Ct), ee = ue("upload", C), ne = Object.assign(Object.assign({
|
|
34971
34971
|
onBatchStart: U,
|
|
34972
34972
|
onError: Z,
|
|
34973
34973
|
onProgress: oe,
|
|
@@ -38806,15 +38806,15 @@ var Yg;
|
|
|
38806
38806
|
(function(e) {
|
|
38807
38807
|
e.Arrow = "arrow", e.ArrowClosed = "arrowclosed";
|
|
38808
38808
|
})(Yg || (Yg = {}));
|
|
38809
|
-
var
|
|
38809
|
+
var bt;
|
|
38810
38810
|
(function(e) {
|
|
38811
38811
|
e.Left = "left", e.Top = "top", e.Right = "right", e.Bottom = "bottom";
|
|
38812
|
-
})(
|
|
38812
|
+
})(bt || (bt = {}));
|
|
38813
38813
|
const sP = {
|
|
38814
|
-
[
|
|
38815
|
-
[
|
|
38816
|
-
[
|
|
38817
|
-
[
|
|
38814
|
+
[bt.Left]: bt.Right,
|
|
38815
|
+
[bt.Right]: bt.Left,
|
|
38816
|
+
[bt.Top]: bt.Bottom,
|
|
38817
|
+
[bt.Bottom]: bt.Top
|
|
38818
38818
|
};
|
|
38819
38819
|
function m6(e) {
|
|
38820
38820
|
return e === null ? null : e ? "valid" : "invalid";
|
|
@@ -39157,17 +39157,17 @@ function wm(e, t) {
|
|
|
39157
39157
|
}
|
|
39158
39158
|
function fP({ pos: e, x1: t, y1: n, x2: r, y2: o, c: i }) {
|
|
39159
39159
|
switch (e) {
|
|
39160
|
-
case
|
|
39160
|
+
case bt.Left:
|
|
39161
39161
|
return [t - wm(t - r, i), n];
|
|
39162
|
-
case
|
|
39162
|
+
case bt.Right:
|
|
39163
39163
|
return [t + wm(r - t, i), n];
|
|
39164
|
-
case
|
|
39164
|
+
case bt.Top:
|
|
39165
39165
|
return [t, n - wm(n - o, i)];
|
|
39166
|
-
case
|
|
39166
|
+
case bt.Bottom:
|
|
39167
39167
|
return [t, n + wm(o - n, i)];
|
|
39168
39168
|
}
|
|
39169
39169
|
}
|
|
39170
|
-
function tE({ sourceX: e, sourceY: t, sourcePosition: n =
|
|
39170
|
+
function tE({ sourceX: e, sourceY: t, sourcePosition: n = bt.Bottom, targetX: r, targetY: o, targetPosition: i = bt.Top, curvature: a = 0.25 }) {
|
|
39171
39171
|
const [s, l] = fP({
|
|
39172
39172
|
pos: n,
|
|
39173
39173
|
x1: e,
|
|
@@ -39240,12 +39240,12 @@ function P6({ sourceX: e, sourceY: t, targetX: n, targetY: r }) {
|
|
|
39240
39240
|
return [`M ${e},${t}L ${n},${r}`, o, i, a, s];
|
|
39241
39241
|
}
|
|
39242
39242
|
const hP = {
|
|
39243
|
-
[
|
|
39244
|
-
[
|
|
39245
|
-
[
|
|
39246
|
-
[
|
|
39247
|
-
}, Bpe = ({ source: e, sourcePosition: t =
|
|
39248
|
-
function zpe({ source: e, sourcePosition: t =
|
|
39243
|
+
[bt.Left]: { x: -1, y: 0 },
|
|
39244
|
+
[bt.Right]: { x: 1, y: 0 },
|
|
39245
|
+
[bt.Top]: { x: 0, y: -1 },
|
|
39246
|
+
[bt.Bottom]: { x: 0, y: 1 }
|
|
39247
|
+
}, Bpe = ({ source: e, sourcePosition: t = bt.Bottom, target: n }) => t === bt.Left || t === bt.Right ? e.x < n.x ? { x: 1, y: 0 } : { x: -1, y: 0 } : e.y < n.y ? { x: 0, y: 1 } : { x: 0, y: -1 }, pP = (e, t) => Math.sqrt(Math.pow(t.x - e.x, 2) + Math.pow(t.y - e.y, 2));
|
|
39248
|
+
function zpe({ source: e, sourcePosition: t = bt.Bottom, target: n, targetPosition: r = bt.Top, center: o, offset: i }) {
|
|
39249
39249
|
const a = hP[t], s = hP[r], l = { x: e.x + a.x * i, y: e.y + a.y * i }, c = { x: n.x + s.x * i, y: n.y + s.y * i }, u = Bpe({
|
|
39250
39250
|
source: l,
|
|
39251
39251
|
sourcePosition: t,
|
|
@@ -39303,7 +39303,7 @@ function jpe(e, t, n, r) {
|
|
|
39303
39303
|
const s = e.x < n.x ? 1 : -1, l = e.y < n.y ? -1 : 1;
|
|
39304
39304
|
return `L ${i},${a + o * l}Q ${i},${a} ${i + o * s},${a}`;
|
|
39305
39305
|
}
|
|
39306
|
-
function xw({ sourceX: e, sourceY: t, sourcePosition: n =
|
|
39306
|
+
function xw({ sourceX: e, sourceY: t, sourcePosition: n = bt.Bottom, targetX: r, targetY: o, targetPosition: i = bt.Top, borderRadius: a = 5, centerX: s, centerY: l, offset: c = 20 }) {
|
|
39307
39307
|
const [u, d, h, p, b] = zpe({
|
|
39308
39308
|
source: { x: e, y: t },
|
|
39309
39309
|
sourcePosition: n,
|
|
@@ -39337,7 +39337,7 @@ function Vpe(e) {
|
|
|
39337
39337
|
sourceHandle: e.sourceHandle,
|
|
39338
39338
|
targetHandle: e.targetHandle
|
|
39339
39339
|
})), null;
|
|
39340
|
-
const s = (i == null ? void 0 : i.position) ||
|
|
39340
|
+
const s = (i == null ? void 0 : i.position) || bt.Bottom, l = (a == null ? void 0 : a.position) || bt.Top, c = Gf(t, i, s), u = Gf(n, a, l);
|
|
39341
39341
|
return {
|
|
39342
39342
|
sourceX: c.x,
|
|
39343
39343
|
sourceY: c.y,
|
|
@@ -39358,18 +39358,18 @@ function gP(e) {
|
|
|
39358
39358
|
target: n
|
|
39359
39359
|
};
|
|
39360
39360
|
}
|
|
39361
|
-
function Gf(e, t, n =
|
|
39361
|
+
function Gf(e, t, n = bt.Left, r = !1) {
|
|
39362
39362
|
const o = ((t == null ? void 0 : t.x) ?? 0) + e.internals.positionAbsolute.x, i = ((t == null ? void 0 : t.y) ?? 0) + e.internals.positionAbsolute.y, { width: a, height: s } = t ?? Ss(e);
|
|
39363
39363
|
if (r)
|
|
39364
39364
|
return { x: o + a / 2, y: i + s / 2 };
|
|
39365
39365
|
switch ((t == null ? void 0 : t.position) ?? n) {
|
|
39366
|
-
case
|
|
39366
|
+
case bt.Top:
|
|
39367
39367
|
return { x: o + a / 2, y: i };
|
|
39368
|
-
case
|
|
39368
|
+
case bt.Right:
|
|
39369
39369
|
return { x: o + a, y: i + s / 2 };
|
|
39370
|
-
case
|
|
39370
|
+
case bt.Bottom:
|
|
39371
39371
|
return { x: o + a / 2, y: i + s };
|
|
39372
|
-
case
|
|
39372
|
+
case bt.Left:
|
|
39373
39373
|
return { x: o, y: i + s / 2 };
|
|
39374
39374
|
}
|
|
39375
39375
|
}
|
|
@@ -39862,7 +39862,7 @@ function nme(e, { connectionMode: t, connectionRadius: n, handleId: r, nodeId: o
|
|
|
39862
39862
|
let oe = {
|
|
39863
39863
|
inProgress: !0,
|
|
39864
39864
|
isValid: null,
|
|
39865
|
-
from: Gf(U, K,
|
|
39865
|
+
from: Gf(U, K, bt.Left, !0),
|
|
39866
39866
|
fromHandle: K,
|
|
39867
39867
|
fromPosition: K.position,
|
|
39868
39868
|
fromNode: U,
|
|
@@ -41597,7 +41597,7 @@ const ek = () => _t(aE), gge = (e) => ({
|
|
|
41597
41597
|
valid: u && c
|
|
41598
41598
|
};
|
|
41599
41599
|
};
|
|
41600
|
-
function yge({ type: e = "source", position: t =
|
|
41600
|
+
function yge({ type: e = "source", position: t = bt.Top, isValidConnection: n, isConnectable: r = !0, isConnectableStart: o = !0, isConnectableEnd: i = !0, id: a, onConnect: s, children: l, className: c, onMouseDown: u, onTouchStart: d, ...h }, p) {
|
|
41601
41601
|
var L, A;
|
|
41602
41602
|
const b = a || null, y = e === "target", g = Yn(), C = ek(), { connectOnClick: x, noPanClassName: w, rfId: S } = Yt(gge, Kn), { connectingFrom: E, connectingTo: $, clickConnecting: O, isPossibleEndHandle: N, connectionInProcess: T, clickConnectionInProcess: I, valid: R } = Yt(vge(C, b, e), Kn);
|
|
41603
41603
|
C || (A = (L = g.getState()).onError) == null || A.call(L, "010", ni.error010());
|
|
@@ -41695,16 +41695,16 @@ function yge({ type: e = "source", position: t = yt.Top, isValidConnection: n, i
|
|
|
41695
41695
|
]), onMouseDown: F, onTouchStart: F, onClick: x ? P : void 0, ref: p, ...h, children: l });
|
|
41696
41696
|
}
|
|
41697
41697
|
const _o = _r(Y6(yge));
|
|
41698
|
-
function bge({ data: e, isConnectable: t, sourcePosition: n =
|
|
41698
|
+
function bge({ data: e, isConnectable: t, sourcePosition: n = bt.Bottom }) {
|
|
41699
41699
|
return Be(Vn, { children: [e == null ? void 0 : e.label, j(_o, { type: "source", position: n, isConnectable: t })] });
|
|
41700
41700
|
}
|
|
41701
|
-
function Cge({ data: e, isConnectable: t, targetPosition: n =
|
|
41701
|
+
function Cge({ data: e, isConnectable: t, targetPosition: n = bt.Top, sourcePosition: r = bt.Bottom }) {
|
|
41702
41702
|
return Be(Vn, { children: [j(_o, { type: "target", position: n, isConnectable: t }), e == null ? void 0 : e.label, j(_o, { type: "source", position: r, isConnectable: t })] });
|
|
41703
41703
|
}
|
|
41704
41704
|
function wge() {
|
|
41705
41705
|
return null;
|
|
41706
41706
|
}
|
|
41707
|
-
function xge({ data: e, isConnectable: t, targetPosition: n =
|
|
41707
|
+
function xge({ data: e, isConnectable: t, targetPosition: n = bt.Top }) {
|
|
41708
41708
|
return Be(Vn, { children: [j(_o, { type: "target", position: n, isConnectable: t }), e == null ? void 0 : e.label] });
|
|
41709
41709
|
}
|
|
41710
41710
|
const ev = {
|
|
@@ -42006,9 +42006,9 @@ function kh({ path: e, labelX: t, labelY: n, label: r, labelStyle: o, labelShowB
|
|
|
42006
42006
|
return Be(Vn, { children: [j("path", { ...u, d: e, fill: "none", className: Ir(["react-flow__edge-path", u.className]) }), c && j("path", { d: e, fill: "none", strokeOpacity: 0, strokeWidth: c, className: "react-flow__edge-interaction" }), r && Ki(t) && Ki(n) ? j(Vge, { x: t, y: n, label: r, labelStyle: o, labelShowBg: i, labelBgStyle: a, labelBgPadding: s, labelBgBorderRadius: l }) : null] });
|
|
42007
42007
|
}
|
|
42008
42008
|
function WP({ pos: e, x1: t, y1: n, x2: r, y2: o }) {
|
|
42009
|
-
return e ===
|
|
42009
|
+
return e === bt.Left || e === bt.Right ? [0.5 * (t + r), n] : [t, 0.5 * (n + o)];
|
|
42010
42010
|
}
|
|
42011
|
-
function ik({ sourceX: e, sourceY: t, sourcePosition: n =
|
|
42011
|
+
function ik({ sourceX: e, sourceY: t, sourcePosition: n = bt.Bottom, targetX: r, targetY: o, targetPosition: i = bt.Top }) {
|
|
42012
42012
|
const [a, s] = WP({
|
|
42013
42013
|
pos: n,
|
|
42014
42014
|
x1: e,
|
|
@@ -42056,7 +42056,7 @@ const Hge = ak({ isInternal: !1 }), sk = ak({ isInternal: !0 });
|
|
|
42056
42056
|
Hge.displayName = "SimpleBezierEdge";
|
|
42057
42057
|
sk.displayName = "SimpleBezierEdgeInternal";
|
|
42058
42058
|
function lk(e) {
|
|
42059
|
-
return _r(({ id: t, sourceX: n, sourceY: r, targetX: o, targetY: i, label: a, labelStyle: s, labelShowBg: l, labelBgStyle: c, labelBgPadding: u, labelBgBorderRadius: d, style: h, sourcePosition: p =
|
|
42059
|
+
return _r(({ id: t, sourceX: n, sourceY: r, targetX: o, targetY: i, label: a, labelStyle: s, labelShowBg: l, labelBgStyle: c, labelBgPadding: u, labelBgBorderRadius: d, style: h, sourcePosition: p = bt.Bottom, targetPosition: b = bt.Top, markerEnd: y, markerStart: g, pathOptions: C, interactionWidth: x }) => {
|
|
42060
42060
|
const [w, S, E] = xw({
|
|
42061
42061
|
sourceX: n,
|
|
42062
42062
|
sourceY: r,
|
|
@@ -42096,7 +42096,7 @@ const Uge = hk({ isInternal: !1 }), pk = hk({ isInternal: !0 });
|
|
|
42096
42096
|
Uge.displayName = "StraightEdge";
|
|
42097
42097
|
pk.displayName = "StraightEdgeInternal";
|
|
42098
42098
|
function mk(e) {
|
|
42099
|
-
return _r(({ id: t, sourceX: n, sourceY: r, targetX: o, targetY: i, sourcePosition: a =
|
|
42099
|
+
return _r(({ id: t, sourceX: n, sourceY: r, targetX: o, targetY: i, sourcePosition: a = bt.Bottom, targetPosition: s = bt.Top, label: l, labelStyle: c, labelShowBg: u, labelBgStyle: d, labelBgPadding: h, labelBgBorderRadius: p, style: b, markerEnd: y, markerStart: g, pathOptions: C, interactionWidth: x }) => {
|
|
42100
42100
|
const [w, S, E] = tE({
|
|
42101
42101
|
sourceX: n,
|
|
42102
42102
|
sourceY: r,
|
|
@@ -42125,7 +42125,7 @@ const UP = {
|
|
|
42125
42125
|
targetY: null,
|
|
42126
42126
|
sourcePosition: null,
|
|
42127
42127
|
targetPosition: null
|
|
42128
|
-
}, Gge = (e, t, n) => n ===
|
|
42128
|
+
}, Gge = (e, t, n) => n === bt.Left ? e - t : n === bt.Right ? e + t : e, Kge = (e, t, n) => n === bt.Top ? e - t : n === bt.Bottom ? e + t : e, GP = "react-flow__edgeupdater";
|
|
42129
42129
|
function KP({ position: e, centerX: t, centerY: n, radius: r = 10, onMouseDown: o, onMouseEnter: i, onMouseOut: a, type: s }) {
|
|
42130
42130
|
return j("circle", { onMouseDown: o, onMouseEnter: i, onMouseOut: a, className: Ir([GP, `${GP}-${s}`]), cx: Gge(t, r, e), cy: Kge(n, r, e), r, stroke: "transparent", fill: "transparent" });
|
|
42131
42131
|
}
|
|
@@ -44142,7 +44142,11 @@ const tv = () => `${sE().slice(0, 6)}`, sg = () => `${sE().slice(0, 6)}`, v0e =
|
|
|
44142
44142
|
female_record: void 0,
|
|
44143
44143
|
transcript_original: void 0,
|
|
44144
44144
|
transcript_personalize: void 0,
|
|
44145
|
-
personalize: !1
|
|
44145
|
+
personalize: !1,
|
|
44146
|
+
volume: 1,
|
|
44147
|
+
speed: 1,
|
|
44148
|
+
trim: !1,
|
|
44149
|
+
autoGender: !1
|
|
44146
44150
|
},
|
|
44147
44151
|
machine: {},
|
|
44148
44152
|
prompt: {}
|
|
@@ -51551,7 +51555,7 @@ const Bbe = ({ item: e }) => {
|
|
|
51551
51555
|
_o,
|
|
51552
51556
|
{
|
|
51553
51557
|
type: "source",
|
|
51554
|
-
position:
|
|
51558
|
+
position: bt.Right,
|
|
51555
51559
|
id: t,
|
|
51556
51560
|
className: kbe
|
|
51557
51561
|
}
|
|
@@ -57136,7 +57140,7 @@ const {
|
|
|
57136
57140
|
className: t,
|
|
57137
57141
|
formPath: n
|
|
57138
57142
|
}) => {
|
|
57139
|
-
const r =
|
|
57143
|
+
const r = yt.useFormInstance();
|
|
57140
57144
|
return !e || e === "" ? /* @__PURE__ */ j(
|
|
57141
57145
|
Mu,
|
|
57142
57146
|
{
|
|
@@ -57212,7 +57216,7 @@ const AF = ({ content: e }) => /* @__PURE__ */ j("div", { className: c$e, childr
|
|
|
57212
57216
|
}
|
|
57213
57217
|
),
|
|
57214
57218
|
/* @__PURE__ */ j(
|
|
57215
|
-
|
|
57219
|
+
yt.Item,
|
|
57216
57220
|
{
|
|
57217
57221
|
name: [...e, "record", "trim"],
|
|
57218
57222
|
valuePropName: "checked",
|
|
@@ -57223,7 +57227,7 @@ const AF = ({ content: e }) => /* @__PURE__ */ j("div", { className: c$e, childr
|
|
|
57223
57227
|
}
|
|
57224
57228
|
),
|
|
57225
57229
|
/* @__PURE__ */ j(
|
|
57226
|
-
|
|
57230
|
+
yt.Item,
|
|
57227
57231
|
{
|
|
57228
57232
|
name: [...e, "record", "autoGender"],
|
|
57229
57233
|
valuePropName: "checked",
|
|
@@ -58821,7 +58825,7 @@ class HE extends E$e {
|
|
|
58821
58825
|
}
|
|
58822
58826
|
}
|
|
58823
58827
|
const NR = (e) => [e / 60, e % 60].map((t) => `0${Math.floor(t)}`.slice(-2)).join(":"), _$e = ({ prefixPaths: e = [] }) => {
|
|
58824
|
-
const t = Ee(null), n = Ee(null), r = Ee(null), [o, i] = et(0), [a, s] = et(0), [l, c] = et(!1), [u, d] = et(null), h =
|
|
58828
|
+
const t = Ee(null), n = Ee(null), r = Ee(null), [o, i] = et(0), [a, s] = et(0), [l, c] = et(!1), [u, d] = et(null), h = yt.useFormInstance(), p = h.getFieldValue([...e, "title"]), b = h.getFieldValue([
|
|
58825
58829
|
...e,
|
|
58826
58830
|
"record",
|
|
58827
58831
|
"transcript_original"
|
|
@@ -58969,83 +58973,71 @@ const NR = (e) => [e / 60, e % 60].map((t) => `0${Math.floor(t)}`.slice(-2)).joi
|
|
|
58969
58973
|
}
|
|
58970
58974
|
);
|
|
58971
58975
|
}, N$e = ({ prefixPaths: e = [] }) => {
|
|
58972
|
-
const t =
|
|
58973
|
-
return /* @__PURE__ */ Be(Vn, { children: [
|
|
58974
|
-
/* @__PURE__ */
|
|
58975
|
-
|
|
58976
|
-
|
|
58977
|
-
|
|
58978
|
-
|
|
58979
|
-
|
|
58980
|
-
|
|
58981
|
-
|
|
58982
|
-
|
|
58983
|
-
|
|
58984
|
-
|
|
58985
|
-
|
|
58986
|
-
|
|
58987
|
-
|
|
58988
|
-
|
|
58989
|
-
|
|
58990
|
-
|
|
58991
|
-
value: typeof n == "number" ? n : 0
|
|
58992
|
-
}
|
|
58993
|
-
) }),
|
|
58994
|
-
/* @__PURE__ */ j(Gi, { xs: 4, sm: 6, md: 4, children: /* @__PURE__ */ j(
|
|
58976
|
+
const t = yt.useFormInstance();
|
|
58977
|
+
return yt.useWatch([...e, "record", "volume"], t), yt.useWatch([...e, "record", "speed"], t), /* @__PURE__ */ Be(Vn, { children: [
|
|
58978
|
+
/* @__PURE__ */ Be(oc, { gutter: 8, align: "middle", children: [
|
|
58979
|
+
/* @__PURE__ */ j(Gi, { xs: 20, sm: 18, md: 20, children: /* @__PURE__ */ j(
|
|
58980
|
+
yt.Item,
|
|
58981
|
+
{
|
|
58982
|
+
name: [...e, "record", "volume"],
|
|
58983
|
+
label: "Âm lượng",
|
|
58984
|
+
labelCol: { span: 4 },
|
|
58985
|
+
labelAlign: "left",
|
|
58986
|
+
children: /* @__PURE__ */ j(aw, { min: 0.1, max: 2, step: 0.1, tooltip: { open: !1 } })
|
|
58987
|
+
}
|
|
58988
|
+
) }),
|
|
58989
|
+
/* @__PURE__ */ j(Gi, { xs: 4, sm: 6, md: 4, children: /* @__PURE__ */ j(
|
|
58990
|
+
yt.Item,
|
|
58991
|
+
{
|
|
58992
|
+
name: [...e, "record", "volume"],
|
|
58993
|
+
labelAlign: "left",
|
|
58994
|
+
children: /* @__PURE__ */ j(
|
|
58995
58995
|
ku,
|
|
58996
58996
|
{
|
|
58997
58997
|
min: 0.1,
|
|
58998
58998
|
max: 2,
|
|
58999
58999
|
step: 0.1,
|
|
59000
|
-
value: n,
|
|
59001
|
-
onChange: (o) => t.setFieldValue([...e, "record", "volume"], o),
|
|
59002
59000
|
style: { width: "100%" }
|
|
59003
59001
|
}
|
|
59004
|
-
)
|
|
59005
|
-
|
|
59006
|
-
}
|
|
59007
|
-
),
|
|
59008
|
-
/* @__PURE__ */
|
|
59009
|
-
|
|
59010
|
-
|
|
59011
|
-
|
|
59012
|
-
|
|
59013
|
-
|
|
59014
|
-
|
|
59015
|
-
|
|
59016
|
-
|
|
59017
|
-
|
|
59018
|
-
|
|
59019
|
-
|
|
59020
|
-
|
|
59021
|
-
|
|
59022
|
-
|
|
59023
|
-
|
|
59024
|
-
|
|
59025
|
-
value: typeof r == "number" ? r : 0
|
|
59026
|
-
}
|
|
59027
|
-
) }),
|
|
59028
|
-
/* @__PURE__ */ j(Gi, { xs: 4, sm: 6, md: 4, children: /* @__PURE__ */ j(
|
|
59002
|
+
)
|
|
59003
|
+
}
|
|
59004
|
+
) })
|
|
59005
|
+
] }),
|
|
59006
|
+
/* @__PURE__ */ Be(oc, { gutter: 8, align: "middle", children: [
|
|
59007
|
+
/* @__PURE__ */ j(Gi, { xs: 20, sm: 18, md: 20, children: /* @__PURE__ */ j(
|
|
59008
|
+
yt.Item,
|
|
59009
|
+
{
|
|
59010
|
+
name: [...e, "record", "speed"],
|
|
59011
|
+
label: "Tốc độ",
|
|
59012
|
+
labelCol: { span: 4 },
|
|
59013
|
+
labelAlign: "left",
|
|
59014
|
+
children: /* @__PURE__ */ j(aw, { min: 0.1, max: 2, step: 0.1, tooltip: { open: !1 } })
|
|
59015
|
+
}
|
|
59016
|
+
) }),
|
|
59017
|
+
/* @__PURE__ */ j(Gi, { xs: 4, sm: 6, md: 4, children: /* @__PURE__ */ j(
|
|
59018
|
+
yt.Item,
|
|
59019
|
+
{
|
|
59020
|
+
name: [...e, "record", "speed"],
|
|
59021
|
+
labelAlign: "left",
|
|
59022
|
+
children: /* @__PURE__ */ j(
|
|
59029
59023
|
ku,
|
|
59030
59024
|
{
|
|
59031
59025
|
min: 0.1,
|
|
59032
59026
|
max: 2,
|
|
59033
59027
|
step: 0.1,
|
|
59034
|
-
value: r,
|
|
59035
|
-
onChange: (o) => t.setFieldValue([...e, "record", "speed"], o),
|
|
59036
59028
|
style: { width: "100%" }
|
|
59037
59029
|
}
|
|
59038
|
-
)
|
|
59039
|
-
|
|
59040
|
-
}
|
|
59041
|
-
),
|
|
59030
|
+
)
|
|
59031
|
+
}
|
|
59032
|
+
) })
|
|
59033
|
+
] }),
|
|
59042
59034
|
/* @__PURE__ */ j($a, { justify: "center", children: /* @__PURE__ */ j(hn, { type: "primary", children: "Áp dụng" }) })
|
|
59043
59035
|
] });
|
|
59044
59036
|
}, T$e = ({
|
|
59045
59037
|
prefixPaths: e = [],
|
|
59046
59038
|
disabled: t = !1
|
|
59047
59039
|
}) => {
|
|
59048
|
-
const [n, r] = et(!0), { isOpen: o, onOpen: i, onToggle: a } = vc(), l =
|
|
59040
|
+
const [n, r] = et(!0), { isOpen: o, onOpen: i, onToggle: a } = vc(), l = yt.useFormInstance().getFieldValue([...e, "title"]);
|
|
59049
59041
|
return /* @__PURE__ */ Be(Vn, { children: [
|
|
59050
59042
|
/* @__PURE__ */ j(
|
|
59051
59043
|
hn,
|
|
@@ -59282,23 +59274,23 @@ const NR = (e) => [e / 60, e % 60].map((t) => `0${Math.floor(t)}`.slice(-2)).joi
|
|
|
59282
59274
|
}
|
|
59283
59275
|
) });
|
|
59284
59276
|
}, { TextArea: A1 } = qr, { Text: Kc } = jn, R$e = ({ prefixPaths: e = [] }) => {
|
|
59285
|
-
const t =
|
|
59277
|
+
const t = yt.useWatch([
|
|
59286
59278
|
...e,
|
|
59287
59279
|
"record",
|
|
59288
59280
|
"detect_gender"
|
|
59289
|
-
]), n =
|
|
59281
|
+
]), n = yt.useWatch([...e, "record", "personalize"]), r = r0(), o = yt.useWatch(
|
|
59290
59282
|
[...e, "record", "default_record"],
|
|
59291
59283
|
r
|
|
59292
|
-
), i =
|
|
59284
|
+
), i = yt.useWatch(
|
|
59293
59285
|
[...e, "record", "male_record"],
|
|
59294
59286
|
r
|
|
59295
|
-
), a =
|
|
59287
|
+
), a = yt.useWatch(
|
|
59296
59288
|
[...e, "record", "female_record"],
|
|
59297
59289
|
r
|
|
59298
59290
|
);
|
|
59299
59291
|
return /* @__PURE__ */ Be(Vn, { children: [
|
|
59300
59292
|
/* @__PURE__ */ j(
|
|
59301
|
-
|
|
59293
|
+
yt.Item,
|
|
59302
59294
|
{
|
|
59303
59295
|
name: [...e, "record", "default_record"],
|
|
59304
59296
|
valuePropName: "checked",
|
|
@@ -59390,7 +59382,7 @@ Nếu bạn bỏ trống, node này sử dụng giọng bot`,
|
|
|
59390
59382
|
),
|
|
59391
59383
|
/* @__PURE__ */ Be($a, { justify: "space-between", align: "center", children: [
|
|
59392
59384
|
/* @__PURE__ */ j(
|
|
59393
|
-
|
|
59385
|
+
yt.Item,
|
|
59394
59386
|
{
|
|
59395
59387
|
name: [...e, "record", "detect_gender"],
|
|
59396
59388
|
valuePropName: "checked",
|
|
@@ -59409,7 +59401,7 @@ Nếu bạn bỏ trống, node này sử dụng giọng bot`,
|
|
|
59409
59401
|
/* @__PURE__ */ j(T$e, { disabled: !!n || !t })
|
|
59410
59402
|
] }),
|
|
59411
59403
|
/* @__PURE__ */ j(fo, { isOpen: t, children: /* @__PURE__ */ Be(oc, { gutter: [0, 16], children: [
|
|
59412
|
-
/* @__PURE__ */ j(
|
|
59404
|
+
/* @__PURE__ */ j(yt.Item, { name: [...e, "record", "male_record"], noStyle: !0, children: /* @__PURE__ */ Be(dr, { direction: "horizontal", size: 0, wrap: !0, children: [
|
|
59413
59405
|
/* @__PURE__ */ j(Kc, { children: "Khách hàng nam" }),
|
|
59414
59406
|
/* @__PURE__ */ Be(dr, { direction: "horizontal", size: 0, wrap: !0, children: [
|
|
59415
59407
|
/* @__PURE__ */ j(fo, { isOpen: !i, children: /* @__PURE__ */ Be(
|
|
@@ -59454,7 +59446,7 @@ Nếu bạn bỏ trống, node này sử dụng giọng bot`,
|
|
|
59454
59446
|
) })
|
|
59455
59447
|
] })
|
|
59456
59448
|
] }) }),
|
|
59457
|
-
/* @__PURE__ */ j(
|
|
59449
|
+
/* @__PURE__ */ j(yt.Item, { name: [...e, "record", "female_record"], noStyle: !0, children: /* @__PURE__ */ Be(dr, { direction: "horizontal", size: 0, wrap: !0, children: [
|
|
59458
59450
|
/* @__PURE__ */ j(Kc, { children: "Khách hàng nữ" }),
|
|
59459
59451
|
/* @__PURE__ */ Be(dr, { direction: "horizontal", size: 0, wrap: !0, children: [
|
|
59460
59452
|
/* @__PURE__ */ j(fo, { isOpen: !a, children: /* @__PURE__ */ Be(
|
|
@@ -59502,7 +59494,7 @@ Nếu bạn bỏ trống, node này sử dụng giọng bot`,
|
|
|
59502
59494
|
] }) }),
|
|
59503
59495
|
/* @__PURE__ */ j(Nh, { style: { margin: "8px 0" } }),
|
|
59504
59496
|
/* @__PURE__ */ j(
|
|
59505
|
-
|
|
59497
|
+
yt.Item,
|
|
59506
59498
|
{
|
|
59507
59499
|
name: [...e, "record", "personalize"],
|
|
59508
59500
|
valuePropName: "checked",
|
|
@@ -59539,7 +59531,7 @@ Nếu bạn bỏ trống, node này sử dụng giọng bot`,
|
|
|
59539
59531
|
),
|
|
59540
59532
|
/* @__PURE__ */ j(fo, { isOpen: n, children: /* @__PURE__ */ j(I$e, {}) }),
|
|
59541
59533
|
/* @__PURE__ */ j(
|
|
59542
|
-
|
|
59534
|
+
yt.Item,
|
|
59543
59535
|
{
|
|
59544
59536
|
name: [...e, "record", "transcript_with_timestamp"],
|
|
59545
59537
|
label: "Transcript với timestamp",
|
|
@@ -59554,7 +59546,7 @@ Nếu bạn bỏ trống, node này sử dụng giọng bot`,
|
|
|
59554
59546
|
}
|
|
59555
59547
|
),
|
|
59556
59548
|
/* @__PURE__ */ j(
|
|
59557
|
-
|
|
59549
|
+
yt.Item,
|
|
59558
59550
|
{
|
|
59559
59551
|
name: [...e, "record", "transcript_original"],
|
|
59560
59552
|
label: "Transcript gốc",
|
|
@@ -59563,7 +59555,7 @@ Nếu bạn bỏ trống, node này sử dụng giọng bot`,
|
|
|
59563
59555
|
}
|
|
59564
59556
|
),
|
|
59565
59557
|
/* @__PURE__ */ j(
|
|
59566
|
-
|
|
59558
|
+
yt.Item,
|
|
59567
59559
|
{
|
|
59568
59560
|
name: [...e, "record", "transcript_personalize"],
|
|
59569
59561
|
label: "Transcript cá nhân hóa",
|
|
@@ -59573,14 +59565,14 @@ Nếu bạn bỏ trống, node này sử dụng giọng bot`,
|
|
|
59573
59565
|
)
|
|
59574
59566
|
] });
|
|
59575
59567
|
}, { TextArea: M$e } = qr, A$e = ({ prefixPaths: e = [] }) => {
|
|
59576
|
-
const t =
|
|
59577
|
-
return
|
|
59568
|
+
const t = yt.useFormInstance();
|
|
59569
|
+
return yt.useWatch(
|
|
59578
59570
|
[...e, "machine", "content"],
|
|
59579
59571
|
t
|
|
59580
59572
|
), /* @__PURE__ */ Be(Vn, { children: [
|
|
59581
59573
|
/* @__PURE__ */ Be("div", { className: Ybe, children: [
|
|
59582
59574
|
/* @__PURE__ */ j(
|
|
59583
|
-
|
|
59575
|
+
yt.Item,
|
|
59584
59576
|
{
|
|
59585
59577
|
name: [...e, "machine", "content"],
|
|
59586
59578
|
style: {
|
|
@@ -59614,7 +59606,7 @@ Nếu bạn bỏ trống, node này sử dụng giọng bot`,
|
|
|
59614
59606
|
] }),
|
|
59615
59607
|
/* @__PURE__ */ j(R$e, {})
|
|
59616
59608
|
] });
|
|
59617
|
-
}, { TextArea: D$e } = qr, L$e = ({ prefixPaths: e = [] }) => /* @__PURE__ */ j(
|
|
59609
|
+
}, { TextArea: D$e } = qr, L$e = ({ prefixPaths: e = [] }) => /* @__PURE__ */ j(yt.Item, { name: [...e, "prompt", "content"], noStyle: !0, children: /* @__PURE__ */ j(
|
|
59618
59610
|
D$e,
|
|
59619
59611
|
{
|
|
59620
59612
|
placeholder: "Nhập prompt",
|
|
@@ -59627,13 +59619,13 @@ Nếu bạn bỏ trống, node này sử dụng giọng bot`,
|
|
|
59627
59619
|
}
|
|
59628
59620
|
}
|
|
59629
59621
|
) }), k$e = ({ id: e }) => {
|
|
59630
|
-
const { getNode: t, setNodes: n } = $o(), r = _0(), { infos: o, errors: i } = wE(e), a = o.length !== 0 || i.length !== 0, { data: s } = t(e), l = s, [c] =
|
|
59622
|
+
const { getNode: t, setNodes: n } = $o(), r = _0(), { infos: o, errors: i } = wE(e), a = o.length !== 0 || i.length !== 0, { data: s } = t(e), l = s, [c] = yt.useForm(), u = yt.useWatch(["type"], c) || Dr.MACHINE_AND_RECORD, d = (p) => {
|
|
59631
59623
|
r(e, p);
|
|
59632
59624
|
}, h = Na.debounce(() => {
|
|
59633
59625
|
c.submit();
|
|
59634
59626
|
}, 500);
|
|
59635
59627
|
return /* @__PURE__ */ j("div", { className: Xbe, children: /* @__PURE__ */ Be(
|
|
59636
|
-
|
|
59628
|
+
yt,
|
|
59637
59629
|
{
|
|
59638
59630
|
form: c,
|
|
59639
59631
|
layout: "vertical",
|
|
@@ -59641,16 +59633,11 @@ Nếu bạn bỏ trống, node này sử dụng giọng bot`,
|
|
|
59641
59633
|
...l
|
|
59642
59634
|
},
|
|
59643
59635
|
onFinish: d,
|
|
59644
|
-
|
|
59645
|
-
c.submit();
|
|
59646
|
-
},
|
|
59647
|
-
onChange: () => {
|
|
59648
|
-
h();
|
|
59649
|
-
},
|
|
59636
|
+
onFieldsChange: h,
|
|
59650
59637
|
children: [
|
|
59651
|
-
/* @__PURE__ */ j(
|
|
59638
|
+
/* @__PURE__ */ j(yt.Item, { name: ["title"], noStyle: !0, children: /* @__PURE__ */ j(qr, { type: "hidden" }) }),
|
|
59652
59639
|
/* @__PURE__ */ Be(dr, { direction: "vertical", size: "small", style: { height: "500px" }, children: [
|
|
59653
|
-
/* @__PURE__ */ j(
|
|
59640
|
+
/* @__PURE__ */ j(yt.Item, { name: ["type"], noStyle: !0, children: /* @__PURE__ */ j(
|
|
59654
59641
|
Th,
|
|
59655
59642
|
{
|
|
59656
59643
|
block: !0,
|
|
@@ -64499,14 +64486,14 @@ const yTe = {
|
|
|
64499
64486
|
children: e
|
|
64500
64487
|
}
|
|
64501
64488
|
), xTe = ({ id: e, data: t }) => /* @__PURE__ */ Be(ip, { children: [
|
|
64502
|
-
/* @__PURE__ */ j(_o, { type: "source", position:
|
|
64489
|
+
/* @__PURE__ */ j(_o, { type: "source", position: bt.Right }),
|
|
64503
64490
|
/* @__PURE__ */ j(VF, { id: e, data: t })
|
|
64504
64491
|
] });
|
|
64505
64492
|
var STe = "scripts_editor_1b2l0x40", ETe = "scripts_editor_1b2l0x41", HM = "scripts_editor_1b2l0x42", WM = "scripts_editor_1b2l0x43", UM = "scripts_editor_1b2l0x44", qM = "scripts_editor_1b2l0x45", $Te = "scripts_editor_1b2l0x46", _Te = "scripts_editor_1b2l0x49", GM = "scripts_editor_1b2l0x4a", KM = "scripts_editor_1b2l0x4d";
|
|
64506
64493
|
const OTe = () => /* @__PURE__ */ Be(Vn, { children: [
|
|
64507
64494
|
/* @__PURE__ */ j(jn.Text, { strong: !0, children: "Cài đặt tổng đài" }),
|
|
64508
64495
|
/* @__PURE__ */ j(
|
|
64509
|
-
|
|
64496
|
+
yt.Item,
|
|
64510
64497
|
{
|
|
64511
64498
|
label: "Chọn nhánh nội bộ",
|
|
64512
64499
|
name: ["external", "value"],
|
|
@@ -64514,7 +64501,7 @@ const OTe = () => /* @__PURE__ */ Be(Vn, { children: [
|
|
|
64514
64501
|
children: /* @__PURE__ */ j(qr, { placeholder: "Nhập số điện thoại" })
|
|
64515
64502
|
}
|
|
64516
64503
|
),
|
|
64517
|
-
/* @__PURE__ */ j(
|
|
64504
|
+
/* @__PURE__ */ j(yt.Item, { noStyle: !0, name: ["external", "maximum_try"], children: /* @__PURE__ */ j(
|
|
64518
64505
|
ku,
|
|
64519
64506
|
{
|
|
64520
64507
|
addonBefore: "Chờ tối đa",
|
|
@@ -64528,7 +64515,7 @@ const OTe = () => /* @__PURE__ */ Be(Vn, { children: [
|
|
|
64528
64515
|
] }), NTe = () => /* @__PURE__ */ Be(Vn, { children: [
|
|
64529
64516
|
/* @__PURE__ */ j(jn.Text, { strong: !0, children: "Cài đặt tổng đài" }),
|
|
64530
64517
|
/* @__PURE__ */ j(
|
|
64531
|
-
|
|
64518
|
+
yt.Item,
|
|
64532
64519
|
{
|
|
64533
64520
|
label: "Chọn nhánh nội bộ",
|
|
64534
64521
|
name: ["internal", "value"],
|
|
@@ -64536,7 +64523,7 @@ const OTe = () => /* @__PURE__ */ Be(Vn, { children: [
|
|
|
64536
64523
|
children: /* @__PURE__ */ j(qr, { placeholder: "Chọn nhánh nội bộ hoặc nhập số điện thoại" })
|
|
64537
64524
|
}
|
|
64538
64525
|
),
|
|
64539
|
-
/* @__PURE__ */ j(
|
|
64526
|
+
/* @__PURE__ */ j(yt.Item, { noStyle: !0, name: ["internal", "maximum_try"], children: /* @__PURE__ */ j(
|
|
64540
64527
|
ku,
|
|
64541
64528
|
{
|
|
64542
64529
|
addonBefore: "Chờ tối đa",
|
|
@@ -64548,7 +64535,7 @@ const OTe = () => /* @__PURE__ */ Be(Vn, { children: [
|
|
|
64548
64535
|
}
|
|
64549
64536
|
) })
|
|
64550
64537
|
] }), TTe = ({ id: e }) => {
|
|
64551
|
-
const { getNode: t } = $o(), { data: n } = t(e), r = n, [o] =
|
|
64538
|
+
const { getNode: t } = $o(), { data: n } = t(e), r = n, [o] = yt.useForm(), [i, a] = et(r.type), { infos: s } = wE(e), l = _0(), c = (d) => {
|
|
64552
64539
|
l(e, d);
|
|
64553
64540
|
}, u = Na.debounce(() => {
|
|
64554
64541
|
o.submit();
|
|
@@ -64558,7 +64545,7 @@ const OTe = () => /* @__PURE__ */ Be(Vn, { children: [
|
|
|
64558
64545
|
...r
|
|
64559
64546
|
}), a(r.type);
|
|
64560
64547
|
}, [r, o]), /* @__PURE__ */ Be(
|
|
64561
|
-
|
|
64548
|
+
yt,
|
|
64562
64549
|
{
|
|
64563
64550
|
form: o,
|
|
64564
64551
|
layout: "vertical",
|
|
@@ -64570,7 +64557,7 @@ const OTe = () => /* @__PURE__ */ Be(Vn, { children: [
|
|
|
64570
64557
|
u();
|
|
64571
64558
|
},
|
|
64572
64559
|
children: [
|
|
64573
|
-
/* @__PURE__ */ j(
|
|
64560
|
+
/* @__PURE__ */ j(yt.Item, { name: "type", noStyle: !0, children: /* @__PURE__ */ j(
|
|
64574
64561
|
Th,
|
|
64575
64562
|
{
|
|
64576
64563
|
value: i,
|
|
@@ -64661,7 +64648,7 @@ const OTe = () => /* @__PURE__ */ Be(Vn, { children: [
|
|
|
64661
64648
|
{
|
|
64662
64649
|
type: "target",
|
|
64663
64650
|
id: `${e}_success`,
|
|
64664
|
-
position:
|
|
64651
|
+
position: bt.Right,
|
|
64665
64652
|
className: KM,
|
|
64666
64653
|
style: { top: "50%", right: "8%" }
|
|
64667
64654
|
}
|
|
@@ -64674,7 +64661,7 @@ const OTe = () => /* @__PURE__ */ Be(Vn, { children: [
|
|
|
64674
64661
|
{
|
|
64675
64662
|
type: "target",
|
|
64676
64663
|
id: `${e}_failed`,
|
|
64677
|
-
position:
|
|
64664
|
+
position: bt.Right,
|
|
64678
64665
|
className: KM,
|
|
64679
64666
|
style: { top: "75%", right: "8%" }
|
|
64680
64667
|
}
|
|
@@ -64686,7 +64673,7 @@ const OTe = () => /* @__PURE__ */ Be(Vn, { children: [
|
|
|
64686
64673
|
)
|
|
64687
64674
|
);
|
|
64688
64675
|
}, PTe = ({ data: e, id: t }) => /* @__PURE__ */ Be(ip, { children: [
|
|
64689
|
-
/* @__PURE__ */ j(_o, { type: "target", position:
|
|
64676
|
+
/* @__PURE__ */ j(_o, { type: "target", position: bt.Left }),
|
|
64690
64677
|
/* @__PURE__ */ j(S$, { id: t, data: e })
|
|
64691
64678
|
] }), E$ = ({ id: e }) => {
|
|
64692
64679
|
const t = Cve(), n = xve(), { fitView: r } = $o(), o = Epe({ id: e }, t, n), i = Spe({ id: e }, t, n), a = $t(
|
|
@@ -64778,7 +64765,7 @@ const OTe = () => /* @__PURE__ */ Be(Vn, { children: [
|
|
|
64778
64765
|
];
|
|
64779
64766
|
return /* @__PURE__ */ j(DC, { ghost: !0, items: l });
|
|
64780
64767
|
}, ITe = () => {
|
|
64781
|
-
const e = r0(), [t] =
|
|
64768
|
+
const e = r0(), [t] = yt.useForm(), { isOpen: n, onToggle: r } = vc(), o = (a) => {
|
|
64782
64769
|
const s = {
|
|
64783
64770
|
id: "condition-" + sg(),
|
|
64784
64771
|
...a
|
|
@@ -64858,7 +64845,7 @@ const OTe = () => /* @__PURE__ */ Be(Vn, { children: [
|
|
|
64858
64845
|
)
|
|
64859
64846
|
],
|
|
64860
64847
|
children: /* @__PURE__ */ Be(
|
|
64861
|
-
|
|
64848
|
+
yt,
|
|
64862
64849
|
{
|
|
64863
64850
|
preserve: !1,
|
|
64864
64851
|
form: t,
|
|
@@ -64867,10 +64854,10 @@ const OTe = () => /* @__PURE__ */ Be(Vn, { children: [
|
|
|
64867
64854
|
o(a), t.resetFields(), r();
|
|
64868
64855
|
},
|
|
64869
64856
|
children: [
|
|
64870
|
-
/* @__PURE__ */ j(
|
|
64871
|
-
/* @__PURE__ */ j(
|
|
64872
|
-
/* @__PURE__ */ j(
|
|
64873
|
-
/* @__PURE__ */ j(
|
|
64857
|
+
/* @__PURE__ */ j(yt.Item, { layout: "vertical", label: "Tên ý định", name: "label", required: !0, children: /* @__PURE__ */ j(qr, { placeholder: "Nhập tên ý định" }) }),
|
|
64858
|
+
/* @__PURE__ */ j(yt.Item, { layout: "vertical", label: "Mô tả", name: "description", children: /* @__PURE__ */ j(qr, { placeholder: "Nhập mô tả ý định" }) }),
|
|
64859
|
+
/* @__PURE__ */ j(yt.Item, { layout: "vertical", label: "Từ khóa", name: "keywords", children: /* @__PURE__ */ j(qr, { placeholder: "Nhập từ khóa, cách nhau bởi dấu phẩy" }) }),
|
|
64860
|
+
/* @__PURE__ */ j(yt.Item, { label: null, name: "is_conversion", valuePropName: "checked", children: /* @__PURE__ */ j(il, { children: "Đăt làm chuyển đổi" }) })
|
|
64874
64861
|
]
|
|
64875
64862
|
}
|
|
64876
64863
|
)
|
|
@@ -64878,7 +64865,7 @@ const OTe = () => /* @__PURE__ */ Be(Vn, { children: [
|
|
|
64878
64865
|
)
|
|
64879
64866
|
] });
|
|
64880
64867
|
}, { Text: Y1 } = jn, RTe = ({ id: e }) => {
|
|
64881
|
-
const t = _0(), { data: n } = kk(e), r = n, [o] =
|
|
64868
|
+
const t = _0(), { data: n } = kk(e), r = n, [o] = yt.useForm(), i = yt.useWatch("conditions", o), a = (c) => {
|
|
64882
64869
|
t(e, c);
|
|
64883
64870
|
}, s = Na.debounce(() => {
|
|
64884
64871
|
o.submit();
|
|
@@ -64891,7 +64878,7 @@ const OTe = () => /* @__PURE__ */ Be(Vn, { children: [
|
|
|
64891
64878
|
return Nk(() => {
|
|
64892
64879
|
!o.isFieldsTouched() && r.conditions && o.setFieldsValue(r);
|
|
64893
64880
|
}, [r.conditions]), /* @__PURE__ */ j("div", { style: { height: "100%" }, children: /* @__PURE__ */ j(
|
|
64894
|
-
|
|
64881
|
+
yt,
|
|
64895
64882
|
{
|
|
64896
64883
|
form: o,
|
|
64897
64884
|
layout: "horizontal",
|
|
@@ -64906,7 +64893,7 @@ const OTe = () => /* @__PURE__ */ Be(Vn, { children: [
|
|
|
64906
64893
|
s();
|
|
64907
64894
|
},
|
|
64908
64895
|
children: /* @__PURE__ */ Be(dr, { direction: "vertical", size: "small", style: { width: "100%" }, children: [
|
|
64909
|
-
/* @__PURE__ */ j(
|
|
64896
|
+
/* @__PURE__ */ j(yt.Item, { name: ["title"], noStyle: !0, children: /* @__PURE__ */ j(qr, { type: "hidden" }) }),
|
|
64910
64897
|
/* @__PURE__ */ Be(
|
|
64911
64898
|
"div",
|
|
64912
64899
|
{
|
|
@@ -64922,7 +64909,7 @@ const OTe = () => /* @__PURE__ */ Be(Vn, { children: [
|
|
|
64922
64909
|
]
|
|
64923
64910
|
}
|
|
64924
64911
|
),
|
|
64925
|
-
/* @__PURE__ */ j(
|
|
64912
|
+
/* @__PURE__ */ j(yt.List, { name: "conditions", children: (c) => Na.isEmpty(c) ? /* @__PURE__ */ j(Kv, {}) : /* @__PURE__ */ j(Vn, { children: c.map((u, d) => {
|
|
64926
64913
|
var p;
|
|
64927
64914
|
const h = i == null ? void 0 : i[d];
|
|
64928
64915
|
return h ? (p = h.id) != null && p.includes("condition-default-") ? /* @__PURE__ */ j(Vn, {}) : /* @__PURE__ */ Be("div", { className: Vbe, children: [
|
|
@@ -64941,7 +64928,7 @@ const OTe = () => /* @__PURE__ */ Be(Vn, { children: [
|
|
|
64941
64928
|
}) }) }),
|
|
64942
64929
|
/* @__PURE__ */ j(Nh, {}),
|
|
64943
64930
|
/* @__PURE__ */ Be(dr, { direction: "vertical", size: 16, style: { width: "100%" }, children: [
|
|
64944
|
-
/* @__PURE__ */ j(
|
|
64931
|
+
/* @__PURE__ */ j(yt.Item, { noStyle: !0, name: "maximum_retry", children: /* @__PURE__ */ j(
|
|
64945
64932
|
qr,
|
|
64946
64933
|
{
|
|
64947
64934
|
addonBefore: "Kích hoạt mỗi TH tối đa",
|
|
@@ -64952,7 +64939,7 @@ const OTe = () => /* @__PURE__ */ Be(Vn, { children: [
|
|
|
64952
64939
|
}
|
|
64953
64940
|
) }),
|
|
64954
64941
|
/* @__PURE__ */ j(
|
|
64955
|
-
|
|
64942
|
+
yt.Item,
|
|
64956
64943
|
{
|
|
64957
64944
|
name: "is_global_node",
|
|
64958
64945
|
valuePropName: "checked",
|
|
@@ -64969,7 +64956,7 @@ const OTe = () => /* @__PURE__ */ Be(Vn, { children: [
|
|
|
64969
64956
|
}
|
|
64970
64957
|
),
|
|
64971
64958
|
/* @__PURE__ */ j(
|
|
64972
|
-
|
|
64959
|
+
yt.Item,
|
|
64973
64960
|
{
|
|
64974
64961
|
name: "is_conjunction",
|
|
64975
64962
|
valuePropName: "checked",
|
|
@@ -65068,7 +65055,7 @@ const OTe = () => /* @__PURE__ */ Be(Vn, { children: [
|
|
|
65068
65055
|
}
|
|
65069
65056
|
);
|
|
65070
65057
|
}, ATe = ({ data: e, id: t }) => /* @__PURE__ */ Be(ip, { children: [
|
|
65071
|
-
/* @__PURE__ */ j(_o, { type: "target", position:
|
|
65058
|
+
/* @__PURE__ */ j(_o, { type: "target", position: bt.Left }),
|
|
65072
65059
|
/* @__PURE__ */ j($$, { id: t, data: e })
|
|
65073
65060
|
] }), DTe = [Qe.SPEAK, Qe.TRANSFER], LTe = (e) => {
|
|
65074
65061
|
const t = Rk(e);
|
|
@@ -65193,7 +65180,7 @@ const { Text: XM } = jn, VTe = ({ id: e, data: t }) => {
|
|
|
65193
65180
|
},
|
|
65194
65181
|
children: [
|
|
65195
65182
|
"Thực hiện thành công",
|
|
65196
|
-
/* @__PURE__ */ j(_o, { type: "source", position:
|
|
65183
|
+
/* @__PURE__ */ j(_o, { type: "source", position: bt.Right })
|
|
65197
65184
|
]
|
|
65198
65185
|
}
|
|
65199
65186
|
),
|
|
@@ -65207,7 +65194,7 @@ const { Text: XM } = jn, VTe = ({ id: e, data: t }) => {
|
|
|
65207
65194
|
},
|
|
65208
65195
|
children: [
|
|
65209
65196
|
"Thực hiện thất bại",
|
|
65210
|
-
/* @__PURE__ */ j(_o, { type: "source", position:
|
|
65197
|
+
/* @__PURE__ */ j(_o, { type: "source", position: bt.Right })
|
|
65211
65198
|
]
|
|
65212
65199
|
}
|
|
65213
65200
|
)
|
|
@@ -65216,12 +65203,12 @@ const { Text: XM } = jn, VTe = ({ id: e, data: t }) => {
|
|
|
65216
65203
|
}
|
|
65217
65204
|
) });
|
|
65218
65205
|
}, HTe = ({ data: e, id: t }) => /* @__PURE__ */ Be(ip, { children: [
|
|
65219
|
-
/* @__PURE__ */ j(_o, { type: "target", position:
|
|
65206
|
+
/* @__PURE__ */ j(_o, { type: "target", position: bt.Left }),
|
|
65220
65207
|
/* @__PURE__ */ j(VTe, { id: t, data: e })
|
|
65221
65208
|
] }), WTe = ({ data: e, id: t }) => /* @__PURE__ */ Be(ip, { children: [
|
|
65222
|
-
/* @__PURE__ */ j(_o, { type: "target", position:
|
|
65209
|
+
/* @__PURE__ */ j(_o, { type: "target", position: bt.Left }),
|
|
65223
65210
|
/* @__PURE__ */ j(WE, { id: t, data: e }),
|
|
65224
|
-
/* @__PURE__ */ j(_o, { type: "source", position:
|
|
65211
|
+
/* @__PURE__ */ j(_o, { type: "source", position: bt.Right })
|
|
65225
65212
|
] }), UTe = {
|
|
65226
65213
|
[Qe.SPEAK]: WTe,
|
|
65227
65214
|
[Qe.START]: xTe,
|
|
@@ -65469,7 +65456,7 @@ const rPe = () => {
|
|
|
65469
65456
|
) });
|
|
65470
65457
|
};
|
|
65471
65458
|
var oPe = "scripts_editor_3c0va90", iPe = "scripts_editor_3c0va91", aPe = "scripts_editor_3c0va93";
|
|
65472
|
-
const sPe = "1.5.
|
|
65459
|
+
const sPe = "1.5.9", lPe = {
|
|
65473
65460
|
version: sPe
|
|
65474
65461
|
}, cPe = lPe.version, uPe = Sx(), dPe = (e) => `${e.toLowerCase()}_${tv()}`, fPe = no(
|
|
65475
65462
|
(e, t) => {
|