app-v3-scripts-editor 1.22.1 → 1.22.2

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.
@@ -89224,7 +89224,7 @@ const EC = {
89224
89224
  }
89225
89225
  }, [s]);
89226
89226
  const m = (A) => {
89227
- var D;
89227
+ var T;
89228
89228
  const {
89229
89229
  time_field: w,
89230
89230
  date_config_value: b,
@@ -89233,34 +89233,33 @@ const EC = {
89233
89233
  time_config_fixed_time: $,
89234
89234
  time_config_offset: O,
89235
89235
  time_config_offset_unit: N,
89236
- groups: R,
89237
- ...M
89238
- } = A, _ = gX(
89239
- (D = R ?? []) == null ? void 0 : D.map((k) => {
89240
- var L;
89236
+ ...R
89237
+ } = A, M = gX(
89238
+ (T = A.groups ?? []) == null ? void 0 : T.map((D) => {
89239
+ var k;
89241
89240
  return {
89242
- ...k,
89243
- conditions: (L = k == null ? void 0 : k.conditions) == null ? void 0 : L.filter((j) => !Ot.isEmpty(j))
89241
+ ...D,
89242
+ conditions: (k = D == null ? void 0 : D.conditions) == null ? void 0 : k.filter((L) => !Ot.isEmpty(L))
89244
89243
  };
89245
89244
  })
89246
- ), P = {
89245
+ ), _ = {
89247
89246
  relative_type: b,
89248
89247
  offset_value: b !== ud.SAME_DAY ? E : void 0
89249
- }, T = {
89248
+ }, P = {
89250
89249
  execution_mode: I,
89251
89250
  fixed_time_value: I === Us.FIXED_TIME || (w == null ? void 0 : w.variant_config) === Zr.date ? Jn($).format(Uo) : void 0,
89252
89251
  relative_value: I !== Us.FIXED_TIME && I !== Us.AT_EVENT ? O : void 0,
89253
89252
  relative_unit: I !== Us.FIXED_TIME && I !== Us.AT_EVENT ? N : void 0
89254
89253
  };
89255
89254
  r(e, {
89256
- ...M,
89257
- groupsFormat: _,
89255
+ ...R,
89256
+ groups: M,
89258
89257
  time_field: w == null ? void 0 : w.id,
89259
89258
  time_field_type: w == null ? void 0 : w.variant_config,
89260
89259
  time_field_slug: w == null ? void 0 : w.slug,
89261
89260
  time_field_name: w == null ? void 0 : w.name,
89262
- date_config: P,
89263
- time_config: T
89261
+ date_config: _,
89262
+ time_config: P
89264
89263
  });
89265
89264
  }, v = Ot.debounce(() => {
89266
89265
  l.submit();
@@ -96323,7 +96322,7 @@ var QYe = "scripts_editor_3c0va90", KYe = "scripts_editor_3c0va91", qYe = "scrip
96323
96322
  function _Z(e) {
96324
96323
  return yr({ 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);
96325
96324
  }
96326
- const JYe = "1.22.1", eXe = {
96325
+ const JYe = "1.22.2", eXe = {
96327
96326
  version: JYe
96328
96327
  };
96329
96328
  var Df = /* @__PURE__ */ ((e) => (e.BOT = "bot", e.CLONE = "clone", e))(Df || {});