sprof 0.6.7 → 0.6.8

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.
@@ -4,6 +4,8 @@ type __VLS_Props = {
4
4
  dayTitle?: (day: any) => string;
5
5
  /** Название места/зала (по умолчанию — place.name или schedule.placeName) */
6
6
  placeName?: (schedule: any) => string;
7
+ /** Показывать блок места/зала над слотами (по умолчанию — true) */
8
+ showPlace?: boolean;
7
9
  /** Название слота (по умолчанию — item.name) */
8
10
  slotName?: (slot: any) => string;
9
11
  /** Участники слота (по умолчанию — []) */
@@ -38,6 +40,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
38
40
  slotListOf: (schedule: any) => any[];
39
41
  nestedSlotListOf: (session: any) => any[];
40
42
  placeName: (schedule: any) => string;
43
+ showPlace: boolean;
41
44
  slotParticipants: (slot: any) => any[];
42
45
  sessionParticipants: (session: any) => any[];
43
46
  participantName: (p: any) => string;
package/dist/sprof.js CHANGED
@@ -10436,6 +10436,7 @@ const Ig = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10436
10436
  days: {},
10437
10437
  dayTitle: { type: Function, default: void 0 },
10438
10438
  placeName: { type: Function, default: void 0 },
10439
+ showPlace: { type: Boolean, default: !0 },
10439
10440
  slotName: { type: Function, default: void 0 },
10440
10441
  slotParticipants: { type: Function, default: void 0 },
10441
10442
  sessionParticipants: { type: Function, default: void 0 },
@@ -10520,7 +10521,7 @@ const Ig = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10520
10521
  key: U.id,
10521
10522
  class: "time-slot"
10522
10523
  }, [
10523
- r(U) ? (h(), S("div", Yv, [
10524
+ t.showPlace && r(U) ? (h(), S("div", Yv, [
10524
10525
  y(d(ce), {
10525
10526
  name: "meeting_room",
10526
10527
  size: "14px"
@@ -10613,7 +10614,7 @@ const Ig = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10613
10614
  D(M.$slots, "default", {}, void 0, !0)
10614
10615
  ]));
10615
10616
  }
10616
- }), w1 = /* @__PURE__ */ Y(b1, [["__scopeId", "data-v-520f36ef"]]), S1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10617
+ }), w1 = /* @__PURE__ */ Y(b1, [["__scopeId", "data-v-80f23069"]]), S1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10617
10618
  __proto__: null,
10618
10619
  ScheduleGridEditor: Uv,
10619
10620
  ScheduleTimeline: w1