app-v3-scripts-editor 1.38.0 → 1.38.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.
@@ -111728,10 +111728,10 @@ const Wyt = [
111728
111728
  ];
111729
111729
  }, Hhe = (e) => e === "VALUABLE" || e === "EMPTY", MD = {
111730
111730
  // [TRIGGER_CALLBOT_CUSTOMER_ACTION_TYPE.ADD]: "Khách hàng mới thêm vào chiến dịch",
111731
- updated_by_condition: "Khách hàng được cập nhật thông tin"
111731
+ updated: "Khách hàng được cập nhật thông tin"
111732
111732
  }, Xyt = {
111733
111733
  // [TRIGGER_CALLBOT_CUSTOMER_ACTION_TYPE.ADD]: "Khi có khách mới được thêm vào chiến dịch",
111734
- updated_by_condition: "Khi có khách được cập nhật thông tin"
111734
+ updated: "Khi có khách được cập nhật thông tin"
111735
111735
  }, Zyt = st.keys(
111736
111736
  MD
111737
111737
  ), Jyt = () => {
@@ -111853,15 +111853,20 @@ const Wyt = [
111853
111853
  e,
111854
111854
  !!e
111855
111855
  ), b = Fe(
111856
- () => st.orderBy(
111857
- ((y == null ? void 0 : y.data) ?? []).map(
111858
- (N) => obt(
111859
- N
111860
- )
111861
- ),
111862
- [],
111863
- ["asc"]
111864
- ),
111856
+ () => {
111857
+ var N;
111858
+ return st.orderBy(
111859
+ (N = (y == null ? void 0 : y.data) ?? []) == null ? void 0 : N.filter(
111860
+ (k) => k.app_model === "callcampaigncustomer" ? k.is_trigger_automation : k
111861
+ ).map(
111862
+ (k) => obt(
111863
+ k
111864
+ )
111865
+ ),
111866
+ [],
111867
+ ["asc"]
111868
+ );
111869
+ },
111865
111870
  [y == null ? void 0 : y.data]
111866
111871
  ), C = Fe(() => {
111867
111872
  const N = Cw(d.trim());
@@ -115332,7 +115337,7 @@ const Sw = {
115332
115337
  ] });
115333
115338
  }, eAt = (e) => {
115334
115339
  var t;
115335
- if (e.type === Bl.UPDATED_BY_CONDITION) {
115340
+ if (e.type === Bl.UPDATED) {
115336
115341
  if ((t = e.groups) != null && t.length) return e.groups;
115337
115342
  if (e.condition) return [e.condition];
115338
115343
  }
@@ -115350,7 +115355,7 @@ const Sw = {
115350
115355
  groups: i
115351
115356
  } : o,
115352
115357
  condition: void 0,
115353
- change_field_ids: t.type === Bl.UPDATED_BY_CONDITION ? t.change_field_ids ?? kD(i) : void 0,
115358
+ change_field_ids: t.type === Bl.UPDATED ? t.change_field_ids ?? kD(i) : void 0,
115354
115359
  condition_values: TD(i),
115355
115360
  time_field: {
115356
115361
  id: t.time_field,
@@ -115576,7 +115581,7 @@ const Sw = {
115576
115581
  /* @__PURE__ */ p(ut, { span: 8, children: /* @__PURE__ */ p(me.Text, { type: "secondary", children: "Hành động" }) }),
115577
115582
  /* @__PURE__ */ p(ut, { span: 16, children: /* @__PURE__ */ p(me.Text, { children: Sw[a] }) }),
115578
115583
  /* @__PURE__ */ p(ut, { span: 8, children: /* @__PURE__ */ p(me.Text, { type: "secondary", children: "Điều kiện" }) }),
115579
- /* @__PURE__ */ p(ut, { span: 16, children: (t == null ? void 0 : t.type) === Bl.UPDATED_BY_CONDITION ? m ? /* @__PURE__ */ p(
115584
+ /* @__PURE__ */ p(ut, { span: 16, children: (t == null ? void 0 : t.type) === Bl.UPDATED ? m ? /* @__PURE__ */ p(
115580
115585
  Ku,
115581
115586
  {
115582
115587
  nodeId: e,
@@ -128406,7 +128411,7 @@ const FIt = (e) => Fe(() => e.map((t, n) => {
128406
128411
  function Eme(e) {
128407
128412
  return $r({ 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);
128408
128413
  }
128409
- const jIt = "1.38.0", zIt = {
128414
+ const jIt = "1.38.1", zIt = {
128410
128415
  version: jIt
128411
128416
  };
128412
128417
  var Km = /* @__PURE__ */ ((e) => (e.BOT = "bot", e.CLONE = "clone", e))(Km || {});