vue3-beak-ui-framework 1.2.37 → 1.2.38
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.
|
@@ -119643,7 +119643,7 @@ class Columns {
|
|
|
119643
119643
|
const Hg = Bg.headings[Ig], Lg = [];
|
|
119644
119644
|
if (Hg.getAttribute("data-type") === "date") {
|
|
119645
119645
|
let Dg = !1;
|
|
119646
|
-
Hg.hasAttribute("data-format") && (Dg = Hg.getAttribute("data-format")), Lg.push(import("./date-
|
|
119646
|
+
Hg.hasAttribute("data-format") && (Dg = Hg.getAttribute("data-format")), Lg.push(import("./date-BZOKTSDn.js").then(({ parseDate: $g }) => (Qg) => $g(Qg, Dg)));
|
|
119647
119647
|
}
|
|
119648
119648
|
Promise.all(Lg).then((Dg) => {
|
|
119649
119649
|
const Jg = Dg[0];
|
|
@@ -124501,7 +124501,7 @@ class WeekHelper {
|
|
|
124501
124501
|
return { fullDayAndMultipleDayEvents: Bg, singleDayTimedEvents: Gg };
|
|
124502
124502
|
}
|
|
124503
124503
|
}
|
|
124504
|
-
const _withScopeId = (ps) => (pushScopeId("data-v-
|
|
124504
|
+
const _withScopeId = (ps) => (pushScopeId("data-v-dac21536"), ps = ps(), popScopeId(), ps), _hoisted_1$m = { class: "calendar-week__wrapper has-slimscroll" }, _hoisted_2$k = { class: "calendar-week" }, _hoisted_3$i = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "current-time-line__circle" }, null, -1)), _hoisted_4$c = [
|
|
124505
124505
|
_hoisted_3$i
|
|
124506
124506
|
], _hoisted_5$b = { class: "calendar-week__events" }, _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
124507
124507
|
__name: "Week",
|
|
@@ -124541,7 +124541,7 @@ const _withScopeId = (ps) => (pushScopeId("data-v-e7288dc8"), ps = ps(), popScop
|
|
|
124541
124541
|
setup(ps, { expose: Ig, emit: Zg }) {
|
|
124542
124542
|
var hI;
|
|
124543
124543
|
useCssVars((II) => ({
|
|
124544
|
-
"
|
|
124544
|
+
"50ceb038": $g.value
|
|
124545
124545
|
}));
|
|
124546
124546
|
const Gg = new EventPosition(), Bg = useSlots(), Wg = ps, Ng = Zg, Vg = ref$1([]), Xg = ref$1(Wg.modeProp), Yg = ref$1(null), Fg = ref$1(null), Hg = ref$1(Wg.eventsProp), Lg = ref$1([]), Dg = ref$1(0), Jg = ref$1({
|
|
124547
124547
|
length: 60,
|
|
@@ -124576,11 +124576,13 @@ const _withScopeId = (ps) => (pushScopeId("data-v-e7288dc8"), ps = ps(), popScop
|
|
|
124576
124576
|
}, WI = () => {
|
|
124577
124577
|
var gI;
|
|
124578
124578
|
const II = Wg.time.getDateTimeStringFromDate(Wg.period.selectedDate);
|
|
124579
|
-
if (Vg.value = [
|
|
124580
|
-
|
|
124581
|
-
|
|
124582
|
-
|
|
124583
|
-
|
|
124579
|
+
if (Vg.value = [
|
|
124580
|
+
{
|
|
124581
|
+
dayName: new Date(Wg.period.selectedDate).toLocaleDateString(Wg.time.CALENDAR_LOCALE, { weekday: "long" }),
|
|
124582
|
+
dateTimeString: Wg.time.getDateTimeStringFromDate(Wg.period.selectedDate, "start"),
|
|
124583
|
+
events: new EventsFilter(Hg.value).getEventsForDay(Wg.time, II)
|
|
124584
|
+
}
|
|
124585
|
+
], !!((gI = Lg.value) != null && gI.length)) {
|
|
124584
124586
|
for (const cI of Lg.value)
|
|
124585
124587
|
if (Wg.time.getDateTimeStringFromDate(cI.date).startsWith(II.slice(0, 11))) {
|
|
124586
124588
|
Lg.value = [cI];
|
|
@@ -124746,7 +124748,7 @@ const _withScopeId = (ps) => (pushScopeId("data-v-e7288dc8"), ps = ps(), popScop
|
|
|
124746
124748
|
], 64);
|
|
124747
124749
|
};
|
|
124748
124750
|
}
|
|
124749
|
-
}), __unplugin_components_0 = /* @__PURE__ */ _export_sfc$1(_sfc_main$s, [["__scopeId", "data-v-
|
|
124751
|
+
}), __unplugin_components_0 = /* @__PURE__ */ _export_sfc$1(_sfc_main$s, [["__scopeId", "data-v-dac21536"]]), _b = class _b {
|
|
124750
124752
|
static checkEventProperties(Ig) {
|
|
124751
124753
|
Ig.id || console.warn(this.MISSING_ID_WARNING), Ig.title || console.warn(this.MISSING_TITLE_WARNING), Ig != null && Ig.start || console.warn(this.MISSING_TIME_START_WARNING), Ig != null && Ig.end || console.warn(this.MISSING_TIME_END_WARNING), Ig.start && Ig.end && !DATE_TIME_STRING_PATTERN.test(Ig.start) && !DATE_TIME_STRING_FULL_DAY_PATTERN.test(Ig.start) && console.warn(
|
|
124752
124754
|
`${this.PREFIX} event property 'time.start' expects a string formatted like 'YYYY-MM-DD hh:mm', or 'YYYY-MM-DD', received ${Ig.start}
|
|
@@ -125428,7 +125430,7 @@ const _hoisted_1$l = { class: "date-picker__value-display-text" }, _hoisted_2$j
|
|
|
125428
125430
|
setup(ps, { emit: Ig }) {
|
|
125429
125431
|
var xI, JI, zI, RI, kI, $I, KI, EI, UI, eC;
|
|
125430
125432
|
useCssVars((LI) => ({
|
|
125431
|
-
"
|
|
125433
|
+
"45c91ae2": unref(oI)
|
|
125432
125434
|
}));
|
|
125433
125435
|
const Zg = ps, Gg = Ig, Bg = computed(() => (LI) => Time.getTimePointsFromHour(LI)), Wg = computed(() => (/* @__PURE__ */ new Date()).toLocaleDateString("fr-CA").substring(0, 10)), Ng = computed(() => {
|
|
125434
125436
|
const LI = /* @__PURE__ */ new Date();
|
|
@@ -125499,14 +125501,14 @@ const _hoisted_1$l = { class: "date-picker__value-display-text" }, _hoisted_2$j
|
|
|
125499
125501
|
},
|
|
125500
125502
|
assignment: {
|
|
125501
125503
|
lightColors: {
|
|
125502
|
-
color: "#
|
|
125503
|
-
backgroundColor: "#
|
|
125504
|
-
border: "#
|
|
125504
|
+
color: "#1e5e7c",
|
|
125505
|
+
backgroundColor: "#8ddaff82",
|
|
125506
|
+
border: "#68a7c5"
|
|
125505
125507
|
},
|
|
125506
125508
|
darkColors: {
|
|
125507
125509
|
color: "#8f899b",
|
|
125508
|
-
backgroundColor: "#
|
|
125509
|
-
border: "#
|
|
125510
|
+
backgroundColor: "#e4eef3",
|
|
125511
|
+
border: "#68a7c5"
|
|
125510
125512
|
}
|
|
125511
125513
|
}
|
|
125512
125514
|
}
|