app-v3-scripts-editor 1.28.0 → 1.28.1
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/app-v3-scripts-editor.es.js +119 -116
- package/dist/app-v3-scripts-editor.umd.js +39 -39
- package/package.json +1 -1
|
@@ -12526,7 +12526,7 @@ const gs = {
|
|
|
12526
12526
|
color: e.colorLinkActive
|
|
12527
12527
|
}
|
|
12528
12528
|
}), {
|
|
12529
|
-
genStyleHooks:
|
|
12529
|
+
genStyleHooks: Zn,
|
|
12530
12530
|
genComponentStyleHook: A3e,
|
|
12531
12531
|
genSubStyleComponent: xg
|
|
12532
12532
|
} = p3e({
|
|
@@ -13772,7 +13772,7 @@ const sC = (e, t, n, r, o) => ({
|
|
|
13772
13772
|
withDescriptionIconSize: e.fontSizeHeading3,
|
|
13773
13773
|
defaultPadding: `${e.paddingContentVerticalSM}px 12px`,
|
|
13774
13774
|
withDescriptionPadding: `${e.paddingMD}px ${e.paddingContentHorizontalLG}px`
|
|
13775
|
-
}), M4e =
|
|
13775
|
+
}), M4e = Zn("Alert", (e) => [N4e(e), O4e(e), T4e(e)], k4e);
|
|
13776
13776
|
var SL = function(e, t) {
|
|
13777
13777
|
var n = {};
|
|
13778
13778
|
for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
@@ -14727,7 +14727,7 @@ const Bl = (e, t) => {
|
|
|
14727
14727
|
zIndexPopup: e.zIndexPopupBase + eM + 10,
|
|
14728
14728
|
contentBg: e.colorBgElevated,
|
|
14729
14729
|
contentPadding: `${(e.controlHeightLG - e.fontSize * e.lineHeight) / 2}px ${e.paddingSM}px`
|
|
14730
|
-
}), HX =
|
|
14730
|
+
}), HX = Zn("Message", (e) => {
|
|
14731
14731
|
const t = Rn(e, {
|
|
14732
14732
|
height: 150
|
|
14733
14733
|
});
|
|
@@ -15589,7 +15589,7 @@ const Ko = (e) => {
|
|
|
15589
15589
|
}
|
|
15590
15590
|
}
|
|
15591
15591
|
};
|
|
15592
|
-
}, UX =
|
|
15592
|
+
}, UX = Zn("Space", (e) => {
|
|
15593
15593
|
const t = Rn(e, {
|
|
15594
15594
|
spaceGapSmallSize: e.paddingXS,
|
|
15595
15595
|
spaceGapMiddleSize: e.padding,
|
|
@@ -17270,7 +17270,7 @@ const C5e = /* @__PURE__ */ p.forwardRef((e, t) => {
|
|
|
17270
17270
|
contentBg: e.colorBgContainer,
|
|
17271
17271
|
borderlessContentPadding: `${e.paddingXXS}px 16px ${e.padding}px`,
|
|
17272
17272
|
borderlessContentBg: "transparent"
|
|
17273
|
-
}), eNe =
|
|
17273
|
+
}), eNe = Zn("Collapse", (e) => {
|
|
17274
17274
|
const t = Rn(e, {
|
|
17275
17275
|
collapseHeaderPaddingSM: `${de(e.paddingXS)} ${de(e.paddingSM)}`,
|
|
17276
17276
|
collapseHeaderPaddingLG: `${de(e.padding)} ${de(e.paddingLG)}`,
|
|
@@ -17830,7 +17830,7 @@ const $2 = Object.assign(iZ, {
|
|
|
17830
17830
|
}
|
|
17831
17831
|
}
|
|
17832
17832
|
};
|
|
17833
|
-
}, bNe =
|
|
17833
|
+
}, bNe = Zn("Button", (e) => {
|
|
17834
17834
|
const t = aZ(e);
|
|
17835
17835
|
return [
|
|
17836
17836
|
// Shared
|
|
@@ -21135,7 +21135,7 @@ const B6e = () => Jo() && window.document.documentElement, nE = (e) => {
|
|
|
21135
21135
|
paragraphMarginTop: e.marginLG + e.marginXXS,
|
|
21136
21136
|
paragraphLiHeight: e.controlHeight / 2
|
|
21137
21137
|
};
|
|
21138
|
-
}, $g =
|
|
21138
|
+
}, $g = Zn("Skeleton", (e) => {
|
|
21139
21139
|
const {
|
|
21140
21140
|
componentCls: t,
|
|
21141
21141
|
calc: n
|
|
@@ -21582,14 +21582,14 @@ const OZ = (e) => {
|
|
|
21582
21582
|
}, i;
|
|
21583
21583
|
}, VO = (e, t) => lOe(e, t), cOe = (e, t, n) => ({
|
|
21584
21584
|
[`@media (min-width: ${de(t)})`]: Object.assign({}, VO(e, n))
|
|
21585
|
-
}), uOe = () => ({}), dOe = () => ({}), fOe =
|
|
21585
|
+
}), uOe = () => ({}), dOe = () => ({}), fOe = Zn("Grid", aOe, uOe), TZ = (e) => ({
|
|
21586
21586
|
xs: e.screenXSMin,
|
|
21587
21587
|
sm: e.screenSMMin,
|
|
21588
21588
|
md: e.screenMDMin,
|
|
21589
21589
|
lg: e.screenLGMin,
|
|
21590
21590
|
xl: e.screenXLMin,
|
|
21591
21591
|
xxl: e.screenXXLMin
|
|
21592
|
-
}), hOe =
|
|
21592
|
+
}), hOe = Zn("Grid", (e) => {
|
|
21593
21593
|
const t = Rn(e, {
|
|
21594
21594
|
gridColumns: 24
|
|
21595
21595
|
// Row is divided into 24 parts in Grid
|
|
@@ -21871,7 +21871,7 @@ const kZ = (e) => {
|
|
|
21871
21871
|
confirmBodyPadding: e.wireframe ? `${de(e.padding * 2)} ${de(e.padding * 2)} ${de(e.paddingLG)}` : 0,
|
|
21872
21872
|
confirmIconMarginInlineEnd: e.wireframe ? e.margin : e.marginSM,
|
|
21873
21873
|
confirmBtnsMarginTop: e.wireframe ? e.marginLG : e.marginSM
|
|
21874
|
-
}), $Z =
|
|
21874
|
+
}), $Z = Zn("Modal", (e) => {
|
|
21875
21875
|
const t = MZ(e);
|
|
21876
21876
|
return [pOe(t), mOe(t), kZ(t), kg(t, "zoom"), gOe(t)];
|
|
21877
21877
|
}, RZ, {
|
|
@@ -25666,7 +25666,7 @@ const tke = (e) => {
|
|
|
25666
25666
|
}
|
|
25667
25667
|
}
|
|
25668
25668
|
};
|
|
25669
|
-
}, nke =
|
|
25669
|
+
}, nke = Zn("Empty", (e) => {
|
|
25670
25670
|
const {
|
|
25671
25671
|
componentCls: t,
|
|
25672
25672
|
controlHeightLG: n,
|
|
@@ -26823,7 +26823,7 @@ const dke = (e) => {
|
|
|
26823
26823
|
focusElCls: `${t}-focused`
|
|
26824
26824
|
})
|
|
26825
26825
|
];
|
|
26826
|
-
}, Ake =
|
|
26826
|
+
}, Ake = Zn("Select", (e, {
|
|
26827
26827
|
rootPrefixCls: t
|
|
26828
26828
|
}) => {
|
|
26829
26829
|
const n = Rn(e, {
|
|
@@ -27351,7 +27351,7 @@ const GO = /* @__PURE__ */ p.createContext({}), Lke = (e) => {
|
|
|
27351
27351
|
groupOverlapping: -l,
|
|
27352
27352
|
groupBorderColor: u
|
|
27353
27353
|
};
|
|
27354
|
-
}, SJ =
|
|
27354
|
+
}, SJ = Zn("Avatar", (e) => {
|
|
27355
27355
|
const {
|
|
27356
27356
|
colorTextLightSolid: t,
|
|
27357
27357
|
colorTextPlaceholder: n
|
|
@@ -28054,7 +28054,7 @@ const Uke = (e) => {
|
|
|
28054
28054
|
limitVerticalRadius: !0
|
|
28055
28055
|
})), cE(Rn(e, {
|
|
28056
28056
|
borderRadiusOuter: Math.min(e.borderRadiusOuter, 4)
|
|
28057
|
-
}))), NJ = (e, t = !0) =>
|
|
28057
|
+
}))), NJ = (e, t = !0) => Zn("Tooltip", (r) => {
|
|
28058
28058
|
const {
|
|
28059
28059
|
borderRadius: o,
|
|
28060
28060
|
colorTextLightSolid: i,
|
|
@@ -28368,7 +28368,7 @@ const n8e = (e) => {
|
|
|
28368
28368
|
titleBorderBottom: i ? `${t}px ${c} ${u}` : "none",
|
|
28369
28369
|
innerContentPadding: i ? `${d}px ${v}px` : 0
|
|
28370
28370
|
});
|
|
28371
|
-
}, kJ =
|
|
28371
|
+
}, kJ = Zn("Popover", (e) => {
|
|
28372
28372
|
const {
|
|
28373
28373
|
colorBgElevated: t,
|
|
28374
28374
|
colorText: n
|
|
@@ -29791,7 +29791,7 @@ const rMe = /* @__PURE__ */ p.createContext({
|
|
|
29791
29791
|
lightTriggerColor: o
|
|
29792
29792
|
};
|
|
29793
29793
|
}, UJ = [["colorBgBody", "bodyBg"], ["colorBgHeader", "headerBg"], ["colorBgTrigger", "triggerBg"]];
|
|
29794
|
-
|
|
29794
|
+
Zn("Layout", (e) => [oMe(e)], qJ, {
|
|
29795
29795
|
deprecatedTokens: UJ
|
|
29796
29796
|
});
|
|
29797
29797
|
const iMe = (e) => {
|
|
@@ -29900,7 +29900,7 @@ const iMe = (e) => {
|
|
|
29900
29900
|
}
|
|
29901
29901
|
}
|
|
29902
29902
|
};
|
|
29903
|
-
}, aMe =
|
|
29903
|
+
}, aMe = Zn(["Layout", "Sider"], (e) => [iMe(e)], qJ, {
|
|
29904
29904
|
deprecatedTokens: UJ
|
|
29905
29905
|
});
|
|
29906
29906
|
var sMe = function(e, t) {
|
|
@@ -30996,7 +30996,7 @@ const F2 = /* @__PURE__ */ p.createContext(null), XJ = /* @__PURE__ */ p.forward
|
|
|
30996
30996
|
// internal
|
|
30997
30997
|
itemWidth: M ? `calc(100% + ${D}px)` : `calc(100% - ${$ * 2}px)`
|
|
30998
30998
|
};
|
|
30999
|
-
}, CMe = (e, t = e, n = !0) =>
|
|
30999
|
+
}, CMe = (e, t = e, n = !0) => Zn("Menu", (o) => {
|
|
31000
31000
|
const {
|
|
31001
31001
|
colorBgElevated: i,
|
|
31002
31002
|
controlHeightLG: a,
|
|
@@ -31523,7 +31523,7 @@ const EMe = (e) => {
|
|
|
31523
31523
|
}, uE({
|
|
31524
31524
|
contentRadius: e.borderRadiusLG,
|
|
31525
31525
|
limitVerticalRadius: !0
|
|
31526
|
-
})), cE(e)), NMe =
|
|
31526
|
+
})), cE(e)), NMe = Zn("Dropdown", (e) => {
|
|
31527
31527
|
const {
|
|
31528
31528
|
marginXXS: t,
|
|
31529
31529
|
sizePopupArrow: n,
|
|
@@ -35867,7 +35867,7 @@ const t$e = (e) => {
|
|
|
35867
35867
|
radioColor: t ? d : m,
|
|
35868
35868
|
radioBgColor: t ? s : d
|
|
35869
35869
|
};
|
|
35870
|
-
}, Bee =
|
|
35870
|
+
}, Bee = Zn("Radio", (e) => {
|
|
35871
35871
|
const {
|
|
35872
35872
|
controlOutline: t,
|
|
35873
35873
|
controlOutlineWidth: n
|
|
@@ -37050,12 +37050,12 @@ const Gh = (e) => {
|
|
|
37050
37050
|
}
|
|
37051
37051
|
}
|
|
37052
37052
|
};
|
|
37053
|
-
}, Uee =
|
|
37053
|
+
}, Uee = Zn(["Input", "Shared"], (e) => {
|
|
37054
37054
|
const t = Rn(e, Uh(e));
|
|
37055
37055
|
return [g$e(t), y$e(t)];
|
|
37056
37056
|
}, Gh, {
|
|
37057
37057
|
resetFont: !1
|
|
37058
|
-
}), Gee =
|
|
37058
|
+
}), Gee = Zn(["Input", "Component"], (e) => {
|
|
37059
37059
|
const t = Rn(e, Uh(e));
|
|
37060
37060
|
return [
|
|
37061
37061
|
b$e(t),
|
|
@@ -38237,7 +38237,7 @@ const Gh = (e) => {
|
|
|
38237
38237
|
qm(e, "move-up"),
|
|
38238
38238
|
qm(e, "move-down")
|
|
38239
38239
|
];
|
|
38240
|
-
}, Yee =
|
|
38240
|
+
}, Yee = Zn("DatePicker", (e) => {
|
|
38241
38241
|
const t = Rn(Uh(e), I$e(e), {
|
|
38242
38242
|
inputPaddingHorizontalBase: e.calc(e.paddingSM).sub(1).equal(),
|
|
38243
38243
|
multipleSelectItemHeight: e.multipleItemHeight,
|
|
@@ -40028,7 +40028,7 @@ const n7e = (e) => {
|
|
|
40028
40028
|
itemActiveColor: e.colorPrimaryActive,
|
|
40029
40029
|
cardGutter: e.marginXXS / 2
|
|
40030
40030
|
};
|
|
40031
|
-
}, d7e =
|
|
40031
|
+
}, d7e = Zn("Tabs", (e) => {
|
|
40032
40032
|
const t = Rn(e, {
|
|
40033
40033
|
// `cardPadding` is empty by default, so we could calculate with dynamic `cardHeight`
|
|
40034
40034
|
tabsCardPadding: e.cardPadding,
|
|
@@ -40465,7 +40465,7 @@ const rte = (e) => {
|
|
|
40465
40465
|
bodyPadding: (t = e.bodyPadding) !== null && t !== void 0 ? t : e.paddingLG,
|
|
40466
40466
|
headerPadding: (n = e.headerPadding) !== null && n !== void 0 ? n : e.paddingLG
|
|
40467
40467
|
};
|
|
40468
|
-
}, S7e =
|
|
40468
|
+
}, S7e = Zn("Card", (e) => {
|
|
40469
40469
|
const t = Rn(e, {
|
|
40470
40470
|
cardShadow: e.boxShadowCard,
|
|
40471
40471
|
cardHeadPadding: e.padding,
|
|
@@ -41180,7 +41180,7 @@ function ste(e, t) {
|
|
|
41180
41180
|
});
|
|
41181
41181
|
return [L7e(n)];
|
|
41182
41182
|
}
|
|
41183
|
-
const lte =
|
|
41183
|
+
const lte = Zn("Checkbox", (e, {
|
|
41184
41184
|
prefixCls: t
|
|
41185
41185
|
}) => [ste(t, e)]), cte = /* @__PURE__ */ q.createContext(null);
|
|
41186
41186
|
var B7e = function(e, t) {
|
|
@@ -41633,7 +41633,7 @@ const Q7e = (e) => {
|
|
|
41633
41633
|
textPaddingInline: "1em",
|
|
41634
41634
|
orientationMargin: 0.05,
|
|
41635
41635
|
verticalMarginInline: e.marginXS
|
|
41636
|
-
}), G7e =
|
|
41636
|
+
}), G7e = Zn("Divider", (e) => {
|
|
41637
41637
|
const t = Rn(e, {
|
|
41638
41638
|
dividerHorizontalWithTextGutterMargin: e.margin,
|
|
41639
41639
|
sizePaddingEdgeHorizontal: 0
|
|
@@ -42119,7 +42119,7 @@ const o_e = Object.assign({
|
|
|
42119
42119
|
itemActiveBg: i,
|
|
42120
42120
|
itemSelectedColor: n
|
|
42121
42121
|
};
|
|
42122
|
-
}, s_e =
|
|
42122
|
+
}, s_e = Zn("Segmented", (e) => {
|
|
42123
42123
|
const {
|
|
42124
42124
|
lineWidth: t,
|
|
42125
42125
|
calc: n
|
|
@@ -43463,7 +43463,7 @@ const T_e = (e) => {
|
|
|
43463
43463
|
borderRadius: 0
|
|
43464
43464
|
}
|
|
43465
43465
|
};
|
|
43466
|
-
}, R_e =
|
|
43466
|
+
}, R_e = Zn("InputNumber", (e) => {
|
|
43467
43467
|
const t = Rn(e, Uh(e));
|
|
43468
43468
|
return [
|
|
43469
43469
|
k_e(t),
|
|
@@ -44752,7 +44752,7 @@ const X_e = (e) => {
|
|
|
44752
44752
|
dotActiveBorderColor: e.colorPrimaryBorder,
|
|
44753
44753
|
trackBgDisabled: e.colorBgContainerDisabled
|
|
44754
44754
|
};
|
|
44755
|
-
}, tPe =
|
|
44755
|
+
}, tPe = Zn("Slider", (e) => {
|
|
44756
44756
|
const t = Rn(e, {
|
|
44757
44757
|
marginPart: e.calc(e.controlHeight).sub(e.controlSize).div(2).equal(),
|
|
44758
44758
|
marginFull: e.calc(e.controlSize).div(2).equal(),
|
|
@@ -45834,7 +45834,7 @@ const Rte = (e) => {
|
|
|
45834
45834
|
zIndexPopup: e.zIndexPopupBase,
|
|
45835
45835
|
footerPaddingBlock: e.paddingXS,
|
|
45836
45836
|
footerPaddingInline: e.padding
|
|
45837
|
-
}), Pte =
|
|
45837
|
+
}), Pte = Zn("Drawer", (e) => {
|
|
45838
45838
|
const t = Rn(e, {});
|
|
45839
45839
|
return [DPe(t), PPe(t)];
|
|
45840
45840
|
}, LPe);
|
|
@@ -46227,7 +46227,7 @@ const GPe = (e) => {
|
|
|
46227
46227
|
justifyContent: r
|
|
46228
46228
|
};
|
|
46229
46229
|
}), n;
|
|
46230
|
-
}, eDe = () => ({}), tDe =
|
|
46230
|
+
}, eDe = () => ({}), tDe = Zn("Flex", (e) => {
|
|
46231
46231
|
const {
|
|
46232
46232
|
paddingXS: t,
|
|
46233
46233
|
padding: n,
|
|
@@ -46812,7 +46812,7 @@ const oDe = (e) => {
|
|
|
46812
46812
|
}), Hte = (e, t) => Rn(e, {
|
|
46813
46813
|
formItemCls: `${e.componentCls}-item`,
|
|
46814
46814
|
rootPrefixCls: t
|
|
46815
|
-
}), sR =
|
|
46815
|
+
}), sR = Zn("Form", (e, {
|
|
46816
46816
|
rootPrefixCls: t
|
|
46817
46817
|
}) => {
|
|
46818
46818
|
const n = Hte(e, t);
|
|
@@ -48643,7 +48643,7 @@ const pT = (e) => ({
|
|
|
48643
48643
|
previewOperationColorDisabled: new Dn(e.colorTextLightSolid).setA(0.25).toRgbString(),
|
|
48644
48644
|
previewOperationSize: e.fontSizeIcon * 1.5
|
|
48645
48645
|
// FIXME: fontSizeIconLG
|
|
48646
|
-
}), one =
|
|
48646
|
+
}), one = Zn("Image", (e) => {
|
|
48647
48647
|
const t = `${e.componentCls}-preview`, n = Rn(e, {
|
|
48648
48648
|
previewCls: t,
|
|
48649
48649
|
modalMaskBg: new Dn("#000").setA(0.45).toRgbString(),
|
|
@@ -48834,7 +48834,7 @@ const A9e = (e) => {
|
|
|
48834
48834
|
}
|
|
48835
48835
|
}
|
|
48836
48836
|
};
|
|
48837
|
-
}, S9e =
|
|
48837
|
+
}, S9e = Zn(["Input", "OTP"], (e) => {
|
|
48838
48838
|
const t = Rn(e, Uh(e));
|
|
48839
48839
|
return [w9e(t)];
|
|
48840
48840
|
}, Gh);
|
|
@@ -49504,7 +49504,7 @@ const H9e = (e) => {
|
|
|
49504
49504
|
}
|
|
49505
49505
|
}
|
|
49506
49506
|
};
|
|
49507
|
-
}, W9e =
|
|
49507
|
+
}, W9e = Zn(["Input", "TextArea"], (e) => {
|
|
49508
49508
|
const t = Rn(e, Uh(e));
|
|
49509
49509
|
return [H9e(t)];
|
|
49510
49510
|
}, Gh, {
|
|
@@ -50502,7 +50502,7 @@ const J9e = (e) => {
|
|
|
50502
50502
|
paginationSlashMarginInlineEnd: e.marginSM,
|
|
50503
50503
|
paginationEllipsisTextIndent: "0.13em"
|
|
50504
50504
|
// magic for ui experience
|
|
50505
|
-
}, Uh(e)), aLe =
|
|
50505
|
+
}, Uh(e)), aLe = Zn("Pagination", (e) => {
|
|
50506
50506
|
const t = hne(e);
|
|
50507
50507
|
return [oLe(t), iLe(t)];
|
|
50508
50508
|
}, fne), sLe = (e) => {
|
|
@@ -51060,7 +51060,7 @@ const hLe = new gr("antSpinMove", {
|
|
|
51060
51060
|
dotSizeSM: t * 0.35,
|
|
51061
51061
|
dotSizeLG: n
|
|
51062
51062
|
};
|
|
51063
|
-
}, vLe =
|
|
51063
|
+
}, vLe = Zn("Spin", (e) => {
|
|
51064
51064
|
const t = Rn(e, {
|
|
51065
51065
|
spinDotDefault: e.colorTextDescription
|
|
51066
51066
|
});
|
|
@@ -51465,7 +51465,7 @@ const _Le = (e) => {
|
|
|
51465
51465
|
return {
|
|
51466
51466
|
zIndexPopup: t + 60
|
|
51467
51467
|
};
|
|
51468
|
-
}, Cne =
|
|
51468
|
+
}, Cne = Zn("Popconfirm", (e) => _Le(e), PLe, {
|
|
51469
51469
|
resetStyle: !1
|
|
51470
51470
|
});
|
|
51471
51471
|
var DLe = function(e, t) {
|
|
@@ -52153,7 +52153,7 @@ const QLe = ({
|
|
|
52153
52153
|
// magic for capsule shape, should be a very large number
|
|
52154
52154
|
circleTextFontSize: "1em",
|
|
52155
52155
|
circleIconFontSize: `${e.fontSize / e.fontSizeSM}em`
|
|
52156
|
-
}), nBe =
|
|
52156
|
+
}), nBe = Zn("Progress", (e) => {
|
|
52157
52157
|
const t = e.calc(e.marginXXS).div(2).equal(), n = Rn(e, {
|
|
52158
52158
|
progressStepMarginInlineEnd: t,
|
|
52159
52159
|
progressStepMinWidth: t,
|
|
@@ -53368,7 +53368,7 @@ const fje = () => /* @__PURE__ */ p.createElement("svg", {
|
|
|
53368
53368
|
subtitleFontSize: e.fontSize,
|
|
53369
53369
|
iconFontSize: e.fontSizeHeading3 * 3,
|
|
53370
53370
|
extraMargin: `${e.paddingLG}px 0 0 0`
|
|
53371
|
-
}), bje =
|
|
53371
|
+
}), bje = Zn("Result", (e) => {
|
|
53372
53372
|
const t = e.colorInfo, n = e.colorError, r = e.colorSuccess, o = e.colorWarning, i = Rn(e, {
|
|
53373
53373
|
resultInfoIconColor: t,
|
|
53374
53374
|
resultErrorIconColor: n,
|
|
@@ -53984,7 +53984,7 @@ const Ije = (e) => {
|
|
|
53984
53984
|
innerMinMarginSM: c / 2,
|
|
53985
53985
|
innerMaxMarginSM: c + s + s * 2
|
|
53986
53986
|
};
|
|
53987
|
-
}, Rje =
|
|
53987
|
+
}, Rje = Zn("Switch", (e) => {
|
|
53988
53988
|
const t = Rn(e, {
|
|
53989
53989
|
switchDuration: e.motionDurationMid,
|
|
53990
53990
|
switchColor: e.colorPrimary,
|
|
@@ -57829,7 +57829,7 @@ const lVe = ({
|
|
|
57829
57829
|
directoryNodeSelectedColor: t,
|
|
57830
57830
|
directoryNodeSelectedBg: n
|
|
57831
57831
|
});
|
|
57832
|
-
}, gVe =
|
|
57832
|
+
}, gVe = Zn("Tree", (e, {
|
|
57833
57833
|
prefixCls: t
|
|
57834
57834
|
}) => [{
|
|
57835
57835
|
[e.componentCls]: ste(`${t}-checkbox`, e)
|
|
@@ -60117,7 +60117,7 @@ const PA = "ascend", lI = "descend", X2 = (e) => typeof e.sorter == "object" &&
|
|
|
60117
60117
|
expandIconSize: $,
|
|
60118
60118
|
expandIconScale: x / $
|
|
60119
60119
|
};
|
|
60120
|
-
}, Pj = 2, XVe =
|
|
60120
|
+
}, Pj = 2, XVe = Zn("Table", (e) => {
|
|
60121
60121
|
const {
|
|
60122
60122
|
colorTextHeading: t,
|
|
60123
60123
|
colorSplit: n,
|
|
@@ -60532,7 +60532,7 @@ const nHe = (e) => {
|
|
|
60532
60532
|
}, TR = (e) => ({
|
|
60533
60533
|
defaultBg: new Dn(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),
|
|
60534
60534
|
defaultColor: e.colorText
|
|
60535
|
-
}), Bre =
|
|
60535
|
+
}), Bre = Zn("Tag", (e) => {
|
|
60536
60536
|
const t = OR(e);
|
|
60537
60537
|
return nHe(t);
|
|
60538
60538
|
}, TR);
|
|
@@ -61106,7 +61106,7 @@ const wHe = (e, t, n, r) => {
|
|
|
61106
61106
|
}, kHe = () => ({
|
|
61107
61107
|
titleMarginTop: "1.2em",
|
|
61108
61108
|
titleMarginBottom: "0.5em"
|
|
61109
|
-
}), zre =
|
|
61109
|
+
}), zre = Zn("Typography", (e) => [THe(e)], kHe), MHe = (e) => {
|
|
61110
61110
|
const {
|
|
61111
61111
|
prefixCls: t,
|
|
61112
61112
|
"aria-label": n,
|
|
@@ -62848,7 +62848,7 @@ const cWe = (e) => {
|
|
|
62848
62848
|
};
|
|
62849
62849
|
}, gWe = (e) => ({
|
|
62850
62850
|
actionsColor: e.colorIcon
|
|
62851
|
-
}), vWe =
|
|
62851
|
+
}), vWe = Zn("Upload", (e) => {
|
|
62852
62852
|
const {
|
|
62853
62853
|
fontSizeHeading3: t,
|
|
62854
62854
|
fontHeight: n,
|
|
@@ -71833,7 +71833,7 @@ const {
|
|
|
71833
71833
|
[c, r, o, i, a, s]
|
|
71834
71834
|
);
|
|
71835
71835
|
return /* @__PURE__ */ b(jR.Provider, { value: u, children: e });
|
|
71836
|
-
},
|
|
71836
|
+
}, Xn = () => {
|
|
71837
71837
|
const e = mn(jR);
|
|
71838
71838
|
if (!e)
|
|
71839
71839
|
throw new Error(
|
|
@@ -71875,7 +71875,7 @@ const {
|
|
|
71875
71875
|
id: e,
|
|
71876
71876
|
deleteBtnColor: t
|
|
71877
71877
|
}) => {
|
|
71878
|
-
const { getNode: n } = Ln(), { data: r } = n(e), { deleteElements: o } = Ln(), { closeModal: i } = kr(), { mode: a } =
|
|
71878
|
+
const { getNode: n } = Ln(), { data: r } = n(e), { deleteElements: o } = Ln(), { closeModal: i } = kr(), { mode: a } = Xn(), { isPopupDeleteOpen: s, setIsPopupDeleteOption: l } = zR(), c = (u) => {
|
|
71879
71879
|
u && u.stopPropagation(), i(), o({ nodes: [{ id: e }] });
|
|
71880
71880
|
};
|
|
71881
71881
|
return a === "history" ? null : /* @__PURE__ */ b(
|
|
@@ -83764,7 +83764,7 @@ const Cl = {
|
|
|
83764
83764
|
id: e,
|
|
83765
83765
|
data: t
|
|
83766
83766
|
}) => {
|
|
83767
|
-
const { mode: n } =
|
|
83767
|
+
const { mode: n } = Xn(), { isHovered: r, isPopupDeleteOpen: o } = zR(), i = r || o;
|
|
83768
83768
|
return n === "history" ? /* @__PURE__ */ b(Stt, { id: e }) : /* @__PURE__ */ b(b$, { mode: "wait", children: i ? /* @__PURE__ */ b(j1.div, { ...aH, children: /* @__PURE__ */ b(Zh, { id: e, deleteBtnColor: qn.common.red }) }, "delete") : /* @__PURE__ */ b(j1.div, { ...aH, children: /* @__PURE__ */ b(
|
|
83769
83769
|
T$,
|
|
83770
83770
|
{
|
|
@@ -84456,34 +84456,36 @@ function dv(e) {
|
|
|
84456
84456
|
};
|
|
84457
84457
|
}
|
|
84458
84458
|
function Zae() {
|
|
84459
|
-
const e = tr((
|
|
84459
|
+
const e = tr((o) => o.nodes), t = tr((o) => o.edges), { type: n } = Xn();
|
|
84460
84460
|
return et(() => {
|
|
84461
|
-
const
|
|
84462
|
-
return e.forEach((
|
|
84463
|
-
let
|
|
84464
|
-
const
|
|
84465
|
-
nodeId:
|
|
84461
|
+
const o = [], i = [];
|
|
84462
|
+
return e.forEach((a) => {
|
|
84463
|
+
let s = [], l = [];
|
|
84464
|
+
const c = {
|
|
84465
|
+
nodeId: a.id,
|
|
84466
84466
|
nodes: e,
|
|
84467
84467
|
edges: t
|
|
84468
84468
|
};
|
|
84469
|
-
if (
|
|
84470
|
-
const { infos:
|
|
84471
|
-
|
|
84469
|
+
if (a.type === Ve.TRANSFER) {
|
|
84470
|
+
const { infos: u, errors: d } = Dtt(
|
|
84471
|
+
a.data
|
|
84472
84472
|
);
|
|
84473
|
-
|
|
84473
|
+
s.push(...u), l.push(...d);
|
|
84474
84474
|
}
|
|
84475
|
-
if (
|
|
84476
|
-
const { infos:
|
|
84477
|
-
|
|
84475
|
+
if (a.type === Ve.SPEAK) {
|
|
84476
|
+
const { infos: u, errors: d } = Ptt(
|
|
84477
|
+
a.data
|
|
84478
84478
|
);
|
|
84479
|
-
|
|
84479
|
+
s.push(...u), l.push(...d);
|
|
84480
84480
|
}
|
|
84481
|
-
|
|
84481
|
+
n === "autoflow" && l.push(
|
|
84482
|
+
...hnt(a.data, c)
|
|
84483
|
+
), s = s.map((u) => ({ ...u, nodeId: a.id })), l = l.map((u) => ({ ...u, nodeId: a.id })), o.push(...s), i.push(...l);
|
|
84482
84484
|
}), {
|
|
84483
|
-
infos:
|
|
84484
|
-
errors:
|
|
84485
|
+
infos: o,
|
|
84486
|
+
errors: i
|
|
84485
84487
|
};
|
|
84486
|
-
}, [t, e]);
|
|
84488
|
+
}, [t, e, n]);
|
|
84487
84489
|
}
|
|
84488
84490
|
const pa = ({
|
|
84489
84491
|
form: e,
|
|
@@ -84568,7 +84570,7 @@ function ynt({ enabled: e = !0 }) {
|
|
|
84568
84570
|
const {
|
|
84569
84571
|
axiosInstance: t,
|
|
84570
84572
|
context: { COMPANY_ID: n }
|
|
84571
|
-
} =
|
|
84573
|
+
} = Xn();
|
|
84572
84574
|
return Dl({
|
|
84573
84575
|
queryKey: [vnt, n],
|
|
84574
84576
|
queryFn: () => t.get(`/company/${n}/aimodels`, {
|
|
@@ -84640,7 +84642,7 @@ const Jae = ({
|
|
|
84640
84642
|
const {
|
|
84641
84643
|
axiosInstance: e,
|
|
84642
84644
|
context: { COMPANY_ID: t }
|
|
84643
|
-
} =
|
|
84645
|
+
} = Xn();
|
|
84644
84646
|
return Dl({
|
|
84645
84647
|
queryKey: [Ant, t],
|
|
84646
84648
|
queryFn: () => e.get(`/company/${t}/property/type_option`)
|
|
@@ -84987,7 +84989,7 @@ const Jae = ({
|
|
|
84987
84989
|
}
|
|
84988
84990
|
) });
|
|
84989
84991
|
}, Int = ({ id: e, data: t, mini: n }) => {
|
|
84990
|
-
const { mode: r } =
|
|
84992
|
+
const { mode: r } = Xn(), { displayComponent: o } = kr(), i = t.title || "AI Agent", a = (s) => {
|
|
84991
84993
|
const l = s.target;
|
|
84992
84994
|
l != null && l.closest(
|
|
84993
84995
|
`button, [role="button"], .${Qo}-modal-wrap, input, textarea`
|
|
@@ -85059,7 +85061,7 @@ function Xa({
|
|
|
85059
85061
|
const {
|
|
85060
85062
|
axiosInstance: r,
|
|
85061
85063
|
context: { COMPANY_ID: o }
|
|
85062
|
-
} =
|
|
85064
|
+
} = Xn();
|
|
85063
85065
|
return Dl({
|
|
85064
85066
|
queryKey: [jnt, o, e, t],
|
|
85065
85067
|
queryFn: () => r.get(
|
|
@@ -85283,7 +85285,7 @@ const _$ = {
|
|
|
85283
85285
|
data: t,
|
|
85284
85286
|
mini: n
|
|
85285
85287
|
}) => {
|
|
85286
|
-
const { mode: r } =
|
|
85288
|
+
const { mode: r } = Xn(), { displayComponent: o } = kr(), i = t.title || "HTTP Request", a = (s) => {
|
|
85287
85289
|
const l = s.target;
|
|
85288
85290
|
l != null && l.closest(
|
|
85289
85291
|
`button, [role="button"], .${Qo}-modal-wrap, input, textarea`
|
|
@@ -87031,7 +87033,7 @@ const Qot = /* @__PURE__ */ ua(Kot), Oc = (e, t = 500) => {
|
|
|
87031
87033
|
const {
|
|
87032
87034
|
axiosInstance: n,
|
|
87033
87035
|
context: { COMPANY_ID: r }
|
|
87034
|
-
} =
|
|
87036
|
+
} = Xn(), o = r != null;
|
|
87035
87037
|
return Sg({
|
|
87036
87038
|
queryKey: [qot, r ?? "", e],
|
|
87037
87039
|
queryFn: ({ pageParam: i = 1 }) => n.post(
|
|
@@ -87174,7 +87176,7 @@ const Cx = (e) => {
|
|
|
87174
87176
|
const {
|
|
87175
87177
|
axiosInstance: n,
|
|
87176
87178
|
context: { COMPANY_ID: r }
|
|
87177
|
-
} =
|
|
87179
|
+
} = Xn(), o = r != null;
|
|
87178
87180
|
return Sg({
|
|
87179
87181
|
queryKey: [eit, r ?? "", e],
|
|
87180
87182
|
queryFn: ({ pageParam: i = 1 }) => n.post(
|
|
@@ -87247,7 +87249,7 @@ const Cx = (e) => {
|
|
|
87247
87249
|
const {
|
|
87248
87250
|
axiosInstance: r,
|
|
87249
87251
|
context: { COMPANY_ID: o }
|
|
87250
|
-
} =
|
|
87252
|
+
} = Xn(), i = o != null;
|
|
87251
87253
|
return Sg(
|
|
87252
87254
|
{
|
|
87253
87255
|
queryKey: [
|
|
@@ -88220,7 +88222,7 @@ function Ax(e) {
|
|
|
88220
88222
|
const {
|
|
88221
88223
|
axiosInstance: t,
|
|
88222
88224
|
context: { COMPANY_ID: n }
|
|
88223
|
-
} =
|
|
88225
|
+
} = Xn();
|
|
88224
88226
|
return Dl({
|
|
88225
88227
|
queryKey: [Sit, n, e],
|
|
88226
88228
|
queryFn: () => t.get(
|
|
@@ -107040,7 +107042,7 @@ const Kht = ["dateproperty"], $ue = ["integerproperty", "floatproperty"], Qht =
|
|
|
107040
107042
|
) });
|
|
107041
107043
|
}, Jht = ({ id: e, data: t, mini: n }) => {
|
|
107042
107044
|
var c;
|
|
107043
|
-
const { mode: r } =
|
|
107045
|
+
const { mode: r } = Xn(), { displayComponent: o } = kr(), i = t.title || "Rẽ nhánh", a = cy(), s = (c = t == null ? void 0 : t.groups) == null ? void 0 : c.map(
|
|
107044
107046
|
(u) => {
|
|
107045
107047
|
var d;
|
|
107046
107048
|
return `${u.id ?? "group"}:${((d = u.conditions) == null ? void 0 : d.map(
|
|
@@ -107186,7 +107188,7 @@ const M7 = {
|
|
|
107186
107188
|
] });
|
|
107187
107189
|
}, apt = "current-partner";
|
|
107188
107190
|
function spt() {
|
|
107189
|
-
const { axiosInstance: e } =
|
|
107191
|
+
const { axiosInstance: e } = Xn();
|
|
107190
107192
|
return Dl({
|
|
107191
107193
|
queryKey: [apt],
|
|
107192
107194
|
queryFn: () => e.get("/current_partner"),
|
|
@@ -107239,7 +107241,7 @@ const PK = ({
|
|
|
107239
107241
|
const {
|
|
107240
107242
|
axiosInstance: n,
|
|
107241
107243
|
context: { COMPANY_ID: r }
|
|
107242
|
-
} =
|
|
107244
|
+
} = Xn(), o = r != null;
|
|
107243
107245
|
return Sg({
|
|
107244
107246
|
queryKey: [lpt, r ?? "", e],
|
|
107245
107247
|
queryFn: ({ pageParam: i = 1 }) => n.get(`/company/${r}/hotline`, {
|
|
@@ -107508,7 +107510,7 @@ const DK = ({
|
|
|
107508
107510
|
const {
|
|
107509
107511
|
axiosInstance: n,
|
|
107510
107512
|
context: { COMPANY_ID: r }
|
|
107511
|
-
} =
|
|
107513
|
+
} = Xn();
|
|
107512
107514
|
return Dl({
|
|
107513
107515
|
queryKey: [fpt, r, e, t],
|
|
107514
107516
|
queryFn: () => n.get(`/crmapi/v2/company/${r}/property`, {
|
|
@@ -107779,9 +107781,7 @@ const Tpt = () => {
|
|
|
107779
107781
|
{ value: "__node_mode_select__", label: "", disabled: !0 }
|
|
107780
107782
|
], Af = (e) => Array.isArray(e) ? Array.from(
|
|
107781
107783
|
new Set(
|
|
107782
|
-
e.filter(
|
|
107783
|
-
(t) => typeof t == "string" && !!t
|
|
107784
|
-
).map((t) => lS(t) ?? t)
|
|
107784
|
+
e.filter((t) => typeof t == "string" && !!t).map((t) => lS(t) ?? t)
|
|
107785
107785
|
)
|
|
107786
107786
|
) : typeof e == "string" && e ? [lS(e) ?? e] : [], Bp = (e) => {
|
|
107787
107787
|
if (typeof e == "string") return lS(e);
|
|
@@ -107940,7 +107940,10 @@ const Tpt = () => {
|
|
|
107940
107940
|
collapsed: !1,
|
|
107941
107941
|
showTooltip: !1,
|
|
107942
107942
|
closable: ee.closable !== !1,
|
|
107943
|
-
onClose: ee.onClose
|
|
107943
|
+
onClose: ee.onClose,
|
|
107944
|
+
onMouseDown: (te) => {
|
|
107945
|
+
te.preventDefault(), te.stopPropagation();
|
|
107946
|
+
}
|
|
107944
107947
|
}
|
|
107945
107948
|
) : null;
|
|
107946
107949
|
},
|
|
@@ -108036,7 +108039,7 @@ function jK(e, t = !0) {
|
|
|
108036
108039
|
const {
|
|
108037
108040
|
axiosInstance: n,
|
|
108038
108041
|
context: { COMPANY_ID: r }
|
|
108039
|
-
} =
|
|
108042
|
+
} = Xn();
|
|
108040
108043
|
return Dl({
|
|
108041
108044
|
queryKey: [$pt, r, e],
|
|
108042
108045
|
queryFn: () => n.get(
|
|
@@ -108054,7 +108057,7 @@ function Ppt({
|
|
|
108054
108057
|
const {
|
|
108055
108058
|
axiosInstance: n,
|
|
108056
108059
|
context: { COMPANY_ID: r }
|
|
108057
|
-
} =
|
|
108060
|
+
} = Xn();
|
|
108058
108061
|
return Dl({
|
|
108059
108062
|
queryKey: [_pt, e, r],
|
|
108060
108063
|
queryFn: () => n.get(`/company/${r}/call/property`, {
|
|
@@ -108073,7 +108076,7 @@ const Dpt = "list__campaign_key", Lpt = ({
|
|
|
108073
108076
|
const {
|
|
108074
108077
|
axiosInstance: o,
|
|
108075
108078
|
context: { COMPANY_ID: i }
|
|
108076
|
-
} =
|
|
108079
|
+
} = Xn(), a = {
|
|
108077
108080
|
autocall: `/company/${i}/call_campaign`,
|
|
108078
108081
|
telesale: `/company/${i}/telesale_campaign`,
|
|
108079
108082
|
sms_campaign: `/company/${i}/sms_campaign`
|
|
@@ -108140,7 +108143,7 @@ const Dpt = "list__campaign_key", Lpt = ({
|
|
|
108140
108143
|
const {
|
|
108141
108144
|
axiosInstance: n,
|
|
108142
108145
|
context: { COMPANY_ID: r }
|
|
108143
|
-
} =
|
|
108146
|
+
} = Xn();
|
|
108144
108147
|
return Dl({
|
|
108145
108148
|
queryKey: [Fpt, r, e, t],
|
|
108146
108149
|
queryFn: () => {
|
|
@@ -108958,7 +108961,7 @@ const emt = ({
|
|
|
108958
108961
|
) });
|
|
108959
108962
|
}, smt = ({ id: e, data: t, mini: n }) => {
|
|
108960
108963
|
var s, l;
|
|
108961
|
-
const { mode: r } =
|
|
108964
|
+
const { mode: r } = Xn(), { displayComponent: o } = kr(), i = t.title || "Callbot", a = (c) => {
|
|
108962
108965
|
const u = c.target;
|
|
108963
108966
|
u != null && u.closest(
|
|
108964
108967
|
`button, [role="button"], .${Qo}-modal-wrap, input, textarea`
|
|
@@ -109188,7 +109191,7 @@ const emt = ({
|
|
|
109188
109191
|
}
|
|
109189
109192
|
) });
|
|
109190
109193
|
}, mmt = ({ id: e, data: t, mini: n }) => {
|
|
109191
|
-
const { mode: r } =
|
|
109194
|
+
const { mode: r } = Xn(), { displayComponent: o } = kr(), i = t.title || "Callbot", a = t.type, s = (l) => {
|
|
109192
109195
|
const c = l.target;
|
|
109193
109196
|
c != null && c.closest(
|
|
109194
109197
|
`button, [role="button"], .${Qo}-modal-wrap, input, textarea`
|
|
@@ -109470,7 +109473,7 @@ const Fx = {
|
|
|
109470
109473
|
data: t,
|
|
109471
109474
|
mini: n
|
|
109472
109475
|
}) => {
|
|
109473
|
-
const { mode: r } =
|
|
109476
|
+
const { mode: r } = Xn(), { displayComponent: o } = kr(), i = t.title || "Khách hàng Callbot", a = (s) => {
|
|
109474
109477
|
const l = s.target;
|
|
109475
109478
|
l != null && l.closest(
|
|
109476
109479
|
`button, [role="button"], .${Qo}-modal-wrap, input, textarea`
|
|
@@ -109724,7 +109727,7 @@ const _7 = {
|
|
|
109724
109727
|
}
|
|
109725
109728
|
) });
|
|
109726
109729
|
}, igt = ({ id: e, data: t, mini: n }) => {
|
|
109727
|
-
const { mode: r } =
|
|
109730
|
+
const { mode: r } = Xn(), { displayComponent: o } = kr(), i = t.title || "Thông báo", a = (s) => {
|
|
109728
109731
|
const l = s.target;
|
|
109729
109732
|
l != null && l.closest(
|
|
109730
109733
|
`button, [role="button"], .${Qo}-modal-wrap, input, textarea`
|
|
@@ -110506,7 +110509,7 @@ const U7 = {
|
|
|
110506
110509
|
) });
|
|
110507
110510
|
}, zgt = ({ id: e, data: t, mini: n }) => {
|
|
110508
110511
|
var s, l;
|
|
110509
|
-
const { mode: r } =
|
|
110512
|
+
const { mode: r } = Xn(), { displayComponent: o } = kr(), i = t.title || "Liên hệ", a = (c) => {
|
|
110510
110513
|
const u = c.target;
|
|
110511
110514
|
u != null && u.closest(
|
|
110512
110515
|
`button, [role="button"], .${Qo}-modal-wrap, input, textarea`
|
|
@@ -111069,7 +111072,7 @@ const Ggt = ({ dataDefault: e, ...t }) => {
|
|
|
111069
111072
|
) });
|
|
111070
111073
|
}, Zgt = ({ id: e, data: t, mini: n }) => {
|
|
111071
111074
|
var l;
|
|
111072
|
-
const { mode: r } =
|
|
111075
|
+
const { mode: r } = Xn(), { displayComponent: o } = kr(), i = t.title || "Liên hệ", a = Pe(
|
|
111073
111076
|
Object.fromEntries(
|
|
111074
111077
|
KK.map(({ suffix: c }) => [
|
|
111075
111078
|
c,
|
|
@@ -111611,7 +111614,7 @@ const jx = {
|
|
|
111611
111614
|
) });
|
|
111612
111615
|
}, lvt = ({ id: e, data: t, mini: n }) => {
|
|
111613
111616
|
var h, m;
|
|
111614
|
-
const { mode: r } =
|
|
111617
|
+
const { mode: r } = Xn(), { displayComponent: o } = kr(), i = t.title || "Liên hệ", a = t.type, s = t == null ? void 0 : t.date_config, l = (t == null ? void 0 : t.date_config_value) ?? (s == null ? void 0 : s.relative_type), c = (t == null ? void 0 : t.date_config_offset) ?? (s == null ? void 0 : s.offset_value), d = `${(l ? X7[l] : void 0) ?? ""} ${l !== Cm.SAME_DAY && c != null ? `${c} ngày` : ""}`.trim(), f = (v) => {
|
|
111615
111618
|
const g = v.target;
|
|
111616
111619
|
g != null && g.closest(
|
|
111617
111620
|
`button, [role="button"], .${Qo}-modal-wrap, input, textarea`
|
|
@@ -112002,7 +112005,7 @@ const dS = {
|
|
|
112002
112005
|
) });
|
|
112003
112006
|
}, Tvt = ({ id: e, data: t, mini: n }) => {
|
|
112004
112007
|
var s, l, c, u, d, f, h, m;
|
|
112005
|
-
const { mode: r } =
|
|
112008
|
+
const { mode: r } = Xn(), { displayComponent: o } = kr(), i = t.title || "Hẹn giờ", a = (v) => {
|
|
112006
112009
|
const g = v.target;
|
|
112007
112010
|
g != null && g.closest(
|
|
112008
112011
|
`button, [role="button"], .${Qo}-modal-wrap, input, textarea`
|
|
@@ -112132,7 +112135,7 @@ const J7 = {
|
|
|
112132
112135
|
const {
|
|
112133
112136
|
axiosInstance: r,
|
|
112134
112137
|
context: { COMPANY_ID: o }
|
|
112135
|
-
} =
|
|
112138
|
+
} = Xn();
|
|
112136
112139
|
return Sg({
|
|
112137
112140
|
queryKey: [Uvt, o ?? "", e],
|
|
112138
112141
|
queryFn: ({ pageParam: i = 1 }) => r.get(`/company/${o}/mailconfig`, {
|
|
@@ -112202,7 +112205,7 @@ const J7 = {
|
|
|
112202
112205
|
const {
|
|
112203
112206
|
axiosInstance: r,
|
|
112204
112207
|
context: { COMPANY_ID: o }
|
|
112205
|
-
} =
|
|
112208
|
+
} = Xn();
|
|
112206
112209
|
return Sg({
|
|
112207
112210
|
queryKey: [Xvt, o ?? "", e],
|
|
112208
112211
|
queryFn: ({ pageParam: i = 1 }) => r.get(`/company/${o}/mailtemplate`, {
|
|
@@ -112704,7 +112707,7 @@ const r0t = ({ value: e, onChange: t }) => {
|
|
|
112704
112707
|
) });
|
|
112705
112708
|
}, s0t = ({ id: e, data: t, mini: n }) => {
|
|
112706
112709
|
var c;
|
|
112707
|
-
const { mode: r } =
|
|
112710
|
+
const { mode: r } = Xn(), { displayComponent: o } = kr(), i = t.title || "Email", { optionMap: a } = nf(e), s = et(() => {
|
|
112708
112711
|
var u, d;
|
|
112709
112712
|
return (d = (u = t == null ? void 0 : t.email) == null ? void 0 : u.recipient_list) == null ? void 0 : d.map((f, h) => {
|
|
112710
112713
|
if (f.match(fs)) {
|
|
@@ -115007,7 +115010,7 @@ const bde = () => {
|
|
|
115007
115010
|
const {
|
|
115008
115011
|
axiosInstance: e,
|
|
115009
115012
|
context: { COMPANY_ID: t, CALLBOTSCENARIO_ID: n }
|
|
115010
|
-
} =
|
|
115013
|
+
} = Xn(), { error: r } = Vx();
|
|
115011
115014
|
return Kye({
|
|
115012
115015
|
mutationFn: async ({ audio: o }) => {
|
|
115013
115016
|
var a, s, l;
|
|
@@ -117403,7 +117406,7 @@ const s_ = {
|
|
|
117403
117406
|
}
|
|
117404
117407
|
) });
|
|
117405
117408
|
}, pyt = ({ id: e, data: t, mini: n }) => {
|
|
117406
|
-
const { mode: r } =
|
|
117409
|
+
const { mode: r } = Xn(), { displayComponent: o } = kr(), i = t.title || "Thông báo", { optionMap: a } = nf(e), { data: s } = Ax(), l = et(() => {
|
|
117407
117410
|
var f;
|
|
117408
117411
|
const d = /* @__PURE__ */ new Map();
|
|
117409
117412
|
return (f = s == null ? void 0 : s.data) == null || f.forEach((h) => {
|
|
@@ -117742,7 +117745,7 @@ const l_ = {
|
|
|
117742
117745
|
) });
|
|
117743
117746
|
}, xyt = ({ id: e, data: t, mini: n }) => {
|
|
117744
117747
|
var s, l;
|
|
117745
|
-
const { mode: r } =
|
|
117748
|
+
const { mode: r } = Xn(), { displayComponent: o } = kr(), i = t.title || "Đơn hàng", a = (c) => {
|
|
117746
117749
|
const u = c.target;
|
|
117747
117750
|
u != null && u.closest(
|
|
117748
117751
|
`button, [role="button"], .${Qo}-modal-wrap, input, textarea`
|
|
@@ -118240,7 +118243,7 @@ const Hx = {
|
|
|
118240
118243
|
) });
|
|
118241
118244
|
}, Pyt = ({ id: e, data: t, mini: n }) => {
|
|
118242
118245
|
var h, m;
|
|
118243
|
-
const { mode: r } =
|
|
118246
|
+
const { mode: r } = Xn(), { displayComponent: o } = kr(), i = t.title || "Đơn hàng", a = t.type, s = t == null ? void 0 : t.date_config, l = (t == null ? void 0 : t.date_config_value) ?? (s == null ? void 0 : s.relative_type), c = (t == null ? void 0 : t.date_config_offset) ?? (s == null ? void 0 : s.offset_value), d = `${(l ? c_[l] : void 0) ?? ""} ${l !== Am.SAME_DAY && c != null ? `${c} ngày` : ""}`.trim(), f = (v) => {
|
|
118244
118247
|
const g = v.target;
|
|
118245
118248
|
g != null && g.closest(
|
|
118246
118249
|
`button, [role="button"], .${Qo}-modal-wrap, input, textarea`
|
|
@@ -118695,7 +118698,7 @@ const d_ = {
|
|
|
118695
118698
|
) });
|
|
118696
118699
|
}, abt = ({ id: e, data: t, mini: n }) => {
|
|
118697
118700
|
var l, c, u;
|
|
118698
|
-
const { mode: r } =
|
|
118701
|
+
const { mode: r } = Xn(), { displayComponent: o } = kr(), i = t.title || "Thông báo", a = (d) => {
|
|
118699
118702
|
const f = d.target;
|
|
118700
118703
|
f != null && f.closest(
|
|
118701
118704
|
`button, [role="button"], .${Qo}-modal-wrap, input, textarea`
|
|
@@ -119251,7 +119254,7 @@ const pbt = ({
|
|
|
119251
119254
|
style: s,
|
|
119252
119255
|
markerEnd: l
|
|
119253
119256
|
}) => {
|
|
119254
|
-
const { mode: c } =
|
|
119257
|
+
const { mode: c } = Xn(), { isOpen: u, onOpen: d, onClose: f } = bo(), { setEdges: h, setNodes: m } = Ln(), [v, g, y] = RS({
|
|
119255
119258
|
sourceX: t,
|
|
119256
119259
|
sourceY: n,
|
|
119257
119260
|
sourcePosition: i,
|
|
@@ -119389,7 +119392,7 @@ const pbt = ({
|
|
|
119389
119392
|
targetPosition: s,
|
|
119390
119393
|
style: l,
|
|
119391
119394
|
markerEnd: c
|
|
119392
|
-
} = e, { mode: u } =
|
|
119395
|
+
} = e, { mode: u } = Xn(), { isOpen: d, onOpen: f, onClose: h } = bo(), { setEdges: m, setNodes: v } = Ln(), [g, y, A] = et(
|
|
119393
119396
|
() => RS({
|
|
119394
119397
|
sourceX: n,
|
|
119395
119398
|
sourceY: r,
|
|
@@ -119592,7 +119595,7 @@ var Ibt = "scripts_editor_3c0va90", Nbt = "scripts_editor_3c0va91", Obt = "scrip
|
|
|
119592
119595
|
function Wde(e) {
|
|
119593
119596
|
return Tr({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "path", attr: { d: "M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20" }, child: [] }, { tag: "path", attr: { d: "M8 11h8" }, child: [] }, { tag: "path", attr: { d: "M8 7h6" }, child: [] }] })(e);
|
|
119594
119597
|
}
|
|
119595
|
-
const _bt = "1.28.
|
|
119598
|
+
const _bt = "1.28.1", Pbt = {
|
|
119596
119599
|
version: _bt
|
|
119597
119600
|
};
|
|
119598
119601
|
var om = /* @__PURE__ */ ((e) => (e.BOT = "bot", e.CLONE = "clone", e))(om || {});
|
|
@@ -119668,7 +119671,7 @@ const CQ = (e) => {
|
|
|
119668
119671
|
}))
|
|
119669
119672
|
}));
|
|
119670
119673
|
function Qde() {
|
|
119671
|
-
const e = AQ((o) => o.mode), t = AQ((o) => o.toggleMode), { mode: n } =
|
|
119674
|
+
const e = AQ((o) => o.mode), t = AQ((o) => o.toggleMode), { mode: n } = Xn(), r = et(() => ({
|
|
119672
119675
|
...e === "trackpad" ? {
|
|
119673
119676
|
panOnScroll: !0,
|
|
119674
119677
|
panOnDrag: !1,
|
|
@@ -122173,7 +122176,7 @@ const BCt = () => {
|
|
|
122173
122176
|
"%"
|
|
122174
122177
|
] });
|
|
122175
122178
|
}, FCt = Ur(() => {
|
|
122176
|
-
const { instanceId: e } =
|
|
122179
|
+
const { instanceId: e } = Xn(), { zoomIn: t, zoomOut: n, fitView: r } = Ln(), { layout: o } = _Ct(), { undo: i, redo: a, canUndo: s, canRedo: l } = jbt(e), { mode: c, toggleMode: u } = Qde(), { mode: d } = Xn();
|
|
122177
122180
|
return /* @__PURE__ */ X("div", { className: PCt, children: [
|
|
122178
122181
|
/* @__PURE__ */ b(
|
|
122179
122182
|
"button",
|
|
@@ -122573,7 +122576,7 @@ const Kq = (e) => /* @__PURE__ */ b(Wn, { ...e, direction: "vertical", size: 10
|
|
|
122573
122576
|
},
|
|
122574
122577
|
(e, t) => e.keyId === t.keyId && e.label === t.label && e.active === t.active && e.color === t.color && e.isLongLabel === t.isLongLabel && e.onDragStart === t.onDragStart
|
|
122575
122578
|
), gAt = () => {
|
|
122576
|
-
const [e, t] = zx(), { BLOCKS_ENABLED: n } =
|
|
122579
|
+
const [e, t] = zx(), { BLOCKS_ENABLED: n } = Xn(), r = St(
|
|
122577
122580
|
(a, s) => {
|
|
122578
122581
|
a.dataTransfer.effectAllowed = "move", requestAnimationFrame(() => t(s));
|
|
122579
122582
|
},
|
|
@@ -122627,7 +122630,7 @@ const Kq = (e) => /* @__PURE__ */ b(Wn, { ...e, direction: "vertical", size: 10
|
|
|
122627
122630
|
}) })
|
|
122628
122631
|
] });
|
|
122629
122632
|
}, vAt = Ur(gAt), yAt = (e) => {
|
|
122630
|
-
const { BLOCKS_ENABLED: t } =
|
|
122633
|
+
const { BLOCKS_ENABLED: t } = Xn(), [n, r] = zx(), o = (c, u) => {
|
|
122631
122634
|
c.dataTransfer.effectAllowed = "move", requestAnimationFrame(() => r(u));
|
|
122632
122635
|
}, i = e.filter(
|
|
122633
122636
|
(c) => t.includes(c.key)
|
|
@@ -122704,7 +122707,7 @@ const Kq = (e) => /* @__PURE__ */ b(Wn, { ...e, direction: "vertical", size: 10
|
|
|
122704
122707
|
] }, c))
|
|
122705
122708
|
] });
|
|
122706
122709
|
}, bAt = () => {
|
|
122707
|
-
const { BLOCKS_ENABLED: e } =
|
|
122710
|
+
const { BLOCKS_ENABLED: e } = Xn();
|
|
122708
122711
|
if (yt.isEmpty(e))
|
|
122709
122712
|
return /* @__PURE__ */ b($t, {});
|
|
122710
122713
|
const t = (a) => {
|
|
@@ -122914,7 +122917,7 @@ const Kq = (e) => /* @__PURE__ */ b(Wn, { ...e, direction: "vertical", size: 10
|
|
|
122914
122917
|
const {
|
|
122915
122918
|
axiosInstance: t,
|
|
122916
122919
|
context: { COMPANY_ID: n }
|
|
122917
|
-
} =
|
|
122920
|
+
} = Xn();
|
|
122918
122921
|
return Dl({
|
|
122919
122922
|
queryKey: [EAt, n ?? ""],
|
|
122920
122923
|
queryFn: ({ pageParam: r = 1 }) => t.get("/voice"),
|
|
@@ -123994,7 +123997,7 @@ const PAt = yr((e, t) => {
|
|
|
123994
123997
|
}
|
|
123995
123998
|
], o2t = yr(
|
|
123996
123999
|
(e, t) => {
|
|
123997
|
-
const n = e.type, { reactFlowRef: r, instanceId: o, mode: i } =
|
|
124000
|
+
const n = e.type, { reactFlowRef: r, instanceId: o, mode: i } = Xn(), [a, s] = EEe([]), [l, c] = xEe(IQe), [u, d] = at(), { screenToFlowPosition: f, fitView: h, addEdges: m } = Ln(), { isValidConnection: v } = wbt(), [g] = zx(), y = Zae(), { flowProps: A } = Qde(), { takeSnapshotDebounced: w, takeSnapshotNow: C } = zbt(o, {
|
|
123998
124001
|
snapshotDebounceMs: 150
|
|
123999
124002
|
}), {
|
|
124000
124003
|
isOpen: E,
|
|
@@ -124340,6 +124343,6 @@ export {
|
|
|
124340
124343
|
dv as useAlert,
|
|
124341
124344
|
Zae as useAlerts,
|
|
124342
124345
|
Xue as useEvent,
|
|
124343
|
-
|
|
124346
|
+
Xn as useInstanceContext,
|
|
124344
124347
|
fUe as useInstanceId
|
|
124345
124348
|
};
|