chbim-time-axis-v2 0.0.16 → 0.0.17

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.
@@ -12785,7 +12785,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
12785
12785
  clock: {},
12786
12786
  tasks: {}
12787
12787
  },
12788
- emits: ["taskUpdate", "update:tasks", "add", "delete", "task-enter", "task-leave"],
12788
+ emits: ["taskUpdate", "update:tasks", "add", "delete", "task-enter", "task-leave", "blockUpdate"],
12789
12789
  setup(__props, { expose: __expose, emit: __emit }) {
12790
12790
  const slots = useSlots();
12791
12791
  const props = __props;
@@ -13255,6 +13255,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
13255
13255
  if (t.blocks && t.blocks[payload.blockIndex]) {
13256
13256
  t.blocks[payload.blockIndex].startTime = payload.startTime;
13257
13257
  t.blocks[payload.blockIndex].endTime = payload.endTime;
13258
+ emit("blockUpdate", {
13259
+ task: JSON.parse(JSON.stringify(t)),
13260
+ block: JSON.parse(JSON.stringify(t.blocks[payload.blockIndex])),
13261
+ index: payload.blockIndex
13262
+ });
13258
13263
  emit("taskUpdate", JSON.parse(JSON.stringify(t)));
13259
13264
  return true;
13260
13265
  }
@@ -13628,8 +13633,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
13628
13633
  };
13629
13634
  }
13630
13635
  });
13631
- const CesiumGantt_vue_vue_type_style_index_0_scoped_6b42d8c6_lang = "";
13632
- const CesiumGantt = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-6b42d8c6"]]);
13636
+ const CesiumGantt_vue_vue_type_style_index_0_scoped_bc47a9ac_lang = "";
13637
+ const CesiumGantt = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-bc47a9ac"]]);
13633
13638
  CesiumGantt.install = (app) => {
13634
13639
  app.component("CesiumGantt", CesiumGantt);
13635
13640
  };